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



enter image description here

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:

Section text

\ulemparagraph{Some other text}

\paragraph{Even more text}

enter image description here

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.