Add notes about latex fragments.

The places they are currently occurring in my posts are unintentional, so I don't think I will be implementing latex fragments right now, but the notes are worth keeping.
This commit is contained in:
Tom Alexander 2023-10-31 12:32:20 -04:00
parent ada11816fb
commit e2f9938437
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
* Double dollar
#+begin_src org
$$CONTENTS$$
#+end_src
becomes
#+begin_src text
\[CONTENTS\]
#+end_src
#+begin_src org
$$1+1=2$$
#+end_src
#+begin_src text
\[1+1=2\]
#+end_src
This gets interpreted by mathjax.
* Single Dollar
#+begin_src org
PRE$BORDER1 BODY BORDER2$POST
#+end_src
becomes
#+begin_src text
\(BORDER1 BODY BORDER2\)
#+end_src
#+begin_src org
foo$a bar b$.
#+end_src
becomes
#+begin_src text
foo\(a bar b\).
#+end_src
This gets interpreted by mathjax.