Tag Info

New answers tagged

2

The individual rules can be set with leftrule=0pt, rightrule=0pt, etc. in the option argument of the \newtcbtheorem definition \documentclass[]{report} \usepackage{tcolorbox} \tcbuselibrary{theorems} \tcbuselibrary{skins} \newtcbtheorem[number within=chapter]{thm}{Theorem} {theorem style=change apart,enhanced,arc=0mm,outer arc=0mm, ...


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={}{}, ...


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 ...


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}% ...


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} ...


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 ...


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 ...



Top 50 recent answers are included