]> git.lyx.org Git - lyx.git/blob - autotests/export/docbook/fonts_EmbeddedObjects.lyx
DocBook: update bibliography handling for 337f9534260.
[lyx.git] / autotests / export / docbook / fonts_EmbeddedObjects.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 598
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin unavailable
7 \textclass scrbook
8 \begin_preamble
9 % that links to image floats jumps
10 % to the beginning of the float and 
11 % not to its caption
12 \usepackage[figure]{hypcap}
13
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{%
18   \frontmatter
19   \pdfbookmark[1]{\contentsname}{}
20   \myTOC
21   \mainmatter }
22
23 % provides caption formatting
24 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
25
26 % provides commands to set caption
27 % beside tables/images
28 \newcommand{\TabBesBeg}[1][1.0]{%
29  \let\MyTable\table
30  \let\MyEndtable\endtable
31  \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
32
33 \newcommand{\TabBesEnd}{%
34  \let\table\MyTable
35  \let\endtable\MyEndtable}
36
37 \newcommand{\FigBesBeg}[1][1.0]{%
38  \let\MyFigure\figure
39  \let\MyEndfigure\endfigure
40  \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
41
42 \newcommand{\FigBesEnd}{%
43  \let\figure\MyFigure
44  \let\endfigure\MyEndfigure}
45
46 % enables calculation of values,
47 \usepackage{calc}
48
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
51
52 % avoids that floats are placed before their
53 % corresponding section starts
54 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
55
56 % speed up the longtable calculation
57 \setcounter{LTchunksize}{100}
58
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}
64
65 % check for package colortbl
66 % used for colored table cells
67 \newboolean{colortbl}
68 \IfFileExists{colortbl.sty}
69  {\usepackage{colortbl}
70   \setboolean{colortbl}{true}}
71  {\setboolean{colortbl}{false}}
72
73 % used to have extra space in table cells
74 \@ifundefined{extrarowheight}
75  {\usepackage{array}}{}
76 \setlength{\extrarowheight}{2pt}
77
78 % used for customized tables
79 % ---
80 \newcolumntype{M}[1]
81  {>{\centering\hspace{0pt}}m{#1}}
82
83 \newcolumntype{S}[2]
84  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
85
86 \newcolumntype{K}[1]
87  {>{\columncolor{#1}\hspace{0pt}}c}
88
89 \newcolumntype{V}{!{\vrule width 1.5pt}}
90
91 \newcolumntype{W}{!{\color{green}\vline}}
92 % ---
93
94 % insert additional vertical space of
95 % 1.5 mm between footnotes
96 \let\myFoot\footnote
97 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
98
99 % number algorithm floats within chapters
100 \numberwithin{algorithm}{chapter}
101
102 % ------------------------------------
103 % used to check for needed LaTeX packages
104 \usepackage{ifthen}
105
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}}
113
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}}
122
123 % check for package sidecap
124 % used for captions on the side
125 \newboolean{sidecap}
126 \IfFileExists{sidecap.sty}
127  {\usepackage{sidecap}
128   \setboolean{sidecap}{true}}
129  {\setboolean{sidecap}{false}}
130
131 % check for picinpar
132 % used for surrounded fixed objects
133 \newboolean{picinpar}
134 \IfFileExists{picinpar.sty}
135  {\usepackage{picinpar}
136   \setboolean{picinpar}{true}}
137  {\setboolean{picinpar}{false}}
138
139 % check for lettrine
140 \newboolean{lettrine}
141 \IfFileExists{lettrine.sty}
142  {\usepackage{lettrine}
143   \setboolean{lettrine}{true}}
144  {\setboolean{lettrine}{false}}
145
146 % check for diagbox
147 \newboolean{diagbox}
148 \IfFileExists{diagbox.sty}
149  {\usepackage{diagbox}
150   \setboolean{diagbox}{true}}
151  {\setboolean{diagbox}{false}}
152 % Added by lyx2lyx
153 \setlength{\parskip}{\medskipamount}
154 \setlength{\parindent}{0pt}
155 \end_preamble
156 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
157 \use_default_options false
158 \begin_modules
159 initials
160 graphicboxes
161 varwidth
162 \end_modules
163 \maintain_unincluded_children no
164 \language english
165 \language_package default
166 \inputencoding utf8
167 \fontencoding auto
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
174 \font_sc false
175 \font_roman_osf false
176 \font_sans_osf false
177 \font_typewriter_osf false
178 \font_sf_scale 100 100
179 \font_tt_scale 100 100
180 \use_microtype false
181 \use_dash_ligatures true
182 \graphics default
183 \default_output_format pdf2
184 \output_sync 0
185 \bibtex_command default
186 \index_command makeindex
187 \paperfontsize 12
188 \spacing single
189 \use_hyperref true
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"
194 \pdf_bookmarks true
195 \pdf_bookmarksnumbered true
196 \pdf_bookmarksopen true
197 \pdf_bookmarksopenlevel 1
198 \pdf_breaklinks false
199 \pdf_pdfborder false
200 \pdf_colorlinks true
201 \pdf_backref 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"
204 \papersize default
205 \use_geometry false
206 \use_package amsmath 1
207 \use_package amssymb 1
208 \use_package cancel 1
209 \use_package esint 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
216 \cite_engine basic
217 \cite_engine_type default
218 \biblio_style plain
219 \use_bibtopic false
220 \use_indices false
221 \paperorientation portrait
222 \suppress_date false
223 \justification true
224 \use_refstyle 0
225 \use_minted 0
226 \use_lineno 0
227 \notefontcolor #0000ff
228 \index Index
229 \shortcut idx
230 \color #008000
231 \end_index
232 \secnumdepth 3
233 \tocdepth 3
234 \paragraph_separation indent
235 \paragraph_indentation default
236 \is_math_indent 0
237 \math_numbering_side default
238 \quotes_style english
239 \dynamic_quotes 0
240 \papercolumns 1
241 \papersides 2
242 \paperpagestyle default
243 \tablestyle default
244 \tracking_changes false
245 \output_changes false
246 \change_bars false
247 \postpone_fragile_content false
248 \html_math_output 0
249 \html_css_as_file 0
250 \html_be_strict false
251 \docbook_table_output 0
252 \end_header
253
254 \begin_body
255
256 \begin_layout Title
257 \SpecialChar LyX
258 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
259 \end_layout
260
261 \begin_layout Chapter
262 Floats
263 \end_layout
264
265 \begin_layout Standard
266 can be created using these commands in the document preamble:
267 \end_layout
268
269 \begin_layout Standard
270
271 \series bold
272
273 \backslash
274 usepackage[tableposition=top]{caption}
275 \series default
276
277 \begin_inset Newline newline
278 \end_inset
279
280
281 \series bold
282
283 \backslash
284 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
285 \end_layout
286
287 \end_body
288 \end_document