tag:support.fletcherpenney.net,2013-02-12:/discussions/questions/15-equation-labels-and-references-in-mmdMultiMarkdown: Discussion 2013-06-13T20:05:51Ztag:support.fletcherpenney.net,2013-02-12:Comment/273090282013-06-13T17:45:45Z2013-06-13T17:45:48Zequation labels and references in mmd?<div><p>I am quite proficient at LaTeX as I write math papers for a
living! But, I am teaching myself (multi-)markdown and would like
to know how to produce labeled equations and then reference the
labels in a multimarkdown document (which I then convert to a latex
document and compile via pdflatex). For example, how do I produce
the following latex snippet:</p>
<p>\begin{equation} \sin(x) = 1. \label{eq:eqn1} \end{equation}</p>
<p>We see in Equation \ref{eq:eqn1} that ...</p>
<p>Thanks,<br>
ACG</p></div>ACGtag:support.fletcherpenney.net,2013-02-12:Comment/273090282013-06-13T18:47:56Z2013-06-13T18:47:57Zequation labels and references in mmd?<div><p>I did find the following worked but I wondered if there was a
more elegant solution:</p>
<hr>
<p>Here's how to do equation references (which is a big deal to me
in latex!). Here is the reference . There doesn't seem to be an
automagic way of doing this except just commenting it out.<br>
<!-- \begin{equation}<br>
\sin(x) = 1. \label{eq:eqn1}</p>
<h2><a name="-end-equation-gt-" class="anchor" href=
"#-end-equation-gt-"></a>\end{equation} --></h2>
<p>Thanks,<br>
ACG</p></div>ACGtag:support.fletcherpenney.net,2013-02-12:Comment/273090282013-06-13T20:05:50Z2013-06-13T20:05:50Zequation labels and references in mmd?<div><p>MMD 2 used ASCIIMathML to handle math, and then converted to
LaTeX when appropriate. This syntax allowed me more control, and
included a method to add labels to LaTeX equations.</p>
<p>MMD 3/4 use straight LaTeX. So you use the standard LaTeX
approaches to add labels, however you prefer.</p>
<p>Your approach to referencing those equations above is correct
(<code>[](#eq:eqn1)</code>).</p>
<p>Thanks for your question, and thanks for answering it for
others!</p>
<p>F-</p></div>fletcher