m |
|||
Line 3: | Line 3: | ||
$\TeX$ is one of the masterpieces of [[Don Knuth]]. | $\TeX$ is one of the masterpieces of [[Don Knuth]]. | ||
− | At some point in the early 2000, I switched to $\LaTeX$ for convenience, and almost exclusively use the latter now. | + | At some point in the early 2000, I switched to $\LaTeX$ for convenience, and almost exclusively use the latter now. |
== Formatting == | == Formatting == | ||
Line 9: | Line 9: | ||
* Wrapping figures in text: [http://www.grappa.univ-lille3.fr/FAQ-LaTeX/8.17.html] | * Wrapping figures in text: [http://www.grappa.univ-lille3.fr/FAQ-LaTeX/8.17.html] | ||
− | == | + | == Footnotes == |
− | + | There is a $\LaTeX$ package, [http://ctan.larsko.net/help/Catalogue/entries/footmisc.html footmisc], that is useful for manipulating footnote formatting. | |
− | < | + | * Spacing between footnotes: |
− | \makeatletter | + | |
+ | <code lang="latex">%\footnotesep is the space between footnotes: | ||
+ | \setlength{\footnotesep}{-0.5\baselineskip}</code> | ||
+ | |||
+ | <code lang="latex">%\footins is the space between the text body and the footnotes: | ||
+ | \setlength{\skip\footins}{1cm}</code> | ||
+ | |||
+ | * To use footnotes to feature reference-style annotations, that is, with no subscripts and with enclosing brackets <wz tip="Like this.">[1]</wz>, add in the preamble: | ||
+ | |||
+ | <code lang='latex'>\makeatletter | ||
\renewcommand{\@makefnmark} | \renewcommand{\@makefnmark} | ||
%{\@textsuperscript{\textit{\tiny{\@thefnmark}}}} | %{\@textsuperscript{\textit{\tiny{\@thefnmark}}}} | ||
Line 22: | Line 31: | ||
\noindent | \noindent | ||
[\@thefnmark]\enspace #1} | [\@thefnmark]\enspace #1} | ||
− | \makeatother | + | \makeatother</latex> |
− | </ | + | |
(I left, commented, the original definition of the footnote). | (I left, commented, the original definition of the footnote). |
$\TeX$ is one of the masterpieces of Don Knuth.
At some point in the early 2000, I switched to $\LaTeX$ for convenience, and almost exclusively use the latter now.
There is a $\LaTeX$ package, footmisc, that is useful for manipulating footnote formatting.
%\footnotesep is the space between footnotes:
\setlength{\footnotesep}{-0.5\baselineskip}
%\footins is the space between the text body and the footnotes:
\setlength{\skip\footins}{1cm}
\makeatletter
\renewcommand{\@makefnmark}
%{\@textsuperscript{\textit{\tiny{\@thefnmark}}}}
{[\@thefnmark]}
\renewcommand\@makefntext[1]{%
\parindent 1em \noindent [\@thefnmark]\enspace #1}
\makeatother</latex>
(I left, commented, the original definition of the footnote).</span>