\end_inset
Images can be opened in a program of your choice by right-clicking on it
- choosing the entry
+ and choosing the entry
\family sans
Edit
\begin_inset space ~
externally
\family default
- in the appearing context menu.
+ in the context menu.
The program can be set for every image format in the file format settings
in LyX's preferences.
\end_layout
\end_inset
.
- More about the caption placement is described in section
+ More about caption placement is described in section
\begin_inset space ~
\end_inset
\begin_inset Quotes erd
\end_inset
-, because as LaTeX will reposition the floats in the final document, it
+, because LaTeX will reposition the floats in the final document and it
might not be
\begin_inset Quotes eld
\end_inset
\end_inset
-, every output document format allows only a few image formats.
+, each output document format allows only a few image formats.
LyX uses therefore the program
\family typewriter
ImageMagick
\end_inset
images consist of pixel values, often in a compressed form.
- They are therefore not fully scalable and look pixeled in large zooms.
+ They are therefore not fully scalable and look pixelated in large zooms.
Well-known bitmap image formats are
\begin_inset Quotes eld
\end_inset
, because you can convert any bitmap image to a PDF or EPS-image and the
result will still be a bitmap image.
- In this cases only a header with the image properties is added to the original
+ In such cases only a header with the image properties is added to the original
image
\begin_inset Foot
status collapsed
Table
\family default
.
- The toolbar button offers you a graphical selection: Move the mouse to
+ The toolbar button offers you a graphical selection: move the mouse to
set the column/row number of the table that should be created and then
press a mouse button.
When you use the menu to create a table, a dialog will appear, asking you
\end_inset
.
- If you set no width, the column is as wide as their widest cell content
- is.
+ If you set no width, the column is as wide as the content of the widest
+ cell.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
-The rotate check boxes rotates the current cell, a selection, or the whole
+The rotate check boxes rotate the current cell, a selection, or the whole
table counter-clockwise by 90°.
The rotation is not shown within LyX, only in the output.
\begin_inset Newline newline
\begin_inset Newline newline
\end_inset
-You can also add here space to table rows as decribed in section
+You can also add here space to table rows as described in section
\begin_inset space ~
\end_inset
\end_inset
that can run over several pages.
- Section
+ Sections
\begin_inset space ~
\end_inset
\end_inset
adds lines around the current or selected cells - if the current cell no
- multicolumn this also affects the current row and column
+ multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
\end_inset
deletes all lines of the current or selected cells - if the current cell
- no multicolumn this also affects the current row and column
+ no multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
\end_inset
(# is the actual table number).
- You can insert tables to the float above or below the caption.
+ You can insert tables in the float above or below the caption.
\end_layout
\begin_layout Standard
\begin_layout Standard
Having the caption above the table is the common rule that is unfortunately
not supported in LaTeX's standard classes.
- That means if you are using the document classes
+ This means that, if you are using the document classes
\family sans
article
\family default
\family sans
report
\family default
- there will be no space between the caption and the table.
+, there will be no space between the caption and the table.
To insert the needed space, add the following option to the load command
of the LaTeX-package
\series bold
header
\family default
is defined.
- This therefore called the main header.
+ This is therefore called the main header.
\end_layout
\begin_layout Description
\begin_inset space ~
\end_inset
-footer: The current row is defined to be a footer row that appear on the
+footer: The current row is defined to be a footer row that appears on the
last page of the longtable.
\end_layout
\begin_layout Standard
Longtables are by default centered.
- In contrary to the alignment of the table columns and row, the table alignment
+ Unlike the alignment of the table columns and rows, the table alignment
can currently not be changed in the table dialog.
To change the alignment of longtables you have to change the value of the
lengths
\end_layout
\begin_layout Standard
-Where the value can have any of the units listed in Table
+where the value can have any of the units listed in Table
\begin_inset space ~
\end_inset
A longtable cannot be put into a table float because floats can only be
on one page.
But the caption environment of floats can also be used for longtables when
- you use for a table row the longtable option
+ you use the longtable option
\family sans
Caption
\family default
1:
\series default
- The table number is increased for every longtable, also if you didn't set
- a caption for it.
+ The table number is increased for for every longtable, even if you did
+ not set a caption for it.
For this reason you could have the case that e.
\begin_inset space \thinspace{}
\end_inset
\begin_inset space ~
\end_inset
-2.4 follows on Table
+2.4 follows Table
\begin_inset space ~
\end_inset
2.1 in the list of tables if there are two longtables without captions.
- To avoid this you can add the following command in TeX-Code behind every
+ To avoid this you can add the following command in TeX-Code after every
longtable without a caption:
\end_layout
\end_layout
\begin_layout Standard
-in a dummy caption row that is marked as header.
+in a dummy caption row that is marked as a header.
Table
\begin_inset space ~
\end_inset
\end_inset
- is an example for a longtable with different heading where the second caption
+ is an example of a longtable with different heading where the second caption
doesn't include the table number.
\end_layout
\begin_layout Standard
LaTeX calculates the height of table pages and their page breaks using so
called chunks.
- Chunks are pieces of the tables that are at once in LaTeX's memory.
- The default value is historically set to only 20 table rows.
+ Chunks are parts of tables that held at the same time in LaTeX's memory.
+ The default value was historically set to only 20 table rows.
If you are using longtables with many pages this may slow down the creation
of your document.
You can safely increase the chunk size to values of 100-1000 by adding
\begin_layout Standard
There might be problems when a float appears on the same page where a longtable
starts.
- To avoid such situation, add the command
-\series bold
+ To avoid such a situation, insert a
+\begin_inset Quotes eld
+\end_inset
-\backslash
-clearpage
-\series default
- as TeX-Code before your longtable.
+clear page
+\begin_inset Quotes erd
+\end_inset
+
+ (menu
+\family sans
+Insert\SpecialChar \menuseparator
+Formatting\SpecialChar \menuseparator
+Clear
+\begin_inset space ~
+\end_inset
+
+Page
+\family default
+) before your longtable.
\end_layout
\begin_layout Subsection
\begin_inset Quotes erd
\end_inset
- as TeX-Code at this point of the cell where it can be broken.
+ as TeX-Code at the point of the cell where it can be broken.
Before the
\series bold
\backslash
\series default
- command you have to insert in TeX-Code so many
+ command you have to insert in TeX-Code as many
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- characters like the number of the following table columns.
+ characters as the number of the following table columns.
The
\series bold
&
\begin_inset Newline newline
\end_inset
-Behind the the
+After the the
\series bold
\backslash
\backslash
\series default
- command, insert so many
+ command, insert as many
\series bold
&
\series default
- characters like the number of table columns before the current column.
+ characters as the number of table columns before the current column.
In Table
\begin_inset space ~
\end_inset
the cell that should be broken is in the second column followed by another
column.
- Therefore the following command was inserted in the cell as TeX-Code behind
+ Therefore the following command was inserted in the cell as TeX-Code after
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- in the third columns of the row was deleted.
+ in the third column of the row was deleted.
\series bold
\backslash
newpage
\series default
- is only needed when a page break should definitively occur at this position,
- otherwise it is only a possibility to break.
+ is only needed when a page break should definitely occur at this position,
+ otherwise it would be a conditional break.
If your footer row of the longtable has for a certain reason no upper line
but you would have a horizontal line where the cell is broken, use this
command instead:
\begin_layout Standard
must be inserted as TeX-Code at the beginning of the cell.
- This assures that the part of the cell that will be displayed on the new
+ This ensures that the part of the cell that will be displayed on the new
page appears with the full width.
\end_layout
\end_layout
\begin_layout Standard
-Adjusting a fixed width for a column, enables to enter text as a paragraph
- with multiple lines and hyphenations.
+Setting a fixed width for a column enables you to enter text as a paragraph
+ with multiple lines and hyphenation.
\end_layout
\begin_layout Standard
cm and choose centered for the vertical and horizontal alignment.
The vertical alignment is used for all cells of the row.
- As our text is smaller than than 2.5
+ As our text is smaller than 2.5
\begin_inset space \thinspace{}
\end_inset
\begin_layout Standard
If you have a long word in a cell with a fixed width, it cannot be hyphenated
by LaTeX if it is the first entry.
- Therefore you need to insert something, to make the word not being the
+ Therefore you need to insert something to prevent the word not being the
first entry.
So add a horizontal space of 0
\begin_inset space \thinspace{}
\end_layout
\begin_layout Standard
-To span a cell over multiple columns, mark as much cells within a line that
- should be one spanned cell and use either the table-toolbar button
+To merge cells over multiple columns, select as many cells within a row
+ as you want to merge and use either the table-toolbar button
\begin_inset Graphics
filename ../images/tabular-feature_multicolumn.png
scale 85
Table\SpecialChar \menuseparator
Multicolumn
\family default
-, or right click on the marked cells and choose multicolumn in the appearing
- table dialog under the tab
+, or right click on the marked cells and choose
\family sans
-Table Settings
+Multicolumn
\family default
-.
+ in the appearing context menu.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-LyX supports multicolumns directly, but we have to take notice of the cell
+LyX supports multicolumns directly, but we have to take account of the cell
width of the columns spanned by the multicolumn cell.
\end_layout
\end_inset
cm in the table dialog.
- The spanned columns should have exactly half the width of the multicolumn
- cell, so that you would adjust a width of 1.25
+ The merged columns should have exactly half the width of the multicolumn
+ cell, so that you would set a width of 1.25
\begin_inset space \thinspace{}
\end_inset
\end_layout
\begin_layout Standard
-You can see that the first column has not the half width of the multicolumn
+You can see that the first column has not half the width of the multicolumn
cell, it is a bit bigger.
The reason is that the given width of a cell
\begin_inset Formula $W_{g}$
\end_inset
- explains it in detail.
+ explains this in detail.
\end_layout
\begin_layout Standard
-The needed given width
+The given width
\begin_inset Formula $W_{g\, n}$
\end_inset
- when
+ needed when
\emph on
n
\emph default
\end_layout
\begin_layout Standard
-LyX does not allow to calculate lengths in the width-field of the table
- dialog.
+LyX does not allow you to calculate lengths in the
+\family sans
+Width
+\family default
+ field of the table dialog.
Therefore you have to format the column by inserting a LaTeX-argument in
the dialog.
Here is an overview about the arguments:
Although we have chosen centered alignment for the text of the multicolumn
cell, it is still left aligned.
This is because LyX only applies the alignment to single columns.
- So we have to use for the multicolumn the LaTeX-argument
+ So for the multicolumn cell we have to use the LaTeX-argument
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-In contrary to multicolumns multirows are not yet supported by LyX so a
- bit of TeX-Code needs to be used.
+Unlike multicolumns multirows are not yet supported by LyX; so a bit of
+ TeX-Code needs to be used.
To use multirows load the LaTeX-package
\series bold
multirow
\series bold
}
\series default
- in another TeX-Code-box behind the text.
+ in another TeX-Code-box after the text.
\end_layout
\begin_layout Standard
in TeX-Code in the document preamble.
Then all entries of multirow cells in the document are centered.
If centering is only needed for several tables, you can renew the command
- in an TeX-Code box just before the table instead of the preamble.
+ in a TeX-Code box just before the table instead of the preamble.
If the text should be right-aligned, replace
\series bold
\end_inset
reference: prints a self defined cross-reference format.
-
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Note Greyedout
status open
\series bold
prettyref
\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! prettyref
+\end_layout
+
+\end_inset
+
installed.
\end_layout
e box.
\end_layout
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The LaTeX-package
+\series bold
+prettyref
+\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! prettyref
+\end_layout
+
+\end_inset
+
+ does not know all of LyX's possible label shortcuts
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Quotes eld
+\end_inset
+
+fig:
+\begin_inset Quotes erd
+\end_inset
+
+ is for example LyX's shortcut for labels in figure captions.
+\end_layout
+
+\end_inset
+
+ and is not internationalized.
+ How to tell
+\series bold
+prettyref
+\series default
+ new shortcuts and translations, have a look at its documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "prettyref"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Due to a bug in the LaTeX-package
+\series bold
+varioref
+\series default
+ version 1.4w, some cross-reference formats will cause LaTeX errors for document
+ languages that make the period character active (like French).
+ For a workaround, see
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset CommandInset href
+LatexCommand href
+target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Subsection
Automatic Reference Naming
\begin_inset Index
\series default
has no effect when a
\series bold
-KOMA-script
+KOMA-Script
\series default
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-script
+LaTeX-packages ! KOMA-Script
\end_layout
\end_inset
If you are using a
\series bold
-KOMA-script
+KOMA-Script
\series default
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-script
+LaTeX-packages ! KOMA-Script
\end_layout
\end_inset
document class (
\family sans
-article (KOMA-script)
+article (KOMA-Script)
\family default
,
\family sans
-book (KOMA-script)
+book (KOMA-Script)
\family default
,
\family sans
-letter (KOMA-script)
+letter (KOMA-Script)
\family default
, or
\family sans
-report (KOMA-script)
+report (KOMA-Script)
\family default
\begin_inset space \thinspace{}
\series default
package use
\series bold
-KOMA-script
+KOMA-Script
\series default
's built-in command
\series bold
\series default
we refer to the
\series bold
-KOMA-script
+KOMA-Script
\series default
documentation
\begin_inset CommandInset citation
LatexCommand cite
-key "KOMA-script"
+key "KOMA-Script"
\end_inset
\begin_layout Standard
If you are using a
\series bold
-KOMA-script
+KOMA-Script
\series default
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-script
+LaTeX-packages ! KOMA-Script
\end_layout
\end_inset
document class (
\family sans
-article (KOMA-script)
+article (KOMA-Script)
\family default
,
\family sans
-book (KOMA-script)
+book (KOMA-Script)
\family default
,
\family sans
-letter (KOMA-script)
+letter (KOMA-Script)
\family default
, or
\family sans
-report (KOMA-script)
+report (KOMA-Script)
\family default
\begin_inset space \thinspace{}
\bar default
.
To change a note to text, press the backspace key when the cursor is in
- the first position of a note, or press the deletey key when the cursor
- is in the very last position of the note, respectively.
+ the first position of a note, or press the delete key when the cursor is
+ in the very last position of the note, respectively.
\end_layout
\begin_layout Standard
\series bold
\backslash
-definecolor{shadebox}
+definecolor{shadecolor}
\series default
or globally with the menu
\family sans
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "KOMA-script"
+key "KOMA-Script"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "KOMA-script"
+name "KOMA-Script"
target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-script
+LaTeX-packages ! KOMA-Script
\end_layout
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "prettyref"
+
+\end_inset
+
+Documentation of the LaTeX-package
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "prettyref"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! prettyref
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Bibliography