Chris
2004-05-12 04:43:00 UTC
Does anyone know how to make the text of a theorem indented, like a
hanging indent? I'm using the following code currently:
\newtheoremstyle{mydefinition}%
{5pt}% space above
{5pt}% space below
{}% body font
{\parindent}% indent amount
{\bf}% theorem head font
{}% punctuation after theorem header
{\newline}% space after theorem header
{}% theorem head spec
However, I do not want the header indented. Instead, I would like the
rest of the lines to be indented (and if possible, indented on the
right side too...almost like the quotation environment).
Here is a related post from 1999 that had no response:
---begin post---
Hi guys,
can someone help me. I am using the following theorem style, but I
would
like the text (except of the first line) to be indented.
\newtheoremstyle{defn} {12pt} {} {} {} {\itshape} {:} {1em} {}
\theoremstyle{defn}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
I have tried
\newtheoremstyle{defn} {12pt} {} {} {\parindent} {\itshape} {:} {1em}
{}
but this does the other way around. It indents the first line but not
the
others.
I want it to look like this:
Definition 5: Bla bla this is the first line blabla
___This is the second line. It is intended.
___This is the third line.
I hope, I made myself clear :-)
T.
---end post---
~thanks
hanging indent? I'm using the following code currently:
\newtheoremstyle{mydefinition}%
{5pt}% space above
{5pt}% space below
{}% body font
{\parindent}% indent amount
{\bf}% theorem head font
{}% punctuation after theorem header
{\newline}% space after theorem header
{}% theorem head spec
However, I do not want the header indented. Instead, I would like the
rest of the lines to be indented (and if possible, indented on the
right side too...almost like the quotation environment).
Here is a related post from 1999 that had no response:
---begin post---
Hi guys,
can someone help me. I am using the following theorem style, but I
would
like the text (except of the first line) to be indented.
\newtheoremstyle{defn} {12pt} {} {} {} {\itshape} {:} {1em} {}
\theoremstyle{defn}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
I have tried
\newtheoremstyle{defn} {12pt} {} {} {\parindent} {\itshape} {:} {1em}
{}
but this does the other way around. It indents the first line but not
the
others.
I want it to look like this:
Definition 5: Bla bla this is the first line blabla
___This is the second line. It is intended.
___This is the third line.
I hope, I made myself clear :-)
T.
---end post---
~thanks