# Tag Info

13

Here is a solution (it doesn't use, but I hope it will be compatible with enumitem) Note: I don't understand what the OP want to do with display math Limitation: blank lines not supported (this code will not work) \begin{mathitem} \item E=mc^2 \item e^{i\pi}+1=0 \item \text{ducks} + \text{caffeine} = \text{\url{http://i.stack.imgur.com/GVksc.gif}} ...

8

Know this: I do not know what I am doing... Caveat emptor... This uses the bm package to manage bold fonts for Times and the varbm package to manage bold fonts for Garamond. varbm.sty is just like bm.sty except that it works with the varbold maths version rather than the bold version. It does not, however, include anything corresponding to the support for ...

6

\if@display is a single token, not \if @display it is defined and documented as follows in amsmath: % The straightforward \cs{ifinner} test to see if the current math % context is non-display, fails if, for instance, we are typesetting % a multiline display within an \cs{halign}, with the pieces going % into constructions like % ...

6

(Answer modified to (i) add a "MathDescription" environment and (ii) demonstrate compatibility with the enumitem package.) Here's a LuaLaTeX-based solution. It defines three new environments called MathItemize, MathEnumerate, and MathDescription. The environments work just like the "ordinary" itemize, enumerate, and description environments, except that all ...

5

Quick and dirty: \documentclass{article} \makeatletter \newif\if@mathitemize \newif\if@closemathitem \let\orig@item=\item \renewcommand{\item}{\if@closemathitem$\fi\orig@item\if@mathitemize\@closemathitemtrue$\fi} \newenvironment{mathitemize}{\@mathitemizetrue\itemize\@closemathitemfalse}{\$\enditemize} \makeatother \begin{document} \begin{itemize} \item ...

5


3


3


2

This is probably a `feature' of the problematic equation environment (see various posts on this site). It disappears in the following example. \documentclass{minimal} \usepackage{mathtools} \mathtoolsset{showonlyrefs} \begin{document} \begin{gather} \label{eq} a=b \end{gather} This is an equation %\refeq{eq} \end{document}

1

use align instead of equation \begin{align}\label{eq} a &= b \end{align} This is an equation \refeq{eq}

1

The autonum package seems to be better at it: \documentclass{article} \usepackage{amsmath} \usepackage{autonum} \usepackage{lipsum} % for mock text \begin{document} \lipsum*[2] $$\label{eq1} a=b$$ This is an equation \eqref{eq1}. \lipsum*[2] $$\label{eq2} a=b$$ \lipsum[2] \end{document}

1

The curly braces are needed for arguments longer than 1 character, e.g. \frac{10}{17}. If you write \frac1017, this will be interpreted as \frac{1}{0}17.

1

The problem is not with the forest package itself, but rather lies the decision tree style (which can be, admittedly, found in the manual), which gets two oppurtunities to expand \nicefrac or \underset. edge label is used with the .expanded handler, in order to expand \forestoption{elo}. Solution: protect the content of the edge node, #3, by \unexpanded. ...

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