When I use the Emacs calendar / diary with org-mode (however, I do not think this is the cause of the problem), I encounter the following problem.
The default calendar looks like this:

I add the following codes to display the week number:
(copy-face font-lock-constant-face 'calendar-iso-week-face) (set-face-attribute 'calendar-iso-week-face nil :height 1) (setq calendar-intermonth-text '(propertize (format "%2d" (car (calendar-iso-from-absolute (calendar-absolute-from-gregorian (list month day year))))) 'font-lock-face 'calendar-iso-week-face)) ; Title for week number (copy-face 'default 'calendar-iso-week-header-face) (set-face-attribute 'calendar-iso-week-header-face nil :height 0.7) (setq calendar-intermonth-header (propertize "Wk" ; or eg "KW" in Germany 'font-lock-face 'calendar-iso-week-header-face))
After entering these codes, week numbers can be displayed. However, alignment is a bit strange:

The last line of the calendar is not aligned. How to deal with this problem?
Thanks.
emacs calendar org-mode
Tommy
source share