itteerde
07-02-2005, 16:03
I need an environment for definitions with numbering per chapter, title and an optional argument for author (if existing definitions by known authors are used). The text should be formated as normal text because some definitions will be to long for the italic definitions style to be readable.
\newcounter{count_definition}
\newcounter{count_definition}
\newenvironment{definition}[1][1]{
\stepcounter{count_definition}
\textbf{\large{Definition \arabic{chapter}.\arabic{count_definition} #1}}
\textit{#2}
}{
}
is quite wrong (even without the optional argument it does not enlarge the title and does some quite unwanted formating [intending and something with the first character]), all hints welcome...
\newcounter{count_definition}
\newcounter{count_definition}
\newenvironment{definition}[1][1]{
\stepcounter{count_definition}
\textbf{\large{Definition \arabic{chapter}.\arabic{count_definition} #1}}
\textit{#2}
}{
}
is quite wrong (even without the optional argument it does not enlarge the title and does some quite unwanted formating [intending and something with the first character]), all hints welcome...