X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2FEmbeddedObjects.lyx;h=7bb26f6e8c2c94f06ad05bfafab0b95e5ff6ede5;hb=c48091f33a773732fa6c789927e5833e44108d9d;hp=b0d6ceabd0998f003a42b2e6ff28217e02de65f2;hpb=b065b964579082feaf7ac182ab61759be05cbf37;p=lyx.git diff --git a/lib/doc/EmbeddedObjects.lyx b/lib/doc/EmbeddedObjects.lyx index b0d6ceabd0..7bb26f6e8c 100644 --- a/lib/doc/EmbeddedObjects.lyx +++ b/lib/doc/EmbeddedObjects.lyx @@ -1,5 +1,5 @@ -#LyX 1.6.8svn created this file. For more info see http://www.lyx.org/ -\lyxformat 345 +#LyX 2.0 created this file. For more info see http://www.lyx.org/ +\lyxformat 413 \begin_document \begin_header \textclass scrbook @@ -29,25 +29,23 @@ \mainmatter } % provides caption formatting -\usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16] +\usepackage[labelfont={bf,sf}]{caption}[2004/07/16] % provides commands to set caption % beside tables/images -\usepackage{sidecap} - -\newcommand{\TabBesBeg}{% +\newcommand{\TabBesBeg}[1][1.0]{% \let\MyTable\table \let\MyEndtable\endtable - \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}} + \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}} \newcommand{\TabBesEnd}{% \let\table\MyTable \let\endtable\MyEndtable} -\newcommand{\FigBesBeg}{% +\newcommand{\FigBesBeg}[1][1.0]{% \let\MyFigure\figure \let\MyEndfigure\endfigure - \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}} + \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}} \newcommand{\FigBesEnd}{% \let\figure\MyFigure @@ -56,9 +54,6 @@ % enables calculation of values, \usepackage{calc} -% provides special table cell alignments -\usepackage{dcolumn} - % increase the bottom float placement fraction \renewcommand{\bottomfraction}{0.5} @@ -86,10 +81,6 @@ \setboolean{colortbl}{true}} {\setboolean{colortbl}{false}} -% used for multirows -\usepackage{multirow} -%\renewcommand{\multirowsetup}{\centering} - % used for book-style tables \usepackage{booktabs} @@ -122,10 +113,6 @@ % number algorithm floats within chapters \numberwithin{algorithm}{chapter} -% redefine the greyed out note -\renewenvironment{lyxgreyedout} - {\textcolor{blue}\bgroup}{\egroup} - % ------------------------------------ % used to check for needed LaTeX packages \usepackage{ifthen} @@ -155,25 +142,46 @@ \setboolean{sidecap}{true}} {\setboolean{sidecap}{false}} -% redefine the \LyX macro for PDF bookmarks -\def\LyX{\texorpdfstring{% - L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} - {LyX}} +% check for picinpar +% used for surrounded fixed objects +\newboolean{picinpar} +\IfFileExists{picinpar.sty} + {\usepackage{picinpar} + \setboolean{picinpar}{true}} + {\setboolean{picinpar}{false}} + +% check for lettrine +\newboolean{lettrine} +\IfFileExists{lettrine.sty} + {\usepackage{lettrine} + \setboolean{lettrine}{true}} + {\setboolean{lettrine}{false}} \end_preamble -\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove +\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading \use_default_options false +\begin_modules +initials +\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_default_family default +\use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default \paperfontsize 12 \spacing single \use_hyperref true @@ -190,14 +198,24 @@ \pdf_colorlinks true \pdf_backref false \pdf_pdfusetitle false -\pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" +\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 \cite_engine basic \use_bibtopic false +\use_indices false \paperorientation portrait +\suppress_date false +\use_refstyle 0 +\notefontcolor #0000ff +\index Index +\shortcut idx +\color #008000 +\end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation skip @@ -211,8 +229,9 @@ \bullet 3 2 7 -1 \tracking_changes false \output_changes false -\author "" -\author "" +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false \end_header \begin_body @@ -264,7 +283,7 @@ author: Uwe Stöhr \family sans -Version 1.6.x +Version 2.0.x \end_layout \begin_layout Standard @@ -292,9 +311,9 @@ colortbl \series default , \series bold -marginnote +lettrine, marginnote, picinpar \series default -, and + and \series bold sidecap \series default @@ -320,7 +339,7 @@ http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects \begin_layout Chapter Figures -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -330,7 +349,7 @@ Figures \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -366,7 +385,7 @@ status collapsed \begin_layout Section Graphics Dialog -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -433,7 +452,7 @@ reference "cha:Units-available-in" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -449,7 +468,7 @@ You can rotate images counter-clockwise by setting a rotation angle and \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -645,20 +664,16 @@ x.eps.bb \begin_inset Newline newline \end_inset -The field +In the section \family sans -Initialize +Graphics \begin_inset space ~ \end_inset Group -\begin_inset space ~ -\end_inset - -Name \family default - allows you define or join an image settings group. -\begin_inset Index + you can define or join an image settings group. +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -755,7 +770,7 @@ name "sec:Figure-Floats" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -765,7 +780,7 @@ Floats ! Figures \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -943,7 +958,7 @@ M.C. \end_layout \begin_layout Standard -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1186,6 +1201,13 @@ 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 @@ -1224,7 +1246,7 @@ name "sec:Image-Formats" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1234,7 +1256,7 @@ Image Formats \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1314,7 +1336,7 @@ Graphics Interchange Format \end_inset ) -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1366,7 +1388,7 @@ Portable Network Graphics \end_inset ) -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1430,7 +1452,7 @@ Joint Photographic Experts Group \end_inset ) -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1498,7 +1520,7 @@ Scalable Vector Graphics \end_inset ) -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1550,7 +1572,7 @@ Encapsulated PostScript \end_inset ) -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1602,7 +1624,7 @@ Portable Document Format \end_inset ) -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1632,7 +1654,7 @@ Windows Metafile \end_inset ) -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1708,7 +1730,7 @@ PDF/EPS converter available. \begin_layout Chapter Tables -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1722,7 +1744,7 @@ Table \begin_layout Section Introduction -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1769,7 +1791,7 @@ Table \align center \begin_inset Tabular - + @@ -1971,7 +1993,7 @@ C \begin_layout Section Table Dialog -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -1996,7 +2018,26 @@ You can alter a table by clicking on it with the right mouse button, which contents \emph default of the cell, and the cell itself. - You can alter tables with the following tabs of the table dialog: +\begin_inset Newline newline +\end_inset + +With the dialog option +\family sans +Immediate +\begin_inset space ~ +\end_inset + +Apply +\family default + 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. +\begin_inset Newline newline +\end_inset + +You can alter tables with the following tabs of the table dialog: \end_layout \begin_layout Description @@ -2008,8 +2049,41 @@ Table Settings \family default - Here you can set the horizontal alignment and the width of the current - column. + Here you can set the table width +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Table ! Width +\end_layout + +\end_inset + +, and the horizontal alignment and the width of the current column. + The alignment +\family sans +At +\begin_inset space ~ +\end_inset + +Decimal +\begin_inset space ~ +\end_inset + +Separator +\family default + is described in section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sub:Special-Cell-Alignment" + +\end_inset + +. 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 @@ -2025,7 +2099,7 @@ reference "sub:Multiple-Lines-in" \end_inset . - If you set no width, the column is as wide as the content of the widest + If you set no width, the column is as wide as the content of its widest cell. \begin_inset Newline newline \end_inset @@ -2040,6 +2114,17 @@ Furthermore, you can mark one or multiple cells of one row as a multicolumn LatexCommand ref reference "sub:Multicolumns" +\end_inset + + or the cells of one column as multirow cell, see section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sub:Multirows" + \end_inset . @@ -2067,6 +2152,218 @@ Note: \end_inset +\begin_inset Newline newline +\end_inset + +The table-wide vertical alignment is used for tables within text lines: +\begin_inset Newline newline +\end_inset + +A line with tables with different alignments: +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +1 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +1 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +1 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + + + +\end_inset + + \begin_inset Newline newline \end_inset @@ -2173,15 +2470,9 @@ reference "sec:Special-Longtable-Issues" describe the longtable features in detail. \end_layout -\begin_layout Standard -When the table dialog is open, you can move the cursor with the arrow keys - from cell to cell and the property of the current cell will immediately - be displayed in the dialog. -\end_layout - \begin_layout Section Table Toolbar -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -2351,6 +2642,17 @@ The toolbar has the following icons: right-aligns the content of the current cell / column \end_layout +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_align-decimal.png + scaleBeforeRotation + +\end_inset + + aligns the content of the current column at a character +\end_layout + \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics @@ -2417,6 +2719,17 @@ The toolbar has the following icons: sets the current cell or selection as a multicolumn \end_layout +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_multirow.png + scaleBeforeRotation + +\end_inset + + sets the current cell or selection as a multirow +\end_layout + \begin_layout Standard \begin_inset Note Greyedout status open @@ -2437,7 +2750,7 @@ Note: \begin_layout Section Edit Table Menu -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -2469,7 +2782,7 @@ name "sec:Table-Floats" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -2479,7 +2792,7 @@ Floats ! Tables \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -2535,7 +2848,7 @@ A table float. \align center \begin_inset Tabular - + @@ -2688,7 +3001,8 @@ Ted \color none \begin_inset Formula $\left[\begin{array}{cc} a & b\\ -c & d\end{array}\right]$ +c & d +\end{array}\right]$ \end_inset @@ -2807,7 +3121,7 @@ report caption \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -2866,7 +3180,7 @@ reference "sec:Caption-Formatting" \end_layout \begin_layout Standard -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -2934,7 +3248,7 @@ name "sec:Longtables" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -2944,7 +3258,7 @@ Longtables \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -3048,7 +3362,7 @@ You can also specify a row where the table is split. \align center \begin_inset Tabular - + @@ -5239,7 +5553,7 @@ name "sub:Footnotes-in-Longtables" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -5271,7 +5585,7 @@ reference "tab:DiffCaptions" \begin_layout Subsection Longtable Alignment -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -5284,23 +5598,23 @@ Longtables ! Alignment \end_layout \begin_layout Standard -Longtables are by default centered. - Unlike the alignment of the table columns and rows, the table alignment - can currently not be changed in the table dialog. - To change the alignment of longtables you have to change the value of the - lengths +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 \series bold \backslash LTleft \series default -and +or \series bold \backslash LTright \series default - by inserting this line as TeX-Code before the corresponding longtable: + by inserting this line as TeX-Code before the longtable: \end_layout \begin_layout Standard @@ -5314,7 +5628,7 @@ LTleft}{value} \end_layout \begin_layout Standard -where the value can have any of the units listed in Table +The value can have any of the units listed in Table \begin_inset space ~ \end_inset @@ -5350,17 +5664,19 @@ fill \end_layout \begin_layout Standard -The following longtable was left-aligned by setting +The following longtable was centered and \series bold \backslash LTleft \series default - to 0 -\begin_inset space \thinspace{} -\end_inset - -pt. + set to +\family sans +0.1 +\backslash +columnwidth +\family default +: \begin_inset ERT status collapsed @@ -5370,7 +5686,9 @@ status collapsed \backslash setlength{ \backslash -LTleft}{0pt} +LTleft}{0.1 +\backslash +columnwidth} \end_layout \end_inset @@ -5381,9 +5699,9 @@ LTleft}{0pt} \begin_layout Standard \begin_inset Tabular - - + + @@ -5682,7 +6000,7 @@ reference "sub:Longtable-Captions" \begin_layout Subsection Longtable Captions -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -5731,7 +6049,7 @@ Here is a short longtable to see how it works: \begin_layout Standard \begin_inset Tabular - + @@ -5746,7 +6064,7 @@ Here is a short longtable to see how it works: \begin_layout Plain Layout Longtable with caption -\begin_inset OptArg +\begin_inset Argument status open \begin_layout Plain Layout @@ -6144,7 +6462,7 @@ Note hyperref \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -6172,7 +6490,7 @@ Document Settings \begin_layout Subsubsection References to Longtables -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -6187,7 +6505,7 @@ Longtables ! References \begin_layout Standard \begin_inset Tabular - + @@ -6523,7 +6841,7 @@ The caption layout can be set together with all other captions of your document caption \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -6548,7 +6866,7 @@ reference "sec:Caption-Formatting" \begin_layout Subsubsection Caption Width -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -6609,7 +6927,7 @@ The following tables show the difference: \begin_layout Standard \begin_inset Tabular - + @@ -6625,7 +6943,7 @@ The following tables show the difference: \begin_layout Plain Layout long full title with default width long full title with default width long full title with default width -\begin_inset OptArg +\begin_inset Argument status collapsed \begin_layout Plain Layout @@ -6941,7 +7259,7 @@ LTcapwidth}{5cm} \begin_inset Tabular - + @@ -6968,7 +7286,7 @@ cm long full title with width set to 5 \end_inset cm -\begin_inset OptArg +\begin_inset Argument status collapsed \begin_layout Plain Layout @@ -7310,7 +7628,7 @@ Note: caption \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -7371,7 +7689,7 @@ caption \begin_layout Subsubsection Different Captions for Table Pages -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -7421,7 +7739,7 @@ reference "tab:DiffCaptions" \align center \begin_inset Tabular - + @@ -7441,7 +7759,7 @@ name "tab:DiffCaptions" \end_inset -\begin_inset OptArg +\begin_inset Argument status collapsed \begin_layout Plain Layout @@ -9323,7 +9641,7 @@ name "sec:Special-Longtable-Issues" \begin_layout Subsection Longtable Calculation -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -9356,7 +9674,7 @@ setcounter{LTchunksize}{100} \begin_layout Subsection Floats and Longtables -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -9394,7 +9712,7 @@ Page \begin_layout Subsection Forced Page Breaks -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -9582,7 +9900,7 @@ must be inserted as TeX-Code at the beginning of the cell. \align center \begin_inset Tabular - + @@ -9602,7 +9920,7 @@ name "tab:ForcedPagebreak" \end_inset -\begin_inset OptArg +\begin_inset Argument status collapsed \begin_layout Plain Layout @@ -10856,7 +11174,7 @@ name "sub:Multiple-Lines-in" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -10866,7 +11184,7 @@ Multiple Lines in Table Cells \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -10908,7 +11226,7 @@ Table with multiple lines in cells \align center \begin_inset Tabular - + @@ -11112,7 +11430,7 @@ Table with and without hyphenation \begin_inset Tabular - + @@ -11214,7 +11532,7 @@ i \begin_inset Tabular - + @@ -11334,7 +11652,7 @@ name "sub:Multicolumns" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -11344,7 +11662,7 @@ Multicolumns \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -11380,7 +11698,7 @@ Multicolumn \family sans Multicolumn \family default - in the appearing context menu. + in the context menu. \end_layout \begin_layout Standard @@ -11395,7 +11713,7 @@ Multicolumns have there own cell settings. \align center \begin_inset Tabular - + @@ -11539,7 +11857,7 @@ name "sub:Multicolumn-Calculations" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -11575,7 +11893,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 OptArg +\begin_inset Argument status collapsed \begin_layout Plain Layout @@ -11596,7 +11914,7 @@ Perfect multicolumn table \align center \begin_inset Tabular - + @@ -11769,7 +12087,7 @@ name "tab:Table-without-half" Table where the spanned table columns are not exactly half the width of the multicolumn cell -\begin_inset OptArg +\begin_inset Argument status collapsed \begin_layout Plain Layout @@ -11790,7 +12108,7 @@ Imperfect multicolumn table \align center \begin_inset Tabular - + @@ -11934,8 +12252,10 @@ 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}\end{equation} +\begin_inset Formula +\begin{equation} +W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn} +\end{equation} \end_inset @@ -11959,8 +12279,10 @@ reference "eq:Wgn" \end_inset becomes -\begin_inset Formula \begin{equation} -W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation} +\begin_inset Formula +\begin{equation} +W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt} +\end{equation} \end_inset @@ -11973,7 +12295,7 @@ To enable calculations in LaTeX, the LaTeX-package calc \series default must be loaded with the document preamble line -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -12095,7 +12417,14 @@ centering}m{2.5cm} \begin_layout Subsection Multirows -\begin_inset Index +\begin_inset CommandInset label +LatexCommand label +name "sub:Multirows" + +\end_inset + + +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -12105,7 +12434,7 @@ Multirows \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -12118,50 +12447,211 @@ Table ! Multirows \end_layout \begin_layout Standard -Unlike multicolumns multirows are not yet supported by LyX; so a bit of - TeX-Code needs to be used. - To use multirows load the LaTeX-package -\series bold +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 +\begin_inset Graphics + filename ../images/tabular-feature_multirow.png + scale 85 + scaleBeforeRotation + +\end_inset + +, or the menu +\family sans +Edit\SpecialChar \menuseparator +Table\SpecialChar \menuseparator +Multirow +\family default +, or right click on the marked cells and choose +\family sans +Multirow +\family default + in the context menu. +\end_layout + +\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 -\series default +\end_layout -\begin_inset Index -status collapsed +\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 -LaTeX-packages ! multirow + \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 - in your document preamble with the command + \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 -usepackage{multirow} +multirowsetup +\series default + with the command \end_layout \begin_layout Standard -Multirows are created with the command + +\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 -multirow{number of rows}{cell width}{cell entry} +raggedleft +\series default +. + To return to left-alignment +\series bold + +\backslash +raggedright +\series default + is used. \end_layout \begin_layout Standard -To create the following table: +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 @@ -12174,16 +12664,16 @@ renewcommand{ \backslash multirowsetup}{ \backslash -centering} +raggedleft} \end_layout \end_inset \begin_inset Tabular - - - + + + @@ -12191,7 +12681,7 @@ centering} \begin_inset Text \begin_layout Plain Layout -a +a long cell entry \end_layout \end_inset @@ -12220,30 +12710,36 @@ c \begin_inset Text \begin_layout Plain Layout -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout +t +\end_layout +\end_inset + + +\begin_inset Text -\backslash -multirow{2}{2.5cm}{ +\begin_layout Plain Layout +n \end_layout \end_inset - -multirow entry -\begin_inset ERT -status collapsed + + +\begin_inset Text \begin_layout Plain Layout - -} +m \end_layout \end_inset + + + + +\begin_inset Text - +\begin_layout Plain Layout +multirow \end_layout \end_inset @@ -12268,7 +12764,7 @@ f - + \begin_inset Text \begin_layout Plain Layout @@ -12321,90 +12817,101 @@ raggedright} \end_layout \begin_layout Standard -create a 3×3 table. - Unset the upper border of the last cell in the first column. - The multirow is now created in the second row of the first column by inserting - there the command +To start a new line in a multirow you can use a forced line break (shortcut + +\begin_inset Info +type "shortcut" +arg "newline-insert newline" +\end_inset + +) but this will not respect the cell lines as demonstrated in this table: \end_layout \begin_layout Standard +\noindent +\align center +\begin_inset Tabular + + + + + + +\begin_inset Text -\series bold +\begin_layout Plain Layout +aaa +\begin_inset Newline newline +\end_inset -\backslash -multirow{2}{2.5cm}{ +aaa +\begin_inset Newline newline +\end_inset + +wrong cell \end_layout -\begin_layout Standard -as TeX-Code. - According to the command parameters the multirow spans now two rows and - has a width of 2.5 -\begin_inset space \thinspace{} \end_inset + + +\begin_inset Text -cm. - The content of the multirow cell follows outside the TeX-Code box and the - command is finished with a right brace -\series bold -} -\series default - in another TeX-Code-box after the text. +\begin_layout Plain Layout +ccc \end_layout -\begin_layout Standard +\end_inset + + + + +\begin_inset Text -\series bold +\begin_layout Plain Layout -\backslash -multirow -\series default - left-aligns its content by default. - To override the default, renew the command -\series bold +\end_layout -\backslash -multirowsetup -\series default - with the command +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +ddd \end_layout -\begin_layout Standard +\end_inset + + + + +\begin_inset Text -\series bold +\begin_layout Plain Layout +bbb +\end_layout -\backslash -renewcommand{ -\backslash -multirowsetup}{ -\backslash -centering} +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +eee \end_layout -\begin_layout Standard -in TeX-Code in the document preamble. - Then all entries of multirow cells in the document are centered. - If centering is only needed for several tables, you can renew the command - in a TeX-Code box just before the table instead of the preamble. - If the text should be right-aligned, replace -\series bold +\end_inset + + + -\backslash -centering -\series default - by -\series bold +\end_inset -\backslash -raggedleft -\series default -. - To return to left-alignment -\series bold -\backslash -raggedright -\series default - is used. +\end_layout + +\begin_layout Standard +Therefore be careful with forced line breaks. \end_layout \begin_layout Section @@ -12416,7 +12923,7 @@ name "sec:Formal-Tables" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -12494,7 +13001,7 @@ Example booktabs-table \align center \begin_inset Tabular - + @@ -12522,7 +13029,7 @@ Chip \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -13204,7 +13711,7 @@ key "booktabs" \end_inset . -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -13245,7 +13752,7 @@ Special booktabs-table \align center \begin_inset Tabular - + @@ -13273,7 +13780,7 @@ Chip \end_inset - + \begin_inset Text \begin_layout Plain Layout @@ -13656,7 +14163,7 @@ in % of pixel size \begin_layout Section Vertical Table Alignment -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -13721,6 +14228,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "15col%" special "none" height "1in" @@ -13730,7 +14238,7 @@ status collapsed \begin_layout Plain Layout \begin_inset Tabular - + @@ -13852,6 +14360,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "15col%" special "none" height "1in" @@ -13861,7 +14370,7 @@ status collapsed \begin_layout Plain Layout \begin_inset Tabular - + @@ -13983,6 +14492,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "15col%" special "none" height "1in" @@ -13992,7 +14502,7 @@ status collapsed \begin_layout Plain Layout \begin_inset Tabular - + @@ -14103,6 +14613,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "15col%" special "none" height "1in" @@ -14112,7 +14623,7 @@ status collapsed \begin_layout Plain Layout \begin_inset Tabular - + @@ -14234,6 +14745,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "15col%" special "none" height "1in" @@ -14243,7 +14755,7 @@ status collapsed \begin_layout Plain Layout \begin_inset Tabular - + @@ -14455,7 +14967,7 @@ name "sec:Colored-Tables" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -14469,7 +14981,7 @@ Table ! Color \begin_layout Subsection Colored Cells -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -14479,7 +14991,7 @@ Table Color ! for Cells \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -14513,7 +15025,7 @@ Table colored without using the package colortbl \series default -\begin_inset OptArg +\begin_inset Argument status collapsed \begin_layout Plain Layout @@ -14534,7 +15046,7 @@ Table without colortbl \align center \begin_inset Tabular - + @@ -14684,7 +15196,7 @@ reference "tab:Table-colored-without" colortbl \series default . -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -15067,7 +15579,7 @@ Table colored using the package colortbl \series default -\begin_inset OptArg +\begin_inset Argument status collapsed \begin_layout Plain Layout @@ -15088,7 +15600,7 @@ Table with colortbl \align center \begin_inset Tabular - + @@ -15289,7 +15801,7 @@ fi \begin_layout Subsection Colored Lines -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -15299,7 +15811,7 @@ Table Color ! for Lines \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -15437,7 +15949,7 @@ Table with colored vertical lines \align center \begin_inset Tabular - + @@ -15580,14 +16092,16 @@ hline} \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series bold +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset @@ -15667,7 +16181,7 @@ Table with colored horizontal lines \align center \begin_inset Tabular - + @@ -15831,7 +16345,7 @@ Table with colored lines \align center \begin_inset Tabular - + @@ -15974,7 +16488,7 @@ arrayrulewidth}{0.4pt} \begin_layout Section Table Customization -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -15984,7 +16498,7 @@ Table Customization \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -16005,7 +16519,7 @@ name "sub:Row-Spacing" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -16083,7 +16597,7 @@ em space. \begin_inset Tabular - + @@ -16200,7 +16714,7 @@ em space. \begin_inset Tabular - + @@ -16300,14 +16814,16 @@ When you want to add extra height to all cells of all tables, you can do \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series bold +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset @@ -16419,7 +16935,7 @@ Normal table. \align center \begin_inset Tabular - + @@ -16539,7 +17055,7 @@ strut \align center \begin_inset Tabular - + @@ -16702,7 +17218,14 @@ Huger \begin_layout Subsection Special Cell Alignment -\begin_inset Index +\begin_inset CommandInset label +LatexCommand label +name "sub:Special-Cell-Alignment" + +\end_inset + + +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -16731,11 +17254,35 @@ with the decimal separator as in Table \begin_inset CommandInset ref LatexCommand ref -reference "tab:Table-cells-of" +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 + + or setting the alignment in the table settings to +\family sans +At +\begin_inset space ~ +\end_inset + +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_layout Standard @@ -16751,7 +17298,7 @@ status open \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Table-cells-of" +name "tab:Table-cells-align" \end_inset @@ -16761,15 +17308,102 @@ Table cells of a column aligned with the decimal separator. \end_inset +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + +\begin_inset Text + +\begin_layout Plain Layout +heading +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +12.6 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +0.68 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +-123.0 +\end_layout + +\end_inset + + + + +\end_inset + + +\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 + +\begin_layout Plain Layout +\begin_inset CommandInset label +LatexCommand label +name "tab:Table-align-operator" + +\end_inset + +Table cells of a column aligned with the operators. +\end_layout + +\end_inset + + \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular - - - + + + \begin_inset Text @@ -16795,7 +17429,10 @@ heading \begin_inset Text \begin_layout Plain Layout -12. +\begin_inset Formula $12\,+$ +\end_inset + + \end_layout \end_inset @@ -16804,7 +17441,10 @@ heading \begin_inset Text \begin_layout Plain Layout -6 +\begin_inset Formula $\,6$ +\end_inset + + \end_layout \end_inset @@ -16815,7 +17455,10 @@ heading \begin_inset Text \begin_layout Plain Layout -0. +\begin_inset Formula $0\,-$ +\end_inset + + \end_layout \end_inset @@ -16824,7 +17467,10 @@ heading \begin_inset Text \begin_layout Plain Layout -68 +\begin_inset Formula $\,68$ +\end_inset + + \end_layout \end_inset @@ -16835,7 +17481,10 @@ heading \begin_inset Text \begin_layout Plain Layout --123. +\begin_inset Formula $-123\,/$ +\end_inset + + \end_layout \end_inset @@ -16844,7 +17493,10 @@ heading \begin_inset Text \begin_layout Plain Layout -0 +\begin_inset Formula $\,0$ +\end_inset + + \end_layout \end_inset @@ -16863,12 +17515,27 @@ heading \end_layout \begin_layout Standard -This table was created with a 4×2 table. +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 + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Table-align-operator" + +\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 digits before the decimal - point and the decimal point. - The second column is left aligned and contains the digits after the decimal - point. + 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: \end_layout @@ -16892,9 +17559,19 @@ reference "tab:Several-table-cell" \end_inset shows some example alignments. - For the alignment with the relation sign, you must add the second smallest - math-space at the beginning of the last column to get the correct space - surrounding the relation sign. + 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:Table-align-operator" + +\end_inset + +. \end_layout \begin_layout Standard @@ -16926,7 +17603,7 @@ Several table cell alignments. \align center \begin_inset Tabular - + @@ -17216,327 +17893,6 @@ cm \end_inset -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - -There is also the LaTeX-package -\series bold -dcolumn -\series default - -\begin_inset Index -status collapsed - -\begin_layout Plain Layout -LaTeX-packages ! dcolumn -\end_layout - -\end_inset - - that provides table cell alignments. - But this unfortunately treats the cell entries as math and does not allow - formulas in table cells: The first column of Table -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Several-table-cell" - -\end_inset - - will look with -\series bold -dcolumn -\series default - like the first column in Table -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Alignments-when" - -\end_inset - - and only with some tricks as you would want. - The alignment of the second and third column of Table -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "tab:Several-table-cell" - -\end_inset - - is not possible with -\series bold -dcolumn -\series default -. -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\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 - -\begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Alignments-when" - -\end_inset - -Alignments when LaTeX-package dcolumn is used. - For all column alignments tricks have to be used to get the output. -\end_layout - -\end_inset - - -\end_layout - -\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 -units -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -units -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -12x24 -\begin_inset space \thinspace{} -\end_inset - -bottles -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -12x24 -\begin_inset space \thinspace{} -\end_inset - - -\begin_inset Formula $\mbox{bottles}$ -\end_inset - - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -12 -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -times -\end_layout - -\end_inset - -24+ -\begin_inset Formula $\mbox{bottles}$ -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -1024x768 -\begin_inset space \thinspace{} -\end_inset - -Pixels -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -1024x768 -\begin_inset space \thinspace{} -\end_inset - - -\begin_inset Formula $\mbox{Pixels}$ -\end_inset - - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -1024 -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -times -\end_layout - -\end_inset - -768+ -\begin_inset Formula $\mbox{Pixels}$ -\end_inset - - -\end_layout - -\end_inset - - - - -\begin_inset Text - -\begin_layout Plain Layout -32x6 -\begin_inset space \thinspace{} -\end_inset - -cm -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -32x6 -\begin_inset space \thinspace{} -\end_inset - - -\begin_inset Formula $\mbox{cm}$ -\end_inset - - -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Plain Layout -32 -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -times -\end_layout - -\end_inset - -6+ -\begin_inset Formula $\mbox{cm}$ -\end_inset - - -\end_layout - -\end_inset - - - - -\end_inset - - -\end_layout - -\end_inset - - \end_layout \begin_layout Subsection @@ -17548,7 +17904,7 @@ name "sub:Customized-Format" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -17697,27 +18053,15 @@ hspace{0pt}} \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout - -\backslash -phantom{ -\end_layout - -\end_inset - +\series bold \backslash newcolumntype -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - -} \end_layout \end_inset @@ -17883,7 +18227,7 @@ Table using user-defined table formats \align center \begin_inset Tabular - + @@ -18023,7 +18367,7 @@ name "sub:Line-Thickness" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -18135,7 +18479,7 @@ pt thick lines \align center \begin_inset Tabular - + @@ -18416,7 +18760,7 @@ pt thick horizontal lines \align center \begin_inset Tabular - + @@ -18636,7 +18980,7 @@ pt thick vertical lines \align center \begin_inset Tabular - + @@ -18741,7 +19085,7 @@ sd \begin_layout Subsection Dashed Lines -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -18812,7 +19156,7 @@ Table with dashed lines \align center \begin_inset Tabular - + @@ -19096,7 +19440,7 @@ LyX does not natively support dashed lines, so you have to use TeX-Code. arydshln \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -19246,7 +19590,7 @@ arydshln colortbl \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -19331,7 +19675,14 @@ fi \begin_layout Chapter Floats -\begin_inset Index +\begin_inset CommandInset label +LatexCommand label +name "chap:Floats" + +\end_inset + + +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -19352,7 +19703,7 @@ name "sec:FloatIntroduction" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -19490,19 +19841,31 @@ reference "sec:Table-Floats" \end_inset respectively, LyX offers the float types -\series bold +\family sans Algorithm -\series default +\family default and -\series bold +\family sans Wrap -\series default +\family default +. + The latter are explained in sec. +\begin_inset space \thinspace{} +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Wrap-Floats" + +\end_inset + . \end_layout \begin_layout Subsection Algorithm Floats -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -19764,271 +20127,9 @@ package . \end_layout -\begin_layout Subsection -Wrap Floats -\begin_inset Index -status collapsed - -\begin_layout Plain Layout -Floats ! Wrap Floats -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset Wrap figure -lines 0 -placement l -overhang 1cm -width "40col%" -status open - -\begin_layout Plain Layout -\begin_inset Graphics - filename clipart/mobius.eps - width 40col% - scaleBeforeRotation - rotateOrigin center - -\end_inset - - -\end_layout - -\begin_layout Plain Layout -\begin_inset Caption - -\begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "fig:This-is-a" - -\end_inset - -This is a figure wrap float. -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - This float type is used if you want to wrap text around a figure or table - 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 -Figure -\begin_inset space ~ -\end_inset - -Wrap -\begin_inset space ~ -\end_inset - -Float -\family default - or -\family sans -Table -\begin_inset space ~ -\end_inset - -Wrap -\begin_inset space ~ -\end_inset - -Float -\family default - if the LaTeX-package -\series bold -wrapfig -\series default - -\begin_inset Index -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 - - -\end_layout - -\end_inset - - is installed. -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -Installing a LaTeX-package is explained it in the -\emph on -LaTeX -\begin_inset space ~ -\end_inset - -Configuration -\emph default - manual. -\end_layout - -\end_inset - - The settings of the float can be modified by right-clicking on the float - box. - The mandatory settings are the float -\family sans -Placement -\family default - and its -\family sans -Width -\family default -. - Optional are the -\family sans -Overhang -\family default - that specifies how much the float is set into the paragraph -\begin_inset space \thinspace{} -\end_inset - -/ -\begin_inset space \thinspace{} -\end_inset - -page margin, and the -\family sans -Line -\begin_inset space ~ -\end_inset - -span -\family default - 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 - the paragraph or to surrounding paragraphs. - Figure -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "fig:This-is-a" - -\end_inset - - is an example text wrap float with a width of 40 -\begin_inset space \thinspace{} -\end_inset - -col%, 1 -\begin_inset space \thinspace{} -\end_inset - -cm overhang, set to the left. -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -Available units are explained in appendix -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "cha:Units-available-in" - -\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 - Text -\begin_inset space ~ -\end_inset - -wrap float floats are fragile! E. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space \space{} -\end_inset - -having a figure too close to the bottom of the page can mess things up in - such a way that the float does not appear in the output or that it is placed - over some other text. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -In general: -\end_layout - -\begin_layout Itemize -Wrap floats should not be placed in paragraphs that run over a page break. - That means that wrap floats are better inserted in their exact place when - the document is almost finished and you are able to estimate where page - breaks will appear. -\end_layout - -\begin_layout Itemize -Wrap floats should either be placed in their own paragraph before the paragraph - where they should wrap into or within a paragraph. -\end_layout - -\begin_layout Itemize -Wrap floats in consecutive paragraphs may cause troubles, so ensure that - there is a text paragraph between them as separator. -\end_layout - -\begin_layout Itemize -Wrap floats are not allowed in section headings or tables. -\end_layout - \begin_layout Section Float Numbering -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20181,7 +20282,7 @@ name "sec:Referencing-Floats" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20191,7 +20292,7 @@ Floats ! References \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20321,7 +20422,7 @@ name "sub:Cross-Reference-Formats" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20432,7 +20533,7 @@ Formatted \begin_inset space ~ \end_inset -reference: prints a self defined cross-reference format. +reference: prints a self-defined cross-reference format. \begin_inset Newline newline \end_inset @@ -20448,15 +20549,29 @@ Note: This feature is only available when you have the LaTeX-package \series bold prettyref +\series default + or +\series bold +refstyle \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout LaTeX-packages ! prettyref \end_layout +\end_inset + + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! refstyle +\end_layout + \end_inset installed. @@ -20465,6 +20580,87 @@ LaTeX-packages ! prettyref \end_inset +\begin_inset Newline newline +\end_inset + +You can select which 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 Class +\family default +. + The format is specified by adding the command +\series bold + +\backslash +newrefformat +\series default + (prettyref) or +\series bold + +\backslash +newref +\series default + (refstyle) to the preamble of the document. + For example redefining all references to figures (which have the label + shortcut +\begin_inset Quotes eld +\end_inset + + +\family sans +fig +\family default + +\begin_inset Quotes erd +\end_inset + +) can be done with this command +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +newref{fig}{refcmd={Image on page +\backslash +pageref{#1}}} +\series default + +\begin_inset Newline newline +\end_inset + +For more information about the format, have a look at the package documentations +, +\begin_inset CommandInset citation +LatexCommand cite +key "prettyref,refstyle" + +\end_inset + +. +\end_layout + +\begin_layout Description +Textual +\begin_inset space ~ +\end_inset + +reference: prints the caption of the reference: +\begin_inset CommandInset ref +LatexCommand nameref +reference "fig:Two-distorted-images" + +\end_inset + + \end_layout \begin_layout Standard @@ -20522,12 +20718,26 @@ status open \series bold Note: \series default - The LaTeX-package + It is recommended to use the LaTeX-package +\series bold +refstyle +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! refstyle +\end_layout + +\end_inset + + because \series bold prettyref \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20554,18 +20764,6 @@ fig: \end_inset and is not internationalized. - To find out how to tell -\series bold -prettyref -\series default - new shortcuts and translations, have a look at its documentation -\begin_inset CommandInset citation -LatexCommand cite -key "prettyref" - -\end_inset - -. \end_layout \end_inset @@ -20609,7 +20807,7 @@ target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5" \begin_layout Subsection Automatic Reference Naming -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20627,7 +20825,7 @@ The LaTeX-package hyperref \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20731,14 +20929,16 @@ sectionautorefname} \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series bold +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset @@ -20807,14 +21007,16 @@ equationautorefname} \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series bold +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset @@ -20895,7 +21097,7 @@ name "sub:Reference-Position" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20913,7 +21115,7 @@ If you use hyperref \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20941,7 +21143,7 @@ Document Settings hypcap \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -20955,7 +21157,7 @@ LaTeX-packages ! hypcap oberdiek \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -21030,7 +21232,7 @@ name "sec:Float-Placement" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -21141,7 +21343,7 @@ of \begin_inset space ~ \end_inset -floats try to place the float on its own page +floats try to place the float on its own page \end_layout \begin_layout Standard @@ -21403,7 +21605,7 @@ In some cases it is required to have all figures/tables at the end of the endfloat \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -21565,7 +21767,7 @@ name "sec:Rotated-Floats" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -21677,7 +21879,7 @@ name "tab:Rotated-table" \align center \begin_inset Tabular - + @@ -21744,7 +21946,7 @@ e \begin_layout Section Subfloats -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -21871,7 +22073,7 @@ This is subtable a. \align center \begin_inset Tabular - + @@ -21965,7 +22167,7 @@ This is subtable b. \align center \begin_inset Tabular - + @@ -22087,7 +22289,7 @@ status collapsed \align center \begin_inset Tabular - + @@ -22165,7 +22367,7 @@ status collapsed \align center \begin_inset Tabular - + @@ -22237,7 +22439,7 @@ e \begin_layout Section Floats Side by Side -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -22337,6 +22539,7 @@ hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 +use_makebox 0 width "45col%" special "none" height "1in" @@ -22387,6 +22590,7 @@ hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 +use_makebox 0 width "45col%" special "none" height "1in" @@ -22440,7 +22644,7 @@ Float on the right side. \begin_layout Section Caption Formatting -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -22450,7 +22654,7 @@ Caption ! Formatting \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -22521,7 +22725,7 @@ To change the default caption format, load the LaTeX-package caption \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -22620,25 +22824,20 @@ captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,% \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series bold \backslash -hphantom{ -\backslash - -\backslash -captionsetup[figure] -\backslash -{} +captionsetup[figure]{ \end_layout \end_inset - labelsep=period} +labelsep=period} \begin_inset Newline newline \end_inset @@ -22665,7 +22864,7 @@ tableposition=top KOMA-Script \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -22677,7 +22876,7 @@ LaTeX-packages ! KOMA-Script document class is used. In this case the document class option \series bold -tablecaptionabove +captions=tableheading \series default must be used. \end_layout @@ -22773,7 +22972,7 @@ If you are using a KOMA-Script \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -22972,7 +23171,7 @@ This is an example table caption that is longer than one line to show the \align center \begin_inset Tabular - + @@ -23039,7 +23238,7 @@ e \begin_layout Section Caption Placement -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -23049,7 +23248,7 @@ Caption ! Placement \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -23145,7 +23344,7 @@ If you are using a KOMA-Script \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -23180,7 +23379,7 @@ caption \series default package set the document class option \series bold -tablecaptionabove +captions=tableheading \series default . \end_layout @@ -23195,7 +23394,7 @@ It is also possible to set the caption beside a figure or table. sidecap \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -23270,8 +23469,22 @@ To place in LyX the caption of a float on the side, it is necessary to add \end_layout \begin_layout Standard +\begin_inset Newpage pagebreak +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +\begin_inset CommandInset line +LatexCommand rule +offset "0.5ex" +width "100line%" +height "1pt" + +\end_inset -\lyxline \end_layout @@ -23282,19 +23495,19 @@ To place in LyX the caption of a float on the side, it is necessary to add \backslash newcommand{ \backslash -TabBesBeg}{% +TabBesBeg}[1][1.0]{% \begin_inset Newline newline \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\begin_inset space ~ +\end_inset -\backslash -hphantom{ } \end_layout \end_inset @@ -23310,14 +23523,16 @@ table \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series medium +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset @@ -23333,23 +23548,25 @@ endtable \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series medium +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset \backslash -renewenvironment{table}{ +renewenvironment{table}[1]{ \backslash -begin{SCtable}}{ +begin{SCtable}[#1]##1}{ \backslash end{SCtable}}} \end_layout @@ -23366,14 +23583,14 @@ TabBesEnd}{% \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\begin_inset space ~ +\end_inset -\backslash -hphantom{ } \end_layout \end_inset @@ -23389,14 +23606,14 @@ MyTable \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\begin_inset space ~ +\end_inset -\backslash -hphantom{ } \end_layout \end_inset @@ -23417,19 +23634,19 @@ MyEndtable \backslash newcommand{ \backslash -FigBesBeg}{% +FigBesBeg}[1][1.0]{% \begin_inset Newline newline \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\begin_inset space ~ +\end_inset -\backslash -hphantom{ } \end_layout \end_inset @@ -23445,14 +23662,14 @@ figure \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\begin_inset space ~ +\end_inset -\backslash -hphantom{ } \end_layout \end_inset @@ -23468,23 +23685,23 @@ endfigure \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\begin_inset space ~ +\end_inset -\backslash -hphantom{ } \end_layout \end_inset \backslash -renewenvironment{figure}{ +renewenvironment{figure}[1]{ \backslash -begin{SCfigure}}{ +begin{SCfigure}[#1]##1}{ \backslash end{SCfigure}}} \end_layout @@ -23501,14 +23718,14 @@ FigBesEnd}{% \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\begin_inset space ~ +\end_inset -\backslash -hphantom{ } \end_layout \end_inset @@ -23524,14 +23741,14 @@ MyFigure \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\begin_inset space ~ +\end_inset -\backslash -hphantom{ } \end_layout \end_inset @@ -23546,8 +23763,15 @@ MyEndfigure} \end_layout \begin_layout Standard +\noindent +\begin_inset CommandInset line +LatexCommand rule +offset "0.5ex" +width "100line%" +height "1pt" + +\end_inset -\lyxline \end_layout @@ -23567,7 +23791,7 @@ FigBesBeg \begin_layout Standard in TeX-Code before the float. - After the float insert the command + And insert the command \end_layout \begin_layout Standard @@ -23579,7 +23803,8 @@ FigBesEnd \end_layout \begin_layout Standard -in TeX-Code to get back to the original float definition. +in TeX-Code at the point where you want to get back to the original float + definition. \end_layout \begin_layout Standard @@ -23718,6 +23943,115 @@ reference "fig:cap-beside-fig-2" \begin_inset VSpace medskip \end_inset + +\end_layout + +\begin_layout Standard +The default caption width is the width of the image/table. + For thin image/tables, like in Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:cap-beside-tab" + +\end_inset + +, this leads to captions that are too thin. + You can increase the width by specifying a factor that will be multiplied + with the image/table width to get the caption width. + The caption width will automatically be recalculated in case it would protrude + over the page or column margin due to the specified width. + The +\emph on +factor +\emph default + can either be given as optional argument for +\series bold + +\backslash +FigBesBeg +\series default +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +FigBesBeg[factor] +\end_layout + +\begin_layout Standard +or in the definition of +\series bold + +\backslash +FigBesBeg +\series default + by replacing the +\series bold +1.0 +\series default + with another value. + If you do the latter, your factor will be the default if +\series bold + +\backslash +FigBesBeg +\series default + is used without an argument. + For Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:cap-beside-tab-wider" + +\end_inset + + the factor 5 was used. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: +\series default + For floats with captions set beside, you cannot use the float placement + option +\family sans +Here +\begin_inset space ~ +\end_inset + +definitely +\family default + because it is not supported by +\series bold +sidecap +\series default +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + For more information about the package \series bold sidecap @@ -23746,7 +24080,7 @@ Note: hypcap \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -23782,7 +24116,7 @@ status collapsed \backslash -FigBesBeg +FigBesBeg \end_layout \end_inset @@ -23838,7 +24172,23 @@ status collapsed \backslash -TabBesBeg +FigBesEnd +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +TabBesBeg \end_layout \end_inset @@ -23873,7 +24223,7 @@ This is a caption beside a table. \begin_layout Plain Layout \begin_inset Tabular - + @@ -24171,6 +24521,282 @@ status collapsed \begin_layout Plain Layout +\backslash +TabBesBeg[5] +\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 + +\begin_layout Plain Layout +\begin_inset CommandInset label +LatexCommand label +name "tab:cap-beside-tab-wider" + +\end_inset + +This is a caption is wider than the one in Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:cap-beside-tab" + +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\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 + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\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 +g +\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 + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +i +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +j +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\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 +TabBesEnd +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + \backslash else \end_layout @@ -24220,7 +24846,7 @@ fi \begin_layout Section Listings of Floats -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -24267,7 +24893,7 @@ Notes \begin_layout Section LyX Notes -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -24540,61 +25166,15 @@ button \begin_inset VSpace bigskip \end_inset -You can change the text color of the greyed out notes in the preamble with - the following command: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -renewenvironment{lyxgreyedout} -\begin_inset Newline newline -\end_inset - - -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -hphantom{ } -\end_layout - -\end_inset - -{ -\backslash -textcolor{color} -\backslash -bgroup}{ -\backslash -egroup} -\end_layout - -\begin_layout Standard -The available colors and the method to define colors is explained in section -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:Colored-Tables" - -\end_inset - +You can change the text color of the greyed out notes in the menu +\family sans +Document\SpecialChar \menuseparator +Settings\SpecialChar \menuseparator +Colors +\family default . \end_layout -\begin_layout Standard -Notes that appear in blue in this document are set using greyed out notes - with blue text. -\end_layout - \begin_layout Section Footnotes \begin_inset CommandInset label @@ -24604,7 +25184,7 @@ name "sec:Footnotes" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -24614,7 +25194,7 @@ Notes ! Footnotes \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -24837,7 +25417,7 @@ Printed table footnote. \begin_layout Standard \begin_inset Tabular - + @@ -24967,6 +25547,7 @@ hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 +use_makebox 0 width "100col%" special "none" height "1in" @@ -25172,7 +25753,7 @@ name "sub:Footnote-Numbering" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -25547,7 +26128,7 @@ Roman{footnote}} \begin_layout Subsection Footnote Placement -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -25635,7 +26216,7 @@ reference "fig:Footnote-placement-in" ftnright \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -25815,7 +26396,7 @@ endnotes \end_inset . -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -26053,7 +26634,7 @@ Footnotes can also be placed in the page margin and the footnote text alignment footmisc \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -26081,12 +26662,35 @@ key "latexcompanion,latexguide,latexbook" \end_inset +. + If you are using a +\series bold +KOMA-Script +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! KOMA-Script +\end_layout + +\end_inset + + document class, you can adjust all footnote settings using class-specific + commands, see +\begin_inset CommandInset citation +LatexCommand cite +key "KOMA-Script" + +\end_inset + . \end_layout \begin_layout Section Margin Notes -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -26408,7 +27012,7 @@ This restriction can be evaded by using the LaTeX-package marginnote \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -26737,14 +27341,16 @@ myMarginpar{% \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series bold +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset @@ -26762,14 +27368,16 @@ underbar{Attention!}}}% \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series bold +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset @@ -26956,7 +27564,7 @@ Boxes \begin_layout Section Introduction -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -27072,6 +27680,10 @@ Box \family default types \family sans +Makebox +\family default +, +\family sans Parbox \family default and @@ -27107,6 +27719,17 @@ Parbox LatexCommand ref reference "sec:Parboxes" +\end_inset + + and the type +\family sans +Makebox +\family default + in +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Prevent-Hyphenation" + \end_inset . @@ -27200,7 +27823,7 @@ name "sec:Box-Dialog" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -27214,7 +27837,7 @@ Boxes ! Box Dialog \begin_layout Subsection Size -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -27284,6 +27907,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "12col%" special "none" height "1in" @@ -27333,6 +27957,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "20col%" special "none" height "2in" @@ -27373,6 +27998,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "20col%" special "none" height "1in" @@ -27405,6 +28031,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "12col%" special "none" height "1in" @@ -27427,7 +28054,7 @@ Width \begin_layout Subsection Alignment -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -27460,6 +28087,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "12col%" special "none" height "1in" @@ -27485,6 +28113,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "12col%" special "none" height "1in" @@ -27510,6 +28139,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "12col%" special "none" height "1in" @@ -27581,6 +28211,7 @@ hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 +use_makebox 0 width "12col%" special "none" height "1.5in" @@ -27606,6 +28237,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "12col%" special "none" height "1.5in" @@ -27631,6 +28263,7 @@ hor_pos "c" has_inner_box 1 inner_pos "b" use_parbox 0 +use_makebox 0 width "12col%" special "none" height "1.5in" @@ -27656,6 +28289,7 @@ hor_pos "c" has_inner_box 1 inner_pos "s" use_parbox 0 +use_makebox 0 width "12col%" special "none" height "1.5in" @@ -27711,6 +28345,7 @@ hor_pos "c" has_inner_box 1 inner_pos "s" use_parbox 0 +use_makebox 0 width "15col%" special "none" height "1.25in" @@ -27757,6 +28392,7 @@ hor_pos "s" has_inner_box 0 inner_pos "s" use_parbox 0 +use_makebox 0 width "90col%" special "none" height "1.25in" @@ -27764,7 +28400,6 @@ height_special "totalheight" status collapsed \begin_layout Plain Layout -\align left This box text is horizontally stretched. \end_layout @@ -27782,7 +28417,7 @@ name "sec:Decoration" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -27804,6 +28439,14 @@ Decoration The following types are possible: \end_layout +\begin_layout Description +No +\begin_inset space ~ +\end_inset + +frame Nothing is drawn. +\end_layout + \begin_layout Description Simple \begin_inset space ~ @@ -27828,6 +28471,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "20col%" special "none" height "1in" @@ -27842,63 +28486,6 @@ Rectangular box \end_inset -\end_layout - -\begin_layout Description -Allow -\begin_inset space ~ -\end_inset - -page -\begin_inset space ~ -\end_inset - -break When you use the decoration -\family sans -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 -. - -\begin_inset Box Framed -position "t" -hor_pos "c" -has_inner_box 0 -inner_pos "t" -use_parbox 0 -width "100col%" -special "none" -height "1in" -height_special "totalheight" -status collapsed - -\begin_layout Plain Layout -Allow page break box -\end_layout - -\end_inset - - \end_layout \begin_layout Description @@ -27923,6 +28510,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "20col%" special "none" height "1in" @@ -27961,6 +28549,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "20col%" special "none" height "1in" @@ -28001,6 +28590,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "20col%" special "none" height "1in" @@ -28052,6 +28642,7 @@ hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 +use_makebox 0 width "50col%" special "none" height "1in" @@ -28128,6 +28719,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "20col%" special "none" height "1in" @@ -28154,7 +28746,7 @@ LyX's box label will reflect the different frame types. fancybox \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -28166,9 +28758,62 @@ LaTeX-packages ! fancybox must be installed. \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +When you use the decoration +\family sans +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 +. + +\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 collapsed + +\begin_layout Plain Layout +Allow page break box +\end_layout + +\end_inset + + +\end_layout + \begin_layout Section Box Customization -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -28192,7 +28837,7 @@ fboxrule \end_inset pt. - It can be changed with the following command in TeX-Code to e. + It can be changed with the following command in TeX-code to e. \begin_inset space \thinspace{} \end_inset @@ -28239,6 +28884,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "25col%" special "none" height "1in" @@ -28348,6 +28994,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "25col%" special "none" height "1in" @@ -28448,7 +29095,7 @@ num \begin_inset space \thinspace{} \end_inset -minimum(width and heigth of box) +minimum(width and height of box) \family default . The default is @@ -28480,6 +29127,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "25col%" special "none" height "1in" @@ -28577,6 +29225,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "25col%" special "none" height "1in" @@ -28712,6 +29361,7 @@ hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 +use_makebox 0 width "100col%" special "none" height "1in" @@ -28898,6 +29548,7 @@ hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 +use_makebox 0 width "100col%" special "none" height "1in" @@ -28964,7 +29615,7 @@ name "sec:Minipages" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -29020,6 +29671,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "45col%" special "none" height "1in" @@ -29071,6 +29723,7 @@ hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 +use_makebox 0 width "45col%" special "none" height "1in" @@ -29176,7 +29829,7 @@ name "sec:Parboxes" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -29190,8 +29843,7 @@ Boxes ! Parboxes \begin_layout Standard Parboxes are very similar to minipages with the difference that they cannot - have footnotes, because minipages, unlike parboxes, are not real boxes - but LaTeX-environments. + have footnotes. \end_layout \begin_layout Standard @@ -29202,6 +29854,7 @@ hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 1 +use_makebox 0 width "33col%" special "none" height "1in" @@ -29234,7 +29887,7 @@ This footnote is inside a parbox and will therefore not appear. \begin_layout Section Boxes for Words and Characters -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -29255,7 +29908,7 @@ name "sec:Prevent-Hyphenation" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -29268,7 +29921,11 @@ Boxes ! to Prevent Hyphenation \end_layout \begin_layout Standard -You can use a special kind of box to prevent words or text from being hyphenated. +You can use the box type +\family sans +Makebox +\family default + to prevent words or text from being hyphenated. \begin_inset Newline newline \end_inset @@ -29296,32 +29953,23 @@ veryverylongword \begin_inset Quotes erd \end_inset -, add the command -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -mbox{ -\end_layout - -\begin_layout Standard -in TeX-Code before the word. - After the word insert a closing brace -\begin_inset Quotes eld +, put the word into a box, set the +\family sans +Inner +\begin_inset space ~ \end_inset - -\series bold -} -\series default - -\begin_inset Quotes erd +box +\family default + to +\family sans +Makebox +\family default + and its width to 1 +\begin_inset space \thinspace{} \end_inset - in TeX-Code. +Width. \end_layout \begin_layout Standard @@ -29330,19 +29978,20 @@ This is the result: \begin_layout Standard This line is an example to show how you can prevent the hyphenation of -\begin_inset ERT -status collapsed +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +use_makebox 1 +width "1in" +special "width" +height "1in" +height_special "totalheight" +status open \begin_layout Plain Layout - - -\backslash -mbox{ -\end_layout - -\end_inset - - \begin_inset Quotes eld \end_inset @@ -29350,18 +29999,12 @@ veryverylongword \begin_inset Quotes erd \end_inset -. -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -} \end_layout \end_inset - +. \end_layout \begin_layout Standard @@ -29412,11 +30055,11 @@ Of course the word now protrudes over the side margin. To avoid this, add via the menu \family sans Insert\SpecialChar \menuseparator -Special +Formatting\SpecialChar \menuseparator +Ragged \begin_inset space ~ \end_inset -Formatting\SpecialChar \menuseparator Line \begin_inset space ~ \end_inset @@ -29438,19 +30081,20 @@ This line is an example to show how you can prevent the hyphenation of \end_inset -\begin_inset ERT -status collapsed +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +use_makebox 1 +width "1in" +special "width" +height "1in" +height_special "totalheight" +status open \begin_layout Plain Layout - - -\backslash -mbox{ -\end_layout - -\end_inset - - \begin_inset Quotes eld \end_inset @@ -29458,18 +30102,12 @@ veryverylongword \begin_inset Quotes erd \end_inset -. -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout -} \end_layout \end_inset - +. \end_layout \begin_layout Subsection @@ -29481,7 +30119,7 @@ name "sub:Vertical-Alignment" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -29491,7 +30129,7 @@ Boxes ! for Vertical Alignment \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -29812,7 +30450,7 @@ name "sec:Colored-Boxes" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -29826,7 +30464,7 @@ Boxes ! Color \begin_layout Subsection Color for Text -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -29853,7 +30491,7 @@ colorbox color \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -29875,14 +30513,16 @@ LaTeX-packages ! color \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series bold +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset @@ -30263,8 +30903,6 @@ fboxsep 3pt \end_layout \begin_layout Standard - -\series bold \begin_inset VSpace medskip \end_inset @@ -30299,7 +30937,7 @@ name "sub:Color-for-Paragraphs" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -30368,6 +31006,7 @@ hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 +use_makebox 0 width "100col%" special "none" height "1in" @@ -30400,7 +31039,7 @@ Another example footnote \align center \begin_inset Tabular - + @@ -30528,7 +31167,7 @@ To use the commands described in this section, the LaTeX-package graphicx \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -30550,14 +31189,16 @@ LaTeX-packages ! graphicx \end_inset -\begin_inset ERT -status collapsed +\begin_inset Phantom HPhantom +status open \begin_layout Plain Layout +\series bold +\begin_inset space ~ +\end_inset + -\backslash -hphantom{ } \end_layout \end_inset @@ -30603,7 +31244,7 @@ Note: \begin_layout Subsection Rotated Boxes -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -30613,7 +31254,7 @@ Boxes ! rotated \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -30623,7 +31264,7 @@ Rotated material \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -30633,7 +31274,7 @@ Figures ! rotated \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -30781,6 +31422,7 @@ hor_pos "c" has_inner_box 0 inner_pos "c" use_parbox 0 +use_makebox 0 width "1in" special "width" height "1in" @@ -30888,7 +31530,7 @@ rotatebox[origin=l]{-90}{ \begin_inset Tabular - + @@ -30951,7 +31593,7 @@ status collapsed \begin_layout Subsection Scaled Boxes -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -30961,7 +31603,7 @@ Boxes ! scaled \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -30971,7 +31613,7 @@ Scaled material \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -30981,7 +31623,7 @@ Figures ! scaled \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -31454,7 +32096,7 @@ reflectbox{ \begin_inset Tabular - + @@ -31574,12 +32216,12 @@ fleqn \end_layout \begin_layout Chapter -External Document Parts -\begin_inset Index +Objects Surrounded by Text +\begin_inset Index idx status collapsed \begin_layout Plain Layout -External Document Parts +Surrounded by text \end_layout \end_inset @@ -31587,74 +32229,68 @@ External Document Parts \end_layout -\begin_layout Standard -With the menu -\family sans -Insert\SpecialChar \menuseparator -File -\family default - you can insert external material to your document. - This can be: -\end_layout +\begin_layout Section +Wrap Floats +\begin_inset CommandInset label +LatexCommand label +name "sec:Wrap-Floats" -\begin_layout Description -LyX -\begin_inset space ~ \end_inset -Document Another LyX document; its content is directly inserted to your - document. -\end_layout -\begin_layout Description -Plain -\begin_inset space ~ -\end_inset +\begin_inset Index idx +status collapsed -Text A text document; each line is inserted in your document as a separate - paragraph. +\begin_layout Plain Layout +Floats ! Wrap Floats \end_layout -\begin_layout Description -Plain -\begin_inset space ~ \end_inset -Text, -\begin_inset space ~ -\end_inset -Join -\begin_inset space ~ -\end_inset +\begin_inset Index idx +status collapsed -Lines A text document; text lines are inserted in your document continuously - but an empty text line creates a new paragraph. +\begin_layout Plain Layout +Surrounded by text ! Wrap Floats \end_layout -\begin_layout Description -External -\begin_inset space ~ \end_inset -Material Files in various formats. + \end_layout -\begin_layout Description -Child -\begin_inset space ~ +\begin_layout Standard +\begin_inset Wrap figure +lines 0 +placement l +overhang 1cm +width "40col%" +status open + +\begin_layout Plain Layout +\begin_inset Graphics + filename clipart/mobius.eps + width 40col% + scaleBeforeRotation + rotateOrigin center + \end_inset -Document LyX or LaTeX-documents. + \end_layout -\begin_layout Section -External Material -\begin_inset Index -status collapsed +\begin_layout Plain Layout +\begin_inset Caption \begin_layout Plain Layout -External Document Parts ! External Material +\begin_inset CommandInset label +LatexCommand label +name "fig:This-is-a" + +\end_inset + +This is a figure wrap float. \end_layout \end_inset @@ -31662,260 +32298,245 @@ External Document Parts ! External Material \end_layout -\begin_layout Standard -The external material feature allows you to insert files in to your document - without converting them to a format that can be read by the document output - format. - 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 +\end_inset + + This float type is used if you want to wrap text around a figure or table + so that it only occupies some fraction of the column width. + It can be inserted using the menu \family sans -Look +Insert\SpecialChar \menuseparator +Floats\SpecialChar \menuseparator +Figure \begin_inset space ~ \end_inset -and +Wrap \begin_inset space ~ \end_inset -feel\SpecialChar \menuseparator -Graphics -\family default -, the external material types Dia and Xfig are directly shown in LyX. -\end_layout - -\begin_layout Standard -External material can be inserted via the -\family sans -External Material +Float \family default - dialog that is accessible with the menu + or \family sans -Insert\SpecialChar \menuseparator -File\SpecialChar \menuseparator -External +Table \begin_inset space ~ \end_inset -Material -\family default -. - Currently the following file types ( -\family sans -Templates -\family default -) are allowed: -\end_layout +Wrap +\begin_inset space ~ +\end_inset -\begin_layout Description -ChessDiagram This template supports chess position diagrams made with the - program +Float +\family default + if the LaTeX-package \series bold +wrapfig +\series default -\begin_inset CommandInset href -LatexCommand href -name "XBoard" -target "http://en.wikipedia.org/wiki/XBoard" +\begin_inset Index idx +status collapsed -\end_inset +\begin_layout Plain Layout +LaTeX-packages ! wrapfig +\begin_inset ERT +status collapsed +\begin_layout Plain Layout -\series default -. -\end_layout -\begin_layout Description -Date This inserts the date in the form -\emph on -Day-Month-Year -\emph default -. - This is a date inserted as external material: -\begin_inset External - template Date - filename . +\backslash +vspace{4mm} +\end_layout \end_inset -\begin_inset space ~ -\end_inset +\end_layout +\end_inset -\begin_inset Note Note -status open + is installed. +\begin_inset Foot +status collapsed \begin_layout Plain Layout -Remove the protected space when bug 4398 is fixed! +Installing a LaTeX-package is explained it in the +\emph on +LaTeX +\begin_inset space ~ +\end_inset + +Configuration +\emph default + manual. \end_layout \end_inset + The settings of the float can be modified by right-clicking on the float + box. + The mandatory settings are the float +\family sans +Placement +\family default + and its +\family sans +Width +\family default +. + Optional are the +\family sans +Overhang +\family default + that specifies how much the float is set into the paragraph +\begin_inset space \thinspace{} +\end_inset -\begin_inset Newline newline +/ +\begin_inset space \thinspace{} \end_inset -The date is not shown within LyX, only in the output. - There are two other methods of inserting a date: Via menu +page margin, and the \family sans -Insert\SpecialChar \menuseparator -Date -\family default - and with the LaTeX command -\series bold +Line +\begin_inset space ~ +\end_inset -\backslash -today -\series default - as TeX-Code. - The different methods are compared in Table +span +\family default + 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 + the paragraph or to surrounding paragraphs. + Figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "tab:Comparison-of-the" +reference "fig:This-is-a" \end_inset -. + is an example text wrap float with a width of 40 +\begin_inset space \thinspace{} +\end_inset + +col%, 1 +\begin_inset space \thinspace{} +\end_inset + +cm overhang, set to the left. \end_layout -\begin_layout Description -Dia This template supports diagrams created with the program -\series bold +\begin_layout Standard +\begin_inset Note Greyedout +status open -\begin_inset CommandInset href -LatexCommand href -name "Dia" -target "http://en.wikipedia.org/wiki/Dia_(software)" +\begin_layout Plain Layout + +\series bold +Note: +\series default + Text +\begin_inset space ~ +\end_inset +wrap float floats are fragile! E. +\begin_inset space \thinspace{} \end_inset +g. +\begin_inset space \space{} +\end_inset -\series default -. +having a figure too close to the bottom of the page can mess things up in + such a way that the float does not appear in the output or that it is placed + over some other text. \end_layout -\begin_layout Description -LilyPond This template is used for music notation typeset with the program -\begin_inset Newline linebreak \end_inset -\series bold +\end_layout -\begin_inset CommandInset href -LatexCommand href -name "LilyPond" -target "http://en.wikipedia.org/wiki/LilyPond" +\begin_layout Standard +In general, the following applies for wrap floats: +\end_layout -\end_inset +\begin_layout Itemize +They should not be placed in paragraphs that run over a page break. + That means that wrap floats are better inserted in their exact place when + the document is almost finished and you are able to estimate where page + breaks will appear. +\end_layout +\begin_layout Itemize +They should either be placed in their own paragraph before the paragraph + where they should wrap into or within a paragraph. +\end_layout -\series default -. +\begin_layout Itemize +In consecutive paragraphs they may cause troubles, so ensure that there + is a text paragraph between them as separator. \end_layout -\begin_layout Description -PDFPages With this template you can insert PDF documents to your document. - To insert certain or all pages of a PDF, use the -\emph on -pages -\emph default - option in the -\family sans -Option -\family default - field in the -\family sans -LaTeX and LyX options -\family default - tab according to the template description in the dialog. - When no -\emph on -pages -\emph default - option is given, only the first page of the PDF will be inserted. +\begin_layout Itemize +They are not allowed in section headings or tables. \end_layout -\begin_layout Description -RasterImage This can be used for bitmap images. - Nearly all popular image formats are supported. - The image can be treated in the -\family sans -External material -\family default - dialog like the images that are usually included via the -\family sans -Graphics -\family default - dialog as described in section -\begin_inset space ~ +\begin_layout Itemize +Their numbering and referencing works as described in chap. +\begin_inset space \thinspace{} \end_inset \begin_inset CommandInset ref LatexCommand ref -reference "sec:Graphics-Dialog" +reference "chap:Floats" \end_inset . - The difference is that only raster images are allowed; that means that - PDF and EPS-images are not supported. \end_layout -\begin_layout Description -XFig This template supports images created with the program -\series bold +\begin_layout Section +Surrounded Fixed Objects +\begin_inset Index idx +status collapsed -\begin_inset CommandInset href -LatexCommand href -name "Xfig" -target "http://en.wikipedia.org/wiki/Xfig" +\begin_layout Plain Layout +Surrounded by text ! Fixed objects +\end_layout \end_inset -\series default -. \end_layout \begin_layout Standard -\begin_inset Float table -placement h -wide false -sideways false -status open - -\begin_layout Plain Layout -\begin_inset Caption - -\begin_layout Plain Layout -\begin_inset CommandInset label -LatexCommand label -name "tab:Comparison-of-the" - +The wrap floats described in sec. +\begin_inset space \thinspace{} \end_inset -Comparison of the date input methods. -\end_layout -\end_inset +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Wrap-Floats" +\end_inset + have these positions in the paragraph: \end_layout -\begin_layout Plain Layout +\begin_layout Standard +\noindent \align center \begin_inset Tabular - - - - + + @@ -31923,120 +32544,1968 @@ Comparison of the date input methods. \begin_inset Text \begin_layout Plain Layout -Document format +\begin_inset Graphics + filename ../images/dialog-show-new-inset_graphics.png + scale 70 + scaleBeforeRotation + BoundingBox 0bp 6bp 22bp 22bp + +\end_inset + + \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout - -\family sans -External Material\SpecialChar \menuseparator -Date +text \end_layout \end_inset - + + + \begin_inset Text \begin_layout Plain Layout - -\family sans -Insert\SpecialChar \menuseparator -Date +text \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -command -\series bold - -\backslash -today +text \end_layout \end_inset + + +\end_inset + + or +\begin_inset Tabular + + + + \begin_inset Text \begin_layout Plain Layout -LyX +text \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -as inset box +\begin_inset Graphics + filename ../images/dialog-show-new-inset_graphics.png + scale 70 + scaleBeforeRotation + BoundingBox 0bp 6bp 22bp 22bp + +\end_inset + + \end_layout \end_inset - + + + \begin_inset Text \begin_layout Plain Layout -as date +text \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -as TeX-Code inset box +text \end_layout \end_inset - - -\begin_inset Text + + +\end_inset + -\begin_layout Plain Layout -LaTeX \end_layout +\begin_layout Standard +To get an object exactly at the position where it is inserted, for example + to get one of these positions: +\begin_inset VSpace defskip \end_inset - - -\begin_inset Text -\begin_layout Plain Layout -as date + \end_layout -\end_inset - +\begin_layout Standard +\noindent +\align center +\begin_inset Tabular + + + + + \begin_inset Text \begin_layout Plain Layout -as date +text \end_layout \end_inset - + \begin_inset Text \begin_layout Plain Layout -as command +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 + BoundingBox 0bp 6bp 22bp 22bp + +\end_inset + + +\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 Graphics + filename ../images/dialog-show-new-inset_graphics.png + scale 70 + scaleBeforeRotation + BoundingBox 0bp 6bp 22bp 22bp + +\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 + BoundingBox 0bp 6bp 22bp 22bp + +\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 + + +\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 +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 + BoundingBox 0bp 6bp 22bp 22bp + +\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 + BoundingBox 0bp 6bp 22bp 22bp + +\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 + +\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 Graphics + filename ../images/dialog-show-new-inset_graphics.png + scale 70 + scaleBeforeRotation + BoundingBox 0bp 6bp 22bp 22bp + +\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 + + +\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 Graphics + filename ../images/dialog-show-new-inset_graphics.png + scale 70 + scaleBeforeRotation + BoundingBox 0bp 6bp 22bp 22bp + +\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 + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +you can use the LaTeX-package +\series bold +picinpar +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! picinpar +\end_layout + +\end_inset + +. + Here is an example: +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +ifpicinpar +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The following section will only be displayed when the LaTeX-package +\series bold +picinpar +\series default + is installed. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +begin{window}[2,c,{ +\end_layout + +\end_inset + + +\begin_inset Graphics + filename clipart/mobius.eps + lyxscale 60 + width 40col% + scaleBeforeRotation + rotateOrigin center + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +},] +\end_layout + +\begin_layout Plain Layout + +{} +\end_layout + +\end_inset + + +\size small +It was in the spring of the year 1894 that all London was interested, and + the fashionable world dismayed, by the murder of the Honourable Ronald + Adair under most unusual and inexplicable circumstances. + The public has already learned those particulars of the crime which +\size default + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +footnotemark{} +\end_layout + +\end_inset + + +\size small + came 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. + Only now, at the end of nearly ten years, am I allowed to supply those + missing links which make up the whole of that remarkable chain. +\size default + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +end{window} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +footnotetext{ +\end_layout + +\end_inset + +Footnote of the paragraph with the fixed object. +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Surrounded fixed objects are used to let text float around them, at which + the object's position in the paragraph can be determined by the number + of lines above it. + In contrary to floats is it not possible to have a numbered caption. +\end_layout + +\begin_layout Standard +A fixed object is inserted by adding the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +begin{window}[2,c,{ +\end_layout + +\begin_layout Standard +as 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. + Behind the command you insert the object. + In this example an image with a width of 40 +\begin_inset space \thinspace{} +\end_inset + +% of the text column width was inserted. + The object can also be a table, a box or an equation. + Behind the object the command +\end_layout + +\begin_layout Standard + +\series bold +},description text] +\begin_inset Newline newline +\end_inset + +{} +\end_layout + +\begin_layout Standard +is inserted. + Note that the +\begin_inset Quotes eld +\end_inset + + +\series bold +{} +\series default + +\begin_inset Quotes erd +\end_inset + + is in the second line. + The description text is optional. + The text surrounding the object must be in the same paragraph as the object, + so it must begin directly after the +\series bold +{} +\series default +. + At the end of the paragraph insert the command: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +end{window} +\end_layout + +\begin_layout Standard +Within a paragraph with a fixed object, you cannot insert footnotes in the + normal way. + You have to use instead the command +\series bold + +\backslash +footnotemark +\series default + inside the paragraph and outside the command +\series bold + +\backslash +footnotetext +\series default + as described in sec. +\begin_inset space \thinspace{} +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Footnotes" + +\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 LaTeX-package +\series bold +picinpar +\series default + is not installed: +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +You need to install the LaTeX-package +\series bold +picinpar +\series default + 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 + + +\backslash +fi +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Initials +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Initials +\end_layout + +\end_inset + + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Surrounded by text ! Initials +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To use initials, you must have the LaTeX-package +\series bold +lettrine +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! lettrine +\end_layout + +\end_inset + + installed and use the module +\family sans +Initials +\family default + in your document (menu +\family sans +Document\SpecialChar \menuseparator +Settings\SpecialChar \menuseparator +Modules +\family default +). + To insert an initial, use the style +\family sans +Initial +\family default +. + This style has a mandatory and an optional argument. + The mandatory argument is inserted via the menu +\family sans +Insert\SpecialChar \menuseparator +Short +\begin_inset space ~ +\end_inset + +Title +\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. + For more information about the possible parameters see the documentation + of +\series bold +lettrine +\series default +, +\begin_inset CommandInset citation +LatexCommand cite +key "lettrine" + +\end_inset + +. + The style itself contains the text that is surrounding the initial. + The usual style is hereby that the word whose first letter is the initial, + is printed with +\shape smallcaps +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 +Here are some examples: +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +iflettrine +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +The following section will only be displayed when the LaTeX-package +\series bold +lettrine +\series default + is installed. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate +No optional argument, the initial is the letter 'I' in the math font +\begin_inset Formula $\mathfrak{Fraktur}$ +\end_inset + +: +\end_layout + +\begin_deeper +\begin_layout Initial +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset Formula $\mathfrak{I}$ +\end_inset + + +\end_layout + +\end_inset + +t +\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 + the fashionable world dismayed, by the murder of the Honourable Ronald + Adair under most unusual and inexplicable circumstances. + The public has already learned those particulars of the crime which came + 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 + + +\end_layout + +\end_deeper +\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: +\end_layout + +\begin_deeper +\begin_layout Initial +\begin_inset Argument +status open + +\begin_layout Plain Layout +lines=1 +\end_layout + +\end_inset + + +\begin_inset Argument +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 + the fashionable world dismayed, by the murder of the Honourable Ronald + Adair under most unusual and inexplicable circumstances. + The public has already learned those particulars of the crime which came + 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 +\begin_layout Enumerate +Magenta, hanging initial over 3 +\begin_inset space ~ +\end_inset + +lines in the math font +\begin_inset Formula $\mathcal{CALLIGRAPHIC}$ +\end_inset + +, the text +\begin_inset Quotes eld +\end_inset + +t was in the spring +\begin_inset Quotes erd +\end_inset + + is in +\shape smallcaps +small caps +\shape default +; to color the initial, you must insert this command before the initial: +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +renewcommand{ +\backslash +LettrineFontHook}{ +\backslash +color{color}} +\series default + +\begin_inset Newline newline +\end_inset + +where the second +\emph on +color +\emph default + can be +\begin_inset Quotes eld +\end_inset + +red +\begin_inset Quotes erd +\end_inset + +, +\begin_inset Quotes eld +\end_inset + +blue +\begin_inset Quotes erd +\end_inset + +, +\begin_inset Quotes eld +\end_inset + +green +\begin_inset Quotes erd +\end_inset + +, +\begin_inset Quotes eld +\end_inset + +yellow +\begin_inset Quotes erd +\end_inset + +, +\begin_inset Quotes eld +\end_inset + +cyan +\begin_inset Quotes erd +\end_inset + +, +\begin_inset Quotes eld +\end_inset + +magenta +\begin_inset Quotes erd +\end_inset + +, +\begin_inset Quotes eld +\end_inset + +black +\begin_inset Quotes erd +\end_inset + + or +\begin_inset Quotes eld +\end_inset + +white +\begin_inset Quotes erd +\end_inset + +, and add this command to the document preamble: +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +@ifundefined{textcolor} +\begin_inset Newline newline +\end_inset + + +\begin_inset space ~ +\end_inset + +{ +\backslash +usepackage{color}}{} +\end_layout + +\begin_deeper +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +renewcommand{ +\backslash +LettrineFontHook}{ +\backslash +color{magenta}} +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +makes the initial magenta +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Initial +\begin_inset Argument +status open + +\begin_layout Plain Layout +lines=3, lhang=0.33, loversize=0.25 +\end_layout + +\end_inset + + +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset Formula $\mathcal{I}$ +\end_inset + + +\end_layout + +\end_inset + +t was in the spring +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + of the year 1894 that all London was interested, and the fashionable world + dismayed, by the murder of the Honourable Ronald Adair under most unusual + and inexplicable circumstances. + The public has already learned those particulars of the crime which came + 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 +\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 LaTeX-package +\series bold +lettrine +\series default + is not installed: +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +You need to install the LaTeX-package +\series bold +lettrine +\series default + 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 + + +\backslash +fi +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Chapter +External Document Parts +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +External Document Parts +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +With the menu +\family sans +Insert\SpecialChar \menuseparator +File +\family default + you can insert external material to your document. + This can be: +\end_layout + +\begin_layout Description +LyX +\begin_inset space ~ +\end_inset + +Document Another LyX document; its content is directly inserted to your + document. +\end_layout + +\begin_layout Description +Plain +\begin_inset space ~ +\end_inset + +Text A text document; each line is inserted in your document as a separate + paragraph. +\end_layout + +\begin_layout Description +Plain +\begin_inset space ~ +\end_inset + +Text, +\begin_inset space ~ +\end_inset + +Join +\begin_inset space ~ +\end_inset + +Lines A text document; text lines are inserted in your document continuously + but an empty text line creates a new paragraph. +\end_layout + +\begin_layout Description +External +\begin_inset space ~ +\end_inset + +Material Files in various formats. +\end_layout + +\begin_layout Description +Child +\begin_inset space ~ +\end_inset + +Document LyX or LaTeX-documents. +\end_layout + +\begin_layout Section +External Material +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +External Document Parts ! External Material +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +The external material feature allows you to insert files in to your document + without converting them to a format that can be read by the document output + format. + 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 +\family sans +Look +\begin_inset space ~ +\end_inset + +and +\begin_inset space ~ +\end_inset + +feel\SpecialChar \menuseparator +Graphics +\family default +, the external material types Dia and Xfig are directly shown in LyX. +\end_layout + +\begin_layout Standard +External material can be inserted via the +\family sans +External Material +\family default + dialog that is accessible with the menu +\family sans +Insert\SpecialChar \menuseparator +File\SpecialChar \menuseparator +External +\begin_inset space ~ +\end_inset + +Material +\family default +. + Currently the following file types ( +\family sans +Templates +\family default +) are allowed: +\end_layout + +\begin_layout Description +ChessDiagram This template supports chess position diagrams made with the + program +\series bold + +\begin_inset CommandInset href +LatexCommand href +name "XBoard" +target "http://en.wikipedia.org/wiki/XBoard" + +\end_inset + + +\series default +. +\end_layout + +\begin_layout Description +Date This inserts the date in the form +\emph on +Day-Month-Year +\emph default +. + This is a date inserted as external material: +\begin_inset External + template Date + filename . + +\end_inset + + +\begin_inset space ~ +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Remove the protected space when bug 4398 is fixed! +\end_layout + +\end_inset + + +\begin_inset Newline newline +\end_inset + +The date is not shown within LyX, only in the output. + There are two other methods of inserting a date: Via menu +\family sans +Insert\SpecialChar \menuseparator +Date +\family default + and with the LaTeX command +\series bold + +\backslash +today +\series default + as TeX-Code. + The different methods are compared in Table +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Comparison-of-the" + +\end_inset + +. +\end_layout + +\begin_layout Description +Dia This template supports diagrams created with the program +\series bold + +\begin_inset CommandInset href +LatexCommand href +name "Dia" +target "http://en.wikipedia.org/wiki/Dia_(software)" + +\end_inset + + +\series default +. +\end_layout + +\begin_layout Description +LilyPond This template is used for music notation typeset with the program +\begin_inset Newline linebreak +\end_inset + + +\series bold + +\begin_inset CommandInset href +LatexCommand href +name "LilyPond" +target "http://en.wikipedia.org/wiki/LilyPond" + +\end_inset + + +\series default +. +\end_layout + +\begin_layout Description +PDFPages With this template you can insert PDF documents to your document. + To insert certain or all pages of a PDF, use the +\emph on +pages +\emph default + option in the +\family sans +Option +\family default + field in the +\family sans +LaTeX and LyX options +\family default + tab according to the template description in the dialog. + When no +\emph on +pages +\emph default + option is given, only the first page of the PDF will be inserted. +\end_layout + +\begin_layout Description +RasterImage This can be used for bitmap images. + Nearly all popular image formats are supported. + The image can be treated in the +\family sans +External material +\family default + dialog like the images that are usually included via the +\family sans +Graphics +\family default + dialog as described in section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Graphics-Dialog" + +\end_inset + +. + The difference is that only raster images are allowed; that means that + PDF and EPS-images are not supported. +\end_layout + +\begin_layout Description +XFig This template supports images created with the program +\series bold + +\begin_inset CommandInset href +LatexCommand href +name "Xfig" +target "http://en.wikipedia.org/wiki/Xfig" + +\end_inset + + +\series default +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Plain Layout +\begin_inset Caption + +\begin_layout Plain Layout +\begin_inset CommandInset label +LatexCommand label +name "tab:Comparison-of-the" + +\end_inset + +Comparison of the date input methods. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Plain Layout +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Plain Layout +Document format +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\family sans +External Material\SpecialChar \menuseparator +Date +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout + +\family sans +Insert\SpecialChar \menuseparator +Date +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +command +\series bold + +\backslash +today +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +LyX +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +as inset box +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +as date +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +as TeX-Code inset box +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +LaTeX +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +as date +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +as date +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +as command \end_layout \end_inset @@ -32147,7 +34616,7 @@ name "sec:Child-Documents" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -32157,7 +34626,7 @@ External Document Parts ! Child Documents \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -32170,13 +34639,21 @@ Files ! Include \end_layout \begin_layout Standard -Child documents are used when you have a long document consisting of several +Child documents are used if you have a long document consisting of several larger parts or sections. For maintenance it is often useful and sometimes even required to split - the document in several files that can be revised separately. - The different documents are then the so called child documents and a master - document connects them to print the full document or parts of it. - A child documents inherits elements of its master, for example the LaTeX + the document into several files that can be revised separately. + The different documents are then the so called +\begin_inset Quotes eld +\end_inset + +child documents +\begin_inset Quotes erd +\end_inset + +, 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. \end_layout @@ -32221,7 +34698,7 @@ Documents \end_layout \begin_layout Description -Include You can include LyX and LaTeX-documents. +Include You can include LyX- and LaTeX-documents. When you press the \family sans Load @@ -32269,7 +34746,7 @@ reference "sub:External-Subsection-1" \end_inset - +. \end_layout \begin_layout Standard @@ -32281,54 +34758,6 @@ The preamble of the child document is ignored; only the preamble of the a page break. \end_layout -\begin_layout Standard -If you are only working on a certain chapter of a large document and want - to save compiling time, you can put each included file into a branch. -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -Branches are described in section -\emph on -Branches -\emph default - of the LyX -\emph on -Userguide -\emph default -. -\end_layout - -\end_inset - - By enabling/disabling branches you can decide what included files will - appear in the output. -\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 LyX the LaTeX command -\series bold - -\backslash -includeonly -\series default - can currently not be used as an alternative to decide what files should - be included. -\end_layout - -\end_inset - - -\end_layout - \begin_layout Standard \begin_inset Note Greyedout status open @@ -32338,8 +34767,8 @@ status open \series bold Note: \series default - When you have included a LyX- or LaTeX-file, you are warned when you export/vie -w the document in case the child document uses another document class than + 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. \end_layout @@ -32384,13 +34813,13 @@ Graphics \end_layout \begin_layout Itemize -The LaTeX-command -\series bold - -\backslash -includeonly -\series default - cannot be used. +You cannot exclude Input files via the menu +\family sans +Document\SpecialChar \menuseparator +Settings\SpecialChar \menuseparator +Child Documents +\family default +. \end_layout \end_deeper @@ -32410,7 +34839,7 @@ filename "DummyDocument2.lyx" \end_layout \begin_layout Description -Verbatim With this method every text file can be included. +Verbatim With this method any text file can be included. The file is shown in the output with its source code; no command used in the text is invoked. You can use the option @@ -32464,7 +34893,7 @@ filename "DummyTextDocument.txt" \begin_inset VSpace bigskip \end_inset -Here is a child document inserted as Verbatim using the + Here is a child document inserted as Verbatim using the \family sans Mark spaces in output \family default @@ -32540,6 +34969,84 @@ Note: \end_layout +\begin_layout Standard +If you want to view/export only selected children of your master document, + either because you want to save compiling time or because you want to distribut +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 +Child Documents +\family default +. + You can exclude\SpecialChar \slash{} +include children by double-clicking on the +\family sans +include to output +\family default + column of the respective child document in the list (note that this only + works for documents embedded via +\begin_inset Quotes eld +\end_inset + +Include +\begin_inset Quotes erd +\end_inset + +, not with +\begin_inset Quotes eld +\end_inset + +Input +\begin_inset Quotes erd +\end_inset + +). + If the option +\family sans +Maintain counters and references +\family default + is enabled, 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. + So if you want to save compile time and if counters and references do not + need to be correct, disable this checkbox. +\end_layout + +\begin_layout Standard +Alternatively, you can put each included file into a branch. +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout +Branches are described in section +\emph on +Branches +\emph default + of the LyX +\emph on +Userguide +\emph default +. +\end_layout + +\end_inset + + By enabling\SpecialChar \slash{} +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. + However, counters and references will not be maintained with this approach. +\end_layout + \begin_layout Chapter Program Code Listings \begin_inset CommandInset label @@ -32549,7 +35056,7 @@ name "cha:Program-Code-Listings" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -32559,7 +35066,7 @@ Listings \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -32569,7 +35076,7 @@ Program Code \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -32597,7 +35104,7 @@ Program Listing listings \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -33154,6 +35661,121 @@ lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchar \end_inset +\end_layout + +\begin_layout Standard +Inserting a formula into a listing can be done the following way: +\end_layout + +\begin_layout Enumerate +Open the listings dialog and add +\begin_inset Newline newline +\end_inset + + +\family sans +mathescape=true +\family default + +\begin_inset Newline newline +\end_inset + +to the field of the +\family sans +Advanced +\family default + tab. +\end_layout + +\begin_layout Enumerate +Create a formula outside the listing +\end_layout + +\begin_layout Enumerate +Copy the content of the formula (not the formula inset) to the clipboard + (shortcut +\begin_inset Info +type "shortcut" +arg "copy" +\end_inset + +) +\end_layout + +\begin_layout Enumerate +In the listing write +\begin_inset Quotes eld +\end_inset + + +\family sans +$$ +\family default + +\begin_inset Quotes erd +\end_inset + + and copy from the clipboard between the dollar-signs (shortcut +\begin_inset Info +type "shortcut" +arg "paste" +\end_inset + +) +\end_layout + +\begin_layout Standard +\begin_inset listings +lstparams "language=Python,mathescape=true" +inline false +status open + +\begin_layout Plain Layout + +\begin_inset Caption + +\begin_layout Plain Layout +Example Listing float containing a formula +\end_layout + +\end_inset + +# Example listing float +\end_layout + +\begin_layout Plain Layout + +def func(param): +\end_layout + +\begin_layout Plain Layout + + # $ +\backslash +prod_{n=1}^{ +\backslash +infty} +\backslash +, +\backslash +frac{1}{x^{2}}$ +\end_layout + +\begin_layout Plain Layout + + pass +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + \end_layout \begin_layout Standard @@ -33161,7 +35783,7 @@ Global listings settings can be set in the \family sans Document\SpecialChar \menuseparator Settings\SpecialChar \menuseparator -Text Layout +Listings \family default dialog. To get there a list of available options, type in a question mark @@ -33172,15 +35794,7 @@ Text Layout \begin_inset Quotes erd \end_inset - in the -\family sans -Listings -\begin_inset space ~ -\end_inset - -settings -\family default - field. +. \end_layout \begin_layout Standard @@ -33208,7 +35822,7 @@ key "listings" \begin_layout Chapter \start_of_appendix Units available in LyX -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -33278,7 +35892,7 @@ Units \align center \begin_inset Tabular - + @@ -33774,7 +36388,7 @@ name "cha:Output-File-Formats" \begin_layout Section DVI -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -33784,7 +36398,7 @@ File Formats ! DVI \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -33905,7 +36519,7 @@ name "sec:PostScript" \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -33915,7 +36529,7 @@ File Formats ! PostScript \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34071,7 +36685,7 @@ View \begin_layout Section PDF -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34081,7 +36695,7 @@ File Formats ! PDF \end_inset -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34301,14 +36915,14 @@ Explanation of Equation \begin_inset space ~ \end_inset - +( \begin_inset CommandInset ref -LatexCommand eqref +LatexCommand ref reference "eq:Wgn" \end_inset - +) \begin_inset CommandInset label LatexCommand label name "cha:Explanation-of-Equation" @@ -34331,8 +36945,10 @@ n \end_layout \begin_layout Standard -\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}\end{equation} +\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} +\end{equation} \end_inset @@ -34385,8 +37001,10 @@ reference "eq:Wtot_n" \end_layout \begin_layout Standard -\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}\end{equation} +\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} +\end{equation} \end_inset @@ -34428,8 +37046,10 @@ n \end_layout \begin_layout Standard -\begin_inset Formula \begin{equation} -W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation} +\begin_inset Formula +\begin{equation} +W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n +\end{equation} \end_inset @@ -34437,6 +37057,7 @@ W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\bac \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexcompanion" @@ -34452,6 +37073,7 @@ The LaTeX Companion Second Edition. \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexguide" @@ -34468,6 +37090,7 @@ A Guide to LaTeX Fourth Edition. \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexbook" @@ -34483,6 +37106,7 @@ LaTeX: A Document Preparation System. \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "booktabs" @@ -34502,7 +37126,7 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktab \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34515,6 +37139,7 @@ LaTeX-packages ! booktabs \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "caption" @@ -34534,7 +37159,7 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption. \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34547,6 +37172,7 @@ LaTeX-packages ! caption \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "endfloat" @@ -34566,7 +37192,7 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloa \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34579,9 +37205,10 @@ LaTeX-packages ! endfloat \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "wrapfig" +key "footmisc" \end_inset @@ -34590,32 +37217,19 @@ Documentation of the LaTeX-package \begin_inset CommandInset href LatexCommand href -name "wrapfig" -target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty" +name "footmisc" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf" \end_inset \series default -\begin_inset Index +\begin_inset Index idx 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 - - +LaTeX-packages ! footmisc \end_layout \end_inset @@ -34624,9 +37238,10 @@ vspace{4mm} \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "footmisc" +key "hypcap" \end_inset @@ -34635,19 +37250,19 @@ Documentation of the LaTeX-package \begin_inset CommandInset href LatexCommand href -name "footmisc" -target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf" +name "hypcap" +target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf" \end_inset \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout -LaTeX-packages ! footmisc +LaTeX-packages ! hyperref \end_layout \end_inset @@ -34656,9 +37271,10 @@ LaTeX-packages ! footmisc \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "hypcap" +key "hyperref" \end_inset @@ -34667,15 +37283,15 @@ Documentation of the LaTeX-package \begin_inset CommandInset href LatexCommand href -name "hypcap" -target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf" +name "hyperref" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf" \end_inset \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34688,9 +37304,10 @@ LaTeX-packages ! hyperref \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "hyperref" +key "KOMA-Script" \end_inset @@ -34699,19 +37316,19 @@ Documentation of the LaTeX-package \begin_inset CommandInset href LatexCommand href -name "hyperref" -target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf" +name "KOMA-Script" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf" \end_inset \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout -LaTeX-packages ! hyperref +LaTeX-packages ! KOMA-Script \end_layout \end_inset @@ -34720,9 +37337,10 @@ LaTeX-packages ! hyperref \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "KOMA-Script" +key "listings" \end_inset @@ -34731,19 +37349,19 @@ Documentation of the LaTeX-package \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 "listings" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf" \end_inset \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout -LaTeX-packages ! KOMA-Script +LaTeX-packages ! listings \end_layout \end_inset @@ -34752,9 +37370,10 @@ LaTeX-packages ! KOMA-Script \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "listings" +key "marginnote" \end_inset @@ -34763,19 +37382,19 @@ Documentation of the LaTeX-package \begin_inset CommandInset href LatexCommand href -name "listings" -target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf" +name "marginnote" +target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf" \end_inset \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout -LaTeX-packages ! listings +LaTeX-packages ! marginnote \end_layout \end_inset @@ -34784,9 +37403,10 @@ LaTeX-packages ! listings \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "marginnote" +key "lettrine" \end_inset @@ -34795,19 +37415,27 @@ Documentation of the LaTeX-package \begin_inset CommandInset href LatexCommand href -name "marginnote" -target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf" +name "lettrine" +target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf" \end_inset \series default + and an +\begin_inset CommandInset href +LatexCommand href +name "example" +target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf" + +\end_inset -\begin_inset Index + +\begin_inset Index idx status collapsed \begin_layout Plain Layout -LaTeX-packages ! marginnote +LaTeX-packages ! lettrine \end_layout \end_inset @@ -34816,6 +37444,7 @@ LaTeX-packages ! marginnote \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "pstricks" @@ -34835,7 +37464,7 @@ target "http://tug.org/PSTricks/" \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34848,6 +37477,7 @@ LaTeX-packages ! PSTricks \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "sidecap" @@ -34867,7 +37497,7 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap. \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34880,6 +37510,7 @@ LaTeX-packages ! sidecap \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "prettyref" @@ -34899,7 +37530,7 @@ target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref \series default -\begin_inset Index +\begin_inset Index idx status collapsed \begin_layout Plain Layout @@ -34912,54 +37543,65 @@ LaTeX-packages ! prettyref \end_layout \begin_layout Bibliography +\labelwidthstring Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem -key "NewInLyX16" +key "refstyle" \end_inset +Documentation of the LaTeX-package +\series bold \begin_inset CommandInset href LatexCommand href -name "Wiki page" -target "http://wiki.lyx.org/LyX/NewInLyX16" +name "refstyle" +target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf" \end_inset - about new features in -\family sans -LyX 1.6.0 -\family default -. -\end_layout - -\begin_layout Standard -\begin_inset CommandInset index_print -LatexCommand printindex -\end_inset +\series default +\begin_inset Index idx +status collapsed +\begin_layout Plain Layout +LaTeX-packages ! refstyle \end_layout -\begin_layout Standard -\begin_inset FloatList figure - \end_inset \end_layout -\begin_layout Standard -\begin_inset FloatList table +\begin_layout Bibliography +\labelwidthstring Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "NewInLyX20" \end_inset +\begin_inset CommandInset href +LatexCommand href +name "Wiki page" +target "http://wiki.lyx.org/LyX/NewInLyX20" + +\end_inset + + about new features in +\family sans +LyX 2.0 +\family default +. \end_layout \begin_layout Standard -\begin_inset FloatList algorithm +\begin_inset CommandInset index_print +LatexCommand printindex +type "idx" \end_inset