Tag Info

Hot answers tagged

5

Help \autoref by telling it what kind of reference it's defined. A new counter is needed so that \autoref will use it for its purpose; next a name for it is needed; then the counter is refstepped when the optional argument is found and the label is set to the name in parentheses. \documentclass{article} \usepackage{amsthm} \usepackage{xparse} ...


5

Open the boiboites.sty style file and simply edit line (57): (##1)}\textbf{.}} to be like this: (##1)}\textbf{}} without the dot between the curly brackets. This should solve your question and you get the following: Well, after reading other solutions, I think it is a better idea not to modify the .sty file since an update will affect your .tex file. ...


4

Use t (top alignment) for the optional argument of tabularx: \documentclass[12pt]{report} \usepackage{amsmath, amssymb, amsthm} \usepackage{tikz} \usetikzlibrary{shadows} \newcommand*\squared[1]{\tikz[baseline=(char.base)]{\node[shape=rectangle, draw, inner color = white, drop shadow = {opaque, black}, inner sep=3pt, text justified] (char) {#1};}} ...


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


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


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


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


3

Look's like egreg beat me to it, but here is a similar, marginally simpler, solution: \documentclass{amsart} \textwidth=20cm\parindent=0pt \usepackage{amsthm} \usepackage[colorlinks]{hyperref} \newtheorem*{definition}{Definition} \makeatletter \newenvironment{Definition}[1][\relax]% {\ifx\relax#1\definition\def\@currentlabel{Definition}% ...


2

This is the recommendation given in the AMS author FAQ: \begin{theorem} \hangindent\leftmargini \textup{(1)}\hskip\labelsep First item. \begin{enumerate} \setcounter{enumi}{1} \item ... If the environment is itemize rather than enumerate, replace the first line by $\bullet$\hskip\labelsep First item. If the first item has multiple paragraphs, simulate ...


2

As suggested by @Andrew, it's much simpler to define a claim environment as a special description environment, with the enumitem package. Here is a way to go. Actually I also define a claims environment, for a series of such ‘claims’. It has a counter, and so can be referenced intelligently through the cleveref package. I reset this counter per section, ...


1

Here is a workaround that seems to work. Simply replace \usepackage{amsthm} with \usepackage[amsthm]{ntheorem}. This avoids the extra linebreak.


1

You have to redefine the \thmtformatoptarg command. Because the thmtools kept ignoring my redefinitions, I copied the thm-listof.sty file to the current directory. I changed \providecommand\thmtformatoptarg[1]{ (#1)} into \providecommand\thmtformatoptarg[1]{#1} to remove the parentheses around the theorem's name. If you additionally want to remove ...


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



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