Category: CollTipLaTeX
-
#LatexTip: to avoid #LaTeX breakin words over two lines, use \mbox{nolinebreakword}. To suggest hyphenation, use “\-” (e.g., “cau\-sal”)
-
#LaTeXTip: tilde is not writen by $\tilde$ but by $\infty$
-
#LaTeXTip: To write i and j without dots so that dots and (e.g.) \widehat do not interfere, use \i and \j (does not require math mode)
-
#LaTeXtip: to reset page numbers write \setcounter{page}{0}, to increment by 2 pages write \addtocounter{page}{2}, and to change styles write \renewcommand{\thepage}{\roman{page}} and use either roman (I, II etc), alph (a, b etc), Alph (A, B etc) or arabic (1, 2 etc)
-
#LaTeXTip: To insert an empty space with the same size as a word (say “hi”), write “\phantom{hi}” – might be useful for small quizzes or tests
-
#LaTeXTip: use the –aspectratio=169– option to fit your #beamertex slide to most modern projectors (and screeens!): \documentclass[aspectratio=169]{beamer}
-
#LaTeXTip: use \beamertemplatenavigationsymbolsempty in the preamble to hide beamertex’s menu buttons
-
#LaTeXTip: use the [hidelinks] option in the preamble to remove borders around cross-references in your LaTeX document — use “\usepackage[hidelinks]{hyperref}”
-
#LaTeXTip: remove equation numbering for separate lines by adding “\notag” before \\ in the align environment. Use \begin{align*} and \end{align*} to switch off numbering entirely
-
#LaTeXTip: scandinavian letters in LaTeX can be written without usepackage as \aa(å), \AA (Å), \”a (ä), \”A (Ä), \”o (ö), \”O (Ö), \o (ø), \ae (æ) and \AE (Æ) – remember to add an extra space after the command