hello,
I have created a document class and a template for the guidelines of the
Berufsakademie Stuttgart. The class has already been used and works, but I
would like to make it a little more professional. For formating the text I used
the scrartcle-class and some LaTeX-Commands set as Preamble. I tried now to
format with LyX-commands, but this just works for the text written in LyX. With
transformating in PDFlatex the LyX-commands are ineffective. Can the
LaTeX-Preamble be a reason of this? I have a little example (part of the
document class), perhaps s.b. can help me... thank you
# Input general definitions
Input scrartcl.layout
Preamble
\usepackage[paper=a4paper,left=3.5cm,right=1.5cm,top=2.5cm,bottom=2.0cm]{geometry}
\renewcommand{\sfdefault}{phv}
\sffamily
\fontsize{11}{11}
\linespread{1.5}
\usepackage[T1]{fontenc}
\pagenumbering{Roman}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\ihead[]{}
\ohead[]{}
\chead[]{\pagemark}
\cfoot[]{}
\renewcommand{\pnumfont}{\normalfont\sffamily}
\setkomafont{footnote}{\sffamily}
\setlength{\parindent}{0pt}
\setlength{\parskip}{2ex}
\usepackage[latin1]{inputenc}
Endpreamble
MaxCounter section
SecNumDepth 4
TocDepth 4
# Change a bit Part and Part
# Die Änderungen ändern lediglich den Zustand im LyX-Umfeld, wie krieg ich das
hin, dass sich auch der LaTeX-PDF-Text ändert?!
Counter
Name section
Within chapter
End
#This should be the titel of the cover, but all arguments work only in the
LyX-tex, but not in the PDF-file...
Style Deckblatt_Titel
Margin Static
LabelType Static
LabelString "Titel:"
LabelSep x
LabelFont
Shape Italic
Size Small
Color blue
EndFont
Align center
TextFont
Family Italic
Size larger
Series bold
EndFont
BottomSep 2.0
Spacing Onehalf
End
with regards
Nico Winger
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131