Me gustaría que la primera, segunda y cuarta de las fechas tuvieran un superíndice como este:
22
¿Cómo lo hago?
MWE
\documentclass{article}
\usepackage{termcal}
\newcommand{\WFClass}{%
\skipday % Monday (no class)
\skipday % Tuesday (no class)
\calday[Wednesday]{\classday} % Wednesday
\skipday % Thursday (no class)
\calday[Friday]{\classday} % Friday
\skipday\skipday % weekend (no class)
}
\newcommand{\Holiday}[2]{%
\options{#1}{\noclassday}
\caltext{#1}{#2}
}
\begin{document}
\begin{center}
\begin{calendar}{1/20/2020}{16} % Date Classes Begin & Length in Weeks
\setlength{\calboxdepth}{.3in}
\WFClass
% schedule
%\caltexton{1}{1.1, 1.2 Review}
\caltextnext{1.3, 1.4 Review}
\caltextnext{2.1, 2.2 Linear Equations}
% ... and so on
% Holidays
\Holiday{1/20/2020}{Martin Luther King Day}
\Holiday{3/8/2020}{Spring Break}
% ... and so on
\options{4/26/2020}{\noclassday} % finals week
\options{4/27/2020}{\noclassday} % finals week
\options{4/28/2020}{\noclassday} % finals week
\options{4/29/2020}{\noclassday} % finals week
\options{4/30/2020}{\noclassday} % finals week
\caltext{4/27/2020}{\textbf{Final Exam}}
\end{calendar}
\end{center}
\end{document}
Respuesta1
Puedes usarlos \textsuperscript
(pero no deberías; los superíndices son reliquias de la época victoriana, que un conocido procesador de textos infligió arbitrariamente a todos sus usuarios).
\documentclass{article}
\usepackage{termcal}
\makeatletter
\renewcommand\@rdend[1]{\textsuperscript{\ifcase#1 th\or st\or nd\or rd\else th\fi}}
\makeatother
\newcommand{\WFClass}{%
\skipday % Monday (no class)
\skipday % Tuesday (no class)
\calday[Wednesday]{\classday} % Wednesday
\skipday % Thursday (no class)
\calday[Friday]{\classday} % Friday
\skipday\skipday % weekend (no class)
}
\newcommand{\Holiday}[2]{%
\options{#1}{\noclassday}
\caltext{#1}{#2}
}
\begin{document}
\begin{center}
\begin{calendar}{1/20/2020}{16} % Date Classes Begin & Length in Weeks
\setlength{\calboxdepth}{.3in}
\WFClass
% schedule
%\caltexton{1}{1.1, 1.2 Review}
\caltextnext{1.3, 1.4 Review}
\caltextnext{2.1, 2.2 Linear Equations}
% ... and so on
% Holidays
\Holiday{1/20/2020}{Martin Luther King Day}
\Holiday{3/8/2020}{Spring Break}
% ... and so on
\options{4/26/2020}{\noclassday} % finals week
\options{4/27/2020}{\noclassday} % finals week
\options{4/28/2020}{\noclassday} % finals week
\options{4/29/2020}{\noclassday} % finals week
\options{4/30/2020}{\noclassday} % finals week
\caltext{4/27/2020}{\textbf{Final Exam}}
\end{calendar}
\end{center}
\end{document}
No estoy seguro de por qué la columna de la izquierda produce cuadros demasiado llenos.