diff options
| author | John MacFarlane <[email protected]> | 2025-03-17 08:48:55 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-03-17 08:48:55 -0700 |
| commit | 04476c550ffec4665a17e6abf0040117a7d496e2 (patch) | |
| tree | 5fd82f9b2479f2209bfb24f14ae161d4c6fb3b70 /data | |
| parent | a92f44da424796261dc1a192511084f7f8620949 (diff) | |
Revert "Default beamer template: only emit `\date` if set (#10687)"
This reverts commit 3f1f58e96e4eae82af44f1610806aa7c637a59d6.
The reason for reverting this change is that it led to an
undesirable behavior change. Documents with no explicit date
specified now have a date printed, because the default
title block will include a date if no `\date` command is used.
The empty `\date{}`, by contrast, suppressed the date, which
is the desirable behavior.
PR #10687 was motivated by the desire to include a custom `\date`
in the frontmatter via header-includes. I think that aim can
be achieved more simply by simply setting the `date` variable.
In markdown you can even use `date:` in metadata and put some
raw LaTeX there.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/default.beamer | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/data/templates/default.beamer b/data/templates/default.beamer index d75d2542c..b2eafaadf 100644 --- a/data/templates/default.beamer +++ b/data/templates/default.beamer @@ -114,9 +114,7 @@ $if(subtitle)$ \subtitle$if(shortsubtitle)$[$shortsubtitle$]$endif${$subtitle$} $endif$ \author$if(shortauthor)$[$shortauthor$]$endif${$for(author)$$author$$sep$ \and $endfor$} -$if(date)$ \date$if(shortdate)$[$shortdate$]$endif${$date$} -$endif$ $if(institute)$ \institute$if(shortinstitute)$[$shortinstitute$]$endif${$for(institute)$$institute$$sep$ \and $endfor$} $endif$ |
