Tikzpicture timeline + underbrace












2














I have created a timeline with ticzpicture which looks nice (and is working) but I was wondering if there was any way to put underbraces with text below it?
Here is a picture of what I mean:
enter image description here



This is my code:



    documentclass[12pt,a4paper]{article}

usepackage{tikz}

usetikzlibrary{timeline}

begin{document}

begin{tikzpicture}[timespan={}]

timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

begin{phases}

%A 2014
phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
%C 2014
phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
%R 2014
phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


%A 2016
phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
%C 2016
phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
%R 2016
phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



%A 2018
phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
%C 2018
phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
%R 2018
phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


end{phases}
%2014
addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



%2016

addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


%2018

addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}

end{tikzpicture}

end{document}


Any help is gladly appreciated!:) Thanks!










share|improve this question









New contributor




Ayla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Oops, sorry! I edited it and will check out your solution tomorrow, thank you already for the fast reply!:) @marmot
    – Ayla
    2 hours ago


















2














I have created a timeline with ticzpicture which looks nice (and is working) but I was wondering if there was any way to put underbraces with text below it?
Here is a picture of what I mean:
enter image description here



This is my code:



    documentclass[12pt,a4paper]{article}

usepackage{tikz}

usetikzlibrary{timeline}

begin{document}

begin{tikzpicture}[timespan={}]

timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

begin{phases}

%A 2014
phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
%C 2014
phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
%R 2014
phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


%A 2016
phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
%C 2016
phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
%R 2016
phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



%A 2018
phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
%C 2018
phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
%R 2018
phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


end{phases}
%2014
addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



%2016

addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


%2018

addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}

end{tikzpicture}

end{document}


Any help is gladly appreciated!:) Thanks!










share|improve this question









New contributor




Ayla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Oops, sorry! I edited it and will check out your solution tomorrow, thank you already for the fast reply!:) @marmot
    – Ayla
    2 hours ago
















2












2








2


1





I have created a timeline with ticzpicture which looks nice (and is working) but I was wondering if there was any way to put underbraces with text below it?
Here is a picture of what I mean:
enter image description here



This is my code:



    documentclass[12pt,a4paper]{article}

usepackage{tikz}

usetikzlibrary{timeline}

begin{document}

begin{tikzpicture}[timespan={}]

timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

begin{phases}

%A 2014
phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
%C 2014
phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
%R 2014
phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


%A 2016
phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
%C 2016
phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
%R 2016
phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



%A 2018
phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
%C 2018
phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
%R 2018
phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


end{phases}
%2014
addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



%2016

addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


%2018

addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}

end{tikzpicture}

end{document}


Any help is gladly appreciated!:) Thanks!










share|improve this question









New contributor




Ayla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have created a timeline with ticzpicture which looks nice (and is working) but I was wondering if there was any way to put underbraces with text below it?
Here is a picture of what I mean:
enter image description here



This is my code:



    documentclass[12pt,a4paper]{article}

usepackage{tikz}

usetikzlibrary{timeline}

begin{document}

begin{tikzpicture}[timespan={}]

timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

begin{phases}

%A 2014
phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
%C 2014
phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
%R 2014
phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


%A 2016
phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
%C 2016
phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
%R 2016
phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



%A 2018
phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
%C 2018
phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
%R 2018
phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


end{phases}
%2014
addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



%2016

addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


%2018

addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}

end{tikzpicture}

end{document}


Any help is gladly appreciated!:) Thanks!







tikz-pgf underbrace timeline






share|improve this question









New contributor




Ayla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Ayla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 hours ago







Ayla













New contributor




Ayla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 4 hours ago









AylaAyla

112




112




New contributor




Ayla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Ayla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Ayla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    Oops, sorry! I edited it and will check out your solution tomorrow, thank you already for the fast reply!:) @marmot
    – Ayla
    2 hours ago
















  • 1




    Oops, sorry! I edited it and will check out your solution tomorrow, thank you already for the fast reply!:) @marmot
    – Ayla
    2 hours ago










1




1




Oops, sorry! I edited it and will check out your solution tomorrow, thank you already for the fast reply!:) @marmot
– Ayla
2 hours ago






