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
3dcc9e1d
Commit
3dcc9e1d
authored
8 years ago
by
Thorsten Wißmann
Browse files
Options
Downloads
Patches
Plain Diff
Move sloped labels a bit to the outside
parent
e1da2ce8
No related branches found
Branches containing commit
Tags
wahl2016
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wahlergebnis.tex
+6
-1
6 additions, 1 deletion
wahlergebnis.tex
with
6 additions
and
1 deletion
wahlergebnis.tex
+
6
−
1
View file @
3dcc9e1d
...
...
@@ -71,6 +71,11 @@
? (
\labelarc
- 180)
:
\labelarc
}
\pgfmathsetmacro
{
\middle
}{
0.5*
\startarc
+0.5*
\endarc
}
\pgfmathsetmacro
{
\labelradius
}{
(
\percent
< 20)
? (0.6*
\radius
+0.4*
\smallradius
)
: (0.5*
\radius
+0.5*
\smallradius
)
}
\ifthenelse
{
\lengthtest
{
\percent
pt < 20.0pt
}}{
\edef\mypath
{
(
\startarc
:
\smallradius
cm)
-- (
\endarc
:
\smallradius
cm)
...
...
@@ -103,7 +108,7 @@
% ] (-\radius cm,0) -| (\radius cm,\radius cm) -| cycle;
\draw
[segment,fill=\curcolor,draw=boxbg]
\mypath
;
\node
[anchor=center,rotate=
\labelarc
, shape border rotate=0]
at (
\middle
:
0.5*
\radius
+0.5*
\smal
lradius
)
at (
\middle
:
\labe
lradius
)
{
\sf
{
\color
{
percentcolor
}
\seats\ \ifthenelse
{
\equal
{
\seats
}{
1
}}{
Sitz
}{
Sitze
}}}
;
%\draw (\middle:\radius) -- (\middle:0.5+\radius) node[\anchor] {\name};
...
...
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