diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc b/Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc index a58a2283c45..19e84582887 100644 --- a/Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc +++ b/Master/texmf-dist/doc/latex/dccpaper/dccpaper-base.doc @@ -1,4 +1,4 @@ -\ProvidesFile{dccpaper-base.doc}[2014/10/16 automatically generated with makedoc.sty] +\ProvidesFile{dccpaper-base.doc}[2015/01/22 automatically generated with makedoc.sty] \begin{lstlisting}[firstnumber=1] %% %% This is file `dccpaper-base.tex', @@ -16,7 +16,7 @@ %% See: http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- %% -\def\Version{2014/10/14 v1.3.1} +\def\Version{2015/01/21 v1.3.2} \ProvidesFile{dccpaper-base.tex} [\Version\space Common class code for IJDC and IDCC papers.] \end{lstlisting} @@ -294,6 +294,18 @@ provide a persistent |\thetitle| macro, stripped of any |\thanks|. \protected@xdef\thetitle{#2} \endgroup\endgroup } +\end{lstlisting} + +To prevent \LaTeX\ throwing an error if no title is supplied, we supply a +fallback value and issue a warning instead. + +\begin{lstlisting}[firstnumber=last] +\def\thetitle{% + Please supply a title + \ClassWarning{dccpaper}{% + Please supply a title in the preamble with \noexpand\title{}% + } +} \end{lstlisting} @@ -745,7 +757,7 @@ the 2|\baselineskip| of padding above it. \filcenter\normalfont\Large\bfseries } {\thesection} - {\quad} + {1em} {} \end{lstlisting} @@ -766,25 +778,25 @@ less white space is needed. \normalfont\normalsize\bfseries } {\thesubsection} - {\quad} + {1em} {} \titleformat{\subsubsection} [block] {\normalfont\normalsize\bfseries} {\thesubsubsection} - {\quad} + {1em} {} \titleformat{\paragraph} [block] {\normalfont\normalsize\bfseries\itshape} {\thesubsubsection} - {\quad} + {1em} {} \titleformat{\subparagraph} [block] {\normalfont\normalsize\itshape} {\thesubsubsection} - {\quad} + {1em} {} \end{lstlisting} |