Package Amsmath Error Tag Not Allowed Here
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might tag latex have Meta Discuss the workings and policies of this site About package amsmath error erroneous nesting of equation structures align Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with
Latex Equation Align
us TeX - LaTeX Questions Tags Users Badges Unanswered Ask Question _ TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt,
Latex Label Equation
and related typesetting systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Tag placing with amsmath up vote 2 down vote favorite 1 I'm using amsmath and its \tag command to tag equations. I align latex remember having a situation where I liked having the tag on the left better than on the right. So I gave my class (which is report btw) the leqno options. Now, however, I find myself wanting to revert to reqno. However, I fear actually removing leqno will make the above mentioned situation look worse. I found that the solution in Switch between leqno and reqno options (of amsmath) in the same document does not work with equation: \documentclass{report} \usepackage[leqno]{amsmath} \makeatletter \newcommand{\leqnomode}{\tagsleft@true} \newcommand{\reqnomode}{\tagsleft@false} \makeatother \begin{document} \begin{align} f(x) &= ax^2 + bx + c \\ g(x) &= dx^2 + ex + f \end{align} \reqnomode \begin{align} f(x) &= ax^2 + bx + c \\ g(x) &= dx^2 + ex + f \tag{e} \end{align} \begin{equation} a^2+b^2=c^2.\tag{1} \end{equation} \leqnomode \begin{equation} -\Delta\phi=4\pi k\rho.\tag{2} \end{equation} \end{document} Output: The first equation should still be in \reqnomode (alias \tagsleft@false) from the second align, yet the tag is on the left. How do I solve the problem without using an align or such which are for multiline display and would therefore
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us TeX - LaTeX Questions Tags Users Badges Unanswered Ask Question _ TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute: http://tex.stackexchange.com/questions/212085/tag-placing-with-amsmath Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Naming equations with breqn up vote 4 down vote favorite I know that the tag command from amsmath should be used to name equations (see below a mwe). \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} c^2 &= a^2 + b^2 \tag{Pythagoras' theorem} http://tex.stackexchange.com/questions/102784/naming-equations-with-breqn \label{eq:pit} \end{align} \end{document} But if I like to use the breqn package the tag command won't work. \documentclass{article} \usepackage{amsmath} \usepackage{breqn} \begin{document} \begin{dmath} c^2 = a^2 + b^2 \tag{Pythagoras' theorem} \label{eq:pit} \end{dmath} \end{document} )) I get the below error when try to compile the mwe above. ! Package amsmath Error: \tag not allowed here. See the amsmath package documentation for explanation. Type H
Statistics Site Help User Docs: Cookbook User Docs: In Depth Guide Get Support Contact Us Related Forges Savannah GNA! Links The GNU Project GNU in Ukraine tex4ht - Bugs: https://puszcza.gnu.org.ua/bugs/?225 bug #225, Htlatex ignores \tag in equation Group Main Main View Members Search Homepage Source Code Use Subversion Browse Sources Repository Bugs Browse Reset to all open ones Submit Digest Export View Statistics Search News Browse Atom Feed Submit Manage Show feedback again You are not allowed to post comments on this tracker with your current authentification level.bug #225: Htlatex ignores \tag in equation package amsmath Submitted by: Bear
be down. Please try the request again. Your cache administrator is webmaster. Generated Sat, 22 Oct 2016 15:41:03 GMT by s_ac4 (squid/3.5.20)