Home > package amsmath > package amsmath error tag not allowed here

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 for immediate help. ... l.7 \tag {Pythagoras' theorem} ? ! Emergency stop. ... l.7 \tag {Pythagoras' theorem} \tag cannot be used at this point. If you don't understand why you should consult the documentation. But don't worry: just continue, and I'll forget what happened. equations amsmath breqn share|improve this question asked Mar 16 '13 at 15:14 Raniere Silva 42329 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote accepted There's no \tag command available with breqn; you have rather to use the number= key; I've added other equation to show that the numbering is independent of it. \documentclass{article} \usepackage{amsmath} \usepackage{breqn} %%% This code is provisional, in case you update %%% to the last version of the expl3 bundle, waiting %%% for

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 Submitted on: Thu 31 Jul 2014 04:05:24 PM EEST Category:NonePriority:5 - Normal Severity:5 - NormalStatus:None Privacy:PublicAssigned to:None Open/Closed:Open Discussion Thu 31 Jul 2014 04:05:24 PM EEST, original submission:See attached file. When run with latex test.tex there are no errors and the output is as expected with a tag of * against the equation. When run with htlatex test.tex the package amsmath error following error occurs "! Package amsmath Error: \tag not allowed here. See the amsmath package documentation for explanation. Type H for immediate help. ... l.8 x=y\tag {*}" and no tag shows in the output. This is on Ubuntu 14.04 with up to date versions Bear Attached Files Attached Filesfile #178: test.tex added by coolbears (148B - text/x-tex) Dependencies Depends on the following items: None foundItems that depend on this one: None found

Mail Notification Carbon-Copy List Carbon-Copy List-unavailable- added by coolbears (Submitted the item) Votes Do you think this task is very important?If so, you can click here to add your encouragement to it.This task has 0 encouragements so far.Only logged-in users can vote.

Please enter the title of George Orwell's famous dystopian book (it's a date): History 1 latest change follows. Date Changed By Updated Field Previous Value => Replaced By Thu 31 Jul 2014 04:05:25 PM EESTcoolbearsAttached File-Added test.tex, #178 Show feedback again Copyright © 2005 – 2016 Sergey Poznyakoff Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. Powered by Savane 3.1-cleanup+gray

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)

 

Related content

package amsmath error

Package Amsmath Error table id toc tbody tr td div id toctitle Contents div ul li a href tag Latex a li li a href Mathit Allowed Only In Math Mode a li li a href Package Amsmath Error Erroneous Nesting Of Equation Structures Align a li ul td tr tbody table p here for a quick overview of relatedl the site Help Center Detailed answers to any package amsmath error multiple label s label questions you might have Meta Discuss the workings and policies of p h id tag Latex p this site About Us Learn more about Stack

package amsmath error latex

Package Amsmath Error Latex table id toc tbody tr td div id toctitle Contents div ul li a href Mathit Allowed Only In Math Mode a li li a href Align Latex a li li a href In Latex a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies relatedl of this site About Us Learn more about Stack Overflow the p h id Mathit Allowed Only In Math Mode p company Business Learn more about hiring developers

package amsmath error align

Package Amsmath Error Align table id toc tbody tr td div id toctitle Contents div ul li a href tag Latex a li li a href Align Equation Left Latex a li li a href Alignat Latex a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss relatedl the workings and policies of this site About Us Learn package amsmath error erroneous nesting of equation structures align more about Stack Overflow the company Business Learn more about hiring developers or posting package

package amsmath error extra or on this line

Package Amsmath Error Extra Or On This Line p 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 relatedl 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 Sign up Here's how it

package amsmath error multiple

Package Amsmath Error Multiple table id toc tbody tr td div id toctitle Contents div ul li a href Package Amsmath Error Multiple label s Label Will Be Lost a li li a href Label Multiple Equations Latex a li li a href Alignat Latex a li li a href Latex Subequations a li ul td tr tbody table p 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 relatedl this site About Us Learn more about Stack Overflow the company p h id