Subtitle with the maketitle page?












44














Does there exist some command for subtitles in the maketitle thing?










share|improve this question




















  • 10




    The titlepage environment can be used to create a title page with everything you need. The standard classes don't even try to provide "everything" one could need. You can look at the titling package for getting aid in designing a title.
    – egreg
    Mar 31 '12 at 12:15
















44














Does there exist some command for subtitles in the maketitle thing?










share|improve this question




















  • 10




    The titlepage environment can be used to create a title page with everything you need. The standard classes don't even try to provide "everything" one could need. You can look at the titling package for getting aid in designing a title.
    – egreg
    Mar 31 '12 at 12:15














44












44








44


16





Does there exist some command for subtitles in the maketitle thing?










share|improve this question















Does there exist some command for subtitles in the maketitle thing?







titles






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 31 '12 at 13:59









Torbjørn T.

155k13248436




155k13248436










asked Mar 31 '12 at 12:09









hhhhhh

3,55373162




3,55373162








  • 10




    The titlepage environment can be used to create a title page with everything you need. The standard classes don't even try to provide "everything" one could need. You can look at the titling package for getting aid in designing a title.
    – egreg
    Mar 31 '12 at 12:15














  • 10




    The titlepage environment can be used to create a title page with everything you need. The standard classes don't even try to provide "everything" one could need. You can look at the titling package for getting aid in designing a title.
    – egreg
    Mar 31 '12 at 12:15








10




10




The titlepage environment can be used to create a title page with everything you need. The standard classes don't even try to provide "everything" one could need. You can look at the titling package for getting aid in designing a title.
– egreg
Mar 31 '12 at 12:15




The titlepage environment can be used to create a title page with everything you need. The standard classes don't even try to provide "everything" one could need. You can look at the titling package for getting aid in designing a title.
– egreg
Mar 31 '12 at 12:15










3 Answers
3






active

oldest

votes


















38














In the standard classes: no. In the KOMA-Script classes: yes.



documentclass{scrartcl}

begin{document}

title{(Title)}
subtitle{(Subtitle)}
author{(Author)}

maketitle

end{document}


enter image description here






share|improve this answer





















  • How about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:03












  • @hhh AFAIK, no class/package offers this.
    – lockstep
    Apr 1 '12 at 11:05



















46














With the titling package one can define a subtitle command as follows:



documentclass[a4paper]{article}
usepackage{titling}
newcommand{subtitle}[1]{%
posttitle{%
parend{center}
begin{center}large#1end{center}
vskip0.5em}%
}

begin{document}

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

maketitle

end{document}


The trick is that titling redefines maketitle so that it executes, among other things



<pretitle tokens> <title tokens> <posttitle tokens>


and what goes in <posttitle tokens> is set by



posttitle{tokens}


The default, as made clear in the documentation, is



  posttitle{parend{center}vskip0.5em}


so what's needed is to insert something in between.



enter image description here






share|improve this answer





















  • ...how about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:18










  • @hhh What do you mean?
    – egreg
    Mar 31 '12 at 14:19










  • Like is it possible to have subsubtitle{...}? At least with the title{...} linebreaks do not work in title -element title{oneLinen newLine}.
    – hhh
    Mar 31 '12 at 14:29








  • 4




    Use \ to force a line break.
    – egreg
    Mar 31 '12 at 14:49










  • @egreg Thanks for the helpful solution here. Unfortunately I'm running into an error when trying to include an abstract and multiple authors. I posted a separate question about the issue here: tex.stackexchange.com/questions/285711/…
    – Mathemanic
    Jan 3 '16 at 5:22



















0














I was inspired by Enrico's suggestion, but didn't want to use the titling package because it's not included in BasicTeX and some other minimal TeX distributions, so I added a subtitle using etoolbox instead. This also won't clash with KOMA-Script or other classes that add their own version of subtitle:



documentclass{article}

makeatletter
providecommand{subtitle}[1]{% add subtitle to maketitle
usepackage{etoolbox}
apptocmd{@title}{par large #1}{}{}
}
makeatother

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

begin{document}

maketitle

end{document}




share

















  • 1




    Don't place the usepackage{etoolbox} inside the definition of subtitle.
    – Werner
    4 mins ago










  • Is there a reason for that? The idea was to load etoolbox only if the command were used.
    – Andrew Dunning
    17 secs ago











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f50182%2fsubtitle-with-the-maketitle-page%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









38














In the standard classes: no. In the KOMA-Script classes: yes.



documentclass{scrartcl}

begin{document}

title{(Title)}
subtitle{(Subtitle)}
author{(Author)}

maketitle

end{document}


enter image description here






share|improve this answer





















  • How about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:03












  • @hhh AFAIK, no class/package offers this.
    – lockstep
    Apr 1 '12 at 11:05
















38














In the standard classes: no. In the KOMA-Script classes: yes.



documentclass{scrartcl}

begin{document}

title{(Title)}
subtitle{(Subtitle)}
author{(Author)}

maketitle

end{document}


enter image description here






share|improve this answer





















  • How about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:03












  • @hhh AFAIK, no class/package offers this.
    – lockstep
    Apr 1 '12 at 11:05














38












38








38






In the standard classes: no. In the KOMA-Script classes: yes.



documentclass{scrartcl}

begin{document}

title{(Title)}
subtitle{(Subtitle)}
author{(Author)}

maketitle

end{document}


enter image description here






share|improve this answer












In the standard classes: no. In the KOMA-Script classes: yes.



documentclass{scrartcl}

begin{document}

title{(Title)}
subtitle{(Subtitle)}
author{(Author)}

maketitle

end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 31 '12 at 12:17









locksteplockstep

190k52585719




190k52585719












  • How about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:03












  • @hhh AFAIK, no class/package offers this.
    – lockstep
    Apr 1 '12 at 11:05


















  • How about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:03












  • @hhh AFAIK, no class/package offers this.
    – lockstep
    Apr 1 '12 at 11:05
















How about subsubsub...title?
– hhh
Mar 31 '12 at 14:03






How about subsubsub...title?
– hhh
Mar 31 '12 at 14:03














@hhh AFAIK, no class/package offers this.
– lockstep
Apr 1 '12 at 11:05




@hhh AFAIK, no class/package offers this.
– lockstep
Apr 1 '12 at 11:05











46














With the titling package one can define a subtitle command as follows:



documentclass[a4paper]{article}
usepackage{titling}
newcommand{subtitle}[1]{%
posttitle{%
parend{center}
begin{center}large#1end{center}
vskip0.5em}%
}

begin{document}

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

maketitle

end{document}


The trick is that titling redefines maketitle so that it executes, among other things



<pretitle tokens> <title tokens> <posttitle tokens>


and what goes in <posttitle tokens> is set by



posttitle{tokens}


The default, as made clear in the documentation, is



  posttitle{parend{center}vskip0.5em}


so what's needed is to insert something in between.



enter image description here






share|improve this answer





















  • ...how about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:18










  • @hhh What do you mean?
    – egreg
    Mar 31 '12 at 14:19










  • Like is it possible to have subsubtitle{...}? At least with the title{...} linebreaks do not work in title -element title{oneLinen newLine}.
    – hhh
    Mar 31 '12 at 14:29








  • 4




    Use \ to force a line break.
    – egreg
    Mar 31 '12 at 14:49










  • @egreg Thanks for the helpful solution here. Unfortunately I'm running into an error when trying to include an abstract and multiple authors. I posted a separate question about the issue here: tex.stackexchange.com/questions/285711/…
    – Mathemanic
    Jan 3 '16 at 5:22
















46














With the titling package one can define a subtitle command as follows:



documentclass[a4paper]{article}
usepackage{titling}
newcommand{subtitle}[1]{%
posttitle{%
parend{center}
begin{center}large#1end{center}
vskip0.5em}%
}

begin{document}

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

maketitle

end{document}


The trick is that titling redefines maketitle so that it executes, among other things



<pretitle tokens> <title tokens> <posttitle tokens>


and what goes in <posttitle tokens> is set by



posttitle{tokens}


The default, as made clear in the documentation, is



  posttitle{parend{center}vskip0.5em}


so what's needed is to insert something in between.



enter image description here






share|improve this answer





















  • ...how about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:18










  • @hhh What do you mean?
    – egreg
    Mar 31 '12 at 14:19










  • Like is it possible to have subsubtitle{...}? At least with the title{...} linebreaks do not work in title -element title{oneLinen newLine}.
    – hhh
    Mar 31 '12 at 14:29








  • 4




    Use \ to force a line break.
    – egreg
    Mar 31 '12 at 14:49










  • @egreg Thanks for the helpful solution here. Unfortunately I'm running into an error when trying to include an abstract and multiple authors. I posted a separate question about the issue here: tex.stackexchange.com/questions/285711/…
    – Mathemanic
    Jan 3 '16 at 5:22














46












46








46






With the titling package one can define a subtitle command as follows:



documentclass[a4paper]{article}
usepackage{titling}
newcommand{subtitle}[1]{%
posttitle{%
parend{center}
begin{center}large#1end{center}
vskip0.5em}%
}

begin{document}

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

maketitle

end{document}


The trick is that titling redefines maketitle so that it executes, among other things



<pretitle tokens> <title tokens> <posttitle tokens>


and what goes in <posttitle tokens> is set by



posttitle{tokens}


The default, as made clear in the documentation, is



  posttitle{parend{center}vskip0.5em}


so what's needed is to insert something in between.



enter image description here






share|improve this answer












With the titling package one can define a subtitle command as follows:



documentclass[a4paper]{article}
usepackage{titling}
newcommand{subtitle}[1]{%
posttitle{%
parend{center}
begin{center}large#1end{center}
vskip0.5em}%
}

begin{document}

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

maketitle

end{document}


The trick is that titling redefines maketitle so that it executes, among other things



<pretitle tokens> <title tokens> <posttitle tokens>


and what goes in <posttitle tokens> is set by



posttitle{tokens}


The default, as made clear in the documentation, is



  posttitle{parend{center}vskip0.5em}


so what's needed is to insert something in between.



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 31 '12 at 12:45









egregegreg

711k8618913174




711k8618913174












  • ...how about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:18










  • @hhh What do you mean?
    – egreg
    Mar 31 '12 at 14:19










  • Like is it possible to have subsubtitle{...}? At least with the title{...} linebreaks do not work in title -element title{oneLinen newLine}.
    – hhh
    Mar 31 '12 at 14:29








  • 4




    Use \ to force a line break.
    – egreg
    Mar 31 '12 at 14:49










  • @egreg Thanks for the helpful solution here. Unfortunately I'm running into an error when trying to include an abstract and multiple authors. I posted a separate question about the issue here: tex.stackexchange.com/questions/285711/…
    – Mathemanic
    Jan 3 '16 at 5:22


















  • ...how about subsubsub...title?
    – hhh
    Mar 31 '12 at 14:18










  • @hhh What do you mean?
    – egreg
    Mar 31 '12 at 14:19










  • Like is it possible to have subsubtitle{...}? At least with the title{...} linebreaks do not work in title -element title{oneLinen newLine}.
    – hhh
    Mar 31 '12 at 14:29








  • 4




    Use \ to force a line break.
    – egreg
    Mar 31 '12 at 14:49










  • @egreg Thanks for the helpful solution here. Unfortunately I'm running into an error when trying to include an abstract and multiple authors. I posted a separate question about the issue here: tex.stackexchange.com/questions/285711/…
    – Mathemanic
    Jan 3 '16 at 5:22
















...how about subsubsub...title?
– hhh
Mar 31 '12 at 14:18




...how about subsubsub...title?
– hhh
Mar 31 '12 at 14:18












@hhh What do you mean?
– egreg
Mar 31 '12 at 14:19




@hhh What do you mean?
– egreg
Mar 31 '12 at 14:19












Like is it possible to have subsubtitle{...}? At least with the title{...} linebreaks do not work in title -element title{oneLinen newLine}.
– hhh
Mar 31 '12 at 14:29






Like is it possible to have subsubtitle{...}? At least with the title{...} linebreaks do not work in title -element title{oneLinen newLine}.
– hhh
Mar 31 '12 at 14:29






4




4




Use \ to force a line break.
– egreg
Mar 31 '12 at 14:49




Use \ to force a line break.
– egreg
Mar 31 '12 at 14:49












@egreg Thanks for the helpful solution here. Unfortunately I'm running into an error when trying to include an abstract and multiple authors. I posted a separate question about the issue here: tex.stackexchange.com/questions/285711/…
– Mathemanic
Jan 3 '16 at 5:22




@egreg Thanks for the helpful solution here. Unfortunately I'm running into an error when trying to include an abstract and multiple authors. I posted a separate question about the issue here: tex.stackexchange.com/questions/285711/…
– Mathemanic
Jan 3 '16 at 5:22











0














I was inspired by Enrico's suggestion, but didn't want to use the titling package because it's not included in BasicTeX and some other minimal TeX distributions, so I added a subtitle using etoolbox instead. This also won't clash with KOMA-Script or other classes that add their own version of subtitle:



documentclass{article}

makeatletter
providecommand{subtitle}[1]{% add subtitle to maketitle
usepackage{etoolbox}
apptocmd{@title}{par large #1}{}{}
}
makeatother

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

begin{document}

maketitle

end{document}




share

















  • 1




    Don't place the usepackage{etoolbox} inside the definition of subtitle.
    – Werner
    4 mins ago










  • Is there a reason for that? The idea was to load etoolbox only if the command were used.
    – Andrew Dunning
    17 secs ago
















0














I was inspired by Enrico's suggestion, but didn't want to use the titling package because it's not included in BasicTeX and some other minimal TeX distributions, so I added a subtitle using etoolbox instead. This also won't clash with KOMA-Script or other classes that add their own version of subtitle:



documentclass{article}

makeatletter
providecommand{subtitle}[1]{% add subtitle to maketitle
usepackage{etoolbox}
apptocmd{@title}{par large #1}{}{}
}
makeatother

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

begin{document}

maketitle

end{document}




share

















  • 1




    Don't place the usepackage{etoolbox} inside the definition of subtitle.
    – Werner
    4 mins ago










  • Is there a reason for that? The idea was to load etoolbox only if the command were used.
    – Andrew Dunning
    17 secs ago














0












0








0






I was inspired by Enrico's suggestion, but didn't want to use the titling package because it's not included in BasicTeX and some other minimal TeX distributions, so I added a subtitle using etoolbox instead. This also won't clash with KOMA-Script or other classes that add their own version of subtitle:



documentclass{article}

makeatletter
providecommand{subtitle}[1]{% add subtitle to maketitle
usepackage{etoolbox}
apptocmd{@title}{par large #1}{}{}
}
makeatother

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

begin{document}

maketitle

end{document}




share












I was inspired by Enrico's suggestion, but didn't want to use the titling package because it's not included in BasicTeX and some other minimal TeX distributions, so I added a subtitle using etoolbox instead. This also won't clash with KOMA-Script or other classes that add their own version of subtitle:



documentclass{article}

makeatletter
providecommand{subtitle}[1]{% add subtitle to maketitle
usepackage{etoolbox}
apptocmd{@title}{par large #1}{}{}
}
makeatother

title{(Title)}
subtitle{(Subtitle)}

author{(Author)}

begin{document}

maketitle

end{document}





share











share


share










answered 7 mins ago









Andrew DunningAndrew Dunning

996




996








  • 1




    Don't place the usepackage{etoolbox} inside the definition of subtitle.
    – Werner
    4 mins ago










  • Is there a reason for that? The idea was to load etoolbox only if the command were used.
    – Andrew Dunning
    17 secs ago














  • 1




    Don't place the usepackage{etoolbox} inside the definition of subtitle.
    – Werner
    4 mins ago










  • Is there a reason for that? The idea was to load etoolbox only if the command were used.
    – Andrew Dunning
    17 secs ago








1




1




Don't place the usepackage{etoolbox} inside the definition of subtitle.
– Werner
4 mins ago




Don't place the usepackage{etoolbox} inside the definition of subtitle.
– Werner
4 mins ago












Is there a reason for that? The idea was to load etoolbox only if the command were used.
– Andrew Dunning
17 secs ago




Is there a reason for that? The idea was to load etoolbox only if the command were used.
– Andrew Dunning
17 secs ago


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f50182%2fsubtitle-with-the-maketitle-page%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt