2

I need an example in a paper for an IEEE workshop. There is no example environment in the template. How should I set it up?

The document class is \documentclass[conference]{IEEEtran}.

2
  • An example? Why do you need to go through the trouble of setting up an container for a one-time use? Just use \textbf{Example:}, maybe?
    – Werner
    Commented Apr 20, 2017 at 7:45
  • I would like it to be clear where the example ends so I thought something else might be more appropriate.
    – Elias
    Commented Apr 20, 2017 at 7:47

1 Answer 1

2
\documentclass[conference]{IEEEtran}
\newtheorem{example}{Example}
\begin{document}
\begin{example}
  This is an example.
\end{example}
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .