How to detect if the date field is empty when designing a custom title page template?Use the values of title, author and date on a custom title pagesupervisor field on the page of the title with BeamerBeamer Template - Disable Margins in Title pageCreate a document cover using style classAdding a new field to the title page in beamerLaTeX beamer: pagenumbering appendixModify the title page of a template?Help designing a Title Page for thesisDesigning Latex title page for Bachelor ThesisHow remove the date in template
Shortcut for setting origin to vertex
Why does energy conservation give me the wrong answer in this inelastic collision problem?
Print a physical multiplication table
Are all passive ability checks floors for active ability checks?
How to make healing in an exploration game interesting
Why did it take so long to abandon sail after steamships were demonstrated?
Why do tuner card drivers fail to build after kernel update to 4.4.0-143-generic?
Are relativity and doppler effect related?
What is "focus distance lower/upper" and how is it different from depth of field?
This word with a lot of past tenses
Python if-else code style for reduced code for rounding floats
Min function accepting varying number of arguments in C++17
Meme-controlled people
A diagram about partial derivatives of f(x,y)
Examples of transfinite towers
How to deal with taxi scam when on vacation?
The German vowel “a” changes to the English “i”
Recruiter wants very extensive technical details about all of my previous work
Welcoming 2019 Pi day: How to draw the letter π?
Adventure Game (text based) in C++
Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?
Converting a variable frequency to TTL HIGH and LOW levels, based on a fixed (possible non-fixed?) frequency
Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?
What is the significance behind "40 days" that often appears in the Bible?
How to detect if the date field is empty when designing a custom title page template?
Use the values of title, author and date on a custom title pagesupervisor field on the page of the title with BeamerBeamer Template - Disable Margins in Title pageCreate a document cover using style classAdding a new field to the title page in beamerLaTeX beamer: pagenumbering appendixModify the title page of a template?Help designing a Title Page for thesisDesigning Latex title page for Bachelor ThesisHow remove the date in template
I am trying to create a custom title page but I am not able to write a macro that detects whether the date field is empty or not. If it is then the block of the date entry should simply be bypassed.

The image above looks weird since the date block title is shown but the actual date is empty. Of course I can manually remove the date block for such case, but I still want this to be done automatically. I also want to know how to determine if some field is empty or not.
documentclass[aspectratio=169, xcolor=x11names]beamer
usecolorthemerose
setbeamercoloritemize itemfg=black
useoutertheme[]tree
useinnerthemeinmargin
setbeamersizetext margin left=2mm, text margin right=2mm
newlengthsidebarWidth
setlengthsidebarWidth0.2paperwidth
setbeamersizesidebar width left=sidebarWidth, sidebar width right=0cm
usefontthemestructurebold
titleThe Main Title of The Presentation
subtitleShort Title Goes here
authorAl-Motasem Aldaoudeyeh
instituteNorth Dakota State University
date
setbeamertemplateheadline
setbeamertemplatedatenothing
setbeamercolorblock titlefg=blue
setbeamerfonttitle pageshape=bfseries
% Custome title page
setbeamertemplatetitle page
vspace*stretch3
beginblock
usebeamercolor[fg]title pageusebeamerfontblock titleusebeamertemplateblock title
inserttitle
endblock
beginblock
usebeamercolor[fg]title pageusebeamerfontblock titleusebeamertemplateblock title
large insertsubtitle
endblock
vspacestretch2
beginblockAuthor
insertauthor
endblock
beginblockInstitute
insertinstitute
endblock
beginblockDate
insertdate
endblock
vspacestretch5
begindocument
beginframe
titlepage
endframe
enddocument
beamer titles templates
add a comment |
I am trying to create a custom title page but I am not able to write a macro that detects whether the date field is empty or not. If it is then the block of the date entry should simply be bypassed.

The image above looks weird since the date block title is shown but the actual date is empty. Of course I can manually remove the date block for such case, but I still want this to be done automatically. I also want to know how to determine if some field is empty or not.
documentclass[aspectratio=169, xcolor=x11names]beamer
usecolorthemerose
setbeamercoloritemize itemfg=black
useoutertheme[]tree
useinnerthemeinmargin
setbeamersizetext margin left=2mm, text margin right=2mm
newlengthsidebarWidth
setlengthsidebarWidth0.2paperwidth
setbeamersizesidebar width left=sidebarWidth, sidebar width right=0cm
usefontthemestructurebold
titleThe Main Title of The Presentation
subtitleShort Title Goes here
authorAl-Motasem Aldaoudeyeh
instituteNorth Dakota State University
date
setbeamertemplateheadline
setbeamertemplatedatenothing
setbeamercolorblock titlefg=blue
setbeamerfonttitle pageshape=bfseries
% Custome title page
setbeamertemplatetitle page
vspace*stretch3
beginblock
usebeamercolor[fg]title pageusebeamerfontblock titleusebeamertemplateblock title
inserttitle
endblock
beginblock
usebeamercolor[fg]title pageusebeamerfontblock titleusebeamertemplateblock title
large insertsubtitle
endblock
vspacestretch2
beginblockAuthor
insertauthor
endblock
beginblockInstitute
insertinstitute
endblock
beginblockDate
insertdate
endblock
vspacestretch5
begindocument
beginframe
titlepage
endframe
enddocument
beamer titles templates
add a comment |
I am trying to create a custom title page but I am not able to write a macro that detects whether the date field is empty or not. If it is then the block of the date entry should simply be bypassed.

The image above looks weird since the date block title is shown but the actual date is empty. Of course I can manually remove the date block for such case, but I still want this to be done automatically. I also want to know how to determine if some field is empty or not.
documentclass[aspectratio=169, xcolor=x11names]beamer
usecolorthemerose
setbeamercoloritemize itemfg=black
useoutertheme[]tree
useinnerthemeinmargin
setbeamersizetext margin left=2mm, text margin right=2mm
newlengthsidebarWidth
setlengthsidebarWidth0.2paperwidth
setbeamersizesidebar width left=sidebarWidth, sidebar width right=0cm
usefontthemestructurebold
titleThe Main Title of The Presentation
subtitleShort Title Goes here
authorAl-Motasem Aldaoudeyeh
instituteNorth Dakota State University
date
setbeamertemplateheadline
setbeamertemplatedatenothing
setbeamercolorblock titlefg=blue
setbeamerfonttitle pageshape=bfseries
% Custome title page
setbeamertemplatetitle page
vspace*stretch3
beginblock
usebeamercolor[fg]title pageusebeamerfontblock titleusebeamertemplateblock title
inserttitle
endblock
beginblock
usebeamercolor[fg]title pageusebeamerfontblock titleusebeamertemplateblock title
large insertsubtitle
endblock
vspacestretch2
beginblockAuthor
insertauthor
endblock
beginblockInstitute
insertinstitute
endblock
beginblockDate
insertdate
endblock
vspacestretch5
begindocument
beginframe
titlepage
endframe
enddocument
beamer titles templates
I am trying to create a custom title page but I am not able to write a macro that detects whether the date field is empty or not. If it is then the block of the date entry should simply be bypassed.

The image above looks weird since the date block title is shown but the actual date is empty. Of course I can manually remove the date block for such case, but I still want this to be done automatically. I also want to know how to determine if some field is empty or not.
documentclass[aspectratio=169, xcolor=x11names]beamer
usecolorthemerose
setbeamercoloritemize itemfg=black
useoutertheme[]tree
useinnerthemeinmargin
setbeamersizetext margin left=2mm, text margin right=2mm
newlengthsidebarWidth
setlengthsidebarWidth0.2paperwidth
setbeamersizesidebar width left=sidebarWidth, sidebar width right=0cm
usefontthemestructurebold
titleThe Main Title of The Presentation
subtitleShort Title Goes here
authorAl-Motasem Aldaoudeyeh
instituteNorth Dakota State University
date
setbeamertemplateheadline
setbeamertemplatedatenothing
setbeamercolorblock titlefg=blue
setbeamerfonttitle pageshape=bfseries
% Custome title page
setbeamertemplatetitle page
vspace*stretch3
beginblock
usebeamercolor[fg]title pageusebeamerfontblock titleusebeamertemplateblock title
inserttitle
endblock
beginblock
usebeamercolor[fg]title pageusebeamerfontblock titleusebeamertemplateblock title
large insertsubtitle
endblock
vspacestretch2
beginblockAuthor
insertauthor
endblock
beginblockInstitute
insertinstitute
endblock
beginblockDate
insertdate
endblock
vspacestretch5
begindocument
beginframe
titlepage
endframe
enddocument
beamer titles templates
beamer titles templates
asked 5 mins ago
Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh
1,683413
1,683413
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479859%2fhow-to-detect-if-the-date-field-is-empty-when-designing-a-custom-title-page-temp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479859%2fhow-to-detect-if-the-date-field-is-empty-when-designing-a-custom-title-page-temp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown