LaTeX forum ⇒ Articles, Essays, and Journal TemplatesHow do I add a subtitle? Topic is solved

IEEE, Elsevier, ACM, ACE, Science, AGU, PNAS, PLOS, RSoC, Springer, Stylish articles and Essays
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

How do I add a subtitle?

Postby templateuser » Sun Mar 08, 2015 2:18 am

How can I make a subtitle in smaller font between the original title and author? The \subtitle command won’t work, neither did font size commands..

Joel

Tags:

User avatar
Vel
Site Moderator
Posts: 451
Joined: Fri Jun 29, 2012 1:20 am
Location: Sydney, Australia
Contact:

Postby Vel » Sun Mar 08, 2015 2:18 am

Hi Joel,

Modify the \preauthor{} line to this:

\preauthor{\usefont{OT1}{phv}{m}{s} \color{DarkRed} \LARGE Subtitle\begin{flushleft}\large \lineskip 0.5em \usefont{OT1}{phv}{b}{sl} \color{DarkRed}}

You can change the white space before this subtitle in the line above and white space below by adding \vspace{} right after the subtitle text.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

catherinebruton
Posts: 1
Joined: Thu Oct 15, 2015 11:17 am
Contact:

Postby catherinebruton » Thu Oct 15, 2015 11:37 am

  1. \documentclass{scrartcl}
  2.  
  3. \begin{document}
  4.  
  5. \title{(Title)}
  6. \subtitle{(Subtitle)}
  7. \author{(Author)}
  8.  
  9. \maketitle
  10.  
  11. \end{document}

User avatar
Stefan Kottwitz
Site Admin
Posts: 8460
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Thu Oct 15, 2015 12:59 pm

Hi Catherine,

welcome to the forum!

Thanks for the suggestion. Indeed, some classes such as those of KOMA-Script, and beamer, provide a \subtitle command, while base classes don't have it.

Stefan
Site admin

User avatar
Vel
Site Moderator
Posts: 451
Joined: Fri Jun 29, 2012 1:20 am
Location: Sydney, Australia
Contact:

Postby Vel » Tue Aug 01, 2017 3:53 pm

Thanks, I've now added this to the Arsclassica Article template.
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com


Return to “Articles, Essays, and Journal Templates”

Who is online

Users browsing this forum: No registered users and 1 guest