templates:

- please JMarc and Jürgen and remove the BibTeX example file from templates but use the one from the examples
- iopart, ACM-sigplan, elsarticle templates and layouts: various small bug fixes and added informations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26790 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-10-06 22:39:05 +00:00
parent 6d8ae76078
commit 9a56caa16b
10 changed files with 179 additions and 41 deletions

View File

@ -68,7 +68,6 @@ Function UpdateModifiedFiles
File "${PRODUCT_SOURCEDIR}\Resources\scripts\legacy_lyxpreview2ppm.py"
SetOutPath "$INSTDIR\Resources\templates"
File "${PRODUCT_SOURCEDIR}\Resources\templates\ACM-sigplan.lyx"
File "${PRODUCT_SOURCEDIR}\Resources\templates\biblioExample.bib"
File "${PRODUCT_SOURCEDIR}\Resources\templates\elsarticle.lyx"
File "${PRODUCT_SOURCEDIR}\Resources\templates\hollywood.lyx"
File "${PRODUCT_SOURCEDIR}\Resources\templates\iop-article.lyx"

View File

@ -1495,7 +1495,6 @@ lib_templates_files = Split('''
agu_article.lyx
apa.lyx
beamer-conference-ornate-20min.lyx
biblioExample.bib
de_beamer-conference-ornate-20min.lyx
dinbrief.lyx
docbook_article.lyx

View File

@ -1054,7 +1054,6 @@ dist_templates_DATA = \
templates/agu_article.lyx \
templates/apa.lyx \
templates/beamer-conference-ornate-20min.lyx \
templates/biblioExample.bib \
templates/de_beamer-conference-ornate-20min.lyx \
templates/dinbrief.lyx \
templates/docbook_article.lyx \

View File

@ -38,8 +38,9 @@ Style Standard
LabelType No_Label
End
Input stdtitle.inc
Input stdfloats.inc
Input stdcounters.inc
Input amsmaths.inc
Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc
@ -47,10 +48,24 @@ Input stdstarsections.inc
NoStyle Chapter
NoStyle Chapter*
Style Title
CopyStyle Title
Margin Static
LatexType Command
InTitle 1
OptionalArgs 0
LatexName title
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 1
ParSep 1
Align Center
AlignPossible None
LabelType No_Label
Font
Size Largest
EndFont
End
@ -202,8 +217,3 @@ Style Bibliography
EndFont
End
Input stdfloats.inc
Input stdcounters.inc
Input amsmaths.inc

View File

@ -43,6 +43,9 @@ Style Standard
End
Input stdcounters.inc
Input stdfloats.inc
Input amsmaths.inc
Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc
@ -279,6 +282,3 @@ Style "Bibliography heading"
End
Input stdfloats.inc
Input stdcounters.inc

View File

@ -46,6 +46,9 @@ Style Standard
End
Input stdcounters.inc
Input stdfloats.inc
Input amsmaths.inc
Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc
@ -180,9 +183,3 @@ Style Acknowledgments
LabelString "Acknowledgments"
End
Input stdlayouts.inc
Input stdfloats.inc
Input stdcounters.inc
Input amsmaths.inc

View File

@ -3,6 +3,7 @@
\begin_document
\begin_header
\textclass sigplanconf
\options natbib
\language english
\inputencoding default
\font_roman default
@ -247,6 +248,22 @@ ed into hardware]
\end_inset
\begin_inset Note Note
status open
\begin_layout Standard
\series bold
\backslash
category
\series default
has 3 mandatory + 1 optional arguments
\end_layout
\end_inset
\end_layout
\begin_layout Terms
@ -263,7 +280,33 @@ Introduction
\end_layout
\begin_layout Standard
This is the introduction to this paper.
Bla bla, as listed in
\begin_inset LatexCommand cite
key "Parkin2005,LComp2004"
\end_inset
.
\end_layout
\begin_layout Subsection
Subsection
\end_layout
\begin_layout Enumerate
test
\end_layout
\begin_layout Enumerate
test
\end_layout
\begin_layout Subsubsection
Subsubsection
\end_layout
\begin_layout Standard
Bla, bla
\end_layout
\begin_layout Acknowledgments
@ -279,6 +322,55 @@ First appendix
Appendix, only when needed, can also be started behind the bibliography.
\end_layout
\begin_layout Section*
-----------------
\end_layout
\begin_layout Standard
You can use either BibTeX:
\begin_inset Note Note
status open
\begin_layout Standard
The following bibliography styles are allowed:
\family sans
none
\family default
or
\family sans
plainnat
\family default
(use then the document class option
\family sans
natbib
\family default
)
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset LatexCommand bibtex
options "bibtotoc,plainnat"
bibfiles "../examples/biblioExample"
\end_inset
\end_layout
\begin_layout Section*
---------------------
\end_layout
\begin_layout Standard
\noindent
Or plain bibliography:
\end_layout
\begin_layout Bibliography
\begin_inset LatexCommand bibitem
key "ahmed02"
@ -322,6 +414,22 @@ n Proceedings of the 17th Annual IEEE Symposium on Logic in Computer Science
(LICS 2002)
\emph default
, July 2002.
\begin_inset Note Note
status open
\begin_layout Standard
Reference parts have to be separated by
\series bold
\backslash
newblock
\series default
.
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography

View File

@ -1,16 +0,0 @@
This file was created with JabRef 2.2.
Encoding: Cp1252
@BOOK{LComp2004,
title = {The LaTeX Companion Second Edition},
publisher = {Addison-Wesley},
year = {2004},
author = {Frank Mittelbach and Michael Goossens}
}
@MISC{Parkin2005,
author = {Scott Pakin},
title = {The Comprehensive {\LaTeX{}} Symbol List},
year = {2005}
}

View File

@ -88,7 +88,7 @@ tnoteref{t1,t2}
\begin_inset Note Note
status open
status collapsed
\begin_layout Standard
@ -775,7 +775,7 @@ elsarticle-harv
\family sans
elsarticle-num-names
\family default
,
, or
\family sans
elsarticle-num
\end_layout
@ -788,7 +788,7 @@ elsarticle-num
\begin_layout Standard
\begin_inset LatexCommand bibtex
options "bibtotoc,elsarticle-harv"
bibfiles "biblioExample"
bibfiles "../examples/biblioExample"
\end_inset

View File

@ -1038,6 +1038,26 @@ A & = & \prod_{i=1}^{\infty}B\nonumber \\
\end_layout
\begin_layout Subsection
Subsection
\end_layout
\begin_layout Enumerate
test
\end_layout
\begin_layout Enumerate
test
\end_layout
\begin_layout Subsubsection
Subsubsection
\end_layout
\begin_layout Standard
Bla, bla
\end_layout
\begin_layout Standard
\end_layout
@ -1075,12 +1095,34 @@ Appendix, only when needed, inserted behind the acknowledgments but before
\begin_layout Standard
You can use either BibTeX:
\begin_inset Note Note
status open
\begin_layout Standard
The following bibliography styles are allowed:
\family sans
unsrt
\family default
or
\family sans
jphysicsB
\family default
(part of the LaTeX-package
\series bold
harvard
\series default
)
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset LatexCommand bibtex
options "bibtotoc,unsrt"
bibfiles "biblioExample"
bibfiles "../examples/biblioExample"
\end_inset