TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following is my original texts.

\textbf{The Interior Dirichlet Problem:} Given $f\in C(S)$, find
$u\in C(\overline{\Omega})$ such that $u$ is harmonic on $\Omega$
and $u=f$ on $S$.

Instead of using \emph{} word by word and symbol by symbol, how can I quickly get everything Italic quickly?

I have tried the \newtheorem command. But the font would be different from the desired one. What's more, I am not able to get rid of the period automatically added by the macro.

share|improve this question
You could apply one of the techniques proposed here tex.stackexchange.com/q/16996/1998 – pmav99 Jun 25 '11 at 23:26
up vote 2 down vote accepted
   \textbf{#1:}\em\ \ignorespaces}


\begin{problem}{The Interior Dirichlet Problem}
Given $f\in C(S)$, find $u\in C(\overline{\Omega})$ such
that $u$ is harmonic on $\Omega$ and $u=f$ on $S$.

However, you can also put everything after the colon as argument to \emph or say {\em Given $f\in C(S)$, ... on $S$.}

share|improve this answer
I thought use of \em et al was discouraged? – You Jun 25 '11 at 21:19
@You: not at all. But it's preferable to use it only in the definition of environments. For a "one shot" application it's handier than a very long argument to \emph. – egreg Jun 25 '11 at 21:24
@You -- \em isn't the best command to use here, although it works. \itshape is the preferred latex equivalent. – barbara beeton Jun 26 '11 at 13:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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