mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 12:24:36 +08:00
pre release 3.10
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,6 +11,7 @@
|
|||||||
*.cb
|
*.cb
|
||||||
*.cb2
|
*.cb2
|
||||||
.*.lb
|
.*.lb
|
||||||
|
clean.bat
|
||||||
elegant*-cn.pdf
|
elegant*-cn.pdf
|
||||||
elegant*-en.pdf
|
elegant*-en.pdf
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
@echo off
|
|
||||||
del /q *.aux *.bbl *.blg *.log *.out *.toc *.bcf *.xml *.synctex *.nlo *.nls *.bak *.ind *.idx *.ilg *.lof *.lot *.ent-x *.tmp *.ltx *.los *.lol *.loc *.listing *.gz *.userbak *.nav *.snm *.vrb *.synctex(busy)
|
|
||||||
|
|
||||||
|
|
||||||
del /q *.nav *.snm *.vrb *.fls *.xdv *.fdb_latexmk
|
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
\author{Ethan Deng \& Liam Huang}
|
\author{Ethan Deng \& Liam Huang}
|
||||||
\institute{Elegant\LaTeX{} Program}
|
\institute{Elegant\LaTeX{} Program}
|
||||||
\date{\today}
|
\date{\today}
|
||||||
\version{3.09}
|
\version{3.10*}
|
||||||
|
|
||||||
\extrainfo{Victory won\rq t come to us unless we go to it. --- M. Moore}
|
\extrainfo{Victory won\rq t come to us unless we go to it. --- M. Moore}
|
||||||
|
|
||||||
@@ -18,9 +18,6 @@
|
|||||||
\maketitle
|
\maketitle
|
||||||
|
|
||||||
\frontmatter
|
\frontmatter
|
||||||
\chapter*{引言}
|
|
||||||
|
|
||||||
这是引言部分
|
|
||||||
|
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
|
|
||||||
@@ -281,6 +278,16 @@ The content of theorem.
|
|||||||
\end{theorem}
|
\end{theorem}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
|
\begin{lstlisting}{Python}
|
||||||
|
>> 'www0'>='W123'
|
||||||
|
|
||||||
|
ans =
|
||||||
|
|
||||||
|
1×4 logical 数组
|
||||||
|
|
||||||
|
1 1 1 0
|
||||||
|
\end{lstlisting}
|
||||||
|
|
||||||
第一个必选项 \lstinline{theorem name} 是定理的名字,第二个必选项 \lstinline{label} 是交叉引用时所用到的标签,交叉引用的方法为 \verb|\ref{thm:label}|。请注意,交叉引用时必须加上前缀 \lstinline{thm:}。
|
第一个必选项 \lstinline{theorem name} 是定理的名字,第二个必选项 \lstinline{label} 是交叉引用时所用到的标签,交叉引用的方法为 \verb|\ref{thm:label}|。请注意,交叉引用时必须加上前缀 \lstinline{thm:}。
|
||||||
|
|
||||||
其他相同用法的定理类环境有:
|
其他相同用法的定理类环境有:
|
||||||
@@ -416,13 +423,13 @@ The content of introduction.
|
|||||||
\end{introduction}
|
\end{introduction}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
效果如下:
|
效果如下:
|
||||||
\begin{introduction}
|
% \begin{introduction}
|
||||||
\item Definition of Theorem
|
% \item Definition of Theorem
|
||||||
\item Ask for help
|
% \item Ask for help
|
||||||
\item Optimization Problem
|
% \item Optimization Problem
|
||||||
\item Property of Cauchy Series
|
% \item Property of Cauchy Series
|
||||||
\item Angle of Corner
|
% \item Angle of Corner
|
||||||
\end{introduction}
|
% \end{introduction}
|
||||||
|
|
||||||
环境的标题文字可以通过这个环境的可选参数进行修改,修改方法为:
|
环境的标题文字可以通过这个环境的可选参数进行修改,修改方法为:
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
@@ -463,8 +470,8 @@ a^2+b^2=c_{2_{i}} (1,2) [1,23]
|
|||||||
如果你想把 \lstinline{problemset} 环境的标题改为其他文字,你可以类似于 introduction 环境修改 problemset 的可选参数。另外,目前这个环境会自动出现在目录中,但是不会出现在页眉页脚信息中(待解决)。
|
如果你想把 \lstinline{problemset} 环境的标题改为其他文字,你可以类似于 introduction 环境修改 problemset 的可选参数。另外,目前这个环境会自动出现在目录中,但是不会出现在页眉页脚信息中(待解决)。
|
||||||
\end{remark}
|
\end{remark}
|
||||||
|
|
||||||
\section{旁注}
|
% \section{旁注}
|
||||||
在 3.08 版本中,我们引入了 旁注设置选项 \lstinline{marginpar=margintrue} 以及测试命令 \lstinline{\elegantpar} ,但是由此带来一堆问题。我们决定在 3.09 版本中将其删除,并且,在旁注命令得到大幅度优化之前,不会将此命令再次引入书籍模板中。对此造成各位用户的不方便,非常抱歉!不过我们保留了 \lstinline{marginpar} 这个选项,你可以使用 \lstinline{marginpar=margintrue} 获得保留右侧旁注的版面设计。然后使用系统自带的 \lstinline{\marginpar} 或者 \lstinline{marginnote} 宏包的 \lstinline{\marginnote} 命令。
|
% 在 3.08 版本中,我们引入了 旁注设置选项 \lstinline{marginpar=margintrue} 以及测试命令 \lstinline{\elegantpar} ,但是由此带来一堆问题。我们决定在 3.09 版本中将其删除,并且,在旁注命令得到大幅度优化之前,不会将此命令再次引入书籍模板中。对此造成各位用户的不方便,非常抱歉!不过我们保留了 \lstinline{marginpar} 这个选项,你可以使用 \lstinline{marginpar=margintrue} 获得保留右侧旁注的版面设计。然后使用系统自带的 \lstinline{\marginpar} 或者 \lstinline{marginnote} 宏包的 \lstinline{\marginnote} 命令。
|
||||||
|
|
||||||
\begin{remark}
|
\begin{remark}
|
||||||
在使用旁注的时候,需要注意的是,文本和公式可以直接在旁注中使用。
|
在使用旁注的时候,需要注意的是,文本和公式可以直接在旁注中使用。
|
||||||
@@ -576,7 +583,6 @@ Lebesgue 积分有几种不同的定义方式。我们将采用逐步定义非
|
|||||||
即 $D(x)$ 在 $[0,1]$ 上是 Lebesgue 可积的并且积分值为零。但 $D(x)$ 在 $[0,1]$ 上不是 Riemann 可积的。
|
即 $D(x)$ 在 $[0,1]$ 上是 Lebesgue 可积的并且积分值为零。但 $D(x)$ 在 $[0,1]$ 上不是 Riemann 可积的。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
有界变差函数是与单调函数有密切联系的一类函数。有界变差函数可以表示为两个单调递增函数之差。与单调函数一样,有界变差函数几乎处处可导。与单调函数不同,有界变差函数类对线性运算是封闭的,它们构成一线空间。练习题 \ref{exer:43} 是一个性质的证明。
|
有界变差函数是与单调函数有密切联系的一类函数。有界变差函数可以表示为两个单调递增函数之差。与单调函数一样,有界变差函数几乎处处可导。与单调函数不同,有界变差函数类对线性运算是封闭的,它们构成一线空间。练习题 \ref{exer:43} 是一个性质的证明。
|
||||||
|
|
||||||
\begin{exercise}\label{exer:43}
|
\begin{exercise}\label{exer:43}
|
||||||
@@ -588,13 +594,13 @@ Lebesgue 积分有几种不同的定义方式。我们将采用逐步定义非
|
|||||||
是 $\mathcal{R}^1$ 上的连续函数。
|
是 $\mathcal{R}^1$ 上的连续函数。
|
||||||
\end{exercise}
|
\end{exercise}
|
||||||
|
|
||||||
%\begin{problem}
|
\begin{problem}
|
||||||
%即 $D(x)$ 在 $[0,1]$ 上是 Lebesgue 可积的并且积分值为零。但 $D(x)$ 在 $[0,1]$ 上不是 Riemann 可积的。
|
|
||||||
%\end{problem}
|
|
||||||
|
|
||||||
\begin{example}
|
|
||||||
即 $D(x)$ 在 $[0,1]$ 上是 Lebesgue 可积的并且积分值为零。但 $D(x)$ 在 $[0,1]$ 上不是 Riemann 可积的。
|
即 $D(x)$ 在 $[0,1]$ 上是 Lebesgue 可积的并且积分值为零。但 $D(x)$ 在 $[0,1]$ 上不是 Riemann 可积的。
|
||||||
\end{example}
|
\end{problem}
|
||||||
|
|
||||||
|
% \begin{example}
|
||||||
|
% 即 $D(x)$ 在 $[0,1]$ 上是 Lebesgue 可积的并且积分值为零。但 $D(x)$ 在 $[0,1]$ 上不是 Riemann 可积的。
|
||||||
|
% \end{example}
|
||||||
|
|
||||||
\begin{proof}
|
\begin{proof}
|
||||||
测试证明环境
|
测试证明环境
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
\author{Ethan Deng \& Liam Huang}
|
\author{Ethan Deng \& Liam Huang}
|
||||||
\institute{Elegant\LaTeX{} Program}
|
\institute{Elegant\LaTeX{} Program}
|
||||||
\date{\today}
|
\date{\today}
|
||||||
\version{3.09}
|
\version{3.10*}
|
||||||
|
|
||||||
\extrainfo{Victory won\rq t come to us unless we go to it. }
|
\extrainfo{Victory won\rq t come to us unless we go to it. }
|
||||||
|
|
||||||
@@ -421,7 +421,6 @@ If you want to customize the title of \lstinline{problemset}, please change the
|
|||||||
In 3.08, we introduced \lstinline{marginpar=margintrue} and \lstinline{\elegantpar} (Beta) with piles of bugs. Hence we decide to remove them in 3.09 and will suspend the options till revolutionary optimization. Sorry for all the bugs! However, we retain the option \lstinline{marginpar} for users to get margin motes by activating \lstinline{marginpar=margintrue} and using \lstinline{\marginpar} or \lstinline{marginnote} packages.
|
In 3.08, we introduced \lstinline{marginpar=margintrue} and \lstinline{\elegantpar} (Beta) with piles of bugs. Hence we decide to remove them in 3.09 and will suspend the options till revolutionary optimization. Sorry for all the bugs! However, we retain the option \lstinline{marginpar} for users to get margin motes by activating \lstinline{marginpar=margintrue} and using \lstinline{\marginpar} or \lstinline{marginnote} packages.
|
||||||
|
|
||||||
\begin{remark}
|
\begin{remark}
|
||||||
|
|
||||||
Note that text and equation are both available in the margin notes.
|
Note that text and equation are both available in the margin notes.
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
% text
|
% text
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%
|
||||||
% % !Mode:: "TeX:UTF-8"
|
% % !Mode:: "TeX:UTF-8"
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesClass{elegantbook}[2020/01/14 v3.10 ElegantBook document class]
|
\ProvidesClass{elegantbook}[2020/01/17 v3.10 ElegantBook document class]
|
||||||
|
|
||||||
\RequirePackage{kvoptions}
|
\RequirePackage{kvoptions}
|
||||||
\RequirePackage{etoolbox}
|
\RequirePackage{etoolbox}
|
||||||
@@ -123,8 +123,6 @@
|
|||||||
\renewcommand{\itshape}{\kaishu}
|
\renewcommand{\itshape}{\kaishu}
|
||||||
\setlength\parindent{2\ccwd}}}
|
\setlength\parindent{2\ccwd}}}
|
||||||
|
|
||||||
\RequirePackage{ifxetex}
|
|
||||||
|
|
||||||
% \AtBeginDocument{%
|
% \AtBeginDocument{%
|
||||||
% \addtocontents{toc}{\protect\pagestyle{empty}}%
|
% \addtocontents{toc}{\protect\pagestyle{empty}}%
|
||||||
% \addtocontents{lof}{\protect\thispagestyle{empty}}%
|
% \addtocontents{lof}{\protect\thispagestyle{empty}}%
|
||||||
@@ -325,6 +323,8 @@
|
|||||||
\newcommand{\conclusionname}{结论}
|
\newcommand{\conclusionname}{结论}
|
||||||
\newcommand{\solutionname}{解}
|
\newcommand{\solutionname}{解}
|
||||||
\newcommand{\propertyname}{性质}
|
\newcommand{\propertyname}{性质}
|
||||||
|
\newcommand{\introductionname}{内容提要}
|
||||||
|
\newcommand{\problemsetname}{习题}
|
||||||
}{\relax}
|
}{\relax}
|
||||||
\ifdefstring{\ELEGANT@lang}{en}{
|
\ifdefstring{\ELEGANT@lang}{en}{
|
||||||
\setlength\parindent{2em}
|
\setlength\parindent{2em}
|
||||||
@@ -353,6 +353,8 @@
|
|||||||
\newcommand{\conclusionname}{Conclusion}
|
\newcommand{\conclusionname}{Conclusion}
|
||||||
\newcommand{\solutionname}{Solution}
|
\newcommand{\solutionname}{Solution}
|
||||||
\newcommand{\propertyname}{Property}
|
\newcommand{\propertyname}{Property}
|
||||||
|
\newcommand{\introductionname}{Introduction}
|
||||||
|
\newcommand{\problemsetname}{Exercise}
|
||||||
}{\relax}
|
}{\relax}
|
||||||
|
|
||||||
\RequirePackage{xpatch}
|
\RequirePackage{xpatch}
|
||||||
@@ -521,8 +523,7 @@
|
|||||||
\thmname{#1} \thmnumber{#2} \thmnote{(#3)}}
|
\thmname{#1} \thmnumber{#2} \thmnote{(#3)}}
|
||||||
|
|
||||||
\theoremstyle{edefstyle}
|
\theoremstyle{edefstyle}
|
||||||
\newtheorem{edefinition}{\ifdefstring{\ELEGANT@lang}{en}{Definition}{定义}}[chapter]
|
\newtheorem{edefinition}{\definitionname }[chapter]
|
||||||
|
|
||||||
\theoremstyle{ethmstyle}
|
\theoremstyle{ethmstyle}
|
||||||
\newtheorem{etheorem}{\theoremname }[chapter]
|
\newtheorem{etheorem}{\theoremname }[chapter]
|
||||||
\newtheorem{elemma}{\lemmaname }[chapter]
|
\newtheorem{elemma}{\lemmaname }[chapter]
|
||||||
@@ -571,33 +572,28 @@
|
|||||||
\setcounter{exam}{0}
|
\setcounter{exam}{0}
|
||||||
\renewcommand{\theexam}{\thechapter.\arabic{exam}}
|
\renewcommand{\theexam}{\thechapter.\arabic{exam}}
|
||||||
\newenvironment{example}[1][]{
|
\newenvironment{example}[1][]{
|
||||||
\refstepcounter{exam}\par\noindent\textbf{\color{main}{%
|
\refstepcounter{exam}
|
||||||
\ifdefstring{\ELEGANT@lang}{en}{Example}{例}
|
\par\noindent\textbf{\color{main}{\examplename}\theexam~#1 \,}\rmfamily}{
|
||||||
}\theexam #1 \,}\rmfamily %
|
\par\medskip\ignorespacesafterend}
|
||||||
}{
|
|
||||||
\par\medskip\ignorespacesafterend %
|
|
||||||
}
|
|
||||||
|
|
||||||
%% Exercise with counter
|
%% Exercise with counter
|
||||||
\newcounter{exer}[chapter]
|
\newcounter{exer}[chapter]
|
||||||
\setcounter{exer}{0}
|
\setcounter{exer}{0}
|
||||||
\renewcommand{\theexer}{\thechapter.\arabic{exer}}
|
\renewcommand{\theexer}{\thechapter.\arabic{exer}}
|
||||||
\newenvironment{exercise}[1][]{
|
\newenvironment{exercise}[1][]{
|
||||||
\refstepcounter{exer}\par\noindent\makebox[-3pt][r]{\scriptsize\color{red!90}\HandPencilLeft\quad}\textbf{\color{main}{%
|
\refstepcounter{exer}
|
||||||
\ifdefstring{\ELEGANT@lang}{en}{Exercise}{练习}
|
\par\noindent\makebox[-3pt][r]{
|
||||||
}\theexer #1 \,}\rmfamily %
|
\scriptsize\color{red!90}\HandPencilLeft\quad}
|
||||||
}{
|
\textbf{\color{main}{\exercisename}\theexer #1 \,}\rmfamily}{
|
||||||
\par\medskip\ignorespacesafterend %
|
\par\medskip\ignorespacesafterend}
|
||||||
}
|
|
||||||
|
|
||||||
%% Exercise with counter
|
%% Exercise with counter
|
||||||
\newcounter{prob}[chapter]
|
\newcounter{prob}[chapter]
|
||||||
\setcounter{prob}{0}
|
\setcounter{prob}{0}
|
||||||
\renewcommand{\theprob}{\thechapter.\arabic{prob}}
|
\renewcommand{\theprob}{\thechapter.\arabic{prob}}
|
||||||
\newenvironment{problem}[1]{
|
\newenvironment{problem}[1][]{
|
||||||
\refstepcounter{prob}\par\noindent\textbf{\color{main}{%
|
\refstepcounter{prob}
|
||||||
\problemname }
|
\par\noindent\textbf{\color{main}{\problemname} \theprob #1 \,}\rmfamily}{
|
||||||
\theprob #1 \,}\rmfamily}{
|
|
||||||
\par\medskip\ignorespacesafterend}
|
\par\medskip\ignorespacesafterend}
|
||||||
|
|
||||||
|
|
||||||
@@ -614,16 +610,16 @@
|
|||||||
% \hfill$\Box$\quad
|
% \hfill$\Box$\quad
|
||||||
\par}
|
\par}
|
||||||
|
|
||||||
\newenvironment{solution}{\par\noindent\textbf{\color{main}\solutionname}\itshape}{\vskip2ex\par}
|
\newenvironment{solution}{\par\noindent\textbf{\color{main}\solutionname} \medskip\itshape}{\vskip2ex\par}
|
||||||
\newenvironment{remark}{\noindent\textbf{\color{second}\remarkname}}{\par}
|
\newenvironment{remark}{\noindent\textbf{\color{second}\remarkname} \medskip}{\par}
|
||||||
\newenvironment{assumption}{\par\noindent\textbf{\color{third}\assumptionname}}{\par}
|
\newenvironment{assumption}{\par\noindent\textbf{\color{third}\assumptionname} \medskip}{\par}
|
||||||
\newenvironment{conclusion}{\par\noindent\textbf{\color{third}\conclusionname}}{\par}
|
\newenvironment{conclusion}{\par\noindent\textbf{\color{third}\conclusionname} \medskip}{\par}
|
||||||
\newenvironment{property}{\par\noindent\textbf{\color{third}\propertyname}}{\par}
|
\newenvironment{property}{\par\noindent\textbf{\color{third}\propertyname}\medskip}{\par}
|
||||||
\newenvironment{custom}[1]{\par\noindent\textbf{\color{third} #1 }}{\par}
|
\newenvironment{custom}[1]{\par\noindent\textbf{\color{third} #1 }}{\par}
|
||||||
|
|
||||||
\RequirePackage{multicol}
|
\RequirePackage{multicol}
|
||||||
\tcbset{
|
\tcbset{
|
||||||
introduction/.style={
|
introductionsty/.style={
|
||||||
enhanced,
|
enhanced,
|
||||||
breakable,
|
breakable,
|
||||||
colback=structurecolor!10,
|
colback=structurecolor!10,
|
||||||
@@ -641,23 +637,22 @@
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
\newenvironment{introduction}[1][\ifdefstring{\ELEGANT@lang}{en}{Introduction}{内容提要}]{
|
\newenvironment{introduction}[1][\introductionname]{
|
||||||
\begin{tcolorbox}[introduction,title={#1}]
|
\begin{tcolorbox}[introductionsty,title={#1}]
|
||||||
\begin{multicols}{2}
|
\begin{multicols}{2}
|
||||||
\begin{itemize}[label=\textcolor{structurecolor}{\scriptsize\SquareShadowBottomRight}]
|
\begin{itemize}[label=\textcolor{structurecolor}{\upshape\scriptsize\SquareShadowBottomRight}]}{
|
||||||
}{%
|
\end{itemize}
|
||||||
\end{itemize}
|
\end{multicols}
|
||||||
\end{multicols}
|
\end{tcolorbox}}
|
||||||
\end{tcolorbox}}
|
|
||||||
|
|
||||||
\RequirePackage{adforn}
|
\RequirePackage{adforn}
|
||||||
\newenvironment{problemset}[1][\ifdefstring{\ELEGANT@lang}{en}{\textbf{\chaptername\, Exercise}}{\textbf{\chaptername\, 习题}}]{
|
\newenvironment{problemset}[1][\chaptername~\medskip~\problemsetname]{
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\ifdefstring{\ELEGANT@lang}{en}{\addcontentsline{toc}{section}{\texorpdfstring{\chaptername\,}{Chapter} Exercise} }{\addcontentsline{toc}{section}{\texorpdfstring{\chaptername\,}{章节}习题}}
|
\addcontentsline{toc}{section}{\texorpdfstring{\chaptername\medskip\problemsetname}{\problemsetname}}
|
||||||
\textcolor{structurecolor}{\Large\bfseries\adftripleflourishleft~#1~\adftripleflourishright}
|
\textcolor{structurecolor}{\Large\bfseries\adftripleflourishleft~#1~\adftripleflourishright}
|
||||||
\end{center}
|
\end{center}
|
||||||
\begin{enumerate}[label=\textcolor{structurecolor}{\arabic*.}]}{%
|
\begin{enumerate}}{
|
||||||
\end{enumerate}}
|
\end{enumerate}}
|
||||||
|
|
||||||
\def\relsec{\endgroup start}
|
\def\relsec{\endgroup start}
|
||||||
\def\endrelsec{end\begingroup\def \@currenvir {relsec}}
|
\def\endrelsec{end\begingroup\def \@currenvir {relsec}}
|
||||||
@@ -676,7 +671,7 @@
|
|||||||
\fancyhf{}
|
\fancyhf{}
|
||||||
|
|
||||||
\ifdefstring{\ELEGANT@base}{hide}{
|
\ifdefstring{\ELEGANT@base}{hide}{
|
||||||
\fancyfoot[c]{\color{structurecolor}\itshape\scriptsize--\;\thepage\;--}
|
\fancyfoot[c]{\color{structurecolor}\scriptsize--\;\thepage\;--}
|
||||||
\if@twoside
|
\if@twoside
|
||||||
\fancyhead[ER]{\color{structurecolor}\itshape\leftmark}
|
\fancyhead[ER]{\color{structurecolor}\itshape\leftmark}
|
||||||
\fancyhead[OL]{\color{structurecolor}\itshape\rightmark}
|
\fancyhead[OL]{\color{structurecolor}\itshape\rightmark}
|
||||||
@@ -689,11 +684,11 @@
|
|||||||
\ifdefstring{\ELEGANT@base}{show}{
|
\ifdefstring{\ELEGANT@base}{show}{
|
||||||
\fancyfoot[c]{\catcode`\$=3\relax\base{structurecolor}{88}}
|
\fancyfoot[c]{\catcode`\$=3\relax\base{structurecolor}{88}}
|
||||||
\if@twoside
|
\if@twoside
|
||||||
\fancyhead[EL,OR]{\color{structurecolor}\itshape--\;\thepage\;--}
|
\fancyhead[EL,OR]{\color{structurecolor}--\;\thepage\;--}
|
||||||
\fancyhead[ER]{\color{structurecolor}\itshape\leftmark}
|
\fancyhead[ER]{\color{structurecolor}\itshape\leftmark}
|
||||||
\fancyhead[OL]{\color{structurecolor}\itshape\rightmark}
|
\fancyhead[OL]{\color{structurecolor}\itshape\rightmark}
|
||||||
\else
|
\else
|
||||||
\fancyhead[R]{\color{structurecolor}\itshape--\;\thepage\;--}
|
\fancyhead[R]{\color{structurecolor}--\;\thepage\;--}
|
||||||
\fancyhead[L]{\color{structurecolor}\itshape\rightmark}
|
\fancyhead[L]{\color{structurecolor}\itshape\rightmark}
|
||||||
\fi
|
\fi
|
||||||
}{\relax}
|
}{\relax}
|
||||||
@@ -798,6 +793,7 @@
|
|||||||
\lstset{language=[LaTeX]TeX,
|
\lstset{language=[LaTeX]TeX,
|
||||||
texcsstyle=*\color{winered},
|
texcsstyle=*\color{winered},
|
||||||
numbers=none,
|
numbers=none,
|
||||||
|
mathescape,
|
||||||
breaklines=true,
|
breaklines=true,
|
||||||
keywordstyle=\color{winered},
|
keywordstyle=\color{winered},
|
||||||
commentstyle=\color{gray},
|
commentstyle=\color{gray},
|
||||||
|
|||||||
Reference in New Issue
Block a user