From e2f993843796f43c598f9aa8a13e3935850b74a4 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Tue, 31 Oct 2023 12:32:20 -0400 Subject: [PATCH] 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. --- .../reference_in_definition.org | 0 .../{footnotes => footnote}/simple.org | 0 org_test_documents/latex_fragment/notes.org | 36 +++++++++++++++++++ 3 files changed, 36 insertions(+) rename org_test_documents/{footnotes => footnote}/reference_in_definition.org (100%) rename org_test_documents/{footnotes => footnote}/simple.org (100%) create mode 100644 org_test_documents/latex_fragment/notes.org diff --git a/org_test_documents/footnotes/reference_in_definition.org b/org_test_documents/footnote/reference_in_definition.org similarity index 100% rename from org_test_documents/footnotes/reference_in_definition.org rename to org_test_documents/footnote/reference_in_definition.org diff --git a/org_test_documents/footnotes/simple.org b/org_test_documents/footnote/simple.org similarity index 100% rename from org_test_documents/footnotes/simple.org rename to org_test_documents/footnote/simple.org diff --git a/org_test_documents/latex_fragment/notes.org b/org_test_documents/latex_fragment/notes.org new file mode 100644 index 0000000..14934df --- /dev/null +++ b/org_test_documents/latex_fragment/notes.org @@ -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.