Add more fragments to two-previews layout

This commit is contained in:
Knoch 2019-12-17 23:09:39 +01:00
parent 19c4335040
commit 2df810da24
2 changed files with 30 additions and 14 deletions

View File

@ -1,8 +1,14 @@
<div class="layout-two-previews">
<div class="layout-preview">
@left-preview
<figure>
@left-preview
<figcaption>@left-caption(inline)</figcaption>
</figure>
</div>
<div class="layout-preview">
@right-preview
<figure>
@right-preview
<figcaption>@right-caption(inline)</figcaption>
</figure>
</div>
</div>

View File

@ -3,24 +3,25 @@
@content
# Was ist L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X?
@slide(layout=two-previews)
@left-preview
<figure>
<img src="svg/chapter-01/example-word-orig.svg">
<figcaption class="fragment">Klassisches Word-Dokument</figcaption>
</figure>
![](svg/chapter-01/example-word-orig.svg)
@left-caption
Klassisches Word-Dokument
@right-preview
<figure>
<img src="svg/chapter-01/example-latex-orig.svg">
<figcaption class="fragment">Klassisches LaTeX-Dokument</figcaption>
</figure>
![](svg/chapter-01/example-latex-orig.svg)
@right-caption
Klassisches LaTeX-Dokument
@slide(layout=content-and-preview)
@content
## Entstehung
* Donald **Knuth**, 19771986: Textsatzsystem **TeX**<span class="bubble fragment">τεχ → /tɛç/</span> für The Art of Computer Programming
@ -32,15 +33,21 @@
</div>
@preview
![](sections/german/01/taocp.jpg)
![](svg/chapter-01/taocp.jpg)
@slide(layout=two-previews)
@left-preview
<figure><img src="svg/chapter-01/example-word-orig.svg" /><figcaption>Klassisches Word-Dokument</figcaption></figure>
![](svg/chapter-01/example-word-orig.svg)
@left-caption
Klassisches Word-Dokument
@right-preview
<figure><img src="svg/chapter-01/example-latex-orig.svg" /><figcaption>Klassisches LaTeX-Dokument</figcaption></figure>
![](svg/chapter-01/example-latex-orig.svg)
@right-caption
Klassisches LaTeX-Dokument
@slide(layout=content-and-preview)
@ -61,6 +68,7 @@
@preview
![](svg/chapter-01/vergleich-makro.svg)
@slide(layout=content-and-preview)
@content
@ -81,6 +89,7 @@
@preview
![](svg/chapter-01/vergleich-mikro.svg)
@slide(layout=content-only)
@content
@ -93,6 +102,7 @@
* Quelltext und Ausgabe langfristig lesbar
* einfache Zusammenarbeit mit anderen Programmen
@slide(layout=content-and-preview)
@content