Text Formatting ⇒ overlapping formatting with staggered start/stop
overlapping formatting with staggered start/stop
How can I generate text where I start \underline, then start \textbf, then end \underline, then end \textbf?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
overlapping formatting with staggered start/stop
Code: Select all
\documentclass{article}
\begin{document}
Text with \underline{start underline \textbf{start bf}} \textbf{end underline}
and end bf. Also possible and somehow better would be \underline{start underline \textbf{start bf}}\textbf{ end underline}
\end{document}
\underline
is like \fbox
and therefore does not provide line breaks! It should not be used for more than a single word.