How to achieve subequation numbering a,b,etc like https://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics#Subordinate_equation_numbering in org-mode
. I tried using the LaTeX snippet as it is and surrounding it with
#+BEGIN_SRC latex
#+END_SRC
No success.
Edit:
org-version 9.2
org-latex-default-packages-alist
Value:
(("AUTO" "inputenc" t
("pdflatex"))
("T1" "fontenc" t
("pdflatex"))
(#1="" "graphicx" t)
(#1# "grffile" t)
(#1# "longtable" nil)
(#1# "wrapfig" nil)
(#1# "rotating" nil)
("normalem" "ulem" t)
(#1# "amsmath" t)
(#1# "textcomp" t)
(#1# "amssymb" t)
(#1# "capt-of" nil)
(#1# "hyperref" nil))
org-version: 9.2 OS: Linux/NixOs
By default the variable org-latex-default-packages-alist
has amsmath
. I used just the code provided by @Ian. This is the result for HTML export. https://i.stack.imgur.com/Q0FTF.jpg that I get. PDF export gives the correct result with error mentioned by @NickD.
I found some more resources on amsmath http://ctan.imsc.res.in/info/short-math-guide/. Is it possible to get the correct export in HTML.