Oops, sorry! I edited it and will check out your solution tomorrow, thank you already for the fast reply!:) @marmot
– Ayla
2 hours ago












2 Answers
2






active

oldest

votes


















3














Welcome to TeX.SE! The idea of this site is to exchange codes. In your post, unfortunately, the preamble is missing, meaning that those who are willing to answer have to speculate. So I guess you have downloaded the timeline library from here. Looking at the code, I have not seen any obvious way to add the braces in an elegant way without changing the library code. What one, however, always can do is to "hack" it by smuggling something into the code using every node/.append style and the like. Of course, this is more fragile than a solution that could emerge by writing the library in a different way.



documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{timeline,fit,decorations.pathreplacing}
newcounter{mynode}
tikzset{step node/.code={stepcounter{mynode}%typeout{themynode}
}}
begin{document}
begin{tikzpicture}[timespan={},every node/.append style={step node,
alias=mynode-themynode}]

timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

begin{phases}

%A 2014
phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
%C 2014
phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
%R 2014
phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


%A 2016
phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
%C 2016
phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
%R 2016
phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



%A 2018
phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
%C 2018
phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
%R 2018
phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


end{phases}
%2014
addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



%2016

addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


%2018

addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
node[fit=(mynode-17) (mynode-19) (mynode-21)] (f1){};
draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
node[midway,below]{something};
node[fit=(mynode-23) (mynode-25) (mynode-27)] (f2){};
draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
node[midway,below]{something else};
node[fit=(mynode-29) (mynode-31) (mynode-33)] (f3){};
draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
node[midway,below]{hibernate};
end{tikzpicture}
end{document}


enter image description here



Another option, yielding the same result in a less fragile way, which however requires more typing, is



documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{timeline,fit,decorations.pathreplacing}
begin{document}
begin{tikzpicture}[timespan={}]

timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

begin{phases}

%A 2014
phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
%C 2014
phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
%R 2014
phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


%A 2016
phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
%C 2016
phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
%R 2016
phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



%A 2018
phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
%C 2018
phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
%R 2018
phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


end{phases}
%2014
addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
begin{scope}[every node/.append style={alias=mynode-1}]
addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text
options={below}}
end{scope}


addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
begin{scope}[every node/.append style={alias=mynode-2}]
addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}
end{scope}

addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
begin{scope}[every node/.append style={alias=mynode-3}]
addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}
end{scope}


%2016

addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
begin{scope}[every node/.append style={alias=mynode-4}]
addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}
end{scope}

addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
begin{scope}[every node/.append style={alias=mynode-5}]
addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}
end{scope}

addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
begin{scope}[every node/.append style={alias=mynode-6}]
addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}
end{scope}

%2018

addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
begin{scope}[every node/.append style={alias=mynode-7}]
addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}
end{scope}

addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
begin{scope}[every node/.append style={alias=mynode-8}]
addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}
end{scope}

addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
begin{scope}[every node/.append style={alias=mynode-9}]
addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
end{scope}

node[fit=(mynode-1) (mynode-2) (mynode-3)] (f1){};
draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
node[midway,below]{something};
node[fit=(mynode-4) (mynode-5) (mynode-6)] (f2){};
draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
node[midway,below]{something else};
node[fit=(mynode-7) (mynode-8) (mynode-9)] (f3){};
draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
node[midway,below]{hibernate};
end{tikzpicture}
end{document}





share|improve this answer























  • Missing 2019 :-). Wonderful.
    – Sebastiano
    3 hours ago






  • 1




    Amazing, as usual. Now I ask to myself: is there something that TikZ (ie. @marmot) can not do?
    – Sigur
    3 hours ago






  • 1




    @Sigur Like getting up early during the hibernation season?
    – marmot
    3 hours ago






  • 1




    @marmot, hibernation in theory; in fact, TikZ never sleeps. lol
    – Sigur
    3 hours ago






  • 1




    @marmot,no problem. 9pm here and TBBT on Warner channel.
    – Sigur
    2 hours ago



















2














Something like this perhaps?



documentclass[border = 10pt]{standalone}
usepackage{tikz}
usetikzlibrary{timeline}
usetikzlibrary{decorations.pathreplacing}

begin{document}
begin{tikzpicture}[timespan={}]

timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

