diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/maketexwork/ex-03-01 |
Initial commit
Diffstat (limited to 'info/maketexwork/ex-03-01')
-rw-r--r-- | info/maketexwork/ex-03-01 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/info/maketexwork/ex-03-01 b/info/maketexwork/ex-03-01 new file mode 100644 index 0000000000..3905e43def --- /dev/null +++ b/info/maketexwork/ex-03-01 @@ -0,0 +1,22 @@ +\documentstyle{article} +% The following definition changes the font that LaTeX +% uses for the 'Large' font. I have introduced a typo +% into the definition, ``\fontsiz'' should be ``\fontsize''. +% +% The first time a \Large font is requested, an error will occur. +% +\renewcommand{\Large}{\fontsiz{17}{20pt}\selectfont} +\begin{document} + +This text precedes the first section header. + +% Note: LaTeX uses the \Large font in section +% headers...this will fail in a confusing way +% because the error is deep within the definition +% of \section where \Large is used... +% +\section{First Section} + +This is the first and only sentence of the first section. + +\end{document} |