From 8ba186049beb49172138623fae603b04284d9e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phaneDucasse?= Date: Sat, 2 Nov 2024 21:53:58 +0100 Subject: [PATCH] removing $\LaTeX$ does not compile on my machine. --- doc/syntax.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/syntax.md b/doc/syntax.md index 18d9718c..e6af4eec 100644 --- a/doc/syntax.md +++ b/doc/syntax.md @@ -46,7 +46,7 @@ For example we refer to Figure *@aFigAnchor@*. #### Equations Using the same mechanism you can define an anchor of an equation. -If the $LaTeX$ style supports caption for equations (this is not the default in $LaTeX$), you can also define caption using the parameters (i.e., `&caption=A caption.`). +If the LaTeX style supports caption for equations (this is not the default in LaTeX), you can also define caption using the parameters (i.e., `&caption=A caption.`). ``` $$ %anchor=frac @@ -58,7 +58,7 @@ $$ Microdown supports both inline math using `$` and equation `$$` -`$x^2$` - inline `$\LaTeX$` is done using `$x^2$` (and `$LaTeX$`). +`$x^2$` - inline LaTeX is done using `$x^2$`. ``` $$ %anchor=frac @@ -263,7 +263,7 @@ Leaving out the second line merely produces a table without header highlighting. ### Microdown inline extensions There is potentially an endless number of extensions one would like to add to Microdown. Rather than keep inventing new syntax, the generic syntax for inline syntax is: -`{!extensionName|parameter1=value1¶meter2=value2¶meter3=value3!}`. What the extension does will typically depend on the visitor ($\LaTeX$ generation, Text generation, HTML generation etc) +`{!extensionName|parameter1=value1¶meter2=value2¶meter3=value3!}`. What the extension does will typically depend on the visitor (LaTeX generation, Text generation, HTML generation etc) Some extensions are already defined in the Microdown library: - **footnote|note=some note which goes to the foot** - adds a footnote the the generated document @@ -275,7 +275,7 @@ So `{!citation|ref=Duca99a}` can be expressed as `{!citation|Duca99a}`. ### Microdown paragraph extensions Microdown offers a generic way to create new bloc-level elements. These can also be nested -and are close to $\LaTeX$ environments. +and are close to LaTeX environments. There are defined using `` The most common use is the inputFile one: `` inserts the contents of the microdown document at uri at this place.