All Projects → liantze → cdcalendar

liantze / cdcalendar

Licence: CC-BY-4.0 license
A customisable, multilingual calendar with 3 different sizes. With LaTeX.

Programming Languages

PostScript
262 projects
TeX
3793 projects

Projects that are alternatives of or similar to cdcalendar

thesisthemeCSU
A template for the thesis of CSU (Central South University).
Stars: ✭ 13 (-79.03%)
Mutual labels:  latex
TUMGAD
Exercise generator and helpful materials for the Introduction to Algorithms and Data Structures 📚
Stars: ✭ 27 (-56.45%)
Mutual labels:  latex
rfc-bibtex
A command line tool that creates bibtex entries for IETF RFCs and Internet Drafts.
Stars: ✭ 43 (-30.65%)
Mutual labels:  latex
academic-cv-publications
Generate a customised list of publications for your LaTeX CV using BibTeX entries.
Stars: ✭ 60 (-3.23%)
Mutual labels:  latex
SlackLateX
Bot that posts posts Latex pictures
Stars: ✭ 39 (-37.1%)
Mutual labels:  latex
PS-FCN Poster LaTex
LaTex Poster for PS-FCN (ECCV 2018)
Stars: ✭ 41 (-33.87%)
Mutual labels:  latex
Study-LaTeX
LaTeX学习笔记
Stars: ✭ 22 (-64.52%)
Mutual labels:  latex
LaTeX-Note-Importer-for-Anki
Add-on for the memory training program Anki, allowing to import and export notes written in LaTeX.
Stars: ✭ 26 (-58.06%)
Mutual labels:  latex
master-thesis
Выпускная квалификационная работа (ВКР) магистра в LaTeX, оформленная в соответствии с нормоконтролем Севастопольского государственного университета в 2017 г.
Stars: ✭ 84 (+35.48%)
Mutual labels:  latex
hfmath
Render LaTeX math with Hershey Fonts
Stars: ✭ 76 (+22.58%)
Mutual labels:  latex
csasdown
📖 An R package for creating CSAS reports in PDF or Word format with R Markdown and bookdown
Stars: ✭ 40 (-35.48%)
Mutual labels:  latex
react-latex-next
Render LaTeX in React apps
Stars: ✭ 18 (-70.97%)
Mutual labels:  latex
purple-pi
💜 LaTeX math wherever you want
Stars: ✭ 31 (-50%)
Mutual labels:  latex
phplatex
Inline TeX in PHP pages
Stars: ✭ 34 (-45.16%)
Mutual labels:  latex
pandoc-amsthm
provide a syntax to use amsthm environments in pandoc, with output in LaTeX and HTML
Stars: ✭ 19 (-69.35%)
Mutual labels:  latex
Resume-Generator
A python tool help you generator your resume with your pre defined JSON file
Stars: ✭ 26 (-58.06%)
Mutual labels:  latex
zotero-texmacs-integration
Integration of the Juris-M or Zotero reference manager with TeXmacs for using CSL citation styles in documents.
Stars: ✭ 17 (-72.58%)
Mutual labels:  latex
fitchjs
Fitch style proof constructor
Stars: ✭ 19 (-69.35%)
Mutual labels:  latex
PythonTipsDS
Python Tips for Data Scientist
Stars: ✭ 23 (-62.9%)
Mutual labels:  latex
rulex
A ruby environment for Latex files
Stars: ✭ 14 (-77.42%)
Mutual labels:  latex

Customisable multilingual calendars with LaTeX

The calendars are printed 4-up to fit 3.5" floppy disk jewel cases, or 2-up to fit CD jewel cases. There is now also a full-page version for wall calendars as of Dec 2016.

Colours, illustrations, fonts etc are customisable. The calendars can be marked with events with date ranges (updated June 22, 2015). See this blog post for more information (syntax of some commands have changed though). Templates are available on Overleaf.

As of v1.4 (December 2019), that giant document class option i.e. full-sized A4 calendar will have mini-calendars of the previous and next months on each page of monthCalendar. Use the giantsolo option instead if you do not want these mini-calendars alongside.

'Giant' calendar format

From v1.4.3 (September 2021), a landscape option is available for giant and giantsolo.

'Giant' landscape calendar format

Language Localisation

Localisation possible with languages supported by babel/translator/datetime2.

The Chinese example is best compiled with XeLaTeX. The Japanese example is best compiled with LuaLaTeX.

For (partially) unsupported languages or if you'd like to customise the localisations yourself, either because the language isn't supported by babel and translator, or because the language doesn't lend itself well to having the first letter extracted for the week day headings (e.g. Chinese), you can. In this case do your own modifications; see ChineseCalendar.tex and zh-mod.sty for an example. You'll most likely want to stop cdcalendar from loading babel in this case, so use the nobabel option:

\documentclass[sundayweek,nobabel]{cdcalendar}
\usepackage{zh-mod}

You can still write \usepackage[...]{babel} yourself in the preamble (for hyphenations etc), but it won't have any effects on the month and week day names , nor the date localisations; you'll have to provide your own mods. Example for Bahasa Indonesia:

\documentclass[nobabel]{cdcalendar}    % don't load babel yet!
\usepackage{ms-mod}   % our own Bahasa Melayu localisation
\usepackage[bahasam]{babel}  % if you need Melayu hyphenation patterns

I'll add mods for other languages from time to time when I feel like it. ;-)

Marking Events on the Calendar

An example of a month calendar with events (syntax updated in v1.2):

\begin{monthCalendar}{2015}{10}

%% This is a 1-day event
\event{2015-10-25}{}{Daylight saving time ends}

%% This is a 5-day event starting Oct 26th
\event{2015-10-26}{5}{Autumn half-term holiday}

%% You could also write
%\event{2015-10-26}{2015-10-30}{Autumn half-term holiday}
\end{monthCalendar}
\clearpage %% Do remember this; I guess I could have made it automatic but well.

The events mark and style can be customised: (All \tikzset styles for use with mark style should be issued in the document preamble; new in v1.2)

% In the preamble
\tikzset{blue icon/.style={text=SkyBlue!60,font=\large}}
% In the monthCalendar
\event[mark style=blue icon, marker=\faCake]{2015-10-10}{Someone's birthday}

Currently the value for mark style must be a single style name.

Cover and Calendar Illustrations

For the cover page:

\coverBgColor{black}
\coverImage[caption]{image-filename}
\coverTitle[tikz style]{Calendar Title}

\makeCover

You can add an illustration on each page (the length is the width of the image). Note that this needs to be issued outside the monthCalendar environment.

\illustration[image caption]{8.5cm}{filename.png}

...or in fact you could insert anything that'll be typeset as a minipage: (new in v1.2)

\otherstuff[caption]{8.5cm}{\Huge Perhaps a Smart Quote Here?}

Other settings

There are a few other settings you can set as well. These can be re-issued at any point in the document to change the styles.

\dayHeadingStyle{font=\sffamily\color{gray!90}}
\sundayColor{red}
\monthTitleStyle{font={\Huge\sffamily}, RoyalBlue}
\eventStyle{\scriptsize\sffamily}
\newcommand{\printeventname}[1]{\textbf{#1}}   % can be renewed
\newcommand{\eventSep}{: }  % can be renewed

Multiple calendar systems

ChineseLunarCalendar.tex demonstrates how another calendar system, e.g. the Chinese lunar calendar, can be incorporated. The mapping between the Chinese lunar calenar and the Gregorian calendar was downloaded from here and then converted to a .csv file with this tool.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].