Finish dynamic squares.
This commit is contained in:
parent
94ce6b658e
commit
1581f8831b
@ -5,9 +5,13 @@ section {
|
||||
width: 100vw;
|
||||
padding: 0 !important; }
|
||||
|
||||
* {
|
||||
line-height: inherit; }
|
||||
|
||||
/* config */
|
||||
:root {
|
||||
--secondary: #c8ceda; }
|
||||
--secondary: #c8ceda;
|
||||
--margin: 0.1; }
|
||||
|
||||
/* basic layout */
|
||||
:root {
|
||||
@ -72,6 +76,36 @@ body {
|
||||
max-width: 90%;
|
||||
max-height: 90%;
|
||||
box-shadow: 0.2em 0.2em 0.5em 0 rgba(0, 0, 0, 0.3); }
|
||||
body .layout-two-columns {
|
||||
display: grid;
|
||||
min-height: 100vh;
|
||||
max-height: 100vh;
|
||||
min-width: 100vw;
|
||||
max-width: 100vw;
|
||||
overflow: auto;
|
||||
grid-template-rows: auto auto auto 1fr;
|
||||
grid-template-columns: var(--square);
|
||||
grid-template-areas: "title" "column1" "column2" ".";
|
||||
background: var(--secondary); }
|
||||
@media screen and (min-aspect-ratio: 1 / 1) {
|
||||
body .layout-two-columns {
|
||||
grid-template-rows: auto calc(0.18 * var(--square)) calc(0.82 * var(--square)) auto;
|
||||
grid-template-columns: var(--square) var(--square);
|
||||
grid-template-areas: " . . " " title title " "column1 column2" " . . "; } }
|
||||
@media screen and (min-aspect-ratio: 2 / 1) {
|
||||
body .layout-two-columns {
|
||||
grid-template-rows: calc(0.18 * var(--square)) calc(0.82 * var(--square));
|
||||
grid-template-columns: auto var(--square) var(--square) auto;
|
||||
grid-template-areas: ". title title ." ". column1 column2 ."; } }
|
||||
body .layout-two-columns .layout-title {
|
||||
grid-area: title;
|
||||
background: white; }
|
||||
body .layout-two-columns .layout-column-one {
|
||||
grid-area: column1;
|
||||
background: white; }
|
||||
body .layout-two-columns .layout-column-two {
|
||||
grid-area: column2;
|
||||
background: white; }
|
||||
|
||||
/* content layout */
|
||||
@font-face {
|
||||
@ -99,62 +133,111 @@ body {
|
||||
margin: 0;
|
||||
line-height: 1.2em; }
|
||||
|
||||
.layout-content-and-preview,
|
||||
.layout-content-only {
|
||||
--margin: 0.1; }
|
||||
.layout-content-and-preview .layout-content,
|
||||
.layout-content-only .layout-content {
|
||||
overflow: auto;
|
||||
padding: calc(var(--margin) * var(--square)); }
|
||||
.layout-content-and-preview .layout-content *:first-child,
|
||||
.layout-content-only .layout-content *:first-child {
|
||||
margin-top: 0; }
|
||||
.layout-content-and-preview .layout-content .layout-title,
|
||||
.layout-content-only .layout-content .layout-title {
|
||||
padding: calc(0.3 * var(--margin) * var(--square)) 0;
|
||||
.layout-content-and-preview .layout-content,
|
||||
.layout-content-only .layout-content {
|
||||
overflow: auto;
|
||||
padding: calc(var(--margin) * var(--square)); }
|
||||
.layout-content-and-preview .layout-content *:first-child,
|
||||
.layout-content-only .layout-content *:first-child {
|
||||
margin-top: 0; }
|
||||
.layout-content-and-preview .layout-content .layout-title,
|
||||
.layout-content-only .layout-content .layout-title {
|
||||
padding: calc(0.3 * var(--margin) * var(--square)) 0;
|
||||
line-height: 1.15em; }
|
||||
.layout-content-and-preview .layout-content .layout-title h2,
|
||||
.layout-content-only .layout-content .layout-title h2 {
|
||||
margin: 0;
|
||||
line-height: 1.15em; }
|
||||
.layout-content-and-preview .layout-content .layout-title h2,
|
||||
.layout-content-only .layout-content .layout-title h2 {
|
||||
margin: 0; }
|
||||
.layout-content-and-preview .layout-content ul,
|
||||
.layout-content-only .layout-content ul {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
position: relative; }
|
||||
.layout-content-and-preview .layout-content ul li::before,
|
||||
.layout-content-only .layout-content ul li::before {
|
||||
content: '▪';
|
||||
color: var(--secondary);
|
||||
position: absolute;
|
||||
left: calc(-0.33 * var(--margin) * var(--square)); }
|
||||
.layout-content-and-preview .layout-content ul ul,
|
||||
.layout-content-only .layout-content ul ul {
|
||||
margin-left: calc(0.33 * var(--margin) * var(--square)); }
|
||||
.layout-content-and-preview .layout-content pre,
|
||||
.layout-content-only .layout-content pre {
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
padding-left: calc(var(--margin) * var(--square));
|
||||
line-height: 1.2em;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
.layout-content-and-preview .layout-content pre::before,
|
||||
.layout-content-only .layout-content pre::before {
|
||||
content: attr(data-sourcefile);
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
color: var(--secondary);
|
||||
top: .85em;
|
||||
width: 100%;
|
||||
left: calc(-1 * var(--square) + 1.2 * var(--margin) * var(--square));
|
||||
transform-origin: top right;
|
||||
transform: rotate(-90deg); }
|
||||
.layout-content-and-preview .layout-content code,
|
||||
.layout-content-only .layout-content code {
|
||||
font-size: 0.9em;
|
||||
font-family: 'Fira Code'; }
|
||||
.layout-content-and-preview .layout-content code.hljs,
|
||||
.layout-content-only .layout-content code.hljs {
|
||||
padding: .3em 0; }
|
||||
.layout-content-and-preview .layout-content ul,
|
||||
.layout-content-only .layout-content ul {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
position: relative; }
|
||||
.layout-content-and-preview .layout-content ul li::before,
|
||||
.layout-content-only .layout-content ul li::before {
|
||||
content: '▪';
|
||||
color: var(--secondary);
|
||||
position: absolute;
|
||||
left: calc(-0.33 * var(--margin) * var(--square)); }
|
||||
.layout-content-and-preview .layout-content ul ul,
|
||||
.layout-content-only .layout-content ul ul {
|
||||
margin-left: calc(0.33 * var(--margin) * var(--square)); }
|
||||
.layout-content-and-preview .layout-content pre,
|
||||
.layout-content-only .layout-content pre {
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
padding-left: calc(var(--margin) * var(--square));
|
||||
line-height: 1.2em;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
.layout-content-and-preview .layout-content pre::before,
|
||||
.layout-content-only .layout-content pre::before {
|
||||
content: attr(data-sourcefile);
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
color: var(--secondary);
|
||||
top: .85em;
|
||||
width: 100%;
|
||||
left: calc(-1 * var(--square) + 1.2 * var(--margin) * var(--square));
|
||||
transform-origin: top right;
|
||||
transform: rotate(-90deg); }
|
||||
.layout-content-and-preview .layout-content pre code,
|
||||
.layout-content-only .layout-content pre code {
|
||||
padding: .3em 0; }
|
||||
.layout-content-and-preview .layout-content code,
|
||||
.layout-content-only .layout-content code {
|
||||
font-size: 0.9em;
|
||||
font-family: 'Fira Code'; }
|
||||
|
||||
.layout-two-columns .layout-title {
|
||||
padding: calc(0.3 * var(--margin) * var(--square)) calc(var(--margin) * var(--square)); }
|
||||
.layout-two-columns .layout-title h2 {
|
||||
line-height: 1.15em; }
|
||||
|
||||
.layout-two-columns .layout-column-one,
|
||||
.layout-two-columns .layout-column-two {
|
||||
padding: calc(var(--margin) * var(--square));
|
||||
padding-top: 0; }
|
||||
.layout-two-columns .layout-column-one *:first-child,
|
||||
.layout-two-columns .layout-column-two *:first-child {
|
||||
margin-top: 0; }
|
||||
.layout-two-columns .layout-column-one ul,
|
||||
.layout-two-columns .layout-column-two ul {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
position: relative; }
|
||||
.layout-two-columns .layout-column-one ul li::before,
|
||||
.layout-two-columns .layout-column-two ul li::before {
|
||||
content: '▪';
|
||||
color: var(--secondary);
|
||||
position: absolute;
|
||||
left: calc(-0.33 * var(--margin) * var(--square)); }
|
||||
.layout-two-columns .layout-column-one ul ul,
|
||||
.layout-two-columns .layout-column-two ul ul {
|
||||
margin-left: calc(0.33 * var(--margin) * var(--square)); }
|
||||
.layout-two-columns .layout-column-one pre,
|
||||
.layout-two-columns .layout-column-two pre {
|
||||
margin: 0 calc(-1 * var(--margin) * var(--square));
|
||||
line-height: 1.2em;
|
||||
position: relative;
|
||||
overflow: hidden; }
|
||||
.layout-two-columns .layout-column-one pre::before,
|
||||
.layout-two-columns .layout-column-two pre::before {
|
||||
content: attr(data-sourcefile);
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
color: var(--secondary);
|
||||
top: .85em;
|
||||
width: 100%;
|
||||
left: calc(-1 * var(--square) + 1.2 * var(--margin) * var(--square));
|
||||
transform-origin: top right;
|
||||
transform: rotate(-90deg); }
|
||||
.layout-two-columns .layout-column-one pre code,
|
||||
.layout-two-columns .layout-column-two pre code {
|
||||
padding: 0.3em calc(var(--margin) * var(--square)); }
|
||||
.layout-two-columns .layout-column-one code,
|
||||
.layout-two-columns .layout-column-two code {
|
||||
font-size: 0.9em;
|
||||
font-family: 'Fira Code'; }
|
||||
|
||||
.layout.layout-chapter-heading {
|
||||
height: 100vh;
|
||||
@ -176,3 +259,52 @@ h1 {
|
||||
vertical-align: bottom;
|
||||
max-width: var(--square);
|
||||
padding: 0 calc(var(--margin) * var(--square)) 0.5em; }
|
||||
|
||||
h2[data-category]::before {
|
||||
content: attr(data-category);
|
||||
font-size: .7em;
|
||||
font-variant: small-caps;
|
||||
text-transform: lowercase;
|
||||
background: black;
|
||||
color: white;
|
||||
padding: .1em .5em;
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
letter-spacing: .1em;
|
||||
position: relative;
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
padding-left: calc(var(--margin) * var(--square));
|
||||
margin-right: .5em; }
|
||||
|
||||
img {
|
||||
width: auto;
|
||||
max-width: 100%; }
|
||||
|
||||
table {
|
||||
width: calc(var(--square) - var(--margin) * var(--square));
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
border-spacing: 0; }
|
||||
table tr:nth-child(2n-1) {
|
||||
background: var(--secondary); }
|
||||
table tr > *:first-child {
|
||||
padding-left: calc(var(--margin) * var(--square)); }
|
||||
table th, table td {
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
padding: .3em 0; }
|
||||
|
||||
.box, blockquote {
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
padding: 0.8em 0.1em 0.1em calc(var(--margin) * var(--square));
|
||||
background: var(--secondary); }
|
||||
|
||||
.box.warning {
|
||||
background: #ffffaa; }
|
||||
|
||||
blockquote {
|
||||
text-indent: -.55em;
|
||||
padding-bottom: .8em; }
|
||||
blockquote::before {
|
||||
content: '»'; }
|
||||
blockquote cite::before {
|
||||
content: ' – '; }
|
||||
|
||||
@ -4,10 +4,14 @@ section {
|
||||
width: 100vw;
|
||||
padding: 0 !important;
|
||||
}
|
||||
* {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
/* config */
|
||||
:root {
|
||||
--secondary: #c8ceda;
|
||||
--margin: 0.1;
|
||||
}
|
||||
|
||||
/* basic layout */
|
||||
@ -106,6 +110,54 @@ body {
|
||||
box-shadow: .2em .2em .5em 0 rgba(0, 0, 0, .3);
|
||||
}
|
||||
}
|
||||
|
||||
.layout-two-columns {
|
||||
display: grid;
|
||||
min-height: 100vh;
|
||||
max-height: 100vh;
|
||||
min-width: 100vw;
|
||||
max-width: 100vw;
|
||||
overflow: auto;
|
||||
grid-template-rows: auto auto auto 1fr;
|
||||
grid-template-columns: var(--square);
|
||||
grid-template-areas:
|
||||
"title"
|
||||
"column1"
|
||||
"column2"
|
||||
".";
|
||||
background: var(--secondary);
|
||||
@media screen and (min-aspect-ratio: 1/1) {
|
||||
grid-template-rows: auto calc(0.18 * var(--square)) calc(0.82 * var(--square)) auto;
|
||||
grid-template-columns: var(--square) var(--square);
|
||||
grid-template-areas:
|
||||
" . . "
|
||||
" title title "
|
||||
"column1 column2"
|
||||
" . . ";
|
||||
}
|
||||
@media screen and (min-aspect-ratio: 2/1) {
|
||||
grid-template-rows: calc(0.18 * var(--square)) calc(0.82 * var(--square));
|
||||
grid-template-columns: auto var(--square) var(--square) auto;
|
||||
grid-template-areas:
|
||||
". title title ."
|
||||
". column1 column2 .";
|
||||
}
|
||||
|
||||
.layout-title {
|
||||
grid-area: title;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.layout-column-one {
|
||||
grid-area: column1;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.layout-column-two {
|
||||
grid-area: column2;
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* content layout */
|
||||
@ -139,8 +191,6 @@ body {
|
||||
|
||||
.layout-content-and-preview,
|
||||
.layout-content-only {
|
||||
--margin: 0.1;
|
||||
|
||||
.layout-content {
|
||||
overflow: auto;
|
||||
padding: calc(var(--margin) * var(--square));
|
||||
@ -155,6 +205,7 @@ body {
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
line-height: 1.15em;
|
||||
}
|
||||
}
|
||||
|
||||
@ -190,14 +241,74 @@ body {
|
||||
transform-origin: top right;
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
code {
|
||||
padding: .3em 0;
|
||||
}
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 0.9em;
|
||||
font-family: 'Fira Code';
|
||||
&.hljs {
|
||||
padding: .3em 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.layout-two-columns {
|
||||
.layout-title {
|
||||
padding: calc(0.3 * var(--margin) * var(--square)) calc(var(--margin) * var(--square));
|
||||
h2 {
|
||||
line-height: 1.15em;
|
||||
}
|
||||
}
|
||||
|
||||
.layout-column-one,
|
||||
.layout-column-two {
|
||||
padding: calc(var(--margin) * var(--square));
|
||||
padding-top: 0;
|
||||
|
||||
*:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
position: relative;
|
||||
li::before {
|
||||
content: '▪';
|
||||
color: var(--secondary);
|
||||
position: absolute;
|
||||
left: calc(-0.33 * var(--margin) * var(--square));
|
||||
}
|
||||
ul {
|
||||
margin-left: calc(0.33 * var(--margin) * var(--square));
|
||||
}
|
||||
}
|
||||
|
||||
pre {
|
||||
margin: 0 calc(-1 * var(--margin) * var(--square));
|
||||
line-height: 1.2em;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
&::before {
|
||||
content: attr(data-sourcefile);
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
color: var(--secondary);
|
||||
top: .85em;
|
||||
width: 100%;
|
||||
left: calc(-1 * var(--square) + 1.2 * var(--margin) * var(--square));
|
||||
transform-origin: top right;
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
code {
|
||||
padding: .3em calc(var(--margin) * var(--square));
|
||||
}
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 0.9em;
|
||||
font-family: 'Fira Code';
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -226,3 +337,66 @@ h1 {
|
||||
max-width: var(--square);
|
||||
padding: 0 calc(var(--margin) * var(--square)) .5em;
|
||||
}
|
||||
|
||||
h2[data-category]::before {
|
||||
content: attr(data-category);
|
||||
font-size: .7em;
|
||||
font-variant: small-caps;
|
||||
text-transform: lowercase;
|
||||
background: black;
|
||||
color: white;
|
||||
padding: .1em .5em;
|
||||
display: inline-block;
|
||||
vertical-align: baseline;
|
||||
letter-spacing: .1em;
|
||||
position: relative;
|
||||
// left: calc(-1 * var(--margin) * var(--square));
|
||||
// margin-right: calc(-1 * var(--margin) * var(--square) + 1em);
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
padding-left: calc(var(--margin) * var(--square));
|
||||
margin-right: .5em;
|
||||
}
|
||||
|
||||
img {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
table {
|
||||
width: calc(var(--square) - var(--margin) * var(--square));
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
border-spacing: 0;
|
||||
tr:nth-child(2n-1) {
|
||||
background: var(--secondary);
|
||||
}
|
||||
tr>*:first-child {
|
||||
padding-left: calc(var(--margin) * var(--square));
|
||||
}
|
||||
th, td {
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
padding: .3em 0;
|
||||
}
|
||||
}
|
||||
|
||||
.box, blockquote {
|
||||
margin-left: calc(-1 * var(--margin) * var(--square));
|
||||
padding: .8em .1em .1em calc(var(--margin) * var(--square));
|
||||
background: var(--secondary);
|
||||
}
|
||||
.box.warning {
|
||||
background: #ffffaa;
|
||||
}
|
||||
blockquote {
|
||||
text-indent: -.55em;
|
||||
padding-bottom: .8em;
|
||||
&::before {
|
||||
content: '»';
|
||||
}
|
||||
&::after {
|
||||
// content: '«';
|
||||
}
|
||||
cite::before {
|
||||
content: ' – '
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h1>Wie funktioniert LaTeX?</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>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h1>Grundstruktur eines LaTeX-Dokuments</h1>
|
||||
<h1>Grundstruktur eines 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-Dokuments</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -58,47 +58,29 @@
|
||||
<pre data-source="abschnitt1.tex" class="hljs lang-tex"><code>\section{Dies ist Abschnitt1}
|
||||
Hier ein Absatz zum
|
||||
Inhalt von Abschnitt 1.</code></pre>
|
||||
<p><img src="sections/german/04/main_und_unterdateien.png"></p>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||

|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Resultierende Projektstruktur</h2>
|
||||
|
||||

|
||||
<div class="layout-two-columns">
|
||||
<div class="layout-title">
|
||||
<h2>Vergleich</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Resultierendes Dokument</h2>
|
||||
|
||||

|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
<div class="two-columns">
|
||||
<div class="column">
|
||||
`\input{filename.tex}`
|
||||
<div class="layout-column-one">
|
||||
<pre class="lang-tex jshl"><code>\input{filename.tex}</code></pre>
|
||||
<ul class="fragment">
|
||||
<li>Dateiendung .tex angeben</li>
|
||||
<li>Schachtelung möglich: Unterdateien können wiederum per `\input{}` andere Unterunterdateien einbinden</li>
|
||||
<li>Unterdatei wird im fertigen Dokument ohne Sprung auf neue Seite in Hauptdatei eingefügt</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="column">
|
||||
`\include{filename}`
|
||||
<div class="layout-column-two">
|
||||
<pre class="lang-tex jshl"><code>\include{filename}</code></pre>
|
||||
<ul class="fragment">
|
||||
<li>Dateiendung .tex **nicht** angeben</li>
|
||||
<li>Schachtelung nicht möglich</li>
|
||||
@ -109,73 +91,129 @@ Inhalt von Abschnitt 1.</code></pre>
|
||||
|
||||
---
|
||||
|
||||
## EXKURS: Dateipfade angeben 👣
|
||||
* wichtig für \input{}` und \include{}` sowie später für das Einbinden von Bildern
|
||||
* Datei- und Ordnerstruktur = Baumstruktur
|
||||
|
||||

|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2 data-category="Exkurs">Dateipfade angeben 👣</h2>
|
||||
<ul>
|
||||
<li>wichtig für `\input{}` und `\include{}` sowie später für das Einbinden von Bildern</li>
|
||||
<li>Datei- und Ordnerstruktur = Baumstruktur</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/ordnerbaum.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
### Absolute Dateipfade
|
||||
* Pfad von der Wurzel des Ordnerbaums bis zur jeweiligen Datei
|
||||
* die verschiedenen Ebenen des Baums werden dabei durch folgende Zeichen getrennt:
|
||||
* / (Unix, Mac)
|
||||
* \ (Windows)
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2 data-category="Exkurs">Dateipfade angeben 👣</h2>
|
||||
<h3>Absolute Dateipfade</h3>
|
||||
<ul>
|
||||
<li>Pfad von der Wurzel des Ordnerbaums bis zur jeweiligen Datei</li>
|
||||
<li>die verschiedenen Ebenen des Baums werden dabei durch folgende Zeichen getrennt:
|
||||
<ul>
|
||||
<li>Unter Unix: `/`</li>
|
||||
<li>Unter Windows: `\`</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/pfad_absolut.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
#### Beispiel
|
||||
|
||||

|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2 data-category="Exkurs">Dateipfade angeben 👣</h2>
|
||||
<h3>Relative Dateipfade</h3>
|
||||
<ul>
|
||||
<li>Pfad von einem bestimmten Ort irgendwo im Ordnerbaum bis zur jeweiligen Datei</li>
|
||||
<li>kürzer + weniger Schreibarbeit! ☺</li>
|
||||
<li>bei `\input{}`und `\include{}` muss der Pfad zu einer Unterdatei relativ zur Hauptdatei angeben werden</li>
|
||||
</ul>
|
||||
<p>Der einfache Punkt bezieht sich bei relativen Pfaden auf den Ordner, in dem die Ausgangsdatei liegt (hier: LaTeX-Tut).</p>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/pfad_relativ_gleicher_ordner.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
### Relative Dateipfade
|
||||
* Pfad von einem bestimmten Ort irgendwo im Ordnerbaum bis zur jeweiligen Datei
|
||||
* kürzer + weniger Schreibarbeit! :)
|
||||
* bei \input{}`und \include{}` muss z.B. der Pfad zu einer Unterdatei relativ zur Hauptdatei angeben werden
|
||||
<!-- very DRY indeed -->
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2 data-category="Exkurs">Dateipfade angeben 👣</h2>
|
||||
<h3>Relative Dateipfade</h3>
|
||||
<ul>
|
||||
<li>Pfad von einem bestimmten Ort irgendwo im Ordnerbaum bis zur jeweiligen Datei</li>
|
||||
<li>kürzer + weniger Schreibarbeit! ☺</li>
|
||||
<li>bei `\input{}`und `\include{}` muss der Pfad zu einer Unterdatei relativ zur Hauptdatei angeben werden</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/pfad_relativ_unterordner.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
#### Beispiel
|
||||
|
||||

|
||||
Der einfache Punkt referiert bei relativen Pfaden auf den Ordner in dem die Datei liegt, im Verhältnis zu welcher der Pfad angegeben werden soll (hier: LaTeX-Tut).
|
||||
<!-- very DRY indeed -->
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2 data-category="Exkurs">Dateipfade angeben 👣</h2>
|
||||
<h3>Relative Dateipfade</h3>
|
||||
<ul>
|
||||
<li>Pfad von einem bestimmten Ort irgendwo im Ordnerbaum bis zur jeweiligen Datei</li>
|
||||
<li>kürzer + weniger Schreibarbeit! ☺</li>
|
||||
<li>bei `\input{}`und `\include{}` muss der Pfad zu einer Unterdatei relativ zur Hauptdatei angeben werden</li>
|
||||
</ul>
|
||||
<p>Zwei Punkte bezeichnen den Elternordner des aktuellen Ordners (hier: Dokumente, der Elternordner von LaTeX-Tut).</p>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/pfad_relativ_elternordner.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||

|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Kompilieren des Projekts</h2>
|
||||
<ul>
|
||||
<li>Nur die Hauptdatei wird kompiliert, um das fertige PDF-Dokument zu erhalten</li>
|
||||
<li>Fehlermeldungen enthalten dann Verweis, in welcher Unterdatei sie aufgetreten sind</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||

|
||||
Zwei Punkte referieren auf den Elternordner des Ordners, in dem die Datei liegt, im Verhältnis zu welcher der Pfad angegeben werden soll (hier: Dokumente, der Elternordner von LaTeX-Tut).
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Kompilieren des Projekts</h2>
|
||||
<ul>
|
||||
<li>die Unterdateiten können wegen ihrer fehlenden Präambel nicht selbstständig kompiliert werden</li>
|
||||
<li>aber geschickter Trick bei \include{}`: \includeonly{file1,file2,...}` in die Präambel schreiben, um nur einzelne Unterdateien zu kompilieren</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
## Ende des Exkurses
|
||||
|
||||
---
|
||||
|
||||
## Kompilieren des Projekts
|
||||
* Nur die Hauptdatei wird kompiliert, um das fertige PDF-Dokument zu erhalten
|
||||
* Fehlermeldungen enthalten dann Verweis, in welcher Unterdatei sie aufgetreten sind
|
||||
|
||||
---
|
||||
|
||||
## Kompilieren des Projekts
|
||||
* die Unterdateiten können wegen ihrer fehlenden Präambel nicht selbstständig kompiliert werden
|
||||
* aber geschickter Trick bei \include{}`: \includeonly{file1,file2,...}` in die Präambel schreiben, um nur einzelne Unterdateien zu kompilieren
|
||||
|
||||
---
|
||||
|
||||
## Was denkt ihr passiert, wenn wir den Header in eine Unterdatei auslagern?
|
||||
### Wird das Gesamtdokument kompilieren oder nicht?
|
||||
|
||||
---
|
||||
|
||||
### Ja, es kompiliert!
|
||||
Ein einfacher weg, um die Hauptdatei noch übersichtlicher zu halten.
|
||||
|
||||

|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Was denkt ihr passiert, wenn wir den Header in eine Unterdatei auslagern?</h2>
|
||||
<p>Wird das Gesamtdokument kompilieren oder nicht?</p>
|
||||
<p class="fragment"><strong>Ja, es kompiliert!</strong><br>
|
||||
Ein einfacher weg, um die Hauptdatei noch übersichtlicher zu halten.</p>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/04/main_und_unterdateien_inkl_header.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,276 +1,238 @@
|
||||
# All Features Welcome :) 🐉
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h1>All Features Welcome :) 🐉</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
## Inline-Formatierung
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Hervorhebungen</h2>
|
||||
<table>
|
||||
<tr><th>Bezeichnung</th><th>Befehl</th></tr>
|
||||
<tr><td>fett (bold face)</td><td><code>\textbf{Very Important Stuff}</code></td></tr>
|
||||
<tr><td>kursiv (italics)</td><td><code>\textit{Very Important Stuff}</code></td></tr>
|
||||
<tr><td>Kapitälchen (small capitals)</td><td><code>\textsc{Very Important Stuff}</code></td></tr>
|
||||
<tr><td>dicktengleich (teletypefont)</td><td><code>\texttt{Very Important Stuff}</code></td></tr>
|
||||
<tr><td>geneigt (slanted)</td><td><code>\textsl{Very Important Stuff)</code></td></tr>
|
||||
<tr><td>unterstrichen</td><td><code>\underline{Very Important Stuff}</code></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/05/hervorhebungen.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
### Hervorhebungen
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Hervorhebungen schachteln</h2>
|
||||
<p>Problemlos möglich:</p>
|
||||
<pre class="lang-tex hljs"><code>\textbf{Very \textit{Important Stuff}}</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
#### Tabelle
|
||||
|Bezeichnung|Befehl|
|
||||
|:----------|:--------------------------|
|
||||
|fett (bold face)|\textbf{Very Important Stuff}|
|
||||
|kursiv (italics)|\textit{Very Important Stuff}|
|
||||
|Kapitälchen (small capitals)|\textsc{Very Important Stuff}|
|
||||
|Schreibmaschinenschrift (teletypefont)|\texttt{Very Important Stuff}|
|
||||
|geneigt (slanted)|\textsl{Very Important Stuff)|
|
||||
|unterstrichen|\underline{Very Important Stuff}|
|
||||
|
||||

|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Hervorhebungen schachteln</h2>
|
||||
<p>Innerhalb kursiver Hervorhebung kann man auch den Befehl `\emph{text}` verwenden, um Passagen von der Kursivierung auszunehmen:</p>
|
||||
<pre class="lang-tex hljs"><code>\texit{Very \emph{Important} Stuff}</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
#### unterstrichen
|
||||
```tex
|
||||
\underline{Very Important Stuff}
|
||||
```
|
||||
$\underline{Very Important Stuff}$
|
||||
|
||||
#### fett (bold face)
|
||||
```tex
|
||||
\textbf{Very Important Stuff}
|
||||
```
|
||||
$\textbf{Very Important Stuff}$
|
||||
|
||||
#### kursiv (italics)
|
||||
```tex
|
||||
\textit{Very Important Stuff}
|
||||
```
|
||||
$\textit{Very Important Stuff}$
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Hervorhebungen: Schriftgröße</h2>
|
||||
<div class="box warning">
|
||||
<p><strong>Ein gutgemeinter Rat: Better Call ~~Saul~~ LaTeX!</strong></p>
|
||||
<p>Vgl. Abschnitt zu Syntax und Semantik:<br>
|
||||
Konsistentes Aussehen über das gesamte Dokument hinweg gewünscht?</p>
|
||||
<p>Voreinstellungen von LaTeX zur Schriftgröße verschiedener Textelemente (Titel, Fließtext, Fußnoten) vertrauen!<br>
|
||||
Das heißt im Umkehrschluss: Möglichst wenig manuell an Schriftgrößen herumschrauben</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
#### geneigt (slanted)
|
||||
```tex
|
||||
\textsl{Very Important Stuff}
|
||||
```
|
||||
$\textsl{Very Important Stuff}$
|
||||
|
||||
#### Kapitälchen (small capitals)
|
||||
```tex
|
||||
\textsc{Very Important Stuff}
|
||||
```
|
||||
$\textsc{Very Important Stuff}$
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Hervorhebungen: Schriftgröße</h2>
|
||||
<h3>normalsize</h3>
|
||||
<ul>
|
||||
<li>Wird für den Fließtext verwendet</li>
|
||||
<li>Standard: 10pt</li>
|
||||
<li>Kann im Header folgendermaßen verändert werden:</li>
|
||||
</ul>
|
||||
<pre class="lang-tex hljs"><code>\documentclass[12pt]{article}</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
#### Schreibmaschinenschrift (teletypefont)
|
||||
Lässt sich z.B. dafür nutzen, wenn man in der Informatik inline Codeschnipsel einfügen möchte.
|
||||
```tex
|
||||
\texttt{Very Important Stuff}
|
||||
```
|
||||
$\texttt{Very Important Stuff}$
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Hervorhebungen: Schriftgröße</h2>
|
||||
<h3>Voreingestellte Schriftgrößen</h3>
|
||||
<p>Syntax:</p>
|
||||
<pre><code class="lang-tex hljs">{\fontsize ein Textabschnitt}</code></pre>
|
||||
<p>Zur Auswahl: immer relativ zu normalsize</p>
|
||||
<pre><code class="lang-tex hljs">{\tiny Wenn}
|
||||
{\footnotesize du}
|
||||
{\small das}
|
||||
{\normalsize lesen}
|
||||
{\large kannst,}
|
||||
{\Large brauchst}
|
||||
{\LARGE du}
|
||||
{\huge keine}
|
||||
{\Huge Brille.}</code></pre>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/05/schriftgroesse_optiker.png">
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
#### Hervorhebungen schachteln
|
||||
Problemlos möglich:
|
||||
```tex
|
||||
\textbf{Very \textit{Important Stuff}}
|
||||
```
|
||||
$\textbf{Very \textit{Important Stuff}}$
|
||||
<div class="layout-content-and-preview">
|
||||
<div class="layout-content">
|
||||
<h2>Hervorhebungen: Schriftgröße</h2>
|
||||
<h3>Manuelle Konfiguration</h3>
|
||||
<pre class="lang-tex hljs"><code>\fontsize{<Größe in pt, cm, ...>}{<Zeilenhöhe>)\selectfont</code></pre>
|
||||
<p>Beispiel:</p>
|
||||
<pre class="lang-tex hljs"><code>Das ist Text in normaler Schriftgröße.
|
||||
|
||||
---
|
||||
|
||||
#### Hervorhebungen schachteln
|
||||
Innerhalb kursiver Hervorhebung kann man auch den Befehl `\emph{text}` verwenden, um Passagen von der Kursivierung auszunehmen:
|
||||
```tex
|
||||
\texit{Very \emph{Important} Stuff}
|
||||
```
|
||||
$\texit{Very \emph{Important} Stuff}$
|
||||
|
||||
---
|
||||
|
||||
### Schriftgröße
|
||||
|
||||
---
|
||||
|
||||
#### Ein gutgemeinter Rat: Better Call ~~Saul~~ LaTeX!
|
||||
Vgl. Abschnitt zu Syntax und Semantik:
|
||||
Konsistentes Aussehen über das gesamte Dokument hinweg gewünscht?
|
||||
Voreinstellungen von LaTeX zur Schriftgröße verschiedener Textelemente (Titel, Fließtext, Fußnoten) vertrauen!
|
||||
|
||||
Das heißt im Umkehrschluss: Möglichst wenig manuell an Schriftgrößen herumschrauben
|
||||
|
||||
---
|
||||
|
||||
#### normalsize
|
||||
|
||||
Wird für den Fließtext verwendet.
|
||||
Standard: 10pt.
|
||||
|
||||
Kann im Header folgendermaßen verwendet werden:
|
||||
```tex
|
||||
\documentclass[12pt]{article}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### Voreingestellte Schriftgrößen
|
||||
Syntax:
|
||||
```tex
|
||||
{\fontsize ein Textabschnitt}
|
||||
```
|
||||
|
||||
Zur Auswahl: immer relativ zu normalsize
|
||||
```tex
|
||||
{\tiny Größe}
|
||||
{\footnotesize Größe}
|
||||
{\small Größe}
|
||||
{\normalsize Größe}
|
||||
{\large Größe}
|
||||
{\Large Größe}
|
||||
{\LARGE Größe}
|
||||
{\huge Größe}
|
||||
{\Huge Größe}
|
||||
```
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
#### Voreinstellungen
|
||||
|
||||
Zur Auswahl:
|
||||
```tex
|
||||
{\tiny Wenn}
|
||||
{\footnotesize du}
|
||||
{\small das}
|
||||
{\normalsize lesen}
|
||||
{\large kannst,}
|
||||
{\Large brauchst}
|
||||
{\LARGE du}
|
||||
{\huge keine}
|
||||
{\Huge Brille.}
|
||||
```
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
#### Manuelle Konfiguration
|
||||
Syntax:
|
||||
```tex
|
||||
\fontsize{<Größe in pt, cm, ...>}{<Zeilenhöhe>)\selectfont
|
||||
```
|
||||
|
||||
Beispiel:
|
||||
```tex
|
||||
Das ist Text in normaler Schriftgröße.
|
||||
|
||||
\fontsize{1cm}{1.25cm}\selectfont
|
||||
Das ist eine Textpassage in wirklich riesiger Schrift.
|
||||
|
||||
Das ist eine Textpassage in
|
||||
wirklich riesiger Schrift.
|
||||
|
||||
\normalsize
|
||||
Back to normal.
|
||||
```
|
||||
|
||||

|
||||
Back to normal.</code></pre>
|
||||
</div>
|
||||
<div class="layout-preview">
|
||||
<img src="sections/german/05/schriftgroesse_fontsize_befehl.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
## Weitere Blockumgebungen
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Weitere Blockumgebungen</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
...
|
||||
|
||||
---
|
||||
|
||||
## Sonderzeichen & Symbole
|
||||
|
||||
---
|
||||
|
||||
### Escape Sequences 🏃♀️
|
||||
* In LaTeX werden viele Sonderzeichen für Befehle verwendet (z.B. %, $, \).
|
||||
* Character Escaping: Tricks, um diese Sonderzeichen in ihrer eigentlichen Funktion im Fließtext zu benutzen
|
||||
* oft reicht es, einen Backslash vorne anzuhängen:
|
||||
```tex
|
||||
\%
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Sonderzeichen & Symbole</h2>
|
||||
<h3>Escape Sequences 🏃</h3>
|
||||
<ul>
|
||||
<li>In LaTeX werden viele Sonderzeichen für Befehle verwendet (z.B. `%`, `$`, `\`)</li>
|
||||
<li>Character Escaping: Tricks, um diese Sonderzeichen in ihrer eigentlichen Funktion im Fließtext zu benutzen</li>
|
||||
<li>Oft reicht es, einen Backslash vorne anzuhängen:</li>
|
||||
</ul>
|
||||
<pre class="lang-tex hljs"><code>\%
|
||||
\$
|
||||
\&
|
||||
\{ \}
|
||||
```
|
||||
\{ \}</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
### Escaping Sequences
|
||||
Bei anderen Sonderzeichen gibt es eigene Befehle:
|
||||
```tex
|
||||
\textbackslash
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Sonderzeichen & Symbole</h2>
|
||||
<h3>Escape Sequences 🏃</h3>
|
||||
<p>Bei anderen Sonderzeichen gibt es eigene Befehle:</p>
|
||||
<pre class="lang-tex hljs"><code>\textbackslash % Backslash
|
||||
\textasciitilde % Tilde
|
||||
\copyright % Copyrightzeichen
|
||||
```
|
||||
|
||||
$\textbackslash$
|
||||
$\textasciitilde$
|
||||
$\copyright$
|
||||
\copyright % Copyrightzeichen</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
### Mathmode
|
||||
Einige Sonderzeichen und Symbole funktionieren nur in einer Mathematikumgebung:
|
||||
```tex
|
||||
$\pi \Sigma \delta$ % griechische Buchstaben
|
||||
$\dagger$
|
||||
```
|
||||
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Sonderzeichen & Symbole</h2>
|
||||
<h3>Mathmode</h3>
|
||||
<p>Einige Sonderzeichen und Symbole funktionieren nur in einer Mathematikumgebung:</p>
|
||||
<pre class="lang-tex hljs"><code>% griechische Buchstaben
|
||||
$\pi \Sigma \delta$
|
||||
$\dagger$
|
||||
|
||||
% Kreuz
|
||||
$\dagger$</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
### Anführungszeichen
|
||||
* Englisch: ` ``quote'' in LaTeX`
|
||||
* Deutsch: " in Kombination mit dem ngerman-Paket als Umlautakzent definiert
|
||||
```tex
|
||||
"Anführungszeichen"
|
||||
```
|
||||
-> Änführungszeichen"
|
||||
* Ersatz: german left/right quotes
|
||||
```tex
|
||||
\glq Anführungszeichen\grq % einfache quotes
|
||||
\glqq Anführungszeichen\grqq % doppelte quotes
|
||||
```
|
||||
* französische Anführungszeichen: french left/right quotes
|
||||
```tex
|
||||
\flqq guillemets\frqq
|
||||
```
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Sonderzeichen & Symbole</h2>
|
||||
<h3>Anführungszeichen</h3>
|
||||
<ul>
|
||||
<li>Englisch: ` ``quote'' ` <br>→ “quote”</li>
|
||||
<li>Deutsch: `"` in Kombination mit dem ngerman-Paket als Umlautakzent definiert: `"Anführungszeichen"` <br>→ Änführungszeichen"</li>
|
||||
<li>Ersatz: german left/right quotes</li>
|
||||
<li>`\glq einfache Anführungszeichen\grq` <br>→ ‚einfache …‘</li>
|
||||
<li>`\glqq doppelte Anführungszeichen\grqq` <br>→ „doppelte …“</li>
|
||||
<li>französische Anführungszeichen: french left/right quotes</li>
|
||||
<li>`\flqq Guillements\frqq` <br>→ »Guillemets«</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
### Die Sache mit den Strichen...
|
||||
* Bindestrich -
|
||||
```tex
|
||||
-
|
||||
Textsatz-System % in zusammengesetzen Wörter
|
||||
Ein- und Ausgabe % als Ergänzungsstrich
|
||||
```
|
||||
* Gedankenstrich --
|
||||
```tex
|
||||
--
|
||||
LaTeX ist -- wie Typograf*innen bestätigen können -- ein exzellentes Textsatzsystem. % für Einschübe
|
||||
Mit LaTeX kann man sogar Gedichte und Kochrezepte setzen -- der Fantasie sind keine Grenzen gesetzt. % dort, wo in der gesprochenen Sprache eine Pause gemacht wird
|
||||
```
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Sonderzeichen & Symbole</h2>
|
||||
<h3>Die Sache mit den Strichen …</h3>
|
||||
<ul>
|
||||
<li>Bindestrich -</li>
|
||||
</ul>
|
||||
<pre class="lang-tex hljs"><code>Textsatz-System % in zusammengesetzen Wörter
|
||||
Ein- und Ausgabe % als Ergänzungsstrich</code></pre>
|
||||
<ul>
|
||||
<li>Gedankenstrich –</li>
|
||||
</ul>
|
||||
<pre class="lang-tex hljs"><code>LaTeX ist -- wie Typograf*innen bestätigen können -- ein exzellentes Textsatzsystem. % für Einschübe
|
||||
Mit LaTeX kann man sogar Gedichte und Kochrezepte setzen -- der Fantasie sind keine Grenzen gesetzt. % dort, wo in der gesprochenen Sprache eine Pause gemacht wird</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
### Euro 💸
|
||||
(Paket <code class="snippet">eurosym</code>, Befehl <code class="snippet">\euro</code>)
|
||||
|
||||
```tex
|
||||
LaTeX zu verwenden kostet 0 \euro.
|
||||
```
|
||||
|
||||
LaTeX zu verwenden kostet 0 €.
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Sonderzeichen & Symbole</h2>
|
||||
<h3>Euro 💸</h3>
|
||||
<ul>
|
||||
<li>Paket <code class="snippet">eurosym</code></li>
|
||||
<li>Befehl <code class="snippet">\euro</code></li>
|
||||
</ul>
|
||||
<pre class="lang-tex hljs"><code>LaTeX zu verwenden kostet 0 \euro.</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
### Detexify to the rescue! ⛑️
|
||||
- Symbol malen und erkennen lassen: http://detexify.kirelabs.org/classify.html
|
||||
- Ausführliche Liste an verwendbaren Symbolen: http://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
|
||||
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h2>Sonderzeichen & Symbole</h2>
|
||||
<h3>Detexify to the rescue! ⛑️</h3>
|
||||
<ul>
|
||||
<li>Symbol malen und erkennen lassen: http://detexify.kirelabs.org/classify.html</li>
|
||||
<li>Ausführliche Liste an verwendbaren Symbolen: http://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
# Literaturverwaltung
|
||||
|
||||
"Literatur ist nichts für Bürokraten, sie sollte nicht verwaltet werden, sondern gelesen und gelebt."
|
||||
Zitat Zarathustra ;)
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h1>Literatur­verwaltung</h1>
|
||||
<blockquote>Literatur ist nichts für Bürokraten,<br>sie sollte nicht verwaltet werden,<br>sondern gelesen und gelebt.« <cite>Zarathustra</cite></blockquote>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1 +1,5 @@
|
||||
# Ausblick
|
||||
<div class="layout-content-only">
|
||||
<div class="layout-content">
|
||||
<h1>Ausblick</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user