# Tag Info

2

\newtheorem{prop}{Proposition} in your preamble, then \begin{prop} Blah blah \end{prop} in the body of the document.

2

Could you accept changing to tcolorbox? \documentclass[12pt,twoside,notitlepage,reqno]{amsbook}% \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{xcolor} \usepackage{thmtools} \usepackage[most]{tcolorbox} \usepackage{lipsum}% just to generate text for the example \definecolor{greyframe}{gray}{0.85} ...

1

I don't think it is bug, but, let's say a surprising feature (I would not think that topline=false, etc. have an impact on rounded corners). You should overwrite explicitly the attributes topline=false, rightline=false, etc. \documentclass{article} \usepackage{xcolor} \usepackage[framemethod=tikz, needspace=1.5cm]{mdframed} \newmdenv[% linecolor = red, ...

3

Why don't you simply go for something like that? \documentclass{article} \usepackage{amsthm} \theoremstyle{plain} \newtheorem{theo}{Theorem}% Regular theorem env. \begin{document} \begin{theo}[List in the Theorem environment]~ %%% <- Note that space! \begin{enumerate} \item A little bit of text. \item A little bit of text. \end{enumerate} \end{theo} ...

1

Using @SunilkumarKS's response I managed to do that by locating the definition in the original sty file (thp.sty) I just add this, which is a copy of the contents of the sty file, only without the parentheses around ##3. \makeatletter \gdef\th@plain{\normalfont\itshape \def\@begintheorem##1##2{% \item[\hskip\labelsep \theorem@headerfont ##1\ ...

1

As @Andrew suggested, this can be done by turning numbering off and customizing the environments as in the link he posted. But the particular solution for the desired effect here is: \documentclass[notheorems]{beamer} \usepackage[english]{babel} \setbeamertemplate{theorem}[ams style] \setbeamertemplate{theorems}[numbered] \makeatletter ...

4

Here's an option using the powerful and flexible tcolorbox package. The important part is \newtcbtheorem[number within=chapter]{dfn}{Definition}% {colback=shadethmcolor,colframe=black,fonttitle=\bfseries}{nitzke} which, referring to Section 14 of the manual, defines a dfn theorem-like environment, with syntax: \newtcbtheorem[init options]{name}{display ...

2

Normally \label is set by the last \refstepcounter, but since the hypertarget part isn't working, it doesn't really matter. \documentclass[slidescentered]{beamer} \usepackage{amsthm,thmtools,xparse,lipsum,hyperref} \makeatletter \protected\def\thistheoremname{} \declaretheoremstyle[ spaceabove=\topsep, spacebelow=\topsep, headfont=\normalfont\bfseries, ...

2

This will reset the theorem number each time a new 'day' (actually section) has started. \documentclass{article} \usepackage{amsmath} \usepackage{chngcntr} \newtheorem{theorem}{Theorem} \counterwithin*{theorem}{section} % Remove the day number in front of the theorem number. \begin{document} \section{First Day} \begin{theorem} This is ...

3

The Claim environment forms part of a "Theorems" module. It can be numbered in a variety of ways. Most likely you have it set to be "Numbered by Chapter" (or perhaps "Numbered by Section"): Delete that selection, which will remove the subordinate numbering.

2

Either you specify some (explanatory) text after \begin{ex} or add the ~ character after \begin{ex}. The 'problem' is due to the definition of ex and \newtheorem and not related to the answers package at all. \documentclass{memoir} \usepackage{answers} \Newassociation{sol}{Solution}{ans} \renewcommand{\Solutionlabel}[1]{\small{#1.}} ...

4

The thm counter is a counter that should be reset within subtheorem when parentnumber is changed, but outside it's subject to a possible other resetting counter. Using chngcntr package and its \counterwithin* and \counterwithout* commands it's possible to set the thm counter on reset list of parentnumber and remove it at the end of the environment. (The ...

Top 50 recent answers are included