m (→Geometry) |
m (→Units) |
||
Line 111: | Line 111: | ||
<pre>\usepackage{siunitx}</pre> | <pre>\usepackage{siunitx}</pre> | ||
− | It'd take | + | It'd take <tt>\SI{500}{\milli\second}</tt> to understand. |
+ | |||
+ | Please write <tt>\SI{10}{\micro\meter}</tt> and not <tt>10\mu\mathrm{m}</tt> | ||
+ | |||
+ | <center><wz tip="Please!">[[File:pleasewrite10mum.jpeg|250px]]</wz></center> | ||
+ | |||
+ | There is also a <tt>SIUnits</tt> which is however deprecated [http://tex.stackexchange.com/questions/21936/differences-between-siunits-and-siunitx-packages]. Sometimes it comes in handy, for instance when you want to add non-numerical inputs (though siunitx should be able to allow that as well). | ||
== See also == | == See also == |
Contents |
$\mathrm{\TeX}$ is one of the masterpieces of Don Knuth.
It is the uppercase version of $\tau\epsilon\chi$, a Greek word for Tech, which is how $\mathrm{\TeX}$ should be pronounced (!?).
At some point in the early 2000, I switched to $\mathrm{\LaTeX}$ for convenience, and almost exclusively use the latter now.
Splitting equations within an aligned set can be done as followed~[1]:
\begin{align} a &= \begin{aligned}[t] &b + c + d +\\ &c + e + f + g + h + i \end{aligned}\\ k &= \begin{aligned}[t] &l + m + n\\ &+ o + p + q \end{aligned} \end{align} |
\begin{align} a &= \begin{aligned}[t] &b + c + d +\\ &c + e + f + g + h + i \end{aligned}\\ k &= \begin{aligned}[t] &l + m + n\\ &+ o + p + q \end{aligned} \end{align} |
See Will Robertson preambles to use different fontsets.
\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).
\usepackage[a4paper, total={6in, 8in}]{geometry}
We use the siunitx package:
\usepackage{siunitx}
It'd take \SI{500}{\milli\second} to understand.
Please write \SI{10}{\micro\meter} and not 10\mu\mathrm{m}
There is also a SIUnits which is however deprecated [6]. Sometimes it comes in handy, for instance when you want to add non-numerical inputs (though siunitx should be able to allow that as well).