Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Victor Cameo Ponz
ueabs
Commits
b0bca897
Commit
b0bca897
authored
Nov 22, 2017
by
Victor
Browse files
NEW timeline from 4IP 7.2B
parent
a96c3259
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/timeline/4ip_72b.tex
0 → 100644
View file @
b0bca897
\documentclass
[border=10pt]
{
standalone
}
\usepackage
{
tikz
}
\usetikzlibrary
{
timeline
}
\begin{document}
\begin{tikzpicture}
[timespan=
{}
]
% timespan={Day} -> now we have days as reference
% timespan={} -> no label is displayed for the timespan
% default timespan is 'Week'
\timeline
[custom interval=true]
{
2016, 2017
}
% \timeline[custom interval=true]{3,...,9} -> i.e., from Day 3 to Day 9
% \timeline{8} -> i.e., from Week 1 to Week 8
% put here the phases
\begin{phases}
\initialphase
{
involvement degree=3cm,phase color=black
}
% code first idea: code call & UEABS 0
\phase
{
between week=0 and 1 in 0.8,involvement degree=2.25cm, phase color=black
}
% bench suite definition 1
\phase
{
between week=1 and 2 in 0.2,involvement degree=4cm, phase color=green
}
% first run 2
\phase
{
between week=1 and 2 in 0.8,involvement degree=2.5cm, phase color=green
}
% Xcompile & Xexecution 3
\phase
{
between week=1 and 2 in 1,involvement degree=1.75cm, phase color=green
}
% run on latest Xeon Phi and GPUs available 4
\phase
{
between week=1 and 2 in 1.2,phase color=blue!80!cyan, involvement degree=3cm
}
% writte D7.5 & publish BM suite on prace.ri 5
\phase
{
between week=1 and 2 in 1.4,phase color=blue!80!cyan, involvement degree=2cm
}
% review of D7.5 6
\phase
{
between week=1 and 2 in 0.6,involvement degree=2cm, phase color=green
}
% Write Guide 7
\end{phases}
% put here the milestones
\addmilestone
{
at=phase-1.270,direction=270:0.5cm,text=
{
MS27/M11
}
,text options=
{
below
}}
% dec 2015
\addmilestone
{
at=phase-6.330,direction=300:1.5cm,text=
{
MS32/M26
}
,text options=
{
below
}}
% Apr 2017
\addmilestone
{
at=phase-6.330,direction=315:1cm,text=
{
D7.5/M26
}
,text options=
{
below
}}
% Apr 2017
% unofficial milstone
\addmilestone
{
at=phase-0.30,direction=90:1cm,text=
{
Codes defined
}
,text options=
{
above
}}
% mid 2015
\addmilestone
{
at=phase-1.30,direction=90:1cm,text=
{
Test cases defined
}
,text options=
{
above
}}
% dec 2015
\addmilestone
{
at=phase-2.30,direction=90:1.5cm,text=
{
First run passed
}
,text options=
{
above
}}
% june 2016
\addmilestone
{
at=phase-7.330,direction=225:1.5cm,text=
{
Guides written
}
,text options=
{
below
}}
% june 2016
\addmilestone
{
at=phase-3.30,direction=110:1.5cm,text=
{
Cross compilation successful
}
,text options=
{
above
}}
% june 2016
\addmilestone
{
at=phase-4.30,direction=70:1.3cm,text=
{
Latest arch run passed
}
,text options=
{
above
}}
% feb 2017
\addmilestone
{
at=phase-5.330,direction=255:2cm,text=
{
Deliveries submitted to review
}
,text options=
{
below
}}
% May 2015
% informative dates
\addmilestone
{
at=phase-0.120,direction=105:1cm,text=
{
Kickoff telcon
}
,text options=
{
above
}}
% May 2015
%\addmilestone{at=phase-2.330,direction=270:1.5cm,text={F2F@Trondheim},text options={below}} % june 2016
%\addmilestone{at=phase-3.300,direction=270:0.5cm,text={F2F@Sofia},text options={below}} % june 2016
%\addmilestone{at=phase-4.330,direction=270:1.5cm,text={AH@Athens},text options={below}} % feb 2017
%\addmilestone{at=phase-6.90,direction=70:1.9cm,text={PCP machines availables -- Q1 or Q2},text options={above}} % Q2 2017
\end{tikzpicture}
\end{document}
doc/timeline/tikzlibrarytimeline.code.tex
0 → 100644
View file @
b0bca897
% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
% COPYRIGHT 2014 - Claudio Fiandrino
% Released under the LaTeX Project Public License v1.3c or later
%
% email: <claudio dot fiandrino at gmail dot com>
%
% Timeline TikZ library version 0.3a - 19/07/2014
\usetikzlibrary
{
backgrounds,calc
}
\pgfkeys
{
/tikz/.cd,
timespan/.store in=
\timespan
,
timespan=Week,
timeline width/.store in=
\timelinewidth
,
timeline width=20,
timeline height/.store in=
\timelineheight
,
timeline height=0.5,
timeline offset/.store in=
\timelineoffset
,
timeline offset=0.15,
initial week/.store in=
\initialweek
,
initial week=1,
end week/.store in=
\endweek
,
end week=2,
time point/.store in=
\timepoint
,
time point=0.5,
between day/.style args=
{
#1 and #2 in #3
}{
% auxiliary style for days
initial week=#1,
end week=#2,
time point=#3,
}
,
between week/.style args=
{
#1 and #2 in #3
}{
% style for weeks
initial week=#1,
end week=#2,
time point=#3,
}
,
between month/.style args=
{
#1 and #2 in #3
}{
% auxiliary style for months
initial week=#1,
end week=#2,
time point=#3,
}
,
between year/.style args=
{
#1 and #2 in #3
}{
% auxiliary style for years
initial week=#1,
end week=#2,
time point=#3,
}
,
involvement degree/.store in=
\involvdegree
,
involvement degree=2cm,
phase color/.store in=
\phasecol
,
phase color=red!50!orange,
phase appearance/.style=
{
circle,
opacity=0.3,
minimum size=
\involvdegree
,
fill=
\phasecol
}
,
}
% settings to customize aspect of timeline
\newif\ifcustominterval
\pgfkeys
{
/tikz/timeline/.cd,
custom interval/.is if=custominterval,
custom interval=false,
}
% settings to deploy milestones
\pgfkeys
{
/tikz/milestone/.cd,
at/.store in=
\msstartpoint
,
at=phase-1.north,
circle radius/.store in=
\milestonecircleradius
,
circle radius=0.1cm,
direction/.store in=
\msdirection
,
direction=90:2cm,
text/.store in=
\mstext
,
text=
{}
,
text options/.code=
{
\tikzset
{
#1
}}
,
}
\newcommand
{
\reftimespan
}{
\MakeLowerCase
{
\timespan
}}
\newcommand
{
\timeline
}
[2][]
{
\pgfkeys
{
/tikz/timeline/.cd,#1
}
\draw
[fill,opacity=0.8]
(0,0) rectangle (
\timelinewidth
,
\timelineheight
);
\shade
[top color=black, bottom color=white,middle color=black!20]
(0,0) rectangle (
\timelinewidth
,-
\timelineoffset
);
\shade
[top color=white, bottom color=black,middle color=black!20]
(0,
\timelineheight
) rectangle (
\timelinewidth
,
\timelineheight
+
\timelineoffset
);
\ifcustominterval
%
\foreach
\smitem
[count=
\xi
] in
{
#2
}
{
\global\let\maxsmitem\xi
}
%
\else
%
\foreach
\smitem
[count=
\xi
] in
{
1,...,#2
}
{
\global\let\maxsmitem\xi
}
%
\fi
%
\pgfmathsetmacro\position
{
\timelinewidth
/(
\maxsmitem
+1)
}
\node
at (0,0.5*
\timelineheight
)(
\timespan
-0)
{
\phantom
{
Week 0
}}
;
\ifcustominterval
%
\foreach
\x
[count=\xi]
in
{
#2
}{
%
\node
[text=white,text depth=0pt]
at +(
\xi*\position
,0.5*
\timelineheight
) (
\timespan
-
\xi
)
{
\timespan\ \x
}
;
%
}
%
\else
%
\foreach
\x
[count=\xi]
in
{
1,...,#2
}{
%
\node
[text=white, text depth=0pt]
at +(
\xi*\position
,0.5*
\timelineheight
) (
\timespan
-
\xi
)
{
\timespan\ \x
}
;
%
}
%
\fi
%
}
\newcounter
{
involv
}
\setcounter
{
involv
}{
0
}
\newcommand
{
\phase
}
[1]
{
\stepcounter
{
involv
}
\node
[phase appearance,#1]
(phase-
\theinvolv
)
at (
$
(
\timespan
-
\initialweek
)!
\timepoint
!(
\timespan
-
\endweek
)
$
)
{}
;
}
\newcommand
{
\initialphase
}
[1]
{
\node
[phase appearance,#1,anchor=west,between week=0 and 1 in 0,]
(phase-
\theinvolv
)
at (
$
(
\timespan
-
0
)!
0
!(
\timespan
-
1
)
$
)
{}
;
\setcounter
{
involv
}{
0
}
}
\newenvironment
{
phases
}{
\begin{pgfonlayer}
{
background
}}{
\end{pgfonlayer}
}
\newcommand
{
\addmilestone
}
[1]
{
\pgfkeys
{
/tikz/milestone/.cd,#1
}
\draw
[double,fill]
(
\msstartpoint
) circle [radius=
\milestonecircleradius
];
\draw
(
\msstartpoint
)--++(
\msdirection
)node[/tikz/milestone/text options]
{
\mstext
}
;
}
% HISTORY
% 0.1 -> initial release
% 0.2 -> customizable timespan label
% 0.3 -> \timeline command with custom intervals
% styles ``between x''
% removed unnecessary call to xstring
% 0.3a -> text depth for timeline labels
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment