# Tag Info

7

Here is one possible solution. \documentclass[border=7pt]{standalone} \usepackage{tikz} \usetikzlibrary{shapes.geometric} \tikzset{ hexagone/.style={ draw, thick, fill=blue!7, shape=regular polygon, regular polygon sides=6, outer sep=0, inner sep=0, minimum size=1cm, label={[red]center:#1} } } \begin{document} ...

5

You could insert the instruction \titlelabel{\thetitle\ - } immediately after \appendix. If you want an en-dash instead of a simple dash, the instruction should be \titlelabel{\thetitle\ -- }

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

4

This should work: \setcounter{equation}{66} after \chapter{...} since \chapter usually resets the equation counter. \documentclass{book} \begin{document} \setcounter{chapter}{7} \chapter{foo} % chapter steps to 8 and resets equation to 1 \setcounter{equation}{66} $$E = mc^2$$ \end{document}

4

In general the labelling of the equations is based on their description rather than the order in which they appear. In a technical writing it is very common to add/delete the equations, figures, and tables. A general scheme followed in my lab is: Use fg for figure, tb for table, and eq for equations. For example, in your case you might want to use ...

4

The purpose of the \label–\ref mechanism is to free the user from the burden of renaming cross references as soon as some of the numbers change. Your projected scheme is completely equivalent to not adding any \label command and doing cross references just by the assigned number. Yes, you have the benefit of the \ref command, but your code would be ...

3


3

Use \parbox[t]. Don't use the explicit option to titlesec, you'll regret it, one day: it's much cleaner to define a separate macro than clobbering the last argument of \titleformat. \documentclass[a4paper,11pt]{article} \usepackage{titlesec} \titleformat{\section} {\fontsize{28}{24}\headingfont}%format ...

3

With an equation environment, you get only one, vertically centered equation number, no matter how many lines the split environment contains. Your \nonumber statements actually have no effect. You should, instead, use an align environment, along the following lines: \begin{align} a &= b \nonumber \\ &= c \nonumber \\ &= d \end{align} ...

3

With the following code : \documentclass[print]{nuthesis} % Require http://www.math.unl.edu/graduate/nuthesis/nuthesis.zip \begin{document} \chapter{Foreword} \section{First section} \begin{figure} \caption{First figure} \end{figure} \section{Second Section} \begin{figure} \caption{Second figure} \end{figure} ...

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.

3

The \inserttotalcontinuationcount can easily be calculated from the start and end of the frame: \documentclass[compress]{beamer} \usetheme{Warsaw} \newcounter{cont} \makeatletter %allowframebreaks numbering in the title \setbeamertemplate{frametitle continuation}{% \setcounter{cont}{\beamer@endpageofframe}% \addtocounter{cont}{1}% ...

3

Adjust secnumdepth and the subsection counter display \thesubsection at the appropriate locations: \documentclass[man]{apa6} \title{AAA} \shorttitle{AAA} % Remove \thesection from \thesubsection \renewcommand{\thesubsection}{\arabic{subsection}}% Default \thesection.\arabic{subsection} \begin{document} \section{A} \subsection{AA} AAA \subsection{AA} ...

2

\numberline has an argument which should be used with a pair of braces: {...}, otherwise \thetable will be expanded and from 10,.... \numberline sees the leading figure first, i.e. 1, but not the following ones (0,1,etc.) -- those will be treated as being part of the title: (the \foreach loop is only for demo purposes) \documentclass{article} ...

2

If an article - like documentclass is used, then redefinition of \thesubsection is basically sufficient, if this kind of numbering is requested. Each LaTeX counter has a predefined \the... command which defaults to use \arabic{...}, i.e. printing the counter value with arabic numbers. The structure commands use a somewhat recursive setup, referring to the ...

2

Footnotes in the title and author information are assigned symbols as a choice of the article class. The definition of \maketitle in the class redefines \footnotes to be \thanks (this is not really important), but also does \renewcommand\thefootnote{\@fnsymbol\c@footnote} and this is what you'd like to fix. In the code below I'll add only the necessary ...

2

If no preamble command should be used, it has to be done inside the document body, redefining \thesection and later recall the old definition to restore it to the 1.1.1 etc. style. Please note, that this leads to larger gaps in the ToC \documentclass{book} \begin{document} \tableofcontents \let\origthesection\thesection % Store the old definition ...

2

Here's an implementation using the enumitem to do some of the lifting with formating: In the code below, we have: \newlist{exercise}{enumerate}{5} \setlist[exercise]{label*=\arabic*.,ref=\arabic*,before={\subsection*{Exercises}}} This defines a list-like environment called exercise. The next bit, % copy \item into \ex \let\ex\item defines \ex as ...

1

you want only one equation number, so think of this as a single equation, and use the substructure aligned inside of that: \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} \begin{aligned} {\bf a} &= \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \, , &{\bf b} &= \begin{pmatrix} -\tfrac{\sqrt{2}}{3} \\ ...

1

\documentclass{beamer} \setbeamertemplate{frametitle}{\thesection.~\insertsection~\insertframetitle} \makeatletter \CheckCommand*\beamer@checkframetitle{\@ifnextchar\bgroup\beamer@inlineframetitle{}} \renewcommand*\beamer@checkframetitle{\global\let\beamer@frametitle\relax\@ifnextchar\bgroup\beamer@inlineframetitle{}} \makeatother \begin{document} ...

1

You could switch to the KOMA-classes and patch \addsec. This would also remove the need for the \addcontentsline. But imho the numbering is curious. It looks as if the typesetter made an error and forget a number. \documentclass{scrartcl} \usepackage{etoolbox} \pretocmd\addsec{\refstepcounter{section}}{}{} \begin{document} \tableofcontents \section{First ...

1

Don't load both sectsty and titlesec. The font commands for section titles must be defined in the preamble, not in the main body of the document. Also, a priori, text color is black, unless otherwise specified, so you don't need to mention it: \titleformat{\section} {\sffamily\bfseries} {\thesection.}{1em}{} ...

1

See More than one option within a frame. The solution is to put this in the preamble: \setbeamertemplate{frametitle continuation}{} and only use allowframebreaks but not noframenumbering.

1

One way to do this would be to patch \compound: the etoolbox package contains commands that allow one to prepend or append code to an already defined command. See this post for a good explanation of this. In order to get a comma-separated list, we'll patch the command to write its argument to a file whenever it is called: \usepackage{etoolbox} ...

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

1

Just use \counterwithin{definition}{section} \counterwithin{table}{section} as has been done with theorem already! \documentclass[10 pt,a4paper,oneside, notitlepage]{article} \usepackage{amsmath, amssymb, graphics} \usepackage{mathtools} \usepackage{amsthm} \usepackage{amsfonts} %\marginparwidth 0pt %\oddsidemargin 0pt %\evensidemargin 0pt ...

1

It's Example*i: \documentclass{article} \usepackage{enumitem} \usepackage{xcolor} \newlist{Example}{enumerate}{2}% \setlist[Example]{label={\arabic*.}} \newlist{Example*}{enumerate*}{2}% \setlist[Example*]{itemjoin={\hspace*{2.0em}}, label={\arabic*.}} \begin{document} \textbf{Vertical List} \begin{Example} \item First V item. \item Second V ...

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