summaryrefslogtreecommitdiff
path: root/latex/lxarticle
diff options
context:
space:
mode:
authorHans J. Koch <hjk@linutronix.de>2009-06-15 23:13:20 +0200
committerHans J. Koch <hjk@linutronix.de>2009-06-15 23:13:20 +0200
commit519f569cf70941dae8df59b577c2fd9cab505deb (patch)
tree2ccb97ee050a3869836addb023d219dbeaaccacb /latex/lxarticle
parent5ea77abba63caf9c7c7fd86a6196857e79e12325 (diff)
Really commit things now...
Diffstat (limited to 'latex/lxarticle')
-rw-r--r--latex/lxarticle/lxarticle.cls49
1 files changed, 27 insertions, 22 deletions
diff --git a/latex/lxarticle/lxarticle.cls b/latex/lxarticle/lxarticle.cls
index 4972803..6b30a17 100644
--- a/latex/lxarticle/lxarticle.cls
+++ b/latex/lxarticle/lxarticle.cls
@@ -52,9 +52,11 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{article}
- [2005/09/16 v1.4f
- Standard LaTeX document class]
+\ProvidesClass{lxarticle}
+ [2009/06/10 v1.0]
+\RequirePackage{graphicx}
+\RequirePackage{color}
+\definecolor{lxcolor}{RGB}{242,130,20}
\newcommand\@ptsize{}
\newif\if@restonecol
\newif\if@titlepage
@@ -182,20 +184,23 @@
\let\footnoterule\relax
\let \footnote \thanks
\null\vfil
- \vskip 60\p@
- \begin{center}%
- {\LARGE \@title \par}%
- \vskip 3em%
- {\large
- \lineskip .75em%
- \begin{tabular}[t]{c}%
- \@author
- \end{tabular}\par}%
- \vskip 1.5em%
- {\large \@date \par}% % Set date in \large size.
- \end{center}\par
- \@thanks
- \vfil\null
+ \vskip -100\p@
+ \hspace{240pt}%
+ \includegraphics[width=20em]{linutronix-logo.eps}%
+ \hspace{4pt}
+ \mbox{\hspace{2em}}
+ \vtop{% %%%%%%%%%%%%%%%%%%
+ \vskip 240\p@
+ \begin{flushleft}
+ \Large \@author \par
+ \end{flushleft}
+ \begin{flushleft}
+ \huge \bfseries \textcolor{lxcolor} \@title \par
+ \end{flushleft}
+ \vfil
+ }
+ \color{lxcolor} \hrule height 5pt%
+ \null
\end{titlepage}%
\setcounter{footnote}{0}%
\global\let\thanks\relax
@@ -312,23 +317,23 @@
\newcommand\section{\@startsection {section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
- {\normalfont\Large\bfseries}}
+ {\sffamily\huge\bfseries \textcolor{lxcolor}}}
\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
- {\normalfont\large\bfseries}}
+ {\sffamily\Large\bfseries \textcolor{lxcolor}}}
\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
- {\normalfont\normalsize\bfseries}}
+ {\sffamily\normalsize\bfseries \textcolor{lxcolor}}}
\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{3.25ex \@plus1ex \@minus.2ex}%
{-1em}%
- {\normalfont\normalsize\bfseries}}
+ {\sffamily\normalsize\bfseries}}
\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
{3.25ex \@plus1ex \@minus .2ex}%
{-1em}%
- {\normalfont\normalsize\bfseries}}
+ {\sffamily\normalsize\bfseries}}
\if@twocolumn
\setlength\leftmargini {2em}
\else