Re: Etichetta con testo su due righe

#57762
Up
0
Down
::

[quote]Con \shortstack l’altezza di quella box viene 16.77776pt, con le due \hbox viene 18.83331pt, con il tabular viene 20.39996pt (perché tabular inserisce puntelli).

Giusto per fare qualche altro passo avanti, come vedi quelle misure?

`documentclass{article}
\begin{document}
\showboxbreadth=1000
\showboxdepth=1000
\tracingonline=1

\setbox0=\hbox{\shortstack{Nome\\che}}
\showthe\ht0 \showthe\dp0
\showbox0

\setbox0=\vbox{\hbox{Nome}\hbox{che}}
\showthe\ht0 \showthe\dp0
\showbox0

\setbox0=\hbox{\begin{tabular}{@{}l@{}}Nome\\che\end{tabular}}
\showthe\ht0 \showthe\dp0
\showbox0
\end{document}`
Compila da terminale.

Ciao
Enrico[/quote]

Buono a sapersi 🙂
Grazie!

Ciao
Ivan

Go to top