Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
talks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
talks
Commits
0e980ec6
Commit
0e980ec6
authored
5 years ago
by
Valentin Bruch
Browse files
Options
Downloads
Patches
Plain Diff
latex makro: margin box
parent
4f4ef650
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
workshops/latex/examples/minimal_standalone.tex
+0
-4
0 additions, 4 deletions
workshops/latex/examples/minimal_standalone.tex
workshops/latex/latex.tex
+17
-3
17 additions, 3 deletions
workshops/latex/latex.tex
with
17 additions
and
7 deletions
workshops/latex/examples/minimal_standalone.tex
deleted
100644 → 0
+
0
−
4
View file @
4f4ef650
\documentclass
[ngerman]
{
standalone
}
\begin{document}
Hallo Welt!
\end{document}
This diff is collapsed.
Click to expand it.
workshops/latex/latex.tex
+
17
−
3
View file @
0e980ec6
...
...
@@ -8,6 +8,7 @@
\usepackage
{
dtk-logos
}
\usepackage
{
hyperref
}
\usepackage
{
tikz
}
\usetikzlibrary
{
backgrounds, fit, matrix, calc
}
\usepackage
{
listings
}
\usepackage
{
calc
}
\graphicspath
{{
figures/
}{
examples/
}}
...
...
@@ -25,6 +26,20 @@
und der Aachener Linux User Group
}
\newcommand\marginbox
[3][2pt]
{
\begin{tikzpicture}
[even odd rule, scale=1]
\node
[anchor=north west]
(text)
{
%
\begin{minipage}
{
#1
}
%
#2
%
\end{minipage}
%
}
;
\begin{pgfonlayer}
{
background
}
\node
[draw opacity=.5, draw=blue, line width=#1, inner sep=2pt, fit = (text)]
{}
;
\end{pgfonlayer}
\end{tikzpicture}
}
\begin{document}
\begin{frame}
{
OSAK
\LaTeX
-Workshop
}{
Installation einer
\TeX
-Distribution
}
...
...
@@ -48,7 +63,7 @@
\begin{frame}
{
Aufbau eines
\LaTeX
-Dokuments
}
\begin{columns}
[T]
\begin{column}
{
.35
\textwidth
}
\LaTeX
übersetzt
\\
{
\LaTeX
}
übersetzt
\\
Text in ein PDF
\begin{itemize}
\item
Formatierung durch
\\
Befehle im Text
...
...
@@ -76,8 +91,7 @@
(2pt,-15pt) rectangle (
\textwidth
-2pt, -.4
\textwidth
+2pt);
\node
[anchor=north west]
at (0pt, 0pt)
{
PDF viewer: HelloWorld.pdf
}
;
\node
[anchor=north west]
at (2pt, -15pt)
{
\parbox
[t][.4\textwidth-27pt][c]
{
\textwidth
-12pt
}{
%
\centering
\includegraphics
{
examples/minimal
_
standalone.pdf
}
\hspace
{
.1
\textwidth
}
Hallo Welt!
}}
;
\end{tikzpicture}
\end{column}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment