% not to its caption
\usepackage[figure]{hypcap}
-% the pages of the TOC is numbered roman
+% the pages of the TOC are numbered roman
% and a PDF-bookmark for the TOC is added
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
\begin_modules
initials
graphicboxes
+varwidth
\end_modules
\maintain_unincluded_children false
\language english
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default
\use_geometry false
-\use_package amsmath 2
-\use_package amssymb 2
-\use_package cancel 0
-\use_package esint 0
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 1
+\use_package esint 1
\use_package mathdots 1
-\use_package mathtools 0
+\use_package mathtools 1
\use_package mhchem 1
-\use_package stackrel 0
-\use_package stmaryrd 0
-\use_package undertilde 0
+\use_package stackrel 1
+\use_package stmaryrd 1
+\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\papercolumns 1
\papersides 2
\paperpagestyle default
-\tracking_changes false
+\tracking_changes true
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
+\author -712698321 "Jürgen Spitzmüller"
\end_header
\begin_body
\family sans
-Version 2.2.x
+Version 2.3.x
\end_layout
\begin_layout Standard
\series bold
-http://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
+https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:A-star-structure"
+reference "fig:A-star-in"
\end_inset
\align center
\begin_inset Graphics
filename clipart/Star-structure.pdf
+ lyxscale 60
width 50col%
scaleBeforeRotation
rotateOrigin center
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:A-star-structure"
+name "fig:A-star-in"
\end_inset
-A star structure in a float.
+A star in a float.
\end_layout
\end_inset
\align center
\begin_inset Graphics
filename clipart/3D-structure-distort.pdf
+ lyxscale 60
scale 80
scaleBeforeRotation
rotateOrigin center
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:A-star-structure"
+reference "fig:A-star-in"
\end_inset
arg "tabular-feature set-all-lines"
\end_inset
- adds lines around the current or selected cells - if the current cell no
- multicolumn cell this also affects the current row and column
+ adds lines around the current or selected cells - if the current cell is
+ not a multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
\end_inset
deletes all lines of the current or selected cells - if the current cell
- no multicolumn cell this also affects the current row and column
+ is not a multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Table-with-rotated-multi"
+reference "tab:Table-with-rotated"
+plural "false"
+caps "false"
+noprefix "false"
\end_inset
\end_inset
° the width of the box is the height of the cell.
+ To avoid to estimate a suitable box width one can use a minipage with a
+ variable width.
+ Such a box is inserted by loading the module
+\family sans
+Variable-width
+\begin_inset space ~
+\end_inset
+
+Minipages
+\family default
+ in the document settings.
+ Then one can use the menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom
+\begin_inset space ~
+\end_inset
+
+Insets\SpecialChar menuseparator
+Minipage
+\begin_inset space ~
+\end_inset
+
+
+\family default
+(Var.
+\begin_inset space ~
+\end_inset
+
+Width).
Table
\begin_inset space ~
\end_inset
\end_inset
- is an example for a rotated multiline cell where the box width was set
- to 3
-\begin_inset space \thinspace{}
-\end_inset
-
-cm.
+ is an example for a rotated multiline cell where a variable width minipage
+ is used.
\end_layout
\begin_layout Standard
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "3cm"
-special "none"
-height "1in"
-height_special "totalheight"
-thickness "0.4pt"
-separation "3pt"
-shadowsize "4pt"
-framecolor "black"
-backgroundcolor "none"
+\begin_inset Flex Minipage (Var. Width)
status open
\begin_layout Plain Layout
\end_inset
with line break
+\begin_inset space ~
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Section
-Float Placement
+Float
+\change_deleted -712698321 1526031763
+Placement
+\change_inserted -712698321 1526031765
+Settings
+\change_unchanged
+
\begin_inset CommandInset label
LatexCommand label
-name "sec:Float-Placement"
+name "sec:Float-Settings"
\end_inset
status collapsed
\begin_layout Plain Layout
-Floats ! Placement
+Floats !
+\change_deleted -712698321 1526031841
+Placement
+\change_inserted -712698321 1526031842
+Settings
+\change_unchanged
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Right-clicking on a float-box and clicking on
+
+\change_inserted -712698321 1526033385
+Float Settings can be adjusted at two places in \SpecialChar LyX
+: In
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar ldots
+\SpecialChar menuseparator
+Float Settings
+\family default
+, you can set some options that are used by default for all floats of the
+ document (placement on page and alignment of contents), unless you modify
+ the local settings of a float.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526032513
+The latter can be done by
+\change_deleted -712698321 1526032513
+R
+\change_inserted -712698321 1526032513
+r
+\change_unchanged
+ight-clicking on a float-box and clicking on
\family sans
Settings
+\change_inserted -712698321 1526033387
+\SpecialChar ldots
+
+\change_unchanged
+
+\family default
+
+\change_inserted -712698321 1526032520
+This
+\change_unchanged
+opens a dialog where you can
+\change_inserted -712698321 1526032584
+, now only for the given float,
+\change_unchanged
+ alter the
+\change_inserted -712698321 1526033452
+global
+\change_unchanged
+placement
+\change_deleted -712698321 1526033439
+options that \SpecialChar LaTeX
+ uses for positioning the float
+\change_inserted -712698321 1526033493
+ and alignment options, and adapt some other options that are only available
+ for single floats
+\change_unchanged
+.
+
+\change_inserted -712698321 1526032658
+ All these options, both for
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
\family default
- opens a dialog where you can alter the placement options that \SpecialChar LaTeX
- uses for
- positioning the float.
+ and for local
+\family sans
+Float Settings
+\family default
+, are described in turn.
+\change_deleted -712698321 1526031652
+
\begin_inset Newline newline
\end_inset
\end_inset
.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -712698321 1526031775
+Float Placement
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Float-Placement"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1526031775
+Floats ! Placement
+\end_layout
+
+\end_inset
+
+
+\change_unchanged
+
\end_layout
\begin_layout Standard
+
+\change_inserted -712698321 1526032697
+Both in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ and in the local
+\family sans
+Float Settings
+\family default
+ dialog, you can
+\change_deleted -712698321 1526032811
You can use one or more of the following options in the float dialog to
- set the placement for a particular float when you uncheck the option
+ set
+\change_inserted -712698321 1526032812
+modify
+\change_unchanged
+ the placement
+\change_inserted -712698321 1526033558
+algorithm that \SpecialChar LaTeX
+ uses for positioning floats on the page, either
+\change_unchanged
+for
+\change_inserted -712698321 1526033535
+all floats (
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+) or
+\change_unchanged
+a particular float
+\change_inserted -712698321 1526033570
+ (local
+\family sans
+Float Settings
+\family default
+ dialog).
+ This is done via
+\family sans
+Placement Settings
+\family default
+.
+ By default, this is set to
+\change_unchanged
+
+\change_inserted -712698321 1526033604
+
+\family sans
+Class Default
+\family default
+ in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ (meaning that the default placement algorithm of the document class is
+ used) or
+\family sans
+Document Default
+\family default
+ in the local
+\family sans
+Float Settings
+\family default
+ dialog (meaning that the settings in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ are used, which are the Class Defaults by default).
+ If you want to change this,
+\change_deleted -712698321 1526033009
+when you uncheck
+\change_inserted -712698321 1526033535
+select
+\change_unchanged
+
+\change_deleted -712698321 1526031920
+the option
+\change_inserted -712698321 1526033535
+
+\family sans
+Placement Settings:
+\change_unchanged
+
+\family default
+
+\change_inserted -712698321 1526033535
+
\family sans
+Custom.
+\change_deleted -712698321 1526031908
Use
\begin_inset space ~
\end_inset
\end_inset
placement
+\change_inserted -712698321 1526033535
+
\family default
+ This allows you to select one or more from
+\change_unchanged
:
\end_layout
\end_inset
.
+\change_inserted -712698321 1526030561
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -712698321 1526031989
+Alignment of Float Contents
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526032316
+In this list of options, you can define how the contents of a float (or
+ all floats by default, if selected from
+\family sans
+Document\SpecialChar menuseparator
+Settings
+\family default
+) are aligned.
+
+\family sans
+Class Default
+\family default
+ means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
+, is
+ used.
+
+\family sans
+Document Default
+\family default
+ (only visible in the
+\family sans
+Float Settings
+\family default
+ dialog, not in
+\family sans
+Document\SpecialChar menuseparator
+Settings
+\family default
+) takes the setting specified in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+.
+ The other three options,
+\family sans
+Left
+\family default
+,
+\family sans
+Center
+\family default
+, or
+\family sans
+Right
+\family default
+, are self-explanatory.
+ If one of these is selected in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+, all floats of the document will have this setting by default (so it is
+ fairly easy, for instance, to center all floats).
+\change_unchanged
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -712698321 1526030571
+Other Float Options
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526035716
+These two options are only visible in the local
+\family sans
+Float Settings
+\family default
+ dialog, not in
+\family sans
+Document\SpecialChar menuseparator
+Settings.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526033931
+The option
+\family sans
+Span
+\begin_inset space ~
+\end_inset
+
+columns
+\family default
+ is useful for two-column documents: If you select it, the float will span
+ both columns on the page instead of being confined to just one.
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526030572
+The option
+\family sans
+Rotate
+\begin_inset space ~
+\end_inset
+
+sideways
+\family default
+ is used to rotate floats, see section
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Rotated-Floats"
+
+\end_inset
+
+.
+\change_unchanged
+
\end_layout
\begin_layout Section
See for example the footnote in the titling of this document.
\end_layout
+\begin_layout Standard
+Footnotes in multi-page tables are described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Footnotes-in-Multi-page"
+
+\end_inset
+
+.
+\end_layout
+
\begin_layout Standard
\begin_inset VSpace defskip
\end_inset
-Footnotes in tables are not printed by \SpecialChar LaTeX
- due to technical reasons.
- However there exists another method to print them: Instead of the footnote
- the command
+
+\end_layout
+
+\begin_layout Standard
+Footnotes in minipage boxes are printed, but inside the box and with a different
+ numbering because a minipage box is like a page inside a page.
+ (For more about minipages, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.) To get a footnote in the minipage that is output at the bottom of the
+ page like normal footnotes use this method: Instead of the footnote the
+ command
\series bold
\backslash
\backslash
footnotetext
\series default
- after the table.
+ after the minipage.
\begin_inset Newline newline
\end_inset
-This was done for the following table with the command
+This was done for the following minipage with the command
\end_layout
\begin_layout Standard
\backslash
footnotetext{
\series default
-Printed table footnote.
+Footnote outside the minipage.
\series bold
}
\end_layout
-\begin_layout Standard
-\begin_inset Tabular
-<lyxtabular version="3" rows="2" columns="1">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-This an example text.
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-This footnote will not be printed!
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-This an example text.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-footnotemark{}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-footnotetext{
-\end_layout
-
-\end_inset
-
-Printed table footnote.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Footnotes in multi-page tables are described in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "subsec:Footnotes-in-Multi-page"
-
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Standard
-Footnotes in minipage boxes are printed, but inside the box and with a different
- numbering because a minipage box is like a page inside a page.
- (For more about minipages, see section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Minipages"
-
-\end_inset
-
-.) To get a footnote in the minipage that is output at the bottom of the
- page like normal footnotes, also use the method of
-\series bold
-
-\backslash
-footnotemark{}
-\series default
- and
-\series bold
-
-\backslash
-footnotetext
-\series default
-.
-\end_layout
-
\begin_layout Standard
\begin_inset Box Frameless
position "t"
\begin_inset Graphics
- filename clipart/platypus.eps
+ filename clipart/Star-structure.pdf
lyxscale 50
width 25col%
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/platypus.eps
+ filename clipart/Star-structure.pdf
lyxscale 50
width 25col%
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/mobius.eps
+ filename clipart/2D-intensity-plot.pdf
width 40col%
scaleBeforeRotation
rotateOrigin center
\begin_inset Graphics
- filename clipart/mobius.eps
+ filename clipart/2D-intensity-plot.pdf
lyxscale 60
width 40col%
scaleBeforeRotation
\begin_inset CommandInset href
LatexCommand href
name "XBoard"
-target "http://en.wikipedia.org/wiki/XBoard"
+target "https://en.wikipedia.org/wiki/XBoard"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "Dia"
-target "http://en.wikipedia.org/wiki/Dia_(software)"
+target "https://en.wikipedia.org/wiki/Dia_(software)"
literal "false"
\end_inset
\end_layout
\begin_layout Description
-Spreadsheet With this template you can insert spreadsheets
-\begin_inset space \thinspace{}
-\end_inset
-
-/
-\begin_inset space \thinspace{}
+Inkscape
+\begin_inset space ~
\end_inset
-tables in the format of
+figure This template supports specific scalable images derived from scalable
+ vector graphics (SVG), in which the contained text is replaced by a version
+ typeset by \SpecialChar LaTeX
+ (and hence in the current document font).
+ It relies on a feature of the program
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "Gnumeric"
-target "http://en.wikipedia.org/wiki/Gnumeric"
+name "Inkscape"
+target "https://inkscape.org/"
literal "false"
\end_inset
\series default
-,
-\begin_inset CommandInset href
-LatexCommand href
-name "OpenDocument"
-target "http://en.wikipedia.org/wiki/OpenDocument"
-literal "false"
+ which creates a special PDF or EPS and \SpecialChar LaTeX
+ file from a given SVG file (in
+
+\noun on
+Inkscape
+\noun default
+ itself, the feature is available via the option
+\family sans
+Omit text in PDF and create LaTeX file
+\family default
+ when saving a drawing as PDF or EPS).
+ The benefit of such files is a uniform text style throughout the whole
+ document.
+\begin_inset Newline newline
+\end_inset
+The external template reads SVG files and uses a converter program to generate
+ the respective PDF\SpecialChar breakableslash
+EPS and \SpecialChar LaTeX
+ files (via
+\noun on
+
+\noun default
+Inkscape
+\noun on
+)
+\noun default
+ on the fly, so you don't have to export those files yourself.
+ If you prefer the latter and want use given
+\family typewriter
+*.pdf
+\family default
+ and
+\family typewriter
+*.pdf_tex
+\family default
+ or
+\family typewriter
+*.eps
+\family default
+ and
+\family typewriter
+*.eps_tex
+\family default
+ files instead, simply input the respective
+\family typewriter
+*.pdf_tex
+\family default
+ or
+\family typewriter
+*.eps_tex
+\family default
+ file via the
+\family sans
+Child Documents
+\family default
+ dialog (see sec.
+\begin_inset space ~
\end_inset
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Child-Documents"
+
+\end_inset
+
+) rather than using this template.
+\begin_inset Newline newline
+\end_inset
+
+You can use \SpecialChar TeX
+ code commands such as
+\series bold
+
+\backslash
+Large
+\series default
,
-\begin_inset CommandInset href
-LatexCommand href
-name "Microsoft Office XML"
-target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
-literal "false"
+\series bold
+\backslash
+small
+\series default
+, etc.
+\begin_inset space \space{}
\end_inset
- and
-\begin_inset CommandInset href
-LatexCommand href
-name "Office Open XML"
-target "http://en.wikipedia.org/wiki/Office_Open_XML"
+in the text of the SVG.
+ The size of the font will be taken from the settings of the \SpecialChar LyX
+ document.
+ Please refer to
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Inkscape"
literal "false"
\end_inset
-.
- For this feature \SpecialChar LyX
- must have found the program
-\family typewriter
-ssconvert
-\family default
- during its configuration.
- This program is part of Gnumeric, so that you must have Gnumeric installed,
- also if you don't have tables in the Gnumeric format.
- For examples and possible limitations have a look at \SpecialChar LyX
-'s example file
-\emph on
-spreadsheet.lyx
-\emph default
-.
+ for more information and examples.
\end_layout
\begin_layout Description
\begin_inset CommandInset href
LatexCommand href
name "LilyPond"
-target "http://en.wikipedia.org/wiki/LilyPond"
+target "https://en.wikipedia.org/wiki/LilyPond"
literal "false"
\end_inset
\end_layout
+\begin_layout Description
+Spreadsheet With this template you can insert spreadsheets
+\begin_inset space \thinspace{}
+\end_inset
+
+/
+\begin_inset space \thinspace{}
+\end_inset
+
+tables in the format of
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Gnumeric"
+target "https://en.wikipedia.org/wiki/Gnumeric"
+literal "false"
+
+\end_inset
+
+
+\series default
+,
+\begin_inset CommandInset href
+LatexCommand href
+name "OpenDocument"
+target "https://en.wikipedia.org/wiki/OpenDocument"
+literal "false"
+
+\end_inset
+
+,
+\begin_inset CommandInset href
+LatexCommand href
+name "Microsoft Office XML"
+target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
+literal "false"
+
+\end_inset
+
+ and
+\begin_inset CommandInset href
+LatexCommand href
+name "Office Open XML"
+target "https://en.wikipedia.org/wiki/Office_Open_XML"
+literal "false"
+
+\end_inset
+
+.
+ For this feature \SpecialChar LyX
+ must have found the program
+\family typewriter
+ssconvert
+\family default
+ during its configuration.
+ This program is part of Gnumeric, so that you must have Gnumeric installed,
+ also if you don't have tables in the Gnumeric format.
+ For examples and possible limitations have a look at \SpecialChar LyX
+'s example file
+\emph on
+spreadsheet.lyx
+\emph default
+.
+\end_layout
+
\begin_layout Description
Vector
\begin_inset space ~
\begin_inset CommandInset href
LatexCommand href
name "Xfig"
-target "http://en.wikipedia.org/wiki/Xfig"
+target "https://en.wikipedia.org/wiki/Xfig"
literal "false"
\end_inset
.
\end_layout
-\begin_layout Description
-Inkscape
-\begin_inset space ~
-\end_inset
-
-figure This experimental template supports vector graphics (SVG) images
- that contain text written in \SpecialChar LaTeX
-.
- It relies on the option
-\family sans
-Omit text in PDF and create LaTeX file
-\family default
- when saving a drawing as PDF with the program
-\noun on
-Inkscape
-\noun default
-,
-\begin_inset CommandInset citation
-LatexCommand cite
-key "Inkscape"
-literal "false"
-
-\end_inset
-
-.
- This allows to include SVG documents in which \SpecialChar LaTeX
- will typeset the text.
- The benefit of such SVGs is a uniform text style throughout the whole document.
-\begin_inset Newline newline
-\end_inset
-
-One can use \SpecialChar TeX
- code commands like
-\series bold
-
-\backslash
-Large
-\series default
-,
-\series bold
-
-\backslash
-small
-\series default
-, etc.
-\begin_inset space \space{}
-\end_inset
-
-in the text of the SVG.
- The size of the font will be taken from the settings of the \SpecialChar LyX
- document.
- Refer to
-\begin_inset CommandInset citation
-LatexCommand cite
-key "Inkscape"
-literal "false"
-
-\end_inset
-
- for more information and examples.
-\begin_inset Newline newline
-\end_inset
-
-Note that while the image text takes into account the surrounding font,
- its preview in \SpecialChar LyX
- does not.
- Wrapping the external inset in a preview inset (menu
-\family sans
-Insert\SpecialChar menuseparator
-Preview
-\family default
-) gives a better result.
-\begin_inset Newline newline
-\end_inset
-
-The template works very similarly to Xfig support.
- \SpecialChar LyX
- will extract the text in the image into a separate \SpecialChar TeX
- file and creates a
- PDF file for the rest.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float table
-placement !h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption Standard
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Comparison-of-the"
-
-\end_inset
-
-Comparison of the date input methods.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Document format
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-Insert\SpecialChar menuseparator
-Date
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-command
-\series bold
-
-\backslash
-today
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\SpecialChar LyX
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as date
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as \SpecialChar TeX
- Code inset box
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\SpecialChar LaTeX
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as date
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as command
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-DVI, PDF, PS
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as date
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-as date
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
\begin_layout Standard
When you use the option
\family sans
status open
\begin_layout Plain Layout
-Please note that we do NOT want to encourage users to add -shell-escape
- to converter definitions.
+
+\series bold
+Note:
+\series default
+ \SpecialChar LyX
+ does NOT want to encourage users to add the
+\family typewriter
+-shell-escape
+\family default
+ option to converter definitions.
It works, but it is a huge security risk.
There is an active discussion about how to handle this.
Once that's been resolved, this can be updated appropriately.
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Float-Placement"
+reference "sec:Float-Settings"
\end_inset
\family default
.
The list entries are the listing caption and the listing number.
-\begin_inset Newpage pagebreak
-\end_inset
-
-
\end_layout
\begin_layout Standard
minted
\series default
package places them after the listing by default if it is floating.
- If tit is not floating caption will be typeset before the listing if it
+ If it is not floating, caption will be typeset before the listing if it
is inserted to its first line, otherwise it will be typeset after the listing.
- If you want to force the placement in avery case before the listing, you
+ If you want to force the placement in every case before the listing, you
have to add the following lines as last thing to the preamble:
\begin_inset Newline newline
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="20" columns="3">
+<lyxtabular version="3" rows="21" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
+<column alignment="center" valignment="middle" width="50col%">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-mm
+bp
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-millimeter
+big point (72
+\begin_inset space \thinspace{}
+\end_inset
+
+bp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+in)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-cm
+cc
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-centimeter
+cicero (1
+\begin_inset space \thinspace{}
+\end_inset
+
+cc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+dd)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-in
+cm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-inch
+centimeter
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-pt
+dd
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-point (72.27
+didot (1
\begin_inset space \thinspace{}
\end_inset
-pt = 1
+dd
+\begin_inset Formula $\approx$
+\end_inset
+
+ 0.376
\begin_inset space \thinspace{}
\end_inset
-in)
+mm)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-pc
+em
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-pica (1
-\begin_inset space \thinspace{}
-\end_inset
-
-pc = 12
-\begin_inset space \thinspace{}
-\end_inset
-
-pt)
+width of letter
+\emph on
+M
+\emph default
+ in current font
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-sp
+ex
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-scaled point (65536
-\begin_inset space \thinspace{}
-\end_inset
-
-sp = 1
-\begin_inset space \thinspace{}
-\end_inset
-
-pt)
+height of letter
+\emph on
+x
+\emph default
+ in current font
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-bp
+in
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-big point (72
-\begin_inset space \thinspace{}
+inch
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
-bp = 1
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-in)
+\begin_layout Plain Layout
+mm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+millimeter
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-dd
+mu
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-didot (1
+math unit (1
\begin_inset space \thinspace{}
\end_inset
-dd
-\begin_inset Formula $\approx$
-\end_inset
-
- 0.376
+mu = 1/18
\begin_inset space \thinspace{}
\end_inset
-mm)
+em)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-cc
+pt
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-cicero (1
+point (72.27
\begin_inset space \thinspace{}
\end_inset
-cc = 12
+pt = 1
\begin_inset space \thinspace{}
\end_inset
-dd)
+in)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Scale Graphics %
+pc
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of original image width
+pica (1
+\begin_inset space \thinspace{}
+\end_inset
+
+pc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Text Width %
+sp
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of text width
+scaled point (65536
+\begin_inset space \thinspace{}
+\end_inset
+
+sp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-textwidth
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Page Width %
+Line Distance %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of paper width
+% of height between baselines of two subsequent text lines
\end_layout
\end_inset
\begin_layout Plain Layout
\backslash
-paperwidth
+baselineskip
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Text Height %
+Page Height %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of text height
+% of paper height
\end_layout
\end_inset
\begin_layout Plain Layout
\backslash
-textheight
+paperheight
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Page Height %
+Page Width %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of paper height
+% of paper width
\end_layout
\end_inset
\begin_layout Plain Layout
\backslash
-paperheight
+paperwidth
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-ex
+Scale Graphics %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-height of letter
-\emph on
-x
-\emph default
- in current font
+% of original image width
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-em
+Text Height %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-width of letter
-\emph on
-M
-\emph default
- in current font
+% of text height
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--
+
+\backslash
+textheight
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-mu
+Text Width %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-math unit (1
-\begin_inset space \thinspace{}
-\end_inset
-
-mu = 1/18
-\begin_inset space \thinspace{}
-\end_inset
-
-em)
+% of text width
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--
+
+\backslash
+textwidth
\end_layout
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "arydshln"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "booktabs"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "caption"
-target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "diagbox"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "endfloat"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "footmisc"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "hypcap"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "hyperref"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "KOMA-Script"
-target "http://mirror.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "lettrine"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "example"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "listings"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "minted"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/minted/minted.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "marginnote"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "pdfpages"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "prettyref"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "refstyle"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "sidecap"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
literal "false"
\end_inset
\begin_inset CommandInset href
LatexCommand href
name "Omit text in PDF"
-target "http://tug.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
+target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
literal "false"
\end_inset