X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fdoc%2FEmbeddedObjects.lyx;h=a0eb203ef3912191d069b367d9c55748fb8c413e;hb=2ee880ff21ae663630e2ef3a2baab4bb32cc42ad;hp=f50b28a977c5f231826dce2a5ef3eb4566fa98b9;hpb=4368237595e8ad29e7e6a9afe93ab50b2cab7566;p=lyx.git diff --git a/lib/doc/EmbeddedObjects.lyx b/lib/doc/EmbeddedObjects.lyx index f50b28a977..a0eb203ef3 100644 --- a/lib/doc/EmbeddedObjects.lyx +++ b/lib/doc/EmbeddedObjects.lyx @@ -1,19 +1,10 @@ -#LyX 2.0 created this file. For more info see http://www.lyx.org/ -\lyxformat 413 +#LyX 2.2 created this file. For more info see http://www.lyx.org/ +\lyxformat 503 \begin_document \begin_header +\origin unavailable \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 @@ -64,9 +55,6 @@ % 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}}{} @@ -153,29 +141,37 @@ {\usepackage{lettrine} \setboolean{lettrine}{true}} {\setboolean{lettrine}{false}} + +% check for diagbox +\newboolean{diagbox} +\IfFileExists{diagbox.sty} + {\usepackage{diagbox} + \setboolean{diagbox}{true}} + {\setboolean{diagbox}{false}} \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,usenames,dvipsnames,table \use_default_options false \begin_modules initials +graphicboxes \end_modules \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global -\font_roman default -\font_sans default -\font_typewriter default +\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_sf_scale 100 100 +\font_tt_scale 100 100 \graphics default -\default_output_format default +\default_output_format pdf2 \output_sync 0 \bibtex_command default \index_command default @@ -198,15 +194,24 @@ initials \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_amsmath 2 -\use_esint 0 -\use_mhchem 1 -\use_mathdots 1 +\use_package amsmath 2 +\use_package amssymb 2 +\use_package cancel 0 +\use_package esint 0 +\use_package mathdots 1 +\use_package mathtools 0 +\use_package mhchem 1 +\use_package stackrel 0 +\use_package stmaryrd 0 +\use_package undertilde 0 \cite_engine basic +\cite_engine_type default +\biblio_style plain \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false +\justification true \use_refstyle 0 \notefontcolor #0000ff \index Index @@ -221,9 +226,6 @@ initials \papercolumns 1 \papersides 2 \paperpagestyle default -\bullet 1 1 34 -1 -\bullet 2 2 35 -1 -\bullet 3 2 7 -1 \tracking_changes false \output_changes false \html_math_output 0 @@ -234,19 +236,21 @@ initials \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" @@ -280,7 +284,7 @@ author: Uwe Stöhr \family sans -Version 2.0.x +Version 2.2.x \end_layout \begin_layout Standard @@ -297,8 +301,8 @@ LatexCommand tableofcontents 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 @@ -308,7 +312,7 @@ colortbl \series default , \series bold -lettrine, marginnote, picinpar +diagbox, lettrine, marginnote, picinpar \series default and \series bold @@ -404,18 +408,14 @@ name "sec:Graphics-Dialog" \begin_layout Standard To insert an image into your document, place the cursor at the text position you want and click on the toolbar icon -\family sans - \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset - -\family default or use the menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Graphics \family default . @@ -462,7 +462,8 @@ Figures ! rotated 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 @@ -503,7 +504,8 @@ externally \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 @@ -544,7 +546,7 @@ bounding box \family default will only print the image region within the given coordinates. - Normally you don't need to take care about image coordinates and can ignore + Normally you don't need to worry about image coordinates and can ignore this tab. \end_layout @@ -565,8 +567,11 @@ LyX 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 @@ -583,86 +588,6 @@ mode \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 @@ -720,6 +645,10 @@ reference "sec:Image-Formats" \end_inset within a separate, horizontally centered paragraph: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -737,6 +666,10 @@ reference "sec:Image-Formats" \begin_layout Standard This is the same image like the one above but in draft mode: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -808,19 +741,15 @@ reference "sec:FloatIntroduction" \begin_layout Standard The toolbar button -\family sans - \begin_inset Info type "icon" arg "float-insert figure" \end_inset - -\family default 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 @@ -893,7 +822,7 @@ status open \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -922,7 +851,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -990,23 +919,19 @@ reference "fig:escher" 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 -\family sans - \begin_inset Info type "icon" arg "label-insert" \end_inset - -\family default . You can now refer to the label using the menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Cross \begin_inset space ~ \end_inset @@ -1014,15 +939,11 @@ Cross reference \family default or the toolbar button -\family sans - \begin_inset Info type "icon" arg "dialog-show-new-inset ref" \end_inset - -\family default . It is important to use references to floats, rather than using vague references like @@ -1033,8 +954,9 @@ the figure above \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 @@ -1116,7 +1038,7 @@ sideways false status collapsed \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -1158,7 +1080,7 @@ sideways false status collapsed \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -1197,7 +1119,7 @@ A Platypus. \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -1206,13 +1128,6 @@ name "fig:Two-distorted-images" \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 @@ -1287,14 +1202,15 @@ reference "cha:Output-File-Formats" \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 in the background to convert the images to the right format. To increase your work flow by avoiding these conversions in the background, - you can use only the image formats that can directly be embedded in the - output file format. + you could choose to use only the image formats that can directly be embedded + in the output file format. The output file formats are explained in appendix \begin_inset space ~ \end_inset @@ -1770,7 +1686,7 @@ arg "tabular-insert" or the menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Table \family default . @@ -1782,12 +1698,16 @@ Table \begin_inset Newline newline \end_inset - The default table has lines around any cell and the first row appears separated +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 them. Here is an example table: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -1795,10 +1715,10 @@ Table \begin_inset Tabular - - - - + + + + \begin_inset Text @@ -2010,9 +1930,19 @@ Table ! Dialog \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. @@ -2035,8 +1965,11 @@ Apply 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 @@ -2082,7 +2015,7 @@ Separator \begin_inset CommandInset ref LatexCommand ref -reference "sub:Special-Cell-Alignment" +reference "subsec:Special-Cell-Alignment" \end_inset @@ -2090,14 +2023,14 @@ reference "sub:Special-Cell-Alignment" When you have set a width you can also adjust the vertical alignment of the current row. A given width will allow the cell to have line breaks and multiple paragraphs - of text, see section -\begin_inset space ~ + of text, see sec. +\begin_inset space \thinspace{} \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sub:Multiple-Lines-in" +reference "subsec:Multiple-Lines-in" \end_inset @@ -2108,25 +2041,25 @@ reference "sub:Multiple-Lines-in" \end_inset Furthermore, you can mark one or multiple cells of one row as a multicolumn - cell, see section -\begin_inset space ~ + cell, see sec. +\begin_inset space \thinspace{} \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sub:Multicolumns" +reference "subsec:Multicolumns" \end_inset - or the cells of one column as multirow cell, see section -\begin_inset space ~ + or the cells of one column as multirow cell, see sec. +\begin_inset space \thinspace{} \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sub:Multirows" +reference "subsec:Multirows" \end_inset @@ -2135,8 +2068,25 @@ reference "sub:Multirows" \end_inset The rotate check boxes rotate the current cell, a selection, or the whole - table counter-clockwise by 90°. - The rotation is not shown within LyX, only in the output. + table counter-clockwise by 90 +\begin_inset space \thinspace{} +\end_inset + +°. + The rotation is not shown within \SpecialChar LyX +, only in the output. + For more information see sec. +\begin_inset space \thinspace{} +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Rotated-Table-Cells" + +\end_inset + +. \begin_inset Newline newline \end_inset @@ -2167,7 +2117,7 @@ A line with tables with different alignments: - + \begin_inset Text @@ -2234,8 +2184,8 @@ A \begin_inset Tabular - - + + \begin_inset Text @@ -2303,7 +2253,7 @@ A - + \begin_inset Text @@ -2370,15 +2320,16 @@ A \begin_inset Newline newline \end_inset -It is also possible to enter a LaTeX-argument which is needed for special - table formattings, see section -\begin_inset space ~ +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 @@ -2405,8 +2356,8 @@ Using the style option \family sans Formal \family default - will convert the table to a formal table as described in section -\begin_inset space ~ + will convert the table to a formal table as described in sec. +\begin_inset space \thinspace{} \end_inset @@ -2420,14 +2371,14 @@ reference "sec:Formal-Tables" \begin_inset Newline newline \end_inset -You can also add here space to table rows as described in section -\begin_inset space ~ +You can also add space here to table rows as described in sec. +\begin_inset space \thinspace{} \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sub:Row-Spacing" +reference "subsec:Row-Spacing" \end_inset @@ -2490,10 +2441,12 @@ Table ! Toolbar \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 @@ -2502,297 +2455,253 @@ The toolbar has the following icons: \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular append-row" \end_inset - -\family default adds a row below the current cell or selection \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular append-column" \end_inset - -\family default adds a column right beside the current cell or selection \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular delete-row" \end_inset - -\family default deletes the current row or selection \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular delete-column" \end_inset - -\family default deletes the current column or selection \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 +\begin_inset Info +type "icon" +arg "inset-modify tabular move-row-up" +\end_inset -\family sans + moves the row up +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 \begin_inset Info type "icon" -arg "inset-modify tabular toggle-line-top" +arg "inset-modify tabular move-column-left" \end_inset + moves the column to the left +\end_layout -\family default - adds a line at the top of the current cell / row or of a selection +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Info +type "icon" +arg "inset-modify tabular move-row-down" +\end_inset + + moves the row down \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 +\begin_inset Info +type "icon" +arg "inset-modify tabular move-column-right" +\end_inset -\family sans + moves the column to the right +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 \begin_inset Info type "icon" -arg "inset-modify tabular toggle-line-bottom" +arg "inset-modify tabular toggle-line-top" \end_inset + adds a line at the top of the current cell / row or of a selection +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Info +type "icon" +arg "inset-modify tabular toggle-line-bottom" +\end_inset -\family default adds a line at the bottom of the current cell / row or of a selection \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular toggle-line-left" \end_inset - -\family default adds a line at the left side of the current cell / row or of a selection \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular toggle-line-right" \end_inset - -\family default adds a line at the right side of the current cell / row or of a selection \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular set-all-lines" \end_inset - -\family default adds lines around the current or selected cells - if the current cell no multicolumn cell this also affects the current row and column \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular unset-all-lines" \end_inset - -\family default deletes all lines of the current or selected cells - if the current cell no multicolumn cell this also affects the current row and column \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular m-align-left" \end_inset - -\family default left-aligns the content of the current cell / column \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular m-align-center" \end_inset - -\family default centers the content of the current cell / column horizontally \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular m-align-right" \end_inset - -\family default right-aligns the content of the current cell / column \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular align-decimal" \end_inset - -\family default aligns the content of the current column at a character \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular m-valign-top" \end_inset - -\family default aligns the content of the current cell vertically to the top \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular m-valign-middle" \end_inset - -\family default centers the content of the current cell vertically \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular m-valign-bottom" \end_inset - -\family default aligns the content of the current cell vertically to the bottom \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular set-rotate-cell" \end_inset - -\family default rotates the current cell or selection counter-clockwise by 90° \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular set-rotate-tabular" \end_inset - -\family default rotates the whole table counter-clockwise by 90° \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular multicolumn" \end_inset - -\family default sets the current cell or selection as a multicolumn \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 - -\family sans \begin_inset Info type "icon" arg "inset-modify tabular multirow" \end_inset - -\family default sets the current cell or selection as a multirow \end_layout @@ -2829,9 +2738,9 @@ Table ! Edit Menu \end_layout \begin_layout Standard -Additionally to the table dialog and toolbar, the menu +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 @@ -2893,7 +2802,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -3113,20 +3022,16 @@ c & d \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 -\family sans - \begin_inset Info type "icon" arg "float-insert table" \end_inset - -\family default . \end_layout @@ -3165,7 +3070,8 @@ reference "tab:a table float" \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 @@ -3184,7 +3090,8 @@ report \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 @@ -3193,7 +3100,8 @@ caption status collapsed \begin_layout Plain Layout -LaTeX-packages ! caption +\SpecialChar LaTeX +-packages ! caption \end_layout \end_inset @@ -3260,23 +3168,19 @@ References ! to Tables 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 -\family sans - \begin_inset Info type "icon" arg "label-insert" \end_inset - -\family default . You can now refer to the label using the menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Cross \begin_inset space ~ \end_inset @@ -3284,15 +3188,11 @@ Cross reference \family default or the toolbar button -\family sans - \begin_inset Info type "icon" arg "dialog-show-new-inset ref" \end_inset - -\family default . \begin_inset Newline newline \end_inset @@ -3418,7 +3318,7 @@ Caption: The current row contains the table caption. \begin_inset CommandInset ref LatexCommand ref -reference "sub:Longtable-Captions" +reference "subsec:Longtable-Captions" \end_inset @@ -3428,6 +3328,10 @@ reference "sub:Longtable-Captions" \begin_layout Standard You can also specify a row where the table is split. See the following longtable to see how it works: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -5604,7 +5508,7 @@ See the first greyed-out note in section \begin_inset CommandInset ref LatexCommand ref -reference "sub:Longtable-Captions" +reference "subsec:Longtable-Captions" \end_inset @@ -5620,7 +5524,7 @@ reference "sub:Longtable-Captions" Footnotes in Longtables \begin_inset CommandInset label LatexCommand label -name "sub:Footnotes-in-Longtables" +name "subsec:Footnotes-in-Longtables" \end_inset @@ -5674,7 +5578,8 @@ The horizontal alignment of longtables 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 @@ -5686,7 +5591,8 @@ or \backslash LTright \series default - by inserting this line as TeX-Code before the longtable: + by inserting this line as \SpecialChar TeX + Code before the longtable: \end_layout \begin_layout Standard @@ -5732,7 +5638,8 @@ LTright \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 @@ -5772,11 +5679,11 @@ columnwidth} \begin_inset Tabular - + - - - + + + \begin_inset Text @@ -6058,7 +5965,7 @@ See the first greyed-out note in section \begin_inset CommandInset ref LatexCommand ref -reference "sub:Longtable-Captions" +reference "subsec:Longtable-Captions" \end_inset @@ -6084,7 +5991,7 @@ Longtables ! Captions \begin_inset CommandInset label LatexCommand label -name "sub:Longtable-Captions" +name "subsec:Longtable-Captions" \end_inset @@ -6111,7 +6018,8 @@ reference "sec:Longtables" \end_inset . - Only one table row can contain the caption. + Only one table row should contain a caption, either a header or a footer + row. \end_layout \begin_layout Standard @@ -6122,21 +6030,21 @@ Here is a short longtable to see how it works: \begin_inset Tabular - - - - - - + + + + + + \begin_inset Text \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout Longtable with caption -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -6451,8 +6359,8 @@ Note 1: \series default - The table number is increased for for every longtable, even if you did - not set a caption for it. + The table number is increased for every longtable, even if you did not + set a caption for it. For this reason you could have the case that e. \begin_inset space \thinspace{} \end_inset @@ -6470,8 +6378,9 @@ Table \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: + To avoid this you can add the following command in \SpecialChar TeX + Code after every longtable + without a caption: \end_layout \begin_layout Plain Layout @@ -6483,7 +6392,7 @@ addtocounter{table}{-1} \end_layout \begin_layout Plain Layout -This is not needed when none of your longtables have a caption and you add +This is not needed when none of your longtables has a caption and you add the following code to the document preamble: \end_layout @@ -6538,7 +6447,8 @@ Note status collapsed \begin_layout Plain Layout -LaTeX-packages ! hyperref +\SpecialChar LaTeX +-packages ! hyperref \end_layout \end_inset @@ -6578,17 +6488,17 @@ Longtables ! References \begin_inset Tabular - - - - - - + + + + + + \begin_inset Text \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout Referenced longtable @@ -6908,7 +6818,8 @@ reference "tab:RefExample" \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 @@ -6917,7 +6828,8 @@ caption status collapsed \begin_layout Plain Layout -LaTeX-packages ! caption +\SpecialChar LaTeX +-packages ! caption \end_layout \end_inset @@ -6951,7 +6863,7 @@ Longtables ! Caption Width \end_layout \begin_layout Standard -The maximal width of of caption lines is defined by the length +The maximal width of caption lines is defined by the length \series bold \backslash @@ -6964,7 +6876,8 @@ LTcapwidth 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 longtable that should be affected \end_layout \begin_layout Standard @@ -7000,22 +6913,22 @@ The following tables show the difference: \begin_inset Tabular - - - - - - + + + + + + \begin_inset Text \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout long full title with default width long full title with default width long full title with default width -\begin_inset Argument +\begin_inset Argument 1 status collapsed \begin_layout Plain Layout @@ -7332,17 +7245,17 @@ LTcapwidth}{5cm} \begin_inset Tabular - - - - - - + + + + + + \begin_inset Text \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout long full title with width set to 5 @@ -7358,7 +7271,7 @@ cm long full title with width set to 5 \end_inset cm -\begin_inset Argument +\begin_inset Argument 1 status collapsed \begin_layout Plain Layout @@ -7695,7 +7608,8 @@ status open \series bold Note: \series default - When the LaTeX-package + When the \SpecialChar LaTeX +-package \series bold caption \series default @@ -7704,7 +7618,8 @@ caption status collapsed \begin_layout Plain Layout -LaTeX-packages ! caption +\SpecialChar LaTeX +-packages ! caption \end_layout \end_inset @@ -7741,7 +7656,8 @@ g. \begin_inset space \thinspace{} \end_inset -in, or the LaTeX-command +in, or the \SpecialChar LaTeX +-command \series bold \backslash @@ -7775,23 +7691,16 @@ Longtables ! Different Captions for Pages \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 -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -caption*{caption text} -\backslash - -\backslash -% -\end_layout + 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 -\begin_layout Standard -in a dummy caption row that is marked as a header. +(LongTableNoNumber) +\family default +. Table \begin_inset space ~ \end_inset @@ -7804,23 +7713,27 @@ reference "tab:DiffCaptions" \end_inset is an example of a longtable with different heading where the second caption - doesn't include the table number. + does not include the table number. +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard \align center \begin_inset Tabular - + - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout Example Phone List @@ -7831,7 +7744,7 @@ name "tab:DiffCaptions" \end_inset -\begin_inset Argument +\begin_inset Argument 1 status collapsed \begin_layout Plain Layout @@ -7933,23 +7846,15 @@ TEL. \end_inset - - + + \begin_inset Text \begin_layout Plain Layout -\begin_inset ERT -status open +\begin_inset Caption LongTableNoNumber \begin_layout Plain Layout - - -\backslash -caption*{Continued Example Phone List} -\backslash - -\backslash -% +Continued Example Phone List \end_layout \end_inset @@ -7959,7 +7864,7 @@ caption*{Continued Example Phone List} \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -7968,7 +7873,7 @@ caption*{Continued Example Phone List} \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8083,7 +7988,7 @@ Annovi \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8092,7 +7997,7 @@ Silvia \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8114,7 +8019,7 @@ Bertoli \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8123,7 +8028,7 @@ Stefano \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8145,7 +8050,7 @@ Bozzi \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8154,7 +8059,7 @@ Walter \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8176,7 +8081,7 @@ Cachia \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8185,7 +8090,7 @@ Maria \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8207,7 +8112,7 @@ Cachia \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8216,7 +8121,7 @@ Maurizio \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8238,7 +8143,7 @@ Cinquemani \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8247,7 +8152,7 @@ Giusi \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8269,7 +8174,7 @@ Colin \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8278,7 +8183,7 @@ Bernard \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8300,7 +8205,7 @@ Concli \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8309,7 +8214,7 @@ Gianfranco \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8331,7 +8236,7 @@ Dal Bosco \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8340,7 +8245,7 @@ Carolina \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8362,7 +8267,7 @@ Dalpiaz \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8371,7 +8276,7 @@ Annamaria \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8393,7 +8298,7 @@ Feliciello \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8402,7 +8307,7 @@ Domenico \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8424,7 +8329,7 @@ Focarelli \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8433,7 +8338,7 @@ Paola \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8455,7 +8360,7 @@ Galletti \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8464,7 +8369,7 @@ Oreste \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8486,7 +8391,7 @@ Gasparini \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8495,7 +8400,7 @@ Franca \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8529,7 +8434,7 @@ Example footnote \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8538,7 +8443,7 @@ Paola \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8560,7 +8465,7 @@ Lassini \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8569,7 +8474,7 @@ Giancarlo \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8591,7 +8496,7 @@ Malfatti \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8600,7 +8505,7 @@ Luciano \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8622,7 +8527,7 @@ Malfatti \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8631,7 +8536,7 @@ Valeriano \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8653,7 +8558,7 @@ Meneguzzo \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8662,7 +8567,7 @@ Roberto \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8684,7 +8589,7 @@ Mezzadra \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8693,7 +8598,7 @@ Roberto \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8715,7 +8620,7 @@ Pirpamer \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8724,7 +8629,7 @@ Erich \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8746,7 +8651,7 @@ Pochiesa \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8755,7 +8660,7 @@ Paolo \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8777,7 +8682,7 @@ Radina \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8786,7 +8691,7 @@ Claudio \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8808,7 +8713,7 @@ Stuffer \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8817,7 +8722,7 @@ Oskar \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8839,7 +8744,7 @@ Tacchelli \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8848,7 +8753,7 @@ Ugo \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8870,7 +8775,7 @@ Tezzele \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8879,7 +8784,7 @@ Margit \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8901,7 +8806,7 @@ Unterkalmsteiner \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8910,7 +8815,7 @@ Frieda \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8932,7 +8837,7 @@ Vieider \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8941,7 +8846,7 @@ Hilde \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8963,7 +8868,7 @@ Vigna \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8972,7 +8877,7 @@ Jürgen \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -8994,7 +8899,7 @@ Weber \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9003,7 +8908,7 @@ Maurizio \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9025,7 +8930,7 @@ Winkler \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9034,7 +8939,7 @@ Franz \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9085,7 +8990,7 @@ Annovi \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9094,7 +8999,7 @@ Silvia \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9116,7 +9021,7 @@ Bertoli \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9125,7 +9030,7 @@ Stefano \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9147,7 +9052,7 @@ Bozzi \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9156,7 +9061,7 @@ Walter \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9178,7 +9083,7 @@ Cachia \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9187,7 +9092,7 @@ Maria \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9209,7 +9114,7 @@ Cachia \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9218,7 +9123,7 @@ Maurizio \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9240,7 +9145,7 @@ Cinquemani \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9249,7 +9154,7 @@ Giusi \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9271,7 +9176,7 @@ Colin \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9280,7 +9185,7 @@ Bernard \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9302,7 +9207,7 @@ Concli \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9311,7 +9216,7 @@ Gianfranco \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9333,7 +9238,7 @@ Dal Bosco \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9342,7 +9247,7 @@ Carolina \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9364,7 +9269,7 @@ Dalpiaz \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9373,7 +9278,7 @@ Annamaria \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9395,7 +9300,7 @@ Feliciello \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9404,7 +9309,7 @@ Domenico \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9426,7 +9331,7 @@ Focarelli \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9435,7 +9340,7 @@ Paola \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9457,7 +9362,7 @@ Galletti \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9466,7 +9371,7 @@ Oreste \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9488,7 +9393,7 @@ Gasparini \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9497,7 +9402,7 @@ Franca \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9519,7 +9424,7 @@ Rizzardi \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9528,7 +9433,7 @@ Paola \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9550,7 +9455,7 @@ Lassini \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9559,7 +9464,7 @@ Giancarlo \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9581,7 +9486,7 @@ Malfatti \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9590,7 +9495,7 @@ Luciano \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9612,7 +9517,7 @@ Malfatti \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9621,7 +9526,7 @@ Valeriano \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9643,7 +9548,7 @@ Meneguzzo \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9652,7 +9557,7 @@ Roberto \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9674,7 +9579,7 @@ Mezzadra \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9683,7 +9588,7 @@ Roberto \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -9726,9 +9631,11 @@ Longtables ! Calculation \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. +\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 table rows. If you are using longtables with many pages this may slow down the creation of your document. @@ -9771,8 +9678,8 @@ clear page (menu \family sans -Insert\SpecialChar \menuseparator -Formatting\SpecialChar \menuseparator +Insert\SpecialChar menuseparator +Formatting\SpecialChar menuseparator Clear \begin_inset space ~ \end_inset @@ -9815,7 +9722,8 @@ By default tables are only broken between rows. \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 @@ -9824,7 +9732,8 @@ By default tables are only broken between rows. \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 @@ -9842,7 +9751,8 @@ By default tables are only broken between rows. & \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 @@ -9877,7 +9787,8 @@ reference "tab:ForcedPagebreak" 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 @@ -9963,9 +9874,14 @@ parfillskip}{0pt} \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. +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -9976,12 +9892,12 @@ must be inserted as TeX-Code at the beginning of the cell. - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout Table with forced page break in table cell @@ -9992,7 +9908,7 @@ name "tab:ForcedPagebreak" \end_inset -\begin_inset Argument +\begin_inset Argument 1 status collapsed \begin_layout Plain Layout @@ -11234,14 +11150,14 @@ Franz \end_layout \begin_layout Section -Multiple Lines Columns and Rows +Multiple Lines, Columns and Rows \end_layout \begin_layout Subsection Multiple Lines in Table Cells \begin_inset CommandInset label LatexCommand label -name "sub:Multiple-Lines-in" +name "subsec:Multiple-Lines-in" \end_inset @@ -11277,7 +11193,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -11300,8 +11216,8 @@ Table with multiple lines in cells - - + + \begin_inset Text @@ -11447,7 +11363,8 @@ arg "newline-insert linebreak" \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 @@ -11478,7 +11395,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -11504,8 +11421,8 @@ Table with and without hyphenation - - + + \begin_inset Text @@ -11606,8 +11523,8 @@ i - - + + \begin_inset Text @@ -11719,7 +11636,7 @@ i Multicolumns \begin_inset CommandInset label LatexCommand label -name "sub:Multicolumns" +name "subsec:Multicolumns" \end_inset @@ -11753,19 +11670,15 @@ Multicolumn Basics \begin_layout Standard To merge cells over multiple columns, select as many cells within a row as you want to merge and use either the table-toolbar button -\family sans - \begin_inset Info type "icon" arg "inset-modify tabular multicolumn" \end_inset - -\family default , 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 @@ -11781,6 +11694,10 @@ Multicolumns have there own cell settings. the multicolumn. Here is an example table with a multicolumn cell in the first row and one in the last row without the upper border: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -11789,7 +11706,7 @@ Multicolumns have there own cell settings. - + @@ -11926,7 +11843,7 @@ D Multicolumn Calculations \begin_inset CommandInset label LatexCommand label -name "sub:Multicolumn-Calculations" +name "subsec:Multicolumn-Calculations" \end_inset @@ -11944,7 +11861,8 @@ Multicolumns ! Calculations \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 @@ -11956,7 +11874,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -11967,7 +11885,7 @@ name "tab:Table-with-centered" Table with centered multicolumn text above two columns that have exactly half the width of the multicolumn cell -\begin_inset Argument +\begin_inset Argument 1 status collapsed \begin_layout Plain Layout @@ -11989,9 +11907,9 @@ Perfect multicolumn table \begin_inset Tabular - - - + + + \begin_inset Text @@ -12150,7 +12068,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -12161,7 +12079,7 @@ name "tab:Table-without-half" Table where the spanned table columns are not exactly half the width of the multicolumn cell -\begin_inset Argument +\begin_inset Argument 1 status collapsed \begin_layout Plain Layout @@ -12184,8 +12102,8 @@ Imperfect multicolumn table - - + + \begin_inset Text @@ -12313,7 +12231,7 @@ reference "cha:Explanation-of-Equation" \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 @@ -12322,13 +12240,13 @@ n \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 @@ -12364,7 +12282,9 @@ W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt} \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 @@ -12373,7 +12293,8 @@ calc status collapsed \begin_layout Plain Layout -LaTeX-packages ! calc +\SpecialChar LaTeX +-packages ! calc \end_layout \end_inset @@ -12390,13 +12311,15 @@ usepackage{calc} \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 @@ -12425,8 +12348,9 @@ b{width} \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 @@ -12438,7 +12362,8 @@ status open \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 @@ -12454,7 +12379,8 @@ As the text should be horizontally centered, the command 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 @@ -12477,8 +12403,10 @@ The command \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 @@ -12493,7 +12421,7 @@ centering}m{2.5cm} Multirows \begin_inset CommandInset label LatexCommand label -name "sub:Multirows" +name "subsec:Multirows" \end_inset @@ -12523,19 +12451,15 @@ Table ! Multirows \begin_layout Standard To merge cells over multiple rows, select as many cells within a column as you want to merge and use either the table-toolbar button -\family sans - \begin_inset Info type "icon" arg "inset-modify tabular multirow" \end_inset - -\family default , 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 @@ -12547,211 +12471,220 @@ Multirow \begin_layout Standard Here is an example table with a multirow in the first column: -\end_layout - -\begin_layout Standard -\align center -\begin_inset Tabular - - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -a long cell entry -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -b -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -c -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -multirow -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -e -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -f -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -h -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -i -\end_layout - +\begin_inset Separator parbreak \end_inset - - - -\end_inset - - -\end_layout -\begin_layout Standard -The width of multirow cells is set by setting the width and alignment for - the whole column. - The -\family sans -Vertical Offset -\family default - shifts the content of the multirow up/down if the offset is positive/negative. \end_layout \begin_layout Standard -If the column of a multirow cell has no explicit width, the multirow cell - inherits the alignment of the column. - Otherwise it is by default left-aligned. - To override the default, renew the command -\series bold - -\backslash -multirowsetup -\series default - with the command -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -renewcommand{ -\backslash -multirowsetup}{ -\backslash -centering} -\end_layout - -\begin_layout Standard -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. - If the text should be right-aligned, replace -\series bold - -\backslash -centering -\series default - by -\series bold - -\backslash -raggedleft -\series default -. - To return to left-alignment -\series bold - -\backslash -raggedright -\series default - is used. -\end_layout - -\begin_layout Standard -This is an example table with a right-aligned multirow cell that has a vertical - offset of -4 -\begin_inset space \thinspace{} -\end_inset - -mm and is in a 3 -\begin_inset space \thinspace{} -\end_inset - -cm wide column: -\end_layout - -\begin_layout Standard -\noindent \align center -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -multirowsetup}{ -\backslash -raggedleft} -\end_layout - -\end_inset - - \begin_inset Tabular - + - - - + + + + + +\begin_inset Text + +\begin_layout Plain Layout +a long cell entry +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +multirow +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +The width of multirow cells is set by setting the width and alignment for + the whole column. + The +\family sans +Vertical Offset +\family default + shifts the content of the multirow up/down if the offset is positive/negative. +\end_layout + +\begin_layout Standard +If the column of a multirow cell has no explicit width, the multirow cell + inherits the alignment of the column. + Otherwise it is by default left-aligned. + To override the default, renew the command +\series bold + +\backslash +multirowsetup +\series default + with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +multirowsetup}{ +\backslash +centering} +\end_layout + +\begin_layout Standard +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 \SpecialChar TeX + Code box just before the table instead of the preamble. + If the text should be right-aligned, replace +\series bold + +\backslash +centering +\series default + by +\series bold + +\backslash +raggedleft +\series default +. + To return to left-alignment +\series bold + +\backslash +raggedright +\series default + is used. +\end_layout + +\begin_layout Standard +This is an example table with a right-aligned multirow cell that has a vertical + offset of -4 +\begin_inset space \thinspace{} +\end_inset + +mm and is in a 3 +\begin_inset space \thinspace{} +\end_inset + +cm wide column: +\begin_inset Separator parbreak +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +\align center +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +multirowsetup}{ +\backslash +raggedleft} +\end_layout + +\end_inset + + +\begin_inset Tabular + + + + + \begin_inset Text @@ -12901,6 +12834,10 @@ arg "newline-insert newline" \end_inset ) but this will not respect the cell lines as demonstrated in this table: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -12910,7 +12847,7 @@ arg "newline-insert newline" - + \begin_inset Text @@ -12990,146 +12927,127 @@ eee Therefore be careful with forced line breaks. \end_layout -\begin_layout Section -Formal Tables -\begin_inset CommandInset label -LatexCommand label -name "sec:Formal-Tables" - -\end_inset +\begin_layout Subsection +Cells with diagonal line(s) +\end_layout +\begin_layout Standard +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 \SpecialChar LaTeX + package +\series bold +diagbox +\series default \begin_inset Index idx status collapsed \begin_layout Plain Layout -Table ! Formal +\SpecialChar LaTeX +-packages ! picinpar \end_layout \end_inset + in the document preamble. + The package provides the command +\series bold -\end_layout - -\begin_layout Standard -Tables are often typeset in books similar to Table +\backslash +diagbox +\series default + that is inserted as \SpecialChar TeX + Code and that can take 2 or 3 \begin_inset space ~ \end_inset +arguments: +\end_layout -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Example-booktabs-table" +\begin_layout Standard -\end_inset +\series bold -. - This kind of tables is called -\begin_inset Quotes eld -\end_inset +\backslash +diagbox[options]{lower left}{upper right} +\end_layout + +\begin_layout Standard +\series bold -\emph on -formal -\emph default +\backslash +diagbox[options]{lower left}{upper left}{upper right} +\end_layout -\begin_inset Quotes erd +\begin_layout Standard +The first scheme divides the cell by a single diagonal line and the arguments + are placed below and above this line. + The second scheme divides the cell by 2 +\begin_inset space ~ \end_inset -. - To make a table a formal table use the option -\family sans -Formal -\family default - in the -\family sans -Borders -\family default - tab of the table dialog. +lines. \end_layout \begin_layout Standard -\begin_inset Float table -placement h -wide false -sideways false -status open - -\begin_layout Plain Layout -\begin_inset Caption +\begin_inset ERT +status collapsed \begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Example-booktabs-table" -\end_inset -Example booktabs-table +\backslash +ifdiagbox \end_layout \end_inset -\end_layout - -\begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - - - - -\begin_inset Text +\begin_inset Note Note +status open \begin_layout Plain Layout -System +The following section will only be displayed when the \SpecialChar LaTeX +-package +\series bold +diagbox +\series default + is installed. \end_layout \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -Chip -\begin_inset space \thinspace{} -\end_inset -1 \end_layout -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -Chip -\begin_inset space \thinspace{} -\end_inset - -2 -\end_layout +\begin_layout Standard +Here is an example table where +\series bold +\backslash +diagbox +\series default +is used in the 2-argument scheme in the first cell: +\begin_inset VSpace medskip \end_inset - - -\begin_inset Text -\begin_layout Plain Layout \end_layout -\end_inset - - +\begin_layout Standard +\noindent +\begin_inset Tabular + + + + + + - + \begin_inset Text \begin_layout Plain Layout @@ -13140,177 +13058,212 @@ status collapsed \backslash -cmidrule(r){2-2} +diagbox{ \end_layout \end_inset - +Name \begin_inset ERT status collapsed \begin_layout Plain Layout +}{ +\end_layout -\backslash -cmidrule(l){3-4} +\end_inset + +Parameter +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} \end_layout \end_inset -Detector thickness in µm + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -300 +Thickness in nm \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -300 +Transparency in % \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -700 +Hardness in MPa \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -Edge angle in ° +Perfect Green \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -3.55 +45 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -2.71 +80 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -7.99 +504 \end_layout \end_inset - - + + \begin_inset Text \begin_layout Plain Layout -Spatial resolution in µm +Dark Multi-P \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -4.26 +60 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -10.17 +72 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -10.56 +982 \end_layout \end_inset - - + + \begin_inset Text \begin_layout Plain Layout -MTF at -\begin_inset Formula $f_{\mathrm{max}}$ -\end_inset - - +Crystal Clear Pro \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -0.53 +18 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -0.37 +86 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -0.39 +374 \end_layout \end_inset - - + + +\end_inset + + +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +The 3-argument scheme is for example useful for cross-tables of sports leagues + or distances: +\begin_inset Separator parbreak +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +\align center +\begin_inset Tabular + + + + + + + + \begin_inset Text \begin_layout Plain Layout @@ -13321,502 +13274,264 @@ status collapsed \backslash -cmidrule(l{10pt}){1-1} +diagbox{ \end_layout \end_inset -LSF-spatial resolution +Team home +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +}{ \end_layout \end_inset - - -\begin_inset Text + +Result +\begin_inset ERT +status collapsed \begin_layout Plain Layout +}{ +\end_layout + +\end_inset + +Team away +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +Tigers \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout +Panthers +\end_layout + +\end_inset + + +\begin_inset Text +\begin_layout Plain Layout +Falcons \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -in µm +Tigers \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -129.7 +— \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -52.75 +1:3 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -50.78 +0:1 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -in % of pixel size +Panthers \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -76.3 +3:1 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -95.9 +— \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -92.3 +0:0 \end_layout \end_inset - - -\end_inset - + + +\begin_inset Text +\begin_layout Plain Layout +Falcons \end_layout \end_inset + + +\begin_inset Text - +\begin_layout Plain Layout +1:0 \end_layout -\begin_layout Standard -Spaces to table rows can be added using the -\family sans -Borders -\family default - tab of the table dialog as described in section -\begin_inset space ~ \end_inset + + +\begin_inset Text - -\begin_inset CommandInset ref -LatexCommand ref -reference "sub:Row-Spacing" +\begin_layout Plain Layout +0:0 +\end_layout \end_inset + + +\begin_inset Text -. -\end_layout - -\begin_layout Standard -Unlike normal tables, formal tables have no vertical table lines. - The horizontal table lines can be set as for normal tables but they appear - with different widths in the output: -\begin_inset Newline newline -\end_inset - -The first and the last table line have a default width of 0.08 -\begin_inset space \thinspace{} -\end_inset - -em while the other lines have a default width of 0.05 -\begin_inset space \thinspace{} -\end_inset - -em. -\end_layout - -\begin_layout Standard -The default widths can be changed with the following preamble lines -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -let -\backslash -mytoprule -\backslash -toprule -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -toprule}{ -\backslash -mytoprule[width]} -\end_layout - -\begin_layout Standard -This example is for the first line, the so called -\series bold -toprule -\series default -. - If you want to change the width for the last line, replace -\series bold -toprule -\series default - by -\series bold -bottomrule -\series default -. - To change the width for the other lines replace -\series bold -toprule -\series default - by -\series bold -midrule -\series default -. - You can use all units listed in appendix -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "cha:Units-available-in" - -\end_inset - - to set the width. -\end_layout - -\begin_layout Standard -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 -\series bold - -\backslash -cmidrule -\series default - to create this line. - Its full scheme is -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -cmidrule[width](trim){startcol-endcol} -\end_layout - -\begin_layout Standard -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. - -\series bold - -\backslash -cmidrule -\series default -s can manually be created by inserting the command as 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. -\end_layout - -\begin_layout Standard -The default for the width 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 -\emph on -l{trimwidth} -\emph default -, or -\emph on -r{trimwidth} -\emph default - where the trimwidth is also optional. - Using for example the parameter -\emph on -l{2pt} -\emph default - means that the line is trimmed from its left end by 2 -\begin_inset space \thinspace{} -\end_inset - -pt. - If you don't specify the trimwidth the lines are trimmed by the default - of 0.5 -\begin_inset space \thinspace{} -\end_inset - -em. -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - -Table -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Example-booktabs-table" - -\end_inset - - was created using the commands -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -cmidrule(r){2-2} -\backslash -cmidrule(l){3-4} -\end_layout - -\begin_layout Standard -at the beginning of the second row and -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -cmidrule(l{10pt}){1-1} -\end_layout - -\begin_layout Standard -in the sixth row. -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - - +\begin_layout Plain Layout +— \end_layout -\begin_layout Standard -You might want to have overlapping -\series bold - -\backslash -cmidrule -\series default -s as in in Table -\begin_inset space ~ \end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Special-booktabs-table" + + + \end_inset -. - This can be achieved with the TeX-Code command -\end_layout - -\begin_layout Standard - -\series bold -\backslash -morecmidrules \end_layout \begin_layout Standard -The command that was used for the second row of Table -\begin_inset space ~ +For larger cross-tables one might use split cells in 2 or every corner of + the table like in this example: +\begin_inset Separator parbreak \end_inset -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Special-booktabs-table" - -\end_inset - - is \end_layout \begin_layout Standard +\noindent +\align center +\begin_inset Tabular + + + + + + + + + +\begin_inset Text -\series bold - -\backslash -cmidrule(r){2-2} -\backslash -cmidrule(l){3-4} -\backslash -morecmidrules -\backslash -cmidrule{2-4} -\end_layout - -\begin_layout Standard -The command for the sixth row is -\end_layout +\begin_layout Plain Layout +\begin_inset ERT +status open -\begin_layout Standard +\begin_layout Plain Layout -\series bold \backslash -midrule -\backslash -morecmidrules -\backslash -cmidrule{3-4} +diagbox{ \end_layout -\begin_layout Standard -\begin_inset VSpace bigskip \end_inset +Team home +\begin_inset ERT +status collapsed -\end_layout - -\begin_layout Standard -If you are anyway not satisfied with the border line spacing, you can use - the following command to produce lines that span over all table columns -\series bold -: -\end_layout - -\begin_layout Standard - -\series bold +\begin_layout Plain Layout -\backslash -specialrule{width}{space above}{space below} +}{ \end_layout -\begin_layout Standard -For more information about these features, refer to the manual of the LaTeX-pack -age -\series bold -booktabs -\series default - -\begin_inset CommandInset citation -LatexCommand cite -key "booktabs" - \end_inset -. -\begin_inset Index idx +Result +\begin_inset ERT status collapsed \begin_layout Plain Layout -LaTeX-packages ! booktabs -\end_layout - -\end_inset - +}{ \end_layout -\begin_layout Standard -\begin_inset Float table -placement h -wide false -sideways false -status open +\end_inset -\begin_layout Plain Layout -\begin_inset Caption +Team away +\begin_inset ERT +status collapsed \begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Special-booktabs-table" - -\end_inset -Special booktabs-table +} \end_layout \end_inset @@ -13824,402 +13539,363 @@ Special booktabs-table \end_layout -\begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -System -\end_layout - \end_inset - + \begin_inset Text \begin_layout Plain Layout -Chip -\begin_inset space \thinspace{} -\end_inset - -1 +Tigers \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -Chip -\begin_inset space \thinspace{} -\end_inset - -2 +Panthers \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +Falcons \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout \begin_inset ERT -status collapsed +status open \begin_layout Plain Layout \backslash -cmidrule(r){2-2} +diagbox[dir=NE]{ \end_layout \end_inset - +Team home \begin_inset ERT status collapsed \begin_layout Plain Layout - -\backslash -cmidrule(l){3-4} +}{ \end_layout \end_inset - +Result \begin_inset ERT status collapsed \begin_layout Plain Layout - -\backslash -morecmidrules +}{ \end_layout \end_inset - +Team away \begin_inset ERT status collapsed \begin_layout Plain Layout - -\backslash -cmidrule{2-4} +} \end_layout \end_inset -Detector thickness in µm + \end_layout \end_inset - + + + \begin_inset Text \begin_layout Plain Layout -300 +Tigers \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -300 +— \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -700 +1:3 \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout -Edge angle in ° +0:1 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -3.55 +Tigers \end_layout \end_inset - + + + \begin_inset Text \begin_layout Plain Layout -2.71 +Panthers \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -7.99 +3:1 \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout -Spatial resolution in µm +— \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -4.26 +0:0 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -10.17 +Panthers \end_layout \end_inset - + + + \begin_inset Text \begin_layout Plain Layout -10.56 +Falcons \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout -MTF at -\begin_inset Formula $f_{\mathrm{max}}$ -\end_inset - - +1:0 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -0.53 +0:0 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -0.37 +— \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -0.39 +Falcons \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout \begin_inset ERT -status collapsed +status open \begin_layout Plain Layout \backslash -morecmidrules +diagbox[dir=SW]{ \end_layout \end_inset - +Team home \begin_inset ERT status collapsed \begin_layout Plain Layout - -\backslash -cmidrule{3-4} +}{ \end_layout \end_inset -LSF-spatial resolution -\end_layout - -\end_inset - - -\begin_inset Text +Result +\begin_inset ERT +status collapsed \begin_layout Plain Layout +}{ \end_layout \end_inset - - -\begin_inset Text + +Team away +\begin_inset ERT +status collapsed \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 -in µm +Tigers \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -129.7 +Panthers \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -52.75 +Falcons \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -50.78 -\end_layout - -\end_inset - - - - -\begin_inset Text +\begin_inset ERT +status open \begin_layout Plain Layout -in % of pixel size + + +\backslash +diagbox[dir=SE]{ \end_layout \end_inset - - -\begin_inset Text + +Team home +\begin_inset ERT +status collapsed \begin_layout Plain Layout -76.3 + +}{ \end_layout \end_inset - - -\begin_inset Text + +Result +\begin_inset ERT +status collapsed \begin_layout Plain Layout -95.9 + +}{ \end_layout \end_inset - - -\begin_inset Text + +Team away +\begin_inset ERT +status collapsed \begin_layout Plain Layout -92.3 + +} +\end_layout + +\end_inset + + \end_layout \end_inset @@ -14232,107 +13908,112 @@ in % of pixel size \end_layout -\end_inset - - +\begin_layout Standard +To rotate the diagonal lines, the command option +\series bold +dir=direction +\series default + is used. + +\emph on +direction +\emph default + is either +\series bold +NE +\series default +, +\series bold +DE +\series default +, +\series bold +SW +\series default + or +\series bold +NW +\series default + and represent a point of a compass. + +\series bold +SW +\series default + is for example the south-west corner. + Thus in the lower left cell of the above table the command \end_layout -\begin_layout Section -Vertical Table Alignment -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Table ! Alignment -\end_layout +\begin_layout Standard -\end_inset +\series bold +\backslash +diagbox[dir=SW]{Team home}{Result}{Team away} +\end_layout +\begin_layout Standard +is used. + If no direction is given, it will be NW. \end_layout \begin_layout Standard -To align tables vertically in a text line the table must be inside a box. - The box can then be vertically aligned as described in section -\begin_inset space ~ +The necessary width of split cells is automatically calculated. + Thus if you set a fixed column width smaller than the calculated one, the + cell's content will protrude the cell borders: +\begin_inset Separator parbreak \end_inset -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:Box-Dialog" - -\end_inset - -. \end_layout \begin_layout Standard -In the following example the tables are inside a minipage -\begin_inset Foot -status collapsed +\noindent +\align center +\begin_inset Tabular + + + + + + +\begin_inset Text \begin_layout Plain Layout -Minipages are described in section -\begin_inset space ~ -\end_inset - +\begin_inset ERT +status collapsed -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:Minipages" +\begin_layout Plain Layout -\end_inset -. +\backslash +diagbox{ \end_layout \end_inset - box that has a width of 15 -\begin_inset space \thinspace{} -\end_inset +Name +\begin_inset ERT +status collapsed -col%: +\begin_layout Plain Layout + +}{ \end_layout -\begin_layout Itemize -test -\begin_inset Box Frameless -position "t" -hor_pos "c" -has_inner_box 1 -inner_pos "c" -use_parbox 0 -use_makebox 0 -width "15col%" -special "none" -height "1in" -height_special "totalheight" +\end_inset + +Parameter +\begin_inset ERT status collapsed \begin_layout Plain Layout -\begin_inset Tabular - - - - - - - -\begin_inset Text -\begin_layout Plain Layout -a +} \end_layout \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -d + \end_layout \end_inset @@ -14341,80 +14022,105 @@ d \begin_inset Text \begin_layout Plain Layout -g +Thickness in nm \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -b +Perfect Green \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -e +45 \end_layout \end_inset - -\begin_inset Text - -\begin_layout Plain Layout -h -\end_layout + + \end_inset - - - - -\begin_inset Text -\begin_layout Plain Layout -c + \end_layout +\begin_layout Standard +If you need a certain width for columns with a split cell, use the command + option +\series bold +width=3cm +\series default + (replace '3cm' by the width you need). + In the following table the width of the first column is set to 4 +\begin_inset space \thinspace{} \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -f -\end_layout +cm. + For +\series bold +\backslash +diagbox +\series default + a width of 4 +\begin_inset space \thinspace{} \end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -i -\end_layout +cm + 2 +\begin_inset space \thinspace{} \end_inset - - - + +\backslash +tabcolsep is necessary because the overall width is the width for the text + (in this case the 4 +\begin_inset space \thinspace{} \end_inset +cm) plus two times the separation of the text and the cell border. + The calculation of the width cannot be done in the command option of +\series bold +\backslash +diagbox +\series default + so one needs to create a new length which can be used later. + This is done with the \SpecialChar TeX + Code commands \end_layout +\begin_layout Standard + +\series bold + +\backslash +newlength{ +\backslash +diagtest} +\begin_inset Newline newline \end_inset - test + +\backslash +setlength{ +\backslash +diagtest}{4cm+2 +\backslash +tabcolsep} +\end_layout + +\begin_layout Standard \begin_inset ERT status collapsed @@ -14422,78 +14128,119 @@ status collapsed \backslash -raisebox{0.85 +newlength{ \backslash -baselineskip}{ +diagtest} +\end_layout + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +diagtest}{4cm+2 +\backslash +tabcolsep} \end_layout \end_inset -\begin_inset Box Frameless -position "t" -hor_pos "c" -has_inner_box 1 -inner_pos "c" -use_parbox 0 -use_makebox 0 -width "15col%" -special "none" -height "1in" -height_special "totalheight" +\end_layout + +\begin_layout Standard +To enable calculations in \SpecialChar LaTeX + one needs to load the package +\series bold +calc +\series default + +\begin_inset Index idx status collapsed \begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! calc +\end_layout + +\end_inset + + in the document preamble. +\end_layout + +\begin_layout Standard +In this table you can now use the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +diagbox[width= +\backslash +diagtest]{A}{B} +\end_layout + +\begin_layout Standard +in the first cell: +\begin_inset Separator parbreak +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +\align center \begin_inset Tabular - + - - - + + \begin_inset Text \begin_layout Plain Layout -a -\end_layout - -\end_inset - - -\begin_inset Text +\begin_inset ERT +status open \begin_layout Plain Layout -d + + +\backslash +diagbox[width= +\backslash +diagtest]{ \end_layout \end_inset - - -\begin_inset Text + +A +\begin_inset ERT +status collapsed \begin_layout Plain Layout -g + +}{ \end_layout \end_inset - - - - -\begin_inset Text + +B +\begin_inset ERT +status collapsed \begin_layout Plain Layout -b + +} \end_layout \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -e + \end_layout \end_inset @@ -14502,7 +14249,7 @@ e \begin_inset Text \begin_layout Plain Layout -h +Thickness in nm \end_layout \end_inset @@ -14513,16 +14260,7 @@ h \begin_inset Text \begin_layout Plain Layout -c -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -f +Perfect Green \end_layout \end_inset @@ -14531,7 +14269,7 @@ f \begin_inset Text \begin_layout Plain Layout -i +45 \end_layout \end_inset @@ -14544,88 +14282,64 @@ i \end_layout -\end_inset - - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} -\end_layout - +\begin_layout Standard +Note that the split cell needs to be the widest one in the column. + Otherwise the length of the diagonal line cannot be calculated correctly + like in this table: +\begin_inset Separator parbreak \end_inset \end_layout -\begin_layout Itemize -test -\begin_inset Box Frameless -position "c" -hor_pos "c" -has_inner_box 1 -inner_pos "c" -use_parbox 0 -use_makebox 0 -width "15col%" -special "none" -height "1in" -height_special "totalheight" -status collapsed - -\begin_layout Plain Layout +\begin_layout Standard +\noindent +\align center \begin_inset Tabular - + - - - + + \begin_inset Text \begin_layout Plain Layout -a -\end_layout - -\end_inset - - -\begin_inset Text +\begin_inset ERT +status collapsed \begin_layout Plain Layout -d + + +\backslash +diagbox{ \end_layout \end_inset - - -\begin_inset Text + +A +\begin_inset ERT +status collapsed \begin_layout Plain Layout -g + +}{ \end_layout \end_inset - - - - -\begin_inset Text + +B +\begin_inset ERT +status collapsed \begin_layout Plain Layout -b + +} \end_layout \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -e + \end_layout \end_inset @@ -14634,7 +14348,7 @@ e \begin_inset Text \begin_layout Plain Layout -h +Thickness in nm \end_layout \end_inset @@ -14645,16 +14359,7 @@ h \begin_inset Text \begin_layout Plain Layout -c -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -f +Perfect Green \end_layout \end_inset @@ -14663,7 +14368,7 @@ f \begin_inset Text \begin_layout Plain Layout -i +45 \end_layout \end_inset @@ -14676,77 +14381,80 @@ i \end_layout +\begin_layout Standard +In this case use the +\series bold +width +\series default + option of the +\series bold + +\backslash +diagbox +\series default + command. + It is then not necessary to add 2 +\backslash +tabcolsep because the cell width is now the width of the column. + In this table a width of 3 +\begin_inset space \thinspace{} \end_inset +cm is used: +\begin_inset Separator parbreak +\end_inset -\end_layout -\begin_layout Itemize -test -\begin_inset Box Frameless -position "b" -hor_pos "c" -has_inner_box 1 -inner_pos "c" -use_parbox 0 -use_makebox 0 -width "15col%" -special "none" -height "1in" -height_special "totalheight" -status collapsed +\end_layout -\begin_layout Plain Layout +\begin_layout Standard +\noindent +\align center \begin_inset Tabular - + - - - + + \begin_inset Text \begin_layout Plain Layout -a -\end_layout - -\end_inset - - -\begin_inset Text +\begin_inset ERT +status open \begin_layout Plain Layout -d + + +\backslash +diagbox[width=3cm]{ \end_layout \end_inset - - -\begin_inset Text + +A +\begin_inset ERT +status collapsed \begin_layout Plain Layout -g + +}{ \end_layout \end_inset - - - - -\begin_inset Text + +B +\begin_inset ERT +status collapsed \begin_layout Plain Layout -b + +} \end_layout \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -e + \end_layout \end_inset @@ -14755,7 +14463,7 @@ e \begin_inset Text \begin_layout Plain Layout -h +Thickness in nm \end_layout \end_inset @@ -14766,16 +14474,7 @@ h \begin_inset Text \begin_layout Plain Layout -c -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -f +Perfect Green \end_layout \end_inset @@ -14784,7 +14483,7 @@ f \begin_inset Text \begin_layout Plain Layout -i +45 \end_layout \end_inset @@ -14797,117 +14496,168 @@ i \end_layout -\end_inset +\begin_layout Standard +For multiple text lines in split cells one needs some extra height to fit + the text to the cell. + This can be achieved with the +\series bold - test -\begin_inset ERT -status collapsed +\backslash +diagbox +\series default + option +\series bold +height=3cm +\series default + (replace '3cm' by the height you need). + In the following table the command +\end_layout -\begin_layout Plain Layout +\begin_layout Standard +\series bold \backslash -raisebox{-0.32 +diagbox[width=3cm,height=1.4cm]{A \backslash -baselineskip}{ + +\backslash +B}{C +\backslash + +\backslash +D} \end_layout -\end_inset +\begin_layout Standard +is used in the first cell. + The command +\series bold +\backslash -\begin_inset Box Frameless -position "b" -hor_pos "c" -has_inner_box 1 -inner_pos "c" -use_parbox 0 -use_makebox 0 -width "15col%" -special "none" -height "1in" -height_special "totalheight" +\backslash + +\series default + creates hereby the line break. +\begin_inset Foot status collapsed \begin_layout Plain Layout +Breaking lines with +\family sans +Ctrl+Return +\family default + is only possible when the column has a fixed width. +\end_layout + +\end_inset + + +\begin_inset Separator parbreak +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +\align center \begin_inset Tabular - + - - - + + \begin_inset Text \begin_layout Plain Layout -a +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +diagbox[width=3cm,height=1.4cm]{ \end_layout \end_inset - - -\begin_inset Text + +A +\begin_inset ERT +status collapsed \begin_layout Plain Layout -d + + +\backslash + +\backslash + \end_layout \end_inset - - -\begin_inset Text + +B +\begin_inset ERT +status collapsed \begin_layout Plain Layout -g + +}{ \end_layout \end_inset - - - - -\begin_inset Text + +C +\begin_inset ERT +status collapsed \begin_layout Plain Layout -b + + +\backslash + +\backslash + \end_layout \end_inset - - -\begin_inset Text + +D +\begin_inset ERT +status collapsed \begin_layout Plain Layout -e + +} \end_layout \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -h + \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout -c +Thickness in nm \end_layout \end_inset + + \begin_inset Text \begin_layout Plain Layout -f +Perfect Green \end_layout \end_inset @@ -14916,7 +14666,7 @@ f \begin_inset Text \begin_layout Plain Layout -i +45 \end_layout \end_inset @@ -14929,116 +14679,83 @@ i \end_layout -\end_inset - - +\begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout -} -\end_layout - -\end_inset - +\backslash +else \end_layout -\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 -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -Raiseboxes are described in section -\begin_inset space ~ \end_inset -\begin_inset CommandInset ref -LatexCommand ref -reference "sub:Vertical-Alignment" - -\end_inset +\begin_inset Note Note +status open -. +\begin_layout Plain Layout +The following will be displayed when the \SpecialChar LaTeX +-package +\series bold +diagbox +\series default + is not installed: \end_layout \end_inset -. - In the example above the second table in the first item is aligned using - the TeX-Code-command -\end_layout - -\begin_layout Standard - -\series bold -\backslash -raisebox{0.85 -\backslash -baselineskip}{ \end_layout \begin_layout Standard -before the box. - After the box the closing brace +You need to install the \SpecialChar LaTeX +-package \series bold -} +diagbox \series default - is inserted as TeX-Code. - For the second table in the last item the command + to see the following part of this section in the output. \end_layout \begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout -\series bold \backslash -raisebox{-0.32 -\backslash -baselineskip}{ +fi \end_layout -\begin_layout Standard -is used. -\end_layout +\end_inset -\begin_layout Standard -\begin_inset Note Greyedout -status open -\begin_layout Plain Layout +\end_layout +\begin_layout Standard +For more info about the \SpecialChar LaTeX +-package \series bold -Note: -\series default - The alignment of the table row content to the surrounding text line is - not exact. - The required value for the -\series bold - -\backslash -raisebox +diagbox \series default - command for this alignment depends on the document font, the font size, - and the table line thickness. -\end_layout +, see its documentation, +\begin_inset CommandInset citation +LatexCommand cite +key "diagbox" \end_inset - +. \end_layout \begin_layout Section -Colored Tables +Formal Tables \begin_inset CommandInset label LatexCommand label -name "sec:Colored-Tables" +name "sec:Formal-Tables" \end_inset @@ -15047,7 +14764,7 @@ name "sec:Colored-Tables" status collapsed \begin_layout Plain Layout -Table ! Color +Table ! Formal \end_layout \end_inset @@ -15055,28 +14772,41 @@ Table ! Color \end_layout -\begin_layout Subsection -Colored Cells -\begin_inset Index idx -status collapsed +\begin_layout Standard +Tables are often typeset in books similar to Table +\begin_inset space ~ +\end_inset -\begin_layout Plain Layout -Table Color ! for Cells -\end_layout + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Example-booktabs-table" \end_inset +. + This kind of tables is called +\begin_inset Quotes eld +\end_inset -\begin_inset Index idx -status collapsed -\begin_layout Plain Layout -Color ! for Table Cells -\end_layout +\emph on +formal +\emph default +\begin_inset Quotes erd \end_inset - +. + To make a table a formal table use the option +\family sans +Formal +\family default + in the +\family sans +Borders +\family default + tab of the table dialog. \end_layout \begin_layout Standard @@ -15087,30 +14817,16 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Table-colored-without" - -\end_inset - -Table colored without using the package -\series bold -colortbl -\series default - -\begin_inset Argument -status collapsed - -\begin_layout Plain Layout -Table without colortbl -\end_layout +name "tab:Example-booktabs-table" \end_inset - +Example booktabs-table \end_layout \end_inset @@ -15121,170 +14837,244 @@ Table without colortbl \begin_layout Plain Layout \align center \begin_inset Tabular - - - - - + + + + + + - + +\begin_inset Text + +\begin_layout Plain Layout +System +\end_layout + +\end_inset + + \begin_inset Text \begin_layout Plain Layout +Chip +\begin_inset space \thinspace{} +\end_inset -\color green -a +1 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout +Chip +\begin_inset space \thinspace{} +\end_inset -\color red -b +2 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -\color red -c \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout +\begin_inset ERT +status collapsed -\color green -d +\begin_layout Plain Layout + + +\backslash +cmidrule(r){2-2} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +cmidrule(l){3-4} +\end_layout + +\end_inset + +Detector thickness in µm \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - -\color blue -e +300 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout +300 +\end_layout -\color blue -f +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +700 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - -\color green -g +Edge angle in ° \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - -\color blue -h +3.55 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout +2.71 +\end_layout -\color blue -i +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +7.99 \end_layout \end_inset - + + +\begin_inset Text -\end_inset +\begin_layout Plain Layout +Spatial resolution in µm +\end_layout +\end_inset + + +\begin_inset Text +\begin_layout Plain Layout +4.26 \end_layout \end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +10.17 +\end_layout +\end_inset + + +\begin_inset Text +\begin_layout Plain Layout +10.56 \end_layout -\begin_layout Standard -If you only need colored text, mark the cells and choose a color in the - menu -\family sans -Edit\SpecialChar \menuseparator -Text -\begin_inset space ~ \end_inset + + + + +\begin_inset Text -Style -\family default -. - This was used to create Table -\begin_inset space ~ +\begin_layout Plain Layout +MTF at +\begin_inset Formula $f_{\mathrm{max}}$ \end_inset -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Table-colored-without" +\end_layout \end_inset - -. - In any other case you have to use the LaTeX-package -\series bold -colortbl -\series default -. -\begin_inset Index idx -status collapsed + + +\begin_inset Text \begin_layout Plain Layout -LaTeX-packages ! colortbl +0.53 \end_layout \end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +0.37 +\end_layout +\end_inset + + +\begin_inset Text +\begin_layout Plain Layout +0.39 \end_layout -\begin_layout Standard +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout \begin_inset ERT status collapsed @@ -15292,167 +15082,145 @@ status collapsed \backslash -ifcolortbl +cmidrule[2pt](l{10pt}){1-1} \end_layout \end_inset - -\begin_inset Note Note -status open - -\begin_layout Plain Layout -The following section part will only be displayed when the LaTeX-package - -\series bold -colortbl -\series default - is installed. +LSF-spatial resolution \end_layout \end_inset + + +\begin_inset Text +\begin_layout Plain Layout \end_layout -\begin_layout Standard -To create colored tables, -\series bold -colortbl -\series default - must be loaded in the preamble with the line -\end_layout - -\begin_layout Standard - -\series bold +\end_inset + + +\begin_inset Text -\backslash -usepackage{colortbl} -\end_layout +\begin_layout Plain Layout -\begin_layout Standard -The color of a column is adjusted with the command \end_layout -\begin_layout Standard +\end_inset + + +\begin_inset Text -\series bold +\begin_layout Plain Layout -\backslash -columncolor{name of color} \end_layout -\begin_layout Standard -inside the command -\series bold ->{ } -\series default -. - More about the command -\series bold ->{} -\series default - is contained in section -\begin_inset space ~ \end_inset + + + + +\begin_inset Text - -\begin_inset CommandInset ref -LatexCommand ref -reference "sub:Multicolumn-Calculations" +\begin_layout Plain Layout +in µm +\end_layout \end_inset + + +\begin_inset Text -. +\begin_layout Plain Layout +129.7 \end_layout -\begin_layout Standard -The following color names are predefined: +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +52.75 \end_layout -\begin_layout Standard +\end_inset + + +\begin_inset Text -\family sans -red -\family default -, -\family sans -green -\family default -, -\family sans -yellow -\family default -, -\family sans -blue -\family default -, -\family sans -cyan -\family default -, -\family sans -magenta -\family default -, -\family sans -black -\family default - and -\family sans -white +\begin_layout Plain Layout +50.78 \end_layout -\begin_layout Standard -\begin_inset VSpace medskip \end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +in % of pixel size +\end_layout +\end_inset + + +\begin_inset Text +\begin_layout Plain Layout +76.3 \end_layout -\begin_layout Standard -If you add the options +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +95.9 \end_layout -\begin_layout Standard +\end_inset + + +\begin_inset Text -\series bold -usenames,dvipsnames +\begin_layout Plain Layout +92.3 \end_layout -\begin_layout Standard -to the document class options in the document settings, you can additionally - use further 61 -\begin_inset space ~ \end_inset + + + -colors. - These colors are listed in appendix -\begin_inset space ~ \end_inset -\begin_inset CommandInset ref -LatexCommand ref -reference "chap:List-of-dvips-colornames" +\end_layout \end_inset -. - One of these colors, + +\end_layout + +\begin_layout Standard +Spaces to table rows can be added using the \family sans -Maroon +Borders \family default -, is used as example in Table + tab of the table dialog as described in section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "tab:Table-colored-using" +reference "subsec:Row-Spacing" \end_inset @@ -15460,14 +15228,25 @@ reference "tab:Table-colored-using" \end_layout \begin_layout Standard -\begin_inset VSpace medskip +Unlike normal tables, formal tables have no vertical table lines. + The horizontal table lines can be set as for normal tables but they appear + with different widths in the output: +\begin_inset Newline newline \end_inset +The first and the last table line have a default width of 0.08 +\begin_inset space \thinspace{} +\end_inset + +em while the other lines have a default width of 0.05 +\begin_inset space \thinspace{} +\end_inset +em. \end_layout \begin_layout Standard -You can also define your own color with the command +The default widths can be changed with the following preamble lines \end_layout \begin_layout Standard @@ -15475,82 +15254,183 @@ You can also define your own color with the command \series bold \backslash -definecolor{color name}{color model}{color values} +let +\backslash +mytoprule +\backslash +toprule +\begin_inset Newline newline +\end_inset + + +\backslash +renewcommand{ +\backslash +toprule}{ +\backslash +mytoprule[width]} \end_layout \begin_layout Standard -The color model can be -\end_layout +This example is for the first line, the so called +\series bold +toprule +\series default +. + If you want to change the width for the last line, replace +\series bold +toprule +\series default + by +\series bold +bottomrule +\series default +. + To change the width for the other lines replace +\series bold +toprule +\series default + by +\series bold +midrule +\series default +. + You can use all units listed in appendix +\begin_inset space ~ +\end_inset -\begin_layout Labeling -\labelwidthstring 00.00.0000 -cmyk: cyan, magenta, yellow, black -\end_layout -\begin_layout Labeling -\labelwidthstring 00.00.0000 -rgb: red, green blue -\end_layout +\begin_inset CommandInset ref +LatexCommand ref +reference "cha:Units-available-in" -\begin_layout Labeling -\labelwidthstring 00.00.0000 -gray gray +\end_inset + + to set the width. \end_layout \begin_layout Standard -and the color values are comma separated numbers between 0 and 1 describing - the factor for the corresponding color of the color model. +Lines that do not span all table columns can be created by setting a table + line for multicolumn cells. + \SpecialChar LyX + will then internally use the command +\series bold + +\backslash +cmidrule +\series default + to create this line. + Its full scheme is \end_layout \begin_layout Standard -You can e. -\begin_inset space \thinspace{} -\end_inset -g. -\begin_inset space \space{} -\end_inset +\series bold -define the color " -\emph on -darkgreen -\emph default -" in the preamble with +\backslash +cmidrule[height](trim){startcol-endcol} \end_layout \begin_layout Standard +The options of +\series bold +\backslash +cmidrule +\series default + are currently not supported by \SpecialChar LyX + so you have to use \SpecialChar TeX + Code to be able to + use them. + \series bold \backslash -definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5} +cmidrule +\series default +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. \end_layout \begin_layout Standard -and the color " +The default for the optional +\series bold +height +\series default + is 0.03 +\begin_inset space \thinspace{} +\end_inset + +em. + +\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 -lightgray +l{trimwidth} \emph default -" with -\end_layout - -\begin_layout Standard + or +\emph on +r{trimwidth} +\emph default + where the +\emph on +trimwidth +\emph default + is also optional. + Using for example the parameter +\emph on +l{2pt} +\emph default + means that the line is trimmed from its left end by 2 +\begin_inset space \thinspace{} +\end_inset -\series bold +pt. + 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 -\backslash -definecolor{lightgray}{gray}{0.8} +em. \end_layout \begin_layout Standard -\begin_inset VSpace medskip +\begin_inset VSpace bigskip \end_inset +Table +\begin_inset space ~ +\end_inset -\end_layout -\begin_layout Standard -Lines are colored with the command +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Example-booktabs-table" + +\end_inset + + was created using the commands \end_layout \begin_layout Standard @@ -15558,11 +15438,13 @@ Lines are colored with the command \series bold \backslash -rowcolor{name of color} +cmidrule(r){2-2} +\backslash +cmidrule(l){3-4} \end_layout \begin_layout Standard -and cells are colored with the command +at the beginning of the second row and \end_layout \begin_layout Standard @@ -15570,85 +15452,82 @@ and cells are colored with the command \series bold \backslash -cellcolor{name of color} +cmidrule[2pt](l{10pt}){1-1} \end_layout \begin_layout Standard -Both commands are inserted at the beginning of a cell as TeX-Code. +in the sixth row. \end_layout \begin_layout Standard -To color characters in the table, mark the cells and use the LyX menu -\family sans -Edit\SpecialChar \menuseparator -Text -\begin_inset space ~ +\begin_inset VSpace bigskip \end_inset -Style -\family default -. - If a cell contains TeX-Code mark only the characters, otherwise the colored - TeX-Code will cause LaTeX-errors. + \end_layout \begin_layout Standard -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - +You might want to have overlapping \series bold -Note: -\series default - Not all DVI-viewers are able to display self-defined colors. -\end_layout +\backslash +cmidrule +\series default +s as in in Table +\begin_inset space ~ \end_inset +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Special-booktabs-table" + +\end_inset + +. + This can be achieved with the \SpecialChar TeX + Code command \end_layout \begin_layout Standard -\begin_inset VSpace bigskip -\end_inset +\series bold +\backslash +morecmidrules \end_layout \begin_layout Standard -To create Table +The command that was used for the second row of Table \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "tab:Table-colored-using" +reference "tab:Special-booktabs-table" \end_inset - do the following: The color of the first column should be -\emph on -darkgreen -\emph default -. - So insert + is \end_layout \begin_layout Standard \series bold ->{ + \backslash -columncolor{darkgreen} +cmidrule(r){2-2} \backslash -centering}c +cmidrule(l){3-4} +\backslash +morecmidrules +\backslash +cmidrule{2-4} \end_layout \begin_layout Standard -as LaTeX-argument for this column. - The first row should be light blue, therefore the TeX-Code command +The command for the sixth row is \end_layout \begin_layout Standard @@ -15656,14 +15535,25 @@ as LaTeX-argument for this column. \series bold \backslash -rowcolor{cyan} +midrule +\backslash +morecmidrules +\backslash +cmidrule{3-4} \end_layout \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 - command +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +If you are in any way not satisfied with the border line spacing, you can + use the following command to produce lines that span over all table columns +\series bold +: \end_layout \begin_layout Standard @@ -15671,20 +15561,35 @@ is inserted to the first cell of this row. \series bold \backslash -cellcolor{Maroon} +specialrule{width}{space above}{space below} \end_layout \begin_layout Standard -The characters could now be colored using the menu -\family sans -Edit\SpecialChar \menuseparator -Text -\begin_inset space ~ +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" + \end_inset -Style -\family default . +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! booktabs +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -15695,45 +15600,78 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Table-colored-using" +name "tab:Special-booktabs-table" \end_inset -Table colored using the package -\series bold -colortbl -\series default +Special booktabs-table +\end_layout -\begin_inset Argument -status collapsed +\end_inset + + +\end_layout \begin_layout Plain Layout -Table with colortbl +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +System \end_layout \end_inset + + +\begin_inset Text +\begin_layout Plain Layout +Chip +\begin_inset space \thinspace{} +\end_inset +1 \end_layout \end_inset + + +\begin_inset Text +\begin_layout Plain Layout +Chip +\begin_inset space \thinspace{} +\end_inset +2 \end_layout +\end_inset + + +\begin_inset Text + \begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - + +\end_layout + +\end_inset + + \begin_inset Text @@ -15746,49 +15684,60 @@ status collapsed \backslash -rowcolor{cyan} +cmidrule(r){2-2} \end_layout \end_inset -\color magenta -a +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +cmidrule(l){3-4} \end_layout \end_inset - - -\begin_inset Text + + +\begin_inset ERT +status collapsed \begin_layout Plain Layout -\color red -b + +\backslash +morecmidrules \end_layout \end_inset - - -\begin_inset Text + + +\begin_inset ERT +status collapsed \begin_layout Plain Layout -\color red -c + +\backslash +cmidrule{2-4} +\end_layout + +\end_inset + +Detector thickness in µm \end_layout \end_inset - - \begin_inset Text \begin_layout Plain Layout - -\color yellow -d +300 \end_layout \end_inset @@ -15797,9 +15746,7 @@ d \begin_inset Text \begin_layout Plain Layout - -\color blue -e +300 \end_layout \end_inset @@ -15808,176 +15755,135 @@ e \begin_inset Text \begin_layout Plain Layout - -\color blue -f +700 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - -\color yellow -g +Edge angle in ° \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - -\color blue -h +3.55 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -cellcolor{Maroon} +2.71 \end_layout \end_inset + + +\begin_inset Text - -\color green -i +\begin_layout Plain Layout +7.99 \end_layout \end_inset - - -\end_inset - + + +\begin_inset Text +\begin_layout Plain Layout +Spatial resolution in µm \end_layout \end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed + + +\begin_inset Text \begin_layout Plain Layout - - -\backslash -else +4.26 \end_layout \end_inset - - -\begin_inset Note Note -status open + + +\begin_inset Text \begin_layout Plain Layout -The following will be displayed when the LaTeX-package -\series bold -colortbl -\series default - is not installed: +10.17 \end_layout \end_inset + + +\begin_inset Text - -\end_layout - -\begin_layout Standard -You need to install the package -\series bold -colortbl -\series default - to see the content of this section in the output. +\begin_layout Plain Layout +10.56 \end_layout -\begin_layout Standard -\begin_inset ERT -status collapsed +\end_inset + + + + +\begin_inset Text \begin_layout Plain Layout - - -\backslash -fi -\end_layout - +MTF at +\begin_inset Formula $f_{\mathrm{max}}$ \end_inset \end_layout -\begin_layout Subsection -Colored Lines -\begin_inset Index idx -status collapsed +\end_inset + + +\begin_inset Text \begin_layout Plain Layout -Table Color ! for Lines +0.53 \end_layout \end_inset - - -\begin_inset Index idx -status collapsed + + +\begin_inset Text \begin_layout Plain Layout -Color ! for Table Lines +0.37 \end_layout \end_inset + + +\begin_inset Text - +\begin_layout Plain Layout +0.39 \end_layout -\begin_layout Standard -As described in section -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "sub:Line-Thickness" - -\end_inset - -, the line thickness for all lines in a table can be adjusted with the length - -\series bold - -\backslash -arrayrulewidth -\series default -. - It is set to 1.5 -\begin_inset space \thinspace{} \end_inset + + + + +\begin_inset Text -pt for all tables of this section. +\begin_layout Plain Layout \begin_inset ERT status collapsed @@ -15985,110 +15891,34 @@ status collapsed \backslash -setlength{ -\backslash -arrayrulewidth}{1.5pt} -\end_layout - -\end_inset - - +morecmidrules \end_layout -\begin_layout Standard -To color vertical lines for example with green, create the following column - format in the document preamble, according to the description in section -\begin_inset space ~ \end_inset -\begin_inset CommandInset ref -LatexCommand ref -reference "sub:Customized-Format" - -\end_inset - -: -\end_layout +\begin_inset ERT +status collapsed -\begin_layout Standard +\begin_layout Plain Layout -\series bold \backslash -newcolumntype{W}{!{ -\backslash -color{green} -\backslash -vline}} -\end_layout - -\begin_layout Standard -For Table -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Table-with-vertical-colored" - -\end_inset - - the LaTeX-argument -\series bold - WcW -\series default - was used for the last column and -\series bold - Wc -\series default - for the other columns. -\end_layout - -\begin_layout Standard -If you want to have several colors, define more column formats. +cmidrule{3-4} \end_layout -\begin_layout Standard -\begin_inset Float table -placement h -wide false -sideways false -status open - -\begin_layout Plain Layout -\begin_inset Caption - -\begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Table-with-vertical-colored" - \end_inset -Table with colored vertical lines +LSF-spatial resolution \end_layout \end_inset - - -\end_layout - -\begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - - + \begin_inset Text \begin_layout Plain Layout -sd + \end_layout \end_inset @@ -16113,58 +15943,76 @@ sd - + \begin_inset Text \begin_layout Plain Layout - +in µm \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -sd +129.7 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout +52.75 +\end_layout + +\end_inset + + +\begin_inset Text +\begin_layout Plain Layout +50.78 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +in % of pixel size \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout +76.3 +\end_layout + +\end_inset + + +\begin_inset Text +\begin_layout Plain Layout +95.9 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -sd +92.3 \end_layout \end_inset @@ -16182,145 +16030,98 @@ sd \end_layout -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - -To color horizontal lines for example with red, as in Table -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Table-with-horizontal-colored" - -\end_inset +\begin_layout Section +Vertical Table Alignment +\begin_inset Index idx +status collapsed -, insert these commands in TeX-Code before the table or table float: +\begin_layout Plain Layout +Table ! Alignment \end_layout -\begin_layout Standard - -\series bold - -\backslash -let -\backslash -myHlineC -\backslash -hline -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -hline} -\begin_inset Newline newline \end_inset -\begin_inset Phantom HPhantom -status open - -\begin_layout Plain Layout +\end_layout -\series bold +\begin_layout Standard +To align tables vertically in a text line, the table must be inside a box. + The box can then be vertically aligned as described in section \begin_inset space ~ \end_inset -\end_layout +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Box-Dialog" \end_inset -{ -\backslash -arrayrulecolor{red} -\backslash -myHlineC -\backslash -arrayrulecolor{black}} +. \end_layout \begin_layout Standard -\begin_inset ERT +In the following example the tables are inside a minipage +\begin_inset Foot status collapsed \begin_layout Plain Layout - - -\backslash -let -\backslash -myHlineC -\backslash -hline -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -hline} -\end_layout - -\begin_layout Plain Layout - - { -\backslash -arrayrulecolor{red} -\backslash -myHlineC -\backslash -arrayrulecolor{black}} -\end_layout - +Minipages are described in section +\begin_inset space ~ \end_inset -\begin_inset Float table -placement h -wide false -sideways false -status open - -\begin_layout Plain Layout -\begin_inset Caption - -\begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Table-with-horizontal-colored" +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Minipages" \end_inset -Table with colored horizontal lines +. \end_layout \end_inset + box that has a width of 15 +\begin_inset space \thinspace{} +\end_inset +col%: \end_layout +\begin_layout Itemize +test +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "15col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status collapsed + \begin_layout Plain Layout -\align center \begin_inset Tabular - - - + + + \begin_inset Text \begin_layout Plain Layout -sd +a \end_layout \end_inset @@ -16329,7 +16130,7 @@ sd \begin_inset Text \begin_layout Plain Layout - +d \end_layout \end_inset @@ -16338,7 +16139,7 @@ sd \begin_inset Text \begin_layout Plain Layout - +g \end_layout \end_inset @@ -16349,7 +16150,7 @@ sd \begin_inset Text \begin_layout Plain Layout - +b \end_layout \end_inset @@ -16358,7 +16159,7 @@ sd \begin_inset Text \begin_layout Plain Layout -sd +e \end_layout \end_inset @@ -16367,7 +16168,7 @@ sd \begin_inset Text \begin_layout Plain Layout - +h \end_layout \end_inset @@ -16378,7 +16179,7 @@ sd \begin_inset Text \begin_layout Plain Layout - +c \end_layout \end_inset @@ -16387,7 +16188,7 @@ sd \begin_inset Text \begin_layout Plain Layout - +f \end_layout \end_inset @@ -16396,7 +16197,7 @@ sd \begin_inset Text \begin_layout Plain Layout -sd +i \end_layout \end_inset @@ -16411,152 +16212,2863 @@ sd \end_inset + test +\begin_inset ERT +status collapsed -\end_layout - -\begin_layout Standard -To return to the default line color black, insert this command in TeX-Code - after the table or table float: -\end_layout - -\begin_layout Standard +\begin_layout Plain Layout -\series bold \backslash -renewcommand{ -\backslash -hline}{ +raisebox{0.85 \backslash -myHlineC} -\end_layout - -\begin_layout Standard -Table -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Table-with-colored" - -\end_inset - - is an example with colored vertical and horizontal lines. -\end_layout - -\begin_layout Standard -\begin_inset Float table -placement h -wide false -sideways false -status open - -\begin_layout Plain Layout -\begin_inset Caption - -\begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Table-with-colored" - -\end_inset - -Table with colored lines +baselineskip}{ \end_layout \end_inset -\end_layout +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "15col%" +special "none" +height "1in" +height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status collapsed \begin_layout Plain Layout -\align center \begin_inset Tabular - - - + + + - + \begin_inset Text \begin_layout Plain Layout -sd +a \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +d \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +g \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +b \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -sd +e \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +h \end_layout \end_inset - - + + \begin_inset Text \begin_layout Plain Layout - +c \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +f \end_layout \end_inset - + +\begin_inset Text + +\begin_layout Plain Layout +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Itemize +test +\begin_inset Box Frameless +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "15col%" +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 + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Itemize +test +\begin_inset Box Frameless +position "b" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "15col%" +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 + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + test +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +raisebox{-0.32 +\backslash +baselineskip}{ +\end_layout + +\end_inset + + +\begin_inset Box Frameless +position "b" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +use_makebox 0 +width "15col%" +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 + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\end_layout + +\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. +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout +Raiseboxes are described in section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:Vertical-Alignment" + +\end_inset + +. +\end_layout + +\end_inset + + In the example above the second table in the first item is aligned using + the \SpecialChar TeX + Code command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{0.85 +\backslash +baselineskip}{ +\end_layout + +\begin_layout Standard +before the box. + After the box the closing brace +\series bold +} +\series default + is inserted as \SpecialChar TeX + Code. + For the second table in the last item the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{-0.32 +\backslash +baselineskip}{ +\end_layout + +\begin_layout Standard +is used. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: +\series default + The alignment of the table row content to the surrounding text line is + not exact. + The required value for the +\series bold + +\backslash +raisebox +\series default + command for this alignment depends on the document font, the font size, + and the table line thickness. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Colored Tables +\begin_inset CommandInset label +LatexCommand label +name "sec:Colored-Tables" + +\end_inset + + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table ! Color +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Colored Cells +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table Color ! for Cells +\end_layout + +\end_inset + + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Color ! for Table Cells +\end_layout + +\end_inset + + +\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:Table-colored-without" + +\end_inset + +Table colored without using the package +\series bold +colortbl +\series default + +\begin_inset Argument 1 +status collapsed + +\begin_layout Plain Layout +Table without colortbl +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\color green +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color red +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color red +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\color green +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color blue +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color blue +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\color green +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color blue +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color blue +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +If you only need colored text, mark the cells and choose a color in the + +\family sans +Text +\begin_inset space ~ +\end_inset + +Style +\family default + dialog (toolbar button +\begin_inset Info +type "icon" +arg "dialog-show character" +\end_inset + +). + This was used to create Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-colored-without" + +\end_inset + +. + In any other case you have to use the \SpecialChar LaTeX +-package +\series bold +colortbl +\series default +. +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! colortbl +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +ifcolortbl +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The following section part will only be displayed when the \SpecialChar LaTeX +-package +\series bold +colortbl +\series default + is installed. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To create colored tables, +\series bold +colortbl +\series default + must be loaded in the preamble with the line +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{colortbl} +\end_layout + +\begin_layout Standard +The color of a column is adjusted with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +columncolor{name of color} +\end_layout + +\begin_layout Standard +inside the command +\series bold +>{ } +\series default +. + More about the command +\series bold +>{} +\series default + is contained in section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:Multicolumn-Calculations" + +\end_inset + +. +\end_layout + +\begin_layout Standard +The following color names are predefined: +\end_layout + +\begin_layout Standard + +\family sans +red +\family default +, +\family sans +green +\family default +, +\family sans +yellow +\family default +, +\family sans +blue +\family default +, +\family sans +cyan +\family default +, +\family sans +magenta +\family default +, +\family sans +black +\family default + and +\family sans +white +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +If you add the options +\end_layout + +\begin_layout Standard + +\series bold +usenames,dvipsnames +\end_layout + +\begin_layout Standard +to the document class options in the document settings, you can additionally + use further 61 +\begin_inset space ~ +\end_inset + +colors. + These colors are listed in appendix +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "chap:List-of-dvips-colornames" + +\end_inset + +. + One of these colors, +\family sans +Maroon +\family default +, is used as example in Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-colored-using" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +You can also define your own color with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +definecolor{color name}{color model}{color values} +\end_layout + +\begin_layout Standard +The color model can be +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +cmyk: cyan, magenta, yellow, black +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +rgb: red, green blue +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +gray gray +\end_layout + +\begin_layout Standard +and the color values are comma separated numbers between 0 and 1 describing + the factor for the corresponding color of the color model. +\end_layout + +\begin_layout Standard +You can e. +\begin_inset space \thinspace{} +\end_inset + +g. +\begin_inset space \space{} +\end_inset + +define the color " +\emph on +darkgreen +\emph default +" in the preamble with +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5} +\end_layout + +\begin_layout Standard +and the color " +\emph on +lightgray +\emph default +" with +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +definecolor{lightgray}{gray}{0.8} +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +Lines are colored with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rowcolor{name of color} +\end_layout + +\begin_layout Standard +and cells are colored with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cellcolor{name of color} +\end_layout + +\begin_layout Standard +Both commands are inserted at the beginning of a cell as \SpecialChar TeX + Code. +\end_layout + +\begin_layout Standard +To color characters in the table, mark the cells and use the +\family sans +Text +\begin_inset space ~ +\end_inset + +Style +\family default + dialog. + 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 +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: +\series default + Not all DVI-viewers are able to display self-defined colors. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +To create Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-colored-using" + +\end_inset + + do the following: The color of the first column should be +\emph on +darkgreen +\emph default +. + So insert +\end_layout + +\begin_layout Standard + +\series bold +>{ +\backslash +columncolor{darkgreen} +\backslash +centering}c +\end_layout + +\begin_layout Standard +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 + +\series bold + +\backslash +rowcolor{cyan} +\end_layout + +\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 \SpecialChar TeX + Code + command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cellcolor{Maroon} +\end_layout + +\begin_layout Standard +The characters could now be colored using the menu +\family sans +Edit\SpecialChar menuseparator +Text +\begin_inset space ~ +\end_inset + +Style +\family 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:Table-colored-using" + +\end_inset + +Table colored using the package +\series bold +colortbl +\series default + +\begin_inset Argument 1 +status collapsed + +\begin_layout Plain Layout +Table with colortbl +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +rowcolor{cyan} +\end_layout + +\end_inset + + +\color magenta +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color red +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color red +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\color yellow +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color blue +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color blue +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\color yellow +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\color blue +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +cellcolor{Maroon} +\end_layout + +\end_inset + + +\color green +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +else +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The following will be displayed when the \SpecialChar LaTeX +-package +\series bold +colortbl +\series default + is not installed: +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +You need to install the package +\series bold +colortbl +\series default + to see the content of this section in the output. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +fi +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Colored Rows +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table Color ! for Rows +\end_layout + +\end_inset + + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Color ! for Table Rows +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +In case every second table row needs to be colored there is an alternative + to the method described in the previous section: One loads the package + +\series bold +xcolor +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! xcolor +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +vspace{4mm} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + in the document preamble with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[table]{xcolor} +\end_layout + +\begin_layout Standard + +\series bold +xcolor +\series default + automatically loads also the package +\series bold +colortbl +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! colortbl +\end_layout + +\end_inset + +, so +\series bold +colortbl +\series default + must be installed in your \SpecialChar LaTeX +-distribution, otherwise you get \SpecialChar LaTeX +-errors. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +ifcolortbl +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The following section part will only be displayed when the \SpecialChar LaTeX +-package +\series bold +colortbl +\series default + is installed. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +The table rows are colored with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rowcolors[commands]{row number}{odd row color}{even row color} +\end_layout + +\begin_layout Standard +that is either inserted in the document preamble or as \SpecialChar TeX + Code before the + first table to be colored. + row +\begin_inset space ~ +\end_inset + +number is the number of the first row which should be colored according + to the odd row color. + commands can be additional commands that are executed before every table + row. + So for example the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rowcolors{1}{white}{lightgray} +\end_layout + +\begin_layout Standard +leads to the coloring scheme of Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-rowcolors" + +\end_inset + +. + The command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rowcolors[ +\backslash +hline]{1}{lightgray}{cyan} +\end_layout + +\begin_layout Standard +leads to the coloring scheme of Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-rowcolors-2" + +\end_inset + +. + If odd +\begin_inset space ~ +\end_inset + +row +\begin_inset space ~ +\end_inset + +color and/or even +\begin_inset space ~ +\end_inset + +row +\begin_inset space ~ +\end_inset + +color are left empty, no color will be used so that the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rowcolors{1}{}{} +\end_layout + +\begin_layout Standard +deletes all colors. + +\series bold + +\backslash +rowcolors +\series default + affects all tables following that command. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +rowcolors{1}{white}{lightgray} +\end_layout + +\end_inset + + +\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:Table-rowcolors" + +\end_inset + +Table where every second row is colored light gray. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +X +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Y +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Z +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +5 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +6 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +7 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +8 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +9 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +rowcolors[ +\backslash +hline]{1}{lightgray}{cyan} +\end_layout + +\end_inset + + +\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:Table-rowcolors-2" + +\end_inset + +Table where every second row is colored cyan and at which there is a line + between each row. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +X +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Y +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Z +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +5 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +6 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +7 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +8 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +9 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +rowcolors{1}{}{} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +turns off the row coloring +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +else +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The following will be displayed when the \SpecialChar LaTeX +-package +\series bold +colortbl +\series default + is not installed: +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +You need to install the package +\series bold +colortbl +\series default + to see the content of this section in the output. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +fi +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Colored Lines +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table Color ! for Lines +\end_layout + +\end_inset + + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Color ! for Table Lines +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +As described in section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:Line-Thickness" + +\end_inset + +, the line thickness for all lines in a table can be adjusted with the length + +\series bold + +\backslash +arrayrulewidth +\series default +. + It is set to 1.5 +\begin_inset space \thinspace{} +\end_inset + +pt for all tables of this section. +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +arrayrulewidth}{1.5pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To color vertical lines for example with green, create the following column + format in the document preamble, according to the description in section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:Customized-Format" + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{W}{!{ +\backslash +color{green} +\backslash +vline}} +\end_layout + +\begin_layout Standard +For Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-with-vertical-colored" + +\end_inset + + the \SpecialChar LaTeX +-argument +\series bold + WcW +\series default + was used for the last column and +\series bold + Wc +\series default + for the other columns. +\end_layout + +\begin_layout Standard +If you want to have several colors, define more column formats. +\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:Table-with-vertical-colored" + +\end_inset + +Table with colored vertical lines +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +sd +\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 + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +sd +\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 + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +To color horizontal lines for example with red, as in Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-with-horizontal-colored" + +\end_inset + +, insert these commands in \SpecialChar TeX + Code before the table or table float: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +myHlineC +\backslash +hline +\begin_inset Newline newline +\end_inset + + +\backslash +renewcommand{ +\backslash +hline} +\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 +arrayrulecolor{red} +\backslash +myHlineC +\backslash +arrayrulecolor{black}} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +let +\backslash +myHlineC +\backslash +hline +\end_layout + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +hline} +\end_layout + +\begin_layout Plain Layout + + { +\backslash +arrayrulecolor{red} +\backslash +myHlineC +\backslash +arrayrulecolor{black}} +\end_layout + +\end_inset + + +\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:Table-with-horizontal-colored" + +\end_inset + +Table with colored horizontal lines +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +sd +\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 + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +sd +\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 + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +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 + +\series bold + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHlineC} +\end_layout + +\begin_layout Standard +Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-with-colored" + +\end_inset + + is an example with colored vertical and horizontal lines. +\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:Table-with-colored" + +\end_inset + +Table with colored lines +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +sd +\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 + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +sd +\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 + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + \begin_inset Text \begin_layout Plain Layout @@ -16566,31 +19078,1323 @@ sd \end_inset - + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHlineC} +\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 +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. +\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-multi" + +\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 +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 + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +cups +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +plates +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +saucers +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +45 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +33 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +21 +\end_layout + +\end_inset + + + + +\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. + 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 the box width was set + to 3 +\begin_inset space \thinspace{} +\end_inset + +cm. +\end_layout + +\begin_layout Standard +\begin_inset Float table +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 + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\end_layout + +\end_inset + + +\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" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open + +\begin_layout Plain Layout +rotated cell +\begin_inset Newline newline +\end_inset + +with line break +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +e +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +d +\end_layout + +\end_inset + + + + +\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 +status collapsed + +\begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! calc +\end_layout + +\end_inset + + in the document preamble. + To set the width in the table dialog you have to use the field +\family sans +\SpecialChar LaTeX + argument +\family default +. + The command scheme for this field is the same that is explained in section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:Multicolumn-Calculations" + +\end_inset + +. + For a table with 5 +\begin_inset space \thinspace{} +\end_inset + +columns with an uniform width and centered text, enter there for each column + the command +\end_layout + +\begin_layout Standard + +\series bold +>{ +\backslash +centering}p{(1 +\backslash +columnwidth-62.4pt)/5} +\end_layout + +\begin_layout Standard +For a table with 5 +\begin_inset space \thinspace{} +\end_inset + +columns where 2 should have 0.75 +\begin_inset space ~ +\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 \\ + & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\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} + +\end_inset + + +\end_layout + +\begin_layout Standard +In the table therefore the command +\end_layout + +\begin_layout Standard + +\series bold +>{ +\backslash +centering}p{(1 +\backslash +columnwidth-62.4pt)/ +\backslash +real{4.5}} +\end_layout + +\begin_layout Standard +is used for the wider columns and +\end_layout + +\begin_layout Standard + +\series bold +>{ +\backslash +centering}p{(1 +\backslash +columnwidth-62.4pt)/ +\backslash +real{4.5}* +\backslash +real{0.75}} +\end_layout + +\begin_layout Standard +for the smaller ones: +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +111111 1111111 111111 111111111 11111 11111 1111 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2222 22222 222222 222222222 2222222 22 22222 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +333333 333333 333333 33333 3333333 333 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Section +Table Customization +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table Customization +\end_layout + +\end_inset + + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table ! Customization +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Row Spacing +\begin_inset CommandInset label +LatexCommand label +name "subsec:Row-Spacing" + +\end_inset + + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table Customization ! Row Spacing +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +You can add vertical space to table rows in the +\family sans +Borders +\family default + tab of the table dialog. + You find there three possibilities: +\end_layout + +\begin_layout Description +Top +\begin_inset space ~ +\end_inset + +of +\begin_inset space ~ +\end_inset + +row will add space above the characters of the table row. + If the table is a formal table +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout +Formal tables are explained in section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Formal-Tables" + +\end_inset + +. +\end_layout + +\end_inset + + \SpecialChar LyX + will insert as default 0.5 +\begin_inset space \thinspace{} +\end_inset + +em space. + For normal tables the inserted space will unfortunately destroy the vertical + table lines as in the following table: +\begin_inset VSpace medskip +\end_inset + + +\begin_inset Newline newline +\end_inset + + +\begin_inset space \hspace*{} +\length 0pt +\end_inset + + +\begin_inset space \hfill{} +\end_inset + + +\begin_inset Tabular + + + + + +\begin_inset Text + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\begin_inset space \thinspace{} +\end_inset + +mm space top of row +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +C +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset space \hfill{} +\end_inset + + +\begin_inset space \hspace*{} +\length 0pt +\end_inset + + +\begin_inset VSpace medskip +\end_inset + + +\begin_inset Newline newline +\end_inset + +So inserting space in the top of row for normal tables is only useful when + you don't have vertical lines. +\end_layout + +\begin_layout Description +Bottom +\begin_inset space ~ +\end_inset + +of +\begin_inset space ~ +\end_inset + +row will add space below the characters of the table row. + If the table is a formal table \SpecialChar LyX + will insert as default 0.5 +\begin_inset space \thinspace{} +\end_inset + +em space, for normal tables the default size is 2 +\begin_inset space \thinspace{} +\end_inset + +pt. +\end_layout + +\begin_layout Description +Between +\begin_inset space ~ +\end_inset + +rows adds space between the current and the following row. + If the table is a formal table \SpecialChar LyX + will insert as default 0.5 +\begin_inset space \thinspace{} +\end_inset + +em space. + For normal tables the inserted space will unfortunately destroy the vertical + table lines as in the following table: +\begin_inset VSpace medskip +\end_inset + + +\begin_inset Newline newline +\end_inset + + +\begin_inset space \hspace*{} +\length 0pt +\end_inset + + +\begin_inset space \hfill{} +\end_inset + + +\begin_inset Tabular + + + + + +\begin_inset Text + +\begin_layout Plain Layout +A +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\downarrow$ +\end_inset + + 3 +\begin_inset space \thinspace{} +\end_inset + +mm space between row +\begin_inset Formula $\downarrow$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\uparrow$ +\end_inset + + 3 +\begin_inset space \thinspace{} +\end_inset + +mm space between row +\begin_inset Formula $\uparrow$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset space \hfill{} +\end_inset + + +\begin_inset space \hspace*{} +\length 0pt +\end_inset + + +\begin_inset VSpace medskip +\end_inset + + +\begin_inset Newline newline +\end_inset + +So inserting space between rows for normal tables is only useful when you + don't have vertical lines. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +When you want to add extra height to all cells of all tables, you can do + this with the following preamble lines: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +@ifundefined{extrarowheight} +\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{array}}{} +\begin_inset Newline newline +\end_inset + + +\backslash +setlength{ +\backslash +extrarowheight}{height} +\end_layout + +\begin_layout Standard +But this has the disadvantage that the cell texts are no longer exactly + vertically centered. + (The package +\series bold +array +\series default + will be loaded automatically by \SpecialChar LyX + when you use self defined table formats. + To avoid that it being loaded twice the command +\series bold + +\backslash +@ifundefined +\series default + is used in the above command.) +\end_layout + +\begin_layout Standard +If you are using font sizes larger than the normal size, the table borders + are often too close to the letters. + This can be corrected by inserting the command +\series bold + +\backslash +strut +\series default + in \SpecialChar TeX + Code at the beginning of a table row. + Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Vertical-alignment-of" + +\end_inset + + illustrates the effect. +\end_layout + +\begin_layout Standard +\noindent +\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:Vertical-alignment-of" + +\end_inset + +Vertical alignment of text with large font sizes. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\begin_inset space \hfill{} +\end_inset + + +\begin_inset Float table +wide false +sideways false +status collapsed + +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout +Normal table. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\noindent +\align center +\begin_inset Tabular + + + + + +\begin_inset Text + +\begin_layout Plain Layout +Normal, g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\size large +Large +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\size larger +Larger +\end_layout \end_inset + + + + +\begin_inset Text +\begin_layout Plain Layout +\size largest +Largest \end_layout \end_inset + + + + +\begin_inset Text +\begin_layout Plain Layout +\size huge +Huge \end_layout -\begin_layout Standard -\begin_inset ERT +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\size huge +Huger +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset space \hfill{} +\end_inset + + +\begin_inset Float table +wide false +sideways false status collapsed \begin_layout Plain Layout +\begin_inset Caption Standard +\begin_layout Plain Layout +Table using the command +\series bold \backslash -renewcommand{ -\backslash -hline}{ -\backslash -myHlineC} +strut +\series default +. \end_layout \end_inset @@ -16598,7 +20402,31 @@ myHlineC} \end_layout -\begin_layout Standard +\begin_layout Plain Layout +\noindent +\align center +\begin_inset Tabular + + + + + +\begin_inset Text + +\begin_layout Plain Layout +Normal, g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\size large \begin_inset ERT status collapsed @@ -16606,33 +20434,133 @@ status collapsed \backslash -setlength{ +strut +\end_layout + +\end_inset + +Large +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\size larger +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + \backslash -arrayrulewidth}{0.4pt} +strut +\end_layout + +\end_inset + +Larger \end_layout \end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\size largest +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +strut +\end_layout +\end_inset +Largest \end_layout -\begin_layout Section -Table Customization -\begin_inset Index idx +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\size huge +\begin_inset ERT status collapsed \begin_layout Plain Layout -Table Customization + + +\backslash +strut \end_layout \end_inset +Huge +\end_layout -\begin_inset Index idx +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\size giant +\begin_inset ERT status collapsed \begin_layout Plain Layout -Table ! Customization + + +\backslash +strut +\end_layout + +\end_inset + + +\size huge +Huger +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset space \hfill{} +\end_inset + + \end_layout \end_inset @@ -16641,10 +20569,10 @@ Table ! Customization \end_layout \begin_layout Subsection -Row Spacing +Special Cell Alignment \begin_inset CommandInset label LatexCommand label -name "sub:Row-Spacing" +name "subsec:Special-Cell-Alignment" \end_inset @@ -16653,7 +20581,7 @@ name "sub:Row-Spacing" status collapsed \begin_layout Plain Layout -Table Customization ! Row Spacing +Table Customization ! Special Cell Alignment \end_layout \end_inset @@ -16662,105 +20590,121 @@ Table Customization ! Row Spacing \end_layout \begin_layout Standard -You can add vertical space to table rows in the -\family sans -Borders -\family default - tab of the table dialog. - You find there three possibilities: -\end_layout - -\begin_layout Description -Top -\begin_inset space ~ +Sometimes it looks better when the cell entries of a column are aligned + with a special character, e. +\begin_inset space \thinspace{} \end_inset -of -\begin_inset space ~ +g. +\begin_inset space \space{} \end_inset -row will add space above the characters of the table row. - If the table is a formal table -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -Formal tables are explained in section +with the decimal separator as in Table \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sec:Formal-Tables" +reference "tab:Table-cells-align" \end_inset . -\end_layout - + This alignment is achieved by setting the cursor into the column and then + either pressing the toolbar button +\begin_inset Info +type "icon" +arg "inset-modify tabular align-decimal" \end_inset - LyX will insert as default 0.5 -\begin_inset space \thinspace{} + or setting the alignment in the table settings to +\family sans +At +\begin_inset space ~ \end_inset -em space. - For normal tables the inserted space will unfortunately destroy the vertical - table lines as in the following table: -\begin_inset VSpace medskip +Decimal +\begin_inset space ~ \end_inset +Separator +\family default +. + The alignment character can be a character of your choice and is specified + in the table settings. +\end_layout -\begin_inset Newline newline -\end_inset +\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:Table-cells-align" -\begin_inset space \hspace*{} -\length 0pt \end_inset +Table cells of a column aligned with the decimal separator. +\end_layout -\begin_inset space \hfill{} \end_inset +\end_layout + +\begin_layout Plain Layout +\align center \begin_inset Tabular - - - + + + - + \begin_inset Text \begin_layout Plain Layout -A +heading \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -3 -\begin_inset space \thinspace{} +12.6 +\end_layout + \end_inset + + + + +\begin_inset Text -mm space top of row +\begin_layout Plain Layout +0.68 \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -C +-123.0 \end_layout \end_inset @@ -16771,106 +20715,109 @@ C \end_inset -\begin_inset space \hfill{} +\end_layout + \end_inset -\begin_inset space \hspace*{} -\length 0pt -\end_inset +\end_layout +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open -\begin_inset VSpace medskip -\end_inset +\begin_layout Plain Layout +\begin_inset Caption Standard +\begin_layout Plain Layout +\begin_inset CommandInset label +LatexCommand label +name "tab:Table-align-operator" -\begin_inset Newline newline \end_inset -So inserting space in the top of row for normal tables is only useful when - you don't have vertical lines. +Table cells of a column aligned with the operators. \end_layout -\begin_layout Description -Bottom -\begin_inset space ~ \end_inset -of -\begin_inset space ~ -\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 -\begin_inset space \thinspace{} -\end_inset +\end_layout -em space, for normal tables the default size is 2 -\begin_inset space \thinspace{} -\end_inset +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + +\begin_inset Text -pt. +\begin_layout Plain Layout +heading \end_layout -\begin_layout Description -Between -\begin_inset space ~ -\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 -\begin_inset space \thinspace{} \end_inset + + +\begin_inset Text -em space. - For normal tables the inserted space will unfortunately destroy the vertical - table lines as in the following table: -\begin_inset VSpace medskip -\end_inset +\begin_layout Plain Layout +\end_layout -\begin_inset Newline newline \end_inset + + + + +\begin_inset Text - -\begin_inset space \hspace*{} -\length 0pt +\begin_layout Plain Layout +\begin_inset Formula $12\,+$ \end_inset -\begin_inset space \hfill{} -\end_inset - +\end_layout -\begin_inset Tabular - - - - - +\end_inset + + \begin_inset Text \begin_layout Plain Layout -A +\begin_inset Formula $\,6$ +\end_inset + + \end_layout \end_inset - - + + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\downarrow$ +\begin_inset Formula $0\,-$ \end_inset - 3 -\begin_inset space \thinspace{} + +\end_layout + \end_inset + + +\begin_inset Text -mm space between row -\begin_inset Formula $\downarrow$ +\begin_layout Plain Layout +\begin_inset Formula $\,68$ \end_inset @@ -16880,19 +20827,23 @@ mm space between row - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\uparrow$ +\begin_inset Formula $-123\,/$ \end_inset - 3 -\begin_inset space \thinspace{} -\end_inset -mm space between row -\begin_inset Formula $\uparrow$ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\,0$ \end_inset @@ -16906,114 +20857,75 @@ mm space between row \end_inset -\begin_inset space \hfill{} -\end_inset - - -\begin_inset space \hspace*{} -\length 0pt -\end_inset - +\end_layout -\begin_inset VSpace medskip \end_inset -\begin_inset Newline newline -\end_inset - -So inserting space between rows for normal tables is only useful when you - don't have vertical lines. \end_layout \begin_layout Standard -\begin_inset VSpace bigskip +For alignments at characters in formulas this method does not work because + the field to specify the alignment character does not allow formulas. + In this case one need to use the method from Table +\begin_inset space ~ \end_inset -When you want to add extra height to all cells of all tables, you can do - this with the following preamble lines: -\end_layout - -\begin_layout Standard -\series bold +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-align-operator" -\backslash -@ifundefined{extrarowheight} -\begin_inset Newline newline \end_inset +. + This table was created with a 4×2 table. + The heading is a centered multicolumn. + The first column is right-aligned and contains the first part including + the operator. + The second column is left aligned and contains the rest. + 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 + \SpecialChar LaTeX +-argument was used for the second column: +\end_layout -\begin_inset Phantom HPhantom -status open - -\begin_layout Plain Layout +\begin_layout Standard \series bold -\begin_inset space ~ -\end_inset - - +@{}l \end_layout -\end_inset - -{ -\backslash -usepackage{array}}{} -\begin_inset Newline newline +\begin_layout Standard +Table +\begin_inset space ~ \end_inset -\backslash -setlength{ -\backslash -extrarowheight}{height} -\end_layout - -\begin_layout Standard -But this has the disadvantage that the cell texts are no longer exactly - vertically centered. - (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 -\series bold - -\backslash -@ifundefined -\series default - is used in the above command.) -\end_layout +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Several-table-cell" -\begin_layout Standard -If you are using font sizes larger than the normal size, the table borders - are often too close to the letters. - This can be corrected by inserting the command -\series bold +\end_inset -\backslash -strut -\series default - in TeX code at the beginning of a table row. - Table + shows some example alignments. + For the alignment with the relation sign, a small space was added like + for the second column of Table \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "tab:Vertical-alignment-of" +reference "tab:Table-align-operator" \end_inset - illustrates the effect. +. \end_layout \begin_layout Standard -\noindent \begin_inset Float table placement h wide false @@ -17021,16 +20933,16 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Vertical-alignment-of" +name "tab:Several-table-cell" \end_inset -Vertical alignment of text with large font sizes. +Several table cell alignments. \end_layout \end_inset @@ -17039,303 +20951,291 @@ Vertical alignment of text with large font sizes. \end_layout \begin_layout Plain Layout -\begin_inset space \hfill{} -\end_inset - - -\begin_inset Float table -wide false -sideways false -status collapsed - -\begin_layout Plain Layout -\begin_inset Caption +\align center +\begin_inset Tabular + + + + + + + + + + +\begin_inset Text \begin_layout Plain Layout -Normal table. +units \end_layout \end_inset + + +\begin_inset Text +\begin_layout Plain Layout \end_layout -\begin_layout Plain Layout -\noindent -\align center -\begin_inset Tabular - - - - - +\end_inset + + \begin_inset Text \begin_layout Plain Layout -Normal, g +exponents \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout -\size large -Large \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout - -\size larger -Larger +relations \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout -\size largest -Largest \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - -\size huge -Huge +12× \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout +24 +\begin_inset space \thinspace{} +\end_inset -\size huge -Huger +bottles \end_layout \end_inset - - + +\begin_inset Text +\begin_layout Plain Layout +\begin_inset Formula $10\cdot$ \end_inset \end_layout \end_inset + + +\begin_inset Text - -\begin_inset space \hfill{} +\begin_layout Plain Layout +\begin_inset Formula $10^{\mbox{-}17}$ \end_inset -\begin_inset Float table -wide false -sideways false -status collapsed +\end_layout -\begin_layout Plain Layout -\begin_inset Caption +\end_inset + + +\begin_inset Text \begin_layout Plain Layout -Table using the command -\series bold - -\backslash -strut -\series default -. -\end_layout - +\begin_inset Formula $\Gamma(t)\propto$ \end_inset \end_layout -\begin_layout Plain Layout -\noindent -\align center -\begin_inset Tabular - - - - - +\end_inset + + \begin_inset Text \begin_layout Plain Layout -Normal, g +\begin_inset Formula $\:\Upsilon(t)$ +\end_inset + + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout +1024× +\end_layout -\size large -\begin_inset ERT -status collapsed +\end_inset + + +\begin_inset Text \begin_layout Plain Layout - - -\backslash -strut -\end_layout - +768 +\begin_inset space \thinspace{} \end_inset -Large +Pixels \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout - -\size larger -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout +\begin_inset Formula $5.78\cdot$ +\end_inset -\backslash -strut \end_layout \end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $10^{7}$ +\end_inset + -Larger \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout - -\size largest -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout +\begin_inset Formula $A\ne$ +\end_inset -\backslash -strut \end_layout \end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\:B_{\mathrm{red}}$ +\end_inset + -Largest \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout +32× +\end_layout -\size huge -\begin_inset ERT -status collapsed +\end_inset + + +\begin_inset Text \begin_layout Plain Layout - - -\backslash -strut -\end_layout - +6 +\begin_inset space \thinspace{} \end_inset -Huge +cm \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout +- +\begin_inset Formula $33.5\cdot$ +\end_inset -\size giant -\begin_inset ERT -status collapsed + +\end_layout + +\end_inset + + +\begin_inset Text \begin_layout Plain Layout +\begin_inset Formula $10^{4}$ +\end_inset -\backslash -strut \end_layout \end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\sin(\alpha)\ge$ +\end_inset -\size huge -Huger \end_layout \end_inset - - + +\begin_inset Text +\begin_layout Plain Layout +\begin_inset Formula $\:\sin(\beta)$ \end_inset \end_layout \end_inset + + + - -\begin_inset space \hfill{} \end_inset @@ -17347,10 +21247,10 @@ Huger \end_layout \begin_layout Subsection -Special Cell Alignment +Customized Cell/Column Format \begin_inset CommandInset label LatexCommand label -name "sub:Special-Cell-Alignment" +name "subsec:Customized-Format" \end_inset @@ -17359,7 +21259,7 @@ name "sub:Special-Cell-Alignment" status collapsed \begin_layout Plain Layout -Table Customization ! Special Cell Alignment +Table Customization ! Cell/Column Format \end_layout \end_inset @@ -17368,340 +21268,304 @@ Table Customization ! Special Cell Alignment \end_layout \begin_layout Standard -Sometimes it looks better when the cell entries of a column are aligned - with a special character, e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space \space{} -\end_inset - -with the decimal separator as in Table +Calculating the required width for normal columns as described in section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "tab:Table-cells-align" - -\end_inset - -. - This alignment is achieved by setting the cursor into the column and then - either pressing the toolbar button -\begin_inset Graphics - filename ../images/tabular-feature_align-decimal.png - scale 85 - scaleBeforeRotation - -\end_inset +reference "sec:Table-Width-Calculation" - or setting the alignment in the table settings to -\family sans -At -\begin_inset space ~ \end_inset -Decimal + or for spanned columns as described in section \begin_inset space ~ \end_inset -Separator -\family default -. - The alignment character can be a character of your choice and is specified - in the table settings. -\end_layout - -\begin_layout Standard -\begin_inset Float table -placement h -wide false -sideways false -status open - -\begin_layout Plain Layout -\begin_inset Caption -\begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Table-cells-align" +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:Multicolumn-Calculations" \end_inset -Table cells of a column aligned with the decimal separator. + is very annoying if you have several tables where a calculation is necessary. + To make life easier, you can define a cell/column format in the preamble, + that can be used in all tables of the document. + The format is defined with the command \end_layout -\end_inset +\begin_layout Standard +\series bold +\backslash +newcolumntype{name of format}[number of arguments]{commands} \end_layout -\begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - -\begin_inset Text - -\begin_layout Plain Layout -heading +\begin_layout Standard +The format name may only consist of one letter. + The letters +\emph on +b +\emph default +, +\emph on +c +\emph default +, +\emph on +l +\emph default +, +\emph on +m +\emph default +, +\emph on +p +\emph default + and +\emph on +r +\emph default + are predefined and cannot be used. + But all letters are allowed as capitals. \end_layout +\begin_layout Standard +\begin_inset VSpace medskip \end_inset - - - - -\begin_inset Text -\begin_layout Plain Layout -12.6 -\end_layout -\end_inset - - - - -\begin_inset Text +\end_layout -\begin_layout Plain Layout -0.68 +\begin_layout Standard +For vertically and horizontally centered multicolumn cells with a fixed + width you can define the cell format \end_layout -\end_inset - - - - -\begin_inset Text +\begin_layout Standard -\begin_layout Plain Layout --123.0 +\series bold + +\backslash +newcolumntype{M}[1]{>{ +\backslash +centering +\backslash +hspace{0pt}}m{#1}} \end_layout -\end_inset - - - +\begin_layout Standard +where +\series bold +\backslash +hspace{0pt} +\series default + avoids the problem of hyphenating the first word, as described in section +\begin_inset space ~ \end_inset -\end_layout +\begin_inset CommandInset ref +LatexCommand ref +reference "subsec:Multiple-Lines-in" \end_inset - +. + Now you can simply enter \end_layout \begin_layout Standard -\begin_inset Float table -placement h -wide false -sideways false -status open - -\begin_layout Plain Layout -\begin_inset Caption - -\begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Table-align-operator" -\end_inset +\series bold +M{width} +\end_layout -Table cells of a column aligned with the operators. +\begin_layout Standard +as +\family sans +\SpecialChar LaTeX +-argument +\family default + in the table dialog to create a multicolumn. \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip \end_inset \end_layout -\begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -heading +\begin_layout Standard +For cells spanned by a multicolumn cell, you can define the format \end_layout -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout +\begin_layout Standard -\end_layout +\series bold +\backslash +newcolumntype{S}[2]{>{ +\backslash +centering +\backslash +hspace{0pt}} +\begin_inset Newline newline \end_inset - - - - -\begin_inset Text + + +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout -\begin_inset Formula $12\,+$ -\end_inset +\series bold +\backslash +newcolumntype \end_layout \end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $\,6$ -\end_inset - +m{(#1+(2 +\backslash +tabcolsep+ +\backslash +arrayrulewidth)*(1-#2))/#2}} \end_layout -\end_inset - - - - -\begin_inset Text +\begin_layout Standard +This format uses equation +\begin_inset CommandInset ref +LatexCommand eqref +reference "eq:Wgn" -\begin_layout Plain Layout -\begin_inset Formula $0\,-$ \end_inset - + to calculate the required width so that each spanned cell has the same + width. \end_layout -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $\,68$ -\end_inset +\begin_layout Standard +You can now enter +\end_layout +\begin_layout Standard +\series bold +S{width of multicolumn cell}{number of spanned columns} \end_layout -\end_inset - - - - -\begin_inset Text +\begin_layout Standard +as \SpecialChar LaTeX +-argument of the column. +\end_layout -\begin_layout Plain Layout -\begin_inset Formula $-123\,/$ +\begin_layout Standard +\begin_inset VSpace bigskip \end_inset \end_layout -\end_inset - - -\begin_inset Text +\begin_layout Standard +For colored columns, you can define +\end_layout -\begin_layout Plain Layout -\begin_inset Formula $\,0$ -\end_inset +\begin_layout Standard +\series bold +\backslash +newcolumntype{K}[1]{>{ +\backslash +columncolor{#1} +\backslash +hspace{0pt}}c} \end_layout +\begin_layout Standard +The +\begin_inset Quotes eld \end_inset - - - +c +\begin_inset Quotes erd \end_inset + at the end creates a column with a flexible width whose text is horizontally + centered. + You can now enter +\end_layout + +\begin_layout Standard + +\series bold +K{color name} +\end_layout +\begin_layout Standard +as \SpecialChar LaTeX +-argument. \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard -For alignments at characters in formulas this method does not work because - the field to specify the alignment character does not allow formulas. - In this case one need to use the method from Table +To create Table \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "tab:Table-align-operator" +reference "tab:Table-using-user-defined" \end_inset -. - This table was created with a 4×2 table. - The heading is a centered multicolumn. - The first column is right-aligned and contains the first part including - the operator. - The second column is left aligned and contains the rest. - 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: + use the \SpecialChar LaTeX +-arguments \end_layout \begin_layout Standard \series bold -@{}l +M{2.5cm} \end_layout \begin_layout Standard -Table -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Several-table-cell" +for the first column and the multicolumn, +\end_layout -\end_inset +\begin_layout Standard - shows some example alignments. - For the alignment with the relation sign, a small space was added like - for the second column of Table -\begin_inset space ~ -\end_inset +\series bold +K{red} +\end_layout +\begin_layout Standard +for the last column, and +\end_layout -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Table-align-operator" +\begin_layout Standard -\end_inset +\series bold +S{2.5cm}{2} +\end_layout -. +\begin_layout Standard +for the cells in the second column. \end_layout \begin_layout Standard @@ -17712,16 +21576,16 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Several-table-cell" +name "tab:Table-using-user-defined" \end_inset -Several table cell alignments. +Table using user-defined table formats \end_layout \end_inset @@ -17732,38 +21596,27 @@ Several table cell alignments. \begin_layout Plain Layout \align center \begin_inset Tabular - + - - - - - - + + + + - -\begin_inset Text - -\begin_layout Plain Layout -units -\end_layout - -\end_inset - - + \begin_inset Text \begin_layout Plain Layout - +verylongtablecellword \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -exponents +multiple lines multicolumn \end_layout \end_inset @@ -17777,467 +21630,366 @@ exponents \end_inset - -\begin_inset Text - -\begin_layout Plain Layout -relations -\end_layout - -\end_inset - - + \begin_inset Text \begin_layout Plain Layout - +c \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -12× +d \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -24 -\begin_inset space \thinspace{} -\end_inset - -bottles +e \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $10\cdot$ -\end_inset - - +f \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $10^{\mbox{-}17}$ -\end_inset - - +g \end_layout \end_inset - + + + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\Gamma(t)\propto$ -\end_inset - - +h \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -\begin_inset Formula $\:\Upsilon(t)$ -\end_inset - - +i \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout -1024× +j \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -768 -\begin_inset space \thinspace{} -\end_inset - -Pixels +k \end_layout \end_inset - -\begin_inset Text + + -\begin_layout Plain Layout -\begin_inset Formula $5.78\cdot$ \end_inset \end_layout \end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $10^{7}$ -\end_inset \end_layout -\end_inset - - -\begin_inset Text +\begin_layout Subsection +Line Thickness +\begin_inset CommandInset label +LatexCommand label +name "subsec:Line-Thickness" -\begin_layout Plain Layout -\begin_inset Formula $A\ne$ \end_inset -\end_layout - -\end_inset - - -\begin_inset Text +\begin_inset Index idx +status collapsed \begin_layout Plain Layout -\begin_inset Formula $\: B_{\mathrm{red}}$ -\end_inset - - +Table Customization ! Line Thickness \end_layout \end_inset - - - - -\begin_inset Text -\begin_layout Plain Layout -32× + \end_layout -\end_inset - - -\begin_inset Text +\begin_layout Standard +The line thickness for all lines in a table can be adjusted with the length + +\series bold -\begin_layout Plain Layout -6 +\backslash +arrayrulewidth +\series default +. + To set for example a line thickness of 1.5 \begin_inset space \thinspace{} \end_inset -cm -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -- -\begin_inset Formula $33.5\cdot$ +pt, as in Table +\begin_inset space ~ \end_inset -\end_layout - -\end_inset - - -\begin_inset Text +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-with-1.5" -\begin_layout Plain Layout -\begin_inset Formula $10^{4}$ \end_inset - +, insert the command \end_layout -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -\begin_inset Formula $\sin(\alpha)\ge$ -\end_inset +\begin_layout Standard +\series bold +\backslash +setlength{ +\backslash +arrayrulewidth}{1.5pt} \end_layout -\end_inset - - -\begin_inset Text +\begin_layout Standard +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_layout Plain Layout -\begin_inset Formula $\:\sin(\beta)$ +\backslash +arrayrulewidth +\series default + to 0.4 +\begin_inset space \thinspace{} \end_inset - +pt in \SpecialChar TeX + Code after the table or table float. \end_layout -\end_inset - - - +\begin_layout Standard +\begin_inset ERT +status collapsed -\end_inset +\begin_layout Plain Layout +\backslash +setlength{ +\backslash +arrayrulewidth}{1.5pt} \end_layout \end_inset -\end_layout +\begin_inset Float table +wide false +sideways false +status open -\begin_layout Subsection -Customized Cell/Column Format +\begin_layout Plain Layout +\begin_inset Caption Standard + +\begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "sub:Customized-Format" +name "tab:Table-with-1.5" \end_inset - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Table Customization ! Cell/Column Format -\end_layout - +Table with 1.5 +\begin_inset space \thinspace{} \end_inset - +pt thick lines \end_layout -\begin_layout Standard -Calculating the required width for spanned columns as in section -\begin_inset space ~ \end_inset -\begin_inset CommandInset ref -LatexCommand ref -reference "sub:Multicolumn-Calculations" - -\end_inset - - is very annoying if you have several tables with multicolumn cells. - To make life easier, you can define a cell/column format in the preamble, - so that it can be used in all tables of the document. - The format is defined with the command \end_layout -\begin_layout Standard - -\series bold - -\backslash -newcolumntype{name of format}[number of arguments]{commands} -\end_layout +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text -\begin_layout Standard -The format name may only consist of one letter. - The letters -\emph on -b -\emph default -, -\emph on -c -\emph default -, -\emph on -l -\emph default -, -\emph on -m -\emph default -, -\emph on -p -\emph default - and -\emph on -r -\emph default - are predefined and cannot be used. - But all letters are allowed as capitals. +\begin_layout Plain Layout +sd \end_layout -\begin_layout Standard -\begin_inset VSpace medskip \end_inset + + +\begin_inset Text +\begin_layout Plain Layout \end_layout -\begin_layout Standard -For vertically and horizontally centered multicolumn cells with a fixed - width you can define the cell format -\end_layout - -\begin_layout Standard +\end_inset + + +\begin_inset Text -\series bold +\begin_layout Plain Layout -\backslash -newcolumntype{M}[1]{>{ -\backslash -centering -\backslash -hspace{0pt}}m{#1}} \end_layout -\begin_layout Standard -where -\series bold - -\backslash -hspace{0pt} -\series default - avoids the problem of hyphenating the first word, as described in section -\begin_inset space ~ \end_inset + + + + +\begin_inset Text +\begin_layout Plain Layout -\begin_inset CommandInset ref -LatexCommand ref -reference "sub:Multiple-Lines-in" +\end_layout \end_inset + + +\begin_inset Text -. - Now you can simply enter +\begin_layout Plain Layout +sd \end_layout -\begin_layout Standard +\end_inset + + +\begin_inset Text -\series bold -M{width} -\end_layout +\begin_layout Plain Layout -\begin_layout Standard -as LaTeX-argument in the table dialog to create a multicolumn. \end_layout -\begin_layout Standard -\begin_inset VSpace bigskip \end_inset + + + + +\begin_inset Text +\begin_layout Plain Layout \end_layout -\begin_layout Standard -For cells spanned by a multicolumn cell, you can define the format -\end_layout +\end_inset + + +\begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout -\series bold +\end_layout -\backslash -newcolumntype{S}[2]{>{ -\backslash -centering -\backslash -hspace{0pt}} -\begin_inset Newline newline \end_inset + + +\begin_inset Text +\begin_layout Plain Layout +sd +\end_layout -\begin_inset Phantom HPhantom -status open +\end_inset + + + -\begin_layout Plain Layout +\end_inset -\series bold -\backslash -newcolumntype \end_layout \end_inset -m{(#1+(2 -\backslash -tabcolsep+ -\backslash -arrayrulewidth)*(1-#2))/#2}} -\end_layout -\begin_layout Standard -This format uses equation -\begin_inset CommandInset ref -LatexCommand eqref -reference "eq:Wgn" +\begin_inset ERT +status collapsed -\end_inset +\begin_layout Plain Layout - to calculate the required width so that each spanned cell has the same - width. -\end_layout -\begin_layout Standard -You can now enter +\backslash +setlength{ +\backslash +arrayrulewidth}{0.4pt} \end_layout -\begin_layout Standard +\end_inset -\series bold -S{width of multicolumn cell}{number of spanned columns} -\end_layout -\begin_layout Standard -as LaTeX-argument of the column. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset +To set the line thickness to 1.5 +\begin_inset space \thinspace{} +\end_inset + +pt only for horizontal lines, as in Table +\begin_inset space ~ +\end_inset -\end_layout -\begin_layout Standard -For colored columns, you can define +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-with-horizontal" + +\end_inset + +, insert these commands in \SpecialChar TeX + Code before the table or table float: \end_layout \begin_layout Standard @@ -18245,107 +21997,132 @@ For colored columns, you can define \series bold \backslash -newcolumntype{K}[1]{>{ +let \backslash -columncolor{#1} +myHline \backslash -hspace{0pt}}c} -\end_layout - -\begin_layout Standard -The -\begin_inset Quotes eld +hline +\begin_inset Newline newline \end_inset -c -\begin_inset Quotes erd -\end_inset - at the end creates a column with a flexible width whose text is horizontally - centered. - You can now enter -\end_layout +\backslash +renewcommand{ +\backslash +hline} +\begin_inset Newline newline +\end_inset -\begin_layout Standard + { +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 1.5pt} +\begin_inset Newline newline +\end_inset -\series bold -K{color name} + +\backslash +myHline +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 0.4pt}} \end_layout \begin_layout Standard -as LaTeX-argument. +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 VSpace bigskip -\end_inset +\series bold +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHline} \end_layout \begin_layout Standard -To create Table -\begin_inset space ~ -\end_inset - +\begin_inset ERT +status collapsed -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Table-using-user-defined" +\begin_layout Plain Layout -\end_inset - use the LaTeX-arguments +\backslash +let +\backslash +myHline +\backslash +hline \end_layout -\begin_layout Standard +\begin_layout Plain Layout -\series bold -M{2.5cm} -\end_layout -\begin_layout Standard -for the first column and the multicolumn, +\backslash +renewcommand{ +\backslash +hline} \end_layout -\begin_layout Standard - -\series bold -K{red} -\end_layout +\begin_layout Plain Layout -\begin_layout Standard -for the last column, and + { +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 1.5pt} \end_layout -\begin_layout Standard +\begin_layout Plain Layout -\series bold -S{2.5cm}{2} + +\backslash +myHline +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 0.4pt}} \end_layout -\begin_layout Standard -for the cells in the second column. -\end_layout +\end_inset + -\begin_layout Standard \begin_inset Float table -placement h wide false sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Table-using-user-defined" +name "tab:Table-with-horizontal" \end_inset -Table using user-defined table formats +Table with 1.5 +\begin_inset space \thinspace{} +\end_inset + +pt thick horizontal lines \end_layout \end_inset @@ -18356,32 +22133,22 @@ Table using user-defined table formats \begin_layout Plain Layout \align center \begin_inset Tabular - + - - - - + + + \begin_inset Text \begin_layout Plain Layout -verylongtablecellword -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -multiple lines multicolumn +sd \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -18394,7 +22161,7 @@ multiple lines multicolumn \begin_inset Text \begin_layout Plain Layout -c + \end_layout \end_inset @@ -18405,16 +22172,7 @@ c \begin_inset Text \begin_layout Plain Layout -d -\end_layout - -\end_inset - - -\begin_inset Text -\begin_layout Plain Layout -e \end_layout \end_inset @@ -18423,7 +22181,7 @@ e \begin_inset Text \begin_layout Plain Layout -f +sd \end_layout \end_inset @@ -18432,7 +22190,7 @@ f \begin_inset Text \begin_layout Plain Layout -g + \end_layout \end_inset @@ -18443,16 +22201,7 @@ g \begin_inset Text \begin_layout Plain Layout -h -\end_layout - -\end_inset - - -\begin_inset Text -\begin_layout Plain Layout -i \end_layout \end_inset @@ -18461,7 +22210,7 @@ i \begin_inset Text \begin_layout Plain Layout -j + \end_layout \end_inset @@ -18470,7 +22219,7 @@ j \begin_inset Text \begin_layout Plain Layout -k +sd \end_layout \end_inset @@ -18486,22 +22235,18 @@ k \end_inset -\end_layout - -\begin_layout Subsection -Line Thickness -\begin_inset CommandInset label -LatexCommand label -name "sub:Line-Thickness" - -\end_inset - - -\begin_inset Index idx +\begin_inset ERT status collapsed \begin_layout Plain Layout -Table Customization ! Line Thickness + + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHline} \end_layout \end_inset @@ -18510,30 +22255,26 @@ Table Customization ! Line Thickness \end_layout \begin_layout Standard -The line thickness for all lines in a table can be adjusted with the length - -\series bold +\begin_inset VSpace bigskip +\end_inset -\backslash -arrayrulewidth -\series default -. - To set for example a line thickness of 1.5 +To set the line thickness to 1.5 \begin_inset space \thinspace{} \end_inset -pt, as in Table +pt only for vertical lines, create the following column format in the document + preamble, according to the description in section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "tab:Table-with-1.5" +reference "subsec:Customized-Format" \end_inset -, insert the command +: \end_layout \begin_layout Standard @@ -18541,55 +22282,60 @@ reference "tab:Table-with-1.5" \series bold \backslash -setlength{ +newcolumntype{V}{!{ \backslash -arrayrulewidth}{1.5pt} +vrule width 1.5pt}} \end_layout \begin_layout Standard -in 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 +For Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-with-vertical" -\backslash -arrayrulewidth -\series default - to 0.4 -\begin_inset space \thinspace{} \end_inset -pt in TeX-Code after the table or table float. + the \SpecialChar LaTeX +-argument \end_layout \begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout +\series bold +VcV +\end_layout -\backslash -setlength{ -\backslash -arrayrulewidth}{1.5pt} +\begin_layout Standard +was used for the last column and \end_layout -\end_inset +\begin_layout Standard +\series bold +Vc +\end_layout + +\begin_layout Standard +for the other columns. +\end_layout +\begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Table-with-1.5" +name "tab:Table-with-vertical" \end_inset @@ -18597,7 +22343,7 @@ Table with 1.5 \begin_inset space \thinspace{} \end_inset -pt thick lines +pt thick vertical lines \end_layout \end_inset @@ -18610,11 +22356,11 @@ pt thick lines \begin_inset Tabular - - - + + + - + \begin_inset Text \begin_layout Plain Layout @@ -18623,7 +22369,7 @@ sd \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -18632,7 +22378,7 @@ sd \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -18643,7 +22389,7 @@ sd - + \begin_inset Text \begin_layout Plain Layout @@ -18652,7 +22398,7 @@ sd \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -18661,7 +22407,7 @@ sd \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -18672,7 +22418,7 @@ sd - + \begin_inset Text \begin_layout Plain Layout @@ -18681,7 +22427,7 @@ sd \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -18690,7 +22436,7 @@ sd \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -18710,6 +22456,23 @@ sd \end_inset +\end_layout + +\begin_layout Subsection +Dashed Lines +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table Customization ! Dashed Lines +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard \begin_inset ERT status collapsed @@ -18717,9 +22480,22 @@ status collapsed \backslash -setlength{ -\backslash -arrayrulewidth}{0.4pt} +ifarydshln +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The following section will only be displayed when the \SpecialChar LaTeX +-package +\series bold +arydshln +\series default + is installed. \end_layout \end_inset @@ -18728,87 +22504,139 @@ arrayrulewidth}{0.4pt} \end_layout \begin_layout Standard -\begin_inset VSpace bigskip +\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:Table-with-dashed" + \end_inset -To set the line thickness to 1.5 -\begin_inset space \thinspace{} +Table with dashed lines +\end_layout + \end_inset -pt only for horizontal lines, as in Table -\begin_inset space ~ + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +a +\end_layout + \end_inset + + +\begin_inset Text +\begin_layout Plain Layout +b +\end_layout -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Table-with-horizontal" +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +c +\end_layout \end_inset + + +\begin_inset Text -, insert these commands in TeX-Code before the table or table float: +\begin_layout Plain Layout +d \end_layout -\begin_layout Standard +\end_inset + + +\begin_inset Text -\series bold +\begin_layout Plain Layout +e +\end_layout -\backslash -let -\backslash -myHline -\backslash -hline -\begin_inset Newline newline \end_inset + + + + +\begin_inset Text +\begin_layout Plain Layout +f +\end_layout -\backslash -renewcommand{ -\backslash -hline} -\begin_inset Newline newline \end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +g +\end_layout - { -\backslash -noalign{ -\backslash -global -\backslash -arrayrulewidth 1.5pt} -\begin_inset Newline newline \end_inset + + +\begin_inset Text - -\backslash -myHline -\backslash -noalign{ -\backslash -global -\backslash -arrayrulewidth 0.4pt}} +\begin_layout Plain Layout +h \end_layout -\begin_layout Standard -To return to the default line thickness, insert this command in TeX-Code - after the table or table float: -\end_layout +\end_inset + + +\begin_inset Text -\begin_layout Standard +\begin_layout Plain Layout +i +\end_layout -\series bold +\end_inset + + +\begin_inset Text -\backslash -renewcommand{ -\backslash -hline}{ -\backslash -myHline} +\begin_layout Plain Layout +j \end_layout -\begin_layout Standard +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout \begin_inset ERT status collapsed @@ -18816,115 +22644,103 @@ status collapsed \backslash -let -\backslash -myHline -\backslash -hline +hdashline \end_layout -\begin_layout Plain Layout - +\end_inset -\backslash -renewcommand{ -\backslash -hline} +k \end_layout -\begin_layout Plain Layout +\end_inset + + +\begin_inset Text - { -\backslash -noalign{ -\backslash -global -\backslash -arrayrulewidth 1.5pt} +\begin_layout Plain Layout +l \end_layout -\begin_layout Plain Layout +\end_inset + + +\begin_inset Text - -\backslash -myHline -\backslash -noalign{ -\backslash -global -\backslash -arrayrulewidth 0.4pt}} +\begin_layout Plain Layout +m \end_layout \end_inset + + +\begin_inset Text +\begin_layout Plain Layout +n +\end_layout -\begin_inset Float table -wide false -sideways false -status open +\end_inset + + +\begin_inset Text \begin_layout Plain Layout -\begin_inset Caption +o +\end_layout + +\end_inset + + + + +\begin_inset Text \begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Table-with-horizontal" +\begin_inset ERT +status collapsed -\end_inset +\begin_layout Plain Layout -Table with 1.5 -\begin_inset space \thinspace{} -\end_inset -pt thick horizontal lines +\backslash +cdashline{4-5} \end_layout \end_inset - +p \end_layout -\begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - - +\end_inset + \begin_inset Text \begin_layout Plain Layout -sd +q \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +r \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +s \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout @@ -18933,31 +22749,31 @@ sd \end_inset - + + + \begin_inset Text \begin_layout Plain Layout -sd +t \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - +u \end_layout \end_inset - - - + \begin_inset Text \begin_layout Plain Layout - +v \end_layout \end_inset @@ -18966,7 +22782,7 @@ sd \begin_inset Text \begin_layout Plain Layout - +w \end_layout \end_inset @@ -18975,7 +22791,7 @@ sd \begin_inset Text \begin_layout Plain Layout -sd +x \end_layout \end_inset @@ -18991,46 +22807,55 @@ sd \end_inset -\begin_inset ERT +\end_layout + +\begin_layout Standard +\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 status collapsed \begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! arydshln +\end_layout +\end_inset -\backslash -renewcommand{ -\backslash -hline}{ -\backslash -myHline} + must be loaded in the document preamble with the command \end_layout -\end_inset +\begin_layout Standard +\series bold +\backslash +usepackage{arydshln} \end_layout \begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - -To set the line thickness to 1.5 -\begin_inset space \thinspace{} +To make a vertical line dashed, enter the colon +\begin_inset Quotes eld \end_inset -pt only for vertical lines, create the following column format in the document - preamble, according to the description in section -\begin_inset space ~ +: +\begin_inset Quotes erd \end_inset + together with the character for the horizontal alignment as \SpecialChar LaTeX + argument in + the table cell dialog. +\end_layout -\begin_inset CommandInset ref -LatexCommand ref -reference "sub:Customized-Format" - -\end_inset - -: +\begin_layout Standard +For a horizontal dashed line add the command \end_layout \begin_layout Standard @@ -19038,188 +22863,220 @@ reference "sub:Customized-Format" \series bold \backslash -newcolumntype{V}{!{ -\backslash -vrule width 1.5pt}} +hdashline \end_layout \begin_layout Standard -For Table -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Table-with-vertical" - -\end_inset +in \SpecialChar TeX + Code as first element of the first cell in the table row. +\end_layout - the LaTeX-argument +\begin_layout Standard +For dashed multicolumn lines use the command \end_layout \begin_layout Standard \series bold -VcV + +\backslash +cdashline{line number +\series default +} \end_layout \begin_layout Standard -was used for the last column and +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_layout Standard \series bold -Vc + +\backslash +cdashline{2-4} \end_layout \begin_layout Standard -for the other columns. +as the first element of the first cell in the row of the multicolumn. \end_layout \begin_layout Standard -\begin_inset Float table -wide false -sideways false -status open +\begin_inset VSpace bigskip +\end_inset -\begin_layout Plain Layout -\begin_inset Caption -\begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Table-with-vertical" +\end_layout +\begin_layout Standard +Table +\begin_inset space ~ \end_inset -Table with 1.5 -\begin_inset space \thinspace{} + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-with-dashed" + \end_inset -pt thick vertical lines -\end_layout + was created using +\begin_inset Quotes eld +\end_inset + +\series bold +:c +\series default + +\begin_inset Quotes erd \end_inset + as \SpecialChar LaTeX + argument of the third column. + The \SpecialChar TeX + Code command +\series bold -\end_layout +\backslash +hdashline +\series default + was inserted in the first cell of the third row and the \SpecialChar TeX + Code command +\begin_inset Newline newline +\end_inset -\begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - - - -\begin_inset Text + +\series bold -\begin_layout Plain Layout -sd +\backslash +cdashline{4-5} +\series default + was inserted in the first cell of the fourth row. \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip \end_inset - - -\begin_inset Text -\begin_layout Plain Layout \end_layout +\begin_layout Standard +Tables with dashed lines can also be colored as shown by Table +\begin_inset space ~ \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -\end_layout +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Colored-table-with" \end_inset - - - - -\begin_inset Text + +. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed \begin_layout Plain Layout + +\backslash +setlength{ +\backslash +arrayrulewidth}{1pt} \end_layout \end_inset - - -\begin_inset Text + + +\begin_inset Note Note +status collapsed \begin_layout Plain Layout -sd +thicker lines for better visualization of the line color \end_layout \end_inset - - -\begin_inset Text -\begin_layout Plain Layout \end_layout -\end_inset - - - - -\begin_inset Text +\begin_layout Standard +\begin_inset ERT +status collapsed \begin_layout Plain Layout + +\backslash +dashgapcolor{green} \end_layout \end_inset - - -\begin_inset Text -\begin_layout Plain Layout +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +color gaps between dashes green \end_layout \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -sd + \end_layout -\end_inset - - - +\begin_layout Standard +\begin_inset ERT +status collapsed -\end_inset +\begin_layout Plain Layout +\backslash +let +\backslash +myHdashline +\backslash +hdashline \end_layout -\end_inset +\begin_layout Plain Layout +\backslash +renewcommand{ +\backslash +hdashline} \end_layout -\begin_layout Subsection -Dashed Lines -\begin_inset Index idx +\begin_layout Plain Layout + + { +\backslash +arrayrulecolor{red} +\backslash +myHdashline +\backslash +arrayrulecolor{black}} +\end_layout + +\end_inset + + +\begin_inset Note Note status collapsed \begin_layout Plain Layout -Table Customization ! Dashed Lines +color horizontal, dashed lines red \end_layout \end_inset @@ -19235,21 +23092,41 @@ status collapsed \backslash -ifarydshln +let +\backslash +myCdashline +\backslash +cdashline +\end_layout + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +cdashline}[1] +\end_layout + +\begin_layout Plain Layout + + { +\backslash +arrayrulecolor{yellow} +\backslash +myCdashline{#1} +\backslash +arrayrulecolor{black}} \end_layout \end_inset \begin_inset Note Note -status open +status collapsed \begin_layout Plain Layout -The following section will only be displayed when the LaTeX-package -\series bold -arydshln -\series default - is installed. +color partial horizontal, dashed lines yellow \end_layout \end_inset @@ -19259,22 +23136,22 @@ arydshln \begin_layout Standard \begin_inset Float table -placement H +placement h wide false sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Table-with-dashed" +name "tab:Colored-table-with" \end_inset -Table with dashed lines +Colored table with dashed lines \end_layout \end_inset @@ -19287,13 +23164,13 @@ Table with dashed lines \begin_inset Tabular - - - - - + + + + + - + \begin_inset Text \begin_layout Plain Layout @@ -19302,7 +23179,7 @@ a \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -19311,7 +23188,7 @@ b \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -19320,7 +23197,7 @@ c \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -19329,7 +23206,7 @@ d \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -19340,7 +23217,7 @@ e - + \begin_inset Text \begin_layout Plain Layout @@ -19349,7 +23226,7 @@ f \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -19403,6 +23280,19 @@ hdashline \end_inset + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +rowcolor{Gray} +\end_layout + +\end_inset + k \end_layout @@ -19485,7 +23375,7 @@ r \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -19545,7 +23435,19 @@ w \begin_inset Text \begin_layout Plain Layout -x +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +cellcolor{Maroon} +\end_layout + +\end_inset + +i \end_layout \end_inset @@ -19564,63 +23466,211 @@ x \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 -\series bold -arydshln -\series default +\begin_inset ERT +status collapsed -\begin_inset Index idx +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +hdashline}{ +\backslash +myHdashline} +\end_layout + +\end_inset + + +\begin_inset Note Note status collapsed \begin_layout Plain Layout -LaTeX-packages ! arydshln +reset to default \end_layout \end_inset - must be loaded in the document preamble with the command + \end_layout \begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout -\series bold \backslash -usepackage{arydshln} +renewcommand{ +\backslash +cdashline}{ +\backslash +myCdashline} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +reset to default +\end_layout + +\end_inset + + \end_layout \begin_layout Standard -To make a vertical line dashed, enter the colon -\begin_inset Quotes eld +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +nodashgapcolor +\end_layout + \end_inset -: -\begin_inset Quotes erd + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +reset to default +\end_layout + \end_inset - together with the character for the horizontal alignment as LaTeX-argument - in the table cell dialog. + \end_layout \begin_layout Standard -For a horizontal dashed line add the command +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +setlength{ +\backslash +arrayrulewidth}{0.4pt} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +reset to default +\end_layout + +\end_inset + + \end_layout \begin_layout Standard +The coloring of lines, columns and lines works as decribed in section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Colored-Tables" + +\end_inset +. + Coloring horizontal lines works analogically as described there as well, + one only needs to replace in the commands +\series bold + +\backslash +myHlineC +\series default + by +\series bold + +\backslash +myHdashline +\series default + and +\backslash + +\series bold +hline +\series default + by \series bold \backslash hdashline +\series default +; so one uses the command \end_layout \begin_layout Standard -in TeX-Code as first element of the first cell in the table row. + +\series bold + +\backslash +let +\backslash +myHdashline +\backslash +hdashline +\begin_inset Newline newline +\end_inset + + +\backslash +renewcommand{ +\backslash +hdashline} +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + +{ +\backslash +arrayrulecolor{red} +\backslash +myHdashline +\backslash +arrayrulecolor{black}} \end_layout \begin_layout Standard -For dashed multicolumn lines use the command +To color +\series bold + +\backslash +cdashline +\series default +, the command is \end_layout \begin_layout Standard @@ -19628,15 +23678,56 @@ For dashed multicolumn lines use the command \series bold \backslash -cdashline{line number -\series default -} +let +\backslash +myCdashline +\backslash +cdashline +\begin_inset Newline newline +\end_inset + + +\backslash +renewcommand{ +\backslash +cdashline}[1] +\begin_inset Newline newline +\end_inset + + +\begin_inset Phantom HPhantom +status open + +\begin_layout Plain Layout +\begin_inset space ~ +\end_inset + + +\end_layout + +\end_inset + +{ +\backslash +arrayrulecolor{red} +\backslash +myCdashline{#1} +\backslash +arrayrulecolor{black}} \end_layout \begin_layout Standard -in 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 +To get back the black line color, one needs to insert the following commands + as \SpecialChar TeX + Code behind the table: +\end_layout + +\begin_layout Standard +For +\series bold + +\backslash +hdashline \end_layout \begin_layout Standard @@ -19644,62 +23735,118 @@ in TeX-Code as the first element of the first cell in the table row. \series bold \backslash -cdashline{2-4} +renewcommand{ +\backslash +hdashline}{ +\backslash +myHdashline} \end_layout \begin_layout Standard -as the first element of the first cell in the row of the multicolumn. +and for +\series bold + +\backslash +cdashline \end_layout \begin_layout Standard -\begin_inset VSpace bigskip -\end_inset +\series bold +\backslash +renewcommand{ +\backslash +cdashline}{ +\backslash +myCdashline} \end_layout \begin_layout Standard -Table -\begin_inset space ~ -\end_inset +To color the gaps between the dashes the command +\end_layout +\begin_layout Standard -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Table-with-dashed" +\series bold -\end_inset +\backslash +dashgapcolor{color} +\end_layout - was created using -\begin_inset Quotes eld -\end_inset +\begin_layout Standard +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 +\begin_layout Standard \series bold -:c + +\backslash +nodashgapcolor +\end_layout + +\begin_layout Standard +unsets the changes made by +\series bold + +\backslash +dashgapcolor \series default +. +\end_layout -\begin_inset Quotes erd +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\color none +Note +\series default +: If there are multiple commands in a cell, the command of +\series bold +arydshln +\series default + needs to be the first one in the cell. + Therefore in cell +\emph on +k +\emph default + of Table +\begin_inset space ~ \end_inset - as LaTeX-argument of the third column. - The TeX-Code command + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Colored-table-with" + +\end_inset + + the command \series bold \backslash hdashline \series default - was inserted in the first cell of the third row and the TeX-Code command -\begin_inset Newline newline -\end_inset - - + is before \series bold \backslash -cdashline{4-5} +rowcolor \series default - was inserted in the first cell of the fourth row. +. +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -19709,13 +23856,16 @@ status open \begin_layout Plain Layout \series bold +\color none Note: \series default - The LaTeX-package + The \SpecialChar LaTeX +-package \series bold arydshln \series default - is apparently not compatible with the LaTeX-package + must be loaded in the document preamble before the \SpecialChar LaTeX +-package \series bold colortbl \series default @@ -19724,24 +23874,13 @@ colortbl status collapsed \begin_layout Plain Layout -LaTeX-packages ! colortbl +\SpecialChar LaTeX +-packages ! colortbl \end_layout -\end_inset - - that is used for colored tables in section -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:Colored-Tables" - \end_inset . - That means colored tables cannot have dashed lines. \end_layout \end_inset @@ -19767,7 +23906,8 @@ else 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 @@ -19803,6 +23943,21 @@ fi \end_layout +\begin_layout Standard +For more information about dashed lines see the documentation of +\series bold +arydshln +\series default +, +\begin_inset CommandInset citation +LatexCommand cite +key "arydshln" + +\end_inset + +. +\end_layout + \begin_layout Chapter Floats \begin_inset CommandInset label @@ -19869,13 +24024,13 @@ Margin Notes \family default - are also floats, because they can float to the next page when there are + are also floats because they can float to the next page when there are too many notes on the page. \end_layout \begin_layout Standard Floats allow a high quality layout. - Images and tables can be spread evenly to the pages to avoid white space + Images and tables can be spread evenly among the pages to avoid white space and pages without text. As the floating often destroys the context between the text and the image/table , every float can be referenced in the text. @@ -19897,10 +24052,22 @@ reference "sec:Referencing-Floats" \begin_layout Standard To insert a float, use the menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Float \family default -. + (toolbar button +\begin_inset Info +type "icon" +arg "float-insert figure" +\end_inset + + or +\begin_inset Info +type "icon" +arg "float-insert table" +\end_inset + +). This inserts the \family sans Caption @@ -19923,8 +24090,9 @@ reference "sec:Caption-Placement" \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 @@ -19937,9 +24105,10 @@ reference "sec:Caption-Placement" \end_layout \begin_layout Standard -It is recommended that you insert floats as a separate standard paragraph - to avoid possible LaTeX-errors that can occur when the surrounding text - is specially formatted. +It is recommended that you insert floats as separate standard paragraphs + to avoid possible \SpecialChar LaTeX +-errors that can occur when the surrounding text is specially + formatted. \end_layout \begin_layout Standard @@ -19970,7 +24139,8 @@ reference "sec:Table-Floats" \end_inset - respectively, LyX offers the float types + respectively, \SpecialChar LyX + offers the float types \family sans Algorithm \family default @@ -20015,7 +24185,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -20056,8 +24226,8 @@ end loop \begin_layout Standard This float type is inserted with the menu \family sans -Insert\SpecialChar \menuseparator -Floats\SpecialChar \menuseparator +Insert\SpecialChar menuseparator +Float\SpecialChar menuseparator Algorithm \family default . @@ -20076,9 +24246,11 @@ reference "cha:Program-Code-Listings" . 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 @@ -20149,7 +24321,7 @@ algorithm \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 @@ -20158,11 +24330,13 @@ List \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 @@ -20317,8 +24491,8 @@ roman{table}} \backslash thetable \series default - is the command that prints the table number, for figure floats, the command - would be + is the command that prints the table number. + For figure floats, the command would be \series bold \backslash @@ -20331,7 +24505,7 @@ thefigure \backslash roman \series default - in the command above prints the table number as small roman number. + in the command above prints the table number as a small roman number. \end_layout \begin_layout Standard @@ -20396,7 +24570,7 @@ Please also have a look at section \begin_inset CommandInset ref LatexCommand ref -reference "sub:Footnote-Numbering" +reference "subsec:Footnote-Numbering" \end_inset @@ -20437,19 +24611,15 @@ References ! to Floats \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 -\family sans - \begin_inset Info type "icon" arg "label-insert" \end_inset - -\family default . A grey label box like this one: \begin_inset Graphics @@ -20460,7 +24630,8 @@ arg "label-insert" \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 @@ -20480,20 +24651,21 @@ fig: 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 -\family sans - \begin_inset Info type "icon" arg "dialog-show-new-inset ref" \end_inset - -\family default . + The cross-reference window appears showing all labels of the document. + 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 @@ -20502,11 +24674,7 @@ arg "dialog-show-new-inset ref" \end_inset - will be inserted and the cross-reference window appear showing all labels - of the document. - If you have multiple 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. + will be inserted. At the position of the cross-reference box the float number will appear in the output. \end_layout @@ -20520,8 +24688,8 @@ It is recommended that you use a protected space between the cross-reference \begin_layout Standard You can change labels at any time by clicking on the label box. - References to the changed label will automatically change its link to the - new label text, so that you don't need to take care about this. + References to the changed label will automatically update their links to + the new label text. \end_layout \begin_layout Standard @@ -20543,15 +24711,13 @@ Label \end_inset Back and you can use it to set the cursor back to the cross-reference. - Right-clicking on a cross-reference box also sets the cursor before the - referenced label but without the possibility of going back. \end_layout \begin_layout Subsection Cross-Reference Formats \begin_inset CommandInset label LatexCommand label -name "sub:Cross-Reference-Formats" +name "subsec:Cross-Reference-Formats" \end_inset @@ -20680,7 +24846,8 @@ status open \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 @@ -20693,7 +24860,8 @@ refstyle status collapsed \begin_layout Plain Layout -LaTeX-packages ! prettyref +\SpecialChar LaTeX +-packages ! prettyref \end_layout \end_inset @@ -20703,7 +24871,8 @@ LaTeX-packages ! prettyref status collapsed \begin_layout Plain Layout -LaTeX-packages ! refstyle +\SpecialChar LaTeX +-packages ! refstyle \end_layout \end_inset @@ -20717,15 +24886,16 @@ LaTeX-packages ! refstyle \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 . @@ -20834,7 +25004,8 @@ on this page \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 @@ -20852,7 +25023,8 @@ status open \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 @@ -20861,7 +25033,8 @@ refstyle status collapsed \begin_layout Plain Layout -LaTeX-packages ! refstyle +\SpecialChar LaTeX +-packages ! refstyle \end_layout \end_inset @@ -20875,12 +25048,14 @@ prettyref status collapsed \begin_layout Plain Layout -LaTeX-packages ! prettyref +\SpecialChar LaTeX +-packages ! prettyref \end_layout \end_inset - does not know all of LyX's possible label shortcuts + does not know all of \SpecialChar LyX +'s possible label shortcuts \begin_inset Foot status collapsed @@ -20892,7 +25067,8 @@ fig: \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 @@ -20903,40 +25079,6 @@ fig: \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -Note: -\series default - Due to a bug in the LaTeX-package -\series bold -varioref -\series default - version 1.4w, some cross-reference formats will cause LaTeX errors for document - languages that make the period character active (like French). - For a workaround, see -\begin_inset Newline newline -\end_inset - - -\begin_inset CommandInset href -LatexCommand href -target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5" - -\end_inset - -. -\end_layout - -\end_inset - - \end_layout \begin_layout Subsection @@ -20954,7 +25096,8 @@ References ! Automatic Reference Naming \end_layout \begin_layout Standard -The LaTeX-package +The \SpecialChar LaTeX +-package \series bold hyperref \series default @@ -20963,7 +25106,8 @@ hyperref status collapsed \begin_layout Plain Layout -LaTeX-packages ! hyperref +\SpecialChar LaTeX +-packages ! hyperref \end_layout \end_inset @@ -21003,7 +25147,8 @@ Figure \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 @@ -21111,55 +25256,14 @@ To get automatic names, but not for certain reference types, for example \series bold -\backslash -newlength{ -\backslash -abc} -\begin_inset Newline newline -\end_inset - - -\backslash -settowidth{ -\backslash -abc}{ -\backslash -space} -\begin_inset Newline newline -\end_inset - - \backslash addto \backslash extrasenglish{ \backslash -renewcommand{ -\backslash -equationautorefname} -\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 -hspace{- +renewcommand*{ \backslash -abc}} +equationautorefname}[1]{}} \end_layout \begin_layout Standard @@ -21202,7 +25306,7 @@ reference \begin_inset CommandInset ref LatexCommand ref -reference "sub:Cross-Reference-Formats" +reference "subsec:Cross-Reference-Formats" \end_inset @@ -21226,7 +25330,7 @@ Math Reference Position \begin_inset CommandInset label LatexCommand label -name "sub:Reference-Position" +name "subsec:Reference-Position" \end_inset @@ -21253,7 +25357,8 @@ hyperref status collapsed \begin_layout Plain Layout -LaTeX-packages ! hyperref +\SpecialChar LaTeX +-packages ! hyperref \end_layout \end_inset @@ -21281,12 +25386,14 @@ hypcap status collapsed \begin_layout Plain Layout -LaTeX-packages ! hypcap +\SpecialChar LaTeX +-packages ! hypcap \end_layout \end_inset -, which is part of the LaTeX-package +, which is part of the \SpecialChar LaTeX +-package \series bold oberdiek \series default @@ -21295,7 +25402,8 @@ oberdiek status collapsed \begin_layout Plain Layout -LaTeX-packages ! oberdiek +\SpecialChar LaTeX +-packages ! oberdiek \end_layout \end_inset @@ -21379,8 +25487,13 @@ Floats ! Placement \end_layout \begin_layout Standard -Right-clicking on a float-box opens a dialog where you can alter the placement - options that LaTeX uses for positioning the float. +Right-clicking on a float-box and clicking on +\family sans +Settings +\family default + opens a dialog where you can alter the placement options that \SpecialChar LaTeX + uses for + positioning the float. \begin_inset Newline newline \end_inset @@ -21416,7 +25529,7 @@ reference "sec:Rotated-Floats" \end_layout \begin_layout Standard -You can use one ore more of the following options in the float dialog to +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 \family sans Use @@ -21485,9 +25598,10 @@ The order of the above option is \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 ~ @@ -21512,14 +25626,15 @@ of 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 -placements are possible the procedure is internally repeated but it is tried - to put the float on the following page. +placements is possible the procedure is internally repeated trying to put + the float on the following page. \end_layout \begin_layout Standard @@ -21599,7 +25714,7 @@ floats \begin_inset space \thinspace{} \end_inset -% of the page are occupied by floats, several floats can be set together +% of the page is occupied by floats, several floats can be set together on a page. ( \series bold @@ -21618,7 +25733,8 @@ Ignore \begin_inset space ~ \end_inset -LaTeX +\SpecialChar LaTeX + \begin_inset space ~ \end_inset @@ -21628,8 +25744,9 @@ rules \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{} @@ -21685,7 +25802,8 @@ There are no placement options for text wrap floats, because they are always 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 @@ -21724,8 +25842,8 @@ mySection} \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 @@ -21734,7 +25852,8 @@ You can define the same for all section headings, like chapters and subsections. 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 @@ -21743,7 +25862,8 @@ endfloat status collapsed \begin_layout Plain Layout -LaTeX-packages ! endfloat +\SpecialChar LaTeX +-packages ! endfloat \end_layout \end_inset @@ -21781,7 +25901,7 @@ usepackage[options]{endfloat} \begin_layout Standard There are various package options to format the created figure/table sections. - For more information we refer to the + For more information we refer you to the \series bold endfloat \series default @@ -21862,7 +25982,8 @@ ss \begin_inset Quotes erd \end_inset - in TeX-Code instead of + in \SpecialChar TeX + Code instead of \begin_inset Quotes eld \end_inset @@ -21882,7 +26003,8 @@ ss \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" @@ -21992,7 +26114,7 @@ sideways true status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -22014,11 +26136,11 @@ name "tab:Rotated-table" \begin_inset Tabular - - - - - + + + + + \begin_inset Text @@ -22157,7 +26279,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -22186,7 +26308,7 @@ sideways false status collapsed \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -22208,11 +26330,11 @@ This is subtable a. \begin_inset Tabular - - - - - + + + + + \begin_inset Text @@ -22280,7 +26402,7 @@ sideways false status collapsed \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -22302,11 +26424,11 @@ This is subtable b. \begin_inset Tabular - - - - - + + + + + \begin_inset Text @@ -22382,7 +26504,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -22408,7 +26530,7 @@ sideways false status collapsed \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout @@ -22424,10 +26546,10 @@ status collapsed \begin_inset Tabular - - - - + + + + \begin_inset Text @@ -22486,7 +26608,7 @@ sideways false status collapsed \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout @@ -22502,11 +26624,11 @@ status collapsed \begin_inset Tabular - - - - - + + + + + \begin_inset Text @@ -22678,6 +26800,11 @@ width "45col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open \begin_layout Plain Layout @@ -22694,7 +26821,7 @@ status open \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -22729,6 +26856,11 @@ width "45col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open \begin_layout Plain Layout @@ -22745,7 +26877,7 @@ status open \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -22767,13 +26899,37 @@ Float on the right side. \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 @@ -22817,7 +26973,8 @@ Caption Floats \family default . - On the LyX screen captions appear as label, e. + On the \SpecialChar LyX + screen captions appear as a label, e. \begin_inset space \thinspace{} \end_inset @@ -22849,12 +27006,13 @@ Figure #: 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 @@ -22863,7 +27021,8 @@ caption status collapsed \begin_layout Plain Layout -LaTeX-packages ! caption +\SpecialChar LaTeX +-packages ! caption \end_layout \end_inset @@ -22880,7 +27039,7 @@ usepackage[format definition]{caption} \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 @@ -23002,7 +27161,8 @@ KOMA-Script status collapsed \begin_layout Plain Layout -LaTeX-packages ! KOMA-Script +\SpecialChar LaTeX +-packages ! KOMA-Script \end_layout \end_inset @@ -23110,7 +27270,8 @@ KOMA-Script status collapsed \begin_layout Plain Layout -LaTeX-packages ! KOMA-Script +\SpecialChar LaTeX +-packages ! KOMA-Script \end_layout \end_inset @@ -23233,7 +27394,7 @@ status open \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -23282,7 +27443,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -23306,11 +27467,11 @@ This is an example table caption that is longer than one line to show the \begin_inset Tabular - - - - - + + + + + \begin_inset Text @@ -23414,7 +27575,8 @@ Table: Caption is set above the table \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 @@ -23433,12 +27595,23 @@ letter 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 +status collapsed + +\begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! caption +\end_layout + +\end_inset + + in your document preamble with the option \begin_inset Foot status collapsed @@ -23463,7 +27636,7 @@ caption \end_inset -: + \end_layout \begin_layout Standard @@ -23482,7 +27655,8 @@ KOMA-Script status collapsed \begin_layout Plain Layout -LaTeX-packages ! KOMA-Script +\SpecialChar LaTeX +-packages ! KOMA-Script \end_layout \end_inset @@ -23511,11 +27685,342 @@ report (KOMA-Script) \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 +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 + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +Joe +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Mary +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Ted +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\int x^{2}dx$ +\end_inset + + +\end_layout + +\end_inset + + +\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 + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $1+1=2$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +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 + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +Joe +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Mary +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Ted +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $\int x^{2}dx$ +\end_inset + + +\end_layout + +\end_inset + + +\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 + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Formula $1+1=2$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + \end_layout \begin_layout Standard @@ -23523,7 +28028,8 @@ captions=tableheading \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 @@ -23532,7 +28038,8 @@ sidecap status collapsed \begin_layout Plain Layout -LaTeX-packages ! sidecap +\SpecialChar LaTeX +-packages ! sidecap \end_layout \end_inset @@ -23585,7 +28092,8 @@ ifsidecap 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 @@ -23598,17 +28106,11 @@ sidecap \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 @@ -23924,7 +28426,8 @@ FigBesBeg \end_layout \begin_layout Standard -in TeX-Code before the float. +in \SpecialChar TeX + Code before the float. And insert the command \end_layout @@ -23937,8 +28440,9 @@ FigBesEnd \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 @@ -24000,7 +28504,8 @@ sidecaptionvpos{float type}{placement} \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 @@ -24209,7 +28714,8 @@ status open \series bold Note: \series default - The LaTeX-package + The \SpecialChar LaTeX +-package \series bold hypcap \series default @@ -24218,7 +28724,8 @@ hypcap status collapsed \begin_layout Plain Layout -LaTeX-packages ! hypcap +\SpecialChar LaTeX +-packages ! hypcap \end_layout \end_inset @@ -24230,7 +28737,7 @@ LaTeX-packages ! hypcap \begin_inset CommandInset ref LatexCommand ref -reference "sub:Reference-Position" +reference "subsec:Reference-Position" \end_inset @@ -24276,7 +28783,7 @@ status open \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -24337,7 +28844,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -24358,11 +28865,11 @@ This is a caption beside a table. \begin_inset Tabular - - - - - + + + + + \begin_inset Text @@ -24586,6 +29093,19 @@ status collapsed \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 @@ -24610,7 +29130,7 @@ status open \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -24671,7 +29191,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -24680,7 +29200,7 @@ name "tab:cap-beside-tab-wider" \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 @@ -24703,11 +29223,11 @@ reference "tab:cap-beside-tab" \begin_inset Tabular - - - - - + + + + + \begin_inset Text @@ -24942,7 +29462,8 @@ else 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 @@ -24955,7 +29476,8 @@ sidecap \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 @@ -24998,7 +29520,7 @@ Similar to the table of contents where the sections of the document are documents. You can insert them via the \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator List \begin_inset space ~ \end_inset @@ -25026,12 +29548,14 @@ Notes \end_layout \begin_layout Section -LyX Notes +\SpecialChar LyX + Notes \begin_inset Index idx status collapsed \begin_layout Plain Layout -Notes ! LyX Notes +Notes ! \SpecialChar LyX + Notes \end_layout \end_inset @@ -25041,18 +29565,14 @@ Notes ! LyX Notes \begin_layout Standard Notes are inserted with the toolbar button -\family sans - \begin_inset Info type "icon" arg "note-insert" \end_inset - -\family default or the menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Note \family default . @@ -25060,7 +29580,8 @@ Note \end_layout \begin_layout Description -LyX +\SpecialChar LyX + \begin_inset space ~ \end_inset @@ -25096,12 +29617,15 @@ This is text in a note box that doesn't appear in the output. \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 +\SpecialChar LaTeX + (pdflatex) / (plain) \family default . Its note-box looks like this: @@ -25126,7 +29650,8 @@ LaTeX (pdflatex) / (plain) 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 @@ -25234,8 +29759,9 @@ egroup} 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 @@ -25258,25 +29784,22 @@ As you can see in the example, the first line of greyed out notes is a bit \end_inset When you use the toolbar button -\family sans - \begin_inset Info type "icon" arg "note-insert" \end_inset - -\family default to insert notes, a \family sans -LyX +\SpecialChar LyX + \begin_inset space ~ \end_inset Note \family default is inserted. - You can switch between the five note types by right-clicking on the note-box. + You can switch between the three note types by right-clicking on the note-box. \family roman \series medium @@ -25306,8 +29829,8 @@ button 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 . @@ -25346,30 +29869,18 @@ Footnotes \begin_layout Standard Footnotes can be inserted using the toolbar button -\family sans - \begin_inset Info type "icon" arg "footnote-insert" \end_inset - -\family default or the menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Footnote \family default . - -\family roman -\series medium -\bar no -You'll see -\family default -\series default -\bar default - then the following footnote-box: + You will then see the following footnote-box: \begin_inset Graphics filename clipart/footnoteQt4.png scale 80 @@ -25485,9 +29996,10 @@ thefootnote} 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. - It depends on your document-class, whether the footnote number is reset - for every chapter. + 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_layout Standard @@ -25525,7 +30037,17 @@ reference "foot:This-is-an" \begin_inset VSpace defskip \end_inset -Footnotes in tables are not printed by LaTeX due to technical reasons. +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 +\begin_inset VSpace defskip +\end_inset + +Footnotes in tables are not printed by \SpecialChar LaTeX + due to technical reasons. However there exists another method to print them: Instead of the footnote the command \series bold @@ -25533,8 +30055,10 @@ Footnotes in tables are not printed by LaTeX due to technical reasons. \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 @@ -25564,7 +30088,7 @@ Printed table footnote. \begin_inset Tabular - + \begin_inset Text @@ -25649,7 +30173,7 @@ Footnotes in longtables are described in section \begin_inset CommandInset ref LatexCommand ref -reference "sub:Footnotes-in-Longtables" +reference "subsec:Footnotes-in-Longtables" \end_inset @@ -25698,6 +30222,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open \begin_layout Plain Layout @@ -25778,14 +30307,16 @@ To refer to the same footnote several times without printing the footnote \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 @@ -25894,7 +30425,7 @@ thefootnote] Footnote Numbering \begin_inset CommandInset label LatexCommand label -name "sub:Footnote-Numbering" +name "subsec:Footnote-Numbering" \end_inset @@ -26357,7 +30888,8 @@ reference "fig:Footnote-placement-in" \end_inset -, use the LaTeX-package +, use the \SpecialChar LaTeX +-package \series bold ftnright \series default @@ -26366,7 +30898,8 @@ ftnright status collapsed \begin_layout Plain Layout -LaTeX-packages ! ftnright +\SpecialChar LaTeX +-packages ! ftnright \end_layout \end_inset @@ -26425,7 +30958,7 @@ status collapsed \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -26490,7 +31023,7 @@ status collapsed \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -26499,7 +31032,8 @@ name "fig:Footnote-placement-in" \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 @@ -26554,8 +31088,8 @@ Endnotes 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 @@ -26583,7 +31117,8 @@ theendnotes \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 @@ -26628,7 +31163,7 @@ status collapsed \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -26698,7 +31233,7 @@ The numbering of endnotes can be changed like the footnote numbering as \begin_inset CommandInset ref LatexCommand ref -reference "sub:Footnote-Numbering" +reference "subsec:Footnote-Numbering" \end_inset @@ -26728,7 +31263,7 @@ theendnote \begin_inset CommandInset ref LatexCommand ref -reference "sub:Footnote-Numbering" +reference "subsec:Footnote-Numbering" \end_inset @@ -26775,7 +31310,8 @@ reference "sec:Footnotes" \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 @@ -26784,7 +31320,8 @@ footmisc status collapsed \begin_layout Plain Layout -LaTeX-packages ! footmisc +\SpecialChar LaTeX +-packages ! footmisc \end_layout \end_inset @@ -26800,8 +31337,8 @@ key "footmisc" \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" @@ -26818,7 +31355,8 @@ KOMA-Script status collapsed \begin_layout Plain Layout -LaTeX-packages ! KOMA-Script +\SpecialChar LaTeX +-packages ! KOMA-Script \end_layout \end_inset @@ -26849,10 +31387,11 @@ Notes ! Margin Notes \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 @@ -26860,15 +31399,11 @@ Marginal Note \family default or the toolbar button -\family sans - \begin_inset Info type "icon" arg "marginalnote-insert" \end_inset - -\family default . A grey \family roman @@ -26934,7 +31469,8 @@ reversemarginpar \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 @@ -26998,7 +31534,8 @@ normalmarginpar \end_layout \begin_layout Standard -in TeX-Code. +in \SpecialChar TeX + Code. \begin_inset ERT status collapsed @@ -27062,7 +31599,7 @@ AVeryLongMarginParWord that isn't hyphenated. \begin_inset CommandInset ref LatexCommand ref -reference "sub:Multiple-Lines-in" +reference "subsec:Multiple-Lines-in" \end_inset @@ -27142,7 +31679,8 @@ ifmarginnote 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 @@ -27155,7 +31693,8 @@ marginnote \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 @@ -27164,14 +31703,16 @@ marginnote status collapsed \begin_layout Plain Layout -LaTeX-packages ! marginnote +\SpecialChar LaTeX +-packages ! marginnote \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 @@ -27204,8 +31745,9 @@ marginnote 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 @@ -27235,7 +31777,8 @@ For example the margin note beside this text line is shifted up 1.5 \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 @@ -27670,7 +32213,8 @@ else 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 @@ -27683,7 +32227,8 @@ marginnote \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 @@ -27766,7 +32311,7 @@ reference "sec:Prevent-Hyphenation" \begin_inset CommandInset ref LatexCommand ref -reference "sub:Vertical-Alignment" +reference "subsec:Vertical-Alignment" \end_inset @@ -27787,19 +32332,15 @@ reference "sec:Colored-Boxes" \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 sans - \begin_inset Info type "icon" arg "box-insert Frameless" \end_inset - -\family default . A grey box with the label \family sans @@ -28062,6 +32603,11 @@ width "12col%" special "none" height "1in" height_special "depth" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28112,6 +32658,11 @@ width "20col%" special "none" height "2in" height_special "height" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28153,6 +32704,11 @@ width "20col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28186,6 +32742,11 @@ width "12col%" special "none" height "1in" height_special "width" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28242,6 +32803,11 @@ width "12col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28268,6 +32834,11 @@ width "12col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28294,6 +32865,11 @@ width "12col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28333,8 +32909,9 @@ a shadow and the other one not. \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 @@ -28366,6 +32943,11 @@ width "12col%" 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 @@ -28392,6 +32974,11 @@ width "12col%" 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 @@ -28418,6 +33005,11 @@ width "12col%" 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 @@ -28444,6 +33036,11 @@ width "12col%" 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 @@ -28475,8 +33072,9 @@ To stretch the box content, it must consist of more than one paragraph. \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 ~ @@ -28500,6 +33098,11 @@ width "15col%" 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 @@ -28532,6 +33135,10 @@ Inner Box \family default , you can align the box content horizontally in the box dialog. +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -28547,6 +33154,11 @@ width "90col%" 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 @@ -28607,13 +33219,7 @@ rectangular \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" @@ -28626,6 +33232,11 @@ width "20col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28665,6 +33276,11 @@ width "20col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28704,6 +33320,11 @@ width "20col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28722,17 +33343,7 @@ Drop \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" @@ -28745,6 +33356,11 @@ width "20col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28797,6 +33413,11 @@ width "50col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28822,34 +33443,28 @@ frame This draws a double-line rectangular frame around the box. \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 @@ -28874,6 +33489,11 @@ width "20col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28890,8 +33510,10 @@ Double rectangular box \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 @@ -28900,7 +33522,8 @@ fancybox status collapsed \begin_layout Plain Layout -LaTeX-packages ! fancybox +\SpecialChar LaTeX +-packages ! fancybox \end_layout \end_inset @@ -28918,27 +33541,7 @@ simple rectangular frame \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" @@ -28950,6 +33553,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -28976,228 +33584,6 @@ Boxes ! Customization \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" -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 -\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 @@ -29282,6 +33668,11 @@ width "25col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open \begin_layout Plain Layout @@ -29329,257 +33720,15 @@ cornersize{0.5} \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 -\begin_inset VSpace bigskip -\end_inset - - -\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 @@ -29587,9 +33736,9 @@ definecolor{shadecolor} \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 @@ -29625,7 +33774,8 @@ Note that \backslash definecolor \series default - requires the LaTeX-package + requires the \SpecialChar LaTeX +-package \series bold color \series default @@ -29646,23 +33796,12 @@ reference "sec:Colored-Boxes" \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 @@ -29676,15 +33815,6 @@ status collapsed \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 @@ -29703,6 +33833,11 @@ width "100col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open \begin_layout Plain Layout @@ -29730,15 +33865,6 @@ status collapsed \begin_layout Plain Layout -\backslash -setlength{ -\backslash -fboxsep}{3pt} -\end_layout - -\begin_layout Plain Layout - - \backslash definecolor{shadecolor}{rgb}{1,0,0} \end_layout @@ -29752,8 +33878,8 @@ definecolor{shadecolor}{rgb}{1,0,0} \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 @@ -29778,8 +33904,9 @@ Boxes ! Minipages \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 @@ -29795,12 +33922,12 @@ Below are two example minipages side by side. 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 @@ -29826,11 +33953,16 @@ width "45col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open \begin_layout Plain Layout -\lang german +\lang ngerman Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. @@ -29849,7 +33981,7 @@ status collapsed \begin_layout Plain Layout -\lang german +\lang ngerman Dies ist eine deutsche Fußnote. \end_layout @@ -29878,6 +34010,11 @@ width "45col%" special "none" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status open \begin_layout Plain Layout @@ -29907,7 +34044,6 @@ This is an English footnote. \end_inset This is an English Text. - \end_layout \end_inset @@ -29945,7 +34081,7 @@ Minipages can also be used to set a background color for text parts, see \begin_inset CommandInset ref LatexCommand ref -reference "sub:Color-for-Paragraphs" +reference "sec:Colored-Boxes" \end_inset @@ -29970,6 +34106,30 @@ Note: \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 @@ -29994,6 +34154,10 @@ Boxes ! Parboxes \begin_layout Standard Parboxes are very similar to minipages with the difference that they cannot have footnotes. +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -30009,7 +34173,12 @@ width "33col%" special "none" height "1in" height_special "totalheight" -status collapsed +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" +status open \begin_layout Plain Layout This a text within a parbox. @@ -30115,11 +34284,7 @@ box \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 @@ -30135,10 +34300,15 @@ has_inner_box 1 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 @@ -30172,7 +34342,8 @@ You can alternatively set the command \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 @@ -30204,8 +34375,8 @@ veryverylongword 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 @@ -30238,10 +34409,15 @@ has_inner_box 1 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 @@ -30264,7 +34440,7 @@ veryverylongword Vertical Alignment \begin_inset CommandInset label LatexCommand label -name "sub:Vertical-Alignment" +name "subsec:Vertical-Alignment" \end_inset @@ -30289,518 +34465,65 @@ Boxes ! Raiseboxes \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 - -\begin_layout Plain Layout - - -\backslash -raisebox{0.5cm}[0pt]{ -\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 -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 - -\begin_layout Plain Layout -Color ! for Text -\end_layout - -\end_inset - - -\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 -\series bold - -\backslash -@ifundefined -\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 -\series bold - -\backslash -colorbox -\series default -. - This will be used with the following scheme: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -colorbox{color}{box content} -\end_layout - -\begin_layout Standard -The box content can also be a box and colorboxes can also be within other - boxes. -\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 -\end_inset +\end_layout -You can also define your own color as described in section -\begin_inset space ~ -\end_inset +\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 -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:Colored-Tables" +\backslash +raisebox +\series default + is used with the following scheme: +\end_layout -\end_inset +\begin_layout Standard -. +\series bold + +\backslash +raisebox{lift}[height][depth]{box content} \end_layout \begin_layout Standard -To have e. -\begin_inset space \thinspace{} +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 -g. -\begin_inset space \space{} +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 -a red background for a word, insert the command + 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 @@ -30808,11 +34531,14 @@ a red background for a word, insert the command \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 @@ -30825,7 +34551,8 @@ before the word in TeX-Code. \begin_inset Quotes erd \end_inset - in TeX-Code. + in \SpecialChar TeX + Code. \begin_inset Newline newline \end_inset @@ -30833,7 +34560,7 @@ This is the result: \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 @@ -30841,7 +34568,9 @@ status collapsed \backslash -colorbox{red}{ +raisebox{ +\backslash +depth}{ \end_layout \end_inset @@ -30850,7 +34579,7 @@ colorbox{red}{ \begin_inset Quotes eld \end_inset -Attention! +preventing \begin_inset Quotes erd \end_inset @@ -30865,98 +34594,57 @@ status collapsed \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 @@ -30964,27 +34652,20 @@ 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 @@ -30995,18 +34676,27 @@ 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 @@ -31014,15 +34704,21 @@ 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 @@ -31034,7 +34730,15 @@ 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 @@ -31042,47 +34746,38 @@ 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 @@ -31091,7 +34786,7 @@ name "sub:Color-for-Paragraphs" status collapsed \begin_layout Plain Layout -Color ! for Paragraphs +Boxes ! Color \end_layout \end_inset @@ -31100,262 +34795,271 @@ Color ! for Paragraphs \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 +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 -\backslash -colorbox -\series default - command +\begin_layout Plain Layout +Box with orange background \end_layout -\begin_layout Standard +\end_inset -\series bold -\backslash -colorbox{color}{ \end_layout \begin_layout Standard -in TeX-Code. - After the minipage insert a closing brace -\begin_inset Quotes eld +If you use the decoration +\family sans +Simple +\begin_inset space ~ \end_inset - -\series bold -} -\series default - -\begin_inset Quotes erd +rectangular +\begin_inset space ~ \end_inset - in TeX-Code. -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed +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 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 "teal" +backgroundcolor "yellow" +status open \begin_layout Plain Layout +Box with teal frame color and yellow background color +\end_layout + +\end_inset -\backslash -colorbox{lightgrey}{ \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Of course you can also have colored text inside a colored box: +\begin_inset Newline newline \end_inset -\begin_inset Box Frameless +\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 "cyan" +backgroundcolor "magenta" +status open \begin_layout Plain Layout -This is text with background color. - This is text with background color. + +\color yellow +This is colored text within a colored, framed box \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 - -\begin_layout Plain Layout -\align center -\begin_inset Tabular - - - - - - - -\begin_inset Text -\begin_layout Plain Layout -a \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 - - -\begin_inset Text -\begin_layout Plain Layout -! -\end_layout + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Colored-Tables" \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -3 +. + To use your own color you must typeset the box by using TeX code: \end_layout -\end_inset - - - - -\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 - - -\begin_inset Text +\begin_layout Standard -\begin_layout Plain Layout -b2 -\begin_inset Quotes erd -\end_inset +\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 - - -\begin_inset Text - -\begin_layout Plain Layout -> -\end_layout +g. +\begin_inset space \space{} \end_inset - - - - -\begin_inset Text -\begin_layout Plain Layout -1 +a darkgreen background for a word, insert the command \end_layout -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -§ -\end_layout +\begin_layout Standard -\end_inset - - -\begin_inset Text +\series bold -\begin_layout Plain Layout -c +\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 - - - -\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 @@ -31367,7 +35071,7 @@ status open \series bold Note: \series default - Some DVI-viewers can't display rotated or scaled material. + Not all DVI viewers are able to display rotated or scaled material. \end_layout \end_inset @@ -31384,7 +35088,7 @@ status open \series bold Note: \series default - Floats mustn't be inside a rotated or scaled box. + Floats are not allowed inside a rotated or scaled box. \end_layout \end_inset @@ -31408,27 +35112,7 @@ Boxes ! rotated status collapsed \begin_layout Plain Layout -Rotated material -\end_layout - -\end_inset - - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Figures ! rotated -\end_layout - -\end_inset - - -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Table Customization ! Rotating +Rotated Material \end_layout \end_inset @@ -31437,26 +35121,31 @@ Table Customization ! Rotating \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 @@ -31498,48 +35187,51 @@ l \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 +Option +\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 \begin_layout Plain Layout +origin=c +\end_layout +\end_inset -\backslash -rotatebox[origin=c]{60}{ + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +60 \end_layout \end_inset with rotated -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset @@ -31552,15 +35244,26 @@ The box content can also be another box or an inline formula: \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 +\end_inset -\backslash -rotatebox[origin=r]{-60}{ + +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +-60 \end_layout \end_inset @@ -31577,6 +35280,11 @@ width "1in" special "width" height "1in" height_special "totalheight" +thickness "0.4pt" +separation "3pt" +shadowsize "4pt" +framecolor "black" +backgroundcolor "none" status collapsed \begin_layout Plain Layout @@ -31586,40 +35294,39 @@ with rotated \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 - -\backslash -rotatebox[origin=lb]{60}{ +\begin_layout Plain Layout +origin=lb \end_layout \end_inset -\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\begin_inset Argument 2 +status open + +\begin_layout Plain Layout +60 +\end_layout + \end_inset -\begin_inset ERT -status collapsed +\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\end_inset -\begin_layout Plain Layout -} \end_layout \end_inset @@ -31632,15 +35339,26 @@ or an image or table: \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 @@ -31654,25 +35372,20 @@ rotatebox[origin=lb]{90}{ \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 @@ -31681,8 +35394,8 @@ rotatebox[origin=l]{-90}{ \begin_inset Tabular - - + + \begin_inset Text @@ -31728,26 +35441,16 @@ r \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset and table. -\end_layout - -\begin_layout Subsection -Scaled Boxes \begin_inset Index idx status collapsed \begin_layout Plain Layout -Boxes ! scaled +Figures ! rotated \end_layout \end_inset @@ -31757,135 +35460,179 @@ Boxes ! scaled status collapsed \begin_layout Plain Layout -Scaled material +Table Customization ! Rotating \end_layout \end_inset -\begin_inset Index idx -status collapsed +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open \begin_layout Plain Layout -Figures ! 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 status collapsed \begin_layout Plain Layout -Table Customization ! Scaling +Boxes ! scaled \end_layout \end_inset -\end_layout - -\begin_layout Standard -To scale material the commands -\series bold - -\backslash -scalebox -\series default - and -\series bold +\begin_inset Index idx +status collapsed -\backslash -resizebox -\series default - can be used as TeX-Code. +\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 there 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 @@ -31895,32 +35642,47 @@ status collapsed \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 @@ -31931,30 +35693,45 @@ status collapsed \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 @@ -31963,82 +35740,158 @@ status collapsed \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 there 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 of 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 @@ -32047,44 +35900,59 @@ status collapsed \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 @@ -32093,20 +35961,12 @@ 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 @@ -32123,60 +35983,77 @@ resizebox \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 @@ -32190,24 +36067,26 @@ Images, tables, and inline formulas are allowed as box content: \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 lyxscale 50 @@ -32216,39 +36095,39 @@ reflectbox{ \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 - - + + \begin_inset Text @@ -32294,44 +36173,63 @@ r \end_inset -\begin_inset ERT -status collapsed +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Flex Resizebox +status open \begin_layout Plain Layout +\begin_inset Argument 1 +status open -}}} +\begin_layout Plain Layout +3cm \end_layout \end_inset -\begin_inset ERT -status collapsed +\begin_inset Flex Reflectbox +status open \begin_layout Plain Layout +\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\end_inset -\backslash -rotatebox[origin=c]{-45}{ -\backslash -resizebox{2cm}{!}{ -\backslash -reflectbox{ \end_layout \end_inset -\begin_inset Formula $\int A\,\mathrm{d}x=B$ +\end_layout + \end_inset -\begin_inset ERT +\begin_inset Index idx status collapsed \begin_layout Plain Layout +Figures ! scaled +\end_layout + +\end_inset + -}}} +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table Customization ! Scaling \end_layout \end_inset @@ -32431,7 +36329,7 @@ status open \end_layout \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -32454,8 +36352,8 @@ This is a figure wrap float. 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 Figure \begin_inset space ~ \end_inset @@ -32478,7 +36376,8 @@ Wrap Float \family default - if the LaTeX-package + if the \SpecialChar LaTeX +-package \series bold wrapfig \series default @@ -32487,20 +36386,8 @@ wrapfig status collapsed \begin_layout Plain Layout -LaTeX-packages ! wrapfig -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -vspace{4mm} -\end_layout - -\end_inset - - +\SpecialChar LaTeX +-packages ! wrapfig \end_layout \end_inset @@ -32510,9 +36397,11 @@ vspace{4mm} 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 @@ -32557,7 +36446,8 @@ span 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 ~ @@ -32679,6 +36569,10 @@ reference "sec:Wrap-Floats" \end_inset have these positions in the paragraph: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_layout Standard @@ -32687,18 +36581,16 @@ reference "sec:Wrap-Floats" \begin_inset Tabular - - + + \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 @@ -32744,8 +36636,8 @@ text \begin_inset Tabular - - + + \begin_inset Text @@ -32760,11 +36652,9 @@ 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 @@ -32815,8 +36705,8 @@ To get an object exactly at the position where it is inserted, for example \begin_inset Tabular - - + + \begin_inset Text @@ -32842,11 +36732,9 @@ 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 @@ -32872,8 +36760,8 @@ text \begin_inset Tabular - - + + \begin_inset Text @@ -32908,90 +36796,12 @@ text \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 - - - - -\end_inset - - -\begin_inset Tabular - - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - -\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 - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - +\begin_inset Info +type "icon" +arg "dialog-show-new-inset graphics" \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -text -\end_layout -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -text \end_layout \end_inset @@ -33005,9 +36815,9 @@ text \begin_inset Tabular - - - + + + \begin_inset Text @@ -33022,165 +36832,12 @@ text \begin_inset Text \begin_layout Plain Layout -text -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - -\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 - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - - - -\end_inset - - -\end_layout - -\begin_layout Standard -\noindent -\align center -\begin_inset Tabular - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - - - -\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 - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - +\begin_inset Info +type "icon" +arg "dialog-show-new-inset graphics" \end_inset - - - -\end_inset - -\begin_inset Tabular - - - - - - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -text \end_layout \end_inset @@ -33192,42 +36849,6 @@ text text \end_layout -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - -\end_inset - - -\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 - - -\begin_inset Text - -\begin_layout Plain Layout -text -\end_layout - \end_inset @@ -33265,11 +36886,166 @@ text \end_inset +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Info +type "icon" +arg "dialog-show-new-inset graphics" +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +\align center \begin_inset Tabular - - + + + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Info +type "icon" +arg "dialog-show-new-inset graphics" +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset Tabular + + + + + \begin_inset Text @@ -33278,6 +37054,15 @@ text text \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + \end_inset @@ -33298,18 +37083,109 @@ text text \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Info +type "icon" +arg "dialog-show-new-inset graphics" +\end_inset + + +\end_layout + \end_inset \begin_inset Text \begin_layout Plain Layout -\begin_inset Graphics - filename ../images/dialog-show-new-inset_graphics.png - scale 70 - scaleBeforeRotation +text +\end_layout \end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +text +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\begin_inset Info +type "icon" +arg "dialog-show-new-inset graphics" +\end_inset \end_layout @@ -33346,7 +37222,8 @@ text \begin_layout Standard \noindent -you can use the LaTeX-package +you can use the \SpecialChar LaTeX +-package \series bold picinpar \series default @@ -33355,7 +37232,8 @@ picinpar status collapsed \begin_layout Plain Layout -LaTeX-packages ! picinpar +\SpecialChar LaTeX +-packages ! picinpar \end_layout \end_inset @@ -33382,7 +37260,8 @@ ifpicinpar 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 @@ -33524,7 +37403,8 @@ begin{window}[2,c,{ \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. @@ -33628,7 +37508,8 @@ else 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 @@ -33641,7 +37522,8 @@ picinpar \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 @@ -33689,7 +37571,8 @@ Surrounded by text ! Initials \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 @@ -33698,7 +37581,8 @@ lettrine status collapsed \begin_layout Plain Layout -LaTeX-packages ! lettrine +\SpecialChar LaTeX +-packages ! lettrine \end_layout \end_inset @@ -33709,8 +37593,8 @@ Initials \family default in your document (menu \family sans -Document\SpecialChar \menuseparator -Settings\SpecialChar \menuseparator +Document\SpecialChar menuseparator +Settings\SpecialChar menuseparator Modules \family default ). @@ -33719,20 +37603,34 @@ Modules Initial \family default . - This style has a mandatory and an optional argument. - The mandatory argument is inserted via the menu + This style has a mandatory and two optional arguments. + The arguments are inserted via the +\family sans +Insert +\family default + menu. + The mandatory argument +\family sans +Initial +\family default + contains the letter(s) that is the initial, the argument \family sans -Insert\SpecialChar \menuseparator -Short +Rest \begin_inset space ~ \end_inset -Title +of +\begin_inset space ~ +\end_inset + +Initial +\family default + contains the rest of the word or text of the initial letter(s). + The argument +\family sans +Options \family default - and contains the letter that is the initial. - To use also the optional argument, insert another argument in front of - the mandatory argument. - This one contains parameters to modify the initial. + contains parameters to modify the initial. For more information about the possible parameters see the documentation of \series bold @@ -33753,16 +37651,6 @@ key "lettrine" small caps \shape default . - To tell LaTeX where this word is finished, add a closing brace ' -\series bold -} -\series default -' as TeX Code behind it. - At the end of the style there must be an opening brace ' -\series bold -{ -\series default -' as TeX Code. \end_layout \begin_layout Standard @@ -33787,7 +37675,8 @@ iflettrine 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 @@ -33805,11 +37694,15 @@ No optional argument, the initial is the letter 'I' in the math font \end_inset : +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_deeper \begin_layout Initial -\begin_inset Argument +\begin_inset Argument 2 status open \begin_layout Plain Layout @@ -33821,13 +37714,12 @@ status open \end_inset -t -\begin_inset ERT -status collapsed -\begin_layout Plain Layout +\begin_inset Argument 3 +status open -} +\begin_layout Plain Layout +t \end_layout \end_inset @@ -33839,17 +37731,6 @@ status collapsed out in the police investigation, but a good deal was suppressed upon that occasion, since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts. -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{ -\end_layout - -\end_inset - - \begin_inset Newpage newpage \end_inset @@ -33860,11 +37741,15 @@ status collapsed \begin_layout Enumerate Only one line is surrounding the initial, which is formed by two letters in standard font and no text is printed in small caps: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_deeper \begin_layout Initial -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -33874,24 +37759,13 @@ lines=1 \end_inset -\begin_inset Argument +\begin_inset Argument 2 status open \begin_layout Plain Layout It \end_layout -\end_inset - - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} -\end_layout - \end_inset was in the spring of the year 1894 that all London was interested, and @@ -33901,17 +37775,6 @@ status collapsed out in the police investigation, but a good deal was suppressed upon that occasion, since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts. -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{ -\end_layout - -\end_inset - - \end_layout \end_deeper @@ -34041,6 +37904,12 @@ white { \backslash usepackage{color}}{} +\series default + +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_deeper @@ -34075,7 +37944,7 @@ makes the initial magenta \end_layout \begin_layout Initial -\begin_inset Argument +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -34085,7 +37954,7 @@ lines=3, lhang=0.33, loversize=0.25 \end_inset -\begin_inset Argument +\begin_inset Argument 2 status open \begin_layout Plain Layout @@ -34097,13 +37966,12 @@ status open \end_inset -t was in the spring -\begin_inset ERT -status collapsed -\begin_layout Plain Layout +\begin_inset Argument 3 +status open -} +\begin_layout Plain Layout +t was in the spring \end_layout \end_inset @@ -34115,17 +37983,6 @@ status collapsed out in the police investigation, but a good deal was suppressed upon that occasion, since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts. -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -{ -\end_layout - -\end_inset - - \end_layout \end_deeper @@ -34147,7 +38004,8 @@ else 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 @@ -34160,7 +38018,8 @@ lettrine \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 @@ -34200,10 +38059,10 @@ External Document Parts \begin_layout Standard With the menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator File \family default - you can insert external material to your document. + you can insert external material into your document. This can be: \end_layout @@ -34212,8 +38071,8 @@ LyX \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 @@ -34255,7 +38114,9 @@ Child \begin_inset space ~ \end_inset -Document LyX or LaTeX-documents. +Document \SpecialChar LyX + or \SpecialChar LaTeX + documents. \end_layout \begin_layout Section @@ -34273,13 +38134,16 @@ External Document Parts ! External Material \end_layout \begin_layout Standard -The external material feature allows you to insert files in to your document +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 ~ @@ -34289,10 +38153,11 @@ and \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 @@ -34302,8 +38167,8 @@ External Material \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 @@ -34366,19 +38231,22 @@ Remove the protected space when bug 4398 is fixed! \begin_inset Newline newline \end_inset -The date is not shown within LyX, only in the output. +The date is not shown within \SpecialChar LyX +, only in the output. There are two other methods of inserting a date: Via menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Date \family default - and with the LaTeX command + and with the \SpecialChar LaTeX + command \series bold \backslash today \series default - as TeX-Code. + as \SpecialChar TeX + Code. The different methods are compared in Table \begin_inset space ~ \end_inset @@ -34455,15 +38323,16 @@ target "http://en.wikipedia.org/wiki/Office_Open_XML" \end_inset . - For this feature LyX must have found the program + 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 LyX's example file - + For examples and possible limitations have a look at \SpecialChar LyX +'s example file \emph on spreadsheet.lyx \emph default @@ -34488,8 +38357,9 @@ target "http://en.wikipedia.org/wiki/LilyPond" \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 @@ -34602,7 +38472,8 @@ noautoscale \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 @@ -34618,7 +38489,8 @@ key "pdfpages" status collapsed \begin_layout Plain Layout -LaTeX-packages ! pdfpages +\SpecialChar LaTeX +-packages ! pdfpages \end_layout \end_inset @@ -34635,8 +38507,9 @@ Beamer \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 @@ -34727,7 +38600,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -34749,10 +38622,10 @@ Comparison of the date input methods. \begin_inset Tabular - - - - + + + + \begin_inset Text @@ -34769,7 +38642,7 @@ Document format \begin_layout Plain Layout \family sans -External Material\SpecialChar \menuseparator +External Material\SpecialChar menuseparator Date \end_layout @@ -34781,7 +38654,7 @@ Date \begin_layout Plain Layout \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Date \end_layout @@ -34806,7 +38679,8 @@ today \begin_inset Text \begin_layout Plain Layout -LyX +\SpecialChar LyX + \end_layout \end_inset @@ -34833,7 +38707,8 @@ as date \begin_inset Text \begin_layout Plain Layout -as TeX-Code inset box +as \SpecialChar TeX + Code inset box \end_layout \end_inset @@ -34844,7 +38719,8 @@ as TeX-Code inset box \begin_inset Text \begin_layout Plain Layout -LaTeX +\SpecialChar LaTeX + \end_layout \end_inset @@ -34944,7 +38820,8 @@ External Material \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 @@ -35019,16 +38896,17 @@ child documents , and a master document connects them to print the full document or parts of it. - A child document inherits elements of 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 @@ -35036,12 +38914,14 @@ Document 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 @@ -35051,8 +38931,8 @@ Included documents are displayed in LyX as a box like this: 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 @@ -35064,17 +38944,20 @@ Documents \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 -Load +Edit \family default button in the \family sans Child Document \family default - dialog, the included documents will be opened in LyX in a new file tab - so that you can modify them. + 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 @@ -35108,7 +38991,7 @@ The section numbering includes the sections of the included files in the \begin_inset CommandInset ref LatexCommand ref -reference "sub:External-Subsection-1" +reference "subsec:External-Subsection-1" \end_inset @@ -35133,9 +39016,11 @@ status open \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 @@ -35146,6 +39031,10 @@ Note: \begin_layout Description Input This method is very similar to the Include method. The differences are: +\begin_inset Separator parbreak +\end_inset + + \end_layout \begin_deeper @@ -35154,7 +39043,8 @@ Input files don't start with a new page and don't end with a page break. \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 ~ @@ -35162,7 +39052,8 @@ Instant Preview \family default - is enabled in LyX's preferences under + is enabled in \SpecialChar LyX +'s preferences under \family sans Look \begin_inset space ~ @@ -35172,7 +39063,7 @@ and \begin_inset space ~ \end_inset -feel\SpecialChar \menuseparator +feel\SpecialChar menuseparator Graphics \family default . @@ -35181,8 +39072,8 @@ Graphics \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 . @@ -35236,15 +39127,16 @@ textvisiblespace 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 @@ -35327,7 +39219,8 @@ status open 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 @@ -35342,12 +39235,12 @@ e single chapters of the book you are just writing, you can exclude children 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 @@ -35374,15 +39267,17 @@ Input \family sans Maintain counters and references \family default - is enabled, LyX will assure that all page numbers, references etc. + is enabled, \SpecialChar LyX + will assure that all page numbers, references etc. \begin_inset space ~ \end_inset are correct as if the whole document was processed. 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. + However, \SpecialChar 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. \end_layout @@ -35397,7 +39292,8 @@ Branches are described in section \emph on Branches \emph default - of the LyX + of the \SpecialChar LyX + \emph on Userguide \emph default @@ -35406,7 +39302,7 @@ Userguide \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. @@ -35461,11 +39357,12 @@ Listings \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 +-package \series bold listings \series default @@ -35474,7 +39371,8 @@ listings status collapsed \begin_layout Plain Layout -LaTeX-packages ! listings +\SpecialChar LaTeX +-packages ! listings \end_layout \end_inset @@ -35620,7 +39518,7 @@ Float \begin_layout Standard You can add captions to listings with the menu \family sans -Insert\SpecialChar \menuseparator +Insert\SpecialChar menuseparator Caption \family default . @@ -35635,7 +39533,24 @@ reference "lst:Example-Listing" \end_inset +. + A list of listings which contains all listings with captions can be created + via the menu +\family sans +Insert\SpecialChar menuseparator +List +\begin_inset space ~ +\end_inset +/ +\begin_inset space ~ +\end_inset + +TOC\SpecialChar menuseparator +List of Listings +\family default +. + The list entries are the listing caption and the listing number. \end_layout \begin_layout Standard @@ -35646,7 +39561,7 @@ status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -35713,8 +39628,8 @@ typewriter 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 . @@ -35935,8 +39850,8 @@ listings 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 @@ -35982,7 +39897,7 @@ To reference child document listings, write a label text into the corresponding 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 . @@ -36008,7 +39923,8 @@ reference "lst:file-listing" \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 @@ -36098,7 +40014,7 @@ status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout Example Listing float containing a formula @@ -36147,8 +40063,8 @@ frac{1}{x^{2}}$ \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. @@ -36187,7 +40103,8 @@ key "listings" \begin_layout Chapter \start_of_appendix -Units available in LyX +Units available in \SpecialChar LyX + \begin_inset Index idx status collapsed @@ -36219,7 +40136,8 @@ reference "tab:Units" \end_inset - explains all units available in LyX. + explains all units available in \SpecialChar LyX +. \end_layout \begin_layout Standard @@ -36230,7 +40148,7 @@ sideways false status open \begin_layout Plain Layout -\begin_inset Caption +\begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label @@ -36257,10 +40175,11 @@ Units \begin_layout Plain Layout \align center \begin_inset Tabular - + - - + + + \begin_inset Text @@ -36271,13 +40190,23 @@ unit \end_inset - + \begin_inset Text \begin_layout Plain Layout name/description \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +\SpecialChar LaTeX + command +\end_layout + \end_inset @@ -36291,13 +40220,22 @@ mm \end_inset - + \begin_inset Text \begin_layout Plain Layout millimeter \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36311,13 +40249,22 @@ cm \end_inset - + \begin_inset Text \begin_layout Plain Layout centimeter \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36331,13 +40278,22 @@ in \end_inset - + \begin_inset Text \begin_layout Plain Layout inch \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36351,7 +40307,7 @@ pt \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -36366,6 +40322,15 @@ pt = 1 in) \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36379,7 +40344,7 @@ pc \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -36394,6 +40359,15 @@ pc = 12 pt) \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36407,7 +40381,7 @@ sp \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -36422,6 +40396,15 @@ sp = 1 pt) \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36435,7 +40418,7 @@ bp \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -36450,6 +40433,15 @@ bp = 1 in) \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36463,7 +40455,7 @@ dd \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -36482,6 +40474,15 @@ dd mm) \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36495,7 +40496,7 @@ cc \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -36510,6 +40511,15 @@ cc = 12 dd) \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36518,18 +40528,27 @@ dd) \begin_inset Text \begin_layout Plain Layout -Scale% +Scale Graphics % \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 + +\end_layout + \end_inset @@ -36538,18 +40557,29 @@ Scale% \begin_inset Text \begin_layout Plain Layout -text% +Text Width % \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 + +\backslash +textwidth +\end_layout + \end_inset @@ -36558,18 +40588,29 @@ text% \begin_inset Text \begin_layout Plain Layout -col% +Column Width % \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout % of column width \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +columnwidth +\end_layout + \end_inset @@ -36578,18 +40619,29 @@ col% \begin_inset Text \begin_layout Plain Layout -page% +Page Width % \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout % of paper width \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +paperwidth +\end_layout + \end_inset @@ -36598,18 +40650,29 @@ page% \begin_inset Text \begin_layout Plain Layout -line% +Line Width % \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout % of line width \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +linewidth +\end_layout + \end_inset @@ -36618,18 +40681,29 @@ line% \begin_inset Text \begin_layout Plain Layout -theight% +Text Height % \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout % of text height \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +textheight +\end_layout + \end_inset @@ -36638,18 +40712,29 @@ theight% \begin_inset Text \begin_layout Plain Layout -pheight% +Page Height % \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout % of paper height \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\backslash +paperheight +\end_layout + \end_inset @@ -36663,7 +40748,7 @@ ex \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -36674,6 +40759,15 @@ x in current font \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36687,7 +40781,7 @@ em \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -36698,6 +40792,15 @@ M in current font \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36711,7 +40814,7 @@ mu \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -36726,6 +40829,15 @@ mu = 1/18 em) \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +- +\end_layout + \end_inset @@ -36856,8 +40968,8 @@ Note: \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 . @@ -36870,13 +40982,6 @@ View \begin_layout Section PostScript -\begin_inset CommandInset label -LatexCommand label -name "sec:PostScript" - -\end_inset - - \begin_inset Index idx status collapsed @@ -36955,7 +41060,8 @@ programming language 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 @@ -36998,8 +41104,9 @@ Encapsulated PostScript \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 @@ -37008,12 +41115,14 @@ Encapsulated PostScript \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 @@ -37021,8 +41130,8 @@ conversions whenever you view or export your document. \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 . @@ -37030,15 +41139,7 @@ Postscript \family sans View \family default - menu or by using the toolbar button -\begin_inset Graphics - filename ../images/buffer-view_ps.png - scale 85 - scaleBeforeRotation - -\end_inset - -. + menu. \end_layout \begin_layout Section @@ -37159,7 +41260,8 @@ Portable Network Graphics \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. @@ -37170,7 +41272,7 @@ Portable Network Graphics \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: @@ -37245,27 +41347,7 @@ You can view your document as PDF via the \family sans View \family default - menu or by using the toolbar button -\begin_inset Graphics - filename ../images/buffer-view_pdf2.png - scale 85 - scaleBeforeRotation - -\end_inset - - -\family sans -( -\family default -that uses -\family sans -PDF -\begin_inset space ~ -\end_inset - -(pdflatex) -\family default -). + menu or by using a toolbar button. \end_layout \begin_layout Chapter @@ -40788,19 +44870,19 @@ We can calculate the total width of 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, @@ -40809,8 +44891,9 @@ where \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 @@ -40841,13 +44924,13 @@ reference "eq:Wtot_n" \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 @@ -40875,7 +44958,7 @@ reference "eq:Wtot_mult" \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 @@ -40883,13 +44966,13 @@ reference "eq:Wtot_mult" 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 @@ -40898,7 +44981,6 @@ W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep} \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexcompanion" @@ -40907,14 +44989,14 @@ key "latexcompanion" Frank Mittelbach and Michel Goossens: \emph on -The LaTeX Companion Second Edition. +The \SpecialChar LaTeX + Companion Second Edition. \emph default Addison-Wesley, 2004 \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexguide" @@ -40924,14 +45006,14 @@ key "latexguide" 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 \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexbook" @@ -40940,27 +45022,28 @@ key "latexbook" Leslie Lamport: \emph on -LaTeX: A Document Preparation System. +\SpecialChar LaTeX +: A Document Preparation System. \emph default Addison-Wesley, second edition, 1994 \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "booktabs" +key "arydshln" \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" +name "arydshln" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf" \end_inset @@ -40971,7 +45054,8 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktab status collapsed \begin_layout Plain Layout -LaTeX-packages ! booktabs +\SpecialChar LaTeX +-packages ! arydshln \end_layout \end_inset @@ -40980,20 +45064,20 @@ LaTeX-packages ! booktabs \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "caption" +key "booktabs" \end_inset -Documentation of the LaTeX-package +Documentation of the \SpecialChar LaTeX +-package \series bold \begin_inset CommandInset href LatexCommand href -name "caption" -target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf" +name "booktabs" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf" \end_inset @@ -41004,7 +45088,8 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption. status collapsed \begin_layout Plain Layout -LaTeX-packages ! caption +\SpecialChar LaTeX +-packages ! booktabs \end_layout \end_inset @@ -41013,20 +45098,20 @@ LaTeX-packages ! caption \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "endfloat" +key "caption" \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" +name "caption" +target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf" \end_inset @@ -41037,7 +45122,8 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloa status collapsed \begin_layout Plain Layout -LaTeX-packages ! endfloat +\SpecialChar LaTeX +-packages ! caption \end_layout \end_inset @@ -41046,20 +45132,20 @@ LaTeX-packages ! endfloat \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "footmisc" +key "diagbox" \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" +name "diagbox" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf" \end_inset @@ -41070,7 +45156,8 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmis status collapsed \begin_layout Plain Layout -LaTeX-packages ! footmisc +\SpecialChar LaTeX +-packages ! diagbox \end_layout \end_inset @@ -41079,20 +45166,20 @@ LaTeX-packages ! footmisc \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "hypcap" +key "endfloat" \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" +name "endfloat" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf" \end_inset @@ -41103,7 +45190,8 @@ target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf status collapsed \begin_layout Plain Layout -LaTeX-packages ! hyperref +\SpecialChar LaTeX +-packages ! endfloat \end_layout \end_inset @@ -41112,20 +45200,20 @@ LaTeX-packages ! hyperref \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "hyperref" +key "footmisc" \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" +name "footmisc" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf" \end_inset @@ -41136,7 +45224,8 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperre status collapsed \begin_layout Plain Layout -LaTeX-packages ! hyperref +\SpecialChar LaTeX +-packages ! footmisc \end_layout \end_inset @@ -41145,20 +45234,20 @@ LaTeX-packages ! hyperref \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "KOMA-Script" +key "hypcap" \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" +name "hypcap" +target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf" \end_inset @@ -41169,7 +45258,8 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrg status collapsed \begin_layout Plain Layout -LaTeX-packages ! KOMA-Script +\SpecialChar LaTeX +-packages ! hyperref \end_layout \end_inset @@ -41178,20 +45268,20 @@ LaTeX-packages ! KOMA-Script \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "listings" +key "hyperref" \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" +name "hyperref" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf" \end_inset @@ -41202,7 +45292,8 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listing status collapsed \begin_layout Plain Layout -LaTeX-packages ! listings +\SpecialChar LaTeX +-packages ! hyperref \end_layout \end_inset @@ -41211,20 +45302,20 @@ LaTeX-packages ! listings \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "marginnote" +key "KOMA-Script" \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" +name "KOMA-Script" +target "http://mirror.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf" \end_inset @@ -41235,7 +45326,8 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/margi status collapsed \begin_layout Plain Layout -LaTeX-packages ! marginnote +\SpecialChar LaTeX +-packages ! KOMA-Script \end_layout \end_inset @@ -41244,14 +45336,14 @@ LaTeX-packages ! marginnote \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "lettrine" \end_inset -Documentation of the LaTeX-package +Documentation of the \SpecialChar LaTeX +-package \series bold \begin_inset CommandInset href @@ -41276,7 +45368,8 @@ target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf" status collapsed \begin_layout Plain Layout -LaTeX-packages ! lettrine +\SpecialChar LaTeX +-packages ! lettrine \end_layout \end_inset @@ -41285,20 +45378,20 @@ LaTeX-packages ! lettrine \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "pstricks" +key "listings" \end_inset -Web page of the LaTeX-package +Documentation of the \SpecialChar LaTeX +-package \series bold \begin_inset CommandInset href LatexCommand href -name "PSTricks" -target "http://tug.org/PSTricks/" +name "listings" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf" \end_inset @@ -41309,7 +45402,8 @@ target "http://tug.org/PSTricks/" status collapsed \begin_layout Plain Layout -LaTeX-packages ! PSTricks +\SpecialChar LaTeX +-packages ! listings \end_layout \end_inset @@ -41318,20 +45412,20 @@ LaTeX-packages ! PSTricks \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "sidecap" +key "marginnote" \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" +name "marginnote" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf" \end_inset @@ -41342,7 +45436,8 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap. status collapsed \begin_layout Plain Layout -LaTeX-packages ! sidecap +\SpecialChar LaTeX +-packages ! marginnote \end_layout \end_inset @@ -41351,14 +45446,14 @@ LaTeX-packages ! sidecap \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "pdfpages" \end_inset -Documentation of the LaTeX-package +Documentation of the \SpecialChar LaTeX +-package \series bold \begin_inset CommandInset href @@ -41375,7 +45470,8 @@ target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.p status collapsed \begin_layout Plain Layout -LaTeX-packages ! pdfpages +\SpecialChar LaTeX +-packages ! pdfpages \end_layout \end_inset @@ -41384,14 +45480,14 @@ LaTeX-packages ! pdfpages \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "prettyref" \end_inset -Documentation of the LaTeX-package +Documentation of the \SpecialChar LaTeX +-package \series bold \begin_inset CommandInset href @@ -41408,7 +45504,42 @@ target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref status collapsed \begin_layout Plain Layout -LaTeX-packages ! prettyref +\SpecialChar LaTeX +-packages ! prettyref +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "pstricks" + +\end_inset + +Web page of the \SpecialChar LaTeX +-package +\series bold + +\begin_inset CommandInset href +LatexCommand href +name "PSTricks" +target "http://tug.org/PSTricks/" + +\end_inset + + +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! PSTricks \end_layout \end_inset @@ -41417,14 +45548,14 @@ LaTeX-packages ! prettyref \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "refstyle" \end_inset -Documentation of the LaTeX-package +Documentation of the \SpecialChar LaTeX +-package \series bold \begin_inset CommandInset href @@ -41441,7 +45572,42 @@ target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf" status collapsed \begin_layout Plain Layout -LaTeX-packages ! refstyle +\SpecialChar LaTeX +-packages ! refstyle +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "sidecap" + +\end_inset + +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" + +\end_inset + + +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +\SpecialChar LaTeX +-packages ! sidecap \end_layout \end_inset @@ -41450,7 +45616,6 @@ LaTeX-packages ! refstyle \end_layout \begin_layout Bibliography -\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "NewInLyX20" @@ -41467,7 +45632,8 @@ target "http://wiki.lyx.org/LyX/NewInLyX20" about new features in \family sans -LyX 2.0 +\SpecialChar LyX + 2.0 \family default . \end_layout