WYSIWYG, Compiler, Editor, Präambel und Dokumentumgebung

This commit is contained in:
Amma 2019-05-05 20:20:31 +02:00
parent 9cbabbadd9
commit 5e760a720c
4 changed files with 572 additions and 3 deletions

View File

@ -3,3 +3,71 @@
<h1>Wie funktioniert 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?</h1> <h1>Wie funktioniert 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?</h1>
</div> </div>
</div> </div>
---
<div class="layout-two-columns">
<div class="layout-title">
<h2>WYSIWYG und WYGIWYM</h2>
</div>
<div class="layout-column-one">
<div class="fragment">
<blockquote>Word</blockquote>
<h3>What You See Is What You Get</h3>
<ul>
<li>Formatierung mit unmittelbarem optischen Feedback</li>
</ul>
</div>
</div>
<div class="layout-column-two">
<div class="fragment">
<blockquote>LaTeX</blockquote>
<h3>What You See Is What You Mean</h3>
<ul>
<li>Trennung von Inhalt und Struktur</li>
<li>Formatierung erst am Ende ersichtlich</li>
</ul>
</div>
</div>
</div>
---
<div class="layout-preview-only">
<h2>Der Weg zum fertigen Dokument</h2>
<div class="layout-preview">
<figure>
<img src="sections/german/02/wysiwyg.svg">
</figure>
</div>
</div>
---
<div class="layout-two-columns">
<h2>Was brauchen wir dazu?</h2>
<div class="layout-column-one">
<blockquote>Editor</blockquote>
<p style="text-align:left;">enthält unseren Quelltext mit allen Befehlen zur semantischen Gliederung</p>
<p style="text-align:left;"><i>TeXstudio, TeXMaker</i></p>
</div>
<div class="layout-column-two">
<blockquote>Compiler</blockquote>
<p style="text-align:left;">erstellt aus dem Quelltext ein fertig formatiertes PDF-Dokument</p>
<p style="text-align:left;"><i>MiKTeX, TeX Live, MacTeX</i></p>
</div>
</div>
---
<div class="layout-content-only">
<div class="layout-content">
<h2>Software-Installation</h2>
<ul>
<li>MikTeX (Windows): https://miktex.org/ </li>
<li>MacTeX (MacOS): http://tug.org/mactex/ </li>
<li>TeXstudio: https://www.texstudio.org/ </li>
</ul>
<p class="fragment">Install now!⌨️</p>
</div>
</div>

455
sections/german/02/wysiwyg.svg Executable file
View File

