Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to display a set of equations with roman numerals on the left side. The equations should be left aligned and the = should be aligned. Something like that:

I)   ae + bg = ae + cf \Leftrightarrow bg = cf
II)  af + bh = be + df
III) ce + dg = ag + ch
IV)  cf + dh = bg + dh \Leftrightarrow cf = bg

How do I generally write left-aligned equations with roman numerals? How do I make it with mathjax?

This is the best I came up with:

\begin{eqnarray*}
  I)   & ae + bg &= ae + cf &\Leftrightarrow bg = cf \\
  II)  & af + bh &= be + df\\
  III) & ce + dg &= ag + ch\\
  IV)  & cf + dh &= bg + dh &\Leftrightarrow cf = bg
\end{eqnarray*}

With this solution, the numeration is italic.

share|improve this question
1  
Whichever method you end up using to get equations numbered with left-aligned roman numerals, do not use the eqnarray environment; use align instead. For more information on why it's bad to use eqnarray, you may want to start with this posting: tex.stackexchange.com/a/197/5001. –  Mico Jul 13 '12 at 11:52

1 Answer 1

up vote 6 down vote accepted
\documentclass[leqno]{article}
\usepackage{amsmath}
\usepackage{enumitem}
\renewcommand{\theequation}{\roman{equation}}
\newcommand{\pp}[1]{\phantom{#1}}
\begin{document}
\section{Lipsum lupsum}
\begin{align}
ae + bg & = ae + cf \Leftrightarrow bg = cf \\
af + bh & = be + df \\
ce + dg & = ag + ch \\
cf + dh & = bg + dh \Leftrightarrow cf = bg
\end{align}

\begin{enumerate}[label=(\roman{*}),labelsep=2em]
\item  $ae + bg  =  ae + cf \Leftrightarrow bg = cf$ 
\item  $af + bh  =  be + df$ 
\item  $ce + dg  =  ag + ch$ 
\item  $cf + dh  =  bg + dh \Leftrightarrow cf = bg$
\end{enumerate}

\end{document}

Another way is to use \tag{i} .. and so forth on every line, but this is somewhat cumbersome. Alternatively look here

http://www.mathjax.org/docs/2.0/options/TeX.html#configure-tex

Include something like

MathJax.Hub.Config({
  TeX: {
    Macros: {
      TagSide: "left",
      equationNumbers: {formatNumber: function (n) {return \Roman{*}}}
    }
  }
});

in a tex section in your MathJax.Hub.Config() call.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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