m (→Lists) |
m (→Lists) |
||
Line 15: | Line 15: | ||
* To change spacing between items, put after \begin{itemize}: | * To change spacing between items, put after \begin{itemize}: | ||
− | <code lang="latex"> | + | <code lang="latex">\addtolength{\itemsep}{-0.5\baselineskip}</code> |
− | \addtolength{\itemsep}{-0.5\baselineskip} | + | |
− | </code> | + | |
* To change the starting value of an enumerate list: | * To change the starting value of an enumerate list: | ||
− | <code lang="latex"> | + | <code lang="latex">\begin{enumerate} |
− | \begin{enumerate} | + | |
\setcounter{enumi}{4} | \setcounter{enumi}{4} | ||
\item fifth element | \item fifth element | ||
− | \end{enumerate} | + | \end{enumerate}</code> |
− | </code> | + | |
* To change enumeration (with square brackets, parentheses, etc.): (see [http://goo.gl/0ZzbB]) | * To change enumeration (with square brackets, parentheses, etc.): (see [http://goo.gl/0ZzbB]) | ||
− | <code lang="latex"> | + | <code lang="latex">\usepackage{enumitem}% http://ctan.org/pkg/enumitem |
− | \usepackage{enumitem}% http://ctan.org/pkg/enumitem | + | |
\begin{document} | \begin{document} | ||
\begin{enumerate}[label={[\arabic*]}] | \begin{enumerate}[label={[\arabic*]}] | ||
Line 39: | Line 34: | ||
\item Last item | \item Last item | ||
\end{enumerate} | \end{enumerate} | ||
− | \end{document} | + | \end{document}</code> |
− | </code> | + | |
== Footnotes == | == Footnotes == |
{{{1}}}
Contents |
$\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).