summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex')
-rw-r--r--Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex22
1 files changed, 16 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex b/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex
index a85e36e88c1..3a69afd11c8 100644
--- a/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex
+++ b/Master/texmf-dist/tex/latex/dccpaper/dccpaper-base.tex
@@ -14,7 +14,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.]
%
@@ -246,6 +246,16 @@
\protected@xdef\thetitle{#2}
\endgroup\endgroup
}
+%
+% To prevent \LaTeX\ throwing an error if no title is supplied, we supply a
+% fallback value and issue a warning instead.
+%
+\def\thetitle{%
+ Please supply a title
+ \ClassWarning{dccpaper}{%
+ Please supply a title in the preamble with \noexpand\title{}%
+ }
+}
%
% We make |\thedate| persistent, borrowing the technique used in Peter Wilson's
@@ -649,7 +659,7 @@
\filcenter\normalfont\Large\bfseries
}
{\thesection}
- {\quad}
+ {1em}
{}
%
% The others use a |\normalsize| font so that makes life easier. The format
@@ -668,25 +678,25 @@
\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}
{}
%
% DCC papers do not typically number their sections.