begin{phases}

%A 2014
phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
%C 2014
phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
%R 2014
phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


%A 2016
phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
%C 2016
phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
%R 2016
phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



%A 2018
phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
%C 2018
phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
%R 2018
phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


end{phases}
%2014
addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



%2016

addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


%2018

addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}

draw [decorate, blue, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
([yshift = -5cm]phase-1.180) -- ([yshift = -5cm]phase-3.0)
node [black, midway, yshift = -0.5cm, align = center] {Some text \ with breaks};

draw [decorate, red, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
([yshift = -5cm]phase-4.180) -- ([yshift = -5cm]phase-6.0)
node [black, midway, yshift = -0.5cm, align = center] {extra text};

draw [decorate, green!80!black, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
([yshift = -5cm]phase-7.180) -- ([yshift = -5cm]phase-9.0)
node [black, midway, yshift = -0.5cm, align = center] {This phase is the best};


end{tikzpicture}
end{document}


enter image description here






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });






    Ayla is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f469434%2ftikzpicture-timeline-underbrace%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Welcome to TeX.SE! The idea of this site is to exchange codes. In your post, unfortunately, the preamble is missing, meaning that those who are willing to answer have to speculate. So I guess you have downloaded the timeline library from here. Looking at the code, I have not seen any obvious way to add the braces in an elegant way without changing the library code. What one, however, always can do is to "hack" it by smuggling something into the code using every node/.append style and the like. Of course, this is more fragile than a solution that could emerge by writing the library in a different way.



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{timeline,fit,decorations.pathreplacing}
    newcounter{mynode}
    tikzset{step node/.code={stepcounter{mynode}%typeout{themynode}
    }}
    begin{document}
    begin{tikzpicture}[timespan={},every node/.append style={step node,
    alias=mynode-themynode}]

    timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

    begin{phases}

    %A 2014
    phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
    %C 2014
    phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
    %R 2014
    phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


    %A 2016
    phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
    %C 2016
    phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
    %R 2016
    phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



    %A 2018
    phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
    %C 2018
    phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
    %R 2018
    phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


    end{phases}
    %2014
    addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



    %2016

    addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


    %2018

    addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
    node[fit=(mynode-17) (mynode-19) (mynode-21)] (f1){};
    draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
    node[midway,below]{something};
    node[fit=(mynode-23) (mynode-25) (mynode-27)] (f2){};
    draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
    node[midway,below]{something else};
    node[fit=(mynode-29) (mynode-31) (mynode-33)] (f3){};
    draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
    node[midway,below]{hibernate};
    end{tikzpicture}
    end{document}


    enter image description here



    Another option, yielding the same result in a less fragile way, which however requires more typing, is



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{timeline,fit,decorations.pathreplacing}
    begin{document}
    begin{tikzpicture}[timespan={}]

    timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

    begin{phases}

    %A 2014
    phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
    %C 2014
    phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
    %R 2014
    phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


    %A 2016
    phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
    %C 2016
    phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
    %R 2016
    phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



    %A 2018
    phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
    %C 2018
    phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
    %R 2018
    phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


    end{phases}
    %2014
    addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-1}]
    addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text
    options={below}}
    end{scope}


    addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-2}]
    addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-3}]
    addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}


    %2016

    addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-4}]
    addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-5}]
    addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-6}]
    addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}

    %2018

    addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-7}]
    addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-8}]
    addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-9}]
    addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}

    node[fit=(mynode-1) (mynode-2) (mynode-3)] (f1){};
    draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
    node[midway,below]{something};
    node[fit=(mynode-4) (mynode-5) (mynode-6)] (f2){};
    draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
    node[midway,below]{something else};
    node[fit=(mynode-7) (mynode-8) (mynode-9)] (f3){};
    draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
    node[midway,below]{hibernate};
    end{tikzpicture}
    end{document}





    share|improve this answer























    • Missing 2019 :-). Wonderful.
      – Sebastiano
      3 hours ago






    • 1




      Amazing, as usual. Now I ask to myself: is there something that TikZ (ie. @marmot) can not do?
      – Sigur
      3 hours ago






    • 1




      @Sigur Like getting up early during the hibernation season?
      – marmot
      3 hours ago






    • 1




      @marmot, hibernation in theory; in fact, TikZ never sleeps. lol
      – Sigur
      3 hours ago






    • 1




      @marmot,no problem. 9pm here and TBBT on Warner channel.
      – Sigur
      2 hours ago
















    3














    Welcome to TeX.SE! The idea of this site is to exchange codes. In your post, unfortunately, the preamble is missing, meaning that those who are willing to answer have to speculate. So I guess you have downloaded the timeline library from here. Looking at the code, I have not seen any obvious way to add the braces in an elegant way without changing the library code. What one, however, always can do is to "hack" it by smuggling something into the code using every node/.append style and the like. Of course, this is more fragile than a solution that could emerge by writing the library in a different way.



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{timeline,fit,decorations.pathreplacing}
    newcounter{mynode}
    tikzset{step node/.code={stepcounter{mynode}%typeout{themynode}
    }}
    begin{document}
    begin{tikzpicture}[timespan={},every node/.append style={step node,
    alias=mynode-themynode}]

    timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

    begin{phases}

    %A 2014
    phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
    %C 2014
    phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
    %R 2014
    phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


    %A 2016
    phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
    %C 2016
    phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
    %R 2016
    phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



    %A 2018
    phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
    %C 2018
    phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
    %R 2018
    phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


    end{phases}
    %2014
    addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



    %2016

    addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


    %2018

    addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
    node[fit=(mynode-17) (mynode-19) (mynode-21)] (f1){};
    draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
    node[midway,below]{something};
    node[fit=(mynode-23) (mynode-25) (mynode-27)] (f2){};
    draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
    node[midway,below]{something else};
    node[fit=(mynode-29) (mynode-31) (mynode-33)] (f3){};
    draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
    node[midway,below]{hibernate};
    end{tikzpicture}
    end{document}


    enter image description here



    Another option, yielding the same result in a less fragile way, which however requires more typing, is



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{timeline,fit,decorations.pathreplacing}
    begin{document}
    begin{tikzpicture}[timespan={}]

    timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

    begin{phases}

    %A 2014
    phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
    %C 2014
    phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
    %R 2014
    phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


    %A 2016
    phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
    %C 2016
    phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
    %R 2016
    phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



    %A 2018
    phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
    %C 2018
    phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
    %R 2018
    phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


    end{phases}
    %2014
    addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-1}]
    addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text
    options={below}}
    end{scope}


    addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-2}]
    addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-3}]
    addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}


    %2016

    addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-4}]
    addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-5}]
    addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-6}]
    addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}

    %2018

    addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-7}]
    addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-8}]
    addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-9}]
    addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}

    node[fit=(mynode-1) (mynode-2) (mynode-3)] (f1){};
    draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
    node[midway,below]{something};
    node[fit=(mynode-4) (mynode-5) (mynode-6)] (f2){};
    draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
    node[midway,below]{something else};
    node[fit=(mynode-7) (mynode-8) (mynode-9)] (f3){};
    draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
    node[midway,below]{hibernate};
    end{tikzpicture}
    end{document}





    share|improve this answer























    • Missing 2019 :-). Wonderful.
      – Sebastiano
      3 hours ago






    • 1




      Amazing, as usual. Now I ask to myself: is there something that TikZ (ie. @marmot) can not do?
      – Sigur
      3 hours ago






    • 1




      @Sigur Like getting up early during the hibernation season?
      – marmot
      3 hours ago






    • 1




      @marmot, hibernation in theory; in fact, TikZ never sleeps. lol
      – Sigur
      3 hours ago






    • 1




      @marmot,no problem. 9pm here and TBBT on Warner channel.
      – Sigur
      2 hours ago














    3












    3








    3






    Welcome to TeX.SE! The idea of this site is to exchange codes. In your post, unfortunately, the preamble is missing, meaning that those who are willing to answer have to speculate. So I guess you have downloaded the timeline library from here. Looking at the code, I have not seen any obvious way to add the braces in an elegant way without changing the library code. What one, however, always can do is to "hack" it by smuggling something into the code using every node/.append style and the like. Of course, this is more fragile than a solution that could emerge by writing the library in a different way.



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{timeline,fit,decorations.pathreplacing}
    newcounter{mynode}
    tikzset{step node/.code={stepcounter{mynode}%typeout{themynode}
    }}
    begin{document}
    begin{tikzpicture}[timespan={},every node/.append style={step node,
    alias=mynode-themynode}]

    timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

    begin{phases}

    %A 2014
    phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
    %C 2014
    phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
    %R 2014
    phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


    %A 2016
    phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
    %C 2016
    phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
    %R 2016
    phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



    %A 2018
    phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
    %C 2018
    phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
    %R 2018
    phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


    end{phases}
    %2014
    addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



    %2016

    addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


    %2018

    addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
    node[fit=(mynode-17) (mynode-19) (mynode-21)] (f1){};
    draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
    node[midway,below]{something};
    node[fit=(mynode-23) (mynode-25) (mynode-27)] (f2){};
    draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
    node[midway,below]{something else};
    node[fit=(mynode-29) (mynode-31) (mynode-33)] (f3){};
    draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
    node[midway,below]{hibernate};
    end{tikzpicture}
    end{document}


    enter image description here



    Another option, yielding the same result in a less fragile way, which however requires more typing, is



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{timeline,fit,decorations.pathreplacing}
    begin{document}
    begin{tikzpicture}[timespan={}]

    timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

    begin{phases}

    %A 2014
    phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
    %C 2014
    phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
    %R 2014
    phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


    %A 2016
    phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
    %C 2016
    phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
    %R 2016
    phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



    %A 2018
    phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
    %C 2018
    phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
    %R 2018
    phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


    end{phases}
    %2014
    addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-1}]
    addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text
    options={below}}
    end{scope}


    addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-2}]
    addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-3}]
    addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}


    %2016

    addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-4}]
    addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-5}]
    addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-6}]
    addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}

    %2018

    addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-7}]
    addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-8}]
    addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-9}]
    addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}

    node[fit=(mynode-1) (mynode-2) (mynode-3)] (f1){};
    draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
    node[midway,below]{something};
    node[fit=(mynode-4) (mynode-5) (mynode-6)] (f2){};
    draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
    node[midway,below]{something else};
    node[fit=(mynode-7) (mynode-8) (mynode-9)] (f3){};
    draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
    node[midway,below]{hibernate};
    end{tikzpicture}
    end{document}





    share|improve this answer














    Welcome to TeX.SE! The idea of this site is to exchange codes. In your post, unfortunately, the preamble is missing, meaning that those who are willing to answer have to speculate. So I guess you have downloaded the timeline library from here. Looking at the code, I have not seen any obvious way to add the braces in an elegant way without changing the library code. What one, however, always can do is to "hack" it by smuggling something into the code using every node/.append style and the like. Of course, this is more fragile than a solution that could emerge by writing the library in a different way.



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{timeline,fit,decorations.pathreplacing}
    newcounter{mynode}
    tikzset{step node/.code={stepcounter{mynode}%typeout{themynode}
    }}
    begin{document}
    begin{tikzpicture}[timespan={},every node/.append style={step node,
    alias=mynode-themynode}]

    timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

    begin{phases}

    %A 2014
    phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
    %C 2014
    phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
    %R 2014
    phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


    %A 2016
    phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
    %C 2016
    phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
    %R 2016
    phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



    %A 2018
    phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
    %C 2018
    phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
    %R 2018
    phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


    end{phases}
    %2014
    addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



    %2016

    addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


    %2018

    addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
    node[fit=(mynode-17) (mynode-19) (mynode-21)] (f1){};
    draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
    node[midway,below]{something};
    node[fit=(mynode-23) (mynode-25) (mynode-27)] (f2){};
    draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
    node[midway,below]{something else};
    node[fit=(mynode-29) (mynode-31) (mynode-33)] (f3){};
    draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
    node[midway,below]{hibernate};
    end{tikzpicture}
    end{document}


    enter image description here



    Another option, yielding the same result in a less fragile way, which however requires more typing, is



    documentclass[tikz,border=3.14mm]{standalone}
    usetikzlibrary{timeline,fit,decorations.pathreplacing}
    begin{document}
    begin{tikzpicture}[timespan={}]

    timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

    begin{phases}

    %A 2014
    phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
    %C 2014
    phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
    %R 2014
    phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


    %A 2016
    phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
    %C 2016
    phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
    %R 2016
    phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



    %A 2018
    phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
    %C 2018
    phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
    %R 2018
    phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


    end{phases}
    %2014
    addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-1}]
    addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text
    options={below}}
    end{scope}


    addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-2}]
    addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-3}]
    addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}


    %2016

    addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-4}]
    addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-5}]
    addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-6}]
    addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}

    %2018

    addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-7}]
    addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-8}]
    addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}
    end{scope}

    addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
    begin{scope}[every node/.append style={alias=mynode-9}]
    addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}
    end{scope}

    node[fit=(mynode-1) (mynode-2) (mynode-3)] (f1){};
    draw[decorate,decoration=brace,thick] (f1.south east) -- (f1.south west)
    node[midway,below]{something};
    node[fit=(mynode-4) (mynode-5) (mynode-6)] (f2){};
    draw[decorate,decoration=brace,thick] (f2.south east) -- (f2.south west)
    node[midway,below]{something else};
    node[fit=(mynode-7) (mynode-8) (mynode-9)] (f3){};
    draw[decorate,decoration=brace,thick] (f3.south east) -- (f3.south west)
    node[midway,below]{hibernate};
    end{tikzpicture}
    end{document}






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 3 hours ago

























    answered 3 hours ago









    marmotmarmot

    89.9k4104195




    89.9k4104195












    • Missing 2019 :-). Wonderful.
      – Sebastiano
      3 hours ago






    • 1




      Amazing, as usual. Now I ask to myself: is there something that TikZ (ie. @marmot) can not do?
      – Sigur
      3 hours ago






    • 1




      @Sigur Like getting up early during the hibernation season?
      – marmot
      3 hours ago






    • 1




      @marmot, hibernation in theory; in fact, TikZ never sleeps. lol
      – Sigur
      3 hours ago






    • 1




      @marmot,no problem. 9pm here and TBBT on Warner channel.
      – Sigur
      2 hours ago


















    • Missing 2019 :-). Wonderful.
      – Sebastiano
      3 hours ago






    • 1




      Amazing, as usual. Now I ask to myself: is there something that TikZ (ie. @marmot) can not do?
      – Sigur
      3 hours ago






    • 1




      @Sigur Like getting up early during the hibernation season?
      – marmot
      3 hours ago






    • 1




      @marmot, hibernation in theory; in fact, TikZ never sleeps. lol
      – Sigur
      3 hours ago






    • 1




      @marmot,no problem. 9pm here and TBBT on Warner channel.
      – Sigur
      2 hours ago
















    Missing 2019 :-). Wonderful.
    – Sebastiano
    3 hours ago




    Missing 2019 :-). Wonderful.
    – Sebastiano
    3 hours ago




    1




    1




    Amazing, as usual. Now I ask to myself: is there something that TikZ (ie. @marmot) can not do?
    – Sigur
    3 hours ago




    Amazing, as usual. Now I ask to myself: is there something that TikZ (ie. @marmot) can not do?
    – Sigur
    3 hours ago




    1




    1




    @Sigur Like getting up early during the hibernation season?
    – marmot
    3 hours ago




    @Sigur Like getting up early during the hibernation season?
    – marmot
    3 hours ago




    1




    1




    @marmot, hibernation in theory; in fact, TikZ never sleeps. lol
    – Sigur
    3 hours ago




    @marmot, hibernation in theory; in fact, TikZ never sleeps. lol
    – Sigur
    3 hours ago




    1




    1




    @marmot,no problem. 9pm here and TBBT on Warner channel.
    – Sigur
    2 hours ago




    @marmot,no problem. 9pm here and TBBT on Warner channel.
    – Sigur
    2 hours ago











    2














    Something like this perhaps?



    documentclass[border = 10pt]{standalone}
    usepackage{tikz}
    usetikzlibrary{timeline}
    usetikzlibrary{decorations.pathreplacing}

    begin{document}
    begin{tikzpicture}[timespan={}]

    timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

    begin{phases}

    %A 2014
    phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
    %C 2014
    phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
    %R 2014
    phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


    %A 2016
    phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
    %C 2016
    phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
    %R 2016
    phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



    %A 2018
    phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
    %C 2018
    phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
    %R 2018
    phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


    end{phases}
    %2014
    addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



    %2016

    addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


    %2018

    addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
    addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


    addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
    addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


    addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
    addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}

    draw [decorate, blue, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
    ([yshift = -5cm]phase-1.180) -- ([yshift = -5cm]phase-3.0)
    node [black, midway, yshift = -0.5cm, align = center] {Some text \ with breaks};

    draw [decorate, red, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
    ([yshift = -5cm]phase-4.180) -- ([yshift = -5cm]phase-6.0)
    node [black, midway, yshift = -0.5cm, align = center] {extra text};

    draw [decorate, green!80!black, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
    ([yshift = -5cm]phase-7.180) -- ([yshift = -5cm]phase-9.0)
    node [black, midway, yshift = -0.5cm, align = center] {This phase is the best};


    end{tikzpicture}
    end{document}


    enter image description here






    share|improve this answer


























      2














      Something like this perhaps?



      documentclass[border = 10pt]{standalone}
      usepackage{tikz}
      usetikzlibrary{timeline}
      usetikzlibrary{decorations.pathreplacing}

      begin{document}
      begin{tikzpicture}[timespan={}]

      timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

      begin{phases}

      %A 2014
      phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
      %C 2014
      phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
      %R 2014
      phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


      %A 2016
      phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
      %C 2016
      phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
      %R 2016
      phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



      %A 2018
      phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
      %C 2018
      phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
      %R 2018
      phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


      end{phases}
      %2014
      addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
      addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


      addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
      addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


      addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
      addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



      %2016

      addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
      addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


      addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
      addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


      addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
      addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


      %2018

      addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
      addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


      addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
      addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


      addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
      addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}

      draw [decorate, blue, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
      ([yshift = -5cm]phase-1.180) -- ([yshift = -5cm]phase-3.0)
      node [black, midway, yshift = -0.5cm, align = center] {Some text \ with breaks};

      draw [decorate, red, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
      ([yshift = -5cm]phase-4.180) -- ([yshift = -5cm]phase-6.0)
      node [black, midway, yshift = -0.5cm, align = center] {extra text};

      draw [decorate, green!80!black, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
      ([yshift = -5cm]phase-7.180) -- ([yshift = -5cm]phase-9.0)
      node [black, midway, yshift = -0.5cm, align = center] {This phase is the best};


      end{tikzpicture}
      end{document}


      enter image description here






      share|improve this answer
























        2












        2








        2






        Something like this perhaps?



        documentclass[border = 10pt]{standalone}
        usepackage{tikz}
        usetikzlibrary{timeline}
        usetikzlibrary{decorations.pathreplacing}

        begin{document}
        begin{tikzpicture}[timespan={}]

        timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

        begin{phases}

        %A 2014
        phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
        %C 2014
        phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
        %R 2014
        phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


        %A 2016
        phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
        %C 2016
        phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
        %R 2016
        phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



        %A 2018
        phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
        %C 2018
        phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
        %R 2018
        phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


        end{phases}
        %2014
        addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
        addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


        addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
        addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


        addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
        addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



        %2016

        addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
        addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


        addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
        addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


        addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
        addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


        %2018

        addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
        addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


        addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
        addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


        addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
        addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}

        draw [decorate, blue, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
        ([yshift = -5cm]phase-1.180) -- ([yshift = -5cm]phase-3.0)
        node [black, midway, yshift = -0.5cm, align = center] {Some text \ with breaks};

        draw [decorate, red, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
        ([yshift = -5cm]phase-4.180) -- ([yshift = -5cm]phase-6.0)
        node [black, midway, yshift = -0.5cm, align = center] {extra text};

        draw [decorate, green!80!black, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
        ([yshift = -5cm]phase-7.180) -- ([yshift = -5cm]phase-9.0)
        node [black, midway, yshift = -0.5cm, align = center] {This phase is the best};


        end{tikzpicture}
        end{document}


        enter image description here






        share|improve this answer












        Something like this perhaps?



        documentclass[border = 10pt]{standalone}
        usepackage{tikz}
        usetikzlibrary{timeline}
        usetikzlibrary{decorations.pathreplacing}

        begin{document}
        begin{tikzpicture}[timespan={}]

        timeline[custom interval=true]{bfseries 2014, bfseries 2015, bfseries 2016, bfseries 2017, bfseries 2018}

        begin{phases}

        %A 2014
        phase{between week=1 and 2 in -0.5,involvement degree=2.25cm}
        %C 2014
        phase{between week=1 and 2 in -0.1,involvement degree=2.25cm}
        %R 2014
        phase{between week=1 and 2 in 0.3,involvement degree=2.25cm}


        %A 2016
        phase{between week=2 and 3 in 0,involvement degree=2.25cm,phase color=blue!80!cyan}
        %C 2016
        phase{between week=2 and 3 in 0.4,involvement degree=2.25cm,phase color=blue!80!cyan}
        %R 2016
        phase{between week=3 and 4 in 0.05,involvement degree=2.25cm,phase color=blue!80!cyan}



        %A 2018
        phase{between week=3 and 4 in 0.5,involvement degree=2.25cm,phase color=green!50!black}
        %C 2018
        phase{between week=4 and 5 in -0.1,involvement degree=2.25cm,phase color=green!50!black}
        %R 2018
        phase{between week=4 and 5 in 1.4,involvement degree=2.25cm,phase color=green!50!black}


        end{phases}
        %2014
        addmilestone{at=phase-1.90,direction=90:3.5cm,text={Announcement},text options={above}}
        addmilestone{at=phase-1.270,direction=270:1.5cm,text={Date},text options={below}}


        addmilestone{at=phase-2.90,direction=90:2.5cm,text={Clarification},text options={above}}
        addmilestone{at=phase-2.270,direction=270:2.5cm,text={Date},text options={below}}


        addmilestone{at=phase-3.90,direction=90:1.5cm,text={Results},text options={above}}
        addmilestone{at=phase-3.270,direction=270:3.5cm,text={Date},text options={below}}



        %2016

        addmilestone{at=phase-4.90,direction=90:3.5cm,text={Announcement},text options={above}}
        addmilestone{at=phase-4.270,direction=270:1.5cm,text={Date},text options={below}}


        addmilestone{at=phase-5.90,direction=90:2.5cm,text={Clarification},text options={above}}
        addmilestone{at=phase-5.270,direction=270:2.5cm,text={Date},text options={below}}


        addmilestone{at=phase-6.90,direction=90:1.5cm,text={Results},text options={above}}
        addmilestone{at=phase-6.270,direction=270:3.5cm,text={Date},text options={below}}


        %2018

        addmilestone{at=phase-7.90,direction=90:3.5cm,text={Announcement},text options={above}}
        addmilestone{at=phase-7.270,direction=270:1.5cm,text={Date},text options={below}}


        addmilestone{at=phase-8.90,direction=90:2.5cm,text={Clarification},text options={above}}
        addmilestone{at=phase-8.270,direction=270:2.5cm,text={Date},text options={below}}


        addmilestone{at=phase-9.90,direction=90:1.5cm,text={Results},text options={above}}
        addmilestone{at=phase-9.270,direction=270:3.5cm,text={Date},text options={below}}

        draw [decorate, blue, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
        ([yshift = -5cm]phase-1.180) -- ([yshift = -5cm]phase-3.0)
        node [black, midway, yshift = -0.5cm, align = center] {Some text \ with breaks};

        draw [decorate, red, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
        ([yshift = -5cm]phase-4.180) -- ([yshift = -5cm]phase-6.0)
        node [black, midway, yshift = -0.5cm, align = center] {extra text};

        draw [decorate, green!80!black, decoration = {brace, amplitude = 10pt, mirror, raise = 4pt}]
        ([yshift = -5cm]phase-7.180) -- ([yshift = -5cm]phase-9.0)
        node [black, midway, yshift = -0.5cm, align = center] {This phase is the best};


        end{tikzpicture}
        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 3 hours ago









        caveraccaverac

        6,1871727




        6,1871727






















            Ayla is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Ayla is a new contributor. Be nice, and check out our Code of Conduct.













            Ayla is a new contributor. Be nice, and check out our Code of Conduct.












            Ayla is a new contributor. Be nice, and check out our Code of Conduct.
















            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f469434%2ftikzpicture-timeline-underbrace%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Ottavio Pratesi

            Tricia Helfer

            15 giugno