0

I have searched the website about this but have found nothing similar. suppose that I have two equations a=b (1) and b=c (2). I would like to be able to put both of them in one line with two different references as: a = b, b = c (1, 2)

1 Answer 1

3

I'm prety sure, that your question is duplicate, but I can't found (my) answer on similar question ... So, meanwhile see, if this is what you looking for:

enter image description here

\documentclass{article}
\usepackage{mathtools}
\usepackage{tabularx}

\usepackage[active,tightpage]{preview}
    \setlength\PreviewBorder{3mm}

\begin{document}
\begin{preview}
\begin{tabularx}{\textwidth}{XX}
\begin{equation}\label{eq:1}
    a=b
\end{equation}
    &
\begin{equation}\label{eq:2}
    c=d
\end{equation}
\end{tabularx}\par
Considering \eqref{eq:1}, \eqref{eq:2} and (\ref{eq:1},\ref{eq:2}) \dots
\end{preview}
\end{document}

Use of preview is only to shof this equation fragment. In real use, remove all it appearance.

5
  • I have already seen this question but if you see my question I have mentioned two labels in one parenthesis as (1, 2).
    – KratosMath
    Jul 20, 2016 at 8:27
  • Than please correct title of your question and also make question clear. It seems that haven't problem with two equation in line but with referencing range of equations ... see edit of mine answer.
    – Zarko
    Jul 20, 2016 at 10:52
  • looks good to me
    – JPi
    Jul 20, 2016 at 12:10
  • what if I have to write and between the two equations?
    – Manjoy Das
    Apr 7, 2021 at 20:14
  • 1
    @ManjoyDas, if you have new question, please ask it as such. I guess that you like to insert third column where you like to write and.
    – Zarko
    Apr 7, 2021 at 20:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.