
Dado um documento como este
\starttext
\setupbodyfont[palatino,8pt] small
\setupbodyfont[palatino,12pt] normal
\setupbodyfont[palatino,16pt] big
\stoptext
como eu centralizaria essas palavras verticalmente?
Responder1
Depende um pouco do que você deseja alcançar. Uma maneira é usar \framed[location=lohi]
. Por exemplo
\defineframed
[vcentered]
[
location=lohi,
frame=off,
]
\starttext
\dontleavehmode
\vcentered[foregroundstyle={\switchtobodyfont[palatino,8pt]}]{small}
\vcentered[foregroundstyle={\switchtobodyfont[palatino,12pt]}]{normal}
\vcentered[foregroundstyle={\switchtobodyfont[palatino,16pt]}]{big}
\stoptext