# Particular type of Paragraph

Is there a way to obtain a paragraph that have in output just

    \underline{\emph{Esempio.}}


i.e.

i.e. without ''\textbf'' the word.

• I don't understand what it is that you want. \underline{\emph{Esempio.}} does not output boldface text, to see that you can type \underline{\textbf{\emph{Esempio.}}} and compare the results (they are quite different). – Guilherme Zanotelli Oct 20 '16 at 10:31
• @GuilhermeZ.Santos As a mattere of fact '' paragraph '' boldface the text.. I need a kind of paragraph-command that have as output the image in the question. – Andrea Leo Oct 20 '16 at 10:36
• That completely depends on the class you are using, since you did not provide a MWE I have no way of knowing what it is that you're doing and what you want. Nevertheless, titlesec seems to be what you're looking for. – Guilherme Zanotelli Oct 20 '16 at 10:39
• Please, add information about the class you're using. Note, though, that underlining is not a recommended typographic device; italics already gives emphasis, “double emphasis” is not necessary. – egreg Oct 20 '16 at 10:42
• I use: \documentclass[a4paper,12pt]{extbook} .. – Andrea Leo Oct 20 '16 at 11:00

Although I firmly agree with @egreg: underline emphasized text is too much Information, a MWE with the class you're using:

\documentclass[a4paper,12pt]{extbook}
\usepackage[normalem]{ulem}
\usepackage{titlesec,blindtext}
\titleformat*{\paragraph}{}
\newcommand{\tmp}[1]{}
\let\tmp\paragraph
\renewcommand{\paragraph}[1]{\tmp{\textbf{#1}}}
\newcommand{\ulemparagraph}[1]{\tmp{\uline{\emph{#1}}}}
\begin{document}
\section{Section}
Section text

\ulemparagraph{Some other text}

\paragraph{Even more text}
\end{document}


• There is a problem. Now all paragraphs are modified. I need an additional command in order to obtain what I want. Thank you. – Andrea Leo Oct 20 '16 at 11:19
• Ok I get it. However \uline probably is one of yours definition. – Andrea Leo Oct 20 '16 at 11:43
• I thought that was what you wanted to do. Do you wish to have both commands: a \paragraph (which is bold) and a \ulemparagraph (which would be underlined and emphasized)?. BTW, \uline is defined by ulem package which allows linebreaks amongst other features. – Guilherme Zanotelli Oct 20 '16 at 11:52
• Ok. How we define \ulemparagraph and hold also \paragraph? – Andrea Leo Oct 20 '16 at 12:12
• If you look closely, you'll see that there's no \paragraph command, I made \tmp inherit \paragraph's definition. So we just make a new command with \tmp which makes the text bold. See edited answer! =D – Guilherme Zanotelli Oct 20 '16 at 12:21