@ -0,0 +1,455 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="200mm"
height="100mm"
viewBox="0 0 200 100"
version="1.1"
id="svg8"
inkscape:version="0.92.4 (unknown)"
sodipodi:docname="wysiwyg.svg">
<defs
id="defs2">
<marker
inkscape:isstock="true"
style="overflow:visible"
id="marker1438"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="TriangleOutL">
<path
transform="scale(0.8)"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
id="path1436" />
</marker>
<marker
inkscape:stockid="TriangleOutL"
orient="auto"
refY="0.0"
refX="0.0"
id="TriangleOutL"
style="overflow:visible"
inkscape:isstock="true"
inkscape:collect="always">
<path
id="path1256"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.8)" />
</marker>
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lend"
style="overflow:visible;"
inkscape:isstock="true">
<path
id="path1117"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1"
transform="scale(0.8) rotate(180) translate(12.5,0)" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.70710678"
inkscape:cx="59.029948"
inkscape:cy="218.85888"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1853"
inkscape:window-height="1025"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-1.0690781,-1.132633)">
<path
sodipodi:type="star"
style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:0.26499999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1516"
sodipodi:sides="3"
sodipodi:cx="170.43568"
sodipodi:cy="42.139126"
sodipodi:r1="12.383234"
sodipodi:r2="6.191617"
sodipodi:arg1="0"
sodipodi:arg2="1.0471976"
inkscape:flatsided="false"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 182.81892,42.139126 -9.28743,5.362098 -9.28742,5.362097 V 42.139126 31.414931 l 9.28742,5.362097 z"
inkscape:transform-center-x="-2.0044559"
transform="matrix(0.64747478,0,0,0.60747684,62.76448,16.821216)" />
<rect
style="opacity:1;fill:#e6e6e6;fill-opacity:1;stroke:none;stroke-width:0.66145831;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect815"
width="200"
height="100"
x="1.0690781"
y="1.132633" />
<path
style="fill:none;stroke:#000000;stroke-width:0.24467389px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 100.93203,11.132633 v 80"
id="path817"
inkscape:connector-curvature="0" />
<g
id="g975"
transform="translate(24.803504,-42.333333)">
<g
id="g916"
transform="translate(-6.2808339,36.482291)">
<g
id="g902">
<path
style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:0.46631071;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 29.417294,13.631145 h 46.680061 v 31.183033 l -5.599645,-2.645833 -4.816224,2.645833 -5.941374,-2.645833 -5.41758,2.645833 -6.34228,-2.645833 -6.018936,2.645833 -6.342279,-2.645833 -6.201743,2.645833 z"
id="path898"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccscccc" />
<path
sodipodi:nodetypes="cccccccscccc"
inkscape:connector-curvature="0"
id="path900"
d="m 27.546408,10.696552 h 46.680061 v 31.183033 l -5.599645,-2.645833 -4.816224,2.645833 -5.941374,-2.645833 -5.41758,2.645833 -6.34228,-2.645833 -6.018936,2.645833 -6.342279,-2.645833 -6.201743,2.645833 z"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.46631071;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="fill:#cccccc"
id="g914" />
<text
id="text926"
y="19.227655"
x="32.328022"
style="font-style:normal;font-weight:normal;font-size:10.42384911px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26059622"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.16953945px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';stroke-width:0.26059622"
y="19.227655"
x="32.328022"
id="tspan924"
sodipodi:role="line">Ada Lovelace</tspan></text>
</g>
<text
id="text930"
y="61.176228"
x="26.046875"
style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
xml:space="preserve"><tspan
id="tspan940"
style="font-size:2.11666679px;line-height:0;stroke-width:0.26458332"
y="61.176228"
x="26.046875"
sodipodi:role="line">Augusta Ada Byron King war eine </tspan></text>
<text
id="text946"
y="64.838135"
x="26.046875"
style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
xml:space="preserve"><tspan
style="font-size:2.11666656px;stroke-width:0.26458332"
y="64.838135"
x="26.046875"
id="tspan944"
sodipodi:role="line">britische Mathematikerin. Sie </tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="26.046875"
y="68.379456"
id="text950"><tspan
sodipodi:role="line"
id="tspan948"
x="26.046875"
y="68.379456"
style="font-size:2.11666656px;stroke-width:0.26458332">arbeitete mit Charles Babbage an </tspan></text>
<text
id="text954"
y="71.920776"
x="26.046875"
style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
xml:space="preserve"><tspan
style="font-size:2.11666656px;stroke-width:0.26458332"
y="71.920776"
x="26.046875"
id="tspan952"
sodipodi:role="line">der von ihm entwickelten Analytical</tspan></text>
</g>
<use
x="0"
y="0"
xlink:href="#g975"
id="use977"
transform="translate(-3.6666658e-8,42.333354)"
width="100%"
height="100%" />
<g
id="g1110"
transform="translate(-20.999995)">
<g
transform="translate(99.522676,-5.851042)"
id="g991">
<g
id="g983">
<path
sodipodi:nodetypes="cccccccscccc"
inkscape:connector-curvature="0"
id="path979"
d="m 29.417294,13.631145 h 46.680061 v 31.183033 l -5.599645,-2.645833 -4.816224,2.645833 -5.941374,-2.645833 -5.41758,2.645833 -6.34228,-2.645833 -6.018936,2.645833 -6.342279,-2.645833 -6.201743,2.645833 z"
style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:0.46631071;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.46631071;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 27.546408,10.696552 h 46.680061 v 31.183033 l -5.599645,-2.645833 -4.816224,2.645833 -5.941374,-2.645833 -5.41758,2.645833 -6.34228,-2.645833 -6.018936,2.645833 -6.342279,-2.645833 -6.201743,2.645833 z"
id="path981"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccscccc" />
</g>
<g
id="g985"
style="fill:#cccccc" />
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:10.42384911px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26059622"
x="32.328022"
y="19.227655"
id="text989"><tspan
sodipodi:role="line"
id="tspan987"
x="32.328022"
y="28.450319"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.16953945px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';stroke-width:0.26059622" /></text>
</g>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:monospace;-inkscape-font-specification:monospace;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="131.85039"
y="10.905387"
id="text995"><tspan
sodipodi:role="line"
x="131.85039"
y="10.905387"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.11666679px;line-height:0;font-family:monospace;-inkscape-font-specification:monospace;stroke-width:0.26458332"
id="tspan993">\<tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:monospace;-inkscape-font-specification:'monospace Bold'"
id="tspan1029">begin</tspan>{document}</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:monospace;-inkscape-font-specification:monospace;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="131.85039"
y="14.567294"
id="text999"><tspan
sodipodi:role="line"
id="tspan997"
x="131.85039"
y="14.567294"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.11666656px;font-family:monospace;-inkscape-font-specification:monospace;stroke-width:0.26458332">\<tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:monospace;-inkscape-font-specification:'monospace Bold'"
id="tspan1031">section</tspan>{Ada Lovelace}</tspan></text>
<text
id="text1003"
y="18.108616"
x="131.85039"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:monospace;-inkscape-font-specification:monospace;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.11666656px;font-family:monospace;-inkscape-font-specification:monospace;stroke-width:0.26458332"
y="18.108616"
x="131.85039"
id="tspan1001"
sodipodi:role="line">Augusta Ada Byron King war </tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:monospace;-inkscape-font-specification:monospace;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="131.85039"
y="21.649937"
id="text1007"><tspan
sodipodi:role="line"
id="tspan1005"
x="131.85039"
y="21.649937"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.11666656px;font-family:monospace;-inkscape-font-specification:monospace;stroke-width:0.26458332">eine britische Mathematikerin. </tspan></text>
<text
id="text1015"
y="25.192898"
x="131.85039"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:monospace;-inkscape-font-specification:monospace;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
xml:space="preserve"><tspan
id="tspan1013"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.11666679px;line-height:0;font-family:monospace;-inkscape-font-specification:monospace;stroke-width:0.26458332"
y="25.192898"
x="131.85039"
sodipodi:role="line">Sie arbeitete mit Charles </tspan></text>
<text
id="text1019"
y="28.854809"
x="131.85039"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:monospace;-inkscape-font-specification:monospace;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.11666656px;font-family:monospace;-inkscape-font-specification:monospace;stroke-width:0.26458332"
y="28.854809"
x="131.85039"
id="tspan1017"
sodipodi:role="line">Babbage an der von ihm </tspan></text>
</g>
<text
id="text1048"
y="96.016212"
x="55.741005"
style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Merriweather;-inkscape-font-specification:Merriweather;stroke-width:0.26458332"
y="96.016212"
x="55.741005"
id="tspan1046"
sodipodi:role="line">Word</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
x="113.5612"
y="96.016212"
id="text1062"><tspan
sodipodi:role="line"
id="tspan1060"
x="113.5612"
y="96.016212"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Merriweather;-inkscape-font-specification:Merriweather;stroke-width:0.26458332">LaTeX</tspan></text>
<use
height="100%"
width="100%"
transform="translate(60,42.333354)"
id="use1011"
xlink:href="#g975"
y="0"
x="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#TriangleOutL)"
d="m 41.069078,21.132634 h -20 v 45 h 20"
id="path1112"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0"
id="path1434"
d="m 162.57474,21.132634 h 20 v 45 h -20"
style="fill:none;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker1438)" />
<g
id="g1488"
transform="translate(1.4010416)">
<rect
y="31.414928"
x="12.843034"
height="26.458332"
width="26.458332"
id="rect1482"
style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:0.26499999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.26499999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1484"
width="26.458332"
height="26.458332"
x="9.6680365"
y="28.769093" />
</g>
<g
transform="translate(151.40104)"
id="g1500">
<rect
style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:0.26499999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1496"
width="26.458332"
height="26.458332"
x="12.843034"
y="31.414928" />
<rect
y="28.769093"
x="9.6680365"
height="26.458332"
width="26.458332"
id="rect1498"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.26499999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
id="g1514"
transform="matrix(0.67488652,0,0,0.78881653,7.8114482,8.8793775)">
<rect
y="31.414927"
x="14.244075"
height="21.26174"
width="19.565521"
id="rect1502"
style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:0.26499999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="33.454582"
x="16.036171"
height="9.5389662"
width="15.808993"
id="rect1504"
style="opacity:1;fill:#ececec;fill-opacity:1;stroke:none;stroke-width:0.24278145;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:1;fill:#ececec;fill-opacity:1;stroke:none;stroke-width:0.1568048;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1506"
width="10.851144"
height="5.7971926"
x="16.036171"
y="45.133865" />
<rect
transform="scale(-1,1)"
y="45.905605"
x="-25.64785"
height="4.3472552"
width="2.6660125"
id="rect1508"
style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:0.06730563;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<path
sodipodi:type="star"
style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:0.26499999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1522"
sodipodi:sides="3"
sodipodi:cx="173.35879"
sodipodi:cy="42.544267"
sodipodi:r1="7.7773285"
sodipodi:r2="3.8886642"
sodipodi:arg1="-0.016009831"
sodipodi:arg2="1.0311877"
inkscape:flatsided="false"
inkscape:rounded="0.09"
inkscape:randomized="0"
d="m 181.13513,42.419757 c 0.01,0.606105 -5.25829,3.149175 -5.77834,3.460632 -0.52005,0.311457 -5.24858,3.75528 -5.77833,3.460632 -0.52976,-0.294648 -0.0981,-6.128396 -0.10783,-6.734501 -0.01,-0.606105 -0.62788,-6.423044 -0.10783,-6.734501 0.52005,-0.311457 5.35641,2.979221 5.88616,3.273869 0.52976,0.294648 5.87646,2.667764 5.88617,3.273869 z"
inkscape:transform-center-x="-1.8370515"
inkscape:transform-center-y="0.061772776" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -6,11 +6,46 @@
--- ---
<div class="layout-content-only"> <div class="layout-content-and-preview">
<div class="layout-content"> <div class="layout-content">
<h2>Präambel</h2> <h3>Präambel und Dokumentumgebung</h3>
<p>TODO</p> <p>👁 Ein mit LaTeX gesetztes Dokument besteht aus zwei Teilen.</p>
<ul class="fragment">
<li><b>Präambel</b>: globale Einstellungen (Dokumentklasse, Encoding, Sprache, Seitenformat, zusäzliche Pakete, ...) und</li>
<li><b>Dokumentumgebung</b>: textueller Inhalt des Dokuments.</li>
</ul>
</div> </div>
<div class="layout-preview">
<pre class="lang-tex hljs" data-sourcefile="hallo.tex"><code>\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\begin{document}
Hallo, Welt!
\end{document}</code></pre>
<figure>
<img src="sections/german/03/hallo-crop.svg">
</figure>
</div>
</div>
---
<div class="layout-content-only">
<div class="layout-content">
<h2>Dokumentklasse</h2>
<pre class="lang-tex hljs"><<code>\documentclass[parameter]{dokumentklasse}</code></pre>
also zum Beispiel
<pre class="lang-tex hljs"><<code>\documentclass[10pt,a5paper,landscape]{scrartcl}</code></pre>
<ul class="fragment">
<li><b><code>scrartcl, article</b></code> für einfache Dokumente</li>
<li><b><code>scrreport, report</b></code> für komplexere Dokumente</li>
<li><b><code>scrbook, book</b></code> für Bücher</li>
<li><b><code>beamer</b></code> für Präsentationen</li>
</ul>
</div>
</div> </div>
--- ---

View File

@ -0,0 +1,11 @@
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{lmodern}
\begin{document}
\thispagestyle{empty}
Hallo, Welt!
\end{document}