Function: cal-tex-cursor-day
cal-tex-cursor-day is an autoloaded, interactive and byte-compiled
function defined in cal-tex.el.gz.
Signature
(cal-tex-cursor-day &optional N EVENT)
Documentation
Make a buffer with LaTeX commands for the day cursor is on.
Optional prefix argument N specifies number of days. The calendar shows
the hours between cal-tex-daily-start and cal-tex-daily-end, using
the 24-hour clock if cal-tex-24 is non-nil. Optional EVENT indicates
a buffer position to use instead of point.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-tex.el.gz
;;;
;;; Daily calendars
;;;
;;;###cal-autoload
(defun cal-tex-cursor-day (&optional n event)
"Make a buffer with LaTeX commands for the day cursor is on.
Optional prefix argument N specifies number of days. The calendar shows
the hours between `cal-tex-daily-start' and `cal-tex-daily-end', using
the 24-hour clock if `cal-tex-24' is non-nil. Optional EVENT indicates
a buffer position to use instead of point."
(interactive (list (prefix-numeric-value current-prefix-arg)
last-nonmenu-event))
(or n (setq n 1))
(let ((date (calendar-absolute-from-gregorian
(calendar-cursor-to-date t event))))
(cal-tex-preamble "12pt")
(cal-tex-weekly-paper 'nomargins)
(cal-tex-b-document)
(cal-tex-cmd "\\pagestyle" "empty")
(dotimes (i n)
(cal-tex-vspace "-1.7in")
(cal-tex-daily-page (calendar-gregorian-from-absolute date))
(setq date (1+ date))
(unless (= i (1- n))
(cal-tex-newpage)
(run-hooks 'cal-tex-daily-hook)))
(cal-tex-end-document)
(run-hooks 'cal-tex-hook)))