Tag Info

Hot answers tagged

6

\normalfont sets \mdseries. Use \normalfont\bfseries\roman*.. Note that these switches do not take arguments. \begin{enumerate}[label={\roman*.}, font=\normalfont\bfseries] \item \end{enumerate}


3

As mentioned in the comment you can simply use this: \newtheoremstyle{theorem} {1.5em} % Space above {} % Space below {\itshape} % Body font {} % Indent amount % Indent amount: empty = no indent; \parindent = normal paragraph indent {\bfseries\itshape} % Theorem head font {} % Punctuation after theorem head {1em} % Space after theorem head % Space after ...


3

Within \declaretheoremstyle you refer to the parameters #1, #2 and #3 used in \newtheoremstyle as \NAME, \NUMBER and \NOTE. However, \NOTE already receives a formatting, so we need to remove it. \documentclass{article} \usepackage{showframe} \usepackage{amsthm} \usepackage{thmtools} \makeatletter \declaretheoremstyle[ notebraces={}{}, ...


2

The theorem title is set at the start of the next paragraph via \everypar. Therefore, there should be a paragraph before the itemize environment. This can be achieved with \mbox{} or \leavevmode: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{amsthm} \newtheorem{rem}{Remark} \begin{document} ...


2

A modification of http://tex.stackexchange.com/a/106582/4427 \documentclass[a4paper]{scrartcl} \usepackage{amsthm,thmtools} \usepackage{etoolbox} \usepackage{lipsum} \usepackage{showframe} \makeatletter \patchcmd\@thm {\trivlist} {\list{}{\theoremmargins}} {}{} \newcommand{\xdeclaretheorem}[2][]{% \declaretheorem[#1]{#2}% ...


1

It is quite straightforward to do it with ntheorem; there a predefined length \theoremindent: \documentclass[11pt]{report} \usepackage[bottom=2cm, top=2cm, left=3cm, right=2cm]{geometry} \usepackage{amsmath} \usepackage{lipsum} \usepackage[thmmarks, amsmath, thref]{ntheorem} \theoremstyle{plain} \theoremseparator{.} \theoremindent1\parindent ...


1

Redefine \thethm to not add the section number if it's 0. \documentclass[oneside, openany,12pt]{book} \usepackage{amsthm} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \theoremstyle{definition} \newtheorem{defn}[thm]{Definition} \renewcommand{\thethm}{% \ifnum\value{section}=0 \thechapter.% \else \thesection.% \fi \arabic{thm}% ...


1

There's no need to define a new counter: \documentclass[12pt]{report} \newtheorem{lem}{Lemma}[section] \newtheorem{eg}[lem]{Example} \newtheorem{pro}[lem]{Proof} \begin{document} \chapter{abc} \section{xyz} \begin{lem} asdf \end{lem} \begin{eg} fdsa \end{eg} \begin{pro} sdaf \end{pro} \end{document} The first \newtheorem sets up a new counter ...



Only top voted, non community-wiki answers of a minimum length are eligible