3 Gennaio 2015 alle 14:54
#96778
::
cfiandra” post=99040
`\newcommand{\sottolinea}[2][]{%
\begin{tikzpicture}[baseline=-.5ex]\node[inner sep=0pt,outer sep=-1pt](x){$#2$};
\draw[#1]([yshift=-1.5pt]x.south west)–([yshift=-1.5pt]x.south east);
\end{tikzpicture}%
}`
A me sembra che vada benone. Perché dici che la spaziatura matematica non è rispettata? E che ne dici di questa minima variante?
`\newcommand{\sottolinea}[2][]{%
\begin{tikzpicture}[baseline=0]
\node [anchor=base, inner xsep=0, inner ysep=1.2bp, outer sep=-0.1em] (x) {$#2$};
\draw[#1] (x.south west) — (x.south east);
\end{tikzpicture}%
}`