General ⇒ Horizontal line?
Horizontal line?
How can I create horizontal lines like this?
What is your opinion of LyX? ______________________________________________
_________________________________________________________________________
_________________________________________________________________________
Do you like Weetabix? ____________________________________________________
_________________________________________________________________________
etc.
I guess it can be done manually with the /line command, but it is there a more automatic way? (e.g. /dolines {x} - where x is the number of lines)
Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Horizontal line?
you can create those lines "manually" using \hrulefill:
Code: Select all
\documentclass{article}\begin{document}text text \hrulefill\noindent\hrulefill\noindent\hrulefill\end{document}
Re: Horizontal line?
\documentclass{article}
\begin{document}
text text (this works fine) \hrulefill
\noindent\hrulefill (this doesn't work)
. \noindent\hrulefill (this works as there is a character before the command)
\end{document}
Horizontal line?
I don't understand what is not working exactly. The code that I posted produces three horizontal rules; I attach the resulting pdf file. Are you getting something different?ck9 wrote:Thanks a lot. Works great however it's not creating the line on blank lines. Any ideas? Inserting a horizontal space doesn't do it either.
\documentclass{article}
\begin{document}
text text (this works fine) \hrulefill
\noindent\hrulefill (this doesn't work)
. \noindent\hrulefill (this works as there is a character before the command)
\end{document}
- Attachments
-
- test.pdf
- (10.74 KiB) Downloaded 1655 times