Re: Produrre linea sotto il titolo

#93595
Up
0
Down
::


[tt]tikzmark[/tt]: `
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shadings,tikzmark}

\newcommand{\tikzunderline}[3][]{%
\tikz[remember picture, overlay]{\draw[#1](pic cs:#2)–(pic cs:#3);}
}

\begin{document}

\tikzmark{a}\Huge testo\tikzmark{b}\tikzunderline{a}{b}

\tikzmark{c}\Huge testo\tikzmark{d}\tikzunderline[yshift=-3pt]{c}{d}

\tikzmark{e}\Huge testo\tikzmark{f}\tikzunderline[yshift=-1pt, shorten <=5pt,shorten >=5pt]{e}{f}

\tikzmark{g}\Huge testo\tikzmark{h}\tikzunderline[yshift=-4pt, shorten <=-5pt,shorten >=-5pt, ultra thick]{g}{h}
\end{document}
` Ciao
Claudio

Go to top