-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 459
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 610
\begin_document
\begin_header
+\save_transient_properties true
+\origin /systemlyxdir/doc/
\textclass scrbook
\begin_preamble
-% if pdflatex is used
-\usepackage{ifpdf}
-\ifpdf
-
-% set fonts for nicer pdf view
-\IfFileExists{lmodern.sty}
- {\usepackage{lmodern}}{}
-
-\fi % end if pdflatex is used
-
% that links to image floats jumps
% to the beginning of the float and
% not to its caption
\usepackage[figure]{hypcap}
-% the pages of the TOC is numbered roman
+% the pages of the TOC are numbered roman
% and a PDF-bookmark for the TOC is added
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
% speed up the longtable calculation
\setcounter{LTchunksize}{100}
-% used for scaled and rotated boxes
-\@ifundefined{rotatebox}{\usepackage{graphicx}}{}
-
% used for colored tables
\@ifundefined{textcolor}
{\usepackage{color}}{}
\setboolean{colortbl}{true}}
{\setboolean{colortbl}{false}}
-% used for colored table rows
-\usepackage[table]{xcolor}
-
% used to have extra space in table cells
\@ifundefined{extrarowheight}
{\usepackage{array}}{}
{\usepackage{diagbox}
\setboolean{diagbox}{true}}
{\setboolean{diagbox}{false}}
-
-% workaround for a bug in KOMA-script 3.10a
-% remove this if a newer KOMA-script version is released!
-\usepackage{everysel,sidecap}
+% Added by lyx2lyx
+\setlength{\parskip}{\medskipamount}
+\setlength{\parindent}{0pt}
\end_preamble
-\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
+\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
\use_default_options false
\begin_modules
initials
+graphicboxes
+varwidth
\end_modules
-\maintain_unincluded_children false
+\maintain_unincluded_children no
\language english
\language_package default
-\inputencoding auto
-\fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\inputencoding utf8
+\fontencoding auto
+\font_roman "lmodern" "default"
+\font_sans "lmss" "default"
+\font_typewriter "lmtt" "default"
+\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
-\font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_roman_osf false
+\font_sans_osf false
+\font_typewriter_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures true
\graphics default
-\default_output_format default
+\default_output_format pdf2
\output_sync 0
\bibtex_command default
-\index_command default
+\index_command makeindex
\paperfontsize 12
\spacing single
\use_hyperref true
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default
\use_geometry false
-\use_package amsmath 2
-\use_package amssymb 2
-\use_package esint 0
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 1
+\use_package esint 1
\use_package mathdots 1
-\use_package mathtools 0
+\use_package mathtools 1
\use_package mhchem 1
-\use_package stackrel 0
-\use_package stmaryrd 0
-\use_package undertilde 0
+\use_package stackrel 1
+\use_package stmaryrd 1
+\use_package undertilde 1
\cite_engine basic
-\cite_engine_type numerical
+\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\suppress_date false
\justification true
\use_refstyle 0
+\use_minted 0
+\use_lineno 0
\notefontcolor #0000ff
\index Index
\shortcut idx
\end_index
\secnumdepth 3
\tocdepth 3
-\paragraph_separation skip
-\defskip medskip
-\quotes_language english
+\paragraph_separation indent
+\paragraph_indentation default
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle default
+\tablestyle default
\tracking_changes true
\output_changes false
+\change_bars false
+\postpone_fragile_content false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
-\author -195340706 "Georg Baum"
+\docbook_table_output 0
+\docbook_mathml_prefix 1
+\author -1382599118 "Daniel"
+\author -712698321 "Jürgen Spitzmüller"
+\author 177693 "x"
+\author 274215730 "scott"
+\author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
\end_header
\begin_body
\begin_layout Title
-LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
- manual
+\SpecialChar LyX
+'s detailed Figure, Table, Floats, Notes, Boxes and External Material manual
\end_layout
\begin_layout Author
-by the LyX Team
+by the \SpecialChar LyX
+ Team
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\noindent
-If you have comments or error corrections, please send them to the LyX Documenta
-tion mailing list:
+If you have comments or error corrections, please send them to the \SpecialChar LyX
+ Documentatio
+n mailing list:
\begin_inset CommandInset href
LatexCommand href
name "lyx-docs@lists.lyx.org"
target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
type "mailto:"
+literal "false"
\end_inset
\begin_inset Note Note
-status collapsed
+status open
\begin_layout Plain Layout
author: Uwe Stöhr
\family sans
-Version 2.0.x
+Version 2.4.x
\end_layout
\begin_layout Standard
status open
\begin_layout Plain Layout
-To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
-
+To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
+ packages
\series bold
arydshln
\series default
\series bold
-http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
+https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
\end_layout
\end_inset
\begin_layout Chapter
Figures
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Graphics|see
-\begin_inset ERT
-status collapsed
+Graphics
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Figures
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
\begin_layout Section
Graphics Dialog
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! Graphics Dialog
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Graphics Dialog
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
or use the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Graphics
\family default
.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! rotated
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+rotated
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
You can rotate images counter-clockwise by setting a rotation angle and
a rotation origin.
- The image will also be rotated inside LyX.
+ The image will also be rotated inside \SpecialChar LyX
+.
\begin_inset Newline newline
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! scaled
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+scaled
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\family default
in the context menu.
The program can be set for every image format in the file format settings
- in LyX's preferences.
+ in \SpecialChar LyX
+'s preferences.
\end_layout
\begin_layout Description
\family sans
+Coordinates
+\begin_inset space ~
+\end_inset
+
+and
+\begin_inset space ~
+\end_inset
+
Clipping
\family default
Alternatively to the usage of scaling units it is possible to set image
options
\family default
- In this tab you can modify the appearance of the image within LyX and LaTeX
- experts can specify additional LaTeX options.
+ In this tab you can modify the appearance of the image within \SpecialChar LyX
+ and \SpecialChar LaTeX
+ experts
+ can specify additional \SpecialChar LaTeX
+ options.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
-The
-\family sans
-Don't
-\begin_inset space ~
-\end_inset
-
-unzip
-\begin_inset space ~
-\end_inset
-
-on
-\begin_inset space ~
-\end_inset
-
-export
-\family default
- option only affects zipped EPS-graphics, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-
-\emph on
-x.eps.gz
-\emph default
-.
- When the option is used the images will not be unzipped on export, since
- LaTeX can handle them as they are.
-\begin_inset Newline newline
-\end_inset
-
-Zipped EPS-graphics are useful to save disk space when you choose PostScript
- as output format, see appendix
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:PostScript"
-
-\end_inset
-
-.
- To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
- console:
-\begin_inset Newline newline
-\end_inset
-
-
-\series bold
-gzip x.eps
-\series default
-
-\begin_inset Newline newline
-\end_inset
-
-
-\series bold
-zgrep %%Bounding x.eps.gz > x.eps.bb
-\series default
-
-\begin_inset Newline newline
-\end_inset
-
-The second command creates the bounding box file
-\begin_inset Quotes eld
-\end_inset
-
-x.eps.bb
-\begin_inset Quotes erd
-\end_inset
-
- that is needed by LaTeX for zipped graphics.
-\begin_inset Newline newline
-\end_inset
-
In the section
\family sans
Graphics
\family default
you can define or join an image settings group.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! Settings grouping
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Settings grouping
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-This is an example image in EPS format
+This is an example image in PDF format
\begin_inset Foot
status collapsed
\begin_layout Standard
\align center
\begin_inset Graphics
- filename clipart/mobius.eps
- scale 70
+ filename clipart/2D-intensity-plot.pdf
scaleBeforeRotation
rotateOrigin center
\begin_layout Standard
\align center
\begin_inset Graphics
- filename clipart/mobius.eps
- scale 70
+ filename clipart/2D-intensity-plot.pdf
draft
scaleBeforeRotation
rotateOrigin center
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Figures
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Figures
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! Floats
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Floats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
and the menu
\family sans
-Insert\SpecialChar \menuseparator
-Float\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Float\SpecialChar menuseparator
Figure
\family default
inserts a float with a caption that has the label
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:kill-plat"
+reference "fig:A-star-in"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:escher"
+reference "fig:A-3D-object"
\end_inset
\begin_layout Standard
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset Graphics
- filename clipart/platypus.eps
+ filename clipart/Star-structure.pdf
+ lyxscale 60
width 50col%
scaleBeforeRotation
rotateOrigin center
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:kill-plat"
+name "fig:A-star-in"
\end_inset
-A severely distorted platypus in a float.
+A star in a float.
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:escher"
+name "fig:A-3D-object"
\end_inset
-M.C.
- Escher on acid.
+A 3D object.
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Graphics
- filename clipart/escher-lsd.eps
+ filename clipart/3D-structure-distort.pdf
+ lyxscale 60
scale 80
scaleBeforeRotation
rotateOrigin center
\begin_layout Standard
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-References ! to Figures
+References
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+to Figures
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:kill-plat"
+reference "fig:A-star-in"
\end_inset
and
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:escher"
+reference "fig:A-3D-object"
\end_inset
Figures can be referenced in the text by referencing their label.
To do this insert a label in the caption using the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Label
\family default
or the toolbar button
.
You can now refer to the label using the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Cross
\begin_inset space ~
\end_inset
\begin_inset Quotes erd
\end_inset
-, because LaTeX will reposition the floats in the final document and it
- might not be
+, because \SpecialChar LaTeX
+ will reposition the floats in the final document and it might
+ not be
\begin_inset Quotes eld
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Undefinable-structure"
+reference "fig:Pink-object"
\end_inset
and
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:A-Platypus"
+reference "fig:A-star"
\end_inset
\begin_layout Standard
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:Undefinable-structure"
+name "fig:Pink-object"
\end_inset
-Undefinable structure.
+Pink object.
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/escher-lsd.eps
+ filename clipart/3D-structure-distort.pdf
width 45col%
scaleBeforeRotation
groupId distorted
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:A-Platypus"
+name "fig:A-star"
\end_inset
-A Platypus.
+A star.
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/platypus.eps
+ filename clipart/Star-structure.pdf
width 45col%
scaleBeforeRotation
groupId distorted
\end_inset
-
-\begin_inset CommandInset label
-LatexCommand label
-name "fig2:Two-distorted-images-2"
-
-\end_inset
-
Two distorted images.
Both images are in the image settings group named
\begin_inset Quotes eld
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! Image Formats
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Image Formats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_inset
, each output document format allows only a few image formats.
- LyX uses therefore the program
+ \SpecialChar LyX
+ uses therefore the program
\family typewriter
ImageMagick
\family default
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-GIF|see
-\begin_inset ERT
-status collapsed
+GIF
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-PNG|see
-\begin_inset ERT
-status collapsed
+PNG
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-JPG|see
-\begin_inset ERT
-status collapsed
+JPG
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-SVG|see
-\begin_inset ERT
-status collapsed
+SVG
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-EPS|see
-\begin_inset ERT
-status collapsed
+EPS
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-SVG|see
-\begin_inset ERT
-status collapsed
+WMF
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
\begin_layout Chapter
Tables
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_layout Section
Introduction
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Introduction
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Introduction
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
or the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Table
\family default
.
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
- for the number of rows and columns.
+ for the number of rows and columns
+\change_inserted -712698321 1554289643
+, and you can select a specific (border) style
+\change_unchanged
+.
+\change_deleted -712698321 1554289644
+
\begin_inset Newline newline
\end_inset
- The default table has lines around any cell and the first row appears separated
+
+\change_inserted -712698321 1554289645
+
+\end_layout
+
+\begin_layout Standard
+The default table has lines around any cell and the first row appears separated
from the rest of the table.
This separation occurs due to a double line: The cells of the first row
have a line below them and the cells of the second row have a line above
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\end_layout
+\begin_layout Standard
+
+\change_inserted -712698321 1554289664
+This corresponds to the
+\begin_inset Quotes eld
+\end_inset
+
+Grid with Head
+\begin_inset Quotes erd
+\end_inset
+
+ table style listed in the style selection.
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1554289664
+Other available styles include:
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1554289664
+A
+\begin_inset Quotes eld
+\end_inset
+
+simple grid
+\begin_inset Quotes erd
+\end_inset
+
+ which looks line the above table, but without the first row being separated
+ via double line,
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1554289664
+a border-less table with no lines at all,
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1554289664
+and a so-called
+\begin_inset Quotes eld
+\end_inset
+
+formal table
+\begin_inset Quotes erd
+\end_inset
+
+ as often used in professional publishing with horizontal lines only and
+ bold top/bottom lines (see
+\emph on
+Embedded Objects
+\emph default
+ manual, section
+\emph on
+Formal Tables
+\emph default
+).
+
+\change_inserted 630872221 1622640694
+ It is also possible to have an horizontal (thin) Footline above the last
+ line.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1554289664
+The default style used in the dialog as well as the style used by the toolbar
+ button can be changed in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Text Layout
+\family default
+.
+ So if the default style above is not the one you need, you should alter
+ this setting.
+\end_layout
+
\begin_layout Section
Table Dialog
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Dialog
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Dialog
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
You can alter a table by clicking on it with the right mouse button, which
- brings up the table dialog.
- Here you can adjust the settings of that cell and row/column respectively
- where the cursor is currently placed.
+ brings up the context menu.
+ Under the menu entry
+\family sans
+More
+\family default
+ you can adjust the settings of that cell and row/column respectively where
+ the cursor is currently placed.
+ The context menu
+\family sans
+More\SpecialChar menuseparator
+Settings
+\family default
+ opens the table dialog where you can adjust more things.
Most of the dialog options also work on selections.
This means if you select more cells, columns or rows, the action is done
for the whole selection.
every change you make in the dialog is directly applied.
If you move the cursor to another table cell the dialog will then also
be updated with the parameters of the new cell.
- If you change length values in the dialog you must press return to get
- the change applied.
+ If you change length values in the dialog you must press
+\family sans
+Return
+\family default
+ to get the change applied.
\begin_inset Newline newline
\end_inset
\end_layout
\begin_layout Description
-
-\family sans
Table
\begin_inset space ~
\end_inset
-Settings
-\family default
- Here you can set the table width
+Settings Here you can set the table width
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Width
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Width
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Special-Cell-Alignment"
+reference "subsec:Special-Cell-Alignment"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multiple-Lines-in"
+reference "subsec:Multiple-Lines-in"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multicolumns"
+reference "subsec:Multicolumns"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multirows"
+reference "subsec:Multirows"
\end_inset
\end_inset
°.
- The rotation is not shown within LyX, only in the output.
+ The rotation is not shown within \SpecialChar LyX
+, only in the output.
For more information see sec.
\begin_inset space \thinspace{}
\end_inset
A line with tables with different alignments:
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="top">
+<features tabularvalignment="top">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="bottom">
+<features tabularvalignment="bottom">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Newline newline
\end_inset
-It is also possible to enter a LaTeX-argument which is needed for special
- table formattings, see sec.
+It is also possible to enter a \SpecialChar LaTeX
+-argument which is needed for special table
+ formattings, see sec.
\begin_inset space \thinspace{}
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multicolumn-Calculations"
+reference "subsec:Multicolumn-Calculations"
\end_inset
\end_layout
\begin_layout Description
-
-\family sans
-Borders
-\family default
- In this tab you can add and delete border lines for the current row/column.
+Borders In this tab you can add and delete border lines for the current
+ row/column.
\begin_inset Newline newline
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Row-Spacing"
+reference "subsec:Row-Spacing"
\end_inset
\end_layout
\begin_layout Description
-
-\family sans
-Longtable
-\family default
- This tab is to make a table a so called
-\begin_inset Quotes eld
-\end_inset
-
-
-\emph on
-longtable
-\emph default
-
-\begin_inset Quotes erd
+Multi-page
+\begin_inset space ~
\end_inset
- that can run over several pages.
+table This tab is to make a table a multi-page table that can run over several
+ pages.
Sections
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Longtables"
+reference "sec:Multi-page-Tables"
\end_inset
\end_inset
- describe the longtable features in detail.
+ describe the multi-page table features in detail.
\end_layout
\begin_layout Section
Table Toolbar
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Toolbar
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Toolbar
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
The table toolbar is an alternative to the table dialog to be able to alter
tables faster.
- It should normally appear at the bottom of LyX's main window when the cursor
+ It should normally appear at the bottom of \SpecialChar LyX
+'s main window when the cursor
is inside a table.
You can alternatively switch it on to appear always, by right-clicking
- in LyX's main menu bar.
+ in \SpecialChar LyX
+'s main menu bar.
\end_layout
\begin_layout Standard
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular append-row"
+arg "tabular-feature append-row"
\end_inset
adds a row below the current cell or selection
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular append-column"
+arg "tabular-feature append-column"
\end_inset
adds a column right beside the current cell or selection
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular delete-row"
+arg "tabular-feature delete-row"
\end_inset
deletes the current row or selection
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular delete-column"
+arg "tabular-feature delete-column"
\end_inset
deletes the current column or selection
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular toggle-line-top"
+arg "tabular-feature move-row-up"
+\end_inset
+
+ moves the row up
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature move-column-left"
+\end_inset
+
+ moves the column to the left
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature move-row-down"
+\end_inset
+
+ moves the row down
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature move-column-right"
+\end_inset
+
+ moves the column to the right
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-line-top"
+\end_inset
+
+
+\change_deleted -1382599118 1647157945
+adds
+\change_inserted -1382599118 1647157946
+toggles
+\change_unchanged
+ a line at the top of
+\change_inserted -1382599118 1647158116
+ every cell for
+\change_unchanged
+ the current
+\change_inserted -1382599118 1647157889
+ly
+\change_deleted -1382599118 1647157917
+ cell / row or of a
+\change_unchanged
+ select
+\change_deleted -1382599118 1647157923
+ion
+\change_inserted -1382599118 1647157925
+ed cells
+\change_unchanged
+
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-line-bottom"
\end_inset
- adds a line at the top of the current cell / row or of a selection
+
+\change_deleted -1382599118 1647157963
+adds
+\change_inserted -1382599118 1647157964
+toggles
+\change_unchanged
+ a line at the bottom of
+\change_inserted -1382599118 1647158114
+every cell for
+\change_unchanged
+the current
+\change_inserted -1382599118 1647157991
+ly
+\change_deleted -1382599118 1647158003
+ cell / row or of a
+\change_unchanged
+ select
+\change_deleted -1382599118 1647158007
+ion
+\change_inserted -1382599118 1647158009
+ed cells
+\change_unchanged
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular toggle-line-bottom"
+arg "tabular-feature toggle-line-left"
\end_inset
- adds a line at the bottom of the current cell / row or of a selection
+
+\change_deleted -1382599118 1647157971
+adds
+\change_inserted -1382599118 1647157972
+toggles
+\change_unchanged
+ a line at the left side of
+\change_inserted -1382599118 1647158111
+every cell for
+\change_unchanged
+the current
+\change_inserted -1382599118 1647158027
+ly
+\change_deleted -1382599118 1647158069
+ cell / row or of a
+\change_unchanged
+ select
+\change_deleted -1382599118 1647158043
+ion
+\change_inserted -1382599118 1647158044
+ed cells
+\change_unchanged
+
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-line-right"
+\end_inset
+
+
+\change_deleted -1382599118 1647157974
+adds
+\change_inserted -1382599118 1647157975
+toggles
+\change_unchanged
+ a line at the right side of
+\change_inserted -1382599118 1647158109
+every cell for
+\change_unchanged
+the current
+\change_inserted -1382599118 1647158061
+ly
+\change_deleted -1382599118 1647158072
+ cell / row or of a
+\change_unchanged
+ select
+\change_deleted -1382599118 1647158078
+ion
+\change_inserted -1382599118 1647158082
+ed cells
+\change_inserted -712698321 1554289731
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
+
+\change_inserted -712698321 1554289910
\begin_inset Info
type "icon"
-arg "inset-modify tabular toggle-line-left"
+arg "tabular-feature toggle-border-lines"
\end_inset
- adds a line at the left side of the current cell / row or of a selection
+
+\change_deleted -1382599118 1647157966
+adds
+\change_inserted -1382599118 1647157967
+toggles
+\change_inserted -712698321 1554289910
+ a border around the currently selected cells
+\change_inserted -1382599118 1647040213
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
+
+\change_inserted -1382599118 1647158092
\begin_inset Info
type "icon"
-arg "inset-modify tabular toggle-line-right"
+arg "tabular-feature toggle-inner-lines"
\end_inset
- adds a line at the right side of the current cell / row or of a selection
+ toggles inner lines for the currently selected cells
+\change_unchanged
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular set-all-lines"
+arg "tabular-feature toggle-all-lines"
\end_inset
- adds lines around the current or selected cells - if the current cell no
- multicolumn cell this also affects the current row and column
+ adds lines around the current or selected cells - if the current cell is
+ not a multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular unset-all-lines"
+arg "tabular-feature unset-all-lines"
\end_inset
deletes all lines of the current or selected cells - if the current cell
- no multicolumn cell this also affects the current row and column
+ is not a multicolumn cell this also affects the current row and column
+\change_inserted -712698321 1554289920
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
+
+\change_inserted -712698321 1554292586
\begin_inset Info
type "icon"
-arg "inset-modify tabular m-align-left"
+arg "tabular-feature reset-formal-default"
+\end_inset
+
+ If using a formal table, this resets the border to its default (only horizontal
+ lines in top and bottom rows)
+\change_unchanged
+
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature m-align-left"
\end_inset
left-aligns the content of the current cell / column
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular m-align-center"
+arg "tabular-feature m-align-center"
\end_inset
centers the content of the current cell / column horizontally
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular m-align-right"
+arg "tabular-feature m-align-right"
\end_inset
right-aligns the content of the current cell / column
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular align-decimal"
+arg "tabular-feature align-decimal"
\end_inset
aligns the content of the current column at a character
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular m-valign-top"
+arg "tabular-feature m-valign-top"
\end_inset
aligns the content of the current cell vertically to the top
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular m-valign-middle"
+arg "tabular-feature m-valign-middle"
\end_inset
centers the content of the current cell vertically
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular m-valign-bottom"
+arg "tabular-feature m-valign-bottom"
\end_inset
aligns the content of the current cell vertically to the bottom
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular set-rotate-cell"
+arg "tabular-feature set-rotate-cell"
\end_inset
rotates the current cell or selection counter-clockwise by 90°
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular set-rotate-tabular"
+arg "tabular-feature set-rotate-tabular"
\end_inset
rotates the whole table counter-clockwise by 90°
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular multicolumn"
+arg "tabular-feature multicolumn"
\end_inset
sets the current cell or selection as a multicolumn
\labelwidthstring 00.00.0000
\begin_inset Info
type "icon"
-arg "inset-modify tabular multirow"
+arg "tabular-feature multirow"
\end_inset
sets the current cell or selection as a multirow
\begin_layout Section
Edit Table Menu
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Edit Menu
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Edit Menu
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
In addition to the table dialog and toolbar, the menu
\family sans
-Edit\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
Table
\family default
allows you to add and delete border lines for the current row/column and
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Tables
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Tables
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Floats
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Floats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\begin_layout Standard
Table floats can be inserted using the menu
\family sans
-Insert\SpecialChar \menuseparator
-Float\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Float\SpecialChar menuseparator
Table
\family default
or the toolbar button
\begin_layout Standard
Having the caption above the table is the common rule that is unfortunately
- not supported in LaTeX's standard classes.
+ not supported in \SpecialChar LaTeX
+'s standard classes.
This means that, if you are using the document classes
\family sans
article
\family default
, 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
+ of the \SpecialChar LaTeX
+-package
\series bold
caption
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
- in your document preamble
+ in your document preamble:
\begin_inset Foot
status collapsed
\end_inset
-:
+
\end_layout
\begin_layout Standard
\begin_layout Standard
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-References ! to Tables
+References
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+to Tables
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
Tables can be cross-referenced in the text by referencing their label.
To do this insert a label in the caption using the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Label
\family default
or the toolbar button
.
You can now refer to the label using the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Cross
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Section
-Longtables
+
+\family sans
+Multi-page Table
+\family default
+s
\begin_inset CommandInset label
LatexCommand label
-name "sec:Longtables"
+name "sec:Multi-page-Tables"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables
+Multi-page Table
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Longtables
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset space ~
\end_inset
-long
+multi-page
+\family default
+ table in the tab
+\family sans
+Multi-page
\begin_inset space ~
\end_inset
table
-\family default
- in the tab
-\family sans
-Longtable
\family default
of the table dialog to split the table automatically over more pages.
Doing this enables the following options:
\begin_layout Description
Header: The current row is defined to be a header row that appears on all
- pages of the longtable; except for the first page, if
+ pages of the multi-page table; except for the first page, if
\family sans
First
\begin_inset space ~
\end_inset
header: The current row is defined to be a header row that appears on the
- first page of the longtable.
+ first page of the multi-page table.
\end_layout
\begin_layout Description
Footer: The current row is defined to be a footer row that appears on all
- pages of the longtable; except for the last page, if
+ pages of the multi-page table; except for the last page, if
\family sans
Last
\begin_inset space ~
\end_inset
footer: The current row is defined to be a footer row that appears on the
- last page of the longtable.
+ last page of the multi-page table.
\end_layout
\begin_layout Description
Caption: The current row contains the table caption.
The row is reset as single column and a caption is inserted.
- More about longtable captions is explained in sec.
+ More about multi-page table captions is explained in sec.
\begin_inset space \thinspace{}
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Longtable-Captions"
+reference "subsec:Multi-page-Table-Captions"
\end_inset
\begin_layout Standard
You can also specify a row where the table is split.
- See the following longtable to see how it works:
+ See the following multi-page table to see how it works:
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="69" columns="3">
-<features rotate="0" islongtable="true" longtabularalignment="center">
+<features islongtable="true" longtabularalignment="center">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Longtable-Captions"
+reference "subsec:Multi-page-Table-Captions"
\end_inset
\end_layout
\begin_layout Subsection
-Footnotes in Longtables
+Footnotes in Multi-page tables
\begin_inset CommandInset label
LatexCommand label
-name "sub:Footnotes-in-Longtables"
+name "subsec:Footnotes-in-Multi-page"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Footnotes
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Footnotes
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Footnotes can be inserted to every longtable cell.
+Footnotes can be inserted to every Multi-page table cell.
They appear at the bottom of the page where the table cell with the footnote
appears.
Table
\end_layout
\begin_layout Subsection
-Longtable Alignment
+Multi-page Table Alignment
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Alignment
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Alignment
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The horizontal alignment of longtables can be set in the table settings
+The horizontal alignment of multi-page tables can be set in the table settings
dialog.
For left- and right-alignment the table will be directly at the page border.
To add space between the table and the border one has to set the alignment
- to center and change the value of the LaTeX-lengths
+ to center and change the value of the \SpecialChar LaTeX
+-lengths
\series bold
\backslash
\backslash
LTright
\series default
- by inserting this line as TeX-Code before the longtable:
+ by inserting this line as \SpecialChar TeX
+ Code before the multi-page table:
\end_layout
\begin_layout Standard
\backslash
LTleft
\series default
- controls the horizontal distance from the left page border to the longtable,
-
+ controls the horizontal distance from the left page border to the multi-page
+ table,
\series bold
\backslash
\backslash
fill
\series default
-, which is in this case the same as an horizontal fill in LyX.
+, which is in this case the same as an horizontal fill in \SpecialChar LyX
+.
\end_layout
\begin_layout Standard
-The following longtable was centered and
+The following multi-page table was centered and
\series bold
\backslash
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
-<features rotate="0" islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
+<features islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="top">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Longtable-Captions"
+reference "subsec:Multi-page-Table-Captions"
\end_inset
\end_layout
\begin_layout Subsection
-Longtable Captions
+Multi-page Table Captions
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Captions
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Captions
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset label
LatexCommand label
-name "sub:Longtable-Captions"
+name "subsec:Multi-page-Table-Captions"
\end_inset
\end_layout
\begin_layout Standard
-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 the longtable option
+A multi-page table 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 multi-page tables
+ when you use the multi-page table option
\family sans
Caption
\family default
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Longtables"
-
-\end_inset
-
-.
-
-\change_inserted -195340706 1324242393
-A caption must be put into one of
-\family sans
-First
-\begin_inset space ~
-\end_inset
+reference "sec:Multi-page-Tables"
-header
-\family default
-,
-\family sans
-Header
-\family default
-,
-\family sans
-Footer
-\family default
- and
-\family sans
-Fast
-\begin_inset space ~
\end_inset
-footer
-\family default
.
- Each kind of footer and header may only contain one
-\change_deleted -195340706 1324242398
-Only one table row can contain the
-\change_unchanged
- caption.
+ Only one table row should contain a caption, either a header or a footer
+ row.
\end_layout
\begin_layout Standard
-Here is a short longtable to see how it works:
+Here is a short multi-page table to see how it works:
\end_layout
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
-<features rotate="0" islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_inset Caption Standard
\begin_layout Plain Layout
-Longtable with caption
+Multi-page table with caption
\begin_inset Argument 1
status open
\begin_layout Plain Layout
-Longtable
+Multi-page table
\end_layout
\end_inset
1:
\series default
- The table number is increased for every longtable, even if you did not
- set a caption for it.
+ The table number is increased for every multi-page table, 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.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 after every
- longtable without a caption:
+2.1 in the list of tables if there are two multi-page tables without captions.
+ To avoid this you can add the following command in \SpecialChar TeX
+ Code after every multi-page
+ table without a caption:
\end_layout
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout
-This is not needed when none of your longtables has a caption and you add
- the following code to the document preamble:
+This is not needed when none of your multi-page tables has a caption and
+ you add the following code to the document preamble:
\end_layout
\begin_layout Plain Layout
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hyperref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\family sans
Document Settings
\family default
- dialog to link cross-references, the link to a longtable caption will always
- point to the beginning of the document.
+ dialog to link cross-references, the link to a multi-page table caption
+ will always point to the beginning of the document.
\end_layout
\end_inset
\end_layout
\begin_layout Subsubsection
-References to Longtables
+References to multi-page tables
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! References
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+References
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
-<features rotate="0" islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_inset Caption Standard
\begin_layout Plain Layout
-Referenced longtable
+Referenced multi-page table
\begin_inset CommandInset label
LatexCommand label
-name "tab:RefExample"
+name "tab:Referenced-multi-page-table"
\end_inset
\end_layout
\begin_layout Standard
-To reference a longtable, insert a label into the caption.
+To reference a multi-page table, insert a label into the caption.
\end_layout
\begin_layout Standard
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:RefExample"
+reference "tab:Referenced-multi-page-table"
\end_inset
\begin_layout Standard
The caption layout can be set together with all other captions of your document
- using the LaTeX-package
+ using the \SpecialChar LaTeX
+-package
\series bold
caption
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Subsubsection
Caption Width
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Caption Width
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Caption Width
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
in.
To change it add the following command to your document preamble or as
- TeX-Code into your document before the longtable that should be affected
+ \SpecialChar TeX
+ Code into your document before the multi-page table that should be affected
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-where the width could have one of the units listed in appendix
+where the
+\family sans
+width
+\family default
+ can have one of the units listed in appendix
\begin_inset space ~
\end_inset
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
-<features rotate="0" islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_inset Caption Standard
\begin_layout Plain Layout
-long full title with default width long full title with default width long
+Long full title with default width long full title with default width long
full title with default width
\begin_inset Argument 1
status collapsed
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
-<features rotate="0" islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_inset Caption Standard
\begin_layout Plain Layout
-long full title with width set to 5
+Long full title with width set to 5
\begin_inset space \thinspace{}
\end_inset
\series bold
Note:
\series default
- When the LaTeX-package
+ When the \SpecialChar LaTeX
+-package
\series bold
caption
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset space \thinspace{}
\end_inset
-in, or the LaTeX-command
+in, or the \SpecialChar LaTeX
+-command
\series bold
\backslash
\begin_layout Subsubsection
Different Captions for Table Pages
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Different Captions for Pages
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
\end_layout
\end_inset
-\end_layout
+\begin_inset IndexMacro subentry
+status open
-\begin_layout Standard
-When the table captions for the following pages should differ from the one
- of the first table page, insert a caption with the TeX-Code command
+\begin_layout Plain Layout
+Different Captions for Pages
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-caption*{caption text}
-\backslash
+\end_layout
+
+\end_inset
+
-\backslash
-%
\end_layout
\begin_layout Standard
-in a dummy caption row that is marked as a header.
+When the table captions for the following pages should differ from the one
+ of the first table page, mark a empty row as header which contains a caption.
+ Then right-click on the caption and select in the context menu
+\family sans
+Caption
+\begin_inset space ~
+\end_inset
+
+(Unnumbered)
+\family default
+.
Table
\begin_inset space ~
\end_inset
\end_inset
- is an example of a longtable with different heading where the second caption
- doesn't include the table number.
+ is an example of a multi-page table with different heading where the second
+ caption does not include the table number.
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="59" columns="3">
-<features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
+<features islongtable="true" longtabularalignment="center">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\end_inset
</cell>
</row>
-<row endhead="true">
-<cell alignment="left" valignment="top" leftline="true" usebox="none">
+<row endhead="true" caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status open
+\begin_inset Caption Unnumbered
\begin_layout Plain Layout
-
-
-\backslash
-caption*{Continued Example Phone List}
-\backslash
-
-\backslash
-%
+Continued Example Phone List
\end_layout
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\begin_layout Section
-Special Longtable Issues
+Special Multi-page Table Issues
\begin_inset CommandInset label
LatexCommand label
name "sec:Special-Longtable-Issues"
\end_layout
\begin_layout Subsection
-Longtable Calculation
+Multi-page Table Calculation
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Calculation
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Calculation
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-LaTeX calculates the height of table pages and their page breaks using so
- called chunks.
- 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
- this command line to your document preamble:
+\SpecialChar LaTeX
+ calculates the height of table pages and their page breaks using so called
+ chunks.
+ Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
+'s memory.
+ The default value was historically set to only 20
+\begin_inset space ~
+\end_inset
+
+table rows.
+ If you are using multi-page tables with many pages this may slow down the
+ creation of your document.
+ You can safely increase the chunk size to values of 100
+\begin_inset space \thinspace{}
+\end_inset
+
+--
+\begin_inset space \thinspace{}
+\end_inset
+
+1000 by adding this command line to your document preamble:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Subsection
-Floats and Longtables
+Floats and Multi-page Tables
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Floats
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Floats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-There might be problems when a float appears on the same page where a longtable
- starts.
+There might be problems when a float appears on the same page where a multi-page
+ table starts.
To avoid such a situation, insert a
\begin_inset Quotes eld
\end_inset
(menu
\family sans
-Insert\SpecialChar \menuseparator
-Formatting\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Formatting\SpecialChar menuseparator
Clear
\begin_inset space ~
\end_inset
Page
\family default
-) before your longtable.
+) before your multi-page table.
\end_layout
\begin_layout Subsection
Forced Page Breaks
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Forced Page Breaks
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Forced Page Breaks
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Quotes erd
\end_inset
- as TeX-Code at the point of the cell where it can be broken.
+ as \SpecialChar 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 as many
+ command you have to insert in \SpecialChar TeX
+ Code as many
\begin_inset Quotes eld
\end_inset
&
\series default
is the character to separate table cells.
- Write in TeX-Code after each
+ Write in \SpecialChar TeX
+ Code after each
\series bold
&
\series default
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 after
+ Therefore the following command was inserted in the cell as \SpecialChar TeX
+ Code after
\begin_inset Quotes eld
\end_inset
\series default
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:
+ If your footer row of the multi-page table has for a certain reason no
+ upper line but you would have a horizontal line where the cell is broken,
+ use this command instead:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-must be inserted as TeX-Code at the beginning of the cell.
+must be inserted as \SpecialChar TeX
+ Code at the beginning of the cell.
This ensures that the part of the cell that will be displayed on the new
page appears with the full width.
\end_layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="38" columns="3">
-<features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
+<features islongtable="true" longtabularalignment="center">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="3cm">
<column alignment="center" valignment="top" width="0pt">
\end_inset
</cell>
</row>
-<row endhead="true">
-<cell alignment="left" valignment="top" leftline="true" usebox="none">
+<row endhead="true" caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+\begin_inset Caption Unnumbered
\begin_layout Plain Layout
-
-
-\backslash
-caption*{Continued Example Phone List}
-\backslash
-
-\backslash
-%
+Continued Example Phone List
\end_layout
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
Multiple Lines in Table Cells
\begin_inset CommandInset label
LatexCommand label
-name "sub:Multiple-Lines-in"
+name "subsec:Multiple-Lines-in"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Linebreaks
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Linebreaks
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\noindent
\begin_inset Float table
placement H
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="middle" width="2.5cm">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="middle">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\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.
+ by \SpecialChar LaTeX
+ if it is the first entry.
Therefore you need to insert something to prevent the word not being the
first entry.
So add a horizontal space of 0
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="middle" width="2.5cm">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="middle">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="middle" width="2.5cm">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="middle">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
Multicolumns
\begin_inset CommandInset label
LatexCommand label
-name "sub:Multicolumns"
+name "subsec:Multicolumns"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Multicolumns
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multicolumns
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
as you want to merge and use either the table-toolbar button
\begin_inset Info
type "icon"
-arg "inset-modify tabular multicolumn"
+arg "tabular-feature multicolumn"
\end_inset
, or the menu
\family sans
-Edit\SpecialChar \menuseparator
-Table\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
+Table\SpecialChar menuseparator
Multicolumn
\family default
, or right click on the marked cells and choose
\end_layout
\begin_layout Standard
-Multicolumns have there own cell settings.
+Multicolumns have their own cell settings.
That means changing cell borders, cell alignment, and the width only affects
the multicolumn.
Here is an example table with a multicolumn cell in the first row and one
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="4">
-<features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
+<features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle">
<column alignment="center" valignment="top" width="0in">
<column alignment="center" valignment="top" width="0pt">
<row>
Multicolumn Calculations
\begin_inset CommandInset label
LatexCommand label
-name "sub:Multicolumn-Calculations"
+name "subsec:Multicolumn-Calculations"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Multicolumns ! Calculations
+Multicolumns
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Calculations
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-LyX supports multicolumns directly, but we have to take account of the cell
+\SpecialChar LyX
+ supports multicolumns directly, but we have to take account of the cell
width of the columns spanned by the multicolumn cell.
\end_layout
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="top">
<row>
<cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
\begin_inset Text
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="1.25cm">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
\begin_inset Text
\begin_layout Standard
The width
-\begin_inset Formula $W_{g\, n}$
+\begin_inset Formula $W_{g\,n}$
\end_inset
which the user needs to set when
\emph default
columns are spanned can be calculated, so that each column has a total
width of
-\begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
+\begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
\end_inset
:
\begin_inset Formula
\begin{equation}
-W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
+W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
\end{equation}
\end_inset
\end_layout
\begin_layout Standard
-To enable calculations in LaTeX, the LaTeX-package
+To enable calculations in \SpecialChar LaTeX
+, the \SpecialChar LaTeX
+-package
\series bold
calc
\series default
must be loaded with the document preamble line
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! calc
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+calc
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-LyX does not allow you to calculate lengths in the
+\SpecialChar 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.
+ Therefore you have to format the column by inserting a \SpecialChar LaTeX
+-argument in the
+ dialog.
Here is an overview about the arguments:
\end_layout
\end_layout
\begin_layout Standard
-By entering a LaTeX-argument, all cell settings set in the table dialog
- are overwritten.
+By entering a \SpecialChar LaTeX
+-argument, all cell settings set in the table dialog are overwritt
+en.
\end_layout
\begin_layout Standard
\series bold
Note:
\series default
- Due to a bug, LyX shows the overwritten settings anyway.
+ Due to a bug, \SpecialChar LyX
+ shows the overwritten settings anyway.
\end_layout
\end_inset
centering
\series default
is added.
- You can now enter the following LaTeX-argument for the first spanned column:
+ You can now enter the following \SpecialChar LaTeX
+-argument for the first spanned column:
\end_layout
\begin_layout Standard
\begin_layout Standard
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 for the multicolumn cell we have to use the LaTeX-argument
+ This is because \SpecialChar LyX
+ only applies the alignment to single columns.
+ So for the multicolumn cell we have to use the \SpecialChar LaTeX
+-argument
\end_layout
\begin_layout Standard
Multirows
\begin_inset CommandInset label
LatexCommand label
-name "sub:Multirows"
+name "subsec:Multirows"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Multirows
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multirows
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
as you want to merge and use either the table-toolbar button
\begin_inset Info
type "icon"
-arg "inset-modify tabular multirow"
+arg "tabular-feature multirow"
\end_inset
, or the menu
\family sans
-Edit\SpecialChar \menuseparator
-Table\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
+Table\SpecialChar menuseparator
Multirow
\family default
, or right click on the marked cells and choose
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
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 a TeX-Code box just before the table instead of the preamble.
+ in a \SpecialChar TeX
+ Code box just before the table instead of the preamble.
If the text should be right-aligned, replace
\series bold
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="3">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="3cm">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="left" valignment="middle" width="2cm">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
<row>
<cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
To tell the reader what is meant by column and row headings in a table,
it is helpful to split the first cell of the table by one or two diagonal
lines.
- This can be achieved by loading the LaTeX-package
+ This can be achieved by loading the \SpecialChar LaTeX
+ package
\series bold
diagbox
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! picinpar
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+picinpar
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\backslash
diagbox
\series default
- that is inserted as TeX-Code and that can take 2 or 3
+ that is inserted as \SpecialChar TeX
+ Code and that can take 2 or 3
\begin_inset space ~
\end_inset
status open
\begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
\series bold
diagbox
\series default
\noindent
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
----
+—
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
----
+—
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
----
+—
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
----
+—
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
----
+—
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
----
+—
\end_layout
\end_inset
\series default
,
\series bold
-DE
+SE
\series default
,
\series bold
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="3cm">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
diagbox
\series default
so one needs to create a new length which can be used later.
- This is done with the TeX-Code commands
+ This is done with the \SpecialChar TeX
+ Code commands
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-To enable calculations in LaTeX one needs to load the package
+To enable calculations in \SpecialChar LaTeX
+ one needs to load the package
\series bold
calc
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! calc
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+calc
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="4cm">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
status open
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
+The following will be displayed when the \SpecialChar LaTeX
+-package
\series bold
diagbox
\series default
\end_layout
\begin_layout Standard
-You need to install the LaTeX-package
+You need to install the \SpecialChar LaTeX
+-package
\series bold
diagbox
\series default
\end_layout
\begin_layout Standard
-For more info about the LaTeX-package
+For more info about the \SpecialChar LaTeX
+-package
\series bold
diagbox
\series default
\begin_inset CommandInset citation
LatexCommand cite
key "diagbox"
+literal "true"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Formal
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Formal
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_inset
.
- To make a table a formal table use the option
+ To make a table a formal table
+\change_inserted -712698321 1554290084
+, select the table style
+\begin_inset Quotes eld
+\end_inset
+
+Formal
+\change_deleted 630872221 1622707670
+ Table
+\change_inserted 630872221 1622707670
+\SpecialChar ldots
+
+\change_inserted -712698321 1554290084
+
+\begin_inset Quotes erd
+\end_inset
+
+ in the Table Creation dialog or
+\change_unchanged
+ use the option
\family sans
Formal
\family default
\family sans
Borders
\family default
- tab of the table dialog.
+ tab of the table dialog
+\change_inserted -712698321 1554290131
+ (if you additionally check the option
+\family sans
+Use Default Formal Style
+\family default
+, the border lines are adapted to a sensible default)
+\change_unchanged
+.
\end_layout
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\end_inset
-Example booktabs-table
+Example
+\change_deleted -712698321 1554292310
+booktabs-
+\change_inserted -712698321 1554292311
+formal
+\change_unchanged
+table
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="4">
-<features rotate="0" booktabs="true" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
+
+\change_deleted -712698321 1554290161
\begin_inset ERT
status collapsed
\end_inset
+
+\change_unchanged
Detector thickness in µm
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Text
\begin_layout Plain Layout
+
+\change_deleted -712698321 1554290260
\begin_inset ERT
status collapsed
\backslash
-cmidrule(l{10pt}){1-1}
+cmidrule[2pt](l{10pt}){1-1}
\end_layout
\end_inset
+
+\change_unchanged
LSF-spatial resolution
\end_layout
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Row-Spacing"
+reference "subsec:Row-Spacing"
\end_inset
\end_layout
\begin_layout Standard
+
+\change_deleted -712698321 1554290929
Lines that do not span all table columns can be created by setting a table
line for multicolumn cells.
- LyX will then internally use the command
+ \SpecialChar LyX
+ will then internally use the command
\series bold
\backslash
\series default
to create this line.
Its full scheme is
+\change_inserted -712698321 1554291959
+As in table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Example-booktabs-table"
+
+\end_inset
+
+, formal tables often use shortened lines to group columns.
+ This can be done in the borders widget of the table dialog.
+ With formal tables, the top and bottom borders have to small offset lines
+ to the left and the right.
+ Clicking on these will trim the line respectively.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1554291403
+If you need to adjust the length of the trimming or the height of the rules,
+ you have to resort to \SpecialChar TeX
+ Code.
+ The respective command (which is also used for the trimmed mid rules) is
+ this:
+\change_unchanged
+
\end_layout
\begin_layout Standard
\series bold
\backslash
-cmidrule[width](trim){startcol-endcol}
+cmidrule[height](trim){startcol-endcol}
\end_layout
\begin_layout Standard
+
+\change_deleted -712698321 1554292020
The options of
\series bold
\backslash
cmidrule
\series default
- are currently not supported by LyX so you have to use TeX-Code to be able
- to use them.
+ are currently not supported by \SpecialChar LyX
+ so you have to use \SpecialChar TeX
+ Code to be able to
+ use them.
\series bold
\backslash
cmidrule
\series default
-s can manually be created by inserting the command as TeX-Code as the first
+s can manually be created by inserting the command as \SpecialChar TeX
+ Code as the first
cell entry of the first cell of a row.
The line is then drawn in the output above the current row.
+\change_unchanged
+
\end_layout
\begin_layout Standard
-The default for the width is 0.03
+The default for the optional
+\series bold
+height
+\series default
+ is 0.03
\begin_inset space \thinspace{}
\end_inset
em.
- Startcol is the number of the column where the line starts and endcol the
- column number where the line ends.
- The endcol always needs to be specified, also when the line should span
- only one column.
- The optional parameter trim could be either
+
+\series bold
+startcol
+\series default
+ is the number of the column where the line starts and
+\series bold
+endcol
+\series default
+ the column number where the line ends.
+ The
+\series bold
+endcol
+\series default
+ always needs to be specified, also when the line should span only one column.
+ The optional parameter
+\series bold
+trim
+\series default
+ could either be
\emph on
l{trimwidth}
\emph default
-, or
+ or
\emph on
r{trimwidth}
\emph default
- where the trimwidth is also optional.
+ where the
+\emph on
+trimwidth
+\emph default
+ is also optional.
Using for example the parameter
\emph on
l{2pt}
\end_inset
pt.
- If you don't specify the trimwidth the lines are trimmed by the default
- of 0.5
+ If you don't specify the
+\emph on
+trimwidth
+\emph default
+ the line is trimmed by the default of 0.5
\begin_inset space \thinspace{}
\end_inset
-em.
+em
+\change_inserted -712698321 1554291561
+ (this is what is done if you use trimming from the dialog)
+\change_unchanged
+.
+\change_inserted -712698321 1554292039
+
\end_layout
\begin_layout Standard
+
+\change_inserted -712698321 1554292207
+The
+\emph on
+height
+\emph default
+ option of
+\series bold
+
+\backslash
+cmidrule
+\series default
+ is currently not supported by \SpecialChar LyX
+, and neither are the
+\emph on
+trimwidth
+\emph default
+ parameters.
+ If you need this you can manually insert a
+\series bold
+
+\backslash
+cmidrule
+\series default
+ with the respective settings as \SpecialChar TeX
+ Code as the first cell entry of the first
+ cell of a row.
+ The line is then drawn in the output above the current row.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Special-booktabs-table"
+
+\end_inset
+
+ exemplifies this (in the sixth row).
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_deleted -712698321 1554291078
\begin_inset VSpace bigskip
\end_inset
\begin_layout Standard
+\change_deleted -712698321 1554291077
+
\series bold
\backslash
\end_layout
\begin_layout Standard
+
+\change_deleted -712698321 1554291077
at the beginning of the second row and
\end_layout
\begin_layout Standard
+\change_deleted -712698321 1554291077
+
\series bold
\backslash
-cmidrule(l{10pt}){1-1}
+cmidrule[2pt](l{10pt}){1-1}
\end_layout
\begin_layout Standard
+
+\change_deleted -712698321 1554291077
in the sixth row.
+\change_unchanged
+
\end_layout
\begin_layout Standard
+
+\change_deleted -712698321 1554292212
\begin_inset VSpace bigskip
\end_inset
+\change_unchanged
+
\end_layout
\begin_layout Standard
-You might want to have overlapping
+You
+\change_inserted -712698321 1554291573
+also
+\change_unchanged
+might want to have overlapping
\series bold
\backslash
cmidrule
\series default
-s as in in Table
+s as
+\change_deleted -712698321 1554296804
+in
+\change_inserted -712698321 1554296808
+exemplified as well
+\change_unchanged
+ in Table
\begin_inset space ~
\end_inset
\end_inset
+
+\change_inserted -712698321 1554291601
+, even though this is considered bad style (so only use it if you really
+ need to)
+\change_unchanged
.
- This can be achieved with the TeX-Code command
+ This can be achieved with the \SpecialChar TeX
+ Code command
\end_layout
\begin_layout Standard
\begin_layout Standard
+\change_deleted -712698321 1554291798
+
\series bold
\backslash
cmidrule(r){2-2}
\backslash
cmidrule(l){3-4}
+\change_unchanged
+
\backslash
morecmidrules
\backslash
\begin_layout Standard
+\change_deleted -712698321 1554291810
+
\series bold
\backslash
midrule
+\change_unchanged
+
\backslash
morecmidrules
\backslash
\end_layout
\begin_layout Standard
-For more information about these features, refer to the manual of the LaTeX-pack
-age
+For more information about these features, refer to the manual of the \SpecialChar LaTeX
+-package
+
\series bold
booktabs
\series default
\begin_inset CommandInset citation
LatexCommand cite
key "booktabs"
+literal "true"
\end_inset
.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! booktabs
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+booktabs
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\end_inset
-Special booktabs-table
+Special
+\change_inserted -712698321 1554292295
+(ugly)
+\change_deleted -712698321 1554292304
+booktabs
+\change_inserted -712698321 1554292305
+formal
+\change_deleted -712698321 1554292300
+-
+\change_unchanged
+table
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="4">
-<features rotate="0" booktabs="true" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
<row>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Text
\begin_layout Plain Layout
+
+\change_deleted -712698321 1554291732
\begin_inset ERT
status collapsed
\end_inset
+\change_unchanged
+
\begin_inset ERT
status collapsed
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-cmidrule{3-4}
+cmidrule
+\change_inserted -712698321 1554291896
+[2pt](l{7pt})
+\change_unchanged
+{3-4}
\end_layout
\end_inset
\begin_layout Section
Vertical Table Alignment
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Alignment
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Alignment
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
As you will see, the content of the first and last table row is not correctly
aligned.
- To get this alignment, the minipage box must be set into a raisebox
+ To get this alignment, the minipage box must be set into a raisebox.
\begin_inset Foot
status collapsed
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Vertical-Alignment"
+reference "subsec:Vertical-Alignment"
\end_inset
\end_inset
-.
In the example above the second table in the first item is aligned using
- the TeX-Code-command
+ the \SpecialChar TeX
+ Code command
\end_layout
\begin_layout Standard
\series bold
}
\series default
- is inserted as TeX-Code.
+ is inserted as \SpecialChar TeX
+ Code.
For the second table in the last item the command
\end_layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Color
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Color
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Subsection
Colored Cells
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Color ! for Cells
+Table Color
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Cells
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Color ! for Table Cells
+Color
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Table Cells
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\end_inset
.
- In any other case you have to use the LaTeX-package
+ In any other case you have to use the \SpecialChar LaTeX
+-package
\series bold
colortbl
\series default
.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! colortbl
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+colortbl
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
status open
\begin_layout Plain Layout
-The following section part will only be displayed when the LaTeX-package
-
+The following section part will only be displayed when the \SpecialChar LaTeX
+-package
\series bold
colortbl
\series default
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multicolumn-Calculations"
+reference "subsec:Multicolumn-Calculations"
\end_inset
\end_layout
\begin_layout Standard
-If you add the options
+If you add the option
\end_layout
\begin_layout Standard
\series bold
-usenames,dvipsnames
+dvipsnames
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-Both commands are inserted at the beginning of a cell as TeX-Code.
+Both commands are inserted at the beginning of a cell as \SpecialChar TeX
+ Code.
\end_layout
\begin_layout Standard
Style
\family default
dialog.
- If a cell contains TeX-Code mark only the characters, otherwise the colored
- TeX-Code will cause LaTeX-errors.
+ If a cell contains \SpecialChar TeX
+ Code mark only the characters, otherwise the colored
+ \SpecialChar TeX
+ Code will cause \SpecialChar LaTeX
+ errors.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-as LaTeX-argument for this column.
- The first row should be light blue, therefore the TeX-Code command
+as \SpecialChar LaTeX
+-argument for this column.
+ The first row should be light blue, therefore the \SpecialChar TeX
+ Code command
\end_layout
\begin_layout Standard
\begin_layout Standard
is inserted to the first cell of this row.
Note that this overwrites the column color for the first cell.
- The last cell of the last row is colored maroon by inserting the TeX-Code
+ The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
+ Code
command
\end_layout
\begin_layout Standard
The characters could now be colored using the menu
\family sans
-Edit\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
Text
\begin_inset space ~
\end_inset
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
status open
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
+The following will be displayed when the \SpecialChar LaTeX
+-package
\series bold
colortbl
\series default
\begin_layout Subsection
Colored Rows
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Color ! for Rows
+Table Color
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Rows
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Color ! for Table Rows
+Color
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Table Rows
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! xcolor
-\begin_inset ERT
-status collapsed
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-
-
-\backslash
-vspace{4mm}
+xcolor
\end_layout
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! colortbl
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+colortbl
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\series bold
colortbl
\series default
- must be installed in your LaTeX-distribution, otherwise you get LaTeX-errors.
+ must be installed in your \SpecialChar LaTeX
+-distribution, otherwise you get \SpecialChar LaTeX
+-errors.
\end_layout
\begin_layout Standard
status open
\begin_layout Plain Layout
-The following section part will only be displayed when the LaTeX-package
-
+The following section part will only be displayed when the \SpecialChar LaTeX
+-package
\series bold
colortbl
\series default
\end_layout
\begin_layout Standard
-that is either inserted in the document preamble or as TeX-Code before the
+that is either inserted in the document preamble or as \SpecialChar TeX
+ Code before the
first table to be colored.
row
\begin_inset space ~
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<column alignment="center" valignment="top" width="0pt">
<row>
<cell alignment="center" valignment="top" usebox="none">
status open
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
+The following will be displayed when the \SpecialChar LaTeX
+-package
\series bold
colortbl
\series default
\begin_layout Subsection
Colored Lines
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Color ! for Lines
+Table Color
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Lines
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Color ! for Table Lines
+Color
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Table Lines
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Line-Thickness"
+reference "subsec:Line-Thickness"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Customized-Format"
+reference "subsec:Customized-Format"
\end_inset
\end_inset
- the LaTeX-argument
+ the \SpecialChar LaTeX
+-argument
\series bold
WcW
\series default
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" special="Wc">
+<column alignment="center" valignment="top" special="Wc">
+<column alignment="center" valignment="top" special="WcW">
<row>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_inset VSpace bigskip
\end_inset
-To color horizontal lines for example with red, as in Table
+To color all horizontal lines for example with red, as in Table
\begin_inset space ~
\end_inset
\end_inset
-, insert these commands in TeX-Code before the table or table float:
+, insert these commands in \SpecialChar TeX
+ code before the table or table float:
\end_layout
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\end_layout
\begin_layout Standard
-To return to the default line color black, insert this command in TeX-Code
+To return to the default line color black, insert this command in \SpecialChar TeX
+ code
after the table or table float:
\end_layout
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" special="Wc">
+<column alignment="center" valignment="top" special="Wc">
+<column alignment="center" valignment="top" special="WcW">
<row>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\backslash
setlength{
\backslash
-arrayrulewidth}{0.4pt}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Section
-Rotated Table Cells
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Rotated-Table-Cells"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Table ! Rotated Cells
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Rotated Material
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- Not all DVI-viewers are able to display rotations.
+arrayrulewidth}{1.2pt}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Currently LyX only offers to rotate table cells by 90
-\begin_inset space \thinspace{}
-\end_inset
-
-° counter-clockwise.
- To rotate cells by an angle of your choice, you have to add this to the
- document preamble:
+To color only some of the table lines another strategy is necessary.
+ To color all following horizontal lines, insert this command as \SpecialChar TeX
+ code as
+ last thing in the row that should be above the first colored line:
\end_layout
\begin_layout Standard
\series bold
\backslash
-@ifundefined{turnbox}{
-\backslash
-usepackage{rotating}}{}
-\end_layout
-\begin_layout Standard
-In the table cell that should be rotated, add at the beginning this command
- as TeX-code:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
+\backslash
\backslash
-begin{turn}{angle}
+arrayrulecolor{blue}%
\end_layout
\begin_layout Standard
-where angle is the rotation angle in °.
- At the end of the cell the command
+To go back to black lines, add this command as first thing in the row that
+ is above the black lines:
\end_layout
\begin_layout Standard
\series bold
\backslash
-end{turn}
-\end_layout
-
-\begin_layout Standard
-is inserted as TeX-code.
+arrayrulecolor{black}
\end_layout
\begin_layout Standard
-Table
+With this one can color table lines like in Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Table-with-rotated-multi"
-
-\end_inset
-
- is an example where 3
-\begin_inset space ~
-\end_inset
+reference "tab:Table-with-different-hor"
-cells were rotated by 45
-\begin_inset space \thinspace{}
\end_inset
-°.
+.
+ However, with this method it is not possible to color the line above the
+ first row of a table.
\end_layout
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Table-with-rotated"
+name "tab:Table-with-different-hor"
\end_inset
-Table with rotated cells in the first row.
+Table with different horizontal line colors.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
-\noindent
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="2" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
+<lyxtabular version="3" rows="6" columns="7">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\backslash
-begin{turn}{45}
\end_layout
\end_inset
-
-cups
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-end{turn}
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-\backslash
-begin{turn}{45}
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
-plates
+\begin_layout Plain Layout
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-end{turn}
+
+\backslash
+
+\backslash
+arrayrulecolor{blue}%
\end_layout
\end_inset
\end_inset
</cell>
+</row>
+<row>
<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+Y
+\end_layout
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\backslash
-begin{turn}{45}
\end_layout
\end_inset
-
-saucers
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-end{turn}
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-45
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-33
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-21
+Y
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+\backslash
+arrayrulecolor{black}
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- Line breaks (shortcut
-\begin_inset Info
-type "shortcut"
-arg "newline-insert newline"
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-) are not allowed in rotated cells.
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-If you want to rotate table cells containing line breaks, you have to put
- the cell content into a minipage or a parbox.
-\begin_inset Foot
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-For more about these boxes see sec.
-\begin_inset space \thinspace{}
+
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Minipages"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
- and
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Parboxes"
+\begin_layout Plain Layout
+
+\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-.
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
- If you rotate this cell by 90
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
-° the width of the box is the height of the cell.
- Table
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-rotated-multi"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
- is an example for a rotated multiline cell where the box width was set
- to 3
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-cm.
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-wide false
-sideways false
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Table-with-rotated-multi"
-\end_inset
-Table with rotated multiline cell.
+\backslash
+
+\backslash
+
+\backslash
+arrayrulecolor{green}%
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-\noindent
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="2" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="top" width="0">
+\end_inset
+</cell>
+</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "3cm"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-rotated cell
-\begin_inset Newline newline
-\end_inset
-with line break
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-d
+
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+arrayrulecolor{black}
+\end_layout
+\end_inset
+B
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Section
-Table Width Calculation
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Table-Width-Calculation"
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-For wide tables it is sometimes difficult to assure that the table does
- not protrude over the page margin.
- Setting a fixed width for every column of the table is the solution, but
- what amount of space is needed for each column?
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
\end_layout
-\begin_layout Standard
-The table width
-\begin_inset Formula $W_{\mathrm{table}}$
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
- can be calculated: Every column has the width of the specified column width
-
-\begin_inset Formula $W_{\mathrm{column}}$
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
- (that the content of the column can consume) plus two times the separation
- between the column content and the column border (LaTeX length
-\series bold
-
\backslash
-tabcolsep
-\series default
-, default 6
-\begin_inset space \thinspace{}
-\end_inset
-pt) plus the width of a border line (LaTeX length
-\series bold
+\backslash
\backslash
-arrayrulewidth
-\series default
-, default 0.4
-\begin_inset space \thinspace{}
-\end_inset
+arrayrulecolor{blue}%
+\end_layout
-pt): So if all
-\begin_inset Formula $n$
\end_inset
-\begin_inset space ~
+\end_layout
+
\end_inset
+</cell>
+</row>
+</lyxtabular>
-columns have the same width, the table width is
-\begin_inset Formula
-\begin{equation}
-W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
-\end{equation}
+\end_inset
+
+
+\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The available width for a table is the space between the page margins or
- the width of a text column (for a two-column document) (LaTeX length
-\series bold
-
-\backslash
-columnwidth
-\series default
-).
- If all table columns should have the same width and
-\begin_inset Formula $W_{\mathrm{table}}$
+To change the color of vertical lines within a row, like in Table
+\begin_inset space ~
\end_inset
- should be 1
-\begin_inset space \thinspace{}
-\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-different-ver"
-\backslash
-columnwidth,
-\begin_inset Formula $W_{\mathrm{column}}$
\end_inset
- can easily be calculated.
+, one needs to use multicolumns.
+ At first one needs to remove all vertical lines that don't run along the
+ whole column.
+ Now one colors all lines using the command
\end_layout
\begin_layout Standard
-To be able to perform calculations you need to load the LaTeX-package
+
\series bold
-calc
-\series default
-\begin_inset Index idx
-status collapsed
+\backslash
+
+\backslash
+
+\backslash
+arrayrulecolor{blue}%
+\end_layout
+
+\begin_layout Standard
+as above.
+ Finally one inserts this command as \SpecialChar TeX
+ code to every cell in the row where
+ one needs a vertical line in a different color:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+multicolumn{1}{!{
+\backslash
+color{green}
+\backslash
+vline}c!{
+\backslash
+color{red}
+\backslash
+vline}}{
+\end_layout
+
+\begin_layout Standard
+This adds a vertical line to both sides of the cell.
+ The left one will be green, the right one red.
+ If no color change is necessary one can omit the
+\series bold
+
+\backslash
+color
+\series default
+ command in the above command.
+ To get for example a black left line and a blue right line you can write:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+multicolumn{1}{!{
+\backslash
+color{black}
+\backslash
+vline}c|}{
+\end_layout
+
+\begin_layout Standard
+because the color blue was already set for all lines.
+ The
+\series bold
+|
+\series default
+ creates hereby the vertical line while
+\series bold
+
+\backslash
+vline
+\series default
+ does this when
+\series bold
+
+\backslash
+color
+\series default
+ is used.
+ To set vertical lines without changing any color use
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+multicolumn{1}{|c|}{
+\end_layout
+
+\begin_layout Standard
+After this command insert the cell content the normal way and end the cell
+ with a closing brace
+\series bold
+}
+\series default
+ in \SpecialChar TeX
+ code.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-different-ver"
+
+\end_inset
+
+Table with different vertical line colors in one row.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="7">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+
+\backslash
+
+\backslash
+arrayrulecolor{red}%
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{!{
+\backslash
+color{black}
+\backslash
+vline}c|}{
+\end_layout
+
+\end_inset
+
+Y
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{c|}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{black}
+\backslash
+vline}}{
+\end_layout
+
+\end_inset
+
+Y
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+arrayrulecolor{black}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+
+\backslash
+
+\backslash
+arrayrulecolor{magenta}%
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{|c!{
+\backslash
+color{red}
+\backslash
+vline}}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{green}
+\backslash
+vline}}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{yellow}
+\backslash
+vline}}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{blue}
+\backslash
+vline}}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{cyan}
+\backslash
+vline}}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{black}
+\backslash
+vline}}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+multicolumn{1}{c|}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+arrayrulecolor{black}
+\end_layout
+
+\end_inset
+
+B
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Rotated Table Cells
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Rotated-Table-Cells"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Rotated Cells
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Rotated Material
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Not all DVI-viewers are able to display rotations.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-rotated"
+plural "false"
+caps "false"
+noprefix "false"
+
+\end_inset
+
+ is an example where 3
+\begin_inset space ~
+\end_inset
+
+cells were rotated by 45
+\begin_inset space \thinspace{}
+\end_inset
+
+°.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-rotated"
+
+\end_inset
+
+Table with rotated cells in the first row.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" rotate="45" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+cups
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rotate="45" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+plates
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rotate="45" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+saucers
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+33
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+21
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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
+ Line breaks (shortcut
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+) are not allowed in rotated cells.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you want to rotate table cells containing line breaks, you have to put
+ the cell content into a minipage or a parbox.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+For more about these boxes see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+ and
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Parboxes"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+ If you rotate this cell by 90
+\begin_inset space \thinspace{}
+\end_inset
+
+° the width of the box is the height of the cell.
+ To avoid to estimate a suitable box width one can use a minipage with a
+ variable width.
+ Such a box is inserted by loading the module
+\family sans
+Variable-width
+\begin_inset space ~
+\end_inset
+
+Minipages
+\family default
+ in the document settings.
+ Then one can use the menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom
+\begin_inset space ~
+\end_inset
+
+Insets\SpecialChar menuseparator
+Minipage
+\begin_inset space ~
+\end_inset
+
+
+\family default
+(Var.
+\begin_inset space ~
+\end_inset
+
+Width).
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-rotated-multi"
+
+\end_inset
+
+ is an example for a rotated multiline cell where a variable width minipage
+ is used.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-rotated-multi"
+
+\end_inset
+
+Table with rotated multiline cell.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Flex Minipage (Var. Width)
+status open
+
+\begin_layout Plain Layout
+rotated cell
+\begin_inset Newline newline
+\end_inset
+
+with line break
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Table Width Calculation
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Table-Width-Calculation"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+For wide tables it is sometimes difficult to assure that the table does
+ not protrude over the page margin.
+ Setting a fixed width for every column of the table is the solution, but
+ what amount of space is needed for each column?
+\end_layout
+
+\begin_layout Standard
+The table width
+\begin_inset Formula $W_{\mathrm{table}}$
+\end_inset
+
+ can be calculated: Every column has the width of the specified column width
+
+\begin_inset Formula $W_{\mathrm{column}}$
+\end_inset
+
+ (that the content of the column can consume) plus two times the separation
+ between the column content and the column border (\SpecialChar LaTeX
+ length
+\series bold
+
+\backslash
+tabcolsep
+\series default
+, default 6
+\begin_inset space \thinspace{}
+\end_inset
+
+pt) plus the width of a border line (\SpecialChar LaTeX
+ length
+\series bold
+
+\backslash
+arrayrulewidth
+\series default
+, default 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt): So if all
+\begin_inset Formula $n$
+\end_inset
+
+
+\begin_inset space ~
+\end_inset
+
+columns have the same width, the table width is
+\begin_inset Formula
+\begin{equation}
+W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
+\end{equation}
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The available width for a table is the space between the page margins or
+ the width of a text column (for a two-column document) (\SpecialChar LaTeX
+ length
+\series bold
+
+\backslash
+columnwidth
+\series default
+).
+ If all table columns should have the same width and
+\begin_inset Formula $W_{\mathrm{table}}$
+\end_inset
+
+ should be 1
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\backslash
+columnwidth,
+\begin_inset Formula $W_{\mathrm{column}}$
+\end_inset
+
+ can easily be calculated.
+\end_layout
+
+\begin_layout Standard
+To be able to perform calculations you need to load the \SpecialChar LaTeX
+-package
+\series bold
+calc
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-LaTeX-packages ! calc
+calc
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
in the document preamble.
To set the width in the table dialog you have to use the field
\family sans
-LaTeX argument
+\SpecialChar LaTeX
+ argument
\family default
.
The command scheme for this field is the same that is explained in section
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multicolumn-Calculations"
+reference "subsec:Multicolumn-Calculations"
\end_inset
times the width than the 3 others, the calculation is
\begin_inset Formula
\begin{align}
-\backslash\mbox{columnwidth} & =3\, W_{\mathrm{column}}+2\cdot0.75\, W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
+\backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
& \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
- & =4.5\, W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
+ & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
\end{align}
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="5">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
<column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
\begin_layout Section
Table Customization
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Customization
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Customization
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
Row Spacing
\begin_inset CommandInset label
LatexCommand label
-name "sub:Row-Spacing"
+name "subsec:Row-Spacing"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Customization ! Row Spacing
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Row Spacing
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_inset
- LyX will insert as default 0.5
+ \SpecialChar LyX
+ will insert as default 0.5
\begin_inset space \thinspace{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="1">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\end_inset
row will add space below the characters of the table row.
- If the table is a formal table LyX will insert as default 0.5
+ If the table is a formal table \SpecialChar LyX
+ will insert as default 0.5
\begin_inset space \thinspace{}
\end_inset
\end_inset
rows adds space between the current and the following row.
- If the table is a formal table LyX will insert as default 0.5
+ If the table is a formal table \SpecialChar LyX
+ will insert as default 0.5
\begin_inset space \thinspace{}
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="1">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
setlength{
\backslash
extrarowheight}{height}
-\end_layout
+\series default
-\begin_layout Standard
-But this has the disadvantage that the cell texts are no longer exactly
- vertically centered.
- (The package
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The package
\series bold
array
\series default
- will be loaded automatically by LyX when you use self defined table formats.
- To avoid that it being loaded twice the command
+ will be loaded automatically by \SpecialChar LyX
+ when you use self defined table formats.
+ To avoid that it is loaded twice the command
\series bold
\backslash
@ifundefined
\series default
- is used in the above command.)
+ is used in the above command.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+where the
+\family sans
+height
+\family default
+ can have one of the units listed in appendix
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "cha:Units-available-in"
+
+\end_inset
+
+.
+ But this has the disadvantage that the cell texts are no longer exactly
+ vertically centered.
\end_layout
\begin_layout Standard
\backslash
strut
\series default
- in TeX-Code at the beginning of a table row.
+ in \SpecialChar TeX
+ Code at the beginning of a table row.
Table
\begin_inset space ~
\end_inset
\noindent
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="1">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="left" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top">
<row>
<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="1">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="left" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top">
<row>
<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
Special Cell Alignment
\begin_inset CommandInset label
LatexCommand label
-name "sub:Special-Cell-Alignment"
+name "subsec:Special-Cell-Alignment"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Customization ! Special Cell Alignment
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Special Cell Alignment
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
either pressing the toolbar button
\begin_inset Info
type "icon"
-arg "inset-modify tabular align-decimal"
+arg "tabular-feature align-decimal"
\end_inset
or setting the alignment in the table settings to
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="1">
-<features rotate="0" booktabs="true" tabularvalignment="middle">
+<features booktabs="true" tabularvalignment="middle">
<column alignment="decimal" decimal_point="." valignment="top" width="0pt">
<row>
<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features rotate="0" booktabs="true" tabularvalignment="middle">
+<features booktabs="true" tabularvalignment="middle">
<column alignment="right" valignment="top" width="0pt">
<column alignment="left" valignment="top" width="0pt" special="@{}l">
<row>
A small space was added at the beginning of each cell of the second column
to get the space that is usually around operators.
To omit the space that is normally between two table columns, the following
- LaTeX-argument was used for the second column:
+ \SpecialChar LaTeX
+-argument was used for the second column:
\end_layout
\begin_layout Standard
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="6">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
+<features tabularvalignment="middle">
+<column alignment="right" valignment="top">
+<column alignment="left" valignment="top" special="@{}l">
+<column alignment="right" valignment="top">
+<column alignment="left" valignment="top" special="@{}l">
+<column alignment="right" valignment="top">
+<column alignment="left" valignment="top" special="@{}l">
<row>
<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\: B_{\mathrm{red}}$
+\begin_inset Formula $\:B_{\mathrm{red}}$
\end_inset
Customized Cell/Column Format
\begin_inset CommandInset label
LatexCommand label
-name "sub:Customized-Format"
+name "subsec:Customized-Format"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Customization ! Cell/Column Format
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Cell/Column Format
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multicolumn-Calculations"
+reference "subsec:Multicolumn-Calculations"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multiple-Lines-in"
+reference "subsec:Multiple-Lines-in"
\end_inset
\begin_layout Standard
as
\family sans
-LaTeX-argument
+\SpecialChar LaTeX
+-argument
\family default
in the table dialog to create a multicolumn.
\end_layout
\end_layout
\begin_layout Standard
-as LaTeX-argument of the column.
+as \SpecialChar LaTeX
+-argument of the column.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-as LaTeX-argument.
+as \SpecialChar LaTeX
+-argument.
\end_layout
\begin_layout Standard
\end_inset
- use the LaTeX-arguments
+ use the \SpecialChar LaTeX
+-arguments
\end_layout
\begin_layout Standard
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="4">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
-<column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0" special="K{red}">
+<column alignment="center" valignment="middle" special="S{2.5cm}{2}">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="middle" special="K{red}">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
Line Thickness
\begin_inset CommandInset label
LatexCommand label
-name "sub:Line-Thickness"
+name "subsec:Line-Thickness"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Customization ! Line Thickness
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Line Thickness
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-in TeX-Code before the table or table float.
+in \SpecialChar TeX
+ Code before the table or table float.
The changed thickness is valid for all subsequent tables.
To use the default value again, set
\series bold
\begin_inset space \thinspace{}
\end_inset
-pt in TeX-Code after the table or table float.
+pt in \SpecialChar TeX
+ Code after the table or table float.
\end_layout
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\end_inset
-, insert these commands in TeX-Code before the table or table float:
+, insert these commands in \SpecialChar TeX
+ Code before the table or table float:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-To return to the default line thickness, insert this command in TeX-Code
- after the table or table float:
+To return to the default line thickness, insert this command in \SpecialChar TeX
+ Code after
+ the table or table float:
\end_layout
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Customized-Format"
+reference "subsec:Customized-Format"
\end_inset
\end_inset
- the LaTeX-argument
+ the \SpecialChar LaTeX
+-argument
\end_layout
\begin_layout Standard
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="VcV">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" special="Vc">
+<column alignment="center" valignment="top" special="Vc">
+<column alignment="center" valignment="top" special="VcV">
<row>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Subsection
Dashed Lines
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Customization ! Dashed Lines
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Dashed Lines
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
status open
\begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
\series bold
arydshln
\series default
\begin_layout Standard
\begin_inset Float table
placement H
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0" special=":c">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" special=":c">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\end_layout
\begin_layout Standard
-LyX does not natively support dashed lines, so you have to use TeX-Code.
- As a prerequisite the LaTeX-package
+\SpecialChar LyX
+ does not natively support dashed lines, so you have to use \SpecialChar TeX
+ Code.
+ As a prerequisite the \SpecialChar LaTeX
+ package
\series bold
arydshln
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! arydshln
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+arydshln
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Quotes erd
\end_inset
- together with the character for the horizontal alignment as LaTeX-argument
- in the table cell dialog.
+ together with the character for the horizontal alignment as \SpecialChar LaTeX
+ argument in
+ the table cell dialog.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-in TeX-Code as first element of the first cell in the table row.
+in \SpecialChar TeX
+ Code as first element of the first cell in the table row.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-in TeX-Code as the first element of the first cell in the table row.
+in \SpecialChar TeX
+ Code as the first element of the first cell in the table row.
If you have for example a multicolumn spanning columns 2 to 4 and you want
to have a dashed line above, add the command
\end_layout
\begin_inset Quotes erd
\end_inset
- as LaTeX-argument of the third column.
- The TeX-Code command
+ as \SpecialChar LaTeX
+ argument of the third column.
+ The \SpecialChar TeX
+ Code command
\series bold
\backslash
hdashline
\series default
- was inserted in the first cell of the third row and the TeX-Code command
+ was inserted in the first cell of the third row and the \SpecialChar TeX
+ Code command
\begin_inset Newline newline
\end_inset
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt" special=":c">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
To get back the black line color, one needs to insert the following commands
- as TeX-Code behind the table:
+ as \SpecialChar TeX
+ Code behind the table:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-can be used in front of a table as TeX-Code.
+can be used in front of a table as \SpecialChar TeX
+ Code.
color is hereby the name of a defined color.
The command
\end_layout
\color none
Note:
\series default
- The LaTeX-package
+ The \SpecialChar LaTeX
+-package
\series bold
arydshln
\series default
- must be loaded in the document preamble before the LaTeX-package
+ must be loaded in the document preamble before the \SpecialChar LaTeX
+-package
\series bold
colortbl
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! colortbl
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+colortbl
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
status open
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
+The following will be displayed when the \SpecialChar LaTeX
+-package
\series bold
arydshln
\series default
\begin_inset CommandInset citation
LatexCommand cite
key "arydshln"
+literal "true"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Introduction
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Introduction
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
To insert a float, use the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Float
\family default
(toolbar button
\end_inset
.
- To keep your LyX-document readable, you can open and close the float box
- by left-clicking on the box label.
+ To keep your \SpecialChar LyX
+ document readable, you can open and close the float box by
+ left-clicking on the box label.
A closed float box looks like this:
\begin_inset Graphics
- filename clipart/floatQt4.png
- scale 70
+ filename clipart/float.png
+ scale 95
scaleBeforeRotation
\end_inset
\begin_layout Standard
It is recommended that you insert floats as separate standard paragraphs
- to avoid possible LaTeX-errors that can occur when the surrounding text
- is specially formatted.
+ to avoid possible \SpecialChar LaTeX
+-errors that can occur when the surrounding text is specially
+ formatted.
\end_layout
\begin_layout Standard
\end_inset
- respectively, LyX offers the float types
+ respectively, \SpecialChar LyX
+ offers the float types
\family sans
Algorithm
\family default
\begin_layout Subsection
Algorithm Floats
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Algorithms
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Algorithms
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float algorithm
placement h
+alignment document
wide false
sideways false
status open
\begin_inset Newline newline
\end_inset
- Sum:= Sum + A(I); /*comment*/
+ Sum := Sum + A(I); /* comment */
\begin_inset Newline newline
\end_inset
\begin_layout Standard
This float type is inserted with the menu
\family sans
-Insert\SpecialChar \menuseparator
-Float\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Float\SpecialChar menuseparator
Algorithm
\family default
.
.
A possible environment for algorithms is the
\family sans
-LyX-Code
+\SpecialChar LyX
+ Code
\family default
-, described in LyX's
+, described in \SpecialChar LyX
+'s
\emph on
Userguide
\emph default
\begin_layout Standard
To insert the list of algorithms you can use the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
List
\begin_inset space \thinspace{}
\end_inset
\begin_inset space \thinspace{}
\end_inset
-TOC\SpecialChar \menuseparator
+TOC\SpecialChar menuseparator
List of Algorithms
\family default
- when your document has the same language as LyX's menu names.
- In other cases use this command in TeX-Code instead:
+ when your document has the same language as \SpecialChar LyX
+'s menu names.
+ In other cases use this command in \SpecialChar TeX
+ Code instead:
\end_layout
\begin_layout Standard
\begin_layout Section
Float Numbering
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Numbering
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Numbering
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Footnote-Numbering"
+reference "subsec:Footnote-Numbering"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! References
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+References
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-References ! to Floats
+References
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+to Floats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
To reference a float, insert a label into its caption using the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Label
\family default
or the toolbar button
.
A grey label box like this one:
\begin_inset Graphics
- filename clipart/labelQt4.png
- scale 85
+ filename clipart/label.png
scaleBeforeRotation
\end_inset
will be inserted and the label window pops up asking for the label text.
- LyX offers as text the first words of the caption with a prefix.
+ \SpecialChar LyX
+ offers as text the first words of the caption with a prefix.
The prefix depends on the float type, e.
\begin_inset space \thinspace{}
\end_inset
The label is used as anchor and name for the reference.
You can refer to the label using the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Cross-reference
\family default
or the toolbar button
.
The cross-reference window appears showing all labels of the document.
- If you have multiple LyX-documents opened, choose the one you are working
+ If you have multiple \SpecialChar LyX
+ documents opened, choose the one you are working
on from the drop-list at the top of the dialog.
You can now sort the labels alphabetically and then choose one.
A grey cross-reference box like this one:
\begin_inset Graphics
- filename clipart/referenceQt4.png
- scale 85
+ filename clipart/reference.png
scaleBeforeRotation
\end_inset
\end_layout
\begin_layout Standard
-It is recommended that you use a protected space between the cross-reference
- name and its number to avoid line breaks between them.
+It is recommended that you use a
+\change_deleted 177693 1654669168
+protected
+\change_inserted 177693 1654669170
+non-breaking
+\change_unchanged
+ space between the cross-reference name and its number to avoid line breaks
+ between them.
If a cross-reference refers to a non-existing label, you will see two question
marks in the output instead of the reference.
\end_layout
Cross-Reference Formats
\begin_inset CommandInset label
LatexCommand label
-name "sub:Cross-Reference-Formats"
+name "subsec:Cross-Reference-Formats"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-References ! Formats
+References
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Formats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\series bold
Note:
\series default
- This feature is only available when you have the LaTeX-package
+ This feature is only available when you have the \SpecialChar LaTeX
+-package
\series bold
prettyref
\series default
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! prettyref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+prettyref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! refstyle
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+refstyle
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
-You can select which LaTeX-package should be used for this feature by setting
+You can select which \SpecialChar LaTeX
+-package should be used for this feature by setting
the option
\family sans
Use refstyle (not prettyref) for cross-references
\family default
in the menu
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Document Class
\family default
.
\series default
(refstyle) to the preamble of the document.
For example redefining all references to figures (which have the label
- shortcut
+ prefix
\begin_inset Quotes eld
\end_inset
\begin_inset CommandInset citation
LatexCommand cite
key "prettyref,refstyle"
+literal "true"
\end_inset
+.
+\begin_inset Newline newline
+\end_inset
+
+The options
+\family sans
+Plural
+\family default
+ and
+\family sans
+Capitalized
+\family default
+ are only available if you use the \SpecialChar LaTeX
+-package
+\series bold
+refstyle
+\series default
+.
+
+\family sans
+Plural
+\family default
+ adds an
+\emph on
+s
+\emph default
+ to the name, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+figures
+\begin_inset Quotes erd
+\end_inset
+
+;
+\family sans
+Capitalized
+\family default
+ outputs the name capitalized, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+Figure
+\begin_inset Quotes erd
+\end_inset
+
+.
+ Both options can be combined to get e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+Figures
+\begin_inset Quotes erd
+\end_inset
+
.
\end_layout
\end_inset
+\end_layout
+
+\begin_layout Description
+Label
+\begin_inset space ~
+\end_inset
+
+only: prints only the \SpecialChar LaTeX
+ label for the reference:
+\begin_inset CommandInset ref
+LatexCommand labelonly
+reference "fig:Two-distorted-images"
+plural "false"
+caps "false"
+noprefix "false"
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+This allows to use the label for commands in \SpecialChar TeX
+ code.
+ With the option
+\family sans
+No Prefix
+\family default
+ one can omit the prefix of the label name:
+\begin_inset CommandInset ref
+LatexCommand labelonly
+reference "fig:Two-distorted-images"
+plural "false"
+caps "false"
+noprefix "true"
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
\begin_layout Standard
The number and current page of the part of the document referred to in the
- output is automatically calculated by LaTeX.
+ output is automatically calculated by \SpecialChar LaTeX
+.
The varieties are adjusted in the field
\family sans
Format
\series bold
Note:
\series default
- It is recommended to use the LaTeX-package
+ It is recommended to use the \SpecialChar LaTeX
+-package
\series bold
refstyle
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! refstyle
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+refstyle
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! prettyref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+prettyref
\end_layout
\end_inset
- does not know all of LyX's possible label shortcuts
+
+\end_layout
+
+\end_inset
+
+ does not know all of \SpecialChar LyX
+'s possible label shortcuts
\begin_inset Foot
status collapsed
\begin_inset Quotes erd
\end_inset
- is for example LyX's shortcut for labels in figure captions.
+ is for example \SpecialChar LyX
+'s shortcut for labels in figure captions.
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\begin_layout Subsection
+Automatic Reference Naming
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
+References
+\begin_inset IndexMacro subentry
+status open
-\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
-
-.
+\begin_layout Plain Layout
+Automatic Reference Naming
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Automatic Reference Naming
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-References ! Automatic Reference Naming
-\end_layout
-
\end_inset
\end_layout
\begin_layout Standard
-The LaTeX-package
+The \SpecialChar LaTeX
+-package
\series bold
hyperref
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hyperref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\series bold
hyperref
\series default
- and insert this line to the LaTeX preamble:
+ and insert this line to the \SpecialChar LaTeX
+ preamble:
\end_layout
\begin_layout Standard
\begin_inset CommandInset citation
LatexCommand cite
key "hyperref"
+literal "true"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Cross-Reference-Formats"
+reference "subsec:Cross-Reference-Formats"
\end_inset
Reference Position
\begin_inset CommandInset label
LatexCommand label
-name "sub:Reference-Position"
+name "subsec:Reference-Position"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-References ! Reference Position
+References
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Reference Position
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hyperref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hypcap
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hypcap
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
-, which is part of the LaTeX-package
+, which is part of the \SpecialChar LaTeX
+-package
\series bold
oberdiek
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! oberdiek
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+oberdiek
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset citation
LatexCommand cite
key "hypcap"
+literal "true"
\end_inset
\end_layout
\begin_layout Section
-Float Placement
+Float
+\change_deleted -712698321 1526031763
+Placement
+\change_inserted -712698321 1526031765
+Settings
+\change_unchanged
+
\begin_inset CommandInset label
LatexCommand label
-name "sec:Float-Placement"
+name "sec:Float-Settings"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Placement
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+
+\change_deleted -712698321 1526031841
+Placement
+\change_inserted -712698321 1526031842
+Settings
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Right-clicking on a float-box and clicking on
+
+\change_inserted -712698321 1526033385
+Float Settings can be adjusted at two places in \SpecialChar LyX
+:
+\change_inserted 630872221 1622709604
+i
+\change_deleted 630872221 1622709603
+I
+\change_inserted -712698321 1526033385
+n
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar ldots
+\SpecialChar menuseparator
+Float Settings
+\family default
+, you can set some options that are used by default for all floats of the
+ document (placement on page and alignment of contents), unless you modify
+ the local settings of a float.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526032513
+The latter can be done by
+\change_deleted -712698321 1526032513
+R
+\change_inserted -712698321 1526032513
+r
+\change_unchanged
+ight-clicking on a float-box and clicking on
\family sans
Settings
+\change_inserted -712698321 1526033387
+\SpecialChar ldots
+
+\change_unchanged
+
+\family default
+
+\change_inserted -712698321 1526032520
+This
+\change_unchanged
+opens a dialog where you can
+\change_inserted -712698321 1526032584
+, now only for the given float,
+\change_unchanged
+ alter the
+\change_inserted -712698321 1526033452
+global
+\change_unchanged
+placement
+\change_deleted -712698321 1526033439
+options that \SpecialChar LaTeX
+ uses for positioning the float
+\change_inserted -712698321 1526033493
+ and alignment options, and adapt some other options that are only available
+ for single floats
+\change_unchanged
+.
+
+\change_inserted -712698321 1526032658
+ All these options, both for
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ and for local
+\family sans
+Float Settings
\family default
- opens a dialog where you can alter the placement options that LaTeX uses
- for positioning the float.
+, are described in turn.
+\change_deleted -712698321 1526031652
+
\begin_inset Newline newline
\end_inset
\end_inset
.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -712698321 1526031775
+Float Placement
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Float-Placement"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1526031775
+Floats
+\change_unchanged
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1526031775
+Placement
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\change_unchanged
+
\end_layout
\begin_layout Standard
+
+\change_inserted -712698321 1526032697
+Both in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ and in the local
+\family sans
+Float Settings
+\family default
+ dialog, you can
+\change_deleted -712698321 1526032811
You can use one or more of the following options in the float dialog to
- set the placement for a particular float when you uncheck the option
+ set
+\change_inserted -712698321 1526032812
+modify
+\change_unchanged
+ the placement
+\change_inserted -712698321 1526033558
+algorithm that \SpecialChar LaTeX
+ uses for positioning floats on the page, either
+\change_unchanged
+for
+\change_inserted -712698321 1526033535
+all floats (
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+) or
+\change_unchanged
+a particular float
+\change_inserted -712698321 1526033570
+ (local
+\family sans
+Float Settings
+\family default
+ dialog).
+ This is done via
+\family sans
+Placement Settings
+\family default
+.
+ By default, this is set to
+\change_unchanged
+
+\change_inserted -712698321 1526033604
+
+\family sans
+Class Default
+\family default
+ in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ (meaning that the default placement algorithm of the document class is
+ used) or
+\family sans
+Document Default
+\family default
+ in the local
\family sans
+Float Settings
+\family default
+ dialog (meaning that the settings in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ are used, which are the Class Defaults by default).
+ If you want to change this,
+\change_deleted -712698321 1526033009
+when you uncheck
+\change_inserted -712698321 1526033535
+select
+\change_unchanged
+
+\change_deleted -712698321 1526031920
+the option
+\change_inserted -712698321 1526033535
+
+\family sans
+Placement Settings:
+\change_unchanged
+
+\family default
+
+\change_inserted -712698321 1526033535
+
+\family sans
+Custom.
+\change_deleted -712698321 1526031908
Use
\begin_inset space ~
\end_inset
\end_inset
placement
+\change_inserted -712698321 1526033535
+
\family default
+ This allows you to select one or more from
+\change_unchanged
:
\end_layout
\end_inset
possible try to place the float on the position where it has been inserted
+\change_inserted 630872221 1622713522
+
+\end_layout
+
+\begin_layout Description
+
+\change_inserted 630872221 1622713704
+Here,
+\begin_inset space ~
+\end_inset
+
+definitely forces the placement of the float on the position where it has
+ been inserted
+\change_unchanged
+
\end_layout
\begin_layout Description
\emph on
always
\emph default
- used by LaTeX.
- That means, if you use the default placement, LaTeX will first try out
-
+ used by \SpecialChar LaTeX
+.
+ That means, if you use the default placement, \SpecialChar LaTeX
+ will first try out
\family sans
Here
\begin_inset space ~
page
\family default
, and then the others.
- If you do not use the default, LaTeX will try only the checked options
- but in the same order.
+ If you do not use the default, \SpecialChar LaTeX
+ will try only the checked options but in
+ the same order.
If none of the 4
\begin_inset space ~
\end_inset
\begin_inset space ~
\end_inset
-LaTeX
+\SpecialChar LaTeX
+
\begin_inset space ~
\end_inset
\begin_inset Newline newline
\end_inset
-You can also redefine the rules with LaTeX-commands that are given in parenthese
-s after the rules description above.
+You can also redefine the rules with \SpecialChar LaTeX
+-commands that are given in parentheses
+ after the rules description above.
To increase for example the often too small default of the bottom-rule
to 50
\begin_inset space \thinspace{}
Sometimes you have the problem that a float is placed at the top of a page
while its corresponding section starts at the middle of the page, so that
the reader could think the float is part of the previous section.
- To avoid this the LaTeX-command
+ To avoid this the \SpecialChar LaTeX
+-command
\series bold
\backslash
\begin_layout Standard
You can define the same for all section headings, like chapters and subsections.
This definition is not recommended to be used for small text parts like
- subsubsections because LaTeX may then have problems finding a suitable
- placement.
+ subsubsections because \SpecialChar LaTeX
+ may then have problems finding a suitable placement.
\end_layout
\begin_layout Standard
In some cases it is required to have all figures/tables at the end of the
document.
- For this purpose the LaTeX-package
+ For this purpose the \SpecialChar LaTeX
+-package
\series bold
endfloat
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! endfloat
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+endfloat
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset citation
LatexCommand cite
key "endfloat"
+literal "true"
\end_inset
\begin_inset CommandInset citation
LatexCommand cite
key "endfloat"
+literal "true"
\end_inset
\begin_inset Quotes erd
\end_inset
- in TeX-Code instead of
+ in \SpecialChar TeX
+ Code instead of
\begin_inset Quotes eld
\end_inset
\begin_inset VSpace bigskip
\end_inset
-For more details about float placements, have a look at LaTeX books,
+For more details about float placements, have a look at \SpecialChar LaTeX
+ books,
\begin_inset CommandInset citation
LatexCommand cite
key "latexcompanion,latexguide,latexbook"
+literal "true"
\end_inset
.
+\change_inserted -712698321 1526030561
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -712698321 1526031989
+Alignment of Float Contents
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526032316
+In this list of options, you can define how the contents of a float (or
+ all floats by default, if selected from
+\family sans
+Document\SpecialChar menuseparator
+Settings
+\family default
+) are aligned.
+
+\family sans
+Class Default
+\family default
+ means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
+, is
+ used.
+
+\family sans
+Document Default
+\family default
+ (only visible in the
+\family sans
+Float Settings
+\family default
+ dialog, not in
+\family sans
+Document\SpecialChar menuseparator
+Settings
+\family default
+) takes the setting specified in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+.
+ The other three options,
+\family sans
+Left
+\family default
+,
+\family sans
+Center
+\family default
+, or
+\family sans
+Right
+\family default
+, are self-explanatory.
+ If one of these is selected in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+, all floats of the document will have this setting by default (so it is
+ fairly easy, for instance, to center all floats).
+\change_unchanged
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -712698321 1526030571
+Other Float Options
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526035716
+These two options are only visible in the local
+\family sans
+Float Settings
+\family default
+ dialog, not in
+\family sans
+Document\SpecialChar menuseparator
+Settings.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526033931
+The option
+\family sans
+Span
+\begin_inset space ~
+\end_inset
+
+columns
+\family default
+ is useful for two-column documents: If you select it, the float will span
+ both columns on the page instead of being confined to just one.
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526030572
+The option
+\family sans
+Rotate
+\begin_inset space ~
+\end_inset
+
+sideways
+\family default
+ is used to rotate floats, see section
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Rotated-Floats"
+
+\end_inset
+
+.
+\change_unchanged
+
\end_layout
\begin_layout Section
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Rotating
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Rotating
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways true
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="5">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Section
Subfloats
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Subfloats
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Subfloats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="5">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="5">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="4">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\align center
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status collapsed
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="5">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Section
Floats Side by Side
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Side by side
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Side by side
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
\align center
\begin_inset Graphics
- filename clipart/mobius.eps
- lyxscale 50
+ filename clipart/2D-intensity-plot.pdf
width 100col%
scaleBeforeRotation
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
\align center
\begin_inset Graphics
- filename clipart/platypus.eps
- lyxscale 50
+ filename clipart/Star-structure.pdf
width 100col%
scaleBeforeRotation
\end_layout
-\begin_layout Plain Layout
+\end_inset
+
\end_layout
+\begin_layout Standard
+An alternative and simpler solution is to use the module
+\family sans
+Variable-width Minipages
+\family default
+, see sec.
+\begin_inset space \thinspace{}
\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.
+ Variable-width minipages adapt automatically to the width of the figures
+ and tables.
+ They do not require an explicit width to be given, and they improve the
+ horizontal alignment of the figures.
+ The LyX example file
+\emph on
+varwidth-floats-side-by-side
+\emph default
+ gives examples of how to do this.
\end_layout
\begin_layout Section
Caption Formatting
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Caption ! Formatting
+Caption
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Formatting
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Caption Formatting
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Caption Formatting
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
Floats
\family default
.
- On the LyX screen captions appear as a label, e.
+ On the \SpecialChar LyX
+ screen captions appear as a label, e.
\begin_inset space \thinspace{}
\end_inset
is the actual reference number.
By default the label and the number are in the same font as the caption
text and a colon follows the number to divide the label from the text.
- This caption format is not suitable for all document formats.
+ This caption format is suitable for many but not all documents.
\end_layout
\begin_layout Standard
-To change the default caption format, load the LaTeX-package
+To change the default caption format, load the \SpecialChar LaTeX
+-package
\series bold
caption
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-To have for example the label and the number in sans-serif bold font and
+To have for example the label and the number in sans-serif, bold font and
the table captions always above the table as in this document, use the
following command:
\end_layout
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-Script
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset citation
LatexCommand cite
key "caption"
+literal "true"
\end_inset
\begin_inset Quotes erd
\end_inset
- creates a protected space.
+ creates a
+\change_deleted 177693 1654669177
+protected
+\change_inserted 177693 1654669179
+non-breaking
+\change_unchanged
+ space.
\end_layout
\begin_layout Standard
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-Script
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset citation
LatexCommand cite
key "KOMA-Script"
+literal "true"
\end_inset
\begin_layout Standard
\begin_inset Float figure
placement !p
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset Graphics
- filename clipart/mobius.eps
- lyxscale 50
- scale 50
+ filename clipart/2D-intensity-plot.pdf
scaleBeforeRotation
\end_inset
\begin_layout Standard
\begin_inset Float table
placement !p
+alignment document
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="5">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Section
Caption Placement
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Caption ! Placement
+Caption
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Placement
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Caption Placement
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Caption Placement
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Having the caption above the table is unfortunately not supported in LaTeX's
+Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
+'s
standard classes.
That means if you are using the document classes
\family sans
report
\family default
there will be no space between the caption and the table.
- To insert the necessary space, add the following option to the load command
- of the LaTeX-package
+ To insert the necessary space, load the \SpecialChar LaTeX
+-package
\series bold
caption
\series default
- in your document preamble
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ in your document preamble with the option
\begin_inset Foot
status collapsed
\end_inset
-:
+
\end_layout
\begin_layout Standard
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-Script
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\series bold
caption
\series default
- package set the document class option
+ package set the document class option
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+That option is used in this document.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
\series bold
captions=tableheading
-\series default
-.
+\end_layout
+
+\begin_layout Standard
+In documents with a KOMA-Script document class you can also right-click
+ on a caption and mark in the context menu if this should be a caption above
+ or below the table/figure.
+ This way you can override the document-wide caption placement for certain
+ captions.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:A-caption-marked"
+
+\end_inset
+
+ is an example where the caption is marked a being below the table while
+ it is above.
+ For comparison the caption in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:A-standard-table"
+
+\end_inset
+
+ is not marked.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Below
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:A-caption-marked"
+
+\end_inset
+
+A caption marked as being below the table.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Joe
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Mary
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Ted
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\int x^{2}dx$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\left[\begin{array}{cc}
+a & b\\
+c & d
+\end{array}\right]$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $1+1=2$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:A-standard-table"
+
+\end_inset
+
+A standard table caption.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Joe
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Mary
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Ted
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\int x^{2}dx$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\left[\begin{array}{cc}
+a & b\\
+c & d
+\end{array}\right]$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $1+1=2$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
\end_inset
It is also possible to set the caption beside a figure or table.
- To get this the LaTeX-package
+ To get this the \SpecialChar LaTeX
+-package
\series bold
sidecap
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! sidecap
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+sidecap
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
status open
\begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
\series bold
sidecap
\series default
\end_layout
\begin_layout Standard
-To place in LyX the caption of a float on the side, it is necessary to add
+To place in \SpecialChar LyX
+ the caption of a float on the side, it is necessary to add
these commands to the document preamble:
\end_layout
-\begin_layout Standard
-\begin_inset Newpage pagebreak
-\end_inset
-
-
-\end_layout
-
\begin_layout Standard
\noindent
\begin_inset CommandInset line
\end_layout
\begin_layout Standard
-in TeX-Code before the float.
+in \SpecialChar TeX
+ Code before the float.
And insert the command
\end_layout
\end_layout
\begin_layout Standard
-in TeX-Code at the point where you want to get back to the original float
- definition.
+in \SpecialChar TeX
+ Code at the point where you want to get back to the original float definitio
+n.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-in the document preamble or in TeX-Code before the float.
+in the document preamble or in \SpecialChar TeX
+ Code before the float.
The float type is either
\family sans
figure
\begin_inset CommandInset citation
LatexCommand cite
key "sidecap"
+literal "true"
\end_inset
\series bold
Note:
\series default
- The LaTeX-package
+ The \SpecialChar LaTeX
+-package
\series bold
hypcap
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hypcap
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hypcap
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Reference-Position"
+reference "subsec:Reference-Position"
\end_inset
\begin_layout Standard
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/escher-lsd.eps
- scale 75
+ filename clipart/3D-structure-distort.pdf
+ scale 50
scaleBeforeRotation
\end_inset
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="5">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\backslash
+FigBesBeg
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
\backslash
sidecaptionvpos{figure}{c}
\end_layout
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/escher-lsd.eps
- scale 75
+ filename clipart/3D-structure-distort.pdf
+ scale 50
scaleBeforeRotation
\end_inset
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\end_inset
-This is a caption is wider than the one in Table
+This caption is wider than the one in Table
\begin_inset space ~
\end_inset
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="5">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
status open
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
+The following will be displayed when the \SpecialChar LaTeX
+-package
\series bold
sidecap
\series default
\end_layout
\begin_layout Standard
-You need to install the LaTeX-package
+You need to install the \SpecialChar LaTeX
+-package
\series bold
sidecap
\series default
\begin_layout Section
Listings of Floats
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Float Lists
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Float Lists
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
documents.
You can insert them via the
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
List
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Section
-LyX Notes
+\SpecialChar LyX
+ Notes
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Notes ! LyX Notes
+Notes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+\SpecialChar LyX
+ Notes
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
or the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Note
\family default
.
\end_layout
\begin_layout Description
-LyX
+\SpecialChar LyX
+
\begin_inset space ~
\end_inset
\begin_inset Graphics
- filename clipart/LyXNoteImageQt4.png
+ filename clipart/LyXNoteImage.png
display false
- scale 85
scaleBeforeRotation
\end_inset
\end_layout
\begin_layout Description
-Comment This note also doesn't appear in the output but it appears as LaTeX-comm
-ent, when you export the document to LaTeX via the menu
+Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
+-comment,
+ when you export the document to \SpecialChar LaTeX
+ via the menu
\family sans
-File\SpecialChar \menuseparator
-Export\SpecialChar \menuseparator
-LaTeX (pdflatex) / (plain)
+File\SpecialChar menuseparator
+Export\SpecialChar menuseparator
+LaTeX
+\begin_inset space ~
+\end_inset
+
+(pdflatex) / (plain)
\family default
.
Its note-box looks like this:
\begin_inset Graphics
- filename clipart/CommentNoteImageQt4.png
+ filename clipart/CommentNoteImage.png
display false
- scale 85
scaleBeforeRotation
\end_inset
status open
\begin_layout Plain Layout
-This is text in a note box that only appears as comment in LaTeX-files.
+This is text in a note box that only appears as comment in \SpecialChar LaTeX
+-files.
\end_layout
\end_inset
\begin_inset Graphics
- filename clipart/GreyedOutNoteImageQt4.png
+ filename clipart/GreyedOutNoteImage.png
display false
- scale 85
scaleBeforeRotation
\end_inset
status open
\begin_layout Plain Layout
-This is text
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-This is an example footnote within a greyed out note.
-\end_layout
-
-\end_inset
-
- of a comment that appears in the output as grey text.
+This is text of a comment that appears grey in the output.
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-The greyed out note is here redefined to show it with the original LyX definitio
-n because greyed out notes are redefined in the preamble of this document,
+The greyed out note is here redefined to show it with the original \SpecialChar LyX
+ definition
+ because greyed out notes are redefined in the preamble of this document,
as described below, to have blue text.
\end_layout
to insert notes, a
\family sans
-LyX
+\SpecialChar LyX
+
\begin_inset space ~
\end_inset
You can change the text color of the greyed out notes in the menu
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Colors
\family default
.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Notes ! Footnotes
+Notes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Footnotes
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
or the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Footnote
\family default
.
You will then see the following footnote-box:
\begin_inset Graphics
- filename clipart/footnoteQt4.png
- scale 80
+ filename clipart/footnote.png
+ scale 95
scaleBeforeRotation
\end_inset
The footnote will appear in the output as a superscript number at the text
position where the footnote box is placed.
The footnote text is placed at the bottom of the current page.
- The footnote number is calculated by LaTeX; the numbers are consecutive.
+ The footnote number is calculated by \SpecialChar LaTeX
+; the numbers are consecutive.
Whether the footnote number is reset for every chapter depends on your
document class.
\end_layout
\begin_inset VSpace defskip
\end_inset
-Footnotes in tables are not printed by LaTeX due to technical reasons.
- However there exists another method to print them: Instead of the footnote
- the command
+Footnotes in title environments are usually not numbered with symbols and
+ they cannot contain several paragraphs.
+ See for example the footnote in the titling of this document.
+\end_layout
+
+\begin_layout Standard
+Footnotes in multi-page tables are described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Footnotes-in-Multi-page"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Footnotes in minipage boxes are printed, but inside the box and with a different
+ numbering because a minipage box is like a page inside a page.
+ (For more about minipages, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.) To get a footnote in the minipage that is output at the bottom of the
+ page like normal footnotes use this method: Instead of the footnote the
+ command
\series bold
\backslash
footnotemark{}
\series default
- is inserted as TeX-code.
- The text of the footnote is entered as an argument of the TeX-code command
+ is inserted as \SpecialChar TeX
+ code.
+ The text of the footnote is entered as an argument of the \SpecialChar TeX
+ code command
\series bold
\backslash
footnotetext
\series default
- after the table.
+ after the minipage.
\begin_inset Newline newline
\end_inset
-This was done for the following table with the command
+This was done for the following minipage with the command
\end_layout
\begin_layout Standard
\backslash
footnotetext{
\series default
-Printed table footnote.
+Footnote outside the minipage.
\series bold
}
\end_layout
-\begin_layout Standard
-\begin_inset Tabular
-<lyxtabular version="3" rows="2" columns="1">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-This an example text.
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-This footnote will not be printed!
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-This an example text.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-footnotemark{}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-footnotetext{
-\end_layout
-
-\end_inset
-
-Printed table footnote.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Footnotes in longtables are described in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Footnotes-in-Longtables"
-
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Standard
-Footnotes in minipage boxes are printed, but inside the box and with a different
- numbering because a minipage box is like a page inside a page.
- (For more about minipages, see section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Minipages"
-
-\end_inset
-
-.) To get a footnote in the minipage that is output at the bottom of the
- page like normal footnotes, also use the method of
-\series bold
-
-\backslash
-footnotemark{}
-\series default
- and
-\series bold
-
-\backslash
-footnotetext
-\series default
-.
-\end_layout
-
\begin_layout Standard
\begin_inset Box Frameless
position "t"
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
\backslash
footnotemark[number]
\series default
- in TeX-code.
+ in \SpecialChar TeX
+ code.
\begin_inset Newline newline
\end_inset
As you do not know the number of the repeating footnote while you are writing
the text, you have to store its number.
For the following footnote mark example, these commands were inserted in
- TeX-code after Footnote
+ \SpecialChar TeX
+ code after Footnote
\begin_inset space ~
\end_inset
Footnote Numbering
\begin_inset CommandInset label
LatexCommand label
-name "sub:Footnote-Numbering"
+name "subsec:Footnote-Numbering"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Footnotes ! Numbering
+Footnotes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Numbering
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Subsection
Footnote Placement
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Footnotes ! Placement
+Footnotes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Placement
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_inset
-, use the LaTeX-package
+, use the \SpecialChar LaTeX
+-package
\series bold
ftnright
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! ftnright
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+ftnright
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float figure
placement !h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+\noindent
+\align center
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
\begin_layout Plain Layout
-
-
-\backslash
-framebox{
-\end_layout
-
-\end_inset
-
-
\begin_inset Graphics
filename clipart/without_fntright.pdf
width 100col%
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float figure
placement !h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+\noindent
+\align center
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
\begin_layout Plain Layout
-
-
-\backslash
-framebox{
-\end_layout
-
-\end_inset
-
-
\begin_inset Graphics
filename clipart/with_fntright.pdf
width 100col%
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
\end_inset
-Footnote placement in two-column documents when the LaTeX-package
+Footnote placement in two-column documents when the \SpecialChar LaTeX
+-package
\series bold
ftnright
\series default
.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
To use endnotes instead of footnotes in your document, load in the menu
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Modules
\family default
the module
\end_layout
\begin_layout Standard
-in TeX-Code at the end of a section or chapter.
+in \SpecialChar TeX
+ Code at the end of a section or chapter.
\end_layout
\begin_layout Standard
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
+\noindent
\align center
-\begin_inset ERT
-status collapsed
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
\begin_layout Plain Layout
-
-
-\backslash
-framebox{
-\end_layout
-
-\end_inset
-
-
\begin_inset Graphics
filename clipart/endnotes.pdf
+ width 100col%
scaleBeforeRotation
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Footnote-Numbering"
+reference "subsec:Footnote-Numbering"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Footnote-Numbering"
+reference "subsec:Footnote-Numbering"
\end_inset
\end_inset
Footnotes can also be placed in the page margin and the footnote text alignment
- can be changed, see the LaTeX-package
+ can be changed, see the \SpecialChar LaTeX
+-package
\series bold
footmisc
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! footmisc
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+footmisc
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset citation
LatexCommand cite
key "footmisc"
+literal "true"
\end_inset
\end_layout
\begin_layout Standard
-For various further footnote formatting issues have a look at LaTeX-books,
-
+For various further footnote formatting issues have a look at \SpecialChar LaTeX
+-books,
\begin_inset CommandInset citation
LatexCommand cite
key "latexcompanion,latexguide,latexbook"
+literal "true"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-Script
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset citation
LatexCommand cite
key "KOMA-Script"
+literal "true"
\end_inset
\begin_layout Section
Margin Notes
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Notes ! Margin Notes
+Notes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Margin Notes
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Margin notes look and behave in LyX like footnotes.
+Margin notes look and behave in \SpecialChar LyX
+ like footnotes.
They are inserted via the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Marginal
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
-in TeX-Code before a margin note.
+in \SpecialChar TeX
+ Code before a margin note.
The new placement is valid for all subsequent margin notes.
\begin_inset ERT
\end_layout
\begin_layout Standard
-in TeX-Code.
+in \SpecialChar TeX
+ Code.
\begin_inset ERT
status collapsed
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multiple-Lines-in"
+reference "subsec:Multiple-Lines-in"
\end_inset
status open
\begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
\series bold
marginnote
\series default
\end_layout
\begin_layout Standard
-This restriction can be evaded by using the LaTeX-package
+This restriction can be evaded by using the \SpecialChar LaTeX
+-package
\series bold
marginnote
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! marginnote
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+marginnote
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
.
By adding these two lines to your document preamble, the command used by
- LyX for margin notes is redefined to use the command provided by the
+ \SpecialChar LyX
+ for margin notes is redefined to use the command provided by the
\series bold
marginnote
\series default
has another useful feature: You can set a vertical offset for the note.
This is often needed when too many margin notes are too close together
or for a better page layout.
- The offset is set in LyX as TeX-Code directly after the margin note in
- the scheme
+ The offset is set in \SpecialChar LyX
+ as \SpecialChar TeX
+ Code directly after the margin note in the scheme
\end_layout
\begin_layout Standard
\begin_inset space \thinspace{}
\end_inset
-cm with the TeX-Code-command
+cm with the \SpecialChar TeX
+ Code command
\begin_inset Quotes eld
\end_inset
\begin_inset CommandInset citation
LatexCommand cite
key "marginnote"
+literal "true"
\end_inset
status open
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
+The following will be displayed when the \SpecialChar LaTeX
+-package
\series bold
marginnote
\series default
\end_layout
\begin_layout Standard
-You need to install the LaTeX-package
+You need to install the \SpecialChar LaTeX
+-package
\series bold
marginnote
\series default
\begin_layout Section
Introduction
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Introduction
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Introduction
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Vertical-Alignment"
+reference "subsec:Vertical-Alignment"
\end_inset
\begin_layout Standard
Boxes can be inserted with the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Box
\family default
or the toolbar button
\family default
:
\begin_inset Graphics
- filename clipart/BoxInsetDefaultQt4.png
- scale 85
+ filename clipart/BoxInsetDefault.png
+ scale 95
scaleBeforeRotation
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Box Dialog
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Box Dialog
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Subsection
Size
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Size
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Size
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
special "none"
height "1in"
height_special "depth"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "2in"
height_special "height"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1in"
height_special "width"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_layout Subsection
Alignment
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Alignment
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Alignment
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-The horizontal box alignment can be set via LyX's paragraph dialog when
- you set the box into its own paragraph.
+The horizontal box alignment can be set via \SpecialChar LyX
+'s paragraph dialog when you
+ set the box into its own paragraph.
\end_layout
\begin_layout Standard
special "none"
height "1.5in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1.5in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1.5in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1.5in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset VSpace bigskip
\end_inset
-To align the box content horizontally you can use LyX's paragraph dialog
- when you have chosen an
+To align the box content horizontally you can use \SpecialChar LyX
+'s paragraph dialog when
+ you have chosen an
\family sans
Inner
\begin_inset space ~
special "none"
height "1.25in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1.25in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Decoration
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Decoration
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_inset
frame This draws a rectangular frame around the box.
- The frame line thickness has the size of
-\series bold
-
-\backslash
-fboxrule
-\series default
-.
+ The frame line thickness can be specified.
\begin_inset Box Boxed
position "c"
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\end_inset
shadow This draws a rectangular frame with a shadow around the box.
- The frame line thickness has the size of
-\series bold
-
-\backslash
-fboxrule
-\series default
-, the shadow has a width of 4
-\begin_inset space \thinspace{}
-\end_inset
-
-pt.
+ The frame line thickness and the shadow can be specified.
\begin_inset Box Shadowbox
position "c"
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset space \thinspace{}
\end_inset
+line
+\begin_inset space ~
+\end_inset
-\series bold
-
-\backslash
-fboxrule
-\series default
-, the thickness of the outer frame is 1.5
+thickness, the thickness of the outer frame is 1.5
\begin_inset space \thinspace{}
\end_inset
+line
+\begin_inset space ~
+\end_inset
-\series bold
-
-\backslash
-fboxrule
-\series default
-.
+thickness.
The distance between the lines is 1.5
\begin_inset space \thinspace{}
\end_inset
+line
+\begin_inset space ~
+\end_inset
-\series bold
-
-\backslash
-fboxrule
-\series default
-
+thickness
\begin_inset space \thinspace{}
\end_inset
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset VSpace bigskip
\end_inset
-LyX's box label will reflect the different frame types.
- To be able to use all types, the LaTeX-package
+\SpecialChar LyX
+'s box label will reflect the different frame types.
+ To be able to use all types, the \SpecialChar LaTeX
+-package
\series bold
fancybox
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! fancybox
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+fancybox
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\family default
and no inner box, you can allow page breaks within a box.
Note that then, unlike other framed boxes, the frame always uses the whole
- column width, the box is set as its own paragraph, and
-\series bold
-
-\backslash
-fboxrule
-\series default
- and
-\series bold
-
-\backslash
-fboxsep
-\series default
- have no effect on this box type.
- The frame line thickness has the size of
-\series bold
-
-\backslash
-FrameRule
-\series default
-.
-
+ column width and the box is set as its own paragraph:
\begin_inset Box Framed
position "t"
hor_pos "c"
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_layout Section
Box Customization
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Customization
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-The default value for the size
-\series bold
-
-\backslash
-fboxrule
-\series default
- is 0.4
-\begin_inset space \thinspace{}
-\end_inset
-
-pt.
- It can be changed with the following command in TeX-code to e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-pt:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-setlength{
-\backslash
-fboxrule}{2pt}
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-fboxrule}{2pt}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-\align center
-Rectangular box with
-\series bold
-
-\backslash
-fboxrule
-\series default
-
-\begin_inset space \thinspace{}
-\end_inset
-
-=
-\begin_inset space \thinspace{}
-\end_inset
-
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-pt
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-fboxrule}{0.4pt}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-The space between the frame and the box content is for all frame styles
- by default 3
-\begin_inset space \thinspace{}
-\end_inset
-
-pt.
- You can change it by setting the length
-\series bold
-
-\backslash
-fboxsep
-\series default
- to another value.
- For example the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-setlength{
-\backslash
-fboxsep}{10pt}
-\end_layout
-
-\begin_layout Standard
-sets the value to 10
-\begin_inset space \thinspace{}
-\end_inset
-
-pt, as with the following box:
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-fboxsep}{10pt}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
+Boxes
+\begin_inset IndexMacro subentry
status open
\begin_layout Plain Layout
-\align center
-Rectangular box with
-\series bold
-
-\backslash
-fboxsep
-\series default
-
-\begin_inset space \thinspace{}
-\end_inset
-
-=
-\begin_inset space \thinspace{}
-\end_inset
-
-10
-\begin_inset space \thinspace{}
-\end_inset
-
-pt
+Customization
\end_layout
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-fboxsep}{3pt}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
The diameter of the round corners of the oval boxes can be set with the
command
\series bold
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-The size of the shadow can be adjusted by changing the length
-\series bold
-
-\backslash
-shadowsize
-\series default
-.
- It it set to 2
-\begin_inset space \thinspace{}
-\end_inset
-
-pt for the following box by this command:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-setlength{
-\backslash
-shadowsize}{2pt}
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-shadowsize}{2pt}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Box Shadowbox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-\align center
-Shadow box with
-\series bold
-
-\backslash
-shadowsize
-\series default
-
-\begin_inset space \thinspace{}
-\end_inset
-
-=
-\begin_inset space \thinspace{}
-\end_inset
-
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-pt
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-shadowsize}{4pt}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-The default value for the size
-\series bold
-
-\backslash
-FrameRule
-\series default
- is 0.4
-\begin_inset space \thinspace{}
-\end_inset
-
-pt.
- The default space between the note content and the frame is 9
-\begin_inset space \thinspace{}
-\end_inset
-
-pt and can be changed with the value of
-\series bold
-
-\backslash
-FrameSep
-\series default
-.
- For example the frame appearance of the following
-\family sans
-box
-\family default
- is set with the TeX-Code commands
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-setlength{
-\backslash
-FrameRule}{5pt}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-setlength{
-\backslash
-FrameSep}{0.5cm}
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-FrameRule}{5pt}
-\end_layout
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-FrameSep}{0.5cm}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Box Framed
-position "t"
-hor_pos "c"
-has_inner_box 0
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-This is text in an
-\family sans
-allow page break
-\family default
- box.
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-FrameRule}{0.4pt}
-\end_layout
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-FrameSep}{9pt}
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-For
+The default background color red of
\family sans
shaded background
\family default
- boxes the default space between the box content and the box border is 3
-\begin_inset space \thinspace{}
-\end_inset
-
-pt and can be changed with the value of
-\series bold
-
-\backslash
-fboxsep
-\series default
-.
- The default background color red can either be changed locally with the
- command
+ boxes can either be changed locally with the command
\series bold
\backslash
\series default
or globally with the menu
\family sans
-Tools\SpecialChar \menuseparator
-Preferences\SpecialChar \menuseparator
-Colors\SpecialChar \menuseparator
+Tools\SpecialChar menuseparator
+Preferences\SpecialChar menuseparator
+Colors\SpecialChar menuseparator
shaded
\begin_inset space ~
\end_inset
\backslash
definecolor
\series default
- requires the LaTeX-package
+ requires the \SpecialChar LaTeX
+-package
\series bold
color
\series default
\end_inset
For example the appearance of the following shaded background box is set
- with the TeX-Code commands
+ with the \SpecialChar TeX
+ Code command
\end_layout
\begin_layout Standard
-\series bold
-
-\backslash
-setlength{
-\backslash
-fboxsep}{0.5cm}
-\series default
-
-\begin_inset Newline newline
-\end_inset
-
-
\series bold
\backslash
\begin_layout Plain Layout
-\backslash
-setlength{
-\backslash
-fboxsep}{0.5cm}
-\end_layout
-
-\begin_layout Plain Layout
-
-
\backslash
definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
\begin_layout Plain Layout
-\backslash
-setlength{
-\backslash
-fboxsep}{3pt}
-\end_layout
-
-\begin_layout Plain Layout
-
-
\backslash
definecolor{shadecolor}{rgb}{1,0,0}
\end_layout
\begin_inset VSpace bigskip
\end_inset
-Changed lengths and widths are valid for all boxes following the commands
- that change them.
+Manually changed sizes and colors are valid for all boxes following the
+ commands that change them.
\end_layout
\begin_layout Section
\end_inset
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Boxes ! Minipages
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Minipages
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Minipages are treated by LaTeX as pages within pages and can therefore for
- example have their own footnotes.
+Minipages are treated by \SpecialChar LaTeX
+ as pages within pages and can therefore for example
+ have their own footnotes.
\end_layout
\begin_layout Standard
col% and they are separated by a horizontal fill, that was inserted via
the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Special
\begin_inset space ~
\end_inset
-Formatting\SpecialChar \menuseparator
+Formatting\SpecialChar menuseparator
Horizontal
\begin_inset space ~
\end_inset
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Color-for-Paragraphs"
+reference "sec:Colored-Boxes"
\end_inset
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\SpecialChar LyX
+ has also basic support for minipages whose size is automatically determined
+ by the width of their contents, via the module
+\family sans
+Variable-width Minipages
+\family default
+.
+ The \SpecialChar LyX
+ example file
+\emph on
+varwidth-floats-side-by-side
+\emph default
+ gives examples of variable-width minipages used for placing two floats
+ side-by-side.
+\end_layout
+
\begin_layout Section
Parboxes
\begin_inset CommandInset label
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Parboxes
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Parboxes
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
\begin_layout Section
Boxes for Words and Characters
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! for Characters
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Characters
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! to Prevent Hyphenation
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+to Prevent Hyphenation
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\family sans
Makebox
\family default
- and its width to 1
-\begin_inset space \thinspace{}
-\end_inset
-
-Width.
+ and use no explicit width.
\end_layout
\begin_layout Standard
inner_pos "t"
use_parbox 0
use_makebox 1
-width "1in"
-special "width"
+width ""
+special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
\begin_inset Quotes grd
\end_inset
- as TeX-Code directly before the word:
+ as \SpecialChar TeX
+ Code directly before the word:
\end_layout
\begin_layout Standard
Of course the word now protrudes over the side margin.
To avoid this, add via the menu
\family sans
-Insert\SpecialChar \menuseparator
-Formatting\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Formatting\SpecialChar menuseparator
Ragged
\begin_inset space ~
\end_inset
inner_pos "t"
use_parbox 0
use_makebox 1
-width "1in"
-special "width"
+width ""
+special "none"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status open
\begin_layout Plain Layout
Vertical Alignment
\begin_inset CommandInset label
LatexCommand label
-name "sub:Vertical-Alignment"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Boxes ! for Vertical Alignment
-\end_layout
+name "subsec:Vertical-Alignment"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Raiseboxes
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-With the help of the command
-\series bold
-
-\backslash
-raisebox
-\series default
- you can align words, characters or other boxes vertically relative to the
- surrounding text.
-
-\series bold
-
-\backslash
-raisebox
-\series default
- is used with the following scheme:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-raisebox{lift}[height][depth]{box content}
-\end_layout
-
-\begin_layout Standard
-The lift can be a positive value to raise the box or a negative value to
- lower the box.
-\end_layout
-
-\begin_layout Standard
-To align for example the word
-\begin_inset Quotes eld
-\end_inset
-
-preventing
-\begin_inset Quotes erd
-\end_inset
-
- so that the bottom of the
-\begin_inset Quotes eld
-\end_inset
-
-deepest
-\begin_inset Quotes erd
-\end_inset
-
- character
-\begin_inset Quotes eld
-\end_inset
-
-p
-\begin_inset Quotes erd
-\end_inset
-
- is at the baseline, insert the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-raisebox{
-\backslash
-depth}{
-\end_layout
-
-\begin_layout Standard
-in TeX-Code before the word.
- After the word insert a closing brace
-\begin_inset Quotes eld
-\end_inset
-
-
-\series bold
-}
-\series default
-
-\begin_inset Quotes erd
-\end_inset
-
- in TeX-Code.
-\begin_inset Newline newline
-\end_inset
-
-This is the result:
-\end_layout
-
-\begin_layout Standard
-This is a text line with the word
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-raisebox{
-\backslash
-depth}{
-\end_layout
-
-\end_inset
-
-
-\begin_inset Quotes eld
-\end_inset
-
-preventing
-\begin_inset Quotes erd
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
- as a raised word.
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-When you raise or lower characters in a line, the line distance will be
- spread:
-\end_layout
-
-\begin_layout Standard
-This is a text line with the word
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-raisebox{-
-\backslash
-depth}{
-\end_layout
-
-\end_inset
-
-
-\begin_inset Quotes eld
-\end_inset
-
-preventing
-\begin_inset Quotes erd
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
- as a lowered word.
-\begin_inset Newline newline
-\end_inset
-
-This is a text line with the word
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-raisebox{0.5cm}{
-\end_layout
-
-\end_inset
-
-
-\begin_inset Quotes eld
-\end_inset
-
-testing
-\begin_inset Quotes erd
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
- as a raised word.
-\end_layout
-
-\begin_layout Standard
-If you want to prevent this for a certain reason, set the box height to
- a zero value.
- For example use
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-raisebox{-
-\backslash
-depth}[0pt]{
-\end_layout
-
-\begin_layout Standard
-This is a text line with the word
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-raisebox{-
-\backslash
-depth}[0pt]{
-\end_layout
-
-\end_inset
-
-
-\begin_inset Quotes eld
-\end_inset
-
-preventing
-\begin_inset Quotes erd
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
- as a lowered word.
-\begin_inset Newline newline
-\end_inset
-
-This is a text line with the word
-\begin_inset ERT
-status collapsed
+Boxes
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-
-
-\backslash
-raisebox{0.5cm}[0pt]{
+for Vertical Alignment
\end_layout
\end_inset
-\begin_inset Quotes eld
-\end_inset
-
-testing
-\begin_inset Quotes erd
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
- as a raised word.
\end_layout
-\begin_layout Section
-Colored Boxes
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Colored-Boxes"
-
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Color
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-Color for Text
-\begin_inset Index idx
-status collapsed
+Boxes
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-Color ! for Text
-\end_layout
-
-\end_inset
-
-
+Raiseboxes
\end_layout
-\begin_layout Standard
-To color the background of text the text must be put into a so called
-\begin_inset Quotes eld
-\end_inset
-
-colorbox
-\begin_inset Quotes erd
\end_inset
-.
- This requires that the LaTeX-package
-\series bold
-color
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! color
-\end_layout
-
-\end_inset
- is loaded in the document preamble with the command
\end_layout
-\begin_layout Standard
-
-\series bold
-
-\backslash
-@ifundefined{textcolor}
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-\begin_inset space ~
\end_inset
\end_layout
-\end_inset
-
-{
-\backslash
-usepackage{color}}{}
-\end_layout
-
\begin_layout Standard
-The package
-\series bold
-color
-\series default
- will be loaded automatically by LyX when you color text.
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-To avoid it being loaded twice the command
+With the help of the command
\series bold
\backslash
-@ifundefined
+raisebox
\series default
- is used.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace medskip
-\end_inset
-
-Colorboxes are created with the command
+ you can align words, characters or other boxes vertically relative to the
+ surrounding text.
+
\series bold
\backslash
-colorbox
+raisebox
\series default
-.
- This will be used with the following scheme:
+ is used with the following scheme:
\end_layout
\begin_layout Standard
\series bold
\backslash
-colorbox{color}{box content}
+raisebox{lift}[height][depth]{box content}
\end_layout
\begin_layout Standard
-The box content can also be a box and colorboxes can also be within other
- boxes.
+The lift can be a positive value to raise the box or a negative value to
+ lower the box.
\end_layout
\begin_layout Standard
-The following colors are predefined:
-\begin_inset Newline newline
-\end_inset
-
-
-\family sans
-black
-\family default
-,
-\family sans
-blue
-\family default
-,
-\family sans
-cyan
-\family default
-\series bold
-,
-\series default
-
-\family sans
-green
-\family default
-,
-\family sans
-magenta
-\family default
-,
-\family sans
-red
-\family default
-,
-\family sans
-white
-\family default
-, and
-\family sans
-yellow
-\family default
-.
-\begin_inset Newline newline
+To align for example the word
+\begin_inset Quotes eld
\end_inset
-You can also define your own color as described in section
-\begin_inset space ~
+preventing
+\begin_inset Quotes erd
\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Tables"
-
+ so that the bottom of the
+\begin_inset Quotes eld
\end_inset
-.
-\end_layout
+deepest
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-To have e.
-\begin_inset space \thinspace{}
+ character
+\begin_inset Quotes eld
\end_inset
-g.
-\begin_inset space \space{}
+p
+\begin_inset Quotes erd
\end_inset
-a red background for a word, insert the command
+ is at the baseline, insert the command
\end_layout
\begin_layout Standard
\series bold
\backslash
-colorbox{red}{
+raisebox{
+\backslash
+depth}{
\end_layout
\begin_layout Standard
-before the word in TeX-Code.
+in \SpecialChar TeX
+ Code before the word.
After the word insert a closing brace
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- in TeX-Code.
+ in \SpecialChar TeX
+ Code.
\begin_inset Newline newline
\end_inset
\end_layout
\begin_layout Standard
-This is a line where the word
+This is a text line with the word
\begin_inset ERT
status collapsed
\backslash
-colorbox{red}{
+raisebox{
+\backslash
+depth}{
\end_layout
\end_inset
\begin_inset Quotes eld
\end_inset
-Attention!
+preventing
\begin_inset Quotes erd
\end_inset
\end_inset
- has a red background.
+ as a raised word.
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
-If you would like the box frame in a different color, you can use the command
-
-\series bold
-
-\backslash
-fcolorbox
-\series default
- with the following scheme:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-fcolorbox{frame color}{box color}{box content}
+When you raise or lower characters in a line, the line distance will be
+ spread:
\end_layout
\begin_layout Standard
+This is a text line with the word
+\begin_inset ERT
+status collapsed
-\series bold
+\begin_layout Plain Layout
-\backslash
-fcolorbox
-\series default
- is an extension to
-\series bold
\backslash
-colorbox
-\series default
-.
- The frame thickness and the space between the frame and the box content
- can be adjusted with the lengths
-\series bold
-
+raisebox{-
\backslash
-fboxrule
-\series default
- and
-\series bold
+depth}{
+\end_layout
-\backslash
-fboxsep
-\series default
-, respectively, as described in section
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Decoration"
-
+\begin_inset Quotes eld
\end_inset
-.
-\end_layout
-
-\begin_layout Standard
-For the following example the command
-\end_layout
+preventing
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-\series bold
+\begin_inset ERT
+status collapsed
-\backslash
-fcolorbox{cyan}{magenta}{
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-was used.
+}
\end_layout
-\begin_layout Standard
-Here is an example where the frame line thickness was set to 1
-\begin_inset space \thinspace{}
\end_inset
-mm:
+ as a lowered word.
\begin_inset Newline newline
\end_inset
-
+This is a text line with the word
\begin_inset ERT
status collapsed
\backslash
-fboxrule 1mm
-\backslash
-fboxsep 1mm
+raisebox{0.5cm}{
\end_layout
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-fcolorbox{cyan}{magenta}{
-\end_layout
+\begin_inset Quotes eld
+\end_inset
+testing
+\begin_inset Quotes erd
\end_inset
-This is text within a colored, framed box.
+
\begin_inset ERT
status collapsed
\end_inset
+ as a raised word.
+\end_layout
+\begin_layout Standard
+If you want to prevent this for a certain reason, set the box height to
+ a zero value.
+ For example use
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-Of course you can also have colored text inside a colorbox:
-\begin_inset Newline newline
-\end_inset
+\series bold
+\backslash
+raisebox{-
+\backslash
+depth}[0pt]{
+\end_layout
+\begin_layout Standard
+This is a text line with the word
\begin_inset ERT
status collapsed
\backslash
-fcolorbox{cyan}{magenta}{
+raisebox{-
+\backslash
+depth}[0pt]{
\end_layout
\end_inset
-\color yellow
-This is colored text within a colored, framed box.
-\color none
+\begin_inset Quotes eld
+\end_inset
+
+preventing
+\begin_inset Quotes erd
+\end_inset
+
\begin_inset ERT
status collapsed
\end_inset
+ as a lowered word.
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+This is a text line with the word
\begin_inset ERT
status collapsed
\backslash
-fboxrule 0.4pt
-\backslash
-fboxsep 3pt
+raisebox{0.5cm}[0pt]{
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace medskip
+\begin_inset Quotes eld
\end_inset
+testing
+\begin_inset Quotes erd
+\end_inset
-\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- Text in colorboxes cannot have line breaks.
- To color multiple text lines or paragraphs, use a box inside a colorbox
- as described in the following.
+}
\end_layout
\end_inset
-
+ as a raised word.
\end_layout
-\begin_layout Subsection
-Color for Paragraphs
+\begin_layout Section
+Colored Boxes
\begin_inset CommandInset label
LatexCommand label
-name "sub:Color-for-Paragraphs"
+name "sec:Colored-Boxes"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Color ! for Paragraphs
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Color
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-To set the background color for more than one text line, put the text into
- a minipage.
- Before the minipage insert the
-\series bold
+\end_inset
+
-\backslash
-colorbox
-\series default
- command
\end_layout
\begin_layout Standard
+To color the background of a box just select the color you like in the box
+ dialog.
+ This is for example a box with orange background:
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "orange"
+status open
-\series bold
-
-\backslash
-colorbox{color}{
+\begin_layout Plain Layout
+Box with orange background
\end_layout
-\begin_layout Standard
-in TeX-Code.
- After the minipage insert a closing brace
-\begin_inset Quotes eld
\end_inset
-\series bold
-}
-\series default
-
-\begin_inset Quotes erd
-\end_inset
-
- in TeX-Code.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-colorbox{lightgrey}{
-\end_layout
-
+If you use the decoration
+\family sans
+Simple
+\begin_inset space ~
\end_inset
+rectangular
+\begin_inset space ~
+\end_inset
-\begin_inset Box Frameless
+frame
+\family default
+ you can set a frame color.
+ In this case you must also specify a background color (LyX sets white as
+ default).
+ Here is an example:
+\begin_inset Box Boxed
position "t"
hor_pos "c"
-has_inner_box 1
+has_inner_box 0
inner_pos "t"
use_parbox 0
use_makebox 0
-width "100col%"
+width ""
special "none"
height "1in"
height_special "totalheight"
-status collapsed
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "teal"
+backgroundcolor "yellow"
+status open
\begin_layout Plain Layout
-This is text with background color.
- This is text with background color.
+Box with teal frame color and yellow background color
\end_layout
-\begin_layout Plain Layout
-\begin_inset VSpace defskip
\end_inset
-The text can have footnotes
-\begin_inset Foot
-status collapsed
-\begin_layout Plain Layout
-Another example footnote
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
- and can include tables and figures.
-\end_layout
+Of course you can also have colored text inside a colored box:
+\begin_inset Newline newline
+\end_inset
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "cyan"
+backgroundcolor "magenta"
+status open
\begin_layout Plain Layout
-a
+
+\color yellow
+This is colored text within a colored, framed box
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-!
+
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-3
+
\end_layout
+\begin_layout Standard
+If you need another color than the predefined ones, you can define your
+ own color as described in section
+\begin_inset space ~
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-<
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Tables"
-\begin_layout Plain Layout
-b2
-\begin_inset Quotes erd
\end_inset
-|
+.
+ To use your own color you must typeset the box by using TeX code:
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+Colored boxes without frame are created with the command
+\series bold
-\begin_layout Plain Layout
->
+\backslash
+colorbox
+\series default
+.
+ It has the following scheme:
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
-\begin_layout Plain Layout
-1
+\series bold
+
+\backslash
+colorbox{color}{box content}
\end_layout
+\begin_layout Standard
+The box content can also be a box and colored boxes can also be within other
+ boxes.
+ To have e.
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-§
+g.
+\begin_inset space \space{}
+\end_inset
+
+a darkgreen background for a word, insert the command
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
-\begin_layout Plain Layout
-c
+\series bold
+
+\backslash
+colorbox{darkgreen}{
\end_layout
+\begin_layout Standard
+before the word in \SpecialChar TeX
+ Code.
+ After the word insert a closing brace
+\begin_inset Quotes eld
\end_inset
-</cell>
-</row>
-</lyxtabular>
-\end_inset
+\series bold
+}
+\series default
-\end_layout
+\begin_inset Quotes erd
+\end_inset
+ in \SpecialChar TeX
+ Code.
+\begin_inset Newline newline
\end_inset
+This is the result:
+\end_layout
+\begin_layout Standard
+This is a line where the word
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+
+\backslash
+colorbox{darkgreen}{
\end_layout
\end_inset
-\end_layout
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Section
-Rotated and Scaled Boxes
-\end_layout
+Attention!
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-To use the commands described in this section, the LaTeX-package
-\series bold
-graphicx
-\series default
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! graphicx
+
+}
\end_layout
\end_inset
- needs to be loaded in the document preamble with the command
+ has a darkgreen background.
\end_layout
\begin_layout Standard
-
+Framed, colored boxes are created with the command
\series bold
\backslash
-@ifundefined{rotatebox}
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
+fcolorbox
+\series default
+.
+ It has the following scheme:
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
\series bold
-\begin_inset space ~
-\end_inset
-
+\backslash
+fcolorbox{frame color}{box color}{box content}
\end_layout
-\end_inset
+\begin_layout Section
+Rotated and Scaled Boxes
+\end_layout
-{
-\backslash
-usepackage{graphicx}}{}
+\begin_layout Standard
+To use the boxes described in this section, the module
+\family sans
+GraphicBoxes
+\family default
+ must be loaded in the document settings.
\end_layout
\begin_layout Standard
\series bold
Note:
\series default
- Not all DVI-viewers are able to display rotated or scaled material.
+ Not all DVI viewers are able to display rotated or scaled material.
\end_layout
\end_inset
\begin_layout Subsection
Rotated Boxes
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! rotated
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+rotated
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-To rotate material, you can put it into a rotated box.
- Such a box is created using the command
-\series bold
-
-\backslash
-rotatebox
-\series default
- in TeX-Code with the following scheme:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-rotatebox[rotation origin]{rotation angle}{box content}
+To rotate material, you can put it into a
+\family sans
+Rotatebox
+\family default
+.
+ Such a box is inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Rotatebox
+\family default
+.
\end_layout
\begin_layout Standard
-The rotation origin is specified in the form
+The rotation origin can be specified via the inset
+\family sans
+Origin
+\family default
+ (menu
+\family sans
+Insert\SpecialChar menuseparator
+Origin
+\family default
+) in the form
\series bold
origin=position
\series default
\end_layout
\begin_layout Standard
-In the following example the command
+In the following example
\series bold
-
-\backslash
-rotatebox[origin=c]{60}{
+origin=c
\series default
- was inserted as TeX-Code before the text
-\begin_inset Quotes eld
-\end_inset
-
-with rotated
-\begin_inset Quotes erd
-\end_inset
-
-; after the text the box was closed by a closing brace
+ was inserted to the
+\family sans
+Origin
+\family default
+ inset and
\series bold
-}
+60
\series default
- in TeX-Code.
+ was inserted to the
+\family sans
+Angle
+\family default
+ inset.
\end_layout
\begin_layout Standard
This is a line
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Rotatebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-rotatebox[origin=c]{60}{
+\begin_layout Plain Layout
+origin=c
\end_layout
\end_inset
-with rotated
-\begin_inset ERT
-status collapsed
+
+\begin_inset Argument 2
+status open
\begin_layout Plain Layout
+60
+\end_layout
-}
+\end_inset
+
+with rotated
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-This is a line
-\begin_inset ERT
-status collapsed
+This is a line
+\begin_inset Flex Rotatebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+\begin_layout Plain Layout
+origin=r
+\end_layout
-\backslash
-rotatebox[origin=r]{-60}{
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+-60
\end_layout
\end_inset
special "width"
height "1in"
height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
framed text
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Rotatebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+origin=lb
+\end_layout
+
+\end_inset
-\begin_layout Plain Layout
+\begin_inset Argument 2
+status open
-\backslash
-rotatebox[origin=lb]{60}{
+\begin_layout Plain Layout
+60
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-This is a line
-\begin_inset ERT
-status collapsed
+This is a line
+\begin_inset Flex Rotatebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
\begin_layout Plain Layout
+origin=lb
+\end_layout
+\end_inset
-\backslash
-rotatebox[origin=lb]{90}{
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+90
\end_layout
\end_inset
\begin_inset Graphics
- filename clipart/platypus.eps
+ filename clipart/Star-structure.pdf
lyxscale 50
width 25col%
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
with a rotated image
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Rotatebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 2
+status open
-
-\backslash
-rotatebox[origin=l]{-90}{
+\begin_layout Plain Layout
+-90
\end_layout
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
and table.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! rotated
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+rotated
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Customization ! Rotating
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Rotating
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Scaled Boxes
-\begin_inset Index idx
-status collapsed
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
\begin_layout Plain Layout
-Boxes ! scaled
+
+\series bold
+Note:
+\series default
+ If the
+\family sans
+Angle
+\family default
+ inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
+
+ errors when viewing/exporting the document.
\end_layout
\end_inset
+\end_layout
+
+\begin_layout Subsection
+Scaled Boxes
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Scaled Material
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+scaled
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-To scale material the commands
-\series bold
+\end_inset
-\backslash
-scalebox
-\series default
- and
-\series bold
-\backslash
-resizebox
-\series default
- can be used as TeX-Code.
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Scaled Material
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-scalebox
-\series default
- is used with the following scheme:
\end_layout
\begin_layout Standard
-
-\series bold
-
-\backslash
-scalebox{horizontal}[vertical]{box content}
+To scale material put it into a
+\family sans
+Scalebox
+\family default
+.
+ Such a box is inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Scalebox
+\family default
+.
\end_layout
\begin_layout Standard
-Horizontal and vertical are the corresponding scaling factors.
- If no vertical scaling factor is given, the horizontal factor will also
- be used as the vertical one.
+The
+\family sans
+Scalebox
+\family default
+ inset has the mandatory inset
+\family sans
+H-Factor
+\family default
+ and the optional inset
+\family sans
+V-Factor
+\family default
+ (inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+V-Factor)
+\family default
+.
+ Input there the horizontal and vertical scale factor, respectively.
+ If no
+\family sans
+V-Factor
+\family default
+ inset is used, the horizontal factor will also be used as the vertical
+ one.
\end_layout
\begin_layout Standard
-The command
+To get for example the double text size, compared to the document text size,
+ insert
\series bold
-
-\backslash
-scalebox{2}{Hello}
+2
\series default
- creates for example a double size
-\begin_inset ERT
-status collapsed
+ into the
+\family sans
+H-Factor
+\family default
+ inset.
+ An example:
+\begin_inset Flex Scalebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-scalebox{2}{
+\begin_layout Plain Layout
+2
\end_layout
\end_inset
Hello
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
-, compared with the document text size.
+
\end_layout
\begin_layout Standard
\series bold
-
-\backslash
-scalebox{2}[1]{Hello}
+2
\series default
- on the other hand distorts the
-\begin_inset ERT
-status collapsed
+ as
+\family sans
+H-Factor
+\family default
+ and
+\series bold
+1
+\series default
+ as
+\family sans
+V-Factor
+\family default
+ distorts the
+\begin_inset Flex Scalebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-scalebox{2}[1]{
+\begin_layout Plain Layout
+2
\end_layout
\end_inset
-Hello
-\begin_inset ERT
-status collapsed
+
+\begin_inset Argument 2
+status open
\begin_layout Plain Layout
+1
+\end_layout
-}
+\end_inset
+
+Hello
\end_layout
\end_inset
\begin_layout Standard
If the scaling factor is negative, the box content will be mirrored.
- Therefore the command
+ Therefore
\series bold
-
-\backslash
-scalebox{-1}[1]{Hello}
+-1
+\series default
+ as
+\family sans
+H-Factor
+\family default
+ and
+\series bold
+1
\series default
+ as
+\family sans
+V-Factor
+\family default
can be used to create mirror writing:
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Scalebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-scalebox{-1}[1]{
+\begin_layout Plain Layout
+-1
\end_layout
\end_inset
-Hello
-\begin_inset ERT
-status collapsed
+
+\begin_inset Argument 2
+status open
\begin_layout Plain Layout
+1
+\end_layout
-}
+\end_inset
+
+Hello
\end_layout
\end_inset
\begin_layout Standard
\series bold
-
-\backslash
-scalebox{1}[-1]{Hello}
+1
+\series default
+ as
+\family sans
+H-Factor
+\family default
+ and
+\series bold
+-1
\series default
+ as
+\family sans
+V-Factor
+\family default
reflects the
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Scalebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-scalebox{1}[-1]{
+\begin_layout Plain Layout
+1
\end_layout
\end_inset
-Hello
-\begin_inset ERT
-status collapsed
+
+\begin_inset Argument 2
+status open
\begin_layout Plain Layout
+-1
+\end_layout
-}
+\end_inset
+
+Hello
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Equivalent to
+The
+\family sans
+Reflectbox
+\family default
+ (menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Reflectbox
+\family default
+) is equivalent to
\series bold
-
-\backslash
-scalebox{-1}[1]{box content}
+-1
\series default
- there exists the command
-\begin_inset Newline newline
-\end_inset
-
-
+ as
+\family sans
+H-Factor
+\family default
+ and
\series bold
-
-\backslash
-reflectbox{box content}
+1
\series default
+ as
+\family sans
+V-Factor
+\family default
+for a
+\family sans
+Scalebox
+\family default
.
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\begin_inset Note Greyedout
+status open
-The command
-\series bold
+\begin_layout Plain Layout
-\backslash
-resizebox
+\series bold
+Note:
\series default
- is used to scale the box to a defined width and height.
- The command scheme is:
+ If the
+\family sans
+H-Factor
+\family default
+ inset is empty or contains other characters than numbers you will get LaTeX
+ errors when viewing/exporting the document.
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-resizebox{width}{height}{box content}
\end_layout
\begin_layout Standard
-If one of the two command arguments given is an exclamation mark
+\begin_inset VSpace bigskip
+\end_inset
+
+The
+\family sans
+Resizebox
+\family default
+ (menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Resizebox
+\family default
+) is used to scale the content to a defined width and height.
+ The
+\family sans
+Resizebox
+\family default
+ inset has the mandatory inset
+\family sans
+Width
+\family default
+ and the optional inset
+\family sans
+Height
+\family default
+ (inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+Height)
+\family default
+.
+ Input there the width and height, respectively, as value with a unit.
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Units"
+
+\end_inset
+
+ lists the possible units.
+ If there is an exclamation mark
\series bold
!
\series default
-, the size is set so that the aspect ratio of the box content is kept.
+ in one of the two insets, the size is set so that the aspect ratio of the
+ box content is kept.
+ If no
+\family sans
+Height
+\family default
+ inset is used an exclamation mark will internally be used for the height.
\end_layout
\begin_layout Standard
-The command
-\series bold
-\backslash
-resizebox{2cm}{1cm}{Hello}
+\series bold
+2cm
+\series default
+ as
+\family sans
+Width
+\family default
+ and
+\series bold
+1cm
\series default
+ as
+\family sans
+Height
+\family default
produces:
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Resizebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-resizebox{2cm}{1cm}{
+\begin_layout Plain Layout
+2cm
\end_layout
\end_inset
-Hello
-\begin_inset ERT
-status collapsed
+
+\begin_inset Argument 2
+status open
\begin_layout Plain Layout
+1cm
+\end_layout
-}
+\end_inset
+
+Hello
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
-The command
-\series bold
-\backslash
-resizebox{2cm}{!}{Hello}
+\series bold
+2cm
\series default
- produces:
-\begin_inset ERT
-status collapsed
+ as
+\family sans
+Width
+\family default
+ and
+\series bold
+!
+\series default
+ as
+\family sans
+Height
+\family default
+ (or no
+\family sans
+Height
+\family default
+) produces:
+\begin_inset Flex Resizebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-resizebox{2cm}{!}{
+\begin_layout Plain Layout
+2cm
\end_layout
\end_inset
-Hello
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\begin_inset Argument 2
+status open
-}
+\begin_layout Plain Layout
+!
\end_layout
\end_inset
-
+Hello
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+\end_layout
+
+\begin_layout Standard
\begin_inset Note Greyedout
status open
\series bold
Note:
\series default
- When arguments of
-\series bold
-
-\backslash
-scalebox
-\series default
- or
-\series bold
-
-\backslash
-resizebox
-\series default
- are set to zero, no LaTeX-errors occur when exporting the document but
- the exported files can not or only partly be displayed.
+ If the
+\family sans
+Width
+\family default
+ inset is empty or contains an invalid unit you will get LaTeX errors when
+ viewing/exporting the document.
\end_layout
\end_inset
\begin_layout Standard
The boxes can be combined in any order.
- E.
-\begin_inset space \thinspace{}
-\end_inset
+ As example a
+\family sans
+Reflectbox
+\family default
+ inside a
+\family sans
+Resizebox
+\family default
+ which is in turn inside a
+\family sans
+Rotatebox
+\family default
+:
+\end_layout
-g.
-\begin_inset space \space{}
-\end_inset
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Flex Rotatebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+origin=c
+\end_layout
-the command
-\begin_inset Newline newline
\end_inset
-\series bold
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+-45
+\end_layout
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{Hello}}}
-\begin_inset Newline newline
\end_inset
-\series default
-produces:
-\end_layout
+\begin_inset Flex Resizebox
+status open
-\begin_layout Standard
-\align center
-\begin_inset ERT
-status collapsed
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
\begin_layout Plain Layout
+2cm
+\end_layout
+\end_inset
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
+Hello
\end_layout
\end_inset
-Hello
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\end_layout
+
+\end_inset
+
-}}}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
+\noindent
\align center
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Resizebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-rotatebox[origin=c]{-30}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+\begin_layout Plain Layout
+2cm
\end_layout
\end_inset
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/platypus.eps
+ filename clipart/Star-structure.pdf
lyxscale 50
width 25col%
\end_inset
-\begin_inset ERT
-status collapsed
+\end_layout
+
+\end_inset
-\begin_layout Plain Layout
-}}}
\end_layout
\end_inset
-
-\begin_inset ERT
-status collapsed
+
+\begin_inset Flex Resizebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+\begin_layout Plain Layout
+2cm
\end_layout
\end_inset
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\end_inset
-\begin_inset ERT
-status collapsed
+\end_layout
+
+\end_inset
-\begin_layout Plain Layout
-}}}
\end_layout
\end_inset
-
-\begin_inset ERT
-status collapsed
+
+\begin_inset Flex Resizebox
+status open
\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
-
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+\begin_layout Plain Layout
+3cm
\end_layout
\end_inset
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
\begin_inset Formula $\int A\,\mathrm{d}x=B$
\end_inset
-\begin_inset ERT
-status collapsed
+\end_layout
+
+\end_inset
-\begin_layout Plain Layout
-}}}
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! scaled
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+scaled
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table Customization ! Scaling
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Scaling
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Chapter
Objects Surrounded by Text
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Wrap Floats
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Wrap Floats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Surrounded by text ! Wrap Floats
+Surrounded by text
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Wrap Floats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/mobius.eps
+ filename clipart/2D-intensity-plot.pdf
width 40col%
scaleBeforeRotation
rotateOrigin center
\end_inset
-This is a figure wrap float.
+This is a
+\change_deleted 274215730 1669306080
+figure wrap
+\change_inserted 274215730 1669306089
+wrapped figure
+\change_unchanged
+ float.
\end_layout
\end_inset
so that it only occupies some fraction of the column width.
It can be inserted using the menu
\family sans
-Insert\SpecialChar \menuseparator
-Floats\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Floats\SpecialChar menuseparator
+
+\change_inserted 274215730 1669306057
+Wrapped
+\begin_inset space ~
+\end_inset
+
+Figure
+\change_deleted 274215730 1669306060
Figure
\begin_inset space ~
\end_inset
\end_inset
Float
+\change_unchanged
+
\family default
or
+\change_deleted 274215730 1669306067
+
\family sans
Table
\begin_inset space ~
\end_inset
Float
+\change_inserted 274215730 1669306070
+Wrapped
+\begin_inset space ~
+\end_inset
+
+Table
+\change_unchanged
+
\family default
- if the LaTeX-package
+ if the \SpecialChar LaTeX
+-package
\series bold
wrapfig
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! wrapfig
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+wrapfig
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-Installing a LaTeX-package is explained it in the
+Installing a \SpecialChar LaTeX
+-package is explained it in the
\emph on
-LaTeX
+\SpecialChar LaTeX
+
\begin_inset space ~
\end_inset
that specifies how many text lines the float will approximately need.
The line span is often hard to approximate; so it is better only to use
it when you encounter float placement problems.
- You can furthermore decide if LaTeX is allowed to let the float float within
+ You can furthermore decide if \SpecialChar LaTeX
+ is allowed to let the float float within
the paragraph or to surrounding paragraphs.
Figure
\begin_inset space ~
\begin_layout Section
Surrounded Fixed Objects
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Surrounded by text ! Fixed objects
+Surrounded by text
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Fixed objects
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 70
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
\end_inset
or
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 70
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 70
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 70
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 70
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 70
- scaleBeforeRotation
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
\end_inset
\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_layout Standard
\noindent
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 70
- scaleBeforeRotation
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 70
- scaleBeforeRotation
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 70
- scaleBeforeRotation
-
-\end_inset
-
-
-\end_layout
+you can use the \SpecialChar LaTeX
+-package
+\series bold
+picinpar
+\series default
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
-text
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-text
+picinpar
\end_layout
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
\end_inset
\end_layout
-\begin_layout Standard
-\noindent
-you can use the LaTeX-package
-\series bold
-picinpar
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! picinpar
-\end_layout
-
\end_inset
.
status open
\begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
\series bold
picinpar
\series default
\begin_inset Graphics
- filename clipart/mobius.eps
+ filename clipart/2D-intensity-plot.pdf
lyxscale 60
width 40col%
scaleBeforeRotation
\end_layout
\begin_layout Standard
-as TeX-Code at the beginning of the paragraph.
+as \SpecialChar TeX
+ Code at the beginning of the paragraph.
The first parameter in the bracket, here '2', defines the number of lines
above the object, the second, here 'c', the position of the object.
The positions 'l', 'c' and 'r' (for left, center, right) are possible.
status open
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
+The following will be displayed when the \SpecialChar LaTeX
+-package
\series bold
picinpar
\series default
\end_layout
\begin_layout Standard
-You need to install the LaTeX-package
+You need to install the \SpecialChar LaTeX
+-package
\series bold
picinpar
\series default
\begin_layout Section
Initials
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Surrounded by text ! Initials
+Surrounded by text
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Initials
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-To use initials, you must have the LaTeX-package
+To use initials, you must have the \SpecialChar LaTeX
+-package
\series bold
lettrine
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! lettrine
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+lettrine
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\family default
in your document (menu
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Modules
\family default
).
\begin_inset CommandInset citation
LatexCommand cite
key "lettrine"
+literal "true"
\end_inset
status open
\begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
\series bold
lettrine
\series default
status open
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
+The following will be displayed when the \SpecialChar LaTeX
+-package
\series bold
lettrine
\series default
\end_layout
\begin_layout Standard
-You need to install the LaTeX-package
+You need to install the \SpecialChar LaTeX
+-package
\series bold
lettrine
\series default
\begin_layout Chapter
External Document Parts
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
With the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
File
\family default
you can insert external material into your document.
\begin_inset space ~
\end_inset
-Document Another LyX document; its content is directly inserted to your
- document.
+Document Another \SpecialChar LyX
+ document; its content is directly inserted to your document.
\end_layout
\begin_layout Description
\begin_inset space ~
\end_inset
-Document LyX or LaTeX-documents.
+Document \SpecialChar LyX
+ or \SpecialChar LaTeX
+ documents.
\end_layout
\begin_layout Section
External Material
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-External Document Parts ! External Material
+External Document Parts
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+External Material
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
The external material feature allows you to insert files into your document
without converting them to a format that can be read by the document output
format.
- LyX takes care of the necessary conversions.
+ \SpecialChar LyX
+ takes care of the necessary conversions.
This is similar to images that can be inserted in various image formats
- in LyX documents.
- When you have enabled Instant Preview in LyX's preferences under
+ in \SpecialChar LyX
+ documents.
+ When you have enabled Instant Preview in \SpecialChar LyX
+'s preferences under
\family sans
Look
\begin_inset space ~
\begin_inset space ~
\end_inset
-feel\SpecialChar \menuseparator
+feel\SpecialChar menuseparator
Graphics
\family default
-, the external material types Dia and Xfig are directly shown in LyX.
+, the external material types Dia and Xfig are directly shown in \SpecialChar LyX
+.
\end_layout
\begin_layout Standard
\family default
dialog that is accessible with the menu
\family sans
-Insert\SpecialChar \menuseparator
-File\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+File\SpecialChar menuseparator
External
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Description
-ChessDiagram This template supports chess position diagrams made with the
- program
+Chess
+\begin_inset space ~
+\end_inset
+
+diagram This template supports chess position diagrams made with the program
+
\series bold
\begin_inset CommandInset href
LatexCommand href
name "XBoard"
-target "http://en.wikipedia.org/wiki/XBoard"
+target "https://en.wikipedia.org/wiki/XBoard"
+literal "false"
\end_inset
\end_layout
\begin_layout Description
-Date This inserts the date in the form
-\emph on
-Day-Month-Year
-\emph default
-.
- This is a date inserted as external material:
-\begin_inset External
- template Date
- filename .
-
-\end_inset
-
-
+Dia
\begin_inset space ~
\end_inset
+diagram This template supports diagrams created with the program
+\series bold
-\begin_inset Note Note
-status open
-
-\begin_layout Plain Layout
-Remove the protected space when bug 4398 is fixed!
-\end_layout
-
-\end_inset
-
+\begin_inset CommandInset href
+LatexCommand href
+name "Dia"
+target "https://en.wikipedia.org/wiki/Dia_(software)"
+literal "false"
-\begin_inset Newline newline
\end_inset
-The date is not shown within LyX, only in the output.
- There are two other methods of inserting a date: Via menu
-\family sans
-Insert\SpecialChar \menuseparator
-Date
-\family default
- and with the LaTeX command
-\series bold
-\backslash
-today
\series default
- as TeX-Code.
- The different methods are compared in Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Comparison-of-the"
-
-\end_inset
-
.
\end_layout
\begin_layout Description
-Dia This template supports diagrams created with the program
+Inkscape
+\begin_inset space ~
+\end_inset
+
+figure This template supports specific scalable images derived from scalable
+ vector graphics (SVG), in which the contained text is replaced by a version
+ typeset by \SpecialChar LaTeX
+ (and hence in the current document font).
+ It relies on a feature of the program
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "Dia"
-target "http://en.wikipedia.org/wiki/Dia_(software)"
+name "Inkscape"
+target "https://inkscape.org/"
+literal "false"
\end_inset
\series default
-.
-\end_layout
-
-\begin_layout Description
-GnumericSpreadsheet With this template you can insert spreadsheets
-\begin_inset space \thinspace{}
+ which creates a special PDF or EPS and \SpecialChar LaTeX
+ file from a given SVG file (in
+
+\noun on
+Inkscape
+\noun default
+ itself, the feature is available via the option
+\family sans
+Omit text in PDF and create LaTeX file
+\family default
+ when saving a drawing as PDF or EPS).
+ The benefit of such files is a uniform text style throughout the whole
+ document.
+\begin_inset Newline newline
\end_inset
-/
-\begin_inset space \thinspace{}
+The external template reads SVG files and uses a converter program to generate
+ the respective PDF\SpecialChar breakableslash
+EPS and \SpecialChar LaTeX
+ files (via
+\noun on
+
+\noun default
+Inkscape
+\noun on
+)
+\noun default
+ on the fly, so you don't have to export those files yourself.
+ If you prefer the latter and want use given
+\family typewriter
+*.pdf
+\family default
+ and
+\family typewriter
+*.pdf_tex
+\family default
+ or
+\family typewriter
+*.eps
+\family default
+ and
+\family typewriter
+*.eps_tex
+\family default
+ files instead, simply input the respective
+\family typewriter
+*.pdf_tex
+\family default
+ or
+\family typewriter
+*.eps_tex
+\family default
+ file via the
+\family sans
+Child Documents
+\family default
+ dialog (see sec.
+\begin_inset space ~
\end_inset
-tables in the format of
-\series bold
-\begin_inset CommandInset href
-LatexCommand href
-name "Gnumeric"
-target "http://en.wikipedia.org/wiki/Gnumeric"
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Child-Documents"
+
+\end_inset
+) rather than using this template.
+\begin_inset Newline newline
\end_inset
+You can use \SpecialChar TeX
+ code commands such as
+\series bold
+\backslash
+Large
\series default
,
-\begin_inset CommandInset href
-LatexCommand href
-name "OpenDocument"
-target "http://en.wikipedia.org/wiki/OpenDocument"
+\series bold
+\backslash
+small
+\series default
+, etc.
+\begin_inset space \space{}
\end_inset
-,
-\begin_inset CommandInset href
-LatexCommand href
-name "Microsoft Office XML"
-target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
+in the text of the SVG.
+ The size of the font will be taken from the settings of the \SpecialChar LyX
+ document.
+ Please refer to
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Inkscape"
+literal "false"
\end_inset
- and
-\begin_inset CommandInset href
-LatexCommand href
-name "Office Open XML"
-target "http://en.wikipedia.org/wiki/Office_Open_XML"
+ for more information and examples.
+\end_layout
+\begin_layout Description
+Lilypond
+\begin_inset space ~
\end_inset
-.
- For this feature LyX must have found the program
-\family typewriter
-ssconvert
-\family default
- during its configuration.
- This program is part of Gnumeric, so that you must have Gnumeric installed,
- also if you don't have tables in the Gnumeric format.
- For examples and possible limitations have a look at LyX's example file
-
-\emph on
-spreadsheet.lyx
-\emph default
-.
-\end_layout
+typeset
+\begin_inset space ~
+\end_inset
-\begin_layout Description
-LilyPond This template is used for music notation typeset with the program
+music This template is used for music notation typeset with the program
\begin_inset Newline linebreak
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "LilyPond"
-target "http://en.wikipedia.org/wiki/LilyPond"
+target "https://en.wikipedia.org/wiki/LilyPond"
+literal "false"
\end_inset
\series default
.
- For LyX's extended support for LilyPond have a look at LyX's example file
-
+ For \SpecialChar LyX
+'s extended support for LilyPond have a look at \SpecialChar LyX
+'s example file
\emph on
lilypond.lyx
\emph default
\end_layout
\begin_layout Description
-PDFPages With this template you can insert PDF documents to your document.
+PDF
+\begin_inset space ~
+\end_inset
+
+pages With this template you can insert PDF documents to your document.
To specify the range of pages that should be included, use the option
\series bold
pages
\series default
will be overwritten.
For more info and possible options, have a look into the documentation
- of the LaTeX-package
+ of the \SpecialChar LaTeX
+-package
\series bold
pdfpages
\series default
\begin_inset CommandInset citation
LatexCommand cite
key "pdfpages"
+literal "true"
\end_inset
.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! pdfpages
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+pdfpages
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\family sans
EndFrame
\family default
- environment and in a subsequent paragraph a TeX-Code box containing the
- command
+ environment and in a subsequent paragraph a \SpecialChar TeX
+ Code box containing the command
+
\series bold
\backslash
\end_layout
\begin_layout Description
-RasterImage This can be used for bitmap images.
+Raster
+\begin_inset space ~
+\end_inset
+
+image This can be used for bitmap images.
The image can be treated in the
\family sans
External material
\end_inset
.
- The difference to the normal image input is that only raster images are
- allowed; that means that PDF and EPS-images are not supported.
Here is an inserted raster image:
\begin_inset External
template RasterImage
\end_layout
\begin_layout Description
-XFig This template supports images created with the program
-\series bold
-
-\begin_inset CommandInset href
-LatexCommand href
-name "Xfig"
-target "http://en.wikipedia.org/wiki/Xfig"
-
-\end_inset
-
-
-\series default
-.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float table
-placement !h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption Standard
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Comparison-of-the"
-
-\end_inset
-
-Comparison of the date input methods.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="4">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Document format
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-External Material\SpecialChar \menuseparator
-Date
-\end_layout
-
+Spreadsheet With this template you can insert spreadsheets
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-Insert\SpecialChar \menuseparator
-Date
-\end_layout
+/
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-command
+tables in the format of
\series bold
-\backslash
-today
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-LyX
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "Gnumeric"
+target "https://en.wikipedia.org/wiki/Gnumeric"
+literal "false"
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-as inset box
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-as date
-\end_layout
+\series default
+,
+\begin_inset CommandInset href
+LatexCommand href
+name "OpenDocument"
+target "https://en.wikipedia.org/wiki/OpenDocument"
+literal "false"
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-as TeX-Code inset box
-\end_layout
+,
+\begin_inset CommandInset href
+LatexCommand href
+name "Microsoft Office XML"
+target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
+literal "false"
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-LaTeX
-\end_layout
+ and
+\begin_inset CommandInset href
+LatexCommand href
+name "Office Open XML"
+target "https://en.wikipedia.org/wiki/Office_Open_XML"
+literal "false"
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-as date
+.
+ For this feature \SpecialChar LyX
+ must have found the program
+\family typewriter
+ssconvert
+\family default
+ during its configuration.
+ This program is part of Gnumeric, so that you must have Gnumeric installed,
+ also if you don't have tables in the Gnumeric format.
+ For examples and possible limitations have a look at \SpecialChar LyX
+'s example file
+\emph on
+spreadsheet.lyx
+\emph default
+.
\end_layout
+\begin_layout Description
+Vector
+\begin_inset space ~
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as date
-\end_layout
+graphics This can be used for vector graphics.
+ The image can be treated in the
+\family sans
+External material
+\family default
+ dialog like the images that are usually included via the
+\family sans
+Graphics
+\family default
+ dialog as described in section
+\begin_inset space ~
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as command
-\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-DVI, PDF, PS
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Graphics-Dialog"
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-as date
-\end_layout
+.
+ Here is an inserted vector graphics:
+\begin_inset External
+ template VectorGraphics
+ filename clipart/SVG-Drawing.svg
+ lyxscale 50
+ scale 33
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as date
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-as date
\end_layout
+\begin_layout Description
+Xfig
+\begin_inset space ~
\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-\end_layout
+figure This template supports images created with the program
+\begin_inset CommandInset href
+LatexCommand href
+name "Xfig"
+target "https://en.wikipedia.org/wiki/Xfig"
+literal "false"
\end_inset
-
+.
\end_layout
\begin_layout Standard
\begin_inset Newline newline
\end_inset
-External material is displayed in LyX either as a box like this:
+External material is displayed in \SpecialChar LyX
+ either as a box like this:
\begin_inset Graphics
- filename clipart/ExternalMaterialQt4.png
- scale 85
+ filename clipart/ExternalMaterial.png
+ scale 95
scaleBeforeRotation
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-External Document Parts ! Child Documents
+External Document Parts
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Child Documents
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Files ! Include
+Files
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Include
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
, and a master document connects them to print the full document or parts
of it.
- A child document inherits elements from its master, for example the LaTeX
- preamble, the bibliography, and labels for cross-references.
+ A child document inherits elements from its master, for example the \SpecialChar LaTeX
+ preamble,
+ the bibliography, and labels for cross-references.
\end_layout
\begin_layout Standard
To be able to work on child documents without the need to open their master,
specify in the child document the master in the menu
\family sans
- Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+ Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Document
\begin_inset space ~
\end_inset
Class
\family default
.
- This master document will then be used in the background by LyX when you
- edit the child document.
+ This master document will then be used in the background by \SpecialChar LyX
+ when you edit
+ the child document.
\end_layout
\begin_layout Standard
-Included documents are displayed in LyX as a box like this:
+Included documents are displayed in \SpecialChar LyX
+ as a box like this:
\begin_inset Graphics
- filename clipart/ChildDocumentQt4.png
- scale 85
+ filename clipart/ChildDocument.png
+ scale 95
scaleBeforeRotation
\end_inset
To include child documents in a master document use the menu
\family sans
-Insert\SpecialChar \menuseparator
-File\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+File\SpecialChar menuseparator
Child
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Description
-Include You can include LyX- and LaTeX-documents.
+Include You can include \SpecialChar LyX
+ and \SpecialChar LaTeX
+ documents.
When you press the
\family sans
Edit
\family sans
Child Document
\family default
- dialog, the included document will be opened in LyX in a new file tab so
- that you can modify it.
+ dialog, the included document will be opened in \SpecialChar LyX
+ in a new file tab so that
+ you can modify it.
\begin_inset Newline newline
\end_inset
\begin_inset CommandInset include
LatexCommand include
filename "DummyDocument1.lyx"
+literal "true"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:External-Subsection-1"
+reference "subsec:External-Subsection-1"
\end_inset
\series bold
Note:
\series default
- If you have included a LyX- or LaTeX-file, you are warned when you export/view
- the document in case the child document uses another document class than
- the master document as this will lead to unexpected outputs.
+ If you have included a \SpecialChar LyX
+ or \SpecialChar LaTeX
+ file, you are warned when you export/view the
+ document in case the child document uses another document class than the
+ master document as this will lead to unexpected outputs.
\end_layout
\end_inset
\end_layout
\begin_layout Itemize
-Input files can be previewed in LyX when
+Input files can be previewed in \SpecialChar LyX
+ when
\family sans
Instant
\begin_inset space ~
Preview
\family default
- is enabled in LyX's preferences under
+ is enabled in \SpecialChar LyX
+'s preferences under
\family sans
Look
\begin_inset space ~
\begin_inset space ~
\end_inset
-feel\SpecialChar \menuseparator
+feel\SpecialChar menuseparator
Graphics
\family default
.
\begin_layout Itemize
You cannot exclude Input files via the menu
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Child Documents
\family default
.
\begin_inset CommandInset include
LatexCommand input
filename "DummyDocument2.lyx"
+literal "true"
\end_inset
for every space character in the source code.
The difference from the method via the menu
\family sans
-Insert\SpecialChar \menuseparator
-File\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+File\SpecialChar menuseparator
Plain
\begin_inset space ~
\end_inset
Text
\family default
- is that the document content is not shown in LyX.
+ is that the document content is not shown in \SpecialChar LyX
+.
\end_layout
\begin_layout Standard
\begin_inset CommandInset include
LatexCommand verbatiminput
filename "DummyTextDocument.txt"
+literal "true"
\end_inset
\begin_inset CommandInset include
LatexCommand verbatiminput*
filename "DummyTextDocument.txt"
+literal "true"
\end_inset
Note:
\series default
Including the same document twice in a document using different methods
- could cause LaTeX-problems.
+ could cause \SpecialChar LaTeX
+-problems.
\end_layout
\end_inset
from the output.
This is done via the menu
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Child Documents
\family default
.
- You can exclude\SpecialChar \slash{}
+ You can exclude\SpecialChar breakableslash
include children by double-clicking on the
\family sans
include to output
\end_inset
).
- If the option
+
+\change_inserted -712698321 1584102244
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1584102427
+In the section
+\family sans
+Global Counters & References
+\family default
+ you can set how page numbers, references, section counters etc.
+ are handled.
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1584102377
+With the option
+\family sans
+Strictly maintain
+\family default
+,
+\change_deleted -712698321 1584102385
+If the option
\family sans
Maintain counters and references
\family default
- is enabled, LyX will assure that all page numbers, references etc.
+ is enabled,
+\change_unchanged
+\SpecialChar LyX
+ will assure that all page numbers, references etc.
\begin_inset space ~
\end_inset
-are correct as if the whole document was processed.
+are correct as if the whole document was
+\change_deleted -712698321 1584108508
+processed
+\change_inserted -712698321 1584108509
+output
+\change_unchanged
+.
This is useful if you want the selected sub-documents to look exactly as
in the context of the whole document.
- However, LyX needs to process the whole document in the background for
- this feature.
- So if you want to save compile time and if counters and references do not
- need to be correct, disable this checkbox.
+ However, \SpecialChar LyX
+ needs to process the whole document in the background for this
+ feature
+\change_inserted -712698321 1584102406
+, which can take a long time
+\change_unchanged
+.
+
+\change_deleted -712698321 1584103026
+
+\change_inserted -712698321 1584102447
+
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1584102489
+With the option
+\family sans
+Do not maintain
+\family default
+,
+\change_unchanged
+\SpecialChar LyX
+
+\change_inserted -712698321 1584103270
+ only compiles the master and the included documents.
+ Thus the counters will differ from the complete document, and references
+ to excluded child documents will not be resolved.
+
+\change_deleted -712698321 1584102517
+So i
+\change_inserted -712698321 1584102518
+I
+\change_unchanged
+f you want to save compile time and if counters and references do not need
+ to be correct,
+\change_deleted -712698321 1584102523
+disable this checkbox
+\change_inserted -712698321 1584102546
+use this option as this is the fastest one
+\change_unchanged
+.
+\change_inserted -712698321 1584102550
+
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1584109486
+The option
+\family sans
+Maintain mostly
+\family default
+ is somewhat in-between the above two.
+ If this is selected, \SpecialChar LyX
+ will compile the whole document at the first output,
+ which sets up counters and references correctly.
+ In subsequent outputs, it will compile the whole document only if a change
+ has been made in an excluded child document.
+ As long as you only edit the included files, this approach is as fast as
+ the second one, while giving you more or less correct counters and references.
+ They are only more or less correct since the change of size of included
+ documents obviously also changes the pagination of excluded documents,
+ but this change cannot be tracked with this method.
+\change_unchanged
+
\end_layout
\begin_layout Standard
\emph on
Branches
\emph default
- of the LyX
+ of the \SpecialChar LyX
+
\emph on
Userguide
\emph default
\end_inset
- By enabling\SpecialChar \slash{}
+ By enabling\SpecialChar breakableslash
disabling branches you can decide which included files will
appear in the output.
This has the advantage that it also works with Input'ed sub-documents.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Listings
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Listings
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\family default
inset that can be inserted via the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Program Listing
\family default
.
- The LaTeX-package
+ The \SpecialChar LaTeX
+ packages
\series bold
listings
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! listings
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+listings
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
- provides a powerful and flexible way to insert program source code into
+ or
+\series bold
+minted
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+minted
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ provide a powerful and flexible way to insert program source code into
your document.
+ One can only use one of these packages in a document.
+
+\series bold
+listings
+\series default
+ is used by default.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ \SpecialChar LyX
+ does NOT want to encourage users to add the
+\family typewriter
+-shell-escape
+\family default
+ option to converter definitions.
+ It works, but it is a huge security risk.
+ There is an active discussion about how to handle this.
+ Once that's been resolved, this can be updated appropriately.
+\end_layout
+
+\begin_layout Plain Layout
+=====
+\end_layout
+
+\begin_layout Plain Layout
+In order to use
+\series bold
+minted
+\series default
+, you need to select it as the syntax highlighting package in the document
+ settings under
+\family sans
+Listings
+\family default
+.
+
+\series bold
+minted
+\series default
+ requires also additionally the module
+\family sans
+pygments
+\family default
+ of the software
+\noun on
+Python
+\noun default
+
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Under \SpecialChar LyX
+ for Windows
+\family sans
+pygments
+\family default
+ is already installed.
+\end_layout
+
+\end_inset
+
+ and the option
+\family typewriter
+-shell-escape
+\family default
+ for the \SpecialChar LaTeX
+ processor.
+ If you want for example view or export your document as the format
+\family sans
+PDF
+\begin_inset space ~
+\end_inset
+
+(pdflatex)
+\family default
+, go to the \SpecialChar LyX
+ preferences and there to the section
+\family sans
+File
+\begin_inset space ~
+\end_inset
+
+Handling\SpecialChar menuseparator
+Converters
+\family default
+.
+ There go to the entry
+\family sans
+LaTeX
+\begin_inset space ~
+\end_inset
+
+(pdflatex) -> PDF
+\begin_inset space ~
+\end_inset
+
+(pdflatex)
+\family default
+ and look at the field
+\family sans
+Converter
+\family default
+.
+ There you see by default the content
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+pdflatex $$i
+\series default
+
+\begin_inset Newline newline
+\end_inset
+
+Now change it to
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+pdflatex $$i -shell-escape
+\begin_inset Newline newline
+\end_inset
+
+
+\series default
+and press the
+\family sans
+Modify
+\family default
+ button and subsequently
+\family sans
+Apply
+\family default
+ or
+\family sans
+Save
+\family default
+.
+ The same can be done for the output formats
+\family sans
+PDF
+\begin_inset space ~
+\end_inset
+
+(LuaTeX)
+\family default
+ and
+\family sans
+PDF
+\begin_inset space ~
+\end_inset
+
+(XeTeX)
+\family default
+.
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Float-Placement"
+reference "sec:Float-Settings"
\end_inset
\end_layout
\begin_layout Standard
-You can add captions to listings with the menu
+You can add captions to listings that are not inline with the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Caption
\family default
.
\end_inset
-
-\change_inserted -195340706 1334604968
.
A list of listings which contains all listings with captions can be created
- via the
+ via the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
List
\begin_inset space ~
\end_inset
\begin_inset space ~
\end_inset
-TOC\SpecialChar \menuseparator
+TOC\SpecialChar menuseparator
List of Listings
\family default
- submenu.
+.
The list entries are the listing caption and the listing number.
-\change_unchanged
-
\end_layout
\begin_layout Standard
\end_inset
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+The
+\series bold
+listings
+\series default
+ package places captions before the listing by default.
+\begin_inset Newline newline
+\end_inset
+
+The
+\series bold
+minted
+\series default
+ package places them after the listing by default if it is floating.
+ If it is not floating, caption will be typeset before the listing if it
+ is inserted to its first line, otherwise it will be typeset after the listing.
+ If you want to force the placement in every case before the listing, you
+ have to add the following lines as last thing to the preamble:
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+@ifundefined{newfloat}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+usepackage{float}}{}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+floatstyle{plaintop}
+\series default
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The package
+\series bold
+float
+\series default
+ will be loaded automatically by \SpecialChar LyX
+ when you use special document-wide float
+ placement settings.
+ To avoid that it is loaded twice the command
+\series bold
+
+\backslash
+@ifundefined
+\series default
+ is used in the above command.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
font probably doesn't provide a bold shape.
In this case select a different one in the menu
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Fonts
\family default
.
\family sans
Extended character table
\family default
- should be used when you use national characters like the German umlauts
- in the listing.
+ is only meaningful for the
+\series bold
+listings
+\series default
+ package and should be used when you use national characters like the German
+ umlauts in the listing.
\begin_inset Newline newline
\end_inset
It is also possible to print lines from a file as listing.
To do this, use the menu
\family sans
-Insert\SpecialChar \menuseparator
-File\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+File\SpecialChar menuseparator
Child Document
\family default
and choose the type
field of the child document dialog.
The label can then be referenced using the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Cross-Reference
\family default
.
\begin_inset space \thinspace{}
\end_inset
-15 of this LyX file are listed.
+15 of this \SpecialChar LyX
+ file are listed.
\end_layout
\begin_layout Standard
LatexCommand lstinputlisting
filename "EmbeddedObjects.lyx"
lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
+literal "true"
\end_inset
\begin_layout Standard
Global listings settings can be set in the
\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
Listings
\family default
dialog.
\series bold
listings
\series default
- package, we refer to its documentation
+ and
+\series bold
+minted
+\series default
+ packages, we refer to their documentation
\begin_inset CommandInset citation
LatexCommand cite
-key "listings"
+key "listings,minted"
+literal "true"
\end_inset
\begin_layout Chapter
\start_of_appendix
-Units available in LyX
+Units available in \SpecialChar LyX
+
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\end_inset
- explains all units available in LyX.
+ explains all units available in \SpecialChar LyX
+.
\end_layout
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="20" columns="2">
-<features rotate="0" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<lyxtabular version="3" rows="21" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="middle" width="50col%">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
name/description
\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ command
+\end_layout
+
\end_inset
</cell>
</row>
\begin_inset Text
\begin_layout Plain Layout
-mm
+bp
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+big point (72
+\begin_inset space \thinspace{}
+\end_inset
+
+bp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+in)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-millimeter
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-cm
+cc
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+cicero (1
+\begin_inset space \thinspace{}
+\end_inset
+
+cc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+dd)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-centimeter
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-in
+cm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+centimeter
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-inch
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-pt
+dd
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-point (72.27
+didot (1
\begin_inset space \thinspace{}
\end_inset
-pt = 1
+dd
+\begin_inset Formula $\approx$
+\end_inset
+
+ 0.376
\begin_inset space \thinspace{}
\end_inset
-in)
+mm)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-pc
+em
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-pica (1
-\begin_inset space \thinspace{}
-\end_inset
+width of letter
+\emph on
+M
+\emph default
+ in current font
+\end_layout
-pc = 12
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-pt)
+\begin_layout Plain Layout
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-sp
+ex
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-scaled point (65536
-\begin_inset space \thinspace{}
-\end_inset
+height of letter
+\emph on
+x
+\emph default
+ in current font
+\end_layout
-sp = 1
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-pt)
+\begin_layout Plain Layout
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-bp
+in
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+inch
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-big point (72
-\begin_inset space \thinspace{}
+-
+\end_layout
+
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+mm
+\end_layout
-bp = 1
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-in)
+\begin_layout Plain Layout
+millimeter
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-dd
+mu
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-didot (1
+math unit (1
\begin_inset space \thinspace{}
\end_inset
-dd
-\begin_inset Formula $\approx$
+mu = 1/18
+\begin_inset space \thinspace{}
\end_inset
- 0.376
-\begin_inset space \thinspace{}
+em)
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-mm)
+\begin_layout Plain Layout
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-cc
+pt
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-cicero (1
+point (72.27
\begin_inset space \thinspace{}
\end_inset
-cc = 12
+pt = 1
\begin_inset space \thinspace{}
\end_inset
-dd)
+in)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Scale%
+pc
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+pica (1
+\begin_inset space \thinspace{}
+\end_inset
+
+pc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of original image width
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-text%
+sp
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+scaled point (65536
+\begin_inset space \thinspace{}
+\end_inset
+
+sp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of text width
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-col%
+Column Width %
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
% of column width
\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+columnwidth
+\end_layout
+
\end_inset
</cell>
</row>
\begin_inset Text
\begin_layout Plain Layout
-page%
+Line Distance %
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% of height between baselines of two subsequent text lines
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of paper width
+
+\backslash
+baselineskip
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-line%
+Line Width %
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
% of line width
\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\backslash
+linewidth
+\end_layout
+
\end_inset
</cell>
</row>
\begin_inset Text
\begin_layout Plain Layout
-theight%
+Page Height %
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% of paper height
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of text height
+
+\backslash
+paperheight
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-pheight%
+Page Width %
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% of paper width
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of paper height
+
+\backslash
+paperwidth
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-ex
+Scale Graphics %
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% of original image width
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-height of letter
-\emph on
-x
-\emph default
- in current font
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-em
+Text Height %
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% of text height
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-width of letter
-\emph on
-M
-\emph default
- in current font
+
+\backslash
+textheight
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-mu
+Text Width %
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-math unit (1
-\begin_inset space \thinspace{}
-\end_inset
+% of text width
+\end_layout
-mu = 1/18
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-em)
+\begin_layout Plain Layout
+
+\backslash
+textwidth
\end_layout
\end_inset
\begin_layout Section
DVI
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-File Formats ! DVI
+File Formats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+DVI
\end_layout
\end_inset
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-DVI|see
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
\end_layout
\end_inset
-File Formats
-\begin_inset ERT
-status collapsed
+
+\begin_inset Index idx
+range none
+pageformat default
+status open
\begin_layout Plain Layout
+DVI
+\begin_inset IndexMacro see
+status open
-}
+\begin_layout Plain Layout
+File Formats
\end_layout
\end_inset
\begin_layout Standard
You can export your document to DVI by using the menu
\family sans
-File\SpecialChar \menuseparator
-Export\SpecialChar \menuseparator
+File\SpecialChar menuseparator
+Export\SpecialChar menuseparator
DVI
\family default
.
\begin_layout Section
PostScript
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:PostScript"
-
-\end_inset
-
-
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-File Formats ! PostScript
+File Formats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+PostScript
\end_layout
\end_inset
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-PostScript|see
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
\end_layout
\end_inset
-File Formats
-\begin_inset ERT
+
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+PostScript
+\begin_inset IndexMacro see
+status open
-}
+\begin_layout Plain Layout
+File Formats
\end_layout
\end_inset
\begin_inset Quotes erd
\end_inset
-; you can calculate with it and draw diagrams and images
+; you can calculate with it and draw diagrams and images.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-If you are interested to learn more about this, have a look at the LaTeX-package
+If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
+-package
\series bold
PSTricks
\begin_inset CommandInset citation
LatexCommand cite
key "pstricks"
+literal "true"
\end_inset
\end_inset
-.
Due to this ability, the files are often bigger than PDFs.
\end_layout
\end_inset
).
- As LyX allows you to use any known image format in your document, it has
- to convert images in the background to EPS.
+ As \SpecialChar LyX
+ allows you to use any known image format in your document, it has to
+ convert images in the background to EPS.
If you have e.g.
\begin_inset space ~
\end_inset
\begin_inset space ~
\end_inset
-images in your document, LyX has to do 50
+images in your document, \SpecialChar LyX
+ has to do 50
\begin_inset space ~
\end_inset
conversions whenever you view or export your document.
- This will slow down your work flow with LyX drastically.
+ This will slow down your work flow with \SpecialChar LyX
+ drastically.
So if you plan to use PostScript, you can insert your images directly as
EPS to avoid this problem.
\end_layout
\begin_layout Standard
You can export your document to PostScript using the menu
\family sans
-File\SpecialChar \menuseparator
-Export\SpecialChar \menuseparator
+File\SpecialChar menuseparator
+Export\SpecialChar menuseparator
Postscript
\family default
.
\begin_layout Section
PDF
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-File Formats ! PDF
+File Formats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+PDF
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\end_inset
).
- Nevertheless you can use any other image format, because LyX converts them
+ Nevertheless you can use any other image format, because \SpecialChar LyX
+ converts them
in the background to one of these formats.
But as described in the section about PostScript, the image conversion
will slow down your work flow.
\begin_layout Standard
You can export your document to PDF via the menu
\family sans
-File\SpecialChar \menuseparator
+File\SpecialChar menuseparator
Export
\family default
in three different ways:
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="17" columns="4">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
<column alignment="left" valignment="top" width="0pt">
<column alignment="left" valignment="top" width="0pt">
<column alignment="left" valignment="top" width="0pt">
n
\emph default
table cells
-\begin_inset Formula $W_{\mathrm{tot\, n}}$
+\begin_inset Formula $W_{\mathrm{tot\,n}}$
\end_inset
as follows:
\begin_inset Formula
\begin{equation}
-W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
+W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
\end{equation}
\end_inset
where
-\begin_inset Formula $W_{g\, n}$
+\begin_inset Formula $W_{g\,n}$
\end_inset
is the given width of all cells,
\backslash
tabcolsep
\series default
- is the LaTeX-length between the cell text and the cell border (its default
- value is 6
+ is the \SpecialChar LaTeX
+-length between the cell text and the cell border (its default value
+ is 6
\begin_inset space \thinspace{}
\end_inset
\end_inset
, the total width of a multicolumn
-\begin_inset Formula $W_{\mathrm{tot\, mult}}$
+\begin_inset Formula $W_{\mathrm{tot\,mult}}$
\end_inset
is
\begin_inset Formula
\begin{equation}
-W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
+W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
\end{equation}
\end_inset
\end_inset
equal we can calculate the needed given width
-\begin_inset Formula $W_{g\, n}$
+\begin_inset Formula $W_{g\,n}$
\end_inset
when
n
\emph default
columns are spanned, so that each column has a total width of
-\begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
+\begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
\end_inset
:
\begin_inset Formula
\begin{equation}
-W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
+W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
\end{equation}
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "latexcompanion"
+literal "true"
\end_inset
Frank Mittelbach and Michel Goossens:
\emph on
-The LaTeX Companion Second Edition.
+The \SpecialChar LaTeX
+ Companion Second Edition.
\emph default
Addison-Wesley, 2004
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "latexguide"
+literal "true"
\end_inset
Helmut Kopka and Patrick W.
Daly:
\emph on
-A Guide to LaTeX Fourth Edition.
+A Guide to \SpecialChar LaTeX
+ Fourth Edition.
\emph default
Addison-Wesley, 2003
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "latexbook"
+literal "true"
\end_inset
Leslie Lamport:
\emph on
-LaTeX: A Document Preparation System.
+\SpecialChar LaTeX
+: A Document Preparation System.
\emph default
Addison-Wesley, second edition, 1994
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "arydshln"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "arydshln"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! arydshln
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+arydshln
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "booktabs"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "booktabs"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! booktabs
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+booktabs
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "caption"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "caption"
-target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "diagbox"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "diagbox"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! diagbox
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+diagbox
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "endfloat"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "endfloat"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! endfloat
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+endfloat
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "footmisc"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "footmisc"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! footmisc
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+footmisc
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "hypcap"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "hypcap"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hyperref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "hyperref"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "hyperref"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hyperref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "KOMA-Script"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "KOMA-Script"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-Script
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "lettrine"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "lettrine"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
+literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "example"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
+literal "false"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! lettrine
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+lettrine
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "listings"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "listings"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
+literal "false"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+listings
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "minted"
+literal "false"
+
+\end_inset
+
+Documentation of the \SpecialChar LaTeX
+-package
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "minted"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! listings
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+minted
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "marginnote"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "marginnote"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! marginnote
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+marginnote
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "pdfpages"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "pdfpages"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! pdfpages
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+pdfpages
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "prettyref"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar 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"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! prettyref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+prettyref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "pstricks"
+literal "true"
\end_inset
-Web page of the LaTeX-package
+Web page of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "PSTricks"
target "http://tug.org/PSTricks/"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! PSTricks
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+PSTricks
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "refstyle"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "refstyle"
-target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! refstyle
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+refstyle
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "sidecap"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "sidecap"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! sidecap
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+sidecap
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "NewInLyX20"
+key "Inkscape"
+literal "true"
+
+\end_inset
+
+Documentation of the option
+\begin_inset CommandInset href
+LatexCommand href
+name "Omit text in PDF"
+target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
+literal "false"
\end_inset
+ of the program
+\noun on
\begin_inset CommandInset href
LatexCommand href
-name "Wiki page"
-target "http://wiki.lyx.org/LyX/NewInLyX20"
+name "Inkscape"
+target "https://inkscape.org"
+literal "false"
\end_inset
- about new features in
-\family sans
-LyX 2.0
-\family default
-.
+
\end_layout
\begin_layout Standard
\begin_inset CommandInset index_print
LatexCommand printindex
type "idx"
+name "Index"
+literal "false"
\end_inset