Skip to content

Commit

Permalink
增加对 indent 选项的描述
Browse files Browse the repository at this point in the history
closes #403
  • Loading branch information
RuixiZhang42 committed Jan 30, 2019
1 parent 659610c commit ffc0822
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions ctex/ctex.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -549,10 +549,10 @@ Copyright and Licence
% \changes{v2.4}{2015/02/19}{加强 \pkg{beamer} 宏包支持。}
% \changes{v2.4.12}{2018/01/13}{同步 \LaTeXiii{} 2017/12/16。}
% \changes{v2.4.15}{2018/05/15}{同步 \LaTeXiii{} 2018/05/13。}
% \changes{v2.4.16}{2019/01/29}{修正 \opt{indent} 的实现方法。}^^A 未完待续
% \changes{v2.4.16}{2019/01/30}{修正 \opt{indent} 的实现方法。}^^A 未完待续,顺便修正 \#402?
%
%
% \CheckSum{5901}
% \CheckSum{5912}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
Expand Down Expand Up @@ -2140,14 +2140,24 @@ Copyright and Licence
%
% \opt{indent} 选项的默认值,在 \opt{scheme} 选项的不同取值下相同。
%
% 例如,设置 \tn{section} 标题缩进 \SI{20}{pt}:
% 如果 \opt{indent} 的值是以 \texttt{em}、\texttt{ex} 或 \cs{ccwd} 为单位,
% 那么缩进间距的大小是相对于 \opt{format} 中指定的字号大小。
%
% 例如,设置 \tn{part} 标题缩进三个字、\tn{section} 标题缩进 \SI{20}{pt}:
% \end{function}
% \begin{ctexexam}
% \ctexset{section={
% \ctexset{
% part={
% format+=\raggedright,
% indent=3\ccwd,
% },
% section={
% format=\Large\bfseries,
% indent=20pt,
% }
% }
% \part{首行缩进的标题}
% \noindent 无缩进的正文。
% \section{首行缩进的标题}
% \noindent 无缩进的正文。
% \end{ctexexam}
Expand Down Expand Up @@ -8312,7 +8322,7 @@ Copyright and Licence
%
% 对应 \tn{subsectionpage}。
% \begin{macrocode}
\defbeamertemplate*{subsection page}{CTEX}[1][]{
\defbeamertemplate*{subsection page}{CTEX}[1][]{%
\begingroup
\ctexset{autoindent=false}%
% \centering
Expand Down

0 comments on commit ffc0822

Please sign in to comment.