Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wahlergebnis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
StuveFAU
wahlergebnis
Commits
17281d8b
Commit
17281d8b
authored
12 years ago
by
Thorsten Wißmann
Browse files
Options
Downloads
Patches
Plain Diff
initial
parents
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+20
-0
20 additions, 0 deletions
Makefile
wahlergebnis.tex
+68
-0
68 additions, 0 deletions
wahlergebnis.tex
with
88 additions
and
0 deletions
Makefile
0 → 100644
+
20
−
0
View file @
17281d8b
SOURCE
=
$(
shell
ls
*
.tex
)
RM
=
rm
.PHONY
:
all clean print
all
:
$(SOURCE:.tex=.pdf)
%.pdf
:
%.tex
pdflatex
-interaction
nonstopmode
$<
clean
:
$(
RM
)
-f
*
.log
*
.aux
*
.pdf
*
.o
*
.tex.include
print
:
@
echo
'==>'
all targets:
@
echo
$(
SOURCE:.tex
=
.pdf
)
|tr
' '
'\n'
This diff is collapsed.
Click to expand it.
wahlergebnis.tex
0 → 100644
+
68
−
0
View file @
17281d8b
\documentclass
[a4,landscape,12pt]
{
scrartcl
}
\usepackage
{
ngerman
}
\usepackage
[utf8]
{
inputenc
}
\usepackage
{
enumerate
}
\usepackage
{
amsmath
}
\usepackage
{
amsfonts
}
\usepackage
{
stmaryrd
}
% für \lightning
\usepackage
{
float
}
\usepackage
{
units
}
% für \nicefrac
\usepackage
{
amssymb
}
\usepackage
{
array
}
\usepackage
{
tikz
}
\usetikzlibrary
{
arrows
}
\newcommand
{
\N
}{
\mathbb
{
N
}}
\newcommand
{
\Z
}{
\mathbb
{
Z
}}
\newcommand
{
\Q
}{
\mathbb
{
Q
}}
\newcommand
{
\R
}{
\mathbb
{
R
}}
\newcommand
{
\C
}{
\mathbb
{
C
}}
\newcommand
{
\Sp
}{
\text
{
Sp
}}
\newcommand
{
\F
}{
\mathbb
{
F
}}
\newcommand
{
\M
}{
\mathfrak
{
M
}}
\renewcommand
{
\Re
}{
\operatorname
{
Re
}}
\renewcommand
{
\Im
}{
\operatorname
{
Im
}}
\newcommand
{
\diff
}
[2]
{
\frac
{
\partial
#1
}{
\partial
#2
}}
\newcommand
{
\dx
}{
\text
{
d
}
x
}
\newcommand
{
\dz
}{
\text
{
d
}
z
}
\newcommand
{
\dt
}{
\text
{
d
}
t
}
\newcommand
{
\TODO
}{{
\color
{
red
}{
TODO
}}}
\newcommand
{
\intab
}{
\int
_
a
^
b
}
\renewcommand
{
\theequation
}{
\Roman
{
equation
}}
\setlength
{
\parindent
}{
0pt
}
\setlength
{
\parskip
}{
6pt
}
\renewcommand
{
\labelenumi
}{
\roman
{
enumi
}
)
}
\begin{document}
% more math and tikz things at:
% http://tex.stackexchange.com/questions/12859/define-a-variable-in-tikz
\definecolor
{
myghg
}{
HTML
}{
4e9a06
}
\definecolor
{
myrcds
}{
HTML
}{
204a87
}
\definecolor
{
myblue
}{
HTML
}{
92dcec
}
\begin{tikzpicture}
\pgfmathsetmacro
{
\curarc
}{
0
}
\pgfmathsetmacro
{
\radius
}{
3
}
\foreach
\percent
/
\anchor
/
\name
/
\curcolor
[remember=
\curarc
] in
{
58.5/above/gemeinsam/myghg,
10.6/below/Janna/myblue,
12.8/below/Jule/myblue,
9.6/below/Marcus/myrcds,
8.5/right/Paul/red
%
}
{
\pgfmathsetmacro
{
\lastarc
}{
\curarc
}
\pgfmathsetmacro
{
\curarc
}{
\lastarc
+3.6*
\percent
}
\pgfmathsetmacro
{
\middle
}{
0.5*
\lastarc
+0.5*
\curarc
}
\draw
[color=red, very thick]
(0,0) -- (
\curarc
:
\radius
cm);
\draw
[fill=\curcolor, very thick]
(0,0) -- (
\curarc
:
\radius
cm) arc
(
\curarc
:
\lastarc
:
\radius
cm)
node at (
\middle
:0.6*
\radius
)
{
\percent
\%
}
;
\draw
(
\middle
:
\radius
) -- (
\middle
:0.5+
\radius
) node[
\anchor
]
{
\name
}
;
}
;
\end{tikzpicture}
\end{document}
% vim: tw=80
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