# Tag Info

8


7

You can declare an un-numbered claim by \newtheorem*{claim*}{Claim} The starred version produces no number. When you don't want numbering use \begin{claim*} Some claim with no number \end{claim*} MWE: \documentclass{article} \usepackage{amsthm} \newtheorem{claim}{Claim} \newtheorem*{claim*}{Claim} \begin{document} \begin{claim} Some ...

7

This is fixed in the next release of LaTeX (the above was generated with the pre-release code), but meanwhile you can use the code in the reply to the latex bug report at http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=amslatex/4393 \makeatletter \def\@stpelt#1{\global\csname c@#1\endcsname \m@ne\stepcounter{#1}} \makeatother

6

You want a different way to use \titleformat. The third mandatory argument to \titleformat specifies what's used for numbered chapters, while the final argument specifies the title proper; in this case nothing apart printing the title should be done. \documentclass[a4paper,12pt,twoside]{report} \usepackage{titlesec} ...

6


6

LaTeX supports this cross-referencing mechanism out-of-the-box. Fundamentally you should use $$<your equation here> \label{<label>}$$ for single-line equations, and amsmath's align-style environment for multi-line equations (you can also use it for single-line equations). For example, \begin{align} <eqn 1 ...

6

cases provides subnumcases (also numcases, see documentation for details) for this. \documentclass{article} \usepackage{amsmath} \usepackage{cases} \begin{document} \begin{subnumcases}{A \Rightarrow} B_1, & or\\ B_2 & \end{subnumcases} \end{document}

6

empheq provides the bracing, while subequations (from amsmath) provides the proper numbering: \documentclass{article} \usepackage{amsmath,empheq} \begin{document} \begin{subequations} \begin{empheq}[left=A\Rightarrow\empheqlbrace]{align} & B_1, \text{ or} \\ & B_2 \end{empheq} \end{subequations} \end{document}

5

Since trees in linguistics papers are treated as linguistic examples, it's typically not helpful to have them numbered independently of the system you use for numbering your example sentences. So the first place to begin should be with some of the various numbering systems for example numbering: Numbered examples in linguistics that I can refer back to ...

5

The right counter is algocf and not algorithm. Also you have to use \resetcounteronoverlays instead of \resetcountonoverlays since algocf is defined as \newcounter{algocf} In other words, adding the following line in your preamble \resetcounteronoverlays{algocf} solves the issue. MWE: \documentclass{beamer} ...

4

A series of solutions, with comments that may be left- or right-aligned. For the latter case, flalign would be ideal, except there exists, as far as I know, no flaligned environment, which would allow for one number for a group of equations. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[showframe]{geometry} \usepackage[leqno]{mathtools} ...

4


4

Define a special form of theorem and use a new environment with an argument for setting the tag by redefining the \the... command. \documentclass{article} \usepackage{amsmath,amsthm} \usepackage{hyperref} % not mandatory, just to show it works also with it \newtheorem{theorem}{Theorem} \newtheorem{taggedtheoremx}{Theorem} \newenvironment{taggedtheorem}[1] ...

4

You need to number subsections within sections and theorems within sections, to achieve what you want. \numberwithin{subsection}{section} \numberwithin{theorem}{subsection} Also, you need to declare \setbeamertemplate{theorems}[numbered] otherwise they are not numbered at all. MWE: \documentclass{beamer} \setbeamertemplate{theorems}[numbered] ...

4

The memoir class already provides the mechanism for this: \documentclass{memoir} \newtheorem{theorem}{Theorem}[section] \counterwithin*{theorem}{chapter} \begin{document} \chapter{One} \section{A} \begin{theorem} OneA \end{theorem} \chapter{Two} \begin{theorem} Two \end{theorem} \section{B} \begin{theorem} TwoB \end{theorem} \end{document} The command ...

3

You can load the etoolbox package and reset the theorem counter at the beginning of each chapter. \usepackage{etoolbox} \pretocmd{\chapter}{\setcounter{theorem}{0}}{}{} MWE \documentclass{memoir} \newtheorem{theorem}{Theorem}[section] \usepackage{etoolbox} \pretocmd{\chapter}{\setcounter{theorem}{0}}{}{} \begin{document} \chapter{One} \section{A} ...

3

You could load the chngcntr package and insert the instruction \counterwithout{equation}{section} in the preamble.

3


3

No new counters are needed, just a bit of calculation. Beamer stores the page numbers where a section starts and ends in macros \insertsectionstartpage and \insertsectionendpage. Thus the number of pages in a section can be calculated by \insertsectionendpage-\insertsectionstartpage+1 The page number within a section is ...

3

Quick (and dirty!) \documentclass{book} \let\latexthechapter\thechapter % Helper counter \newcounter{alphachapter} \setcounter{alphachapter}{0} \makeatletter \newcommand{\DoReallyBadThingsToChapterCounter}{% \setcounter{alphachapter}{0}% \stepcounter{chapter}% % Store chapter command \let\latexc@chapter\c@chapter% % Force chapter command to be help ...

3

3

You can locally or globally redefine the subcaption setup. Here's the “local” version that will affect only one figure environment. \documentclass{memoir}% http://ctan.org/pkg/memoir \usepackage{graphicx}% http://ctan.org/pkg/graphicx \newsubfloat{figure}% Allow subfloats in figure environment \begin{document} \begin{figure} \centering ...

3

Insert the frame number as part of the frame title using \insertframenumber: \documentclass{beamer} \begin{document} \begin{frame} \frametitle{VRAAG \insertframenumber} Dubbelbolle lenzen zijn: \begin{enumerate}[A.] \item Concave lenzen \item<alert@2> Convexe lenzen \item Concorde lenzen \end{enumerate} \end{frame} ...

3

You need a counter for your questions: \newcounter{vraag} and a command to create the frame title automatically and including the counter \newcommand\VraagTitle{% \frametitle{\refstepcounter{vraag}\MakeUppercase{vraag}~\thevraag}} and you need to prevent the counter from stepping from one slide to another inside a single frame ...

2

You need to also adjust the H-style counter associated with thm: \documentclass{article} \usepackage{hyperref} \makeatletter \newenvironment{subtheorem}[1]{% \def\subtheoremcounter{#1}% \refstepcounter{#1}% \protected@edef\theparentnumber{\csname the#1\endcsname}% \setcounter{parentnumber}{\value{#1}}% \setcounter{#1}{0}% ...

2

unsrt numbers citations in the order they appear in the document. The 2 in the \cite{} command and in the .bib file is just the "key" that's used to refer to the entry; it has nothing to do with the numbering of the citations. I don't see how it could simplify the citations: the whole point of BibTeX is to make it so you don't have to worry about any of ...

2

The command you cannot redefine is only provided by KOMA-classes. For the standard classes, package captioncomes in handy. You can define the labelformat for just figures, if you want to. Tables will stay the same. \documentclass[10pt,letterpaper]{article} \usepackage{caption} \DeclareCaptionLabelFormat{figure}{\thefigure.\nobreakspace\figurename} ...

2

No comments! \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{bm} \begin{document} \begin{align} \begin{aligned} \frac{\partial \bm{\mathcal{D}}}{\partial t} &= \bm{\nabla} \times \bm{\mathcal{H}} &\qquad &\text{Loi de Faraday}\\[2\jot] \frac{\partial \bm{\mathcal{B}}}{\partial t} &= ...

2

The simplest way to do this, that also happens to effect your choice of section numbering, is to add the section counter to those that are reset by \part. hyperref then automatically takes this into account when creating its anchors and links. The basic command to this is \@addtoreset{section}{part} As this command contains the @ character in its ...

2

First of all, you can change the page counter at any point to the number you want like this: \setcounter{page}{3} % Set the page counter to 3 following pages will continue from there. As to starting the numbers from chapter 1, a good practice is to have alphabetical or roman numbering for things before the main text (also called frontmatter; such as ...

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