Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

\subtitle in titling Package?

68 views
Skip to first unread message

Jazzman_Marburg

unread,
Aug 4, 2012, 11:04:05 AM8/4/12
to
Hallo Gemeinde.

Vielleicht kennt jemand ja das Paket titling -- und kann mir dabei helfen einen "subtitle" darin unterzubekommen?

Ich bin dabei mir eine Artikel-Vorlage zu bauen, und habe das Paket titling benutzt (weil ich es mit KOMAs \titlepage nicht so hinbekam) um die Titelseite zu gestalten. Soweit bin auch auch zufrieden -- leider finde ich aber keine Möglichkeit einen "subtitle" einzufügen. Das Paket titling kennt kein "subtitle".

Kann jemand vielleicht helfen?

Hier mein "Minimalbeispiel"

% --------------------------------------------------------------------------
% Dokumentenklasse (Koma Script: scrartcl)
% --------------------------------------------------------------------------
\documentclass[
DIV=13,
paper=a4,
fontsize=10pt,
twocolumn=false,
pagesize=auto,
parskip=half,
version=last,
]{scrartcl}

% Language-Setting
\usepackage[
% german,
% ngerman,
english,
% french,
]{babel}

% Farben
\usepackage[
x11names, % Enabling colors by their 'x11names'
table, % Load for using rowcolors command in tables
]{xcolor}

\usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats
\usepackage{epstopdf} % Converts .eps to .pdf
\usepackage{fix-cm} % Custom fontsizes
\usepackage{abstract}
\usepackage{blindtext}

% Fonts
\usepackage[T1]{fontenc} % T1 Schrift Encoding
\usepackage{textcomp} % Zusatzliche Symbole (Text Companion font extension)

\usepackage[sc]{mathpazo} % Palantino
\linespread{1.05} % Palatino needs more leading (space between lines)
\usepackage[scaled=.95]{helvet} % Helvetica
\usepackage{courier} % Courier

\usepackage{relsize}

% Multi-column layout
\usepackage{multicol}
\setlength{\columnsep}{12pt}

% PDF related packages
% ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/microtype/microtype.pdf
\ifpdf
\usepackage[%
expansion=true, % better typography, but with much larger PDF file.
protrusion=true
]{microtype}

% Headers and footers
\usepackage{fancyhdr} % Needed to define custom headers/footers
\pagestyle{fancy} % Enabling the custom headers/footers

% Header (empty)
\renewcommand{\headrulewidth}{0.0pt}
\lhead{}
\chead{}
\rhead{}

% Footer
\newcommand{\DocTitle}{Dings, Bums und Hallo}

%\renewcommand{\footrulewidth}{0.4pt}
\lfoot{\small\emph{\DocTitle}}
\cfoot{}
\rfoot{\thepage}

% For custom titles: The titling package

% --------------------------------------------------------------------------
\usepackage{titling}
\newcommand{\HorRule}{\color{Firebrick3}
\rule{\linewidth}{3pt}
}
% --------------------------------------------------------------------------
\newcommand{\ThinHorRule}{\color{Firebrick3}
\rule{\linewidth}{1pt}
}
% Pretitle -----------------------------------------------------------------
\pretitle{\vspace{-30pt}
\begin{flushleft}
\HorRule
\fontsize{28}{40}
\usefont{OT1}{phv}{b}{n}
\color{Firebrick3}
\selectfont
}

% Posttitle ----------------------------------------------------------------
\posttitle{\par\end{flushleft}
\vskip 0.5em
}

% Preauthor ----------------------------------------------------------------
\preauthor{\begin{flushleft}
\small \lineskip 0.5em
\usefont{OT1}{phv}{b}{n}
\color{black}}

% Author -------------------------------------------------------------------
\author{Hans Klug, }

% Postauthor ---------------------------------------------------------------
\postauthor{\footnotesize
\usefont{OT1}{phv}{m}{n}
\color{black}
University XY % Institution of author
\par
\end{flushleft}
\ThinHorRule}

\date{\small\today}

\renewcommand{\abstractnamefont}{\normalfont\normalsize\textbf}
\renewcommand{\abstracttextfont}{\normalfont\normalsize\emph}


% **************************************************************************
% Document starts here
% **************************************************************************
\begin{document}

% Title --------------------------------------------------------------------
\title{\DocTitle}

\maketitle

\begin{onecolabstract}
\blindtext
\end{onecolabstract}

\vspace*{1cm}

\begin{multicols}{2}

\thispagestyle{fancy}

\blindtext
\blindtext
\blindtext

\end{multicols}

\end{document}

Vielen Dank
Gruß
Jazzman
0 new messages