将阴历/月亮日添加到日历中

将阴历/月亮日添加到日历中

我想在普通日历中显示农历日。例如:2018 年:5/12 = 29(农历);6/12 = 30(农历)。参见附图:红色为农历,黑色为公历。附上我在 overlead 中获得的代码(不包括农历)

\documentclass[20pt,british,giant]{cdcalendar}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[utopia]{mathdesign}
\usepackage{ebgaramond}
\usepackage[defaultsans,osfigures,scale=0.94]{opensans}
\usepackage{graphicx}
\usepackage{wallpaper}
\usepackage{fontawesome}
\graphicspath{{img/}}
\usepackage[fleqn]{amsmath}

\tikzset{blue icon/.style={text=SkyBlue,font=\Large}}
\tikzset{pink icon/.style={text=Pink,font=\large}}
\tikzset{holiday/.style={rectangle,fill=orange!70}}

\geometry{a4paper}
\begin{document}
\clearpage
%%%%


%%%%%%
% Some settings for the monthly calendars
%%%%%%
\dayHeadingStyle{font=\sffamily\color{gray!90}}
\sundayColor{red!80!black}
\monthTitleStyle{font={\fontsize{40pt}{42pt}\bfseries\sffamily\itshape\selectfont}, red!50!RedViolet}
\eventStyle{\scriptsize\sffamily}

\setlength{\lessIllusSkip}{1ex}
\begin{monthCalendar}{2019}{01}
\end{monthCalendar}

\clearpage

\begin{monthCalendar}{2019}{02}

\end{monthCalendar}


\end{document}

非常感谢 在此处输入图片描述

相关内容