support for europecv: Layout file and template

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17714 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-04-04 01:35:15 +00:00
parent 566d5270f5
commit 9ad5bde3c6
4 changed files with 1048 additions and 0 deletions

View File

@ -2159,6 +2159,7 @@ lib_layouts_files = Split('''
egs.layout
elsart.layout
entcs.layout
europecv.layout
extarticle.layout
extbook.layout
extletter.layout
@ -2277,6 +2278,7 @@ lib_templates_files = Split('''
dinbrief.lyx
docbook_article.lyx
elsart.lyx
europeCV.lyx
fr_beamer-conference-ornate-20min.lyx
g-brief2.lyx
g-brief-de.lyx

View File

@ -902,6 +902,7 @@ dist_layouts_DATA =\
layouts/egs.layout \
layouts/elsart.layout \
layouts/entcs.layout \
layouts/europecv.layout \
layouts/extarticle.layout \
layouts/extbook.layout \
layouts/extletter.layout \
@ -1004,6 +1005,7 @@ dist_templates_DATA = \
templates/dinbrief.lyx \
templates/docbook_article.lyx \
templates/elsart.lyx \
templates/europeCV.lyx \
templates/fr_beamer-conference-ornate-20min.lyx \
templates/g-brief2.lyx \
templates/g-brief-de.lyx \

229
lib/layouts/europecv.layout Normal file
View File

@ -0,0 +1,229 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{curriculum vitae (europe)}
# europe CV textclass definition file.
# Author : Uwe Stöhr (uwestoehr@web.de)
# General textclass parameters
Format 3
Columns 1
Sides 1
SecNumDepth -1
TocDepth -1
# Standard style definition
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
LabelType No_Label
End
Input stdcounters.inc
Style Section
Margin Dynamic
LatexType Command
LatexName ecvsection
NeedProtect 1
NextNoIndent 1
OptionalArgs 1
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Block
LabelSep xxx
LabelType No_Label
Font
Family Sans
Series Bold
EndFont
End
Style Item
Margin Dynamic
LatexType Command
LatexName ecvitem
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString Item:
LabelFont
Series Bold
Color Blue
EndFont
End
Style BulletedItem
Margin Dynamic
LatexType Command
LatexName ecvitem*
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Bulleted Item:"
LabelFont
Series Bold
Color Blue
EndFont
End
Style Begin
Margin Dynamic
LatexType Command
LatexName begin{europecv}
KeepEmpty 1
BottomSep 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Begin of CV"
LabelFont
Series Bold
Color Green
EndFont
End
Style PersonalInfo
Margin Dynamic
LatexType Command
LatexName ecvpersonalinfo{}
KeepEmpty 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Personal Info"
LabelFont
Series Bold
Color Green
EndFont
End
Style MotherTongue
Margin Dynamic
LatexType Command
LatexName ecvmothertongue
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Mother Tongue:"
LabelFont
Series Bold
Color Blue
EndFont
End
Style LangHeader
Margin Dynamic
LatexType Command
LatexName ecvlanguageheader
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Language Header:"
LabelFont
Series Bold
Color Blue
EndFont
End
Style Language
Margin Dynamic
LatexType Command
LatexName ecvlanguage
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString Language:
LabelFont
Series Bold
Color Blue
EndFont
End
Style LastLanguage
Margin Dynamic
LatexType Command
LatexName ecvlastlanguage
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Last Language:"
LabelFont
Series Bold
Color Blue
EndFont
End
Style LangFooter
Margin Dynamic
LatexType Command
LatexName ecvlanguagefooter
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Language Footer:"
LabelFont
Series Bold
Color Blue
EndFont
End
Style Bibliography
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
NextNoIndent 1
LeftMargin MM
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
LabelType Bibliography
LabelString "References"
LabelBottomSep 1.2
LabelFont
Series Bold
Size Larger
Family Sans
EndFont
End
Style End
Margin Dynamic
LatexType Command
LatexName end{europecv}
KeepEmpty 1
TopSep 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "End of CV"
LabelFont
Series Bold
Color Green
EndFont
End

815
lib/templates/europeCV.lyx Normal file
View File

@ -0,0 +1,815 @@
#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 263
\begin_document
\begin_header
\textclass europecv
\begin_preamble
\usepackage{graphicx}
% Define personal data
\ecvname{Testmann, Paul}
\ecvfootername{Paul Testmann}
\ecvnationality{Switzerland}
\ecvdateofbirth{June 23, 1962}
\ecvaddress{Teststreet\\
03333 Nicecity\\
Switzerland}
\ecvemail{testman@testman.xx}
% the optional phnoe number is for the mobile
\ecvtelephone[+43(0)777 7777]{+43(0)999 9999}
% for the gender and fax number
%\ecvgender{male}
%\ecvfax{fax}
% define text or image alignment and position:
% in this case the image is shifted 6cm to the right
\ecvbeforepicture{\hspace{6cm}}
% image
\ecvpicture[height=3cm]{CV-image}
% define text or space after the image
% in this case the following shifted 2cm to the image
\ecvafterpicture{\ecvspace{-2cm}}
% if you e.g. only want the page number to be printed in the footer
%\ecvpage{\thepage}
\end_preamble
\options nologo
\language english
\inputencoding utf8x
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\paperfontsize 10
\spacing single
\papersize default
\use_geometry true
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 2cm
\topmargin 2cm
\rightmargin 2cm
\bottommargin 3cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "usti"
\end_header
\begin_body
\begin_layout Begin
\begin_inset Note Note
status open
\begin_layout Standard
Keep entries with green labels empty!
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Note Note
status open
\begin_layout Standard
\series bold
Note:
\series default
The personal settings like your name, address, etc.
are set in the document preamble.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Note Note
status open
\begin_layout Standard
The europecv-class offers lots of customization possibilities; to find out
more, look at its documentatation.
\end_layout
\end_inset
\end_layout
\begin_layout PersonalInfo
\end_layout
\begin_layout Section
Education
\end_layout
\begin_layout Item
2003--2006
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
Master of Economics, Institution, City, Country, Description
\end_layout
\begin_layout Item
2001--2003
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
Bachelor of Economics, Institution, City, Country, Description
\end_layout
\begin_layout Section
Master Thesis
\end_layout
\begin_layout BulletedItem
Title
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\emph on
Title of the thesis
\end_layout
\begin_layout BulletedItem
Supervisors
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
Names of supervisors
\end_layout
\begin_layout BulletedItem
Description
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\size small
Description text
\end_layout
\begin_layout Section
Experience
\end_layout
\begin_layout Item
February 2006--current
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
Maintainer of OpenSource projects
\end_layout
\begin_layout Item
2005--2006
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
Employer, Corp.
name, City, Country
\end_layout
\begin_layout Section
Languages
\end_layout
\begin_layout MotherTongue
\begin_inset OptArg
status collapsed
\begin_layout Standard
10pt
\end_layout
\end_inset
French
\begin_inset Note Note
status open
\begin_layout Standard
The optional parameter is the vertical height behind the item.
It is available for every kind of items.
\end_layout
\end_inset
\end_layout
\begin_layout LangHeader
(
\begin_inset Formula $\star$
\end_inset
)
\begin_inset Note Note
status open
\begin_layout Standard
Inserts the language level explanation and sets the symbol for the reference
footnote.
\end_layout
\end_inset
\end_layout
\begin_layout Language
German
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvBTwo
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvCOne
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvATwo
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvATwo
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvBOne
\end_layout
\end_inset
\begin_inset Note Note
status open
\begin_layout Standard
The language level codes can be found in the documentation of the europecv-packa
ge.
\end_layout
\end_inset
\end_layout
\begin_layout LastLanguage
Italian
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvATwo
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvBOne
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvAOne
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvAOne
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
ecvAOne
\end_layout
\end_inset
\end_layout
\begin_layout LangFooter
(
\begin_inset Formula $\star$
\end_inset
)
\begin_inset Note Note
status open
\begin_layout Standard
The footer and header should be the same character.
\end_layout
\end_inset
\end_layout
\begin_layout Section
Computer skills
\end_layout
\begin_layout Item
\begin_inset OptArg
status collapsed
\begin_layout Standard
2.5ex
\end_layout
\end_inset
OS
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
Linux, Unix, Windows, administration, Apache, Mailman
\end_layout
\begin_layout Item
Programming
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\shape smallcaps
Java
\shape default
, C/C++, scripting, PHP, Shell, Ruby
\end_layout
\begin_layout Item
\begin_inset OptArg
status collapsed
\begin_layout Standard
2.5ex
\end_layout
\end_inset
Scientific
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
Matlab, Autocad, Abaqus, typography, LaTeX, ConTeXt, Scribus, QuarkXPress
\end_layout
\begin_layout Item
Web\InsetSpace ~
design
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
XHTML, CSS, AJAX, database, MySQL, PostgreSQL
\end_layout
\begin_layout Section
Interests
\end_layout
\begin_layout Item
\begin_inset OptArg
status collapsed
\begin_layout Standard
2.5ex
\end_layout
\end_inset
Adventure\InsetSpace ~
sports
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\size small
I like practicing adventure sports like skiing, rock climbing and scuba
diving, and have been a boy scout for five years.
\end_layout
\begin_layout Item
\begin_inset OptArg
status collapsed
\begin_layout Standard
2.5ex
\end_layout
\end_inset
Travelling
\begin_inset ERT
status collapsed
\begin_layout Standard
}{
\end_layout
\end_inset
\size small
I love travelling around the world.
\end_layout
\begin_layout Standard
You can use bibitems:
\end_layout
\begin_layout Bibliography
\begin_inset LatexCommand bibitem
key "latexcompanion"
\end_inset
Frank Mittelbach and Michel Goossens:
\emph on
The LaTeX Companion Second Edition.
\emph default
Addison-Wesley, 2004
\end_layout
\begin_layout Bibliography
\begin_inset LatexCommand bibitem
key "latexguide"
\end_inset
Helmut Kopka and Patrick W.
Daly:
\emph on
A Guide to LaTeX Fourth Edition.
\emph default
Addison-Wesley, 2003
\end_layout
\begin_layout Bibliography
\begin_inset LatexCommand bibitem
key "latexbook"
\end_inset
Leslie Lamport:
\emph on
LaTeX: A Document Preparation System.
\emph default
Addison-Wesley, second edition, 1994
\end_layout
\begin_layout Standard
or BibTeX references:
\end_layout
\begin_layout Item
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
nocite{*}
\end_layout
\end_inset
\begin_inset Note Note
status open
\begin_layout Standard
\series bold
\backslash
nocite{*}
\series default
Prints all entries of the BibTeX-file
\end_layout
\end_inset
\begin_inset LatexCommand bibtex
options "plain"
bibfiles "biblioExample"
\end_inset
\end_layout
\begin_layout End
\end_layout
\end_body
\end_document