Skip to content

Commit

Permalink
add latex notation text position specification
Browse files Browse the repository at this point in the history
  • Loading branch information
yagarea committed Mar 21, 2022
1 parent 0608ea2 commit f79d2a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ so I decided to respect this convention. It makes this plugin more consistent an

### LaTex math mode notation
**Inline formula**
Put formula between two escaped brackets `\(` `\)`.
Put formula between two escaped brackets `\(` `\)`. Its position in a text does not matter.
```latex
Lorem ipsum dolor sit amet, consectetur \(e^{i\theta}=\cos(\theta)+i\sin(\theta)\)
adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
```

**Display formula**
Put formula between two escaped square brackets `\[` `\]`.
Put formula between two escaped square brackets `\[` `\]`. Its position in a text does
not matter.
```latex
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua.
Expand Down

0 comments on commit f79d2a4

Please sign in to comment.