termcal 中跨越一天以上的事件

termcal 中跨越一天以上的事件

termcal我怎样才能标记跨度超过一天的事件?

例如,当我有为期三天的期末考试时,整个考试必须标记为期末考试;当我有期中休息时,整个考试必须标记为期末考试。

我当前的代码:

\documentclass[12pt]{article}
\usepackage[margin=0.5in, paperheight=8.5in, paperwidth=13in]{geometry}
\usepackage{termcal}
\pagenumbering{gobble}

\newcommand{\Class}{
\calday[Monday]{\classday}
\calday[Tuesday]{\classday}
\calday[Wednesday]{\classday}
\calday[Thursday]{\classday}
\calday[Friday]{\classday}
\calday[Saturday]{\noclassday} 
\calday[Sunday] {\noclassday}
}

\newcommand{\Holiday}[2]{
\options{#1}{\noclassday}
\caltext{#1}{#2}
}

\begin{document}
\paragraph*{Tedu's Schedule:}
\begin{center}
\begin{calendar}{5/1/2017}{53}
\setlength{\calboxdepth}{.3in}
\Class

\Holiday{5/1/2017}{Labor Day}
\Holiday{6/12/2017}{Independence Day}
\Holiday{6/26/2017}{Eid al-Fitr}
\Holiday{8/6/2017}{Cebu Province Charter Day}
\Holiday{8/21/2017}{Ninoy Aquino Day}
\Holiday{8/29/2017}{National Heroes Day}
\Holiday{11/1/2017}{All Saints' Day}
\Holiday{11/2/2017}{All Souls' Day}
\Holiday{11/30/2017}{Bonifacio Day}
\Holiday{12/24/2017}{Christmas Eve}
\Holiday{12/25/2017}{Christmas Day}
    % I want to merge it from here
\Holiday{12/26/2017}{}
\Holiday{12/27/2017}{}
\Holiday{12/28/2017}{}
\Holiday{12/29/2017}{}
    %to here
\Holiday{12/30/2017}{Rizal Day}
\Holiday{12/31/2017}{New Year's Eve}
\Holiday{1/1/2018}{New Year's Day}
\Holiday{2/25/2018}{EDSA Revolution Anniversary}

\caltext{5/31/2017}{End of Classes}
% By the way, how can I reset the number of days counter in here?
\caltext{8/1/2017}{Start of Classes}
\end{calendar}
\end{center}
\end{document}

我想要实现的目标的图像(Excel版本):

在此处输入图片描述

相关内容