m →Lists |
|||
| Line 19: | Line 19: | ||
</code> | </code> | ||
* To change the starting value of an enumerate list: | |||
<code lang="latex"> | |||
\begin{enumerate} | |||
\setcounter{enumi}{4} | |||
\item fifth element | |||
\end{enumerate} | |||
</code> | |||
* To change enumeration (with square brackets, parentheses, etc.): (see [http://goo.gl/0ZzbB]) | |||
<code lang="latex"> | |||
\usepackage{enumitem}% http://ctan.org/pkg/enumitem | |||
\begin{document} | |||
\begin{enumerate}[label={[\arabic*]}] | |||
\item First item | |||
\item Second item | |||
\item \ldots | |||
\item Last item | |||
\end{enumerate} | |||
\end{document} | |||
</code> | |||
== Footnotes == | == Footnotes == | ||
{{{1}}}
$\mathrm{\TeX}$ is one of the masterpieces of Don Knuth.
At some point in the early 2000, I switched to $\mathrm{\LaTeX}$ for convenience, and almost exclusively use the latter now.
\addtolength{\itemsep}{-0.5\baselineskip}
\begin{enumerate}
\setcounter{enumi}{4}
\item fifth element
\end{enumerate}
\usepackage{enumitem}% http://ctan.org/pkg/enumitem
\begin{document}
\begin{enumerate}[label={[\arabic*]}]
\item First item
\item Second item
\item \ldots
\item Last item
\end{enumerate}
\end{document}
There is a $\mathrm{\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
(I left, commented, the original definition of the footnote).