1

Basically I've created a math theorem called definition

At header of the document, declared as

\newtheorem{defi}{Definition}[section]

Now i've laid out some text and stuff

basically what I have inside my document is

text here ..
\begin{defi}
  Complex Numbers
\end{defi}
More text

What it looks like:


Definition 1.1. Complex Numbers

More text


What I want it to look like


Definition 1.1. Complex Numbers More text


Any suggestions?

closed as unclear what you're asking by David Carlisle, user36296, Torbjørn T., Mike Renfro, Andrew Swann Mar 17 '17 at 14:47

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • by tradition, a theorem always stands alone. so the \end{defi} will always break to a new line/paragraph. if you really want to just continue in the same "block" but with a different type style, before "more text" insert \rmfamily. not recommended, but it should give the result you ask for. – barbara beeton Mar 20 '16 at 20:22
  • 2
    isn't the "more text" part of the definition? in which case it should be before the \end{defi} intended use is \begin{defi} [Complex Numbers] more text \end{defi} – David Carlisle Mar 20 '16 at 20:38
  • 1
    what does amsmath have to do with this? (i've removed that tag; amsthm may be relevant, but without code saying what theorem conventions you're using, that's inconclusive.) – barbara beeton Apr 21 '16 at 20:28

Browse other questions tagged or ask your own question.