aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorThomas Hodgson <[email protected]>2024-10-01 21:29:44 +0200
committerGitHub <[email protected]>2024-10-01 12:29:44 -0700
commitdbc80f9745cbace4e9ebc10e59d9df1c3eafa915 (patch)
treec7c0a1f9475a7cb7f0b9325fbb4f580fd8416e9d /data
parentf2b1de53973b4633f057d621d2c1a22a00914bda (diff)
Support short title, author, etc. in Beamer (#10244)
+ Add `shorttitle`, `shortsubtitle`, `shortauthor`, `shortinstitute`, `shortdate` to default.beamer. + Note that the brackets are inside conditionals, because some older beamer versions don't allow the empty optional argument. Closes #10248.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.beamer10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/templates/default.beamer b/data/templates/default.beamer
index a3f667284..ddce9f749 100644
--- a/data/templates/default.beamer
+++ b/data/templates/default.beamer
@@ -107,15 +107,15 @@ $after-header-includes.latex()$
$hypersetup.latex()$
$if(title)$
-\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
+\title$if(shorttitle)$[$shorttitle$]$endif${$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
$if(subtitle)$
-\subtitle{$subtitle$}
+\subtitle$if(shortsubtitle)$[$shortsubtitle$]$endif${$subtitle$}
$endif$
-\author{$for(author)$$author$$sep$ \and $endfor$}
-\date{$date$}
+\author$if(shortauthor)$[$shortauthor$]$endif${$for(author)$$author$$sep$ \and $endfor$}
+\date$if(shortdate)$[$shortdate$]$endif${$date$}
$if(institute)$
-\institute{$for(institute)$$institute$$sep$ \and $endfor$}
+\institute$if(shortinstitute)$[$shortinstitute$]$endif${$for(institute)$$institute$$sep$ \and $endfor$}
$endif$
$if(titlegraphic)$
\titlegraphic{