asciidoctor / asciidoctor-mathematical

An extension for Asciidoctor that converts the content of STEM blocks and inline macros using Mathematical.
MIT License
49 stars 44 forks source link

Feature Request: Put equation number on the right instead of left #76

Open siddjain opened 4 years ago

siddjain commented 4 years ago

Per this thread: https://github.com/asciidoctor/asciidoctor/issues/3518

When asciidoctor-mathematical is used with asciidoctor-pdf to generate a PDF the equation number appears to the left. This is a request to add a flag that would allow the author to generate a PDF with equation numbers on the right which is the expected norm.

Perlkonig commented 4 years ago

I just ran a test with the asciidoctor docker (https://github.com/asciidoctor/docker-asciidoctor) and the equation number appeared on the right. It wasn't flush right, but it was to the right of the equation.

Source:

[latexmath]
++++
\begin{equation}
k_{n+1} = n^2 + k_n^2 - k_{n-1}
\end{equation}
++++

Result: image