# Tag Info

3

I suggest you do the following: In the preamble, issue the intstruction \let\origthesubsection\thesubsection This instruction "saves" the default format of the subsection counter's representation Just before the start of subsection 2.3A, issue the following instructions: \renewcommand\thesubsection{\origthesubsection A} \addtocounter{subsection}{-1} ...

3

You got an error with \newcounter{example}[section*] because section* is not a counter in LaTeX. section is, but not section*. First method: patching \@startsection You can patch \@startsection so that when \section* is called (which is a sectioning command of level 1) and only in this case, your example counter is reset to 0. The following works because \@...

3

\thepage is the print form so i for roman which is not odd, use \value{page} which is the underlying number in the count register.

2

You can use the optional argument of \item: \documentclass{article} \begin{document} \begin{enumerate} \item[8.2] Let $F = 492 N, x = 33, y = 42$\\ Since we know the magnitude... \item[8.12] ... \item[8.15] ... \end{enumerate} \end{document}

2

To refer to something using the \label/\ref mechanism it must have a number. For your case you could use the subequations environment from amsmath. All numbered equations in such an environment will be numbered 1a, 1b, etc, instead of 1, 2, etc. Cross references can be made to either the set of equations, or to a subequation. \documentclass{article} \...

2

Something like this should do the job: \documentclass{article} \newcounter{comment} \newcommand\comment{\par\medskip \refstepcounter{comment} \noindent COMMENT \thecomment:\enspace\ignorespaces} \begin{document} \comment\label{firstcomment} (some text) (some more text, unrelated to COMMENT \ref{firstcomment}; this further piece of text may include ...

1

Without an MWE in the question (document class, TOC related packages etc) it can be only a guess. You could use package tocloft and add \cftpagenumbersoff{chapter} to the TOC. Example: \documentclass{report} \usepackage{blindtext}% only for dummy text \usepackage{tocloft} \begin{document} \tableofcontents \blinddocument \cleardoublepage \setcounter{...

1

If you want enumeration throughout the document you can use package linguex. \documentclass{article} \usepackage{linguex} \usepackage{lipsum} \begin{document} \lipsum \ex. SOME TEXT AS RULE NO. 1 \lipsum \ex. SOME TEXT AS RULE NO. 2 \lipsum \ex. SOME TEXT AS RULE NO. 3 \lipsum \ex. SOME TEXT AS RULE NO. 4 \end{document} Don't forget to leave a blank ...

1

I'm not sure if this is what you want, but since you're not really glossing examples word by word, you can group sets of words together with {...} and this will line them up without needing to use tabular. The gb4e macros allow up to 3 aligned lines out of the box: \gll gives you two lines; \glll gives you three lines. You should not try to line up the \glt ...

1

This answer is due to @user121799; that user is retiring from the site and no longer providing full answers, so I am "rescuing" their correct answer. To add leading zeros to an equation number so that all equation numbers are the same length, redefine \theequation as follows: \renewcommand{\theequation{% \arabic{section}.% \ifnum\value{equation}<10 ...

1

The problem is due to the rather convoluted code used to produce the number. If we simplify that code, then the \label commands will work as you would expect them to do. Instead of incrementing the counter inside the \sectionstyle macro, we prepend it to the \section command. This allows the label to be accessed properly whether the \label command is inside ...

1

Another solution which is non-automatic, but a handy solution is using the enumitem package. Only itemize each paragraph in the description block: \documentclass{article} \usepackage{lipsum} % for dummy text \usepackage{enumitem} \begin{document} \section{First section} \begin{description}[style=unboxed,leftmargin=0.7cm] \item[$\textbf{1.1}$]\lipsum[1]\...

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