3

Is it possible to put a tag (and a corresponding label) for a part of an equation over a brace, and another tag for a different part of the same equation over another brace? Something like this:

The tag(label) numbering should continue the numbering of the equation counter, and should be referenced later in the text.

I'm sorry if this was already answered, but I haven't managed to find such a question.

Thanks in advance.

12
  • searching on this site will show you many similar questions ... and what you tray so far? \overbrace{q+b}^{(1)} is your friend. Welcome to TeX.SE!
    – Zarko
    Apr 14 '17 at 11:48
  • @Zarko I think OP wants the equation label (for \ref purposes, for example) to also be in the overbrace.
    – Troy
    Apr 14 '17 at 12:07
  • @Troy, maybe, but I didn't recognise this in her/his question. A MWE would be very helpful for clarify the question. to have two tags in one equation? this is not so simple. if this is the case, than OP should reformulate question and I should return deleted tags.
    – Zarko
    Apr 14 '17 at 12:12
  • 2
    @tex_newbee -- please add to your question the information that you would like these labels to (1) use the same counter as your other equation labels, and (2) be referenceable elsewhere in your document. if i had time to experiment (which i don't), i would try this: set a hyperref anchor for each, use \stepcounter with the usual equation counter, and \tagform to format it in a \[...\] or equatino* environment. i'd assume basing this on amsmath, and would have to dig into the amsmath code for details. Apr 14 '17 at 16:47