如何修改 chronosys \chronoperiode 和 \chronoevent?

如何修改 chronosys \chronoperiode 和 \chronoevent?

我正在使用 Latex Beamer 创建简短的传记\chronology。我试图在chroneperiode和中包含多行chronevent。此外,当我添加时chroneevent,我试图从时间轴中删除年份,只保留一年。最后,我试图覆盖部分时间轴。例如,我于 2010 年 8 月毕业,所以我希望彩色条达到当年的 8/12。

\documentclass[xcolor=dvipsnames]{beamer}

\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
\usepackage{chronosys}
\definecolor{blue}{HTML}{84CECC}
\definecolor{gr}{HTML}{375D81}

\begin{document}

\begin{frame}
\frametitle{Biographical Sketch}
\textbf{Education}

\startchronology[align=left, startyear=2002,stopyear=2015, height=0pt, startdate=false, stopdate=false, dateselevation=0pt, arrow=false, box=true]
%
\chronograduation[event][dateselevation=0pt]{1}

\chronoperiode[textstyle=\raggedleft\colorbox{gr!50}, color=gr, startdate=false, bottomdepth=0pt, topheight=10pt, textdepth=-20pt,dateselevation=16pt, datesseparation=/,conversionmonth=true,stopdate=false]{2003}{2007}{\begin{scriptsize} BSC Unib. \end{scriptsize}}

\chronoevent[textstyle=\raggedleft\colorbox{gr!50}, color=gr, startdate=false, bottomdepth=30pt, topheight=10pt, year=true, textdepth=-40pt,dateselevation=16pt, datesseparation=/,conversionmonth=false,topdate=false]{2007}{\begin{tiny}B.Sc. in XX \end{tiny}}

\chronoperiode[textstyle=\colorbox{blue!50}, color=blue, startdate=false, bottomdepth=0pt, topheight=10pt, textdepth=-20pt,dateselevation=16pt, stopdate=false]{2008}{2010}{\begin{scriptsize}M.S. Univ.\end{scriptsize}}

\chronoevent[textstyle=\raggedleft\colorbox{blue!50}, color=blue, startdate=false, bottomdepth=30pt, topheight=10pt, year=true, textdepth=-10pt,dateselevation=16pt, datesseparation=/,conversionmonth=false,stopdate=false]{2010}{\begin{tiny}M.S. in X Field.\end{tiny}}

\chronoperiode[textstyle=\colorbox{red!50}, color=red, startdate=false, bottomdepth=0pt, topheight=10pt, textdepth=-20pt,dateselevation=16pt, stopdate=false]{2010}{2014}{\begin{scriptsize}Doctoral Univ.\end{scriptsize}}
\stopchronology

\end{frame}
\end{document}

相关内容