AnswerBun.com

Text hide over Chronosys periode

TeX - LaTeX Asked by Javier Barragn ajavibp on October 12, 2020

I want to move the text of a chronoperiode to the middle of the box, but the text keep behind the box and is not visible. I tried to with tikz boxes too, but it doen’t work.

Do you have any idea?

Thanks!

Example code:

begin{chronology}
    setupchronograduation[event]{}
    chronograduation{2}
    chronoperiode[textdepth=-1mm,ifcolorbox=false,dates=false,color=blue]{2005}{2010}{--Text 1--}
    chronoperiode[textdepth=-1mm,ifcolorbox=false,dates=false,color=green]{2011}{2015}{
        tikz node (B) at (0,0) {--Text 2--};
    }
end{chronology}

One Answer

Please see if this meets the requirement

The options have been listed and not in continuous line for better readability

Please revert for additional query

enter image description here

documentclass[10pt]{article}
usepackage[utf8]{inputenc}
usepackage{chronosys}
usepackage[paperwidth=34cm, paperheight=10cm]{geometry}%taille du document

definecolor{blue}{HTML}{84CECC}
definecolor{gr}{HTML}{375D81}
%
%
%
begin{document}
    %---------------------timeline----------------%
    startchronology[
                    align=left, 
                    startyear=1999,
                    stopyear=2016, 
                    height=0pt, 
                    startdate=false, 
                    stopdate=false, 
                    dateselevation=0pt, 
                    arrow=false, 
                    box=true
                    ]
    %
    chronograduation[event][dateselevation=0pt]{1}
    %---------------------periods----------------%
    chronoperiode[
                    textstyle=raggedleftcolorbox{gr!50},
                    color=gr, 
                    startdate=false, 
                    bottomdepth=0pt, 
                    topheight=8pt, 
                    textdepth=-25pt,
                    dateselevation=16pt, 
                    stopdate=false
                    ]
                    {2005}{2010}{University of Tennessee Chattanooga}
    %
    chronoperiode[
                    textstyle=colorbox{blue!50}, 
                    color=blue, 
                    startdate=false, 
                    bottomdepth=8pt, 
                    topheight=16pt, 
                    textdepth=-25pt, 
                    dateselevation=12pt, 
                    stopdate=false
                    ]
                    {2011}{2015}{Tennesse Technological University}
    %
    stopchronology
end{document}

Answered by js bibra on October 12, 2020

Add your own answers!

Related Questions

Change color in beamer template

1  Asked on January 9, 2021 by user3680510

   

How do I force a top margin?

0  Asked on January 9, 2021 by xeno

     

Symbol for external links

5  Asked on January 9, 2021 by elmar-zander

   

Separate this in different rows

1  Asked on January 9, 2021 by pepini2341

 

Stop cite footnote and dot switching positions

1  Asked on January 9, 2021 by masoumeh

   

tcolorbox with Equation and footnotetext

1  Asked on January 9, 2021 by jnior-mabulla

     

Few issues with Tikz Calendar

0  Asked on January 9, 2021 by nathan31

 

Formatting error bar mark pgfplots, append to style?

0  Asked on January 9, 2021 by matthias-arras

   

Can the split environment be used for only one equation?

1  Asked on January 9, 2021 by chaitanya-tappu

     

Is this the right way to use Asymptote in LaTeX?

1  Asked on January 9, 2021 by lee-laindingold

 

Abbreviations of Weeknames in German

1  Asked on January 9, 2021 by concerto

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir