Subtitle with the maketitle page?
Does there exist some command for subtitles in the maketitle
thing?
titles
add a comment |
Does there exist some command for subtitles in the maketitle
thing?
titles
10
Thetitlepage
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 thetitling
package for getting aid in designing a title.
– egreg
Mar 31 '12 at 12:15
add a comment |
Does there exist some command for subtitles in the maketitle
thing?
titles
Does there exist some command for subtitles in the maketitle
thing?
titles
titles
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
Thetitlepage
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 thetitling
package for getting aid in designing a title.
– egreg
Mar 31 '12 at 12:15
add a comment |
10
Thetitlepage
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 thetitling
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
add a comment |
3 Answers
3
active
oldest
votes
In the standard classes: no. In the KOMA-Script
classes: yes.
documentclass{scrartcl}
begin{document}
title{(Title)}
subtitle{(Subtitle)}
author{(Author)}
maketitle
end{document}
How aboutsubsubsub...title
?
– hhh
Mar 31 '12 at 14:03
@hhh AFAIK, no class/package offers this.
– lockstep
Apr 1 '12 at 11:05
add a comment |
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.
...how aboutsubsubsub...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 havesubsubtitle{...}
? At least with thetitle{...}
linebreaks do not work in title -elementtitle{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
|
show 5 more comments
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}
1
Don't place theusepackage{etoolbox}
inside the definition ofsubtitle
.
– Werner
4 mins ago
Is there a reason for that? The idea was to loadetoolbox
only if the command were used.
– Andrew Dunning
17 secs ago
add a comment |
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%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
In the standard classes: no. In the KOMA-Script
classes: yes.
documentclass{scrartcl}
begin{document}
title{(Title)}
subtitle{(Subtitle)}
author{(Author)}
maketitle
end{document}
How aboutsubsubsub...title
?
– hhh
Mar 31 '12 at 14:03
@hhh AFAIK, no class/package offers this.
– lockstep
Apr 1 '12 at 11:05
add a comment |
In the standard classes: no. In the KOMA-Script
classes: yes.
documentclass{scrartcl}
begin{document}
title{(Title)}
subtitle{(Subtitle)}
author{(Author)}
maketitle
end{document}
How aboutsubsubsub...title
?
– hhh
Mar 31 '12 at 14:03
@hhh AFAIK, no class/package offers this.
– lockstep
Apr 1 '12 at 11:05
add a comment |
In the standard classes: no. In the KOMA-Script
classes: yes.
documentclass{scrartcl}
begin{document}
title{(Title)}
subtitle{(Subtitle)}
author{(Author)}
maketitle
end{document}
In the standard classes: no. In the KOMA-Script
classes: yes.
documentclass{scrartcl}
begin{document}
title{(Title)}
subtitle{(Subtitle)}
author{(Author)}
maketitle
end{document}
answered Mar 31 '12 at 12:17
locksteplockstep
190k52585719
190k52585719
How aboutsubsubsub...title
?
– hhh
Mar 31 '12 at 14:03
@hhh AFAIK, no class/package offers this.
– lockstep
Apr 1 '12 at 11:05
add a comment |
How aboutsubsubsub...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
add a comment |
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.
...how aboutsubsubsub...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 havesubsubtitle{...}
? At least with thetitle{...}
linebreaks do not work in title -elementtitle{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
|
show 5 more comments
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.
...how aboutsubsubsub...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 havesubsubtitle{...}
? At least with thetitle{...}
linebreaks do not work in title -elementtitle{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
|
show 5 more comments
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.
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.
answered Mar 31 '12 at 12:45
egregegreg
711k8618913174
711k8618913174
...how aboutsubsubsub...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 havesubsubtitle{...}
? At least with thetitle{...}
linebreaks do not work in title -elementtitle{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
|
show 5 more comments
...how aboutsubsubsub...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 havesubsubtitle{...}
? At least with thetitle{...}
linebreaks do not work in title -elementtitle{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
|
show 5 more comments
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}
1
Don't place theusepackage{etoolbox}
inside the definition ofsubtitle
.
– Werner
4 mins ago
Is there a reason for that? The idea was to loadetoolbox
only if the command were used.
– Andrew Dunning
17 secs ago
add a comment |
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}
1
Don't place theusepackage{etoolbox}
inside the definition ofsubtitle
.
– Werner
4 mins ago
Is there a reason for that? The idea was to loadetoolbox
only if the command were used.
– Andrew Dunning
17 secs ago
add a comment |
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}
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}
answered 7 mins ago
Andrew DunningAndrew Dunning
996
996
1
Don't place theusepackage{etoolbox}
inside the definition ofsubtitle
.
– Werner
4 mins ago
Is there a reason for that? The idea was to loadetoolbox
only if the command were used.
– Andrew Dunning
17 secs ago
add a comment |
1
Don't place theusepackage{etoolbox}
inside the definition ofsubtitle
.
– Werner
4 mins ago
Is there a reason for that? The idea was to loadetoolbox
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
add a comment |
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%2f50182%2fsubtitle-with-the-maketitle-page%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
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 thetitling
package for getting aid in designing a title.– egreg
Mar 31 '12 at 12:15