Hot answers tagged

3

The physics LaTeX package also implements abs and norm: \documentclass{article} \usepackage{physics} \begin{document} \[ c = \abs{-c} \] \[ \vu{a} = \frac{\vb{a}}{\norm{\vb{a}}} \] \end{document}


3

\documentclass{article} \usepackage{oldgerm,stackengine,graphicx} \newcommand\xe[1]{\stackengine{.5pt}{#1}{\scalebox{.6}{\tiny e\,\,}}{O}{r}{F}{F}{S}} \begin{document} \xe{a} \xe{o} \xe{u} \frakfamily *a *o *u \end{document} One may add an \itshape after the \tiny to get a slightly different presentation:


2

Here's a simple roll-your-own approach, using the standard LaTeX box making and box raising tools. \documentclass{article} \usepackage{helvet} \newcommand\ue{\raisebox{2\height}{\makebox[0pt][l]{\kern1.3pt\tiny e}}u} \begin{document} \textsf{M\ue sli}. \end{document}


2

The following code reduces by 10% the height of the box formed with a single wide tilde and adds another one on top of it. \documentclass{article} \usepackage{kpfonts} \usepackage{amsmath} \makeatletter \newcommand{\doublewidetilde}[1]{{% \mathpalette\double@widetilde{#1}% }} \newcommand{\double@widetilde}[2]{% \sbox\z@{$\m@th#1\widetilde{#2}$}% \ht\...


1

From The \gls-Like Commands (First Use Flag Queried): Be careful when you use glossary entries in math mode especially if you are using hyperref as it can affect the spacing of subscripts and superscripts. You need to put the super/subscript in the final optional argument of \gls. For example \gls{symb:A}[^1]. Trimming down your example: \...



Only top voted, non community-wiki answers of a minimum length are eligible