1

I've created that new macro:

\newcommand{\undbf}[1] {\textbf{\underline{\smash{#1}}}}

To get underline closer to letters but, for instance with this code:

\documentclass[8pt,a4paper,dvipsnames]{article}
\usepackage[utf8]{inputenc} 

\newcommand{\undbf}[1] {\textbf{\underline{\smash{#1}}}}

\begin{document}
\undbf{StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange, StackExchange,}
\end{document}

I've not got line-breaking automatically; I mean:

enter image description here

And I would like could underline text in that way but have got automatic new lines. Thank you so much :)

jfernandz
  • 881

0 Answers0