Page Layout ⇒ Define a simple Layout with underlined words
Define a simple Layout with underlined words
I'd like to use underlines for one word of certain logical paragraphs like "sentence:" oder "reminder:".
How to define a simple group for this? I'd like the underlines to be thicker than \underline and also to stop right at the middle of the closing colon. Also it should be at a fixed position (not lower if there's a 'g', 'j' but rather strike through).
How to set up a group for this?
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
Define a simple Layout with underlined words
Follow howtoTeX on twitter
Re: Define a simple Layout with underlined words
Weird thing though is the lines aren't perfect, but there are minimal joints visible, e.g. spots where the line is blacker.
Next step for me now would be: How to define a paragraph style?, so one logical paragraph begins with an underlined word marking the content and then follows arbitrary content.
Define a simple Layout with underlined words
Anyway, probably the easiest way to customize the first word of a paragraph would be to define
Code: Select all
\def\parstart #1 {\ul{#1} }
Code: Select all
\parstart This is the first sentence of a paragraph
Follow howtoTeX on twitter