1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
9 % that links to image floats jumps
10 % to the beginning of the float and
12 \usepackage[figure]{hypcap}
14 % the pages of the TOC are numbered roman
15 % and a PDF-bookmark for the TOC is added
16 \let\myTOC\tableofcontents
17 \renewcommand\tableofcontents{%
19 \pdfbookmark[1]{\contentsname}{}
23 % provides caption formatting
24 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
26 % provides commands to set caption
27 % beside tables/images
28 \newcommand{\TabBesBeg}[1][1.0]{%
30 \let\MyEndtable\endtable
31 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
33 \newcommand{\TabBesEnd}{%
35 \let\endtable\MyEndtable}
37 \newcommand{\FigBesBeg}[1][1.0]{%
39 \let\MyEndfigure\endfigure
40 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
42 \newcommand{\FigBesEnd}{%
44 \let\endfigure\MyEndfigure}
46 % enables calculation of values,
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
52 % avoids that floats are placed before their
53 % corresponding section starts
54 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
56 % speed up the longtable calculation
57 \setcounter{LTchunksize}{100}
59 % used for colored tables
60 \@ifundefined{textcolor}
61 {\usepackage{color}}{}
62 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
63 \definecolor{lightgrey}{gray}{0.8}
65 % check for package colortbl
66 % used for colored table cells
68 \IfFileExists{colortbl.sty}
69 {\usepackage{colortbl}
70 \setboolean{colortbl}{true}}
71 {\setboolean{colortbl}{false}}
73 % used to have extra space in table cells
74 \@ifundefined{extrarowheight}
75 {\usepackage{array}}{}
76 \setlength{\extrarowheight}{2pt}
78 % used for customized tables
81 {>{\centering\hspace{0pt}}m{#1}}
84 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
87 {>{\columncolor{#1}\hspace{0pt}}c}
89 \newcolumntype{V}{!{\vrule width 1.5pt}}
91 \newcolumntype{W}{!{\color{green}\vline}}
94 % insert additional vertical space of
95 % 1.5 mm between footnotes
97 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
99 % number algorithm floats within chapters
100 \numberwithin{algorithm}{chapter}
102 % ------------------------------------
103 % used to check for needed LaTeX packages
106 % check for package arydshln
107 % used for tables with dashed lines
108 \newboolean{arydshln}
109 \IfFileExists{arydshln.sty}
110 {\usepackage{arydshln}
111 \setboolean{arydshln}{true}}
112 {\setboolean{arydshln}{false}}
114 % check for package marginnote
115 % used for margin notes
116 \newboolean{marginnote}
117 \IfFileExists{marginnote.sty}
118 {\usepackage{marginnote}
119 \let\marginpar\marginnote
120 \setboolean{marginnote}{true}}
121 {\setboolean{marginnote}{false}}
123 % check for package sidecap
124 % used for captions on the side
126 \IfFileExists{sidecap.sty}
127 {\usepackage{sidecap}
128 \setboolean{sidecap}{true}}
129 {\setboolean{sidecap}{false}}
132 % used for surrounded fixed objects
133 \newboolean{picinpar}
134 \IfFileExists{picinpar.sty}
135 {\usepackage{picinpar}
136 \setboolean{picinpar}{true}}
137 {\setboolean{picinpar}{false}}
140 \newboolean{lettrine}
141 \IfFileExists{lettrine.sty}
142 {\usepackage{lettrine}
143 \setboolean{lettrine}{true}}
144 {\setboolean{lettrine}{false}}
148 \IfFileExists{diagbox.sty}
149 {\usepackage{diagbox}
150 \setboolean{diagbox}{true}}
151 {\setboolean{diagbox}{false}}
153 \setlength{\parskip}{\medskipamount}
154 \setlength{\parindent}{0pt}
156 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
157 \use_default_options false
163 \maintain_unincluded_children no
165 \language_package default
168 \font_roman "lmodern" "default"
169 \font_sans "lmss" "default"
170 \font_typewriter "lmtt" "default"
171 \font_math "auto" "auto"
172 \font_default_family default
173 \use_non_tex_fonts false
175 \font_roman_osf false
177 \font_typewriter_osf false
178 \font_sf_scale 100 100
179 \font_tt_scale 100 100
181 \use_dash_ligatures true
183 \default_output_format pdf2
185 \bibtex_command default
186 \index_command makeindex
190 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
191 \pdf_author "LyX Team, Uwe Stöhr"
192 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
193 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
195 \pdf_bookmarksnumbered true
196 \pdf_bookmarksopen true
197 \pdf_bookmarksopenlevel 1
198 \pdf_breaklinks false
202 \pdf_pdfusetitle false
203 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
206 \use_package amsmath 1
207 \use_package amssymb 1
208 \use_package cancel 1
210 \use_package mathdots 1
211 \use_package mathtools 1
212 \use_package mhchem 1
213 \use_package stackrel 1
214 \use_package stmaryrd 1
215 \use_package undertilde 1
217 \cite_engine_type default
221 \paperorientation portrait
227 \notefontcolor #0000ff
234 \paragraph_separation indent
235 \paragraph_indentation default
237 \math_numbering_side default
238 \quotes_style english
242 \paperpagestyle default
244 \tracking_changes false
245 \output_changes false
247 \postpone_fragile_content false
250 \html_be_strict false
251 \docbook_table_output 0
258 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
261 \begin_layout Chapter
265 \begin_layout Section
269 \begin_layout Standard
270 Normally only one image is inserted to a figure float, but sometimes you
271 might want to use two images with separate subcaptions.
272 This can be done by inserting image floats into existing image floats.
273 Note that only the main caption of the float is added to the List of Figures.
279 \begin_inset CommandInset ref
281 reference "fig:Two-distorted-images"
285 is an example of a figure float with two images set side by side.
286 You can also set the images one below the other.
292 \begin_inset CommandInset ref
294 reference "fig:Pink-object"
299 \begin_inset CommandInset ref
301 reference "fig:A-star"
308 \begin_layout Standard
309 \begin_inset Float figure
316 \begin_layout Plain Layout
317 \begin_inset space \hfill{}
321 \begin_inset Float figure
328 \begin_layout Plain Layout
329 \begin_inset Caption Standard
331 \begin_layout Plain Layout
332 \begin_inset CommandInset label
334 name "fig:Pink-object"
346 \begin_layout Plain Layout
347 \begin_inset Graphics
348 filename ../../../lib/doc/clipart/3D-structure-distort.pdf
361 \begin_inset space \hfill{}
365 \begin_inset Float figure
372 \begin_layout Plain Layout
373 \begin_inset Caption Standard
375 \begin_layout Plain Layout
376 \begin_inset CommandInset label
390 \begin_layout Plain Layout
391 \begin_inset Graphics
392 filename ../../../lib/doc/clipart/Star-structure.pdf
405 \begin_inset space \hfill{}
411 \begin_layout Plain Layout
412 \begin_inset Caption Standard
414 \begin_layout Plain Layout
415 \begin_inset CommandInset label
417 name "fig:Two-distorted-images"
421 Two distorted images.
422 Both images are in the image settings group named
423 \begin_inset Quotes eld
427 \begin_inset Quotes erd