Quellcode-Bibliothek
© Kompilation durch diese Firma
[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]
Datei:
slovene.kmap
Sprache: Unknown
Spracherkennung für: .lyx vermutete Sprache: Shell {Shell[74] Scala[97] Lex[106]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen] #This file was created by <mike> Fri Jan 29 00:22:26 1999
#LyX 1.0 (C) 1995-1998 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass book
\begin_preamble
\usepackage{multicol}
\newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle headings
\layout Title
Extended LyX Features
\layout Author
by the LyX Team
\begin_float footnote
\layout Standard
\noindent
This file is currently maintained by
\noun on
Mike Ressler
\noun default
, [email protected].
Please send comments or error corrections to that address.
\end_float
\layout Standard
\begin_inset LatexCommand \tableofcontents
\end_inset
\layout Chapter
Supplemental Document Preparation Tools
\layout Section
Introduction
\layout Standard
The
\emph on
Extended LyX Features
\emph default
manual, which you are now reading, is essentially Part II of the
\emph on
User's Guide\SpecialChar \@.
\emph default
The reason for splitting this document is simple: the
\emph on
User's Guide
\emph default
is already huge, and it contains all of the basic features one needs to
know in order to prepare most documents.
However, the LyX Team has a long-term goal of making LyX extensible through
various configuration files.
That means that if you want to support the Fizzwizzle LaTeX package, you
can create a layout-file for it without having to alter LyX itself.
We've already had contributions of several new features this way.
This is the place where all of that gets documented.
\layout Standard
This manual also documents some special features, like fax support, version
control, and
\family typewriter
SGML-Tools
\family default
support, which require additional software to work properly.
Lastly, there's a chapter of LaTeX tools and tips, things you can use to
spruce up your documents by directly using the powerful features of LaTeX.
After all, LyX
\emph on
is
\emph default
only WYSIWYM, and will only ever interface to certain LaTeX features.
\layout Standard
Of course, with all of this extra documentation,
\emph on
Extended LyX Features
\emph default
may itself grow too big for its britches.
In that case, you can just call it the
\begin_inset Quotes eld
\end_inset
Overextended Manual
\begin_inset Quotes erd
\end_inset
for fun!
\layout Standard
If you haven't read the
\emph on
Introduction
\emph default
yet, you are definitely in the wrong manual.
The
\emph on
Introduction
\emph default
is the first place to go, since it will direct you to the correct manual,
and it also describes the notation and format of all of the manuals.
You should also be thoroughly familiar with the
\emph on
User's Guide
\emph default
and all of the basic features of LyX.
\layout Standard
In this document, many sections are independent articles contributed by
an individual and are noted as such.
This person is generally whoever wrote the layout file for the new document
class or LaTeX package, or implemented the feature.
If there is no mention of an author to a chapter [or chapter sections],
that means it was written by the LyX Documentation Team.
\layout Standard
This first chapter covers
\begin_inset Quotes eld
\end_inset
supplemental
\begin_inset Quotes erd
\end_inset
document-editing features of LyX,
\emph on
i.e.
\emph default
\protected_separator
it is stuff that didn't fit in the
\emph on
User's Guide
\emph default
, and is for more seasoned LyX users.
\layout Section
ASCII-Export Support in LyX
\layout Standard
by
\noun on
Juergen Vigna
\layout Standard
\added_space_top bigskip \noindent
This gives you the possibility to export your files as ASCII text in order
to be able to import this text into other applications, or to simply view
and print it as is.
The only thing which needs to be documented for good measure, are the
\family typewriter
lyxrc
\family default
-commands you can set for this feature.
Notice that LyX automatically will detect and use the best settings for
your system at installation time, but here goes anyways in case you have
unforeseen problems:
\layout Description
\family typewriter
\backslash
ascii_roff_command:
\family default
With this command you can set the command to produce better ASCII tables
with the groff/troff/nroff UNIX-commands (refer to their manpage for more
information about them).
Not defining it at all tells LyX to use the internal (inferior) formatter.
\layout Paragraph
Example:
\layout LyX-Code
# This let's you generate ASCII tables with latin1
\newline
# characters, using the groff formatter
\newline
#
\newline
\backslash
ascii_roff_command
\begin_inset Quotes eld
\end_inset
groff -t -ms -Tlatin1
\begin_inset Quotes erd
\end_inset
\newline
\protected_separator
\newline
# This let's you generate ASCII tables using the
\newline
# nroff formatter
\newline
#
\newline
\backslash
ascii_roff_command
\begin_inset Quotes eld
\end_inset
nroff
\begin_inset Quotes erd
\end_inset
\layout Description
\family typewriter
\backslash
ascii_linelen:
\family default
With this command you can set the default line length of the ASCII-file
which should be created.
Setting it to 0 means endless lines.
Default is 75 characters.
\layout Paragraph
Example:
\layout LyX-Code
# This sets the line length to 80 characters
\newline
#
\newline
\backslash
ascii_linelen 80
\layout Section
Preparing a Bibliography with BibTeX
\layout Standard
STOP! If you don't know what BibTeX is, or have a reasonably good idea of
how to use it (
\emph on
e.g.
\emph default
setting up your own bibliographic databases),
\emph on
run
\emph default
, do not walk, to your nearest copy of the 2nd edition of Lamport's
\emph on
LaTeX: A Document Preparation System
\emph default
, particularly Appendix B.
The rest of this discussion assumes you have created a correct bibliography
file, that you have all relevant environment variables set correctly (esp.
\family typewriter
BIBINPUTS
\family default
,
\family typewriter
BSTINPUTS
\family default
, and
\family typewriter
TEXINPUTS
\family default
), and that if sufficiently desperate, you could create and
\begin_inset Quotes eld
\end_inset
TeX
\begin_inset Quotes erd
\end_inset
a LaTeX file with a BibTeX database.
\layout Standard
For those who don't know what BibTeX is, it is a system for creating a large
database of your most used journal references.
For all future articles you write, you only need to include this standard
database and reference the appropriate key to each reference.
Even if you write only a few papers with handful of references each, it
is well worth your time to examine BibTeX and decide whether it will be
useful to you.
\layout Standard
To use BibTeX with LyX, first read the
\emph on
User Guide
\emph default
where it describes how to insert citations.
The basic mechanism for inserting BibTeX references is the same.
Then, at the very end of your document, select
\family sans
Insert->Lists
\family default
&
\family sans
TOC->BibTeX Reference
\family default
.
In the resulting popup, fill out the dialog boxes as follows:
\layout Description
Database: enter the name of your
\family typewriter
.bib
\family default
file *without* the
\family typewriter
.bib
\family default
extension.
For searching multiple
\family typewriter
.bib
\family default
files, just enter them in the desired order, separated by commas.
\layout Description
Style: enter the name of your BibTeX style file *without* the
\family typewriter
.bst
\family default
extension.
The default style is
\family typewriter
plain
\family default
(which should be included in your LaTeX distribution, so you don't have
to worry about creating it).
\layout Standard
For each citation, assuming that the source is in the
\family typewriter
.bib
\family default
file, just call
\family sans
Insert->Citation Reference
\family default
at the correct location in the text, and enter the appropriate reference
key.
Nothing else is required; when invoking
\family sans
File->View dvi
\family default
, for example, you should see that BibTex and LaTeX are invoked as needed,
including multiple invocations of LaTeX.
\layout Section
Making an Index
\layout Standard
A good index is one of the hardest things to make in a lengthy document,
but LyX helps make things a bit simpler by interfacing to the
\family typewriter
makeindex
\family default
program which is found in most recent LaTeX distributions.
Inserting an index and marking words to include in it works much the same
way as preparing a bibliography as mentioned in the last section.
\layout Standard
First, go to the end of your file and select
\family sans
Insert->Lists
\family default
&
\family sans
TOC->Index List
\family default
.
Then, for each word you would like to include in the index, go to the end
of that word and click on
\family sans
Insert->Index entry last word
\family default
.
This will insert a tag showing the word as it will appear in the index.
If you wish to specify exactly what will appear in the index---for example,
suppose you wanted the index word
\begin_inset Quotes eld
\end_inset
cat
\begin_inset Quotes erd
\end_inset
to refer to both
\begin_inset Quotes eld
\end_inset
cat
\begin_inset Quotes erd
\end_inset
and
\begin_inset Quotes eld
\end_inset
cats
\begin_inset Quotes erd
\end_inset
in the text---after each appearance of
\begin_inset Quotes eld
\end_inset
cats
\begin_inset Quotes erd
\end_inset
, simply select
\family sans
Insert->Index entry
\family default
and enter the word
\begin_inset Quotes eld
\end_inset
cat
\begin_inset Quotes erd
\end_inset
in the dialog box.
That's all there is to it; LyX will automatically call
\family typewriter
makeindex
\family default
for you and create the index itself.
\layout Standard
Be careful not to put spaces between the word in the text and the index
marker; apparently the wrong page number can be produced if this happens.
You should also be aware that there are more advanced ways to use
\family typewriter
makeindex
\family default
; have a look at the documentation which comes with your LaTeX distribution
to find out how to do things like
\begin_inset Quotes eld
\end_inset
nested entries
\begin_inset Quotes erd
\end_inset
, etc.
\layout Section
Multipart Documents
\layout Standard
When you are working on a large file with many sections, it is often convenient
to break up the document into several files, or perhaps you have something
where a table may change from time to time, but the preceding text does
not.
In these cases, you should seriously consider using multipart documents.
For example, scientific papers often have five major sections: the introduction
, observations, results, discussion, and conclusion.
Each of these could be its own separate LyX file, with one
\begin_inset Quotes eld
\end_inset
master
\begin_inset Quotes erd
\end_inset
file which contains the title, authors, abstract, references, etc., plus
the five included files.
It is important to note that each of these files is a full LyX file which
can be formatted and printed on its own, as well as included in a master
file.
You may also include LaTeX files; however, these files must not have their
own preamble
\emph on
(i.e.
\emph default
everything up to and including the
\family typewriter
\backslash
begin{document}
\family default
line as well as the
\family typewriter
\backslash
end{document}
\family default
line must be deleted) or else errors will be generated when you try to
make a DVI file.
\layout Standard
LyX allows you to include files quite easily with
\family sans
\bar under
I
\bar default
nsert->In
\bar under
c
\bar default
lude
\protected_separator
File
\family default
.
When you click on this selection a small box is inserted into the file
at the current cursor location.
Clicking on the box raises a popup which allows you to select the file
to be included, and the method of its inclusion.
\layout Standard
The file selection box should by now be obvious.
The three inclusion methods are
\begin_inset Quotes eld
\end_inset
include
\begin_inset Quotes erd
\end_inset
,
\begin_inset Quotes eld
\end_inset
input
\begin_inset Quotes erd
\end_inset
, and
\begin_inset Quotes eld
\end_inset
verbatim
\begin_inset Quotes erd
\end_inset
.
The difference between
\begin_inset Quotes eld
\end_inset
include
\begin_inset Quotes erd
\end_inset
and
\begin_inset Quotes eld
\end_inset
input
\begin_inset Quotes erd
\end_inset
is really only meaningful to LaTeXperts, but the practical difference is
that files which are
\begin_inset Quotes eld
\end_inset
included
\begin_inset Quotes erd
\end_inset
are typeset beginning on a new page, while files which are
\begin_inset Quotes eld
\end_inset
inputted
\begin_inset Quotes erd
\end_inset
are typeset starting on the current page.
Perhaps the labeling in LyX will be changed someday to reflect this.
\layout Standard
Generally, the master file is converted into a full LaTeX file before typesettin
g, while the included files are converted to LaTeX files which do not have
all the preamble information.
Checking the
\family sans
Don't typeset
\family default
button prevents this conversion.
\layout Standard
A
\begin_inset Quotes eld
\end_inset
verbatim
\begin_inset Quotes erd
\end_inset
included file allows you to include a file typeset exactly as it appears
in the file, i.e.
verbatim mode, with the characters set in a fixed-width typewriter font.
Normally, spaces in this file are invisible, though two consecutive spaces
are conserved, unlike LyX's normal treatment of spaces.
However, the
\family sans
Visible space
\family default
button typesets a mark to unambiguously define the presence of a space.
\emph on
\layout Section
Algorithms
\layout Standard
\emph on
(from LaTeX Configuration)
\layout Standard
The package
\family sans
algorithm
\family default
is needed by LyX to be able to output
\begin_inset Quotes eld
\end_inset
algorithm-floats
\begin_inset Quotes erd
\end_inset
.
These are useful in placing short algorithms across page breaks and support
an
\begin_inset Quotes eld
\end_inset
index of algorithms
\begin_inset Quotes erd
\end_inset
too.
\layout Section
Subfigures
\layout Standard
\emph on
(from LaTeX Configuration)
\layout Standard
The package
\family sans
subfigure
\family default
is used by LyX when you select ``subfigure'' in the EPS figure popup.
Several figures marked in this way can be packed into a single float with
individual subcaptions.
\layout Section
Fancy Headers and Footers
\layout Standard
The default page layout is rather plain; for an article document class,
all you get is a centered page number at the bottom of the page.
This document is the book class, so it appears to be a bit fancier, but
to really put on a show, you need to set the document page style to
\begin_inset Quotes eld
\end_inset
fancy
\begin_inset Quotes erd
\end_inset
, as mentioned in the
\family sans
User Guide
\family default
.
This section describes the LaTeX codes you need to insert in your LaTeX
preamble or the text in order to get the desired effects.
\layout Standard
The page header is divided into three fields, not surprisingly labeled
\begin_inset Quotes eld
\end_inset
left
\begin_inset Quotes erd
\end_inset
,
\begin_inset Quotes eld
\end_inset
center
\begin_inset Quotes erd
\end_inset
, and
\begin_inset Quotes eld
\end_inset
right
\begin_inset Quotes erd
\end_inset
.
The footer is also divided into these three fields.
The LaTeX commands to set these fields in the simplest manner are
\family typewriter
\backslash
lhead
\family default
,
\family typewriter
\backslash
chead
\family default
,
\family typewriter
\backslash
rhead
\family default
,
\family typewriter
\backslash
lfoot
\family default
, etc.
Suppose you wish to put your name in the upper left hand corner of each
page.
Simply insert the following command in the preamble:
\layout Standard
\family typewriter
\backslash
lhead{John Q.
DocWriter}
\layout Standard
You will now see your name in the upper left.
If a field has a default entry that you would like to get rid of (often
the page number appears in the central footer, simply include a command
with a blank argument, e.g.
\layout Standard
\family typewriter
\backslash
cfoot{}
\layout Standard
Let's get really fancy: lets put the section number with the word
\begin_inset Quotes eld
\end_inset
Section
\begin_inset Quotes erd
\end_inset
(e.g.
Section 3) in the upper left, the page number (e.g.
Page 4) in the upper right, your name in the lower left, and the date in
the lower right.
The following commands should now appear in the preamble:
\layout Standard
\family typewriter
\backslash
lhead{Section
\backslash
thesection}
\layout Standard
\family typewriter
\backslash
chead{}
\layout Standard
\family typewriter
\backslash
rhead{Page
\backslash
thepage}
\layout Standard
\family typewriter
\backslash
lfoot{John Q.
DocWriter}
\layout Standard
\family typewriter
\backslash
cfoot{}
\layout Standard
\family typewriter
\backslash
rfoot{
\backslash
today}
\layout Standard
The codes
\family typewriter
\backslash
thesection
\family default
and
\family typewriter
\backslash
thepage
\family default
access LaTeX's section and page counters, and so print out the current
section and page numbers.
\family typewriter
\backslash
today
\family default
simply prints out today's date.
\layout Standard
The thicknesses of the horizontal rules drawn beneath the header and above
the footer can also be modified.
If you don't want one of the headers, set its thickness to 0.
The header rule has a default thickness of 0.4pt, the footer rule is 0pt.
Use the commands, e.g.
\family typewriter
\backslash
renewcommand{
\backslash
headrulewidth}{0.4pt}
\family default
and
\family typewriter
\backslash
renewcommand{
\backslash
footrulewidth}{0.4pt}
\family default
to set the thicknesses.
\layout Standard
You can switch the header/footer settings on and off for individual pages
using commands like
\family typewriter
\backslash
thispagestyle{empty}
\family default
,
\family typewriter
\backslash
thispagestyle{plain}
\family default
, and
\family typewriter
\backslash
thispagestyle{fancy}
\family default
.
Simply insert them in the text on the page you want changed and mark them
as TeX code.
In fact, title pages are marked as plain by default, while following pages
are marked fancy when using the global fancy setting.
\layout Standard
There are more complex commands which will let you insert things in the
upper left on odd numbered pages, etc., but I will refer you to the
\family typewriter
fancyhdr
\family default
package documentation for more descriptions.
For example, if you have a teTeX installation, look for
\family typewriter
/usr/local/teTeX/texmf/doc/latex/fancyhdr/
\latex latex
\backslash
-
\latex default
fancyhdr.dvi
\family default
.
\layout Standard
As a final example, it is possible to include an Encapsulated PostScript®
file in the header or footer.
Suppose you want to put a company logo in the upper lefthand corner.
You might try something like
\layout Standard
\family typewriter
\backslash
lhead{
\backslash
resizebox{1in}{!}{
\backslash
includegraphics{logo.eps}}}
\layout Standard
\noindent
(you may need to preface this with
\family typewriter
\backslash
usepackage{graphics}
\family default
if you don't include EPS files elsewhere in your document).
\layout Section
Extra Paragraph Options
\layout Standard
\noindent
There are a number of advanced paragraph layout options which are accessible
by clicking on
\family sans
ExtraOpt
\family default
under
\family sans
\bar under
L
\bar default
ayout->
\bar under
P
\bar default
aragraph
\family default
.
These options include the ability to indent a whole paragraph, to treat
a paragraph as its own small page, and to wrap a paragraph around a figure.
\layout Subsection
Indented Paragraphs
\layout Standard
\pextra_type 1 \pextra_width 1cm
This button in the upper left of the
\family sans
ExtraOpt
\family default
panel toggles indented paragraphs on/off and enables the
\family sans
Width
\family default
field to its right.
This indents the entire left side of the paragraph by the dimension given
in the width field (
\emph on
e.g.
\emph default
1cm).
The right side is not touched.
\layout Subsection
Minipages
\layout Standard
LaTeX provides a mechanism to produce essentially a page within a page,
called minipages.
Within a minipage, all the usual rules of indentation, line wrapping, etc.
\protected_separator
apply.
LyX also provides some of the minipage capability.
\layout Standard
To begin a minipage, simply change the paragraph layout by clicking on the
\family sans
Minipage
\family default
radio button.
Then set the minipage width with either a length dimension or a column
percentage in the
\family sans
Width
\family default
field.
You may now check an alignment button: as there is place for several horizontal
ly aligned minipages depending on the width of the individual minipages,
you can specify how they should be vertically aligned with respect to each
other.
\layout Standard
There are two further options for minipages.
If you place two minipages side-by-side, you can insert a special instruction
known in the LaTeX world as an
\family typewriter
hfill
\family default
to put a maximum amount of space between them; it forces one minipage to
the left edge, the other to the right edge.
Check this option for the second minipage, not the first.
\layout Standard
The second option is
\family sans
Start
\protected_separator
new
\protected_separator
Minipage
\family default
: this option permits you to start a new minipage if you are placing two
in a row.
This implies that if a minipage paragraph did not have this checked, then
it is part of the same minipage as the minipage-paragraph before it.
Again, this applies to the second minipage only.
\layout Standard
Warning: if the minipage is too long to fit on a page, it is truncated,
not wrapped onto the next page.
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_start_minipage 1 \pextra_width 1.5in
This is a minipage which does not use hfill.
This is the second sentence of a minipage which does not use hfill.
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_start_minipage 1 \pextra_width 1.5in
This is a second minipage which does not use hfill.
This is the second sentence of a second minipage which does not use hfill.
\layout Standard
\added_space_top medskip \added_space_bottom medskip
Here is some normal text to separate the two examples.
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_width 1.5in
This is a minipage which does use hfill.
This is the second sentence of a minipage which does use hfill.
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_width 1.5in
This is a second minipage which does use hfill.
This is the second sentence of a second minipage which does use hfill.
\layout Subsection
Wrapping Text Around Figures
\begin_inset LatexCommand \label{sec:floatflt}
\end_inset
\layout Standard
\begin_float fig
\layout Standard
\align center \pextra_type 3 \pextra_widthp 50
\begin_inset Figure size 119 51
file mobius.eps
width 4 40
flags 9
\end_inset
\layout Caption
This is a wrapped figure and this is the brilliant caption that describes
it.
\end_float
A very frequently asked question is whether text can be made to
\begin_inset Quotes eld
\end_inset
wrap
\begin_inset Quotes erd
\end_inset
around figures so that a figure occupies some fraction of the column width
and text fills the rest.
If you have the LaTeX package
\family typewriter
floatflt
\family default
installed (it is usually included in distributions like teTeX, or you can
get it from CTAN) you can do this also using the
\family sans
ExtraOpt
\family default
panel.
\layout Standard
At right is a figure of a mobius strip---you should have already seen this
in the
\emph on
User Guide
\emph default
.
To wrap the text like this, insert a figure float at the beginning of the
paragraph, then insert the EPS file itself in the normal way.
For this example, the figure has a width which is 40% of the total column
width.
Then, place the cursor at the left of the figure itself, select
\family sans
\bar under
L
\bar default
ayout->\SpecialChar \-
\bar under
P
\bar default
aragraph->\SpecialChar \-
E
\bar under
x
\bar default
traOpt
\family default
, mark the paragraph as
\family sans
floatflt
\family default
, and fill in the width (50% in this example).
Remember that the width you select is the width which is reserved for the
text, not the width of the figure.
You still need to set the width in the EPS figure dialog, as 40% of page
width in this case.
The figure will always be on the
\begin_inset Quotes eld
\end_inset
outside
\begin_inset Quotes erd
\end_inset
of a page; on the left side of an even numbered page, on the right side
for an odd numbered page.
Controls to force it to a specific side appear to not yet be implemented.
See Section
\begin_inset LatexCommand \ref{sec:wrap}
\end_inset
for ways to take full advantage of the
\family typewriter
floatflt
\family default
package.
Note: this package is very fragile! For example, having a figure too close
to the bottom of the page will mess things up, as will having two figures
close together.
Use this package sparingly and do read the documentation that came with
it.
\layout Section
Extra Table Options
\layout Standard
While the standard table layout will suffice in 99% of all tables you generate,
occasionally you will run into one which requires a bit of extra tweaking.
The
\family sans
Extra
\family default
button in
\family sans
\bar under
L
\bar default
ayout->Tabl
\bar under
e
\family default
\bar default
will give you access to some extra column alignment parameters.
A little bit of LaTeX background is useful here: when you set up a table
in LaTeX, each column is given an alignment type.
For example, you would give it
\begin_inset Quotes eld
\end_inset
l
\begin_inset Quotes erd
\end_inset
,
\begin_inset Quotes eld
\end_inset
c
\begin_inset Quotes erd
\end_inset
, or
\begin_inset Quotes eld
\end_inset
r
\begin_inset Quotes erd
\end_inset
for left-aligned, centered, and right-aligned columns respectively (which
appear as the left/center/right radio buttons in LyX).
A fourth type is
\begin_inset Quotes eld
\end_inset
p
\begin_inset Quotes erd
\end_inset
, which will make a column of a specified width (the width box in LyX),
and will wrap text within that box.
A fifth type is
\begin_inset Quotes eld
\end_inset
|
\begin_inset Quotes erd
\end_inset
(vertical bar) which rather than making a column will make a vertical rule
at that point; this manifests itself in LyX as the
\begin_inset Quotes eld
\end_inset
borders
\begin_inset Quotes erd
\end_inset
buttons.
Finally, there is a type
\begin_inset Quotes eld
\end_inset
@
\begin_inset Quotes erd
\end_inset
, which allows you to use whatever is enclosed in the accompanying braces
as the column separator, including a null argument.
The reasons for doing this may not be obvious, but they can be very powerful.
They are best demonstrated by example.
\layout Subsection
Removing Extra Column Space
\layout Standard
Here is a standard table:
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable
multicol5
3 2 0 0 -1 -1 -1 -1
0 1 0 0
0 0 0 0
0 0 0 0
2 0 0 "" ""
2 1 0 "" ""
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
Type
\newline
Example
\newline
Rock
\newline
Granite
\newline
Mineral
\newline
Quartz
\layout Standard
Notice that the horizontal rule extends a bit past the text on both sides.
If you wanted the line to end even with the text, we can put a null separator
on the ends to get rid of the bit of extra space LaTeX adds by default.
Here is the example:
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable
multicol5
3 2 0 0 -1 -1 -1 -1
0 1 0 0
0 0 0 0
0 0 0 0
2 0 0 "" "@{} l"
2 1 0 "" "l @{}"
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
Type
\newline
Example
\newline
Rock
\newline
Granite
\newline
Mineral
\newline
Quartz
\layout Standard
In this case, the column specifier for the left column was set to
\begin_inset Quotes eld
\end_inset
@{} l
\begin_inset Quotes erd
\end_inset
, while the right column was set to
\begin_inset Quotes eld
\end_inset
l @{}
\begin_inset Quotes erd
\end_inset
, in order to put the null characters on the edges.
\layout Subsection
Changing the Column Separator Character
\layout Standard
Now suppose you really wanted, for reasons that are completely opaque, to
use
\begin_inset Formula \( \sqrt{\pi } \)
\end_inset
with some space around it for the column separator.
Simply turn off the vertical border, then set the right column specifier
to
\begin_inset Quotes eld
\end_inset
@{~$
\backslash
sqrt{
\backslash
pi}$~} l
\begin_inset Quotes erd
\end_inset
.
You could now make a table like this:
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable
multicol5
3 2 0 0 -1 -1 -1 -1
0 1 0 0
0 0 0 0
0 0 0 0
2 0 0 "" ""
2 0 0 "" "@{~$\sqrt{\pi}$~}l"
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
Type
\newline
Example
\newline
Rock
\newline
Granite
\newline
Mineral
\newline
Quartz
\layout Subsection
Making a Decimal Point Aligned Column
\layout Standard
Okay, that last example was very silly, but here is one that is not.
Suppose you want to make a table that has a column which is aligned on
a decimal point.
A standard LaTeX trick to do this is to set the whole number part in a
right-aligned column, use a decimal point for the column separator, then
set the fractional part as a left-aligned column.
A variation on this is to include the decimal point explicitly with the
whole part, then use just a null separator in between.
The latter variation is demonstrated here:
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable
multicol5
5 3 0 0 -1 -1 -1 -1
0 1 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
8 0 0 "" ""
4 1 0 "" ""
8 0 0 "" "@{} l"
0 8 1 0 0 0 0 "" ""
1 8 0 1 0 0 0 "" ""
2 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 4 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
Expression
\newline
Value
\newline
\begin_inset Formula \( \pi \)
\end_inset
\newline
3.
\newline
1416
\newline
\begin_inset Formula \( \pi ^{\pi } \)
\end_inset
\newline
36.
\newline
462
\newline
\begin_inset Formula \( (\pi ^{\pi })^{\pi } \)
\end_inset
\newline
80663.
\newline
\newline
\begin_inset Formula \( \pi ^{\pi ^{\pi }} \)
\end_inset
\newline
1.
\newline
3402
\begin_inset Formula \( \times 10^{18} \)
\end_inset
\layout Standard
Though it appears a bit funny in LyX, on paper it will produce what appears
to be a 2-column table in which the right column is aligned on the decimal
point and the header appears to be centered over it.
\layout Standard
Perhaps it is best if I described just what I did: first, create a 3
\begin_inset Formula \( \times \)
\end_inset
3 table and remove all the borders.
Then re-add a bottom border to the top row, and a right border to the first
column.
Type in the values for the first column and set its alignment to
\family sans
center
\family default
.
Type in the
\family typewriter
3.
\family default
,
\family typewriter
36.
\family default
,
\family typewriter
80663.
\family default
, and
\family typewriter
1.
\family default
and set that column's alignment to
\family sans
right
\family default
.
Type in the
\family typewriter
1416
\family default
,
\family typewriter
462
\family default
, and
\family typewriter
3402
\begin_inset Formula \( \times 10^{18} \)
\end_inset
\family default
and set the extra column alignment to
\family typewriter
@{} l
\family default
.
Finally type in the word
\family typewriter
Value
\family default
in the middle column, highlight it and the blank entry to its right, and
check the
\family sans
Special Cell
\family default
entry
\family sans
multicolumn
\family default
.
Easy, right? There is a LaTeX package called
\family typewriter
dcolumn.sty
\family default
which does a more sophisticated variation of this and which is included
in most modern LaTeX distributions, but LyX does not currently easily interface
to it, but check it out if this little trick does not prove adequate.
\layout Section
Itemize Bullet Selection
\begin_inset LatexCommand \label{sec:bullet}
\end_inset
\layout Standard
by
\noun on
Allan Rae
\layout Subsection
Introduction
\layout Standard
LyX provides 216 bullet shapes that can be accessed from a simple popup.
Using this popup you can easily specify what bullet shape to use at each
level of an itemized list.
These settings are document-wide so you won't be able to specify different
sets of bullets for different paragraphs
\begin_float footnote
\layout Standard
Well, actually you can but you'll have to do it by hand.
\end_float
.
\layout Subsection
How it looks
\layout Standard
Open the popup by selecting the
\family sans
\bar under
L
\bar default
ayout->
\bar under
D
\bar default
ocument
\family default
menu item and then select the
\family sans
\bar under
B
\bar default
ullet
\protected_separator
Shapes
\family default
button or from the keyboard using
\family sans
M-l i
\family default
or the minibuffer with
\family typewriter
buffer-itemize-bullets-select
\family default
.
\layout Standard
The popup provides you with a table of bullet shapes.
A column of buttons on the left of the table provides access to the six
different panels of bullet shapes.
The row of buttons across the top is used to select which bullet depth
you are changing.
A text entry under the table shows the currently selected bullet shape's
LaTeX equivalent and this can be edited if desired.
If you do modify the text you will also need to specify any needed packages
in the LaTeX preamble.
\layout Standard
The six panels are divided up by the packages they require.
The following table shows the mappings from button name to LaTeX packages.
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable
multicol5
7 2 0 0 -1 -1 -1 -1
1 1 0 0
1 0 0 0
1 0 0 0
1 0 0 0
1 0 0 0
1 0 0 0
1 1 0 0
8 1 0 "" ""
8 1 1 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
Button
\newline
Packages Required
\newline
\family sans
Standard
\family default
\newline
base LaTeX
\newline
\family sans
Maths
\family default
\newline
\family typewriter
amssymb.sty
\family default
\newline
\family sans
Ding1
\family default
\newline
\family typewriter
pifont.sty
\family default
\newline
\family sans
Ding2
\family default
\newline
\family typewriter
pifont.sty
\family default
\newline
\family sans
Ding3
\family default
\newline
\family typewriter
pifont.sty
\family default
\newline
\family sans
Ding4
\family default
\newline
\family typewriter
pifont.sty
\layout Standard
LyX doesn't stop you using bullets from packages you don't have.
If you get errors from LaTeX when you try to view or print the file then
its likely you are missing a package.
LyX doesn't restrict your use since you may be editing locally and exporting
elsewhere.
\layout Subsection
How to use it
\layout Standard
Select which bullet depth you want to change then select the bullet shape
and size.
\family sans
\family default
Changes will not be visible in LyX, but are visible when viewing the document
using xdvi or ghostview.
\layout Standard
You can reset a bullet shape to the default simply by clicking your right
mouse button on the appropriate bullet depth button.
\layout Standard
If you
\emph on
really
\emph default
want to have multiple sets of paragraphs with different sets of bullets
in each then you're going to have to get your hands dirty.
The itemize bullet selection popup can help though because it provides
you with the LaTeX code for a wide range of bullet shapes.
To make your own custom paragraphs you have the following options:
\layout LaTeX
\backslash
let
\backslash
savelabelitemi=
\backslash
labelitemi
\layout LaTeX
\backslash
renewcommand
\backslash
labelitemi[0]{
\backslash
small
\backslash
(
\backslash
sharp
\backslash
)}
\layout Itemize
Use the LaTeX command
\family typewriter
\backslash
renewcommand{}{}
\family default
to specify a new bullet shape for a given depth.
You'll also need to save the current bullet shape so you can restore it
again afterwards.
In this itemized list the following LaTeX code was used to change the bullet
used for the first depth.
\newline
\family typewriter
\backslash
let
\backslash
savelabelitemi=
\backslash
labelitemi
\family default
\family typewriter
\newline
\backslash
renewcommand
\backslash
labelitemi[0]{
\backslash
small
\backslash
(
\backslash
sharp
\backslash
)}
\newline
\family default
Note that the itemize depth is specified in Roman numerals as part of the
\family typewriter
\backslash
labelitem
\family default
command.
\layout Itemize
\latex latex
[
\backslash
(
\backslash
star
\backslash
)]
\latex default
Specify each individual entry by starting each item with the bullet shape
enclosed in square brackets and set as TeX.
For example, this item was started with
\family typewriter
[
\backslash
(
\backslash
star
\backslash
)]
\family default
.
\layout Itemize
Wait for LyX 1.2.
The next stable release of LyX should have built-in support for specifying
different bullet shapes for each itemized list.
\layout LaTeX
\backslash
renewcommand
\backslash
labelitemi[0]{
\backslash
savelabelitemi}
\layout Standard
You'll also need to revert the labelitem back to its previous setting for
the global bullet shape settings to remain in effect.
The way used here was:
\newline
\family typewriter
\backslash
renewcommand
\backslash
labelitemi[0]{
\backslash
savelabelitemi}
\layout Chapter
Special Document Classes
\layout Section
AMS Math
\layout Standard
by
\noun on
David Johnson
\layout Standard
The AMS math layouts are set up to conform to suggested styles for mathematical
papers to be submitted to American Mathematical Society publications.
The layouts are not tailored to a specific journal, but easily can be.
You should refer to the AMS documentation for specific instructions for
each journal (usually it will entail only changing a single line in the
TeX output).
That documentation is available on the Web at
\begin_inset LatexCommand \url{http://www.ams.org}
\end_inset
or by ftp at
\begin_inset LatexCommand \url{ftp://ftp.ams.org/pub/tex/amslatex/}
\end_inset
.These layouts are appropriate, and useful, for any mathematical writing.
There are currently 4 distinct AMS-math layouts:
\layout Enumerate
amsart - The standard AMS-article format.
All results and similar statements are numbered as
\begin_inset Formula \( (n.m) \)
\end_inset
, where the first number refers to the section, and the second refers to
the total number of results (Theorems, Corollaries, Propositions, Definitions
and Remarks, etc.) in that section.
There are also many (but not all) environments available unnumbered, which
is occasionally needed.
Unnumbered environments indicated by an asterisk at the end.
\layout Enumerate
amsart-seq - Here, numbering for each type of statement is in its own sequence,
with no reference to the section number.
There are also many (but not all) environments available unnumbered, which
is occasionally needed.
Unnumbered environments indicated by an asterisk at the end.
\layout Enumerate
amsbook - the standard AMS book (really, monograph) format.
Numbering is similar to the amsart layout, except that all numbering is
by
\begin_inset Formula \( (n,m,p) \)
\end_inset
, where the first number refers to the chapter, the second to the section,
and the third is the number of the results (Theorems, Corollaries, Propositions
, Definitions and Remarks, etc.) in that section.
There are also many (but not all) environments available unnumbered, which
is occasionally needed.
Unnumbered environments indicated by an asterisk at the end.
\layout Standard
Any ams-* LyX file can be converted to either of the numbering schemes by
simply changing the document class in the
\family sans
\bar under
L
\bar default
ayout-
\bar under
D
\bar default
ocument
\family default
popup.
\layout Subsection
What these layouts provide
\layout Standard
There is a long list of included environments provided by these layouts.
Most mathematical papers or books will set as special statements most of
these environments, in AMS-LaTeX there is an opportunity to define an unlimited
variety of such declarations.
However, the AMS recommends the environments that are available in LyX.
The list of environments (not counting the standard environments such as
\family sans
sections, bibliography, title, author, date
\family default
), is:
\layout Description
Theorem This is typically used for the statements of major results.
The word
\begin_inset Quotes eld
\end_inset
\family sans
Theorem
\family default
\begin_inset Quotes erd
\end_inset
appears in bold type, along with an automatically-determined number (an
unnumbered version,
\family sans
Theorem*
\family default
, is also available).
The text is italicized.
\layout Description
Corollary This is used for statements which follow fairly directly from
previous statements.
Again, these can be major results.
Unnumbered version
\family sans
Corollary*
\family default
is available.
\layout Description
Lemma These are smaller results needed to prove other statements.
\layout Description
Proposition These are less major results which (hopefully) add to the general
theory being discussed.
\layout Description
Conjecture These are statements provided without justification, which the
author does not know how to prove, but which seem to be true (to the author,
at least).
\layout Description
Criterion A required condition.
\layout Description
Algorithm A general procedure to be used.
\layout Description
Axiom This is a property or statement taken as true within the system being
discussed.
\layout Description
Definition Guess what this is for.
The font, both on-screen and in the output, is different for this environment
than for the previous ones.
The heading (
\begin_inset Quotes eld
\end_inset
definition
\begin_inset Quotes erd
\end_inset
) is still set in boldface, along with the number, if any, but the rest
is set upright.
\layout Description
Example Typeset similarly to Definition.
\layout Description
Condition
\layout Description
Problem
\layout Description
Exercise
\layout Description
Remark This environment is also a new type of theorem.
This is set with the word Remark in italics, and the rest upright.
\layout Description
Note Set similarly to the Remark environment.
\layout Description
Notation
\layout Description
Claim
\layout Description
Summary
\layout Description
Acknowledgement
\layout Description
Case Generally, these are used to break up long arguments, using specific
instances of some condition.
The numbering scheme for cases is on its own, not together with other numbered
statements.
\layout Description
Conclusion
\layout Description
Fact
\layout Description
Proof The word
\begin_inset Quotes eld
\end_inset
\shape italic
Proof
\shape default
\begin_inset Quotes erd
\end_inset
is set in italics, but the rest is set upright.
At the end of this environment (other environments can be nested within
this one, of course) a QED symbol (usually a square, but it can vary with
different styles) is placed.
\layout Description
Address This should be the author's permanent address.
\layout Description
Current
\protected_separator
Address This should be the author's temporary address at the time of submission,
if different from the Address.
\layout Description
Email Author's e-mail address
\layout Description
URL Author's Web address, if desired.
\layout Description
Keywords Key words or phrases used to identify specific topics discussed
in the paper.
\layout Description
Subjectclass These refer to the AMS Subject Classifications, published and
described in
\emph on
Mathematical Reviews
\emph default
.
These are also available online at the AMS cites listed above.
\layout Description
Thanks
\layout Description
Dedicatory
\layout Description
Translator
\layout Standard
In addition, these environments automatically provide the AMS-LaTeX and
AMS fonts packages.
They need to be available on your system in order to use these environments.
\layout Section
Dinbrief
\layout Standard
The document class
\family sans
dinbrief
\family default
can be used to type letters according to German conventions.
A template file is included in
\family typewriter
.../lyx/share/templates
\family default
for you to use as a starting point.
\layout Section
Iletter
\layout Standard
The document class
\family sans
iletter
\family default
can be used to type letters according to Italian conventions.
It is not an existing LaTeX document class, but a new one which is distributed
with LyX.
A template file is included in
\family typewriter
.../lyx/share/templates
\family default
for you to use as a starting point.
\layout Section
Paper
\layout Standard
The document class
\family sans
paper
\family default
provides an alternative to the standard
\family sans
article
\family default
class.
It provides similar functionality, but you might prefer this layout with
sans serif sections, headings, and more.
\layout Section
A&A Paper
\layout Standard
by
\noun on
Peter Sütterlin
\layout Subsection
Introduction
\layout Standard
This section describes how LyX can be used to write articles for submission
to the scientific journal
\emph on
Astronomy and Astrophysics
\emph default
and the accompanying
\emph on
Supplement Series
\emph default
using
\emph on
\emph default
the document class
\family typewriter
aa.cls
\family default
from the Springer macro package.
This package can be downloaded from Springer's ftp site
\layout Standard
\added_space_top medskip \added_space_bottom medskip \align center
\begin_inset LatexCommand \url{ftp://ftp.springer.de/pub/tex/latex/aa}
\end_inset
\layout Standard
A manual comes together with that package, and this text is not meant to
replace the original manual but merely a short guide how to realize the
correct form of your paper.
\layout Subsection
Getting started
\layout Standard
You start a new document by selecting
\family sans
\bar under
F
\bar default
ile->
\bar under
N
\bar default
ew
\family default
or
\family sans
\bar under
F
\bar default
ile->New
\protected_separator
from
\protected_separator
\bar under
t
\bar default
emplate.
\begin_float footnote
\layout Standard
It is highly recomended to use template files.
Either create one yourself, or ask the local system administrator to suply
a site-wide version.
An example template comes with the standard LyX distribution.
\end_float
\family sans
\family default
If you are not using a template, keep an eye to the following settings:
\layout Itemize
Select
\family sans
paper (A&A)
\family default
from the
\family sans
\bar under
C
\bar default
lass
\family default
entry in the
\family sans
Document
\protected_separator
Layout
\family default
popup (OK, that one was obvious).
\layout Itemize
Don't change the option
\family sans
\bar under
P
\bar default
agestyle
\family default
: Leave it set to
\family sans
default
\family default
.
The whole layout is done by the macros, you shouldn't change anything.
\layout Itemize
You may want to use the font
\family sans
Times
\family default
from the
\family sans
\bar under
F
\bar default
onts
\family default
option, as suggested by Springer to get a similar-to-print appearance of
the text.
\layout Subsection
The header block
\layout Standard
First thing to enter is the header information.
It consists of eight entries, of which some are optional.
They are
\layout Itemize
\family sans
Thesaurus
\family default
: [required]See the Springer manual for a description.
\layout Itemize
\family sans
Title
\family default
: [required]
\layout Itemize
\family sans
Subtitle
\family default
: [optional]
\layout Itemize
\family sans
Author
\family default
: [required]
\layout Itemize
\family sans
Address
\family default
: [required]
\layout Itemize
\family sans
Offprints
\family default
: [optional] if more than one author: whom to contact for offprint requests.
\layout Itemize
\family sans
Email
\family default
: [optional] email address for contacts.
\layout Itemize
\family sans
Date
\family default
: [required].
Suggested format is
\family typewriter
Received: <date> / Accepted <date>
\layout Standard
There is no need to issue the
\family typewriter
\backslash
maketitle
\family default
command, this is done automatically by LyX when the header is finished.
Although the order of the single header entries doesn't matter it is advised
to keep the above sequence, just to get the best optics and meets the layout
of the real document.
\layout Standard
If you want to place footnotes in the header block, e.g.
to state your present address, just use the standard footnote via
\family sans
\bar under
I
\bar default
nsert->
\bar under
F
\bar default
ootnote.
\family default
LyX will automagically use the term
\family typewriter
\backslash
thanks{}
\family default
in that case.
\layout Standard
In addition to these topics, Springer uses two additional LaTeX commands
that have no counterpart in LyX:
\layout Itemize
\family typewriter
\backslash
and
\family default
to separate different names for more than one author and institute, respectivel
y.
\layout Itemize
\family typewriter
\backslash
inst{<nr>}
\family default
to mark corresponding author/institute pairs.
The institutes are numbered sequentially as they appear in the
\family sans
Address
\family default
field, so you have to put a marker to each author.
\layout Standard
In both cases, the appropriate command has to be entered in LyX an marked
as LaTeX code.
See the examples.
\layout Subsection
The abstract
\layout Standard
The abstract should immediately follow the header block.
The only special thing about the abstract environment is that it should
contain an entry with the keywords.
This is not yet implemented for LyX, therefore you have to enter the LaTeX
command
\family typewriter
\backslash
keywords{}
\family default
by hand and mark it as LaTeX code.
Refer to the example paper.
\layout Subsection
Supported environments
\layout Standard
The A&A paper layout supports the following environments for structuring
your text:
\layout Itemize
\family sans
Standard
\layout Itemize
\family sans
Section
\layout Itemize
\family sans
Subsection
\layout Itemize
\family sans
Subsubsection
\layout Itemize
\family sans
Itemize
\layout Itemize
\family sans
Enumerate
\layout Itemize
\family sans
Description
\layout Itemize
\family sans
Caption
\layout Itemize
\family sans
Abstract
\layout Itemize
\family sans
Acknowledgment
\layout Itemize
\family sans
Bibliography
\layout Itemize
\family sans
LaTeX
\layout Subsection
Commands not supported by LyX
\layout Standard
Some commands are not yet supported by the
\family sans
paper (A&A)
\family default
layout for LyX.
Some have already been mentioned.
For the sake of completeness, they are listed all together here:
\layout Itemize
\family typewriter
\backslash
and
\layout Itemize
\family typewriter
\backslash
appendix
\layout Itemize
\family typewriter
\backslash
authorrunning
\layout Itemize
\family typewriter
\backslash
inst{}
\layout Itemize
\family typewriter
\backslash
keywords{}
\layout Itemize
\family typewriter
\backslash
object{}
\layout Itemize
\family typewriter
\backslash
titlerunning{}
\layout Standard
If you want to use any of these commands, you have to enter them yourself.
\series bold
Do not forget to mark them as LaTeX code!
\layout Subsection
Figure and Table Floats
\layout Standard
LyX provides support for the necessary float environments
\family sans
figure, figure*, table
\family default
and
\family sans
table*
\family default
, therefore we won't tell much about it here.
Refer to the
\emph on
User's
\protected_separator
Guide
\emph default
.
Just remember that tables should be left-aligned.
For that, select the table and change the alignment in
\family sans
\bar under
L
\bar default
ayout->
\bar under
P
\bar default
aragraph.
\layout Standard
There is
\family sans
\family default
only one special thing: the figures with caption besides the figure.
To create such a figure, you have to do the following:
\layout Enumerate
Create a wide figure float:
\family sans
\bar under
I
\bar default
nsert->Fl
\bar under
o
\bar default
ats->
\bar under
W
\bar default
ide
\protected_separator
Figure
\protected_separator
Float
\family default
.
\family sans
\layout Enumerate
Enter your caption Text.
\layout Enumerate
Press
\family sans
Return
\family default
to move the cursor above the caption.
\layout Enumerate
Insert your (eps) figure
\layout Enumerate
Position the cursor behind the figure and insert a horizontal fill:
\family sans
\bar under
I
\bar default
nsert->
\bar under
S
\bar default
pecial
\protected_separator
Characters->
\bar under
H
\bar default
Fill
\family default
.
\layout Enumerate
Switch to LaTeX mode:
\family sans
M-c
\protected_separator
t
\family default
.
\layout Enumerate
Enter
\family typewriter
\backslash
parbox[b]{55mm}{
\family default
.
\series bold
Do not close the brace!
\layout Enumerate
Position the cursor behind the caption text, switch to LaTeX mode and insert
the closing brace:
\family sans
M-c
\protected_separator
t
\family typewriter
}
\family default
.
\layout Standard
Also, refer to the figures in the example paper.
\layout Subsection
Referee layout
\layout Standard
For submission, the paper has to be formated in a special double-spacing
layout.
For this purpose, you have to give the option
\family typewriter
referee
\family default
to the documentclass.
This must be done using the
\family sans
E
\bar under
x
\bar default
tra
\protected_separator
Options
\family default
field in the
\family sans
Document
\protected_separator
Layout
\family default
popup.
Just enter the string
\family typewriter
referee
\family default
there.
\layout Subsection
The example paper
\layout Standard
The
\family sans
Examples
\family default
directory contains an example paper written with LyX.
It is the example paper from the original Springer macro package, translated
to LyX.
Use it for inspiration, and compare the original LaTeX code with LyX way
of writing.
\layout Section
Koma-Script
\layout Standard
by
\noun on
Bernd Kümmerlen
\noun default
\layout Standard
\added_space_top bigskip \added_space_bottom bigskip \noindent
[
\emph on
Warning: This section may be obsolete and thus, incorrect.
I will verify or delete this section soon.
---mer
\emph default
]
\layout Standard
These are three LyX layout files which provide the three
\family sans
Koma-Script
\family default
classes scrartcl.cls, scrreprt.cls and scrbook.cls I derived them mainly from
the
\family typewriter
paper
\family default
textclass by
\noun on
Jean-Marc Lasgouttes
\noun default
with just some minor changes.
\layout Standard
What they provide:
\layout Itemize
layouts for the three standard
\family sans
Koma-Script
\family default
classes;
\layout Itemize
all environment headings and title parts are sans serif boldface;
\layout Itemize
various sizes and spacings are adjusted;
\layout Itemize
\family sans
MiniSec
\family default
environment: very similar to the
\family sans
Paragraph
\family default
environment;
\layout Itemize
\family sans
AddChap
\family default
and
\family sans
AddSeq
\family default
: work like
\family sans
Chapter*
\family default
and
\family sans
Section*
\family default
but are included in the table of contents.
\emph on
Not
\emph default
in LyXs table of contents! I don't how to do this;
\layout Itemize
incomplete implementation of the
\family sans
Labeling
\family default
environment.
This is very similar to the
\family sans
List
\family default
environment defined in
\family typewriter
stdlists.inc
\family default
but has an additional optional parameter which acts as a separator between
the label and the text.
I don't know how (if at all) it's possible to give additional parameters
to an environment, so until now it is really the same as the
\family sans
List
\family default
.
\layout Standard
What they don't provide:
\layout Itemize
none of the additional title environments (
\family typewriter
\backslash
extratitle
\family default
,
\family typewriter
\backslash
titlehead
\family default
,
\family typewriter
\backslash
subject
\family default
,
\family typewriter
\backslash
publishers
\family default
,
\family typewriter
\backslash
uppertitleback
\family default
,
\family typewriter
\backslash
lowertitleback
\family default
,
\family typewriter
\backslash
dedication
\family default
) are implemented.
This should be no problem but I didn't need it right now;
\layout Itemize
no
\family sans
scrlettr
\family default
textclass, again I don't need it and the
\family typewriter
scrlettr
\family default
class seems very extensive;
\layout Itemize
none of the smaller packages included in
\family sans
Koma-Script
\family default
.
I don't think an implementation in LyX makes too much sense for
\family typewriter
scrpage
\family default
,
\family typewriter
scrdate
\family default
and
\family typewriter
scrtime
\family default
.
\layout Standard
Everything is defined in
\family typewriter
scr.inc
\family default
, which is included by the three
\family typewriter
scr*.layout
\family default
files.
The layout files just define things like
\family typewriter
Pagestyle
\family default
,
\family typewriter
SecNumDepth
\family default
and
\family typewriter
Sides
\family default
which have different defaults for the different classes.
\layout Standard
Since I only did this in a few hours work and I really just need the
\family sans
scrreprt
\family default
textclass
\family sans
\family default
it is possible that there are still some errors or possibilities for improvement.
Feel free to implement them!
\layout Section
Springer two-column Journals (
\family sans
ejour2
\family default
)
\layout Standard
by
\noun on
Martin Vermeer
\layout Subsection
Description
\layout Standard
These are the class and layout files for the two-column journal format used
by Springer Verlag.
It is reasonably well tested only for the Journal of Geodesy.
Install the files in the proper directories, reconfigure LaTeX (in the
teTeX case by running texhash), reconfigure LyX and it should work.
\layout Standard
If you want a reference list conforming to
\begin_inset Quotes eld
\end_inset
(author, year)
\begin_inset Quotes erd
\end_inset
rather than numbered entries, put the
\family typewriter
JG
\family default
option in the documentclass options list.
Then, you can refer to an entry by putting the name and year within red
LaTeX brackets, so it looks like
\layout Description
\series medium
[1]
\series default
\latex latex
{
\latex default
P.
Murphy, 1879
\latex latex
}
\latex default
The luck of the Irish.
Journal of Irreproducible Results.
\begin_float footnote
\layout Standard
Here I did not use a real bibliography entry, since it would come out bad
in the book style of this documentation.
Note the the braces do not show up in the printed version of this document.
\end_float
\layout Subsection
Credits
\layout Standard
These files were originally made on the basis of an older style file for
LaTeX 2.09 found on the Springer Verlag web site.
\layout Standard
I have asked Springer for permission to publish this modified style file,
or alternatively, asked them to post it on their web site -- after necessary
improvements.
\layout Standard
As I received no response, I must assume that Springer have *abandoned*
the package -- which was provided free -- and that I am free to adopt it.
If any representative from Springer reads this: drop me a line!
\layout Subsection
Bugs
\layout Standard
A remaining bug is that (Author,year) with the
\family typewriter
JG
\family default
option only works in English i.e.
without using Babel.
There may be more.
\layout Section
Slides [aka
\noun on
Sli
\noun default
TeX]
\begin_inset LatexCommand \label{sec:slitex}
\end_inset
\layout Standard
by
\noun on
John Weiss
\noun default
\layout Subsection
Introduction
\layout Standard
This section describes how to use LyX to make slides for overhead projectors.
There are two document classes that can do this: the default slides class
and the
\family sans
Foil
\family default
TeX slides class.
This section documents the former.
\layout Standard
I'm going to say this again, nice and clear, so that there's no misunderstanding
:
\layout Standard
\added_space_top bigskip \added_space_bottom bigskip \align center
\size large
This section documents the class
\begin_inset Quotes eld
\end_inset
\family sans
slides (default)
\family default
\begin_inset Quotes erd
\end_inset
\emph on
only.
\layout Standard
If you're looking for the documentation for
\begin_inset Quotes eld
\end_inset
\family sans
slides (FoilTeX)
\family default
\begin_inset Quotes erd
\end_inset
, check out section
\protected_separator
\begin_inset LatexCommand \ref{sec:foiltex}
\end_inset
.
The
\family sans
foils
\family default
class [
\begin_inset Quotes eld
\end_inset
\family sans
slides (FoilTeX)
\family default
\begin_inset Quotes erd
\end_inset
] is actually somewhat better than the default
\family sans
slides
\family default
class,
\begin_float footnote
\layout Standard
\SpecialChar \ldots{}
or so I've been told repeatedly by its advocates.
Having never used it, I have no idea if this claim is true or not.
\end_float
which this section documents.
\layout Standard
This class is the LaTeX2e improvement of the old
\noun on
Sli
\noun default
TeX package.
Every LaTeX2e distribution includes this class [which I'll just refer to
as
\begin_inset Quotes eld
\end_inset
\family sans
slides
\family default
\begin_inset Quotes erd
\end_inset
from now on], so you're bound to have it.
As I noted earlier, there are other classes, such as
\family sans
foils
\family default
, which also produce slides for overhead projectors and do a better job
at it.
However, there are some things which
\family sans
slides
\family default
can do which the others can't, such as generate overlays.
Read on to learn more!
\layout Subsection
Getting Started
\begin_inset LatexCommand \label{sec:slidesetup}
\end_inset
\layout Standard
Obviously, to use this document class, you need to select
\begin_inset Quotes eld
\end_inset
\family sans
slides (default)
\family default
\begin_inset Quotes erd
\end_inset
from the
\family sans
\bar under
C
\bar default
lass
--> --------------------
--> maximum size reached
--> --------------------
[ Verzeichnis aufwärts0.367unsichere Verbindung
]
|
|