Skip to content

Commit 51433c6

Browse files
committed
examples subdirectory
1 parent 6d7bd83 commit 51433c6

8 files changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Annotated example of how to make annotated equations in LaTeX using TikZ.
1+
# Annotate equations in LaTeX using TikZ
22

33
## A package with reusable commands
44

5-
![output of annotated equation](example_annotation_package.png)
5+
![output of annotated equation](examples/example_annotation_package.png)
66

77
Using [`annotate_equations.sty`](https://github.com/st--/annotate_equations/blob/main/annotate_equations.sty), an equation can easily be annotated as follows:
88
```latex
@@ -37,13 +37,13 @@ Using [`annotate_equations.sty`](https://github.com/st--/annotate_equations/blob
3737
More details are in the [user manual](usermanual.pdf).
3838
Should work with both pdflatex and lualatex.
3939

40-
## How to do it from scratch
40+
## How to do it from scratch: annotated examples
4141

42-
![output of annotated equation](example_annotation.png)
42+
![output of annotated equation](examples/example_annotation.png)
4343

4444
Inspired by Sibin Mohan's https://github.com/synercys/annotated_latex_equations/, but with significantly simplified TikZ code, and with lots of comments to explain what is going on.
4545

46-
Two versions, one [as Beamer slides with transitions](https://github.com/st--/annotated_latex_equations/blob/main/demo_manual_annotate_beamer.tex), one [as an article](https://github.com/st--/annotated_latex_equations/blob/main/demo_manual_annotate_article.tex). For further examples, see https://github.com/synercys/annotated_latex_equations/.
46+
Two versions, one [as Beamer slides with transitions](https://github.com/st--/annotate_equations/blob/main/examples/demo_manual_annotate_beamer.tex), one [as an article](https://github.com/st--/annotate_equations/blob/main/examples/demo_manual_annotate_article.tex). For further examples, see https://github.com/synercys/annotated_latex_equations/.
4747

4848
### Giving all highlight boxes the same height
4949

@@ -53,7 +53,7 @@ Simply add a `\mathstrut` within the colorbox:
5353
+\newcommand{\highlight}[2]{\colorbox{#1!17}{$\mathstrut #2$}}
5454
```
5555

56-
![output of annotated equation with equal-height highlights](example_annotation_equal_height.png)
56+
![output of annotated equation with equal-height highlights](examples/example_annotation_equal_height.png)
5757

5858
## Much more information...
5959

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)