Tag Info

New answers tagged

4

Using just standard svjour commands and exploiting the fact that \spnewtheorem*{foo}{Foo}{}{} stores Foo as the expansion of \fooname: \documentclass[smallextended,envcountsame,envcountsect]{svjour3} \smartqed % flush right qed marks, e.g. at end of proof \spnewtheorem*{xproof}{}{\itshape}{\rmfamily}% the label is assigned later \newcommand\xprooftitle{} ...


3

In the example below I define a version that behaves like the proof environment from amsmath: without optional argument, the label used is "Proof"; in case an optional argument is used, its contents is used (without parentheses) as the label. \RequirePackage{fix-cm} \documentclass[smallextended,envcountsame,envcountsect]{svjour3} \smartqed % flush ...


1

Use the \lecture command for each one of your lectures (refer to the beamer manual, Section 10.4 Splitting a Course Into Lectures), and then add \renewcommand\thetheorem{\arabic{lecture}.\arabic{theorem}} \makeatletter \@addtoreset{theorem}{lecture} \makeatother to the preamble of your document. This will produce the desired result for theorems and the ...


3

A quick-and-easy way of obtaining this is to create a mock "duplicate" theorem environment which you never really use in its entirety. Instead, you adjust the counter representation to adopt that of a reference to the theorem you're after: \documentclass{article} \usepackage{amsthm} \newtheorem{thm}{Theorem}[section] \newtheorem{thmB}{Theorem}% Dummy ...


4

This problem isn't so easy to solve. the problem consist in this: hyperref only defines a name if you use \newtheorem{theorem}{<theorem name>} for using with \autoref. This name is Theorem in English (obviously changes if we use babel), it is stored in the macro \theoremautorefname and can be changed using \renewcommand{\theoremautorefname}{<new ...


4

You can redefine the theorem begin/numbered template: \documentclass{beamer} \makeatletter \expandafter\let\csname beamer@@tmpop@theorem begin@numbered\endcsname\relax \defbeamertemplate{theorem begin}{numbered} {% \begin{\inserttheoremblockenv} {% \inserttheoremname \inserttheoremnumber \ifx\inserttheoremaddition\@empty\else\ ...


4

This can be solved by using the final argument of \newtheoremstyle. It has an unusual format that is the content of a three argument command for printing the title heading. To get the name, number and optional title you make it be \thmname{#1}\thmnumber{ #2}\thmnote{ (#3)} which is essentially the standard definition \def\thmhead@plain#1#2#3{% ...


3

Make sure you put the headings as separate paragraphs, i.e., with a blank line between them in the source: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[german]{babel} \usepackage{amsthm} \newtheoremstyle{hypstyle}% name {\topsep}% Space above {\topsep}% Space below {\itshape}% Body font ...


2

Just add the following to your code \makeatletter \@addtoreset{theorem}{section} \makeatother and now the working version \documentclass[10pt]{article} \usepackage[russian]{babel} \usepackage[utf8]{inputenc} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \makeatletter \@addtoreset{theorem}{section} \makeatother \begin{document} \section{How to do ...


1

\newtheorem{theorem}{Theorem}[section] \newtheorem actually has three different syntaxes.


1

The svmono class has its own method for defining theorem-like environments: \spnewtheorem{<env>}{<label>}[<within>]{<label font>}{<body font>} or \spnewtheorem{<env>}[<counter>]{<label>}{<label font>}{<body font>} The former syntax corresponds to ...


6

Will this do? \documentclass{svmono} \newtheorem{thm}{Theorem} \newtheorem{lem}[thm]{Lemma} \newtheorem{cor}[thm]{Corollary} \begin{document} \chapter{Title} \section{Title} \begin{lem} Something \end{lem} \begin{thm} Something \end{thm} \begin{cor} Something \end{cor} \begin{thm} Something \end{thm} \end{document}



Top 50 recent answers are included