Skip to content

Commit

Permalink
removing $\LaTeX$ does not compile on my machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Nov 2, 2024
1 parent fb4ee7f commit 8ba1860
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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&parameter2=value2&parameter3=value3!}`. What the extension does will typically depend on the visitor ($\LaTeX$ generation, Text generation, HTML generation etc)
`{!extensionName|parameter1=value1&parameter2=value2&parameter3=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
Expand All @@ -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 `<!tag|key1=value1&key2=value2!>`

The most common use is the inputFile one: `<!inputFile|path=uri!>` inserts the contents of the microdown document at uri at this place.
Expand Down

0 comments on commit 8ba1860

Please sign in to comment.