Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 3
mineure

04 Mai, 15:05

Pathe's gravatar image

Pathe
7.6k53211254

Package chronosys et couleur de fond des boîtes

Malgré la parution de deux packages de frises chronologiques le mois dernier ([timechart](http://mirrors.ctan.org/graphics/pgf/contrib/timechart/timechart-doc.pdf), qui est très facile à utiliser, et [chronos](http://mirrors.ctan.org/macros/latex/contrib/chronos/chronos-doc.pdf), très impressionnant... mais que je ne suis pas foutu de faire fonctionner), j'en reste à [chronosys](http://mirrors.ctan.org/macros/latex/contrib/chronosys/docchronosys_fr.pdf). J'ai le code suivant : \documentclass[a5paper, landscape]{scrartcl} \usepackage{chronosys} \usepackage{xcolor} \pagecolor{brown!30} \begin{document} \startchronology[startyear=1945, startdate=false, stopyear=2025, stopdate=false, color=yellow, height=10ex, width=\hsize] \chronoevent[markdepth=-120pt, ifcolorbox=false]{2017}{\color{red}Bidule} \chronoevent[markdepth=-80pt,ifcolorbox=false]{2022}{\color{blue}Caliorne Bredindin} \stopchronology \end{document} La chaîne « Caliorne Bredindin » dépasse sur la ligne verticale correspondant à 2017 : ce n'est pas très heureux. Je spécifie donc une largeur pour la boîte contenant cette chaîne : `\chronoevent[markdepth=-80pt,ifcolorbox=false,textwidth=1.2cm]{2022}{\color{blue}Caliorne Bredindin}`. J'obtiens le code suivant : \documentclass[a5paper, landscape]{scrartcl} \usepackage{chronosys} \usepackage{xcolor} \pagecolor{brown!30} \begin{document} \startchronology[startyear=1945,startdate=false,stopyear=2025,stopdate=false,color=yellow,height=10ex,width=\hsize] \chronoevent[markdepth=-120pt, ifcolorbox=false]{2017}{\color{red}Bidule} \chronoevent[markdepth=-80pt,ifcolorbox=false,textwidth=1.2cm]{2022}{\color{blue}Caliorne Bredindin} \stopchronology \end{document} C'est beaucoup mieux, mais la boîte « Caliorne Bredindin » a maintenant un fond blanc ! Comment éviter cela ? Quand il y a beaucoup d'informations à représenter, il de taille de boîte?
cliquez ici pour masquer/afficher la révision 2
mineure

04 Mai, 10:50

Pathe's gravatar image

Pathe
7.6k53211254

Package chronosys et couleur de fond des boîtes

Malgré la parution de deux packages de frises chronologiques le mois dernier ([timechart](http://mirrors.ctan.org/graphics/pgf/contrib/timechart/timechart-doc.pdf), qui est très facile à utiliser, et [chronos](http://mirrors.ctan.org/macros/latex/contrib/chronos/chronos-doc.pdf), très impressionnant... mais que je ne suis pas foutu de faire fonctionner), j'en reste à [chronosys](http://mirrors.ctan.org/macros/latex/contrib/chronosys/docchronosys_fr.pdf). J'ai le code suivant : \documentclass[a5paper, landscape]{scrartcl} \usepackage{chronosys} \usepackage{xcolor} \pagecolor{brown!30} \begin{document} \startchronology[startyear=1945, startdate=false, stopyear=2025, stopdate=false, color=yellow, height=10ex, width=\hsize] \chronoevent[markdepth=-120pt, ifcolorbox=false]{2017}{\color{red}Bidule} \chronoevent[markdepth=-80pt,ifcolorbox=false]{2022}{\color{blue}Caliorne Bredindin} \stopchronology \end{document} La chaîne « Caliorne Bredindin » dépasse sur la ligne verticale correspondant à 2017 : ce n'est pas très heureux. Je spécifie donc une largeur pour la boîte contenant cette chaîne : `\chronoevent[markdepth=-80pt,ifcolorbox=false,textwidth=1.2cm]{2022}{\color{blue}Caliorne Bredindin}`. J'obtiens le code suivant : \documentclass[a5paper, landscape]{scrartcl} \usepackage{chronosys} \usepackage{xcolor} \pagecolor{brown!30} \begin{document} \startchronology[startyear=1945,startdate=false,stopyear=2025,stopdate=false,color=yellow,height=10ex,width=\hsize] \chronoevent[markdepth=-120pt, ifcolorbox=false]{2017}{\color{red}Bidule} \chronoevent[markdepth=-80pt,ifcolorbox=false,textwidth=1.2cm]{2022}{\color{blue}Caliorne Bredindin} \stopchronology \end{document} ... malheureusement, C'est beaucoup mieux, mais la boîte « Caliorne Bredindin » a désormais maintenant un fond blanc ! Comment éviter cela ? Quand il y a beaucoup d'informations à représenter, il de taille de boîte
cliquez ici pour masquer/afficher la révision 1

04 Mai, 10:48

Pathe's gravatar image

Pathe
7.6k53211254

C'est votre première visite ici ? Consultez la FAQ !

×