I saw this to add a dotted line below some text. But I'm wondering how to shift it down a little bit and play with its positioning, I don't see how to adjust the layout of it from the example.
I would also like to know how to simply add a "blank line", basically like this in the text:
Hello this is some text with a ___________ blank line.
I tried doing this but it doesn't seem right and doesn't work:
Hello this is some text with a \thedot{ } blank line.
\newcommand{\thedot}[1]{%
\tikz[baseline=(todotted.base)]{
\node[inner sep=1pt,outer sep=0pt] (todotted) {#1};
\draw[dotted, thick] (todotted.south west) -- (todotted.south east);
}%
}%
I get this with the current answers:
When I do \node[inner sep=1pt,outer sep=0pt,xshift=-2mm] or \tikz[baseline=2mm]. Still not right.






\phantom{some text}to get some blank space? – nidhin Dec 05 '18 at 19:57thedot{ }with\thedot{\hphantom{some text}}, wheresome textrepresents the amount of space you want. Multiple spaces are ignored in text, so what you have is the equivalent of\thedot{ }(ie, a single space). The other alternative is to modifythedotmacro to have a parameter which specifies the actual width of the dotted line you want to have:\thedot[2cm]{}for example. – Peter Grill Dec 05 '18 at 20:18