Tag Info

Hot answers tagged

5

I'd locally patch the \@thm command in the example environment. Of course you won't be able to state theorems correctly inside the environment, but I don't think you would. \documentclass{amsart} \usepackage{etoolbox} \usepackage{lipsum} \theoremstyle{definition} \newtheorem{innerexample}{Example} \makeatletter ...


4

Here is a solution based on changemargin environment Edit: This does not answer the question of displayed equations \documentclass{amsart} \newtheoremstyle{ugh} {3pt}% hSpace above {3pt}% hSpace below {}% hBody font {}% hIndent amount {\bfseries}% hTheorem head font {:}% hPunctuation after theorem head {.5em}% hSpace after theorem head {}% hTheorem head ...


4

One possibility is to omit the second \item. In your example, this seems the right option to me: \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize}[<+->] \item Next up a lemma. \begin{lemma}A lemma.\end{lemma} \end{itemize} \end{frame} \end{document} Alternatively, if you need the \item (e.g. for the \item ...


3

You're almost there: the environment should have an argument, but the inner theorem environment should be declared with \newtheorem*, with a “variable part” in the name that's set when the environment is opened. \documentclass[xcolor=x11names,compress]{beamer} \usepackage{xcolor} \usepackage{framed} \usepackage{amsthm} \usepackage[utf8]{inputenc} ...


2

I (sort of accidentally) discovered that simply using \item immediately after \begin{theorem} can achieve the desired effect. For example, try \begin{theorem}[Name of Theorem] \item This is a theorem with multiple parts. \begin{enumerate} \item stuff here. \item and here. \item and here, as well. \end{enumerate} \end{theorem} I haven't ...


2

This code compiles fine with MiKTeX: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \newtheorem{afnSpace}{Definition}[section] \newtheorem{frameDef}[afnSpace]{Definition} %Actually 5th definition \newtheorem{frameDef s1}{Definition}[afnSpace] \begin{document} \setcounter{section}{1} \section{Affine ...


1

Theorem-like environments should be defined, with the svjour3 class, by using \spnewtheorem and not \newtheorem. Here's how you should do: \documentclass[smallextended,referee,envcountsect]{svjour3} \usepackage{amsmath} \usepackage{bm} \smartqed \journalname{foo} % Theorem-like environments are defined with \spnewtheorem % % Usage: % % ...



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