]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
0369188d606cf04c088a41ad285c3d6fd22065dc
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 276
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for colored tables
96 \@ifundefined{textcolor}
97  {\usepackage{color}}{}
98 \usepackage{colortbl}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
101
102 % used for multirows
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
105
106 % used for book-style tables
107 \usepackage{booktabs}
108
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
111
112 % used for customized tables
113 % ---
114 \newcolumntype{M}[1]
115  {>{\centering\hspace{0pt}}m{#1}}
116
117 \newcolumntype{S}[2]
118  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
119
120 \newcolumntype{K}[1]
121  {>{\columncolor{#1}\hspace{0pt}}c}
122
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
124
125 \newcolumntype{W}{!{\color{green}\vline}}
126 % ---
127
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
131
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
134 \let\myFoot\footnote
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
136
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
143
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
146
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149  {\textcolor{blue}\bgroup}{\egroup}
150
151 % ------------------------------------
152 % used to check for needed LaTeX packages
153 \usepackage{ifthen}
154
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159  {\usepackage{arydshln}
160   \setboolean{arydshln}{true}}
161  {\setboolean{arydshln}{false}}
162
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167  {\usepackage{marginnote}
168   \let\marginpar\marginnote
169   \setboolean{marginnote}{true}}
170  {\setboolean{marginnote}{false}}
171 \end_preamble
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
173 \language english
174 \inputencoding auto
175 \font_roman default
176 \font_sans default
177 \font_typewriter default
178 \font_default_family default
179 \font_sc false
180 \font_osf false
181 \font_sf_scale 100
182 \font_tt_scale 100
183 \graphics default
184 \paperfontsize 12
185 \spacing single
186 \papersize default
187 \use_geometry false
188 \use_amsmath 2
189 \use_esint 0
190 \cite_engine basic
191 \use_bibtopic false
192 \paperorientation portrait
193 \secnumdepth 3
194 \tocdepth 3
195 \paragraph_separation skip
196 \defskip medskip
197 \quotes_language english
198 \papercolumns 1
199 \papersides 2
200 \paperpagestyle default
201 \bullet 1 1 34 -1
202 \bullet 2 2 35 -1
203 \bullet 3 2 7 -1
204 \tracking_changes false
205 \output_changes false
206 \author "usti" 
207 \author "Bo Peng" 
208 \author "muso" 
209 \author "Uwe Stöhr" 
210 \end_header
211
212 \begin_body
213
214 \begin_layout Title
215 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
216  manual
217 \end_layout
218
219 \begin_layout Author
220 by the LyX Team
221 \begin_inset Foot
222 status collapsed
223
224 \begin_layout Standard
225 \noindent
226 If you have comments or error corrections, please send them to the LyX Documenta
227 tion mailing list: 
228 \family typewriter
229
230 \begin_inset ERT
231 status open
232
233 \begin_layout Standard
234
235
236 \backslash
237 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
238 \end_layout
239
240 \end_inset
241
242 lyx-docs@lists.lyx.org
243 \begin_inset ERT
244 status collapsed
245
246 \begin_layout Standard
247
248 }
249 \end_layout
250
251 \end_inset
252
253
254 \end_layout
255
256 \end_inset
257
258
259 \begin_inset Note Note
260 status collapsed
261
262 \begin_layout Standard
263 original author: Uwe Stöhr
264 \end_layout
265
266 \end_inset
267
268
269 \newline
270
271 \newline
272
273 \family sans
274 Version 1.5.0-
275 \family default
276 1
277 \end_layout
278
279 \begin_layout Standard
280 \begin_inset LatexCommand tableofcontents
281
282 \end_inset
283
284
285 \end_layout
286
287 \begin_layout Standard
288 \begin_inset Note Note
289 status open
290
291 \begin_layout Standard
292 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
293  
294 \series bold
295 arydshln
296 \series default
297  and 
298 \series bold
299 marginnote
300 \series default
301  must be installed.
302  If they are not installed you can export the document anyway but the sections
303  where the packages are required won't appear in the output.
304 \end_layout
305
306 \begin_layout Standard
307 The latest PDF-version of this document can be found here:
308 \newline
309
310 \series bold
311 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
312 \end_layout
313
314 \end_inset
315
316
317 \end_layout
318
319 \begin_layout Chapter
320 Figures
321 \begin_inset LatexCommand label
322 name "cha:Figures"
323
324 \end_inset
325
326
327 \begin_inset LatexCommand index
328 name "Figures"
329
330 \end_inset
331
332
333 \begin_inset LatexCommand index
334 name "Graphics|see{Figures}"
335
336 \end_inset
337
338
339 \end_layout
340
341 \begin_layout Section
342 Graphics Dialog
343 \begin_inset LatexCommand index
344 name "Figures ! Graphics Dialog"
345
346 \end_inset
347
348
349 \begin_inset LatexCommand label
350 name "sec:Graphics-Dialog"
351
352 \end_inset
353
354
355 \end_layout
356
357 \begin_layout Standard
358 To insert an image into your document, place the cursor at the text position
359  you want and click on the toolbar icon 
360 \begin_inset Graphics
361         filename ../images/dialog-show-new-inset_graphics.xpm
362         scale 85
363         scaleBeforeRotation
364
365 \end_inset
366
367  or use the menu 
368 \family sans
369 Insert\SpecialChar \menuseparator
370 Graphics
371 \family default
372 .
373  Then a dialog will appear to choose the file to load.
374  The image will appear in the output exactly at the position where it is
375  in the text.
376 \end_layout
377
378 \begin_layout Standard
379 The graphics dialog can be called at any time by right-clicking on an image.
380  This dialog has three tabs:
381 \end_layout
382
383 \begin_layout Description
384
385 \family sans
386 Graphics
387 \family default
388  Here you can choose an image file and adjust its appearance in the output.
389  The available units for the image size are explained in appendix\InsetSpace ~
390
391 \begin_inset LatexCommand ref
392 reference "cha:Units-available-in"
393
394 \end_inset
395
396 .
397 \newline
398 You can rotate images counter-clockwise by setting a rotation angle and
399  a rotation origin.
400  The image will also be rotated inside LyX.
401 \newline
402 Images can be scaled by using
403  a percentage value or by setting the width and height explicitly.
404  If you set only the width or only the height, the other size will be determined
405  automatically.
406  If you set both, then the image will be transformed to the given size,
407  possibly distorting it.
408  To prevent the image from distortion, use the option 
409 \family sans
410 Maintain aspect ratio
411 \family default
412 .
413  The image will then be scaled so that its width and height don't exceed
414  the specified dimensions.
415 \newline
416 Images can be opened in a program of your choice
417  when pressing the 
418 \family sans
419 Edit
420 \family default
421  button.
422  The program can be set for every image format in the file format settings
423  in LyX's preferences.
424 \end_layout
425
426 \begin_layout Description
427
428 \family sans
429 Clipping
430 \family default
431  Alternatively to the usage of scaling units it is possible to set image
432  coordinates to adjust the height and width of the image in the output.
433  The coordinates can also be calculated automatically by pressing the button
434  
435 \family sans
436 Get\InsetSpace ~
437 from\InsetSpace ~
438 File
439 \family default
440 .
441  The option 
442 \family sans
443 Clip\InsetSpace ~
444 to\InsetSpace ~
445 bounding\InsetSpace ~
446 box
447 \family default
448  will only print the image region within the given coordinates.
449  Normally you don't need to take care about image coordinates and can ignore
450  this tab.
451 \end_layout
452
453 \begin_layout Description
454
455 \family sans
456 Extra\InsetSpace ~
457 options
458 \family default
459  In this tab you can modify the appearance of the image within LyX and set
460  the image to be a subfigure of a figure float with an own caption.
461  Subfigures are explained in section\InsetSpace ~
462
463 \begin_inset LatexCommand ref
464 reference "sec:Figure-Floats"
465
466 \end_inset
467
468 .
469 \newline
470  LaTeX experts can also specify on this tab additional LaTeX options.
471 \newline
472  The
473  option 
474 \family sans
475 Draft\InsetSpace ~
476 mode
477 \family default
478  makes the image appear in the output only as a frame with the size of the
479  image.
480 \newline
481 The 
482 \family sans
483 Don't\InsetSpace ~
484 unzip\InsetSpace ~
485 on\InsetSpace ~
486 export
487 \family default
488  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
489 g.\InsetSpace ~
490
491 \emph on
492 x.eps.gz
493 \emph default
494 .
495  When the option is used the images will not be unzipped on export, since
496  LaTeX can handle them as they are.
497 \newline
498 Zipped EPS-graphics are useful to save
499  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
500
501 \begin_inset LatexCommand ref
502 reference "sec:PostScript"
503
504 \end_inset
505
506 .
507  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
508  console:
509 \newline
510
511 \series bold
512 gzip x.eps
513 \series default
514
515 \newline
516
517 \series bold
518 zgrep %%Bounding x.eps.gz > x.eps.bb
519 \series default
520
521 \newline
522 The second command creates the bounding box file 
523 \begin_inset Quotes eld
524 \end_inset
525
526 x.eps.bb
527 \begin_inset Quotes erd
528 \end_inset
529
530  that is needed by LaTeX for zipped graphics.
531 \end_layout
532
533 \begin_layout Standard
534 \begin_inset VSpace bigskip
535 \end_inset
536
537
538 \end_layout
539
540 \begin_layout Standard
541 This is an example image in EPS format
542 \begin_inset Foot
543 status collapsed
544
545 \begin_layout Standard
546 Image formats are explained in section\InsetSpace ~
547
548 \begin_inset LatexCommand ref
549 reference "sec:Image-Formats"
550
551 \end_inset
552
553 .
554 \end_layout
555
556 \end_inset
557
558  within a separate, horizontally centered paragraph:
559 \end_layout
560
561 \begin_layout Standard
562 \align center
563 \begin_inset Graphics
564         filename clipart/mobius.eps
565         display color
566         scale 70
567         scaleBeforeRotation
568         rotateOrigin center
569
570 \end_inset
571
572
573 \end_layout
574
575 \begin_layout Standard
576 This is the same image like the one above but in draft mode:
577 \end_layout
578
579 \begin_layout Standard
580 \align center
581 \begin_inset Graphics
582         filename clipart/mobius.eps
583         display color
584         scale 70
585         draft
586         scaleBeforeRotation
587         rotateOrigin center
588
589 \end_inset
590
591
592 \end_layout
593
594 \begin_layout Section
595 Figure Floats
596 \begin_inset LatexCommand label
597 name "sec:Figure-Floats"
598
599 \end_inset
600
601
602 \begin_inset LatexCommand index
603 name "Floats ! Figures"
604
605 \end_inset
606
607
608 \begin_inset LatexCommand index
609 name "Figures ! Floats"
610
611 \end_inset
612
613
614 \end_layout
615
616 \begin_layout Standard
617 For general explanations about floats, have a look at section\InsetSpace ~
618
619 \begin_inset LatexCommand ref
620 reference "sec:FloatIntroduction"
621
622 \end_inset
623
624 .
625 \end_layout
626
627 \begin_layout Standard
628 The toolbar button 
629 \begin_inset Graphics
630         filename ../images/float-insert_figure.xpm
631         scale 85
632         scaleBeforeRotation
633
634 \end_inset
635
636  and the menu 
637 \family sans
638 Insert\SpecialChar \menuseparator
639 Float\SpecialChar \menuseparator
640 Figure
641 \family default
642  inserts a float with a caption that has the label 
643 \begin_inset Quotes eld
644 \end_inset
645
646 Figure\InsetSpace ~
647 #:
648 \begin_inset Quotes erd
649 \end_inset
650
651  (# is the actual number).
652  You can insert the image above the caption, like in Figure\InsetSpace ~
653
654 \begin_inset LatexCommand ref
655 reference "fig:kill-plat"
656
657 \end_inset
658
659  or below the caption, like in Figure\InsetSpace ~
660
661 \begin_inset LatexCommand ref
662 reference "fig:escher"
663
664 \end_inset
665
666 .
667  More about the caption placement is described in section\InsetSpace ~
668
669 \begin_inset LatexCommand ref
670 reference "sec:Caption-Placement"
671
672 \end_inset
673
674 .
675 \end_layout
676
677 \begin_layout Standard
678 \begin_inset Float figure
679 wide false
680 sideways false
681 status open
682
683 \begin_layout Standard
684 \align center
685 \begin_inset Graphics
686         filename clipart/platypus.eps
687         display color
688         width 50col%
689         scaleBeforeRotation
690         rotateOrigin center
691
692 \end_inset
693
694
695 \end_layout
696
697 \begin_layout Standard
698 \begin_inset Caption
699
700 \begin_layout Standard
701 \begin_inset LatexCommand label
702 name "fig:kill-plat"
703
704 \end_inset
705
706 A severely distorted platypus in a float.
707 \end_layout
708
709 \end_inset
710
711
712 \end_layout
713
714 \end_inset
715
716
717 \end_layout
718
719 \begin_layout Standard
720 \begin_inset Float figure
721 wide false
722 sideways false
723 status open
724
725 \begin_layout Standard
726 \begin_inset Caption
727
728 \begin_layout Standard
729 \begin_inset LatexCommand label
730 name "fig:escher"
731
732 \end_inset
733
734 M.C.
735  Escher on acid.
736 \end_layout
737
738 \end_inset
739
740
741 \end_layout
742
743 \begin_layout Standard
744 \align center
745 \begin_inset Graphics
746         filename clipart/escher-lsd.eps
747         display color
748         scale 80
749         scaleBeforeRotation
750         rotateOrigin center
751
752 \end_inset
753
754
755 \end_layout
756
757 \end_inset
758
759
760 \end_layout
761
762 \begin_layout Standard
763 \begin_inset LatexCommand index
764 name "References ! to Figures"
765
766 \end_inset
767
768 Figure\InsetSpace ~
769
770 \begin_inset LatexCommand ref
771 reference "fig:kill-plat"
772
773 \end_inset
774
775  and 
776 \begin_inset LatexCommand ref
777 reference "fig:escher"
778
779 \end_inset
780
781  are examples of referenced figures.
782  Figures can be referenced in the text by referencing their label.
783  To do this insert a label in the caption using the menu 
784 \family sans
785 Insert\SpecialChar \menuseparator
786 Label
787 \family default
788  or the toolbar button 
789 \begin_inset Graphics
790         filename ../images/label-insert.xpm
791         scale 85
792         scaleBeforeRotation
793
794 \end_inset
795
796 .
797  You can now refer to the label using the menu 
798 \family sans
799 Insert\SpecialChar \menuseparator
800 Cross\InsetSpace ~
801 reference
802 \family default
803  or the toolbar button 
804 \begin_inset Graphics
805         filename ../images/dialog-show-new-inset_ref.xpm
806         scale 85
807         scaleBeforeRotation
808
809 \end_inset
810
811 .
812  It is important to use references to floats, rather than using vague references
813  like 
814 \begin_inset Quotes eld
815 \end_inset
816
817 the figure above
818 \begin_inset Quotes erd
819 \end_inset
820
821 , because as LaTeX will reposition the floats in the final document, it
822  might not be 
823 \begin_inset Quotes eld
824 \end_inset
825
826 above
827 \begin_inset Quotes erd
828 \end_inset
829
830  at all.
831 \newline
832 Referencing is explained in detail in section\InsetSpace ~
833
834 \begin_inset LatexCommand ref
835 reference "sec:Referencing-Floats"
836
837 \end_inset
838
839 .
840 \end_layout
841
842 \begin_layout Standard
843 Normally only one image is inserted to a figure float, but sometimes you
844  might want to use two images with separate subcaptions.
845  This can be set in the tab 
846 \family sans
847 Extra\InsetSpace ~
848 options
849 \family default
850  of the graphics dialog.
851  Choose there the option 
852 \family sans
853 Subfigure
854 \family default
855  and enter the subcaption for the image in the caption field.
856  Note that only the main caption of the float is added to the List of Figures.
857 \newline
858 Ref
859 erencing subfigures is explained in section\InsetSpace ~
860
861 \begin_inset LatexCommand ref
862 reference "sub:Referencing-Subfigures"
863
864 \end_inset
865
866 .
867 \end_layout
868
869 \begin_layout Standard
870 Figure\InsetSpace ~
871
872 \begin_inset LatexCommand ref
873 reference "fig:Two-distorted-images"
874
875 \end_inset
876
877  is an example of a figure float with two images set side by side.
878  You can also set the images one below the other.
879 \end_layout
880
881 \begin_layout Standard
882 \begin_inset Float figure
883 wide false
884 sideways false
885 status open
886
887 \begin_layout Standard
888
889 \hfill
890
891 \begin_inset Graphics
892         filename clipart/escher-lsd.eps
893         width 45col%
894         scaleBeforeRotation
895         subcaption
896         subcaptionText "Undefinable structure"
897
898 \end_inset
899
900
901 \hfill
902
903 \begin_inset Graphics
904         filename clipart/platypus.eps
905         lyxscale 60
906         width 45col%
907         scaleBeforeRotation
908         subcaption
909         subcaptionText "\label{fig:Platypus} Platypus"
910
911 \end_inset
912
913
914 \hfill
915
916 \end_layout
917
918 \begin_layout Standard
919 \begin_inset Caption
920
921 \begin_layout Standard
922 \begin_inset LatexCommand label
923 name "fig:Two-distorted-images"
924
925 \end_inset
926
927 Two distorted images.
928 \end_layout
929
930 \end_inset
931
932
933 \end_layout
934
935 \end_inset
936
937
938 \end_layout
939
940 \begin_layout Section
941 Image Formats
942 \begin_inset LatexCommand label
943 name "sec:Image-Formats"
944
945 \end_inset
946
947
948 \begin_inset LatexCommand index
949 name "Image Formats"
950
951 \end_inset
952
953
954 \begin_inset LatexCommand index
955 name "Figures ! Image Formats"
956
957 \end_inset
958
959
960 \end_layout
961
962 \begin_layout Standard
963 You can insert images in any known file format.
964  But as explained in appendix\InsetSpace ~
965
966 \begin_inset LatexCommand ref
967 reference "cha:Output-File-Formats"
968
969 \end_inset
970
971 , every output document format allows only a few image formats.
972  LyX uses therefore the program 
973 \family typewriter
974 Imagemagick
975 \family default
976  in the background to convert the images to the right format.
977  To increase your work flow by avoiding these conversions in the background,
978  you can use only the image formats that can directly be embedded in the
979  output file format.
980  The output file formats are explained in appendix\InsetSpace ~
981
982 \begin_inset LatexCommand ref
983 reference "cha:Output-File-Formats"
984
985 \end_inset
986
987 .
988 \end_layout
989
990 \begin_layout Standard
991 Similar to fonts there are two types of image formats:
992 \end_layout
993
994 \begin_layout Description
995 Bitmap\InsetSpace ~
996 images consist of pixel values, often in a compressed form.
997  They are therefore not fully scalable and look pixeled in large zooms.
998  Well-known bitmap image formats are 
999 \begin_inset Quotes eld
1000 \end_inset
1001
1002 Graphics Interchange Format
1003 \begin_inset Quotes erd
1004 \end_inset
1005
1006  (GIF, file extension 
1007 \begin_inset Quotes eld
1008 \end_inset
1009
1010
1011 \family typewriter
1012 .gif
1013 \family default
1014
1015 \begin_inset Quotes erd
1016 \end_inset
1017
1018 )
1019 \begin_inset LatexCommand index
1020 name "GIF|see{Image formats}"
1021
1022 \end_inset
1023
1024
1025 \begin_inset Quotes eld
1026 \end_inset
1027
1028 Portable Network Graphics
1029 \begin_inset Quotes erd
1030 \end_inset
1031
1032  (PNG, file extension 
1033 \begin_inset Quotes eld
1034 \end_inset
1035
1036
1037 \family typewriter
1038 .png
1039 \family default
1040
1041 \begin_inset Quotes erd
1042 \end_inset
1043
1044 )
1045 \begin_inset LatexCommand index
1046 name "PNG|see{Image formats}"
1047
1048 \end_inset
1049
1050 , and 
1051 \begin_inset Quotes eld
1052 \end_inset
1053
1054 Joint Photographic Experts Group
1055 \begin_inset Quotes erd
1056 \end_inset
1057
1058  (JPG, file extension 
1059 \begin_inset Quotes eld
1060 \end_inset
1061
1062
1063 \family typewriter
1064 .jpg
1065 \family default
1066
1067 \begin_inset Quotes erd
1068 \end_inset
1069
1070  or 
1071 \begin_inset Quotes eld
1072 \end_inset
1073
1074
1075 \family typewriter
1076 .jpeg
1077 \family default
1078
1079 \begin_inset Quotes erd
1080 \end_inset
1081
1082 )
1083 \begin_inset LatexCommand index
1084 name "JPG|see{Image formats}"
1085
1086 \end_inset
1087
1088 .
1089 \end_layout
1090
1091 \begin_layout Description
1092 Vector\InsetSpace ~
1093 images consist of vectors and can therefore be scaled to any size
1094  without data loss.
1095  The scaling ability is necessary if you want to create presentations, because
1096  presentations are always scaled by the video projector.
1097  Scaling is also useful for online documents to let the user zoom into diagrams.
1098 \newline
1099 W
1100 ell-known scalable image formats are 
1101 \begin_inset Quotes eld
1102 \end_inset
1103
1104 Scalable Vector Graphics
1105 \begin_inset Quotes erd
1106 \end_inset
1107
1108  (SVG, file extension 
1109 \begin_inset Quotes eld
1110 \end_inset
1111
1112
1113 \family typewriter
1114 .svg
1115 \family default
1116
1117 \begin_inset Quotes erd
1118 \end_inset
1119
1120 )
1121 \begin_inset LatexCommand index
1122 name "SVG|see{Image formats}"
1123
1124 \end_inset
1125
1126
1127 \begin_inset Quotes eld
1128 \end_inset
1129
1130 Encapsulated PostScript
1131 \begin_inset Quotes erd
1132 \end_inset
1133
1134  (EPS, file extension 
1135 \begin_inset Quotes eld
1136 \end_inset
1137
1138
1139 \family typewriter
1140 .eps
1141 \family default
1142
1143 \begin_inset Quotes erd
1144 \end_inset
1145
1146 )
1147 \begin_inset LatexCommand index
1148 name "EPS|see{Image formats}"
1149
1150 \end_inset
1151
1152
1153 \begin_inset Quotes eld
1154 \end_inset
1155
1156 Portable Document Format
1157 \begin_inset Quotes erd
1158 \end_inset
1159
1160  (PDF, file extension 
1161 \begin_inset Quotes eld
1162 \end_inset
1163
1164
1165 \family typewriter
1166 .pdf
1167 \family default
1168
1169 \begin_inset Quotes erd
1170 \end_inset
1171
1172 )
1173 \begin_inset LatexCommand index
1174 name "PDF"
1175
1176 \end_inset
1177
1178 , and 
1179 \begin_inset Quotes eld
1180 \end_inset
1181
1182 Windows Metafile
1183 \begin_inset Quotes erd
1184 \end_inset
1185
1186  (WMF, file extension 
1187 \begin_inset Quotes eld
1188 \end_inset
1189
1190
1191 \family typewriter
1192 .wmf
1193 \family default
1194
1195 \begin_inset Quotes erd
1196 \end_inset
1197
1198 )
1199 \begin_inset LatexCommand index
1200 name "SVG|see{Image formats}"
1201
1202 \end_inset
1203
1204 .
1205  We wrote 
1206 \begin_inset Quotes eld
1207 \end_inset
1208
1209 can be
1210 \begin_inset Quotes erd
1211 \end_inset
1212
1213 , because you can convert any bitmap image to a PDF or EPS-image and the
1214  result will still be a bitmap image.
1215  In this cases only a header with the image properties is added to the original
1216  image
1217 \begin_inset Foot
1218 status open
1219
1220 \begin_layout Standard
1221 In the case of PDF, the original image is additionally compressed.
1222 \end_layout
1223
1224 \end_inset
1225
1226 .
1227  The PDF-files generated by 
1228 \family typewriter
1229 Adobe Photoshop
1230 \family default
1231  are for example bitmap images.
1232 \end_layout
1233
1234 \begin_layout Standard
1235 Normally it is not possible to convert a bitmap image into a scalable one,
1236  only vice versa.
1237  Only the image formats PDF and EPS can directly be embedded to PDF and
1238  PostScript output files, respectively.
1239  SVG and WMF-images are recalculated to bitmaps when the output file is
1240  generated because there is currently no adequate WMF/SVG
1241 \begin_inset Formula $\to$
1242 \end_inset
1243
1244 PDF/EPS converter available.
1245 \end_layout
1246
1247 \begin_layout Chapter
1248 Tables
1249 \begin_inset LatexCommand label
1250 name "cha:Tables"
1251
1252 \end_inset
1253
1254
1255 \begin_inset LatexCommand index
1256 name "Table"
1257
1258 \end_inset
1259
1260
1261 \end_layout
1262
1263 \begin_layout Section
1264 Introduction
1265 \begin_inset LatexCommand index
1266 name "Table ! Introduction"
1267
1268 \end_inset
1269
1270
1271 \end_layout
1272
1273 \begin_layout Standard
1274 You can insert a table using either the toolbar button 
1275 \begin_inset Graphics
1276         filename ../images/tabular-insert.xpm
1277         scale 85
1278         scaleBeforeRotation
1279
1280 \end_inset
1281
1282  or the menu 
1283 \family sans
1284 Insert\SpecialChar \menuseparator
1285 Table
1286 \family default
1287 .
1288  The toolbar button offers you a graphical selection: Move the mouse to
1289  set the column/row number of the table that should be created and then
1290  press a mouse button.
1291  When you use the menu to create a table, a dialog will appear, asking you
1292  for the number of rows and columns.
1293 \newline
1294  The default table has lines around any
1295  cell and the first row appears separated from the rest of the table.
1296  This separation occurs due to a double line: The cells of the first row
1297  have a line below them and the cells of the second row have a line above
1298  them.
1299  Here is an example table:
1300 \end_layout
1301
1302 \begin_layout Standard
1303 \align center
1304 \begin_inset Tabular
1305 <lyxtabular version="3" rows="4" columns="4">
1306 <features>
1307 <column alignment="center" valignment="top" leftline="true" width="0">
1308 <column alignment="center" valignment="top" leftline="true" width="0">
1309 <column alignment="center" valignment="top" leftline="true" width="0">
1310 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1311 <row topline="true" bottomline="true">
1312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1313 \begin_inset Text
1314
1315 \begin_layout Standard
1316
1317 \end_layout
1318
1319 \end_inset
1320 </cell>
1321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1322 \begin_inset Text
1323
1324 \begin_layout Standard
1325
1326 \family roman
1327 \series medium
1328 \shape up
1329 \size normal
1330 \emph off
1331 \bar no
1332 \noun off
1333 \color none
1334 1
1335 \end_layout
1336
1337 \end_inset
1338 </cell>
1339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1340 \begin_inset Text
1341
1342 \begin_layout Standard
1343 2
1344 \end_layout
1345
1346 \end_inset
1347 </cell>
1348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1349 \begin_inset Text
1350
1351 \begin_layout Standard
1352 3
1353 \end_layout
1354
1355 \end_inset
1356 </cell>
1357 </row>
1358 <row topline="true">
1359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1360 \begin_inset Text
1361
1362 \begin_layout Standard
1363
1364 \family roman
1365 \series medium
1366 \shape up
1367 \size normal
1368 \emph off
1369 \bar no
1370 \noun off
1371 \color none
1372 A
1373 \end_layout
1374
1375 \end_inset
1376 </cell>
1377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1378 \begin_inset Text
1379
1380 \begin_layout Standard
1381
1382 \end_layout
1383
1384 \end_inset
1385 </cell>
1386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1387 \begin_inset Text
1388
1389 \begin_layout Standard
1390
1391 \end_layout
1392
1393 \end_inset
1394 </cell>
1395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1396 \begin_inset Text
1397
1398 \begin_layout Standard
1399
1400 \end_layout
1401
1402 \end_inset
1403 </cell>
1404 </row>
1405 <row topline="true">
1406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1407 \begin_inset Text
1408
1409 \begin_layout Standard
1410
1411 \family roman
1412 \series medium
1413 \shape up
1414 \size normal
1415 \emph off
1416 \bar no
1417 \noun off
1418 \color none
1419 B
1420 \end_layout
1421
1422 \end_inset
1423 </cell>
1424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1425 \begin_inset Text
1426
1427 \begin_layout Standard
1428
1429 \end_layout
1430
1431 \end_inset
1432 </cell>
1433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1434 \begin_inset Text
1435
1436 \begin_layout Standard
1437
1438 \end_layout
1439
1440 \end_inset
1441 </cell>
1442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1443 \begin_inset Text
1444
1445 \begin_layout Standard
1446
1447 \end_layout
1448
1449 \end_inset
1450 </cell>
1451 </row>
1452 <row topline="true" bottomline="true">
1453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1454 \begin_inset Text
1455
1456 \begin_layout Standard
1457
1458 \family roman
1459 \series medium
1460 \shape up
1461 \size normal
1462 \emph off
1463 \bar no
1464 \noun off
1465 \color none
1466 C
1467 \end_layout
1468
1469 \end_inset
1470 </cell>
1471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1472 \begin_inset Text
1473
1474 \begin_layout Standard
1475
1476 \end_layout
1477
1478 \end_inset
1479 </cell>
1480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1481 \begin_inset Text
1482
1483 \begin_layout Standard
1484
1485 \end_layout
1486
1487 \end_inset
1488 </cell>
1489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1490 \begin_inset Text
1491
1492 \begin_layout Standard
1493
1494 \end_layout
1495
1496 \end_inset
1497 </cell>
1498 </row>
1499 </lyxtabular>
1500
1501 \end_inset
1502
1503
1504 \end_layout
1505
1506 \begin_layout Section
1507 Table Dialog
1508 \begin_inset LatexCommand index
1509 name "Table ! Dialog"
1510
1511 \end_inset
1512
1513
1514 \end_layout
1515
1516 \begin_layout Standard
1517 You can alter a table by clicking on it with the right mouse button, which
1518  brings up the table dialog.
1519  Here you can adjust the settings of that cell and row/column respectively
1520  where the cursor is currently placed.
1521  Most of the dialog options also work on selections.
1522  This means if you select more cells, columns or rows, the action is done
1523  for the whole selection.
1524  Note that there is a difference between selecting the 
1525 \emph on
1526 contents
1527 \emph default
1528  of the cell, and the cell itself.
1529  You can alter tables with the following tabs of the table dialog:
1530 \end_layout
1531
1532 \begin_layout Description
1533
1534 \family sans
1535 Table\InsetSpace ~
1536 Settings
1537 \family default
1538  Here you can set the horizontal alignment and the width of the current
1539  column.
1540  When you have set a width you can also adjust the vertical alignment of
1541  the current row.
1542  A given width will allow the cell to have line breaks and multiple paragraphs
1543  of text, see section\InsetSpace ~
1544
1545 \begin_inset LatexCommand ref
1546 reference "sub:Multiple-Lines-in"
1547
1548 \end_inset
1549
1550 .
1551  If you set no width, the column is as wide as their widest cell content
1552  is.
1553 \newline
1554 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1555  cell, see section\InsetSpace ~
1556
1557 \begin_inset LatexCommand ref
1558 reference "sub:Multicolumns"
1559
1560 \end_inset
1561
1562 .
1563 \newline
1564 The rotate check boxes rotates the current cell, a selection, or the whole
1565  table counter-clockwise by 90°.
1566  The rotation is not shown within LyX, only in the output.
1567 \newline
1568
1569 \begin_inset Note Greyedout
1570 status open
1571
1572 \begin_layout Standard
1573
1574 \series bold
1575 Note:
1576 \series default
1577  Not all DVI-viewers are able to display rotations.
1578 \end_layout
1579
1580 \end_inset
1581
1582
1583 \newline
1584 It is also possible to enter a LaTeX-argument which is needed for special
1585  table formattings, see section\InsetSpace ~
1586
1587 \begin_inset LatexCommand ref
1588 reference "sub:Multicolumn-Calculations"
1589
1590 \end_inset
1591
1592  and 
1593 \begin_inset LatexCommand ref
1594 reference "sec:Colored-Tables"
1595
1596 \end_inset
1597
1598 .
1599 \end_layout
1600
1601 \begin_layout Description
1602
1603 \family sans
1604 Borders
1605 \family default
1606  In this tab you can add and delete border lines for the current row/column.
1607 \newline
1608 Using
1609  the style option 
1610 \family sans
1611 Formal
1612 \family default
1613  will convert the table to a formal table as described in section\InsetSpace ~
1614
1615 \begin_inset LatexCommand ref
1616 reference "sec:Formal-Tables"
1617
1618 \end_inset
1619
1620 .
1621 \newline
1622 You can also add here space to table rows as decribed in section\InsetSpace ~
1623
1624 \begin_inset LatexCommand ref
1625 reference "sub:Row-Spacing"
1626
1627 \end_inset
1628
1629 .
1630 \end_layout
1631
1632 \begin_layout Description
1633
1634 \family sans
1635 Longtable
1636 \family default
1637  This tab is to make a table a so called 
1638 \begin_inset Quotes eld
1639 \end_inset
1640
1641
1642 \emph on
1643 longtable
1644 \emph default
1645
1646 \begin_inset Quotes erd
1647 \end_inset
1648
1649  that can run over several pages.
1650  Section\InsetSpace ~
1651
1652 \begin_inset LatexCommand ref
1653 reference "sec:Longtables"
1654
1655 \end_inset
1656
1657  and 
1658 \begin_inset LatexCommand ref
1659 reference "sec:Special-Longtable-Issues"
1660
1661 \end_inset
1662
1663  describe the longtable features in detail.
1664 \end_layout
1665
1666 \begin_layout Standard
1667 When the table toolbar is opened, you can move the cursor with the arrow
1668  keys from cell to cell and the property of the current cell will immediately
1669  be displayed in the dialog.
1670 \end_layout
1671
1672 \begin_layout Section
1673 Table Toolbar
1674 \begin_inset LatexCommand index
1675 name "Table ! Toolbar"
1676
1677 \end_inset
1678
1679
1680 \end_layout
1681
1682 \begin_layout Standard
1683 The table toolbar is an alternative to the table dialog to be able to alter
1684  tables faster.
1685  It should normally appear at the bottom of LyX's main window when the cursor
1686  is inside a table.
1687  You can alternatively switch it on to appear always, by right-clicking
1688  in LyX's main menu bar.
1689 \end_layout
1690
1691 \begin_layout Standard
1692 The toolbar has the following icons:
1693 \end_layout
1694
1695 \begin_layout Labeling
1696 \labelwidthstring 00.00.0000
1697 \begin_inset Graphics
1698         filename ../images/tabular-feature_append-row.xpm
1699         scaleBeforeRotation
1700
1701 \end_inset
1702
1703  adds a row below the current cell or selection
1704 \end_layout
1705
1706 \begin_layout Labeling
1707 \labelwidthstring 00.00.0000
1708 \begin_inset Graphics
1709         filename ../images/tabular-feature_append-column.xpm
1710         scaleBeforeRotation
1711
1712 \end_inset
1713
1714  adds a column right beside the current cell or selection
1715 \end_layout
1716
1717 \begin_layout Labeling
1718 \labelwidthstring 00.00.0000
1719 \begin_inset Graphics
1720         filename ../images/tabular-feature_delete-row.xpm
1721         scaleBeforeRotation
1722
1723 \end_inset
1724
1725  deletes the current row or selection
1726 \end_layout
1727
1728 \begin_layout Labeling
1729 \labelwidthstring 00.00.0000
1730 \begin_inset Graphics
1731         filename ../images/tabular-feature_delete-column.xpm
1732         scaleBeforeRotation
1733
1734 \end_inset
1735
1736  deletes the current column or selection
1737 \end_layout
1738
1739 \begin_layout Labeling
1740 \labelwidthstring 00.00.0000
1741 \begin_inset Graphics
1742         filename ../images/tabular-feature_toggle-line-top.xpm
1743         scaleBeforeRotation
1744
1745 \end_inset
1746
1747  adds a line at the top of the current cell / row or of a selection
1748 \end_layout
1749
1750 \begin_layout Labeling
1751 \labelwidthstring 00.00.0000
1752 \begin_inset Graphics
1753         filename ../images/tabular-feature_toggle-line-bottom.xpm
1754         scaleBeforeRotation
1755
1756 \end_inset
1757
1758  adds a line at the bottom of the current cell / row or of a selection
1759 \end_layout
1760
1761 \begin_layout Labeling
1762 \labelwidthstring 00.00.0000
1763 \begin_inset Graphics
1764         filename ../images/tabular-feature_toggle-line-left.xpm
1765         scaleBeforeRotation
1766
1767 \end_inset
1768
1769  adds a line at the left side of the current cell / row or of a selection
1770 \end_layout
1771
1772 \begin_layout Labeling
1773 \labelwidthstring 00.00.0000
1774 \begin_inset Graphics
1775         filename ../images/tabular-feature_toggle-line-right.xpm
1776         scaleBeforeRotation
1777
1778 \end_inset
1779
1780  adds a line at the right side of the current cell / row or of a selection
1781 \end_layout
1782
1783 \begin_layout Labeling
1784 \labelwidthstring 00.00.0000
1785 \begin_inset Graphics
1786         filename ../images/tabular-feature_set-all-lines.xpm
1787         scaleBeforeRotation
1788
1789 \end_inset
1790
1791  adds lines around the current or selected cells - if the current cell no
1792  multicolumn this also affects the current row and column
1793 \end_layout
1794
1795 \begin_layout Labeling
1796 \labelwidthstring 00.00.0000
1797 \begin_inset Graphics
1798         filename ../images/tabular-feature_unset-all-lines.xpm
1799         scaleBeforeRotation
1800
1801 \end_inset
1802
1803  deletes all lines of the current or selected cells - if the current cell
1804  no multicolumn this also affects the current row and column
1805 \end_layout
1806
1807 \begin_layout Labeling
1808 \labelwidthstring 00.00.0000
1809 \begin_inset Graphics
1810         filename ../images/tabular-feature_align-left.xpm
1811         scaleBeforeRotation
1812
1813 \end_inset
1814
1815  left-aligns the content of the current cell / column
1816 \end_layout
1817
1818 \begin_layout Labeling
1819 \labelwidthstring 00.00.0000
1820 \begin_inset Graphics
1821         filename ../images/tabular-feature_align-center.xpm
1822         scaleBeforeRotation
1823
1824 \end_inset
1825
1826  centers the content of the current cell / column horizontally
1827 \end_layout
1828
1829 \begin_layout Labeling
1830 \labelwidthstring 00.00.0000
1831 \begin_inset Graphics
1832         filename ../images/tabular-feature_align-right.xpm
1833         scaleBeforeRotation
1834
1835 \end_inset
1836
1837  right-aligns the content of the current cell / column
1838 \end_layout
1839
1840 \begin_layout Labeling
1841 \labelwidthstring 00.00.0000
1842 \begin_inset Graphics
1843         filename ../images/tabular-feature_valign-top.xpm
1844         scaleBeforeRotation
1845
1846 \end_inset
1847
1848  aligns the content of the current cell vertically to the top
1849 \end_layout
1850
1851 \begin_layout Labeling
1852 \labelwidthstring 00.00.0000
1853 \begin_inset Graphics
1854         filename ../images/tabular-feature_valign-middle.xpm
1855         scaleBeforeRotation
1856
1857 \end_inset
1858
1859  centers the content of the current cell vertically
1860 \end_layout
1861
1862 \begin_layout Labeling
1863 \labelwidthstring 00.00.0000
1864 \begin_inset Graphics
1865         filename ../images/tabular-feature_valign-bottom.xpm
1866         scaleBeforeRotation
1867
1868 \end_inset
1869
1870  aligns the content of the current cell vertically to the bottom
1871 \end_layout
1872
1873 \begin_layout Labeling
1874 \labelwidthstring 00.00.0000
1875 \begin_inset Graphics
1876         filename ../images/tabular-feature_set-rotate-cell.xpm
1877         scaleBeforeRotation
1878
1879 \end_inset
1880
1881  rotates the current cell or selection counter-clockwise by 90°
1882 \end_layout
1883
1884 \begin_layout Labeling
1885 \labelwidthstring 00.00.0000
1886 \begin_inset Graphics
1887         filename ../images/tabular-feature_set-rotate-tabular.xpm
1888         scaleBeforeRotation
1889
1890 \end_inset
1891
1892  rotates the whole table counter-clockwise by 90°
1893 \end_layout
1894
1895 \begin_layout Labeling
1896 \labelwidthstring 00.00.0000
1897 \begin_inset Graphics
1898         filename ../images/tabular-feature_multicolumn.xpm
1899         scaleBeforeRotation
1900
1901 \end_inset
1902
1903  sets the current cell or selection as a multicolumn
1904 \end_layout
1905
1906 \begin_layout Standard
1907 \begin_inset Note Greyedout
1908 status open
1909
1910 \begin_layout Standard
1911
1912 \series bold
1913 Note:
1914 \series default
1915  For the output the vertical alignment of the first cell in a row is used
1916  for all following cells in the row.
1917 \end_layout
1918
1919 \end_inset
1920
1921
1922 \end_layout
1923
1924 \begin_layout Section
1925 Edit Table Menu
1926 \begin_inset LatexCommand index
1927 name "Table ! Edit Menu"
1928
1929 \end_inset
1930
1931
1932 \end_layout
1933
1934 \begin_layout Standard
1935 Additionally to the table dialog and toolbar, the menu 
1936 \family sans
1937 Edit\SpecialChar \menuseparator
1938 Table
1939 \family default
1940  allows you to add and delete border lines for the current row/column and
1941  to set the current selection as multicolumn.
1942  The menu is only available when the cursor is inside a table.
1943 \end_layout
1944
1945 \begin_layout Section
1946 Table Floats
1947 \begin_inset LatexCommand label
1948 name "sec:Table-Floats"
1949
1950 \end_inset
1951
1952
1953 \begin_inset LatexCommand index
1954 name "Floats ! Tables"
1955
1956 \end_inset
1957
1958
1959 \begin_inset LatexCommand index
1960 name "Table ! Floats"
1961
1962 \end_inset
1963
1964
1965 \end_layout
1966
1967 \begin_layout Standard
1968 For general explanations about floats, have a look at section\InsetSpace ~
1969
1970 \begin_inset LatexCommand ref
1971 reference "sec:FloatIntroduction"
1972
1973 \end_inset
1974
1975 .
1976 \end_layout
1977
1978 \begin_layout Standard
1979 \begin_inset Float table
1980 placement h
1981 wide false
1982 sideways false
1983 status open
1984
1985 \begin_layout Standard
1986 \begin_inset Caption
1987
1988 \begin_layout Standard
1989 \begin_inset LatexCommand label
1990 name "tab:a table float"
1991
1992 \end_inset
1993
1994 A table float.
1995 \end_layout
1996
1997 \end_inset
1998
1999
2000 \end_layout
2001
2002 \begin_layout Standard
2003 \align center
2004 \begin_inset Tabular
2005 <lyxtabular version="3" rows="3" columns="3">
2006 <features>
2007 <column alignment="center" valignment="top" leftline="true" width="0pt">
2008 <column alignment="center" valignment="top" leftline="true" width="0pt">
2009 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2010 <row topline="true" bottomline="true">
2011 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2012 \begin_inset Text
2013
2014 \begin_layout Standard
2015
2016 \family roman
2017 \series medium
2018 \shape up
2019 \size normal
2020 \emph off
2021 \bar no
2022 \noun off
2023 \color none
2024 1
2025 \end_layout
2026
2027 \end_inset
2028 </cell>
2029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2030 \begin_inset Text
2031
2032 \begin_layout Standard
2033
2034 \family roman
2035 \series medium
2036 \shape up
2037 \size normal
2038 \emph off
2039 \bar no
2040 \noun off
2041 \color none
2042 2
2043 \end_layout
2044
2045 \end_inset
2046 </cell>
2047 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2048 \begin_inset Text
2049
2050 \begin_layout Standard
2051
2052 \family roman
2053 \series medium
2054 \shape up
2055 \size normal
2056 \emph off
2057 \bar no
2058 \noun off
2059 \color none
2060 3
2061 \end_layout
2062
2063 \end_inset
2064 </cell>
2065 </row>
2066 <row topline="true">
2067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2068 \begin_inset Text
2069
2070 \begin_layout Standard
2071
2072 \family roman
2073 \series medium
2074 \shape up
2075 \size normal
2076 \emph off
2077 \bar no
2078 \noun off
2079 \color none
2080 Joe
2081 \end_layout
2082
2083 \end_inset
2084 </cell>
2085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2086 \begin_inset Text
2087
2088 \begin_layout Standard
2089
2090 \family roman
2091 \series medium
2092 \shape up
2093 \size normal
2094 \emph off
2095 \bar no
2096 \noun off
2097 \color none
2098 Mary
2099 \end_layout
2100
2101 \end_inset
2102 </cell>
2103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2104 \begin_inset Text
2105
2106 \begin_layout Standard
2107
2108 \family roman
2109 \series medium
2110 \shape up
2111 \size normal
2112 \emph off
2113 \bar no
2114 \noun off
2115 \color none
2116 Ted
2117 \end_layout
2118
2119 \end_inset
2120 </cell>
2121 </row>
2122 <row topline="true" bottomline="true">
2123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2124 \begin_inset Text
2125
2126 \begin_layout Standard
2127
2128 \family roman
2129 \series medium
2130 \shape up
2131 \size normal
2132 \emph off
2133 \bar no
2134 \noun off
2135 \color none
2136 \begin_inset Formula $\int x^{2}dx$
2137 \end_inset
2138
2139
2140 \end_layout
2141
2142 \end_inset
2143 </cell>
2144 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2145 \begin_inset Text
2146
2147 \begin_layout Standard
2148
2149 \family roman
2150 \series medium
2151 \shape up
2152 \size normal
2153 \emph off
2154 \bar no
2155 \noun off
2156 \color none
2157 \begin_inset Formula $\left[\begin{array}{cc}
2158 a & b\\
2159 c & d\end{array}\right]$
2160 \end_inset
2161
2162
2163 \end_layout
2164
2165 \end_inset
2166 </cell>
2167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2168 \begin_inset Text
2169
2170 \begin_layout Standard
2171
2172 \family roman
2173 \series medium
2174 \shape up
2175 \size normal
2176 \emph off
2177 \bar no
2178 \noun off
2179 \color none
2180 \begin_inset Formula $1+1=2$
2181 \end_inset
2182
2183
2184 \end_layout
2185
2186 \end_inset
2187 </cell>
2188 </row>
2189 </lyxtabular>
2190
2191 \end_inset
2192
2193
2194 \end_layout
2195
2196 \end_inset
2197
2198
2199 \end_layout
2200
2201 \begin_layout Standard
2202 Table floats can be inserted using the menu 
2203 \family sans
2204 Insert\SpecialChar \menuseparator
2205 Float\SpecialChar \menuseparator
2206 Table
2207 \family default
2208  or the toolbar button 
2209 \begin_inset Graphics
2210         filename ../images/float-insert_table.xpm
2211         scale 85
2212         scaleBeforeRotation
2213
2214 \end_inset
2215
2216 .
2217 \end_layout
2218
2219 \begin_layout Standard
2220 The float appears as a collapsible box with a caption that has the label
2221  
2222 \begin_inset Quotes eld
2223 \end_inset
2224
2225 Table\InsetSpace ~
2226 #:
2227 \begin_inset Quotes erd
2228 \end_inset
2229
2230  (# is the actual table number).
2231  You can insert tables to the float above or below the caption.
2232 \end_layout
2233
2234 \begin_layout Standard
2235 Table\InsetSpace ~
2236
2237 \begin_inset LatexCommand ref
2238 reference "tab:a table float"
2239
2240 \end_inset
2241
2242  is an example table within a table float.
2243 \end_layout
2244
2245 \begin_layout Standard
2246 Having the caption above the table is the common rule that is unfortunately
2247  not supported in LaTeX's standard classes.
2248  That means if you are using the document classes 
2249 \family sans
2250 article
2251 \family default
2252
2253 \family sans
2254 book
2255 \family default
2256
2257 \family sans
2258 letter
2259 \family default
2260 , or 
2261 \family sans
2262 report
2263 \family default
2264  there will be no space between the caption and the table.
2265  To insert the needed space, add the following option to the load command
2266  of the LaTeX-package 
2267 \series bold
2268 caption
2269 \series default
2270
2271 \begin_inset LatexCommand index
2272 name "LaTeX-packages ! caption"
2273
2274 \end_inset
2275
2276  in your document preamble
2277 \begin_inset Foot
2278 status collapsed
2279
2280 \begin_layout Standard
2281 For more information have a look at section\InsetSpace ~
2282
2283 \begin_inset LatexCommand ref
2284 reference "sec:Caption-Placement"
2285
2286 \end_inset
2287
2288 .
2289 \end_layout
2290
2291 \end_inset
2292
2293 :
2294 \end_layout
2295
2296 \begin_layout Standard
2297
2298 \series bold
2299 tableposition=top
2300 \end_layout
2301
2302 \begin_layout Standard
2303 The package 
2304 \series bold
2305 caption
2306 \series default
2307 , which is described in section\InsetSpace ~
2308
2309 \begin_inset LatexCommand ref
2310 reference "sec:Caption-Formatting"
2311
2312 \end_inset
2313
2314 , is used to adjust the caption format.
2315 \end_layout
2316
2317 \begin_layout Standard
2318 \begin_inset LatexCommand index
2319 name "References ! to Tables"
2320
2321 \end_inset
2322
2323 Tables can be cross-referenced in the text by referencing their label.
2324  To do this insert a label in the caption using the menu 
2325 \family sans
2326 Insert\SpecialChar \menuseparator
2327 Label
2328 \family default
2329  or the toolbar button 
2330 \begin_inset Graphics
2331         filename ../images/label-insert.xpm
2332         scale 85
2333         scaleBeforeRotation
2334
2335 \end_inset
2336
2337 .
2338  You can now refer to the label using the menu 
2339 \family sans
2340 Insert\SpecialChar \menuseparator
2341 Cross\InsetSpace ~
2342 reference
2343 \family default
2344  or the toolbar button 
2345 \begin_inset Graphics
2346         filename ../images/dialog-show-new-inset_ref.xpm
2347         scale 85
2348         scaleBeforeRotation
2349
2350 \end_inset
2351
2352 .
2353 \newline
2354 Referencing is explained in detail in section\InsetSpace ~
2355
2356 \begin_inset LatexCommand ref
2357 reference "sec:Referencing-Floats"
2358
2359 \end_inset
2360
2361 .
2362 \end_layout
2363
2364 \begin_layout Section
2365 Longtables
2366 \begin_inset LatexCommand label
2367 name "sec:Longtables"
2368
2369 \end_inset
2370
2371
2372 \begin_inset LatexCommand index
2373 name "Longtables"
2374
2375 \end_inset
2376
2377
2378 \begin_inset LatexCommand index
2379 name "Table ! Longtables"
2380
2381 \end_inset
2382
2383
2384 \end_layout
2385
2386 \begin_layout Standard
2387 If the table is too long to fit on one page, you can use the option 
2388 \family sans
2389 Use\InsetSpace ~
2390 long\InsetSpace ~
2391 table
2392 \family default
2393  in the tab 
2394 \family sans
2395 Longtable
2396 \family default
2397  of the table dialog to split the table automatically over more pages.
2398  Doing this enables some check boxes and you can now define:
2399 \end_layout
2400
2401 \begin_layout Description
2402
2403 \family sans
2404 Header
2405 \family default
2406 : The current row and all rows above, that don't have any special options
2407  defined, are defined to be the header rows of all pages of the longtable;
2408  except for the first page, if 
2409 \family sans
2410 First\InsetSpace ~
2411 header
2412 \family default
2413  is defined.
2414  This therefore called the main header.
2415 \end_layout
2416
2417 \begin_layout Description
2418
2419 \family sans
2420 First\InsetSpace ~
2421 header
2422 \family default
2423 : The current row and all rows above, that don't have any special options
2424  defined, are defined to be the header rows of the first page of the longtable.
2425 \end_layout
2426
2427 \begin_layout Description
2428
2429 \family sans
2430 Footer
2431 \family default
2432 : The current row and all rows below, that don't have any special options
2433  defined, are defined to be the footer rows of all pages of the longtable;
2434  except for the last page, if 
2435 \family sans
2436 Last\InsetSpace ~
2437 footer
2438 \family default
2439  is defined.
2440 \end_layout
2441
2442 \begin_layout Description
2443
2444 \family sans
2445 Last\InsetSpace ~
2446 footer
2447 \family default
2448 : The current row and all rows below, that don't have any special options
2449  defined, are defined to be the footer rows of the last page of the longtable.
2450 \end_layout
2451
2452 \begin_layout Standard
2453 You can also specify a row where the table is splitted.
2454  If you set more than one option in the same table row, you should be aware
2455  of the fact that only the first one is used in the given table row.
2456  The others will then be defined as 
2457 \emph on
2458 empty
2459 \emph default
2460 .
2461  In this context, first means first in this order: 
2462 \family sans
2463 Header,
2464 \family default
2465  
2466 \family sans
2467 First\InsetSpace ~
2468 header, Footer, Last\InsetSpace ~
2469 footer.
2470
2471 \family default
2472  See the following longtable to see how it works:
2473 \end_layout
2474
2475 \begin_layout Standard
2476 \align center
2477 \begin_inset Tabular
2478 <lyxtabular version="3" rows="69" columns="3">
2479 <features islongtable="true">
2480 <column alignment="left" valignment="top" leftline="true" width="0cm">
2481 <column alignment="left" valignment="top" width="0pt">
2482 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2483 <row topline="true" bottomline="true" endfirsthead="true">
2484 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2485 \begin_inset Text
2486
2487 \begin_layout Standard
2488
2489 \series bold
2490 Example Phone List (ignore the names)
2491 \end_layout
2492
2493 \end_inset
2494 </cell>
2495 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2496 \begin_inset Text
2497
2498 \begin_layout Standard
2499
2500 \end_layout
2501
2502 \end_inset
2503 </cell>
2504 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2505 \begin_inset Text
2506
2507 \begin_layout Standard
2508
2509 \end_layout
2510
2511 \end_inset
2512 </cell>
2513 </row>
2514 <row topline="true" bottomline="true" endfirsthead="true">
2515 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2516 \begin_inset Text
2517
2518 \begin_layout Standard
2519
2520 \series bold
2521 NAME
2522 \end_layout
2523
2524 \end_inset
2525 </cell>
2526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2527 \begin_inset Text
2528
2529 \begin_layout Standard
2530
2531 \end_layout
2532
2533 \end_inset
2534 </cell>
2535 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2536 \begin_inset Text
2537
2538 \begin_layout Standard
2539
2540 \series bold
2541 TEL.
2542 \end_layout
2543
2544 \end_inset
2545 </cell>
2546 </row>
2547 <row topline="true" bottomline="true" endhead="true">
2548 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2549 \begin_inset Text
2550
2551 \begin_layout Standard
2552
2553 \series bold
2554 Example Phone List
2555 \end_layout
2556
2557 \end_inset
2558 </cell>
2559 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2560 \begin_inset Text
2561
2562 \begin_layout Standard
2563
2564 \end_layout
2565
2566 \end_inset
2567 </cell>
2568 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2569 \begin_inset Text
2570
2571 \begin_layout Standard
2572
2573 \end_layout
2574
2575 \end_inset
2576 </cell>
2577 </row>
2578 <row topline="true" bottomline="true" endhead="true">
2579 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2580 \begin_inset Text
2581
2582 \begin_layout Standard
2583
2584 \series bold
2585 NAME
2586 \end_layout
2587
2588 \end_inset
2589 </cell>
2590 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2591 \begin_inset Text
2592
2593 \begin_layout Standard
2594
2595 \end_layout
2596
2597 \end_inset
2598 </cell>
2599 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Standard
2603
2604 \series bold
2605 TEL.
2606 \end_layout
2607
2608 \end_inset
2609 </cell>
2610 </row>
2611 <row topline="true" bottomline="true" endfoot="true">
2612 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2613 \begin_inset Text
2614
2615 \begin_layout Standard
2616  continued on next page
2617 \end_layout
2618
2619 \end_inset
2620 </cell>
2621 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2622 \begin_inset Text
2623
2624 \begin_layout Standard
2625
2626 \end_layout
2627
2628 \end_inset
2629 </cell>
2630 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2631 \begin_inset Text
2632
2633 \begin_layout Standard
2634
2635 \end_layout
2636
2637 \end_inset
2638 </cell>
2639 </row>
2640 <row>
2641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2642 \begin_inset Text
2643
2644 \begin_layout Standard
2645
2646 \series bold
2647 Annovi
2648 \end_layout
2649
2650 \end_inset
2651 </cell>
2652 <cell alignment="center" valignment="top" topline="true" usebox="none">
2653 \begin_inset Text
2654
2655 \begin_layout Standard
2656 Silvia
2657 \end_layout
2658
2659 \end_inset
2660 </cell>
2661 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2662 \begin_inset Text
2663
2664 \begin_layout Standard
2665 111
2666 \end_layout
2667
2668 \end_inset
2669 </cell>
2670 </row>
2671 <row>
2672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2673 \begin_inset Text
2674
2675 \begin_layout Standard
2676
2677 \series bold
2678 Bertoli
2679 \end_layout
2680
2681 \end_inset
2682 </cell>
2683 <cell alignment="center" valignment="top" topline="true" usebox="none">
2684 \begin_inset Text
2685
2686 \begin_layout Standard
2687 Stefano
2688 \end_layout
2689
2690 \end_inset
2691 </cell>
2692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2693 \begin_inset Text
2694
2695 \begin_layout Standard
2696 111
2697 \end_layout
2698
2699 \end_inset
2700 </cell>
2701 </row>
2702 <row>
2703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2704 \begin_inset Text
2705
2706 \begin_layout Standard
2707
2708 \series bold
2709 Bozzi
2710 \end_layout
2711
2712 \end_inset
2713 </cell>
2714 <cell alignment="center" valignment="top" topline="true" usebox="none">
2715 \begin_inset Text
2716
2717 \begin_layout Standard
2718 Walter
2719 \end_layout
2720
2721 \end_inset
2722 </cell>
2723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2724 \begin_inset Text
2725
2726 \begin_layout Standard
2727 111
2728 \end_layout
2729
2730 \end_inset
2731 </cell>
2732 </row>
2733 <row>
2734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2735 \begin_inset Text
2736
2737 \begin_layout Standard
2738
2739 \series bold
2740 Cachia
2741 \end_layout
2742
2743 \end_inset
2744 </cell>
2745 <cell alignment="center" valignment="top" topline="true" usebox="none">
2746 \begin_inset Text
2747
2748 \begin_layout Standard
2749 Maria
2750 \end_layout
2751
2752 \end_inset
2753 </cell>
2754 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2755 \begin_inset Text
2756
2757 \begin_layout Standard
2758 111
2759 \end_layout
2760
2761 \end_inset
2762 </cell>
2763 </row>
2764 <row>
2765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2766 \begin_inset Text
2767
2768 \begin_layout Standard
2769
2770 \series bold
2771 Cachia
2772 \end_layout
2773
2774 \end_inset
2775 </cell>
2776 <cell alignment="center" valignment="top" topline="true" usebox="none">
2777 \begin_inset Text
2778
2779 \begin_layout Standard
2780 Maurizio
2781 \end_layout
2782
2783 \end_inset
2784 </cell>
2785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2786 \begin_inset Text
2787
2788 \begin_layout Standard
2789 111
2790 \end_layout
2791
2792 \end_inset
2793 </cell>
2794 </row>
2795 <row>
2796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2797 \begin_inset Text
2798
2799 \begin_layout Standard
2800
2801 \series bold
2802 Cinquemani
2803 \end_layout
2804
2805 \end_inset
2806 </cell>
2807 <cell alignment="center" valignment="top" topline="true" usebox="none">
2808 \begin_inset Text
2809
2810 \begin_layout Standard
2811 Giusi
2812 \end_layout
2813
2814 \end_inset
2815 </cell>
2816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2817 \begin_inset Text
2818
2819 \begin_layout Standard
2820 111
2821 \end_layout
2822
2823 \end_inset
2824 </cell>
2825 </row>
2826 <row>
2827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2828 \begin_inset Text
2829
2830 \begin_layout Standard
2831
2832 \series bold
2833 Colin
2834 \end_layout
2835
2836 \end_inset
2837 </cell>
2838 <cell alignment="center" valignment="top" topline="true" usebox="none">
2839 \begin_inset Text
2840
2841 \begin_layout Standard
2842 Bernard
2843 \end_layout
2844
2845 \end_inset
2846 </cell>
2847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2848 \begin_inset Text
2849
2850 \begin_layout Standard
2851 111
2852 \end_layout
2853
2854 \end_inset
2855 </cell>
2856 </row>
2857 <row>
2858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2859 \begin_inset Text
2860
2861 \begin_layout Standard
2862
2863 \series bold
2864 Concli
2865 \end_layout
2866
2867 \end_inset
2868 </cell>
2869 <cell alignment="center" valignment="top" topline="true" usebox="none">
2870 \begin_inset Text
2871
2872 \begin_layout Standard
2873 Gianfranco
2874 \end_layout
2875
2876 \end_inset
2877 </cell>
2878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2879 \begin_inset Text
2880
2881 \begin_layout Standard
2882 111
2883 \end_layout
2884
2885 \end_inset
2886 </cell>
2887 </row>
2888 <row>
2889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2890 \begin_inset Text
2891
2892 \begin_layout Standard
2893
2894 \series bold
2895 Dal Bosco
2896 \end_layout
2897
2898 \end_inset
2899 </cell>
2900 <cell alignment="center" valignment="top" topline="true" usebox="none">
2901 \begin_inset Text
2902
2903 \begin_layout Standard
2904 Carolina
2905 \end_layout
2906
2907 \end_inset
2908 </cell>
2909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2910 \begin_inset Text
2911
2912 \begin_layout Standard
2913 111
2914 \end_layout
2915
2916 \end_inset
2917 </cell>
2918 </row>
2919 <row>
2920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2921 \begin_inset Text
2922
2923 \begin_layout Standard
2924
2925 \series bold
2926 Dalpiaz
2927 \end_layout
2928
2929 \end_inset
2930 </cell>
2931 <cell alignment="center" valignment="top" topline="true" usebox="none">
2932 \begin_inset Text
2933
2934 \begin_layout Standard
2935 Annamaria
2936 \end_layout
2937
2938 \end_inset
2939 </cell>
2940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2941 \begin_inset Text
2942
2943 \begin_layout Standard
2944 111
2945 \end_layout
2946
2947 \end_inset
2948 </cell>
2949 </row>
2950 <row>
2951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2952 \begin_inset Text
2953
2954 \begin_layout Standard
2955
2956 \series bold
2957 Feliciello
2958 \end_layout
2959
2960 \end_inset
2961 </cell>
2962 <cell alignment="center" valignment="top" topline="true" usebox="none">
2963 \begin_inset Text
2964
2965 \begin_layout Standard
2966 Domenico
2967 \end_layout
2968
2969 \end_inset
2970 </cell>
2971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Standard
2975 111
2976 \end_layout
2977
2978 \end_inset
2979 </cell>
2980 </row>
2981 <row>
2982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2983 \begin_inset Text
2984
2985 \begin_layout Standard
2986
2987 \series bold
2988 Focarelli
2989 \end_layout
2990
2991 \end_inset
2992 </cell>
2993 <cell alignment="center" valignment="top" topline="true" usebox="none">
2994 \begin_inset Text
2995
2996 \begin_layout Standard
2997 Paola
2998 \end_layout
2999
3000 \end_inset
3001 </cell>
3002 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3003 \begin_inset Text
3004
3005 \begin_layout Standard
3006 111
3007 \end_layout
3008
3009 \end_inset
3010 </cell>
3011 </row>
3012 <row>
3013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3014 \begin_inset Text
3015
3016 \begin_layout Standard
3017
3018 \series bold
3019 Galletti
3020 \end_layout
3021
3022 \end_inset
3023 </cell>
3024 <cell alignment="center" valignment="top" topline="true" usebox="none">
3025 \begin_inset Text
3026
3027 \begin_layout Standard
3028 Oreste
3029 \end_layout
3030
3031 \end_inset
3032 </cell>
3033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3034 \begin_inset Text
3035
3036 \begin_layout Standard
3037 111
3038 \end_layout
3039
3040 \end_inset
3041 </cell>
3042 </row>
3043 <row>
3044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3045 \begin_inset Text
3046
3047 \begin_layout Standard
3048
3049 \series bold
3050 Gasparini
3051 \end_layout
3052
3053 \end_inset
3054 </cell>
3055 <cell alignment="center" valignment="top" topline="true" usebox="none">
3056 \begin_inset Text
3057
3058 \begin_layout Standard
3059 Franca
3060 \end_layout
3061
3062 \end_inset
3063 </cell>
3064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3065 \begin_inset Text
3066
3067 \begin_layout Standard
3068 111
3069 \end_layout
3070
3071 \end_inset
3072 </cell>
3073 </row>
3074 <row>
3075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3076 \begin_inset Text
3077
3078 \begin_layout Standard
3079
3080 \series bold
3081 Rizzardi
3082 \end_layout
3083
3084 \end_inset
3085 </cell>
3086 <cell alignment="center" valignment="top" topline="true" usebox="none">
3087 \begin_inset Text
3088
3089 \begin_layout Standard
3090 Paola
3091 \end_layout
3092
3093 \end_inset
3094 </cell>
3095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3096 \begin_inset Text
3097
3098 \begin_layout Standard
3099 111
3100 \end_layout
3101
3102 \end_inset
3103 </cell>
3104 </row>
3105 <row>
3106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3107 \begin_inset Text
3108
3109 \begin_layout Standard
3110
3111 \series bold
3112 Lassini
3113 \end_layout
3114
3115 \end_inset
3116 </cell>
3117 <cell alignment="center" valignment="top" topline="true" usebox="none">
3118 \begin_inset Text
3119
3120 \begin_layout Standard
3121 Giancarlo
3122 \end_layout
3123
3124 \end_inset
3125 </cell>
3126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3127 \begin_inset Text
3128
3129 \begin_layout Standard
3130 111
3131 \end_layout
3132
3133 \end_inset
3134 </cell>
3135 </row>
3136 <row>
3137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3138 \begin_inset Text
3139
3140 \begin_layout Standard
3141
3142 \series bold
3143 Malfatti
3144 \end_layout
3145
3146 \end_inset
3147 </cell>
3148 <cell alignment="center" valignment="top" topline="true" usebox="none">
3149 \begin_inset Text
3150
3151 \begin_layout Standard
3152 Luciano
3153 \end_layout
3154
3155 \end_inset
3156 </cell>
3157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3158 \begin_inset Text
3159
3160 \begin_layout Standard
3161 111
3162 \end_layout
3163
3164 \end_inset
3165 </cell>
3166 </row>
3167 <row>
3168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3169 \begin_inset Text
3170
3171 \begin_layout Standard
3172
3173 \series bold
3174 Malfatti
3175 \end_layout
3176
3177 \end_inset
3178 </cell>
3179 <cell alignment="center" valignment="top" topline="true" usebox="none">
3180 \begin_inset Text
3181
3182 \begin_layout Standard
3183 Valeriano
3184 \end_layout
3185
3186 \end_inset
3187 </cell>
3188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3189 \begin_inset Text
3190
3191 \begin_layout Standard
3192 111
3193 \end_layout
3194
3195 \end_inset
3196 </cell>
3197 </row>
3198 <row>
3199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3200 \begin_inset Text
3201
3202 \begin_layout Standard
3203
3204 \series bold
3205 Meneguzzo
3206 \end_layout
3207
3208 \end_inset
3209 </cell>
3210 <cell alignment="center" valignment="top" topline="true" usebox="none">
3211 \begin_inset Text
3212
3213 \begin_layout Standard
3214 Roberto
3215 \end_layout
3216
3217 \end_inset
3218 </cell>
3219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3220 \begin_inset Text
3221
3222 \begin_layout Standard
3223 111
3224 \end_layout
3225
3226 \end_inset
3227 </cell>
3228 </row>
3229 <row>
3230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3231 \begin_inset Text
3232
3233 \begin_layout Standard
3234
3235 \series bold
3236 Mezzadra
3237 \end_layout
3238
3239 \end_inset
3240 </cell>
3241 <cell alignment="center" valignment="top" topline="true" usebox="none">
3242 \begin_inset Text
3243
3244 \begin_layout Standard
3245 Roberto
3246 \end_layout
3247
3248 \end_inset
3249 </cell>
3250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3251 \begin_inset Text
3252
3253 \begin_layout Standard
3254 111
3255 \end_layout
3256
3257 \end_inset
3258 </cell>
3259 </row>
3260 <row>
3261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3262 \begin_inset Text
3263
3264 \begin_layout Standard
3265
3266 \series bold
3267 Pirpamer
3268 \end_layout
3269
3270 \end_inset
3271 </cell>
3272 <cell alignment="center" valignment="top" topline="true" usebox="none">
3273 \begin_inset Text
3274
3275 \begin_layout Standard
3276 Erich
3277 \end_layout
3278
3279 \end_inset
3280 </cell>
3281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3282 \begin_inset Text
3283
3284 \begin_layout Standard
3285 111
3286 \end_layout
3287
3288 \end_inset
3289 </cell>
3290 </row>
3291 <row>
3292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3293 \begin_inset Text
3294
3295 \begin_layout Standard
3296
3297 \series bold
3298 Pochiesa
3299 \end_layout
3300
3301 \end_inset
3302 </cell>
3303 <cell alignment="center" valignment="top" topline="true" usebox="none">
3304 \begin_inset Text
3305
3306 \begin_layout Standard
3307 Paolo
3308 \end_layout
3309
3310 \end_inset
3311 </cell>
3312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3313 \begin_inset Text
3314
3315 \begin_layout Standard
3316 111, 222
3317 \end_layout
3318
3319 \end_inset
3320 </cell>
3321 </row>
3322 <row>
3323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3324 \begin_inset Text
3325
3326 \begin_layout Standard
3327
3328 \series bold
3329 Radina
3330 \end_layout
3331
3332 \end_inset
3333 </cell>
3334 <cell alignment="center" valignment="top" topline="true" usebox="none">
3335 \begin_inset Text
3336
3337 \begin_layout Standard
3338 Claudio
3339 \end_layout
3340
3341 \end_inset
3342 </cell>
3343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3344 \begin_inset Text
3345
3346 \begin_layout Standard
3347 111
3348 \end_layout
3349
3350 \end_inset
3351 </cell>
3352 </row>
3353 <row>
3354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3355 \begin_inset Text
3356
3357 \begin_layout Standard
3358
3359 \series bold
3360 Stuffer
3361 \end_layout
3362
3363 \end_inset
3364 </cell>
3365 <cell alignment="center" valignment="top" topline="true" usebox="none">
3366 \begin_inset Text
3367
3368 \begin_layout Standard
3369 Oskar
3370 \end_layout
3371
3372 \end_inset
3373 </cell>
3374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3375 \begin_inset Text
3376
3377 \begin_layout Standard
3378 111
3379 \end_layout
3380
3381 \end_inset
3382 </cell>
3383 </row>
3384 <row>
3385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3386 \begin_inset Text
3387
3388 \begin_layout Standard
3389
3390 \series bold
3391 Tacchelli
3392 \end_layout
3393
3394 \end_inset
3395 </cell>
3396 <cell alignment="center" valignment="top" topline="true" usebox="none">
3397 \begin_inset Text
3398
3399 \begin_layout Standard
3400 Ugo
3401 \end_layout
3402
3403 \end_inset
3404 </cell>
3405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3406 \begin_inset Text
3407
3408 \begin_layout Standard
3409 111
3410 \end_layout
3411
3412 \end_inset
3413 </cell>
3414 </row>
3415 <row>
3416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3417 \begin_inset Text
3418
3419 \begin_layout Standard
3420
3421 \series bold
3422 Tezzele
3423 \end_layout
3424
3425 \end_inset
3426 </cell>
3427 <cell alignment="center" valignment="top" topline="true" usebox="none">
3428 \begin_inset Text
3429
3430 \begin_layout Standard
3431 Margit
3432 \end_layout
3433
3434 \end_inset
3435 </cell>
3436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3437 \begin_inset Text
3438
3439 \begin_layout Standard
3440 111
3441 \end_layout
3442
3443 \end_inset
3444 </cell>
3445 </row>
3446 <row>
3447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3448 \begin_inset Text
3449
3450 \begin_layout Standard
3451
3452 \series bold
3453 Unterkalmsteiner
3454 \end_layout
3455
3456 \end_inset
3457 </cell>
3458 <cell alignment="center" valignment="top" topline="true" usebox="none">
3459 \begin_inset Text
3460
3461 \begin_layout Standard
3462 Frieda
3463 \end_layout
3464
3465 \end_inset
3466 </cell>
3467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3468 \begin_inset Text
3469
3470 \begin_layout Standard
3471 111
3472 \end_layout
3473
3474 \end_inset
3475 </cell>
3476 </row>
3477 <row>
3478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3479 \begin_inset Text
3480
3481 \begin_layout Standard
3482
3483 \series bold
3484 Vieider
3485 \end_layout
3486
3487 \end_inset
3488 </cell>
3489 <cell alignment="center" valignment="top" topline="true" usebox="none">
3490 \begin_inset Text
3491
3492 \begin_layout Standard
3493 Hilde
3494 \end_layout
3495
3496 \end_inset
3497 </cell>
3498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3499 \begin_inset Text
3500
3501 \begin_layout Standard
3502 111
3503 \end_layout
3504
3505 \end_inset
3506 </cell>
3507 </row>
3508 <row>
3509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Standard
3513
3514 \series bold
3515 Vigna
3516 \end_layout
3517
3518 \end_inset
3519 </cell>
3520 <cell alignment="center" valignment="top" topline="true" usebox="none">
3521 \begin_inset Text
3522
3523 \begin_layout Standard
3524 Jürgen
3525 \end_layout
3526
3527 \end_inset
3528 </cell>
3529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3530 \begin_inset Text
3531
3532 \begin_layout Standard
3533 111
3534 \end_layout
3535
3536 \end_inset
3537 </cell>
3538 </row>
3539 <row>
3540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3541 \begin_inset Text
3542
3543 \begin_layout Standard
3544
3545 \series bold
3546 Weber
3547 \end_layout
3548
3549 \end_inset
3550 </cell>
3551 <cell alignment="center" valignment="top" topline="true" usebox="none">
3552 \begin_inset Text
3553
3554 \begin_layout Standard
3555 Maurizio
3556 \end_layout
3557
3558 \end_inset
3559 </cell>
3560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3561 \begin_inset Text
3562
3563 \begin_layout Standard
3564 111
3565 \end_layout
3566
3567 \end_inset
3568 </cell>
3569 </row>
3570 <row bottomline="true">
3571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3572 \begin_inset Text
3573
3574 \begin_layout Standard
3575
3576 \series bold
3577 Winkler
3578 \end_layout
3579
3580 \end_inset
3581 </cell>
3582 <cell alignment="center" valignment="top" topline="true" usebox="none">
3583 \begin_inset Text
3584
3585 \begin_layout Standard
3586 Franz
3587 \end_layout
3588
3589 \end_inset
3590 </cell>
3591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3592 \begin_inset Text
3593
3594 \begin_layout Standard
3595 111
3596 \end_layout
3597
3598 \end_inset
3599 </cell>
3600 </row>
3601 <row bottomline="true">
3602 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3603 \begin_inset Text
3604
3605 \begin_layout Standard
3606  
3607 \end_layout
3608
3609 \end_inset
3610 </cell>
3611 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3612 \begin_inset Text
3613
3614 \begin_layout Standard
3615
3616 \end_layout
3617
3618 \end_inset
3619 </cell>
3620 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3621 \begin_inset Text
3622
3623 \begin_layout Standard
3624
3625 \end_layout
3626
3627 \end_inset
3628 </cell>
3629 </row>
3630 <row>
3631 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3632 \begin_inset Text
3633
3634 \begin_layout Standard
3635
3636 \series bold
3637 Annovi
3638 \end_layout
3639
3640 \end_inset
3641 </cell>
3642 <cell alignment="center" valignment="top" topline="true" usebox="none">
3643 \begin_inset Text
3644
3645 \begin_layout Standard
3646 Silvia
3647 \end_layout
3648
3649 \end_inset
3650 </cell>
3651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3652 \begin_inset Text
3653
3654 \begin_layout Standard
3655 555
3656 \end_layout
3657
3658 \end_inset
3659 </cell>
3660 </row>
3661 <row>
3662 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3663 \begin_inset Text
3664
3665 \begin_layout Standard
3666
3667 \series bold
3668 Bertoli
3669 \end_layout
3670
3671 \end_inset
3672 </cell>
3673 <cell alignment="center" valignment="top" topline="true" usebox="none">
3674 \begin_inset Text
3675
3676 \begin_layout Standard
3677 Stefano
3678 \end_layout
3679
3680 \end_inset
3681 </cell>
3682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3683 \begin_inset Text
3684
3685 \begin_layout Standard
3686 555
3687 \end_layout
3688
3689 \end_inset
3690 </cell>
3691 </row>
3692 <row>
3693 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3694 \begin_inset Text
3695
3696 \begin_layout Standard
3697
3698 \series bold
3699 Bozzi
3700 \end_layout
3701
3702 \end_inset
3703 </cell>
3704 <cell alignment="center" valignment="top" topline="true" usebox="none">
3705 \begin_inset Text
3706
3707 \begin_layout Standard
3708 Walter
3709 \end_layout
3710
3711 \end_inset
3712 </cell>
3713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Standard
3717 555
3718 \end_layout
3719
3720 \end_inset
3721 </cell>
3722 </row>
3723 <row>
3724 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3725 \begin_inset Text
3726
3727 \begin_layout Standard
3728
3729 \series bold
3730 Cachia
3731 \end_layout
3732
3733 \end_inset
3734 </cell>
3735 <cell alignment="center" valignment="top" topline="true" usebox="none">
3736 \begin_inset Text
3737
3738 \begin_layout Standard
3739 Maria
3740 \end_layout
3741
3742 \end_inset
3743 </cell>
3744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3745 \begin_inset Text
3746
3747 \begin_layout Standard
3748 555
3749 \end_layout
3750
3751 \end_inset
3752 </cell>
3753 </row>
3754 <row>
3755 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3756 \begin_inset Text
3757
3758 \begin_layout Standard
3759
3760 \series bold
3761 Cachia
3762 \end_layout
3763
3764 \end_inset
3765 </cell>
3766 <cell alignment="center" valignment="top" topline="true" usebox="none">
3767 \begin_inset Text
3768
3769 \begin_layout Standard
3770 Maurizio
3771 \end_layout
3772
3773 \end_inset
3774 </cell>
3775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3776 \begin_inset Text
3777
3778 \begin_layout Standard
3779 555
3780 \end_layout
3781
3782 \end_inset
3783 </cell>
3784 </row>
3785 <row>
3786 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3787 \begin_inset Text
3788
3789 \begin_layout Standard
3790
3791 \series bold
3792 Cinquemani
3793 \end_layout
3794
3795 \end_inset
3796 </cell>
3797 <cell alignment="center" valignment="top" topline="true" usebox="none">
3798 \begin_inset Text
3799
3800 \begin_layout Standard
3801 Giusi
3802 \end_layout
3803
3804 \end_inset
3805 </cell>
3806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3807 \begin_inset Text
3808
3809 \begin_layout Standard
3810 555
3811 \end_layout
3812
3813 \end_inset
3814 </cell>
3815 </row>
3816 <row>
3817 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3818 \begin_inset Text
3819
3820 \begin_layout Standard
3821
3822 \series bold
3823 Colin
3824 \end_layout
3825
3826 \end_inset
3827 </cell>
3828 <cell alignment="center" valignment="top" topline="true" usebox="none">
3829 \begin_inset Text
3830
3831 \begin_layout Standard
3832 Bernard
3833 \end_layout
3834
3835 \end_inset
3836 </cell>
3837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3838 \begin_inset Text
3839
3840 \begin_layout Standard
3841 555
3842 \end_layout
3843
3844 \end_inset
3845 </cell>
3846 </row>
3847 <row>
3848 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3849 \begin_inset Text
3850
3851 \begin_layout Standard
3852
3853 \series bold
3854 Concli
3855 \end_layout
3856
3857 \end_inset
3858 </cell>
3859 <cell alignment="center" valignment="top" topline="true" usebox="none">
3860 \begin_inset Text
3861
3862 \begin_layout Standard
3863 Gianfranco
3864 \end_layout
3865
3866 \end_inset
3867 </cell>
3868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3869 \begin_inset Text
3870
3871 \begin_layout Standard
3872 555
3873 \end_layout
3874
3875 \end_inset
3876 </cell>
3877 </row>
3878 <row>
3879 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3880 \begin_inset Text
3881
3882 \begin_layout Standard
3883
3884 \series bold
3885 Dal Bosco
3886 \end_layout
3887
3888 \end_inset
3889 </cell>
3890 <cell alignment="center" valignment="top" topline="true" usebox="none">
3891 \begin_inset Text
3892
3893 \begin_layout Standard
3894 Carolina
3895 \end_layout
3896
3897 \end_inset
3898 </cell>
3899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3900 \begin_inset Text
3901
3902 \begin_layout Standard
3903 555
3904 \end_layout
3905
3906 \end_inset
3907 </cell>
3908 </row>
3909 <row>
3910 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3911 \begin_inset Text
3912
3913 \begin_layout Standard
3914
3915 \series bold
3916 Dalpiaz
3917 \end_layout
3918
3919 \end_inset
3920 </cell>
3921 <cell alignment="center" valignment="top" topline="true" usebox="none">
3922 \begin_inset Text
3923
3924 \begin_layout Standard
3925 Annamaria
3926 \end_layout
3927
3928 \end_inset
3929 </cell>
3930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3931 \begin_inset Text
3932
3933 \begin_layout Standard
3934 555
3935 \end_layout
3936
3937 \end_inset
3938 </cell>
3939 </row>
3940 <row>
3941 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3942 \begin_inset Text
3943
3944 \begin_layout Standard
3945
3946 \series bold
3947 Feliciello
3948 \end_layout
3949
3950 \end_inset
3951 </cell>
3952 <cell alignment="center" valignment="top" topline="true" usebox="none">
3953 \begin_inset Text
3954
3955 \begin_layout Standard
3956 Domenico
3957 \end_layout
3958
3959 \end_inset
3960 </cell>
3961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3962 \begin_inset Text
3963
3964 \begin_layout Standard
3965 555
3966 \end_layout
3967
3968 \end_inset
3969 </cell>
3970 </row>
3971 <row>
3972 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3973 \begin_inset Text
3974
3975 \begin_layout Standard
3976
3977 \series bold
3978 Focarelli
3979 \end_layout
3980
3981 \end_inset
3982 </cell>
3983 <cell alignment="center" valignment="top" topline="true" usebox="none">
3984 \begin_inset Text
3985
3986 \begin_layout Standard
3987 Paola
3988 \end_layout
3989
3990 \end_inset
3991 </cell>
3992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3993 \begin_inset Text
3994
3995 \begin_layout Standard
3996 555
3997 \end_layout
3998
3999 \end_inset
4000 </cell>
4001 </row>
4002 <row>
4003 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4004 \begin_inset Text
4005
4006 \begin_layout Standard
4007
4008 \series bold
4009 Galletti
4010 \end_layout
4011
4012 \end_inset
4013 </cell>
4014 <cell alignment="center" valignment="top" topline="true" usebox="none">
4015 \begin_inset Text
4016
4017 \begin_layout Standard
4018 Oreste
4019 \end_layout
4020
4021 \end_inset
4022 </cell>
4023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4024 \begin_inset Text
4025
4026 \begin_layout Standard
4027 555
4028 \end_layout
4029
4030 \end_inset
4031 </cell>
4032 </row>
4033 <row>
4034 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4035 \begin_inset Text
4036
4037 \begin_layout Standard
4038
4039 \series bold
4040 Gasparini
4041 \end_layout
4042
4043 \end_inset
4044 </cell>
4045 <cell alignment="center" valignment="top" topline="true" usebox="none">
4046 \begin_inset Text
4047
4048 \begin_layout Standard
4049 Franca
4050 \end_layout
4051
4052 \end_inset
4053 </cell>
4054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4055 \begin_inset Text
4056
4057 \begin_layout Standard
4058 555
4059 \end_layout
4060
4061 \end_inset
4062 </cell>
4063 </row>
4064 <row>
4065 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4066 \begin_inset Text
4067
4068 \begin_layout Standard
4069
4070 \series bold
4071 Rizzardi
4072 \end_layout
4073
4074 \end_inset
4075 </cell>
4076 <cell alignment="center" valignment="top" topline="true" usebox="none">
4077 \begin_inset Text
4078
4079 \begin_layout Standard
4080 Paola
4081 \end_layout
4082
4083 \end_inset
4084 </cell>
4085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4086 \begin_inset Text
4087
4088 \begin_layout Standard
4089 555
4090 \end_layout
4091
4092 \end_inset
4093 </cell>
4094 </row>
4095 <row>
4096 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4097 \begin_inset Text
4098
4099 \begin_layout Standard
4100
4101 \series bold
4102 Lassini
4103 \end_layout
4104
4105 \end_inset
4106 </cell>
4107 <cell alignment="center" valignment="top" topline="true" usebox="none">
4108 \begin_inset Text
4109
4110 \begin_layout Standard
4111 Giancarlo
4112 \end_layout
4113
4114 \end_inset
4115 </cell>
4116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4117 \begin_inset Text
4118
4119 \begin_layout Standard
4120 555
4121 \end_layout
4122
4123 \end_inset
4124 </cell>
4125 </row>
4126 <row>
4127 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4128 \begin_inset Text
4129
4130 \begin_layout Standard
4131
4132 \series bold
4133 Malfatti
4134 \end_layout
4135
4136 \end_inset
4137 </cell>
4138 <cell alignment="center" valignment="top" topline="true" usebox="none">
4139 \begin_inset Text
4140
4141 \begin_layout Standard
4142 Luciano
4143 \end_layout
4144
4145 \end_inset
4146 </cell>
4147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4148 \begin_inset Text
4149
4150 \begin_layout Standard
4151 555
4152 \end_layout
4153
4154 \end_inset
4155 </cell>
4156 </row>
4157 <row>
4158 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4159 \begin_inset Text
4160
4161 \begin_layout Standard
4162
4163 \series bold
4164 Malfatti
4165 \end_layout
4166
4167 \end_inset
4168 </cell>
4169 <cell alignment="center" valignment="top" topline="true" usebox="none">
4170 \begin_inset Text
4171
4172 \begin_layout Standard
4173 Valeriano
4174 \end_layout
4175
4176 \end_inset
4177 </cell>
4178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4179 \begin_inset Text
4180
4181 \begin_layout Standard
4182 555
4183 \end_layout
4184
4185 \end_inset
4186 </cell>
4187 </row>
4188 <row>
4189 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4190 \begin_inset Text
4191
4192 \begin_layout Standard
4193
4194 \series bold
4195 Meneguzzo
4196 \end_layout
4197
4198 \end_inset
4199 </cell>
4200 <cell alignment="center" valignment="top" topline="true" usebox="none">
4201 \begin_inset Text
4202
4203 \begin_layout Standard
4204 Roberto
4205 \end_layout
4206
4207 \end_inset
4208 </cell>
4209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4210 \begin_inset Text
4211
4212 \begin_layout Standard
4213 555
4214 \end_layout
4215
4216 \end_inset
4217 </cell>
4218 </row>
4219 <row>
4220 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4221 \begin_inset Text
4222
4223 \begin_layout Standard
4224
4225 \series bold
4226 Mezzadra
4227 \end_layout
4228
4229 \end_inset
4230 </cell>
4231 <cell alignment="center" valignment="top" topline="true" usebox="none">
4232 \begin_inset Text
4233
4234 \begin_layout Standard
4235 Roberto
4236 \end_layout
4237
4238 \end_inset
4239 </cell>
4240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4241 \begin_inset Text
4242
4243 \begin_layout Standard
4244 555
4245 \end_layout
4246
4247 \end_inset
4248 </cell>
4249 </row>
4250 <row>
4251 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4252 \begin_inset Text
4253
4254 \begin_layout Standard
4255
4256 \series bold
4257 Pirpamer
4258 \end_layout
4259
4260 \end_inset
4261 </cell>
4262 <cell alignment="center" valignment="top" topline="true" usebox="none">
4263 \begin_inset Text
4264
4265 \begin_layout Standard
4266 Erich
4267 \end_layout
4268
4269 \end_inset
4270 </cell>
4271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4272 \begin_inset Text
4273
4274 \begin_layout Standard
4275 555
4276 \end_layout
4277
4278 \end_inset
4279 </cell>
4280 </row>
4281 <row>
4282 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4283 \begin_inset Text
4284
4285 \begin_layout Standard
4286
4287 \series bold
4288 Pochiesa
4289 \end_layout
4290
4291 \end_inset
4292 </cell>
4293 <cell alignment="center" valignment="top" topline="true" usebox="none">
4294 \begin_inset Text
4295
4296 \begin_layout Standard
4297 Paolo
4298 \end_layout
4299
4300 \end_inset
4301 </cell>
4302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4303 \begin_inset Text
4304
4305 \begin_layout Standard
4306 555, 222
4307 \end_layout
4308
4309 \end_inset
4310 </cell>
4311 </row>
4312 <row>
4313 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4314 \begin_inset Text
4315
4316 \begin_layout Standard
4317
4318 \series bold
4319 Radina
4320 \end_layout
4321
4322 \end_inset
4323 </cell>
4324 <cell alignment="center" valignment="top" topline="true" usebox="none">
4325 \begin_inset Text
4326
4327 \begin_layout Standard
4328 Claudio
4329 \end_layout
4330
4331 \end_inset
4332 </cell>
4333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4334 \begin_inset Text
4335
4336 \begin_layout Standard
4337 555
4338 \end_layout
4339
4340 \end_inset
4341 </cell>
4342 </row>
4343 <row>
4344 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4345 \begin_inset Text
4346
4347 \begin_layout Standard
4348
4349 \series bold
4350 Stuffer
4351 \end_layout
4352
4353 \end_inset
4354 </cell>
4355 <cell alignment="center" valignment="top" topline="true" usebox="none">
4356 \begin_inset Text
4357
4358 \begin_layout Standard
4359 Oskar
4360 \end_layout
4361
4362 \end_inset
4363 </cell>
4364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4365 \begin_inset Text
4366
4367 \begin_layout Standard
4368 555
4369 \end_layout
4370
4371 \end_inset
4372 </cell>
4373 </row>
4374 <row>
4375 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4376 \begin_inset Text
4377
4378 \begin_layout Standard
4379
4380 \series bold
4381 Tacchelli
4382 \end_layout
4383
4384 \end_inset
4385 </cell>
4386 <cell alignment="center" valignment="top" topline="true" usebox="none">
4387 \begin_inset Text
4388
4389 \begin_layout Standard
4390 Ugo
4391 \end_layout
4392
4393 \end_inset
4394 </cell>
4395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4396 \begin_inset Text
4397
4398 \begin_layout Standard
4399 555
4400 \end_layout
4401
4402 \end_inset
4403 </cell>
4404 </row>
4405 <row>
4406 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4407 \begin_inset Text
4408
4409 \begin_layout Standard
4410
4411 \series bold
4412 Tezzele
4413 \end_layout
4414
4415 \end_inset
4416 </cell>
4417 <cell alignment="center" valignment="top" topline="true" usebox="none">
4418 \begin_inset Text
4419
4420 \begin_layout Standard
4421 Margit
4422 \end_layout
4423
4424 \end_inset
4425 </cell>
4426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4427 \begin_inset Text
4428
4429 \begin_layout Standard
4430 555
4431 \end_layout
4432
4433 \end_inset
4434 </cell>
4435 </row>
4436 <row>
4437 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4438 \begin_inset Text
4439
4440 \begin_layout Standard
4441
4442 \series bold
4443 Unterkalmsteiner
4444 \end_layout
4445
4446 \end_inset
4447 </cell>
4448 <cell alignment="center" valignment="top" topline="true" usebox="none">
4449 \begin_inset Text
4450
4451 \begin_layout Standard
4452 Frieda
4453 \end_layout
4454
4455 \end_inset
4456 </cell>
4457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4458 \begin_inset Text
4459
4460 \begin_layout Standard
4461 555
4462 \end_layout
4463
4464 \end_inset
4465 </cell>
4466 </row>
4467 <row>
4468 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4469 \begin_inset Text
4470
4471 \begin_layout Standard
4472
4473 \series bold
4474 Vieider
4475 \end_layout
4476
4477 \end_inset
4478 </cell>
4479 <cell alignment="center" valignment="top" topline="true" usebox="none">
4480 \begin_inset Text
4481
4482 \begin_layout Standard
4483 Hilde
4484 \end_layout
4485
4486 \end_inset
4487 </cell>
4488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4489 \begin_inset Text
4490
4491 \begin_layout Standard
4492 555
4493 \end_layout
4494
4495 \end_inset
4496 </cell>
4497 </row>
4498 <row>
4499 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Standard
4503
4504 \series bold
4505 Vigna
4506 \end_layout
4507
4508 \end_inset
4509 </cell>
4510 <cell alignment="center" valignment="top" topline="true" usebox="none">
4511 \begin_inset Text
4512
4513 \begin_layout Standard
4514 Jürgen
4515 \end_layout
4516
4517 \end_inset
4518 </cell>
4519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4520 \begin_inset Text
4521
4522 \begin_layout Standard
4523 999
4524 \end_layout
4525
4526 \end_inset
4527 </cell>
4528 </row>
4529 <row>
4530 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4531 \begin_inset Text
4532
4533 \begin_layout Standard
4534
4535 \series bold
4536 Weber
4537 \end_layout
4538
4539 \end_inset
4540 </cell>
4541 <cell alignment="center" valignment="top" topline="true" usebox="none">
4542 \begin_inset Text
4543
4544 \begin_layout Standard
4545 Maurizio
4546 \end_layout
4547
4548 \end_inset
4549 </cell>
4550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4551 \begin_inset Text
4552
4553 \begin_layout Standard
4554 555
4555 \end_layout
4556
4557 \end_inset
4558 </cell>
4559 </row>
4560 <row bottomline="true">
4561 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4562 \begin_inset Text
4563
4564 \begin_layout Standard
4565
4566 \series bold
4567 Winkler
4568 \end_layout
4569
4570 \end_inset
4571 </cell>
4572 <cell alignment="center" valignment="top" topline="true" usebox="none">
4573 \begin_inset Text
4574
4575 \begin_layout Standard
4576 Franz
4577 \end_layout
4578
4579 \end_inset
4580 </cell>
4581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4582 \begin_inset Text
4583
4584 \begin_layout Standard
4585 555
4586 \end_layout
4587
4588 \end_inset
4589 </cell>
4590 </row>
4591 <row bottomline="true" endlastfoot="true">
4592 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4593 \begin_inset Text
4594
4595 \begin_layout Standard
4596 end
4597 \end_layout
4598
4599 \end_inset
4600 </cell>
4601 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4602 \begin_inset Text
4603
4604 \begin_layout Standard
4605
4606 \end_layout
4607
4608 \end_inset
4609 </cell>
4610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4611 \begin_inset Text
4612
4613 \begin_layout Standard
4614
4615 \end_layout
4616
4617 \end_inset
4618 </cell>
4619 </row>
4620 </lyxtabular>
4621
4622 \end_inset
4623
4624
4625 \begin_inset ERT
4626 status collapsed
4627
4628 \begin_layout Standard
4629
4630
4631 \backslash
4632 addtocounter{table}{-1}
4633 \end_layout
4634
4635 \end_inset
4636
4637
4638 \begin_inset Note Note
4639 status collapsed
4640
4641 \begin_layout Standard
4642 See greyed-out note in section\InsetSpace ~
4643
4644 \begin_inset LatexCommand ref
4645 reference "sub:Longtable-Captions"
4646
4647 \end_inset
4648
4649  for an explanation of this command.
4650 \end_layout
4651
4652 \end_inset
4653
4654
4655 \end_layout
4656
4657 \begin_layout Subsection
4658 Footnotes in Longtables
4659 \begin_inset LatexCommand label
4660 name "sub:Footnotes-in-Longtables"
4661
4662 \end_inset
4663
4664
4665 \begin_inset LatexCommand index
4666 name "Longtables ! Footnotes"
4667
4668 \end_inset
4669
4670
4671 \end_layout
4672
4673 \begin_layout Standard
4674 Footnotes can be inserted to every longtable cell.
4675  They appear at the bottom of the page where the table cell with the footnote
4676  appears.
4677  Table\InsetSpace ~
4678
4679 \begin_inset LatexCommand ref
4680 reference "tab:DiffCaptions"
4681
4682 \end_inset
4683
4684  has for example a footnote.
4685 \end_layout
4686
4687 \begin_layout Subsection
4688 Longtable Captions
4689 \begin_inset LatexCommand index
4690 name "Longtables ! Captions"
4691
4692 \end_inset
4693
4694
4695 \begin_inset LatexCommand label
4696 name "sub:Longtable-Captions"
4697
4698 \end_inset
4699
4700
4701 \end_layout
4702
4703 \begin_layout Standard
4704 A longtable cannot be put into a table float because floats can only be
4705  on one page but the caption environment of floats can also be used for
4706  longtables.
4707 \end_layout
4708
4709 \begin_layout Standard
4710 As LyX does not yet fully support captions in longtables, a hack is needed
4711  to create them:
4712 \end_layout
4713
4714 \begin_layout Enumerate
4715 Create a longtable
4716 \family sans
4717 .
4718 \end_layout
4719
4720 \begin_layout Enumerate
4721 Mark the first row and disable its upper line.
4722 \end_layout
4723
4724 \begin_layout Enumerate
4725 Insert a caption via the menu 
4726 \family sans
4727 Insert\SpecialChar \menuseparator
4728 Caption
4729 \family default
4730  into the first table cell.
4731 \newline
4732 You can also add a short title for the caption.
4733 \end_layout
4734
4735 \begin_layout Enumerate
4736 Insert a 
4737 \begin_inset Quotes eld
4738 \end_inset
4739
4740
4741 \series bold
4742
4743 \backslash
4744
4745 \backslash
4746 %
4747 \series default
4748
4749 \begin_inset Quotes erd
4750 \end_inset
4751
4752  as ERT behind the caption.
4753 \end_layout
4754
4755 \begin_layout Standard
4756 A short title that will appear in the LOT instead of the full title.
4757  The 
4758 \series bold
4759
4760 \backslash
4761
4762 \backslash
4763 %
4764 \series default
4765  behind the caption omits the vertical lines between the following cells
4766  in the row.
4767  The first table row is now only a dummy row for the caption, the actual
4768  table starts with the second row.
4769 \end_layout
4770
4771 \begin_layout Standard
4772 Here is a short longtable to see how it works:
4773 \end_layout
4774
4775 \begin_layout Standard
4776 \begin_inset Tabular
4777 <lyxtabular version="3" rows="6" columns="5">
4778 <features islongtable="true">
4779 <column alignment="center" valignment="top" leftline="true" width="0">
4780 <column alignment="center" valignment="top" leftline="true" width="0">
4781 <column alignment="center" valignment="top" leftline="true" width="0">
4782 <column alignment="center" valignment="top" leftline="true" width="0">
4783 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4784 <row>
4785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4786 \begin_inset Text
4787
4788 \begin_layout Standard
4789 \begin_inset Caption
4790
4791 \begin_layout Standard
4792 Longtable with caption
4793 \begin_inset OptArg
4794 status open
4795
4796 \begin_layout Standard
4797 Longtable
4798 \end_layout
4799
4800 \end_inset
4801
4802
4803 \end_layout
4804
4805 \end_inset
4806
4807
4808 \begin_inset ERT
4809 status collapsed
4810
4811 \begin_layout Standard
4812
4813
4814 \backslash
4815
4816 \backslash
4817 %
4818 \end_layout
4819
4820 \end_inset
4821
4822
4823 \end_layout
4824
4825 \end_inset
4826 </cell>
4827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4828 \begin_inset Text
4829
4830 \begin_layout Standard
4831
4832 \end_layout
4833
4834 \end_inset
4835 </cell>
4836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4837 \begin_inset Text
4838
4839 \begin_layout Standard
4840
4841 \end_layout
4842
4843 \end_inset
4844 </cell>
4845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4846 \begin_inset Text
4847
4848 \begin_layout Standard
4849
4850 \end_layout
4851
4852 \end_inset
4853 </cell>
4854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4855 \begin_inset Text
4856
4857 \begin_layout Standard
4858
4859 \end_layout
4860
4861 \end_inset
4862 </cell>
4863 </row>
4864 <row topline="true">
4865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4866 \begin_inset Text
4867
4868 \begin_layout Standard
4869 1
4870 \end_layout
4871
4872 \end_inset
4873 </cell>
4874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4875 \begin_inset Text
4876
4877 \begin_layout Standard
4878 2
4879 \end_layout
4880
4881 \end_inset
4882 </cell>
4883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4884 \begin_inset Text
4885
4886 \begin_layout Standard
4887 3
4888 \end_layout
4889
4890 \end_inset
4891 </cell>
4892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4893 \begin_inset Text
4894
4895 \begin_layout Standard
4896 4
4897 \end_layout
4898
4899 \end_inset
4900 </cell>
4901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4902 \begin_inset Text
4903
4904 \begin_layout Standard
4905 5
4906 \end_layout
4907
4908 \end_inset
4909 </cell>
4910 </row>
4911 <row topline="true">
4912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4913 \begin_inset Text
4914
4915 \begin_layout Standard
4916 asd
4917 \end_layout
4918
4919 \end_inset
4920 </cell>
4921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4922 \begin_inset Text
4923
4924 \begin_layout Standard
4925 s
4926 \end_layout
4927
4928 \end_inset
4929 </cell>
4930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4931 \begin_inset Text
4932
4933 \begin_layout Standard
4934 s
4935 \end_layout
4936
4937 \end_inset
4938 </cell>
4939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4940 \begin_inset Text
4941
4942 \begin_layout Standard
4943 s
4944 \end_layout
4945
4946 \end_inset
4947 </cell>
4948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4949 \begin_inset Text
4950
4951 \begin_layout Standard
4952 asd
4953 \end_layout
4954
4955 \end_inset
4956 </cell>
4957 </row>
4958 <row topline="true">
4959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4960 \begin_inset Text
4961
4962 \begin_layout Standard
4963 asd
4964 \end_layout
4965
4966 \end_inset
4967 </cell>
4968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4969 \begin_inset Text
4970
4971 \begin_layout Standard
4972 s
4973 \end_layout
4974
4975 \end_inset
4976 </cell>
4977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4978 \begin_inset Text
4979
4980 \begin_layout Standard
4981 s
4982 \end_layout
4983
4984 \end_inset
4985 </cell>
4986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4987 \begin_inset Text
4988
4989 \begin_layout Standard
4990 s
4991 \end_layout
4992
4993 \end_inset
4994 </cell>
4995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4996 \begin_inset Text
4997
4998 \begin_layout Standard
4999 asd
5000 \end_layout
5001
5002 \end_inset
5003 </cell>
5004 </row>
5005 <row topline="true">
5006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5007 \begin_inset Text
5008
5009 \begin_layout Standard
5010 asd
5011 \end_layout
5012
5013 \end_inset
5014 </cell>
5015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5016 \begin_inset Text
5017
5018 \begin_layout Standard
5019 s
5020 \end_layout
5021
5022 \end_inset
5023 </cell>
5024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5025 \begin_inset Text
5026
5027 \begin_layout Standard
5028 s
5029 \end_layout
5030
5031 \end_inset
5032 </cell>
5033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5034 \begin_inset Text
5035
5036 \begin_layout Standard
5037 s
5038 \end_layout
5039
5040 \end_inset
5041 </cell>
5042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5043 \begin_inset Text
5044
5045 \begin_layout Standard
5046 asd
5047 \end_layout
5048
5049 \end_inset
5050 </cell>
5051 </row>
5052 <row topline="true" bottomline="true">
5053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5054 \begin_inset Text
5055
5056 \begin_layout Standard
5057 asd
5058 \end_layout
5059
5060 \end_inset
5061 </cell>
5062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5063 \begin_inset Text
5064
5065 \begin_layout Standard
5066 asd
5067 \end_layout
5068
5069 \end_inset
5070 </cell>
5071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5072 \begin_inset Text
5073
5074 \begin_layout Standard
5075 asd
5076 \end_layout
5077
5078 \end_inset
5079 </cell>
5080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5081 \begin_inset Text
5082
5083 \begin_layout Standard
5084 asd
5085 \end_layout
5086
5087 \end_inset
5088 </cell>
5089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5090 \begin_inset Text
5091
5092 \begin_layout Standard
5093 asd
5094 \end_layout
5095
5096 \end_inset
5097 </cell>
5098 </row>
5099 </lyxtabular>
5100
5101 \end_inset
5102
5103
5104 \end_layout
5105
5106 \begin_layout Standard
5107 \begin_inset VSpace medskip
5108 \end_inset
5109
5110
5111 \begin_inset Note Greyedout
5112 status open
5113
5114 \begin_layout Standard
5115
5116 \series bold
5117 Note:
5118 \series default
5119  The table number is increased for every longtable, also if you didn't set
5120  a caption for it.
5121  For this reason you could have the case that e.g.
5122  Table\InsetSpace ~
5123 2.4 follows on Table\InsetSpace ~
5124 2.1 in the list of tables if there are two longtables
5125  without captions.
5126  To avoid this you can add the following command in ERT behind every longtable
5127  without a caption:
5128 \end_layout
5129
5130 \begin_layout Standard
5131
5132 \series bold
5133
5134 \backslash
5135 addtocounter{table}{-1}
5136 \end_layout
5137
5138 \end_inset
5139
5140
5141 \end_layout
5142
5143 \begin_layout Standard
5144 \begin_inset Note Greyedout
5145 status open
5146
5147 \begin_layout Standard
5148
5149 \series bold
5150 Note:
5151 \series default
5152  If you are using the LaTeX-package 
5153 \series bold
5154 hyperref
5155 \series default
5156
5157 \begin_inset LatexCommand index
5158 name "LaTeX-packages ! hyperref"
5159
5160 \end_inset
5161
5162  to link cross-references, the link to a longtable caption will always point
5163  to the beginning of the document.
5164 \end_layout
5165
5166 \end_inset
5167
5168
5169 \end_layout
5170
5171 \begin_layout Subsubsection
5172 References to Longtables
5173 \begin_inset LatexCommand index
5174 name "Longtables ! References"
5175
5176 \end_inset
5177
5178
5179 \end_layout
5180
5181 \begin_layout Standard
5182 \begin_inset Tabular
5183 <lyxtabular version="3" rows="6" columns="5">
5184 <features islongtable="true">
5185 <column alignment="center" valignment="top" leftline="true" width="0">
5186 <column alignment="center" valignment="top" leftline="true" width="0">
5187 <column alignment="center" valignment="top" leftline="true" width="0">
5188 <column alignment="center" valignment="top" leftline="true" width="0">
5189 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5190 <row>
5191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5192 \begin_inset Text
5193
5194 \begin_layout Standard
5195 \begin_inset Caption
5196
5197 \begin_layout Standard
5198 Referenced longtable
5199 \begin_inset LatexCommand label
5200 name "tab:RefExample"
5201
5202 \end_inset
5203
5204
5205 \end_layout
5206
5207 \end_inset
5208
5209
5210 \begin_inset ERT
5211 status collapsed
5212
5213 \begin_layout Standard
5214
5215
5216 \backslash
5217
5218 \backslash
5219 %
5220 \end_layout
5221
5222 \end_inset
5223
5224
5225 \end_layout
5226
5227 \end_inset
5228 </cell>
5229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5230 \begin_inset Text
5231
5232 \begin_layout Standard
5233
5234 \end_layout
5235
5236 \end_inset
5237 </cell>
5238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5239 \begin_inset Text
5240
5241 \begin_layout Standard
5242
5243 \end_layout
5244
5245 \end_inset
5246 </cell>
5247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5248 \begin_inset Text
5249
5250 \begin_layout Standard
5251
5252 \end_layout
5253
5254 \end_inset
5255 </cell>
5256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5257 \begin_inset Text
5258
5259 \begin_layout Standard
5260
5261 \end_layout
5262
5263 \end_inset
5264 </cell>
5265 </row>
5266 <row topline="true">
5267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5268 \begin_inset Text
5269
5270 \begin_layout Standard
5271 1
5272 \end_layout
5273
5274 \end_inset
5275 </cell>
5276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5277 \begin_inset Text
5278
5279 \begin_layout Standard
5280 2
5281 \end_layout
5282
5283 \end_inset
5284 </cell>
5285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5286 \begin_inset Text
5287
5288 \begin_layout Standard
5289 3
5290 \end_layout
5291
5292 \end_inset
5293 </cell>
5294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5295 \begin_inset Text
5296
5297 \begin_layout Standard
5298 4
5299 \end_layout
5300
5301 \end_inset
5302 </cell>
5303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5304 \begin_inset Text
5305
5306 \begin_layout Standard
5307 5
5308 \end_layout
5309
5310 \end_inset
5311 </cell>
5312 </row>
5313 <row topline="true">
5314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5315 \begin_inset Text
5316
5317 \begin_layout Standard
5318 asd
5319 \end_layout
5320
5321 \end_inset
5322 </cell>
5323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5324 \begin_inset Text
5325
5326 \begin_layout Standard
5327 s
5328 \end_layout
5329
5330 \end_inset
5331 </cell>
5332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5333 \begin_inset Text
5334
5335 \begin_layout Standard
5336 s
5337 \end_layout
5338
5339 \end_inset
5340 </cell>
5341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5342 \begin_inset Text
5343
5344 \begin_layout Standard
5345 s
5346 \end_layout
5347
5348 \end_inset
5349 </cell>
5350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5351 \begin_inset Text
5352
5353 \begin_layout Standard
5354 asd
5355 \end_layout
5356
5357 \end_inset
5358 </cell>
5359 </row>
5360 <row topline="true">
5361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5362 \begin_inset Text
5363
5364 \begin_layout Standard
5365 asd
5366 \end_layout
5367
5368 \end_inset
5369 </cell>
5370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5371 \begin_inset Text
5372
5373 \begin_layout Standard
5374 s
5375 \end_layout
5376
5377 \end_inset
5378 </cell>
5379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5380 \begin_inset Text
5381
5382 \begin_layout Standard
5383 s
5384 \end_layout
5385
5386 \end_inset
5387 </cell>
5388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5389 \begin_inset Text
5390
5391 \begin_layout Standard
5392 s
5393 \end_layout
5394
5395 \end_inset
5396 </cell>
5397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5398 \begin_inset Text
5399
5400 \begin_layout Standard
5401 asd
5402 \end_layout
5403
5404 \end_inset
5405 </cell>
5406 </row>
5407 <row topline="true">
5408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5409 \begin_inset Text
5410
5411 \begin_layout Standard
5412 asd
5413 \end_layout
5414
5415 \end_inset
5416 </cell>
5417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5418 \begin_inset Text
5419
5420 \begin_layout Standard
5421 s
5422 \end_layout
5423
5424 \end_inset
5425 </cell>
5426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5427 \begin_inset Text
5428
5429 \begin_layout Standard
5430 s
5431 \end_layout
5432
5433 \end_inset
5434 </cell>
5435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5436 \begin_inset Text
5437
5438 \begin_layout Standard
5439 s
5440 \end_layout
5441
5442 \end_inset
5443 </cell>
5444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5445 \begin_inset Text
5446
5447 \begin_layout Standard
5448 asd
5449 \end_layout
5450
5451 \end_inset
5452 </cell>
5453 </row>
5454 <row topline="true" bottomline="true">
5455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5456 \begin_inset Text
5457
5458 \begin_layout Standard
5459 asd
5460 \end_layout
5461
5462 \end_inset
5463 </cell>
5464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5465 \begin_inset Text
5466
5467 \begin_layout Standard
5468 sad
5469 \end_layout
5470
5471 \end_inset
5472 </cell>
5473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5474 \begin_inset Text
5475
5476 \begin_layout Standard
5477 asd
5478 \end_layout
5479
5480 \end_inset
5481 </cell>
5482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5483 \begin_inset Text
5484
5485 \begin_layout Standard
5486 asd
5487 \end_layout
5488
5489 \end_inset
5490 </cell>
5491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5492 \begin_inset Text
5493
5494 \begin_layout Standard
5495 asd
5496 \end_layout
5497
5498 \end_inset
5499 </cell>
5500 </row>
5501 </lyxtabular>
5502
5503 \end_inset
5504
5505
5506 \end_layout
5507
5508 \begin_layout Standard
5509 To reference a longtable, insert a label into the caption.
5510  Note that you have to add the label prefix 
5511 \begin_inset Quotes eld
5512 \end_inset
5513
5514
5515 \emph on
5516 tab:
5517 \emph default
5518
5519 \begin_inset Quotes eld
5520 \end_inset
5521
5522  manually in the label field.
5523 \end_layout
5524
5525 \begin_layout Standard
5526 This is a reference to Table\InsetSpace ~
5527
5528 \begin_inset LatexCommand ref
5529 reference "tab:RefExample"
5530
5531 \end_inset
5532
5533 .
5534 \end_layout
5535
5536 \begin_layout Standard
5537 The caption layout can be set together with all other caption of your document
5538  using the LaTeX-package 
5539 \series bold
5540 caption
5541 \series default
5542
5543 \begin_inset LatexCommand index
5544 name "LaTeX-packages ! caption"
5545
5546 \end_inset
5547
5548 , see section\InsetSpace ~
5549
5550 \begin_inset LatexCommand ref
5551 reference "sec:Caption-Formatting"
5552
5553 \end_inset
5554
5555 .
5556 \end_layout
5557
5558 \begin_layout Subsubsection
5559 Caption Width
5560 \begin_inset LatexCommand index
5561 name "Longtables ! Caption Width"
5562
5563 \end_inset
5564
5565
5566 \end_layout
5567
5568 \begin_layout Standard
5569 The maximal width of of caption lines is defined by the length 
5570 \series bold
5571
5572 \backslash
5573 LTcapwidth
5574 \series default
5575 .
5576  Its default value is 4\InsetSpace \thinspace{}
5577 in.
5578  To change it add the following command to your document preamble or as
5579  ERT into your document before the longtable that should be affected
5580 \end_layout
5581
5582 \begin_layout Standard
5583
5584 \series bold
5585
5586 \backslash
5587 setlength{
5588 \backslash
5589 LTcapwidth}{width}
5590 \end_layout
5591
5592 \begin_layout Standard
5593 where the width could have one of the units listed in appendix\InsetSpace ~
5594
5595 \begin_inset LatexCommand ref
5596 reference "cha:Units-available-in"
5597
5598 \end_inset
5599
5600 .
5601 \end_layout
5602
5603 \begin_layout Standard
5604 The following tables show the difference:
5605 \end_layout
5606
5607 \begin_layout Standard
5608 \begin_inset Tabular
5609 <lyxtabular version="3" rows="6" columns="5">
5610 <features islongtable="true">
5611 <column alignment="center" valignment="top" leftline="true" width="0">
5612 <column alignment="center" valignment="top" leftline="true" width="0">
5613 <column alignment="center" valignment="top" leftline="true" width="0">
5614 <column alignment="center" valignment="top" leftline="true" width="0">
5615 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5616 <row>
5617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5618 \begin_inset Text
5619
5620 \begin_layout Standard
5621 \begin_inset Caption
5622
5623 \begin_layout Standard
5624 long full title with default width long full title with default width long
5625  full title with default width
5626 \begin_inset OptArg
5627 status collapsed
5628
5629 \begin_layout Standard
5630 caption with default width
5631 \end_layout
5632
5633 \end_inset
5634
5635
5636 \end_layout
5637
5638 \end_inset
5639
5640
5641 \begin_inset ERT
5642 status collapsed
5643
5644 \begin_layout Standard
5645
5646
5647 \backslash
5648
5649 \backslash
5650 %
5651 \end_layout
5652
5653 \end_inset
5654
5655
5656 \end_layout
5657
5658 \end_inset
5659 </cell>
5660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5661 \begin_inset Text
5662
5663 \begin_layout Standard
5664
5665 \end_layout
5666
5667 \end_inset
5668 </cell>
5669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5670 \begin_inset Text
5671
5672 \begin_layout Standard
5673
5674 \end_layout
5675
5676 \end_inset
5677 </cell>
5678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5679 \begin_inset Text
5680
5681 \begin_layout Standard
5682
5683 \end_layout
5684
5685 \end_inset
5686 </cell>
5687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5688 \begin_inset Text
5689
5690 \begin_layout Standard
5691
5692 \end_layout
5693
5694 \end_inset
5695 </cell>
5696 </row>
5697 <row topline="true">
5698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5699 \begin_inset Text
5700
5701 \begin_layout Standard
5702 1
5703 \end_layout
5704
5705 \end_inset
5706 </cell>
5707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5708 \begin_inset Text
5709
5710 \begin_layout Standard
5711 2
5712 \end_layout
5713
5714 \end_inset
5715 </cell>
5716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5717 \begin_inset Text
5718
5719 \begin_layout Standard
5720 3
5721 \end_layout
5722
5723 \end_inset
5724 </cell>
5725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5726 \begin_inset Text
5727
5728 \begin_layout Standard
5729 4
5730 \end_layout
5731
5732 \end_inset
5733 </cell>
5734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5735 \begin_inset Text
5736
5737 \begin_layout Standard
5738 5
5739 \end_layout
5740
5741 \end_inset
5742 </cell>
5743 </row>
5744 <row topline="true">
5745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5746 \begin_inset Text
5747
5748 \begin_layout Standard
5749 asd
5750 \end_layout
5751
5752 \end_inset
5753 </cell>
5754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5755 \begin_inset Text
5756
5757 \begin_layout Standard
5758 s
5759 \end_layout
5760
5761 \end_inset
5762 </cell>
5763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5764 \begin_inset Text
5765
5766 \begin_layout Standard
5767 s
5768 \end_layout
5769
5770 \end_inset
5771 </cell>
5772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5773 \begin_inset Text
5774
5775 \begin_layout Standard
5776 s
5777 \end_layout
5778
5779 \end_inset
5780 </cell>
5781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5782 \begin_inset Text
5783
5784 \begin_layout Standard
5785 asd
5786 \end_layout
5787
5788 \end_inset
5789 </cell>
5790 </row>
5791 <row topline="true">
5792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5793 \begin_inset Text
5794
5795 \begin_layout Standard
5796 asd
5797 \end_layout
5798
5799 \end_inset
5800 </cell>
5801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5802 \begin_inset Text
5803
5804 \begin_layout Standard
5805 s
5806 \end_layout
5807
5808 \end_inset
5809 </cell>
5810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5811 \begin_inset Text
5812
5813 \begin_layout Standard
5814 s
5815 \end_layout
5816
5817 \end_inset
5818 </cell>
5819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5820 \begin_inset Text
5821
5822 \begin_layout Standard
5823 s
5824 \end_layout
5825
5826 \end_inset
5827 </cell>
5828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5829 \begin_inset Text
5830
5831 \begin_layout Standard
5832 asd
5833 \end_layout
5834
5835 \end_inset
5836 </cell>
5837 </row>
5838 <row topline="true">
5839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5840 \begin_inset Text
5841
5842 \begin_layout Standard
5843 asd
5844 \end_layout
5845
5846 \end_inset
5847 </cell>
5848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5849 \begin_inset Text
5850
5851 \begin_layout Standard
5852 s
5853 \end_layout
5854
5855 \end_inset
5856 </cell>
5857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5858 \begin_inset Text
5859
5860 \begin_layout Standard
5861 s
5862 \end_layout
5863
5864 \end_inset
5865 </cell>
5866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5867 \begin_inset Text
5868
5869 \begin_layout Standard
5870 s
5871 \end_layout
5872
5873 \end_inset
5874 </cell>
5875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5876 \begin_inset Text
5877
5878 \begin_layout Standard
5879 asd
5880 \end_layout
5881
5882 \end_inset
5883 </cell>
5884 </row>
5885 <row topline="true" bottomline="true">
5886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5887 \begin_inset Text
5888
5889 \begin_layout Standard
5890 asd
5891 \end_layout
5892
5893 \end_inset
5894 </cell>
5895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5896 \begin_inset Text
5897
5898 \begin_layout Standard
5899 sad
5900 \end_layout
5901
5902 \end_inset
5903 </cell>
5904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5905 \begin_inset Text
5906
5907 \begin_layout Standard
5908 asd
5909 \end_layout
5910
5911 \end_inset
5912 </cell>
5913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5914 \begin_inset Text
5915
5916 \begin_layout Standard
5917 asd
5918 \end_layout
5919
5920 \end_inset
5921 </cell>
5922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5923 \begin_inset Text
5924
5925 \begin_layout Standard
5926 asd
5927 \end_layout
5928
5929 \end_inset
5930 </cell>
5931 </row>
5932 </lyxtabular>
5933
5934 \end_inset
5935
5936
5937 \end_layout
5938
5939 \begin_layout Standard
5940 \begin_inset ERT
5941 status open
5942
5943 \begin_layout Standard
5944
5945
5946 \backslash
5947 setlength{
5948 \backslash
5949 LTcapwidth}{5cm}
5950 \end_layout
5951
5952 \end_inset
5953
5954
5955 \begin_inset Tabular
5956 <lyxtabular version="3" rows="6" columns="5">
5957 <features islongtable="true">
5958 <column alignment="center" valignment="top" leftline="true" width="0">
5959 <column alignment="center" valignment="top" leftline="true" width="0">
5960 <column alignment="center" valignment="top" leftline="true" width="0">
5961 <column alignment="center" valignment="top" leftline="true" width="0">
5962 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5963 <row>
5964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5965 \begin_inset Text
5966
5967 \begin_layout Standard
5968 \begin_inset Caption
5969
5970 \begin_layout Standard
5971 long full title with width set to 5\InsetSpace \thinspace{}
5972 cm long full title with width set to
5973  5\InsetSpace \thinspace{}
5974 cm long full title with width set to 5\InsetSpace \thinspace{}
5975 cm
5976 \begin_inset OptArg
5977 status collapsed
5978
5979 \begin_layout Standard
5980 caption with width\InsetSpace \thinspace{}
5981 =\InsetSpace \thinspace{}
5982 5\InsetSpace \thinspace{}
5983 cm
5984 \end_layout
5985
5986 \end_inset
5987
5988
5989 \end_layout
5990
5991 \end_inset
5992
5993
5994 \begin_inset ERT
5995 status collapsed
5996
5997 \begin_layout Standard
5998
5999
6000 \backslash
6001
6002 \backslash
6003 %
6004 \end_layout
6005
6006 \end_inset
6007
6008
6009 \end_layout
6010
6011 \end_inset
6012 </cell>
6013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6014 \begin_inset Text
6015
6016 \begin_layout Standard
6017
6018 \end_layout
6019
6020 \end_inset
6021 </cell>
6022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6023 \begin_inset Text
6024
6025 \begin_layout Standard
6026
6027 \end_layout
6028
6029 \end_inset
6030 </cell>
6031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6032 \begin_inset Text
6033
6034 \begin_layout Standard
6035
6036 \end_layout
6037
6038 \end_inset
6039 </cell>
6040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6041 \begin_inset Text
6042
6043 \begin_layout Standard
6044
6045 \end_layout
6046
6047 \end_inset
6048 </cell>
6049 </row>
6050 <row topline="true">
6051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6052 \begin_inset Text
6053
6054 \begin_layout Standard
6055 1
6056 \end_layout
6057
6058 \end_inset
6059 </cell>
6060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6061 \begin_inset Text
6062
6063 \begin_layout Standard
6064 2
6065 \end_layout
6066
6067 \end_inset
6068 </cell>
6069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6070 \begin_inset Text
6071
6072 \begin_layout Standard
6073 3
6074 \end_layout
6075
6076 \end_inset
6077 </cell>
6078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6079 \begin_inset Text
6080
6081 \begin_layout Standard
6082 4
6083 \end_layout
6084
6085 \end_inset
6086 </cell>
6087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6088 \begin_inset Text
6089
6090 \begin_layout Standard
6091 5
6092 \end_layout
6093
6094 \end_inset
6095 </cell>
6096 </row>
6097 <row topline="true">
6098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6099 \begin_inset Text
6100
6101 \begin_layout Standard
6102 asd
6103 \end_layout
6104
6105 \end_inset
6106 </cell>
6107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6108 \begin_inset Text
6109
6110 \begin_layout Standard
6111 s
6112 \end_layout
6113
6114 \end_inset
6115 </cell>
6116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6117 \begin_inset Text
6118
6119 \begin_layout Standard
6120 s
6121 \end_layout
6122
6123 \end_inset
6124 </cell>
6125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6126 \begin_inset Text
6127
6128 \begin_layout Standard
6129 s
6130 \end_layout
6131
6132 \end_inset
6133 </cell>
6134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6135 \begin_inset Text
6136
6137 \begin_layout Standard
6138 asd
6139 \end_layout
6140
6141 \end_inset
6142 </cell>
6143 </row>
6144 <row topline="true">
6145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6146 \begin_inset Text
6147
6148 \begin_layout Standard
6149 asd
6150 \end_layout
6151
6152 \end_inset
6153 </cell>
6154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6155 \begin_inset Text
6156
6157 \begin_layout Standard
6158 s
6159 \end_layout
6160
6161 \end_inset
6162 </cell>
6163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6164 \begin_inset Text
6165
6166 \begin_layout Standard
6167 s
6168 \end_layout
6169
6170 \end_inset
6171 </cell>
6172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6173 \begin_inset Text
6174
6175 \begin_layout Standard
6176 s
6177 \end_layout
6178
6179 \end_inset
6180 </cell>
6181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6182 \begin_inset Text
6183
6184 \begin_layout Standard
6185 asd
6186 \end_layout
6187
6188 \end_inset
6189 </cell>
6190 </row>
6191 <row topline="true">
6192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6193 \begin_inset Text
6194
6195 \begin_layout Standard
6196 asd
6197 \end_layout
6198
6199 \end_inset
6200 </cell>
6201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6202 \begin_inset Text
6203
6204 \begin_layout Standard
6205 s
6206 \end_layout
6207
6208 \end_inset
6209 </cell>
6210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6211 \begin_inset Text
6212
6213 \begin_layout Standard
6214 s
6215 \end_layout
6216
6217 \end_inset
6218 </cell>
6219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6220 \begin_inset Text
6221
6222 \begin_layout Standard
6223 s
6224 \end_layout
6225
6226 \end_inset
6227 </cell>
6228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6229 \begin_inset Text
6230
6231 \begin_layout Standard
6232 asd
6233 \end_layout
6234
6235 \end_inset
6236 </cell>
6237 </row>
6238 <row topline="true" bottomline="true">
6239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6240 \begin_inset Text
6241
6242 \begin_layout Standard
6243 asd
6244 \end_layout
6245
6246 \end_inset
6247 </cell>
6248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6249 \begin_inset Text
6250
6251 \begin_layout Standard
6252 sad
6253 \end_layout
6254
6255 \end_inset
6256 </cell>
6257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6258 \begin_inset Text
6259
6260 \begin_layout Standard
6261 asd
6262 \end_layout
6263
6264 \end_inset
6265 </cell>
6266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6267 \begin_inset Text
6268
6269 \begin_layout Standard
6270 asd
6271 \end_layout
6272
6273 \end_inset
6274 </cell>
6275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6276 \begin_inset Text
6277
6278 \begin_layout Standard
6279 asd
6280 \end_layout
6281
6282 \end_inset
6283 </cell>
6284 </row>
6285 </lyxtabular>
6286
6287 \end_inset
6288
6289
6290 \end_layout
6291
6292 \begin_layout Standard
6293 \begin_inset ERT
6294 status collapsed
6295
6296 \begin_layout Standard
6297
6298
6299 \backslash
6300 setlength{
6301 \backslash
6302 LTcapwidth}{4in}
6303 \end_layout
6304
6305 \end_inset
6306
6307
6308 \end_layout
6309
6310 \begin_layout Standard
6311 \begin_inset Note Greyedout
6312 status open
6313
6314 \begin_layout Standard
6315
6316 \series bold
6317 Note:
6318 \series default
6319  When the LaTeX-package 
6320 \series bold
6321 caption
6322 \series default
6323
6324 \begin_inset LatexCommand index
6325 name "LaTeX-packages ! caption"
6326
6327 \end_inset
6328
6329  is used, as in this document, the full page width is used for the caption
6330  when you use the default value of 4\InsetSpace \thinspace{}
6331 in for 
6332 \series bold
6333
6334 \backslash
6335 LTcapwidth
6336 \series default
6337 .
6338  To get in this case exactly a 4\InsetSpace \thinspace{}
6339 in wide caption, you can either use a value
6340  slightly different from 4.0\InsetSpace \thinspace{}
6341 in, e.g.
6342  3.99\InsetSpace \thinspace{}
6343 in, or the LaTeX-command 
6344 \series bold
6345
6346 \backslash
6347 captionsetup{width=value}
6348 \series default
6349  that is provided by the 
6350 \series bold
6351 caption
6352 \series default
6353 -package.
6354 \end_layout
6355
6356 \end_inset
6357
6358
6359 \end_layout
6360
6361 \begin_layout Subsubsection
6362 Different Captions for Table Pages
6363 \begin_inset LatexCommand index
6364 name "Longtables ! Different Captions for Pages"
6365
6366 \end_inset
6367
6368
6369 \end_layout
6370
6371 \begin_layout Standard
6372 When the other captions should differ from the one of the first table page,
6373  insert a caption with a non-empty short title in a dummy caption row marked
6374  as first header.
6375  The caption used for the other table pages is inserted as caption without
6376  a short title in a dummy caption row that is marked as main header.
6377  When this caption shouldn't include the table number, use the command
6378 \end_layout
6379
6380 \begin_layout Standard
6381
6382 \series bold
6383
6384 \backslash
6385 caption*{caption text}
6386 \end_layout
6387
6388 \begin_layout Standard
6389 instead of LyX's caption box.
6390  The label to reference the table is inserted into the caption of the first
6391  header.
6392  Table\InsetSpace ~
6393
6394 \begin_inset LatexCommand ref
6395 reference "tab:DiffCaptions"
6396
6397 \end_inset
6398
6399  is an example for a longtable with different heading where the second caption
6400  doesn't include the table number.
6401 \end_layout
6402
6403 \begin_layout Standard
6404 \align center
6405 \begin_inset Tabular
6406 <lyxtabular version="3" rows="60" columns="3">
6407 <features islongtable="true">
6408 <column alignment="left" valignment="top" leftline="true" width="0cm">
6409 <column alignment="left" valignment="top" rightline="true" width="0pt">
6410 <column alignment="right" valignment="top" rightline="true" width="0pt">
6411 <row endfirsthead="true">
6412 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6413 \begin_inset Text
6414
6415 \begin_layout Standard
6416 \begin_inset Caption
6417
6418 \begin_layout Standard
6419 Example Phone List
6420 \begin_inset LatexCommand label
6421 name "tab:DiffCaptions"
6422
6423 \end_inset
6424
6425
6426 \begin_inset OptArg
6427 status collapsed
6428
6429 \begin_layout Standard
6430 Example Phone List
6431 \end_layout
6432
6433 \end_inset
6434
6435
6436 \end_layout
6437
6438 \end_inset
6439
6440
6441 \begin_inset ERT
6442 status collapsed
6443
6444 \begin_layout Standard
6445
6446
6447 \backslash
6448
6449 \backslash
6450 %
6451 \end_layout
6452
6453 \end_inset
6454
6455
6456 \end_layout
6457
6458 \end_inset
6459 </cell>
6460 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6461 \begin_inset Text
6462
6463 \begin_layout Standard
6464
6465 \end_layout
6466
6467 \end_inset
6468 </cell>
6469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6470 \begin_inset Text
6471
6472 \begin_layout Standard
6473
6474 \end_layout
6475
6476 \end_inset
6477 </cell>
6478 </row>
6479 <row topline="true" bottomline="true" endfirsthead="true">
6480 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6481 \begin_inset Text
6482
6483 \begin_layout Standard
6484
6485 \series bold
6486 Example Phone List (ignore the names)
6487 \end_layout
6488
6489 \end_inset
6490 </cell>
6491 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6492 \begin_inset Text
6493
6494 \begin_layout Standard
6495
6496 \end_layout
6497
6498 \end_inset
6499 </cell>
6500 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6501 \begin_inset Text
6502
6503 \begin_layout Standard
6504
6505 \end_layout
6506
6507 \end_inset
6508 </cell>
6509 </row>
6510 <row topline="true" bottomline="true" endfirsthead="true">
6511 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6512 \begin_inset Text
6513
6514 \begin_layout Standard
6515
6516 \series bold
6517 NAME
6518 \end_layout
6519
6520 \end_inset
6521 </cell>
6522 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6523 \begin_inset Text
6524
6525 \begin_layout Standard
6526
6527 \end_layout
6528
6529 \end_inset
6530 </cell>
6531 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6532 \begin_inset Text
6533
6534 \begin_layout Standard
6535
6536 \series bold
6537 TEL.
6538 \end_layout
6539
6540 \end_inset
6541 </cell>
6542 </row>
6543 <row bottomline="true" endhead="true">
6544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6545 \begin_inset Text
6546
6547 \begin_layout Standard
6548 \begin_inset ERT
6549 status open
6550
6551 \begin_layout Standard
6552
6553
6554 \backslash
6555 caption*{Continued Example Phone List}
6556 \backslash
6557
6558 \backslash
6559 %
6560 \end_layout
6561
6562 \end_inset
6563
6564
6565 \end_layout
6566
6567 \end_inset
6568 </cell>
6569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6570 \begin_inset Text
6571
6572 \begin_layout Standard
6573
6574 \end_layout
6575
6576 \end_inset
6577 </cell>
6578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6579 \begin_inset Text
6580
6581 \begin_layout Standard
6582
6583 \end_layout
6584
6585 \end_inset
6586 </cell>
6587 </row>
6588 <row topline="true" bottomline="true" endhead="true">
6589 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6590 \begin_inset Text
6591
6592 \begin_layout Standard
6593
6594 \series bold
6595 Example Phone List
6596 \end_layout
6597
6598 \end_inset
6599 </cell>
6600 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6601 \begin_inset Text
6602
6603 \begin_layout Standard
6604
6605 \end_layout
6606
6607 \end_inset
6608 </cell>
6609 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6610 \begin_inset Text
6611
6612 \begin_layout Standard
6613
6614 \end_layout
6615
6616 \end_inset
6617 </cell>
6618 </row>
6619 <row topline="true" bottomline="true" endhead="true">
6620 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6621 \begin_inset Text
6622
6623 \begin_layout Standard
6624
6625 \series bold
6626 NAME
6627 \end_layout
6628
6629 \end_inset
6630 </cell>
6631 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6632 \begin_inset Text
6633
6634 \begin_layout Standard
6635
6636 \end_layout
6637
6638 \end_inset
6639 </cell>
6640 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6641 \begin_inset Text
6642
6643 \begin_layout Standard
6644
6645 \series bold
6646 TEL.
6647 \end_layout
6648
6649 \end_inset
6650 </cell>
6651 </row>
6652 <row topline="true" bottomline="true" endfoot="true">
6653 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6654 \begin_inset Text
6655
6656 \begin_layout Standard
6657 continued on next page
6658 \end_layout
6659
6660 \end_inset
6661 </cell>
6662 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6663 \begin_inset Text
6664
6665 \begin_layout Standard
6666
6667 \end_layout
6668
6669 \end_inset
6670 </cell>
6671 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6672 \begin_inset Text
6673
6674 \begin_layout Standard
6675
6676 \end_layout
6677
6678 \end_inset
6679 </cell>
6680 </row>
6681 <row>
6682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6683 \begin_inset Text
6684
6685 \begin_layout Standard
6686
6687 \series bold
6688 Annovi
6689 \end_layout
6690
6691 \end_inset
6692 </cell>
6693 <cell alignment="center" valignment="top" topline="true" usebox="none">
6694 \begin_inset Text
6695
6696 \begin_layout Standard
6697 Silvia
6698 \end_layout
6699
6700 \end_inset
6701 </cell>
6702 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6703 \begin_inset Text
6704
6705 \begin_layout Standard
6706 111
6707 \end_layout
6708
6709 \end_inset
6710 </cell>
6711 </row>
6712 <row>
6713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6714 \begin_inset Text
6715
6716 \begin_layout Standard
6717
6718 \series bold
6719 Bertoli
6720 \end_layout
6721
6722 \end_inset
6723 </cell>
6724 <cell alignment="center" valignment="top" topline="true" usebox="none">
6725 \begin_inset Text
6726
6727 \begin_layout Standard
6728 Stefano
6729 \end_layout
6730
6731 \end_inset
6732 </cell>
6733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6734 \begin_inset Text
6735
6736 \begin_layout Standard
6737 111
6738 \end_layout
6739
6740 \end_inset
6741 </cell>
6742 </row>
6743 <row>
6744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6745 \begin_inset Text
6746
6747 \begin_layout Standard
6748
6749 \series bold
6750 Bozzi
6751 \end_layout
6752
6753 \end_inset
6754 </cell>
6755 <cell alignment="center" valignment="top" topline="true" usebox="none">
6756 \begin_inset Text
6757
6758 \begin_layout Standard
6759 Walter
6760 \end_layout
6761
6762 \end_inset
6763 </cell>
6764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6765 \begin_inset Text
6766
6767 \begin_layout Standard
6768 111
6769 \end_layout
6770
6771 \end_inset
6772 </cell>
6773 </row>
6774 <row>
6775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6776 \begin_inset Text
6777
6778 \begin_layout Standard
6779
6780 \series bold
6781 Cachia
6782 \end_layout
6783
6784 \end_inset
6785 </cell>
6786 <cell alignment="center" valignment="top" topline="true" usebox="none">
6787 \begin_inset Text
6788
6789 \begin_layout Standard
6790 Maria
6791 \end_layout
6792
6793 \end_inset
6794 </cell>
6795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6796 \begin_inset Text
6797
6798 \begin_layout Standard
6799 111
6800 \end_layout
6801
6802 \end_inset
6803 </cell>
6804 </row>
6805 <row>
6806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6807 \begin_inset Text
6808
6809 \begin_layout Standard
6810
6811 \series bold
6812 Cachia
6813 \end_layout
6814
6815 \end_inset
6816 </cell>
6817 <cell alignment="center" valignment="top" topline="true" usebox="none">
6818 \begin_inset Text
6819
6820 \begin_layout Standard
6821 Maurizio
6822 \end_layout
6823
6824 \end_inset
6825 </cell>
6826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6827 \begin_inset Text
6828
6829 \begin_layout Standard
6830 111
6831 \end_layout
6832
6833 \end_inset
6834 </cell>
6835 </row>
6836 <row>
6837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6838 \begin_inset Text
6839
6840 \begin_layout Standard
6841
6842 \series bold
6843 Cinquemani
6844 \end_layout
6845
6846 \end_inset
6847 </cell>
6848 <cell alignment="center" valignment="top" topline="true" usebox="none">
6849 \begin_inset Text
6850
6851 \begin_layout Standard
6852 Giusi
6853 \end_layout
6854
6855 \end_inset
6856 </cell>
6857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6858 \begin_inset Text
6859
6860 \begin_layout Standard
6861 111
6862 \end_layout
6863
6864 \end_inset
6865 </cell>
6866 </row>
6867 <row>
6868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6869 \begin_inset Text
6870
6871 \begin_layout Standard
6872
6873 \series bold
6874 Colin
6875 \end_layout
6876
6877 \end_inset
6878 </cell>
6879 <cell alignment="center" valignment="top" topline="true" usebox="none">
6880 \begin_inset Text
6881
6882 \begin_layout Standard
6883 Bernard
6884 \end_layout
6885
6886 \end_inset
6887 </cell>
6888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6889 \begin_inset Text
6890
6891 \begin_layout Standard
6892 111
6893 \end_layout
6894
6895 \end_inset
6896 </cell>
6897 </row>
6898 <row>
6899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6900 \begin_inset Text
6901
6902 \begin_layout Standard
6903
6904 \series bold
6905 Concli
6906 \end_layout
6907
6908 \end_inset
6909 </cell>
6910 <cell alignment="center" valignment="top" topline="true" usebox="none">
6911 \begin_inset Text
6912
6913 \begin_layout Standard
6914 Gianfranco
6915 \end_layout
6916
6917 \end_inset
6918 </cell>
6919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6920 \begin_inset Text
6921
6922 \begin_layout Standard
6923 111
6924 \end_layout
6925
6926 \end_inset
6927 </cell>
6928 </row>
6929 <row>
6930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6931 \begin_inset Text
6932
6933 \begin_layout Standard
6934
6935 \series bold
6936 Dal Bosco
6937 \end_layout
6938
6939 \end_inset
6940 </cell>
6941 <cell alignment="center" valignment="top" topline="true" usebox="none">
6942 \begin_inset Text
6943
6944 \begin_layout Standard
6945 Carolina
6946 \end_layout
6947
6948 \end_inset
6949 </cell>
6950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6951 \begin_inset Text
6952
6953 \begin_layout Standard
6954 111
6955 \end_layout
6956
6957 \end_inset
6958 </cell>
6959 </row>
6960 <row>
6961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6962 \begin_inset Text
6963
6964 \begin_layout Standard
6965
6966 \series bold
6967 Dalpiaz
6968 \end_layout
6969
6970 \end_inset
6971 </cell>
6972 <cell alignment="center" valignment="top" topline="true" usebox="none">
6973 \begin_inset Text
6974
6975 \begin_layout Standard
6976 Annamaria
6977 \end_layout
6978
6979 \end_inset
6980 </cell>
6981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6982 \begin_inset Text
6983
6984 \begin_layout Standard
6985 111
6986 \end_layout
6987
6988 \end_inset
6989 </cell>
6990 </row>
6991 <row>
6992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6993 \begin_inset Text
6994
6995 \begin_layout Standard
6996
6997 \series bold
6998 Feliciello
6999 \end_layout
7000
7001 \end_inset
7002 </cell>
7003 <cell alignment="center" valignment="top" topline="true" usebox="none">
7004 \begin_inset Text
7005
7006 \begin_layout Standard
7007 Domenico
7008 \end_layout
7009
7010 \end_inset
7011 </cell>
7012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7013 \begin_inset Text
7014
7015 \begin_layout Standard
7016 111
7017 \end_layout
7018
7019 \end_inset
7020 </cell>
7021 </row>
7022 <row>
7023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7024 \begin_inset Text
7025
7026 \begin_layout Standard
7027
7028 \series bold
7029 Focarelli
7030 \end_layout
7031
7032 \end_inset
7033 </cell>
7034 <cell alignment="center" valignment="top" topline="true" usebox="none">
7035 \begin_inset Text
7036
7037 \begin_layout Standard
7038 Paola
7039 \end_layout
7040
7041 \end_inset
7042 </cell>
7043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7044 \begin_inset Text
7045
7046 \begin_layout Standard
7047 111
7048 \end_layout
7049
7050 \end_inset
7051 </cell>
7052 </row>
7053 <row>
7054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7055 \begin_inset Text
7056
7057 \begin_layout Standard
7058
7059 \series bold
7060 Galletti
7061 \end_layout
7062
7063 \end_inset
7064 </cell>
7065 <cell alignment="center" valignment="top" topline="true" usebox="none">
7066 \begin_inset Text
7067
7068 \begin_layout Standard
7069 Oreste
7070 \end_layout
7071
7072 \end_inset
7073 </cell>
7074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7075 \begin_inset Text
7076
7077 \begin_layout Standard
7078 111
7079 \end_layout
7080
7081 \end_inset
7082 </cell>
7083 </row>
7084 <row>
7085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7086 \begin_inset Text
7087
7088 \begin_layout Standard
7089
7090 \series bold
7091 Gasparini
7092 \end_layout
7093
7094 \end_inset
7095 </cell>
7096 <cell alignment="center" valignment="top" topline="true" usebox="none">
7097 \begin_inset Text
7098
7099 \begin_layout Standard
7100 Franca
7101 \end_layout
7102
7103 \end_inset
7104 </cell>
7105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7106 \begin_inset Text
7107
7108 \begin_layout Standard
7109 111
7110 \end_layout
7111
7112 \end_inset
7113 </cell>
7114 </row>
7115 <row>
7116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7117 \begin_inset Text
7118
7119 \begin_layout Standard
7120
7121 \series bold
7122 Rizzardi
7123 \series default
7124
7125 \begin_inset Foot
7126 status collapsed
7127
7128 \begin_layout Standard
7129 Example footnote
7130 \end_layout
7131
7132 \end_inset
7133
7134
7135 \end_layout
7136
7137 \end_inset
7138 </cell>
7139 <cell alignment="center" valignment="top" topline="true" usebox="none">
7140 \begin_inset Text
7141
7142 \begin_layout Standard
7143 Paola
7144 \end_layout
7145
7146 \end_inset
7147 </cell>
7148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7149 \begin_inset Text
7150
7151 \begin_layout Standard
7152 111
7153 \end_layout
7154
7155 \end_inset
7156 </cell>
7157 </row>
7158 <row>
7159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7160 \begin_inset Text
7161
7162 \begin_layout Standard
7163
7164 \series bold
7165 Lassini
7166 \end_layout
7167
7168 \end_inset
7169 </cell>
7170 <cell alignment="center" valignment="top" topline="true" usebox="none">
7171 \begin_inset Text
7172
7173 \begin_layout Standard
7174 Giancarlo
7175 \end_layout
7176
7177 \end_inset
7178 </cell>
7179 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7180 \begin_inset Text
7181
7182 \begin_layout Standard
7183 111
7184 \end_layout
7185
7186 \end_inset
7187 </cell>
7188 </row>
7189 <row>
7190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7191 \begin_inset Text
7192
7193 \begin_layout Standard
7194
7195 \series bold
7196 Malfatti
7197 \end_layout
7198
7199 \end_inset
7200 </cell>
7201 <cell alignment="center" valignment="top" topline="true" usebox="none">
7202 \begin_inset Text
7203
7204 \begin_layout Standard
7205 Luciano
7206 \end_layout
7207
7208 \end_inset
7209 </cell>
7210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7211 \begin_inset Text
7212
7213 \begin_layout Standard
7214 111
7215 \end_layout
7216
7217 \end_inset
7218 </cell>
7219 </row>
7220 <row>
7221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7222 \begin_inset Text
7223
7224 \begin_layout Standard
7225
7226 \series bold
7227 Malfatti
7228 \end_layout
7229
7230 \end_inset
7231 </cell>
7232 <cell alignment="center" valignment="top" topline="true" usebox="none">
7233 \begin_inset Text
7234
7235 \begin_layout Standard
7236 Valeriano
7237 \end_layout
7238
7239 \end_inset
7240 </cell>
7241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7242 \begin_inset Text
7243
7244 \begin_layout Standard
7245 111
7246 \end_layout
7247
7248 \end_inset
7249 </cell>
7250 </row>
7251 <row>
7252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7253 \begin_inset Text
7254
7255 \begin_layout Standard
7256
7257 \series bold
7258 Meneguzzo
7259 \end_layout
7260
7261 \end_inset
7262 </cell>
7263 <cell alignment="center" valignment="top" topline="true" usebox="none">
7264 \begin_inset Text
7265
7266 \begin_layout Standard
7267 Roberto
7268 \end_layout
7269
7270 \end_inset
7271 </cell>
7272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7273 \begin_inset Text
7274
7275 \begin_layout Standard
7276 111
7277 \end_layout
7278
7279 \end_inset
7280 </cell>
7281 </row>
7282 <row>
7283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7284 \begin_inset Text
7285
7286 \begin_layout Standard
7287
7288 \series bold
7289 Mezzadra
7290 \end_layout
7291
7292 \end_inset
7293 </cell>
7294 <cell alignment="center" valignment="top" topline="true" usebox="none">
7295 \begin_inset Text
7296
7297 \begin_layout Standard
7298 Roberto
7299 \end_layout
7300
7301 \end_inset
7302 </cell>
7303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7304 \begin_inset Text
7305
7306 \begin_layout Standard
7307 111
7308 \end_layout
7309
7310 \end_inset
7311 </cell>
7312 </row>
7313 <row>
7314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7315 \begin_inset Text
7316
7317 \begin_layout Standard
7318
7319 \series bold
7320 Pirpamer
7321 \end_layout
7322
7323 \end_inset
7324 </cell>
7325 <cell alignment="center" valignment="top" topline="true" usebox="none">
7326 \begin_inset Text
7327
7328 \begin_layout Standard
7329 Erich
7330 \end_layout
7331
7332 \end_inset
7333 </cell>
7334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7335 \begin_inset Text
7336
7337 \begin_layout Standard
7338 111
7339 \end_layout
7340
7341 \end_inset
7342 </cell>
7343 </row>
7344 <row>
7345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7346 \begin_inset Text
7347
7348 \begin_layout Standard
7349
7350 \series bold
7351 Pochiesa
7352 \end_layout
7353
7354 \end_inset
7355 </cell>
7356 <cell alignment="center" valignment="top" topline="true" usebox="none">
7357 \begin_inset Text
7358
7359 \begin_layout Standard
7360 Paolo
7361 \end_layout
7362
7363 \end_inset
7364 </cell>
7365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7366 \begin_inset Text
7367
7368 \begin_layout Standard
7369 111, 222
7370 \end_layout
7371
7372 \end_inset
7373 </cell>
7374 </row>
7375 <row>
7376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7377 \begin_inset Text
7378
7379 \begin_layout Standard
7380
7381 \series bold
7382 Radina
7383 \end_layout
7384
7385 \end_inset
7386 </cell>
7387 <cell alignment="center" valignment="top" topline="true" usebox="none">
7388 \begin_inset Text
7389
7390 \begin_layout Standard
7391 Claudio
7392 \end_layout
7393
7394 \end_inset
7395 </cell>
7396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7397 \begin_inset Text
7398
7399 \begin_layout Standard
7400 111
7401 \end_layout
7402
7403 \end_inset
7404 </cell>
7405 </row>
7406 <row>
7407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7408 \begin_inset Text
7409
7410 \begin_layout Standard
7411
7412 \series bold
7413 Stuffer
7414 \end_layout
7415
7416 \end_inset
7417 </cell>
7418 <cell alignment="center" valignment="top" topline="true" usebox="none">
7419 \begin_inset Text
7420
7421 \begin_layout Standard
7422 Oskar
7423 \end_layout
7424
7425 \end_inset
7426 </cell>
7427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7428 \begin_inset Text
7429
7430 \begin_layout Standard
7431 111
7432 \end_layout
7433
7434 \end_inset
7435 </cell>
7436 </row>
7437 <row>
7438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7439 \begin_inset Text
7440
7441 \begin_layout Standard
7442
7443 \series bold
7444 Tacchelli
7445 \end_layout
7446
7447 \end_inset
7448 </cell>
7449 <cell alignment="center" valignment="top" topline="true" usebox="none">
7450 \begin_inset Text
7451
7452 \begin_layout Standard
7453 Ugo
7454 \end_layout
7455
7456 \end_inset
7457 </cell>
7458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7459 \begin_inset Text
7460
7461 \begin_layout Standard
7462 111
7463 \end_layout
7464
7465 \end_inset
7466 </cell>
7467 </row>
7468 <row>
7469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7470 \begin_inset Text
7471
7472 \begin_layout Standard
7473
7474 \series bold
7475 Tezzele
7476 \end_layout
7477
7478 \end_inset
7479 </cell>
7480 <cell alignment="center" valignment="top" topline="true" usebox="none">
7481 \begin_inset Text
7482
7483 \begin_layout Standard
7484 Margit
7485 \end_layout
7486
7487 \end_inset
7488 </cell>
7489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7490 \begin_inset Text
7491
7492 \begin_layout Standard
7493 111
7494 \end_layout
7495
7496 \end_inset
7497 </cell>
7498 </row>
7499 <row>
7500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7501 \begin_inset Text
7502
7503 \begin_layout Standard
7504
7505 \series bold
7506 Unterkalmsteiner
7507 \end_layout
7508
7509 \end_inset
7510 </cell>
7511 <cell alignment="center" valignment="top" topline="true" usebox="none">
7512 \begin_inset Text
7513
7514 \begin_layout Standard
7515 Frieda
7516 \end_layout
7517
7518 \end_inset
7519 </cell>
7520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7521 \begin_inset Text
7522
7523 \begin_layout Standard
7524 111
7525 \end_layout
7526
7527 \end_inset
7528 </cell>
7529 </row>
7530 <row>
7531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7532 \begin_inset Text
7533
7534 \begin_layout Standard
7535
7536 \series bold
7537 Vieider
7538 \end_layout
7539
7540 \end_inset
7541 </cell>
7542 <cell alignment="center" valignment="top" topline="true" usebox="none">
7543 \begin_inset Text
7544
7545 \begin_layout Standard
7546 Hilde
7547 \end_layout
7548
7549 \end_inset
7550 </cell>
7551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7552 \begin_inset Text
7553
7554 \begin_layout Standard
7555 111
7556 \end_layout
7557
7558 \end_inset
7559 </cell>
7560 </row>
7561 <row>
7562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7563 \begin_inset Text
7564
7565 \begin_layout Standard
7566
7567 \series bold
7568 Vigna
7569 \end_layout
7570
7571 \end_inset
7572 </cell>
7573 <cell alignment="center" valignment="top" topline="true" usebox="none">
7574 \begin_inset Text
7575
7576 \begin_layout Standard
7577 Jürgen
7578 \end_layout
7579
7580 \end_inset
7581 </cell>
7582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Standard
7586 111
7587 \end_layout
7588
7589 \end_inset
7590 </cell>
7591 </row>
7592 <row>
7593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7594 \begin_inset Text
7595
7596 \begin_layout Standard
7597
7598 \series bold
7599 Weber
7600 \end_layout
7601
7602 \end_inset
7603 </cell>
7604 <cell alignment="center" valignment="top" topline="true" usebox="none">
7605 \begin_inset Text
7606
7607 \begin_layout Standard
7608 Maurizio
7609 \end_layout
7610
7611 \end_inset
7612 </cell>
7613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7614 \begin_inset Text
7615
7616 \begin_layout Standard
7617 111
7618 \end_layout
7619
7620 \end_inset
7621 </cell>
7622 </row>
7623 <row bottomline="true">
7624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7625 \begin_inset Text
7626
7627 \begin_layout Standard
7628
7629 \series bold
7630 Winkler
7631 \end_layout
7632
7633 \end_inset
7634 </cell>
7635 <cell alignment="center" valignment="top" topline="true" usebox="none">
7636 \begin_inset Text
7637
7638 \begin_layout Standard
7639 Franz
7640 \end_layout
7641
7642 \end_inset
7643 </cell>
7644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7645 \begin_inset Text
7646
7647 \begin_layout Standard
7648 111
7649 \end_layout
7650
7651 \end_inset
7652 </cell>
7653 </row>
7654 <row bottomline="true">
7655 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7656 \begin_inset Text
7657
7658 \begin_layout Standard
7659  
7660 \end_layout
7661
7662 \end_inset
7663 </cell>
7664 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7665 \begin_inset Text
7666
7667 \begin_layout Standard
7668
7669 \end_layout
7670
7671 \end_inset
7672 </cell>
7673 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7674 \begin_inset Text
7675
7676 \begin_layout Standard
7677
7678 \end_layout
7679
7680 \end_inset
7681 </cell>
7682 </row>
7683 <row>
7684 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7685 \begin_inset Text
7686
7687 \begin_layout Standard
7688
7689 \series bold
7690 Annovi
7691 \end_layout
7692
7693 \end_inset
7694 </cell>
7695 <cell alignment="center" valignment="top" topline="true" usebox="none">
7696 \begin_inset Text
7697
7698 \begin_layout Standard
7699 Silvia
7700 \end_layout
7701
7702 \end_inset
7703 </cell>
7704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7705 \begin_inset Text
7706
7707 \begin_layout Standard
7708 555
7709 \end_layout
7710
7711 \end_inset
7712 </cell>
7713 </row>
7714 <row>
7715 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7716 \begin_inset Text
7717
7718 \begin_layout Standard
7719
7720 \series bold
7721 Bertoli
7722 \end_layout
7723
7724 \end_inset
7725 </cell>
7726 <cell alignment="center" valignment="top" topline="true" usebox="none">
7727 \begin_inset Text
7728
7729 \begin_layout Standard
7730 Stefano
7731 \end_layout
7732
7733 \end_inset
7734 </cell>
7735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7736 \begin_inset Text
7737
7738 \begin_layout Standard
7739 555
7740 \end_layout
7741
7742 \end_inset
7743 </cell>
7744 </row>
7745 <row>
7746 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7747 \begin_inset Text
7748
7749 \begin_layout Standard
7750
7751 \series bold
7752 Bozzi
7753 \end_layout
7754
7755 \end_inset
7756 </cell>
7757 <cell alignment="center" valignment="top" topline="true" usebox="none">
7758 \begin_inset Text
7759
7760 \begin_layout Standard
7761 Walter
7762 \end_layout
7763
7764 \end_inset
7765 </cell>
7766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7767 \begin_inset Text
7768
7769 \begin_layout Standard
7770 555
7771 \end_layout
7772
7773 \end_inset
7774 </cell>
7775 </row>
7776 <row>
7777 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7778 \begin_inset Text
7779
7780 \begin_layout Standard
7781
7782 \series bold
7783 Cachia
7784 \end_layout
7785
7786 \end_inset
7787 </cell>
7788 <cell alignment="center" valignment="top" topline="true" usebox="none">
7789 \begin_inset Text
7790
7791 \begin_layout Standard
7792 Maria
7793 \end_layout
7794
7795 \end_inset
7796 </cell>
7797 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7798 \begin_inset Text
7799
7800 \begin_layout Standard
7801 555
7802 \end_layout
7803
7804 \end_inset
7805 </cell>
7806 </row>
7807 <row>
7808 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7809 \begin_inset Text
7810
7811 \begin_layout Standard
7812
7813 \series bold
7814 Cachia
7815 \end_layout
7816
7817 \end_inset
7818 </cell>
7819 <cell alignment="center" valignment="top" topline="true" usebox="none">
7820 \begin_inset Text
7821
7822 \begin_layout Standard
7823 Maurizio
7824 \end_layout
7825
7826 \end_inset
7827 </cell>
7828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7829 \begin_inset Text
7830
7831 \begin_layout Standard
7832 555
7833 \end_layout
7834
7835 \end_inset
7836 </cell>
7837 </row>
7838 <row>
7839 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7840 \begin_inset Text
7841
7842 \begin_layout Standard
7843
7844 \series bold
7845 Cinquemani
7846 \end_layout
7847
7848 \end_inset
7849 </cell>
7850 <cell alignment="center" valignment="top" topline="true" usebox="none">
7851 \begin_inset Text
7852
7853 \begin_layout Standard
7854 Giusi
7855 \end_layout
7856
7857 \end_inset
7858 </cell>
7859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7860 \begin_inset Text
7861
7862 \begin_layout Standard
7863 555
7864 \end_layout
7865
7866 \end_inset
7867 </cell>
7868 </row>
7869 <row>
7870 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7871 \begin_inset Text
7872
7873 \begin_layout Standard
7874
7875 \series bold
7876 Colin
7877 \end_layout
7878
7879 \end_inset
7880 </cell>
7881 <cell alignment="center" valignment="top" topline="true" usebox="none">
7882 \begin_inset Text
7883
7884 \begin_layout Standard
7885 Bernard
7886 \end_layout
7887
7888 \end_inset
7889 </cell>
7890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7891 \begin_inset Text
7892
7893 \begin_layout Standard
7894 555
7895 \end_layout
7896
7897 \end_inset
7898 </cell>
7899 </row>
7900 <row>
7901 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7902 \begin_inset Text
7903
7904 \begin_layout Standard
7905
7906 \series bold
7907 Concli
7908 \end_layout
7909
7910 \end_inset
7911 </cell>
7912 <cell alignment="center" valignment="top" topline="true" usebox="none">
7913 \begin_inset Text
7914
7915 \begin_layout Standard
7916 Gianfranco
7917 \end_layout
7918
7919 \end_inset
7920 </cell>
7921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7922 \begin_inset Text
7923
7924 \begin_layout Standard
7925 555
7926 \end_layout
7927
7928 \end_inset
7929 </cell>
7930 </row>
7931 <row>
7932 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7933 \begin_inset Text
7934
7935 \begin_layout Standard
7936
7937 \series bold
7938 Dal Bosco
7939 \end_layout
7940
7941 \end_inset
7942 </cell>
7943 <cell alignment="center" valignment="top" topline="true" usebox="none">
7944 \begin_inset Text
7945
7946 \begin_layout Standard
7947 Carolina
7948 \end_layout
7949
7950 \end_inset
7951 </cell>
7952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7953 \begin_inset Text
7954
7955 \begin_layout Standard
7956 555
7957 \end_layout
7958
7959 \end_inset
7960 </cell>
7961 </row>
7962 <row>
7963 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7964 \begin_inset Text
7965
7966 \begin_layout Standard
7967
7968 \series bold
7969 Dalpiaz
7970 \end_layout
7971
7972 \end_inset
7973 </cell>
7974 <cell alignment="center" valignment="top" topline="true" usebox="none">
7975 \begin_inset Text
7976
7977 \begin_layout Standard
7978 Annamaria
7979 \end_layout
7980
7981 \end_inset
7982 </cell>
7983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7984 \begin_inset Text
7985
7986 \begin_layout Standard
7987 555
7988 \end_layout
7989
7990 \end_inset
7991 </cell>
7992 </row>
7993 <row>
7994 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7995 \begin_inset Text
7996
7997 \begin_layout Standard
7998
7999 \series bold
8000 Feliciello
8001 \end_layout
8002
8003 \end_inset
8004 </cell>
8005 <cell alignment="center" valignment="top" topline="true" usebox="none">
8006 \begin_inset Text
8007
8008 \begin_layout Standard
8009 Domenico
8010 \end_layout
8011
8012 \end_inset
8013 </cell>
8014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8015 \begin_inset Text
8016
8017 \begin_layout Standard
8018 555
8019 \end_layout
8020
8021 \end_inset
8022 </cell>
8023 </row>
8024 <row>
8025 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8026 \begin_inset Text
8027
8028 \begin_layout Standard
8029
8030 \series bold
8031 Focarelli
8032 \end_layout
8033
8034 \end_inset
8035 </cell>
8036 <cell alignment="center" valignment="top" topline="true" usebox="none">
8037 \begin_inset Text
8038
8039 \begin_layout Standard
8040 Paola
8041 \end_layout
8042
8043 \end_inset
8044 </cell>
8045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8046 \begin_inset Text
8047
8048 \begin_layout Standard
8049 555
8050 \end_layout
8051
8052 \end_inset
8053 </cell>
8054 </row>
8055 <row>
8056 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8057 \begin_inset Text
8058
8059 \begin_layout Standard
8060
8061 \series bold
8062 Galletti
8063 \end_layout
8064
8065 \end_inset
8066 </cell>
8067 <cell alignment="center" valignment="top" topline="true" usebox="none">
8068 \begin_inset Text
8069
8070 \begin_layout Standard
8071 Oreste
8072 \end_layout
8073
8074 \end_inset
8075 </cell>
8076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8077 \begin_inset Text
8078
8079 \begin_layout Standard
8080 555
8081 \end_layout
8082
8083 \end_inset
8084 </cell>
8085 </row>
8086 <row>
8087 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8088 \begin_inset Text
8089
8090 \begin_layout Standard
8091
8092 \series bold
8093 Gasparini
8094 \end_layout
8095
8096 \end_inset
8097 </cell>
8098 <cell alignment="center" valignment="top" topline="true" usebox="none">
8099 \begin_inset Text
8100
8101 \begin_layout Standard
8102 Franca
8103 \end_layout
8104
8105 \end_inset
8106 </cell>
8107 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8108 \begin_inset Text
8109
8110 \begin_layout Standard
8111 555
8112 \end_layout
8113
8114 \end_inset
8115 </cell>
8116 </row>
8117 <row>
8118 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8119 \begin_inset Text
8120
8121 \begin_layout Standard
8122
8123 \series bold
8124 Rizzardi
8125 \end_layout
8126
8127 \end_inset
8128 </cell>
8129 <cell alignment="center" valignment="top" topline="true" usebox="none">
8130 \begin_inset Text
8131
8132 \begin_layout Standard
8133 Paola
8134 \end_layout
8135
8136 \end_inset
8137 </cell>
8138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8139 \begin_inset Text
8140
8141 \begin_layout Standard
8142 555
8143 \end_layout
8144
8145 \end_inset
8146 </cell>
8147 </row>
8148 <row>
8149 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8150 \begin_inset Text
8151
8152 \begin_layout Standard
8153
8154 \series bold
8155 Lassini
8156 \end_layout
8157
8158 \end_inset
8159 </cell>
8160 <cell alignment="center" valignment="top" topline="true" usebox="none">
8161 \begin_inset Text
8162
8163 \begin_layout Standard
8164 Giancarlo
8165 \end_layout
8166
8167 \end_inset
8168 </cell>
8169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8170 \begin_inset Text
8171
8172 \begin_layout Standard
8173 555
8174 \end_layout
8175
8176 \end_inset
8177 </cell>
8178 </row>
8179 <row>
8180 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8181 \begin_inset Text
8182
8183 \begin_layout Standard
8184
8185 \series bold
8186 Malfatti
8187 \end_layout
8188
8189 \end_inset
8190 </cell>
8191 <cell alignment="center" valignment="top" topline="true" usebox="none">
8192 \begin_inset Text
8193
8194 \begin_layout Standard
8195 Luciano
8196 \end_layout
8197
8198 \end_inset
8199 </cell>
8200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8201 \begin_inset Text
8202
8203 \begin_layout Standard
8204 555
8205 \end_layout
8206
8207 \end_inset
8208 </cell>
8209 </row>
8210 <row>
8211 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8212 \begin_inset Text
8213
8214 \begin_layout Standard
8215
8216 \series bold
8217 Malfatti
8218 \end_layout
8219
8220 \end_inset
8221 </cell>
8222 <cell alignment="center" valignment="top" topline="true" usebox="none">
8223 \begin_inset Text
8224
8225 \begin_layout Standard
8226 Valeriano
8227 \end_layout
8228
8229 \end_inset
8230 </cell>
8231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8232 \begin_inset Text
8233
8234 \begin_layout Standard
8235 555
8236 \end_layout
8237
8238 \end_inset
8239 </cell>
8240 </row>
8241 <row>
8242 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8243 \begin_inset Text
8244
8245 \begin_layout Standard
8246
8247 \series bold
8248 Meneguzzo
8249 \end_layout
8250
8251 \end_inset
8252 </cell>
8253 <cell alignment="center" valignment="top" topline="true" usebox="none">
8254 \begin_inset Text
8255
8256 \begin_layout Standard
8257 Roberto
8258 \end_layout
8259
8260 \end_inset
8261 </cell>
8262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8263 \begin_inset Text
8264
8265 \begin_layout Standard
8266 555
8267 \end_layout
8268
8269 \end_inset
8270 </cell>
8271 </row>
8272 <row bottomline="true">
8273 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8274 \begin_inset Text
8275
8276 \begin_layout Standard
8277
8278 \series bold
8279 Mezzadra
8280 \end_layout
8281
8282 \end_inset
8283 </cell>
8284 <cell alignment="center" valignment="top" topline="true" usebox="none">
8285 \begin_inset Text
8286
8287 \begin_layout Standard
8288 Roberto
8289 \end_layout
8290
8291 \end_inset
8292 </cell>
8293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8294 \begin_inset Text
8295
8296 \begin_layout Standard
8297 555
8298 \end_layout
8299
8300 \end_inset
8301 </cell>
8302 </row>
8303 <row bottomline="true" endlastfoot="true">
8304 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8305 \begin_inset Text
8306
8307 \begin_layout Standard
8308
8309 \end_layout
8310
8311 \end_inset
8312 </cell>
8313 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8314 \begin_inset Text
8315
8316 \begin_layout Standard
8317
8318 \end_layout
8319
8320 \end_inset
8321 </cell>
8322 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8323 \begin_inset Text
8324
8325 \begin_layout Standard
8326
8327 \end_layout
8328
8329 \end_inset
8330 </cell>
8331 </row>
8332 </lyxtabular>
8333
8334 \end_inset
8335
8336
8337 \end_layout
8338
8339 \begin_layout Section
8340 Special Longtable Issues
8341 \begin_inset LatexCommand label
8342 name "sec:Special-Longtable-Issues"
8343
8344 \end_inset
8345
8346
8347 \end_layout
8348
8349 \begin_layout Subsection
8350 Longtable Calculation
8351 \begin_inset LatexCommand index
8352 name "Longtables ! Calculation"
8353
8354 \end_inset
8355
8356
8357 \end_layout
8358
8359 \begin_layout Standard
8360 LaTeX calculates the height of table pages and their page breaks using so
8361  called chunks.
8362  Chunks are pieces of the tables that are at once in LaTeX's memory.
8363  The default value is historically set to only 20 table rows.
8364  If you are using longtables with many pages this may slow down the creation
8365  of your document.
8366  You can safely increase the chunk size to values of 100-1000 by adding
8367  this command line to your document preamble:
8368 \end_layout
8369
8370 \begin_layout Standard
8371
8372 \series bold
8373
8374 \backslash
8375 setcounter{LTchunksize}{100}
8376 \end_layout
8377
8378 \begin_layout Subsection
8379 Floats and Longtables
8380 \begin_inset LatexCommand index
8381 name "Longtables ! Floats"
8382
8383 \end_inset
8384
8385
8386 \end_layout
8387
8388 \begin_layout Standard
8389 There might be problems when a float appears on the same page where a longtable
8390  starts.
8391  To avoid such situation, add the command 
8392 \series bold
8393
8394 \backslash
8395 clearpage
8396 \series default
8397  as ERT before your longtable.
8398 \end_layout
8399
8400 \begin_layout Subsection
8401 Forced Page Breaks
8402 \begin_inset LatexCommand index
8403 name "Longtables ! Forced Page Breaks"
8404
8405 \end_inset
8406
8407
8408 \end_layout
8409
8410 \begin_layout Standard
8411 By default tables are only broken between rows.
8412  If you have a cell with multiples lines and want to have a page break within
8413  the cell, insert the new line command 
8414 \begin_inset Quotes eld
8415 \end_inset
8416
8417
8418 \series bold
8419
8420 \backslash
8421
8422 \backslash
8423
8424 \series default
8425
8426 \begin_inset Quotes erd
8427 \end_inset
8428
8429  as ERT at this point of the cell where it should be broken.
8430  Before the 
8431 \series bold
8432
8433 \backslash
8434
8435 \backslash
8436
8437 \series default
8438  command you have to insert in ERT so many 
8439 \begin_inset Quotes eld
8440 \end_inset
8441
8442
8443 \series bold
8444 &
8445 \series default
8446
8447 \begin_inset Quotes erd
8448 \end_inset
8449
8450  characters like the number of the following table columns.
8451  The 
8452 \series bold
8453 &
8454 \series default
8455  is the character to separate table cells.
8456  Write in ERT after each 
8457 \series bold
8458 &
8459 \series default
8460  the content of the corresponding following cell and delete the content
8461  of these cells.
8462 \newline
8463 Behind the the 
8464 \series bold
8465
8466 \backslash
8467
8468 \backslash
8469
8470 \series default
8471  command, insert so many 
8472 \series bold
8473 &
8474 \series default
8475  characters like the number of table columns before the current column.
8476  In Table\InsetSpace ~
8477
8478 \begin_inset LatexCommand ref
8479 reference "tab:ForcedPagebreak"
8480
8481 \end_inset
8482
8483  the cell that should be broken is in the second column followed by another
8484  column.
8485  Therefore the following command was inserted in the cell as ERT behind
8486  
8487 \begin_inset Quotes eld
8488 \end_inset
8489
8490
8491 \emph on
8492 Castelchiodato,
8493 \emph default
8494
8495 \begin_inset Quotes erd
8496 \end_inset
8497
8498 :
8499 \end_layout
8500
8501 \begin_layout Standard
8502
8503 \series bold
8504 & 111
8505 \backslash
8506
8507 \backslash
8508
8509 \newline
8510 &
8511 \end_layout
8512
8513 \begin_layout Standard
8514 The 
8515 \begin_inset Quotes eld
8516 \end_inset
8517
8518 111
8519 \begin_inset Quotes erd
8520 \end_inset
8521
8522  in the third columns of the row was deleted.
8523  If your footer row of the longtable has for a certain reason no upper line
8524  but you would have a horizontal line where the cell is broken, use this
8525  command instead:
8526 \end_layout
8527
8528 \begin_layout Standard
8529
8530 \series bold
8531 & 111
8532 \backslash
8533
8534 \backslash
8535
8536 \newline
8537
8538 \backslash
8539 hline &
8540 \end_layout
8541
8542 \begin_layout Standard
8543 When the cell to be broken is in the last column, the command
8544 \end_layout
8545
8546 \begin_layout Standard
8547
8548 \series bold
8549
8550 \backslash
8551 setlength{
8552 \backslash
8553 parf\SpecialChar \textcompwordmark{}
8554 illskip}{0pt}
8555 \end_layout
8556
8557 \begin_layout Standard
8558 must be inserted as ERT at the beginning of the cell.
8559  This assures that the part of the cell that will be displayed on the new
8560  page appears with the full width.
8561 \end_layout
8562
8563 \begin_layout Standard
8564 \align center
8565 \begin_inset Tabular
8566 <lyxtabular version="3" rows="39" columns="3">
8567 <features islongtable="true">
8568 <column alignment="left" valignment="top" leftline="true" width="0cm">
8569 <column alignment="left" valignment="top" rightline="true" width="3cm">
8570 <column alignment="right" valignment="top" rightline="true" width="0pt">
8571 <row endfirsthead="true">
8572 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8573 \begin_inset Text
8574
8575 \begin_layout Standard
8576 \begin_inset Caption
8577
8578 \begin_layout Standard
8579 Table with forced page break in table cell
8580 \begin_inset LatexCommand label
8581 name "tab:ForcedPagebreak"
8582
8583 \end_inset
8584
8585
8586 \begin_inset OptArg
8587 status collapsed
8588
8589 \begin_layout Standard
8590 Table with forced page break in table cell
8591 \end_layout
8592
8593 \end_inset
8594
8595
8596 \end_layout
8597
8598 \end_inset
8599
8600
8601 \begin_inset ERT
8602 status collapsed
8603
8604 \begin_layout Standard
8605
8606
8607 \backslash
8608
8609 \backslash
8610 %
8611 \end_layout
8612
8613 \end_inset
8614
8615
8616 \end_layout
8617
8618 \end_inset
8619 </cell>
8620 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8621 \begin_inset Text
8622
8623 \begin_layout Standard
8624
8625 \end_layout
8626
8627 \end_inset
8628 </cell>
8629 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8630 \begin_inset Text
8631
8632 \begin_layout Standard
8633
8634 \end_layout
8635
8636 \end_inset
8637 </cell>
8638 </row>
8639 <row topline="true" bottomline="true" endfirsthead="true">
8640 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8641 \begin_inset Text
8642
8643 \begin_layout Standard
8644
8645 \series bold
8646 Example Phone List (ignore the names)
8647 \end_layout
8648
8649 \end_inset
8650 </cell>
8651 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8652 \begin_inset Text
8653
8654 \begin_layout Standard
8655
8656 \end_layout
8657
8658 \end_inset
8659 </cell>
8660 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8661 \begin_inset Text
8662
8663 \begin_layout Standard
8664
8665 \end_layout
8666
8667 \end_inset
8668 </cell>
8669 </row>
8670 <row topline="true" bottomline="true" endfirsthead="true">
8671 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8672 \begin_inset Text
8673
8674 \begin_layout Standard
8675
8676 \series bold
8677 NAME
8678 \end_layout
8679
8680 \end_inset
8681 </cell>
8682 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8683 \begin_inset Text
8684
8685 \begin_layout Standard
8686
8687 \end_layout
8688
8689 \end_inset
8690 </cell>
8691 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8692 \begin_inset Text
8693
8694 \begin_layout Standard
8695
8696 \series bold
8697 TEL.
8698 \end_layout
8699
8700 \end_inset
8701 </cell>
8702 </row>
8703 <row bottomline="true" endhead="true">
8704 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8705 \begin_inset Text
8706
8707 \begin_layout Standard
8708 \begin_inset ERT
8709 status collapsed
8710
8711 \begin_layout Standard
8712
8713
8714 \backslash
8715 caption*{Continued table with forced page break in table cell}
8716 \backslash
8717
8718 \backslash
8719 %
8720 \end_layout
8721
8722 \end_inset
8723
8724
8725 \end_layout
8726
8727 \end_inset
8728 </cell>
8729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8730 \begin_inset Text
8731
8732 \begin_layout Standard
8733
8734 \end_layout
8735
8736 \end_inset
8737 </cell>
8738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8739 \begin_inset Text
8740
8741 \begin_layout Standard
8742
8743 \end_layout
8744
8745 \end_inset
8746 </cell>
8747 </row>
8748 <row topline="true" bottomline="true" endhead="true">
8749 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8750 \begin_inset Text
8751
8752 \begin_layout Standard
8753  
8754 \series bold
8755 Example Phone List
8756 \end_layout
8757
8758 \end_inset
8759 </cell>
8760 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8761 \begin_inset Text
8762
8763 \begin_layout Standard
8764
8765 \end_layout
8766
8767 \end_inset
8768 </cell>
8769 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8770 \begin_inset Text
8771
8772 \begin_layout Standard
8773
8774 \end_layout
8775
8776 \end_inset
8777 </cell>
8778 </row>
8779 <row topline="true" bottomline="true" endhead="true">
8780 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8781 \begin_inset Text
8782
8783 \begin_layout Standard
8784
8785 \series bold
8786 NAME
8787 \end_layout
8788
8789 \end_inset
8790 </cell>
8791 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8792 \begin_inset Text
8793
8794 \begin_layout Standard
8795
8796 \end_layout
8797
8798 \end_inset
8799 </cell>
8800 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8801 \begin_inset Text
8802
8803 \begin_layout Standard
8804
8805 \series bold
8806 TEL.
8807 \end_layout
8808
8809 \end_inset
8810 </cell>
8811 </row>
8812 <row topline="true" bottomline="true" endfoot="true">
8813 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8814 \begin_inset Text
8815
8816 \begin_layout Standard
8817 continued on next page
8818 \end_layout
8819
8820 \end_inset
8821 </cell>
8822 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8823 \begin_inset Text
8824
8825 \begin_layout Standard
8826
8827 \end_layout
8828
8829 \end_inset
8830 </cell>
8831 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8832 \begin_inset Text
8833
8834 \begin_layout Standard
8835
8836 \end_layout
8837
8838 \end_inset
8839 </cell>
8840 </row>
8841 <row>
8842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8843 \begin_inset Text
8844
8845 \begin_layout Standard
8846
8847 \series bold
8848 Annovi
8849 \end_layout
8850
8851 \end_inset
8852 </cell>
8853 <cell alignment="center" valignment="top" topline="true" usebox="none">
8854 \begin_inset Text
8855
8856 \begin_layout Standard
8857 Silvia
8858 \end_layout
8859
8860 \end_inset
8861 </cell>
8862 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8863 \begin_inset Text
8864
8865 \begin_layout Standard
8866 111
8867 \end_layout
8868
8869 \end_inset
8870 </cell>
8871 </row>
8872 <row>
8873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8874 \begin_inset Text
8875
8876 \begin_layout Standard
8877
8878 \series bold
8879 Bertoli
8880 \end_layout
8881
8882 \end_inset
8883 </cell>
8884 <cell alignment="center" valignment="top" topline="true" usebox="none">
8885 \begin_inset Text
8886
8887 \begin_layout Standard
8888 Stefano
8889 \end_layout
8890
8891 \end_inset
8892 </cell>
8893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8894 \begin_inset Text
8895
8896 \begin_layout Standard
8897 111
8898 \end_layout
8899
8900 \end_inset
8901 </cell>
8902 </row>
8903 <row>
8904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8905 \begin_inset Text
8906
8907 \begin_layout Standard
8908
8909 \series bold
8910 Bozzi
8911 \end_layout
8912
8913 \end_inset
8914 </cell>
8915 <cell alignment="center" valignment="top" topline="true" usebox="none">
8916 \begin_inset Text
8917
8918 \begin_layout Standard
8919 Walter
8920 \end_layout
8921
8922 \end_inset
8923 </cell>
8924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8925 \begin_inset Text
8926
8927 \begin_layout Standard
8928 111
8929 \end_layout
8930
8931 \end_inset
8932 </cell>
8933 </row>
8934 <row>
8935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8936 \begin_inset Text
8937
8938 \begin_layout Standard
8939
8940 \series bold
8941 Cachia
8942 \end_layout
8943
8944 \end_inset
8945 </cell>
8946 <cell alignment="center" valignment="top" topline="true" usebox="none">
8947 \begin_inset Text
8948
8949 \begin_layout Standard
8950 Maria
8951 \end_layout
8952
8953 \end_inset
8954 </cell>
8955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8956 \begin_inset Text
8957
8958 \begin_layout Standard
8959 111
8960 \end_layout
8961
8962 \end_inset
8963 </cell>
8964 </row>
8965 <row>
8966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8967 \begin_inset Text
8968
8969 \begin_layout Standard
8970
8971 \series bold
8972 Cachia
8973 \end_layout
8974
8975 \end_inset
8976 </cell>
8977 <cell alignment="center" valignment="top" topline="true" usebox="none">
8978 \begin_inset Text
8979
8980 \begin_layout Standard
8981 Maurizio
8982 \end_layout
8983
8984 \end_inset
8985 </cell>
8986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8987 \begin_inset Text
8988
8989 \begin_layout Standard
8990 111
8991 \end_layout
8992
8993 \end_inset
8994 </cell>
8995 </row>
8996 <row>
8997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8998 \begin_inset Text
8999
9000 \begin_layout Standard
9001
9002 \series bold
9003 Cinquemani
9004 \end_layout
9005
9006 \end_inset
9007 </cell>
9008 <cell alignment="center" valignment="top" topline="true" usebox="none">
9009 \begin_inset Text
9010
9011 \begin_layout Standard
9012 Giusi
9013 \end_layout
9014
9015 \end_inset
9016 </cell>
9017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9018 \begin_inset Text
9019
9020 \begin_layout Standard
9021 111
9022 \end_layout
9023
9024 \end_inset
9025 </cell>
9026 </row>
9027 <row>
9028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9029 \begin_inset Text
9030
9031 \begin_layout Standard
9032
9033 \series bold
9034 Colin
9035 \end_layout
9036
9037 \end_inset
9038 </cell>
9039 <cell alignment="center" valignment="top" topline="true" usebox="none">
9040 \begin_inset Text
9041
9042 \begin_layout Standard
9043 Bernard
9044 \end_layout
9045
9046 \end_inset
9047 </cell>
9048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9049 \begin_inset Text
9050
9051 \begin_layout Standard
9052 111
9053 \end_layout
9054
9055 \end_inset
9056 </cell>
9057 </row>
9058 <row>
9059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9060 \begin_inset Text
9061
9062 \begin_layout Standard
9063
9064 \series bold
9065 Concli
9066 \end_layout
9067
9068 \end_inset
9069 </cell>
9070 <cell alignment="center" valignment="top" topline="true" usebox="none">
9071 \begin_inset Text
9072
9073 \begin_layout Standard
9074 Gianfranco
9075 \end_layout
9076
9077 \end_inset
9078 </cell>
9079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9080 \begin_inset Text
9081
9082 \begin_layout Standard
9083 111
9084 \end_layout
9085
9086 \end_inset
9087 </cell>
9088 </row>
9089 <row>
9090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9091 \begin_inset Text
9092
9093 \begin_layout Standard
9094
9095 \series bold
9096 Dal Bosco
9097 \end_layout
9098
9099 \end_inset
9100 </cell>
9101 <cell alignment="center" valignment="top" topline="true" usebox="none">
9102 \begin_inset Text
9103
9104 \begin_layout Standard
9105 Carolina
9106 \end_layout
9107
9108 \end_inset
9109 </cell>
9110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9111 \begin_inset Text
9112
9113 \begin_layout Standard
9114 111
9115 \end_layout
9116
9117 \end_inset
9118 </cell>
9119 </row>
9120 <row>
9121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9122 \begin_inset Text
9123
9124 \begin_layout Standard
9125
9126 \series bold
9127 Dalpiaz
9128 \end_layout
9129
9130 \end_inset
9131 </cell>
9132 <cell alignment="center" valignment="top" topline="true" usebox="none">
9133 \begin_inset Text
9134
9135 \begin_layout Standard
9136 Annamaria
9137 \end_layout
9138
9139 \end_inset
9140 </cell>
9141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9142 \begin_inset Text
9143
9144 \begin_layout Standard
9145 111
9146 \end_layout
9147
9148 \end_inset
9149 </cell>
9150 </row>
9151 <row>
9152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9153 \begin_inset Text
9154
9155 \begin_layout Standard
9156
9157 \series bold
9158 Feliciello
9159 \end_layout
9160
9161 \end_inset
9162 </cell>
9163 <cell alignment="center" valignment="top" topline="true" usebox="none">
9164 \begin_inset Text
9165
9166 \begin_layout Standard
9167 Domenico
9168 \end_layout
9169
9170 \end_inset
9171 </cell>
9172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9173 \begin_inset Text
9174
9175 \begin_layout Standard
9176 111
9177 \end_layout
9178
9179 \end_inset
9180 </cell>
9181 </row>
9182 <row>
9183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9184 \begin_inset Text
9185
9186 \begin_layout Standard
9187
9188 \series bold
9189 Focarelli
9190 \end_layout
9191
9192 \end_inset
9193 </cell>
9194 <cell alignment="center" valignment="top" topline="true" usebox="none">
9195 \begin_inset Text
9196
9197 \begin_layout Standard
9198 Paola
9199 \end_layout
9200
9201 \end_inset
9202 </cell>
9203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9204 \begin_inset Text
9205
9206 \begin_layout Standard
9207 111
9208 \end_layout
9209
9210 \end_inset
9211 </cell>
9212 </row>
9213 <row>
9214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9215 \begin_inset Text
9216
9217 \begin_layout Standard
9218
9219 \series bold
9220 Galletti
9221 \end_layout
9222
9223 \end_inset
9224 </cell>
9225 <cell alignment="center" valignment="top" topline="true" usebox="none">
9226 \begin_inset Text
9227
9228 \begin_layout Standard
9229 Oreste
9230 \end_layout
9231
9232 \end_inset
9233 </cell>
9234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9235 \begin_inset Text
9236
9237 \begin_layout Standard
9238 111
9239 \end_layout
9240
9241 \end_inset
9242 </cell>
9243 </row>
9244 <row>
9245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9246 \begin_inset Text
9247
9248 \begin_layout Standard
9249
9250 \series bold
9251 Gasparini
9252 \end_layout
9253
9254 \end_inset
9255 </cell>
9256 <cell alignment="center" valignment="top" topline="true" usebox="none">
9257 \begin_inset Text
9258
9259 \begin_layout Standard
9260 Franca
9261 \end_layout
9262
9263 \end_inset
9264 </cell>
9265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9266 \begin_inset Text
9267
9268 \begin_layout Standard
9269 111
9270 \end_layout
9271
9272 \end_inset
9273 </cell>
9274 </row>
9275 <row>
9276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9277 \begin_inset Text
9278
9279 \begin_layout Standard
9280
9281 \series bold
9282 Lassini
9283 \end_layout
9284
9285 \end_inset
9286 </cell>
9287 <cell alignment="center" valignment="top" topline="true" usebox="none">
9288 \begin_inset Text
9289
9290 \begin_layout Standard
9291 Giancarlo
9292 \end_layout
9293
9294 \end_inset
9295 </cell>
9296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9297 \begin_inset Text
9298
9299 \begin_layout Standard
9300 111
9301 \end_layout
9302
9303 \end_inset
9304 </cell>
9305 </row>
9306 <row>
9307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9308 \begin_inset Text
9309
9310 \begin_layout Standard
9311
9312 \series bold
9313 Malfatti
9314 \end_layout
9315
9316 \end_inset
9317 </cell>
9318 <cell alignment="center" valignment="top" topline="true" usebox="none">
9319 \begin_inset Text
9320
9321 \begin_layout Standard
9322 Luciano
9323 \end_layout
9324
9325 \end_inset
9326 </cell>
9327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9328 \begin_inset Text
9329
9330 \begin_layout Standard
9331 111
9332 \end_layout
9333
9334 \end_inset
9335 </cell>
9336 </row>
9337 <row>
9338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9339 \begin_inset Text
9340
9341 \begin_layout Standard
9342
9343 \series bold
9344 Malfatti
9345 \end_layout
9346
9347 \end_inset
9348 </cell>
9349 <cell alignment="center" valignment="top" topline="true" usebox="none">
9350 \begin_inset Text
9351
9352 \begin_layout Standard
9353 Valeriano
9354 \end_layout
9355
9356 \end_inset
9357 </cell>
9358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9359 \begin_inset Text
9360
9361 \begin_layout Standard
9362 111
9363 \end_layout
9364
9365 \end_inset
9366 </cell>
9367 </row>
9368 <row>
9369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9370 \begin_inset Text
9371
9372 \begin_layout Standard
9373
9374 \series bold
9375 Meneguzzo
9376 \end_layout
9377
9378 \end_inset
9379 </cell>
9380 <cell alignment="center" valignment="top" topline="true" usebox="none">
9381 \begin_inset Text
9382
9383 \begin_layout Standard
9384 Roberto
9385 \end_layout
9386
9387 \end_inset
9388 </cell>
9389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9390 \begin_inset Text
9391
9392 \begin_layout Standard
9393 111
9394 \end_layout
9395
9396 \end_inset
9397 </cell>
9398 </row>
9399 <row>
9400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9401 \begin_inset Text
9402
9403 \begin_layout Standard
9404
9405 \series bold
9406 Mezzadra
9407 \end_layout
9408
9409 \end_inset
9410 </cell>
9411 <cell alignment="center" valignment="top" topline="true" usebox="none">
9412 \begin_inset Text
9413
9414 \begin_layout Standard
9415 Roberto
9416 \end_layout
9417
9418 \end_inset
9419 </cell>
9420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9421 \begin_inset Text
9422
9423 \begin_layout Standard
9424 111
9425 \end_layout
9426
9427 \end_inset
9428 </cell>
9429 </row>
9430 <row>
9431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9432 \begin_inset Text
9433
9434 \begin_layout Standard
9435
9436 \series bold
9437 Pirpamer
9438 \end_layout
9439
9440 \end_inset
9441 </cell>
9442 <cell alignment="center" valignment="top" topline="true" usebox="none">
9443 \begin_inset Text
9444
9445 \begin_layout Standard
9446 Erich
9447 \end_layout
9448
9449 \end_inset
9450 </cell>
9451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9452 \begin_inset Text
9453
9454 \begin_layout Standard
9455 111
9456 \end_layout
9457
9458 \end_inset
9459 </cell>
9460 </row>
9461 <row>
9462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9463 \begin_inset Text
9464
9465 \begin_layout Standard
9466
9467 \series bold
9468 Pochiesa
9469 \end_layout
9470
9471 \end_inset
9472 </cell>
9473 <cell alignment="center" valignment="top" topline="true" usebox="none">
9474 \begin_inset Text
9475
9476 \begin_layout Standard
9477 Paolo
9478 \end_layout
9479
9480 \end_inset
9481 </cell>
9482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9483 \begin_inset Text
9484
9485 \begin_layout Standard
9486 111, 222
9487 \end_layout
9488
9489 \end_inset
9490 </cell>
9491 </row>
9492 <row>
9493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9494 \begin_inset Text
9495
9496 \begin_layout Standard
9497
9498 \series bold
9499 Radina
9500 \end_layout
9501
9502 \end_inset
9503 </cell>
9504 <cell alignment="center" valignment="top" topline="true" usebox="none">
9505 \begin_inset Text
9506
9507 \begin_layout Standard
9508 Claudio
9509 \end_layout
9510
9511 \end_inset
9512 </cell>
9513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9514 \begin_inset Text
9515
9516 \begin_layout Standard
9517 111
9518 \end_layout
9519
9520 \end_inset
9521 </cell>
9522 </row>
9523 <row>
9524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9525 \begin_inset Text
9526
9527 \begin_layout Standard
9528
9529 \series bold
9530 Rizzardi
9531 \end_layout
9532
9533 \end_inset
9534 </cell>
9535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9536 \begin_inset Text
9537
9538 \begin_layout Standard
9539 Paolo, 11.
9540  Fürst von Montecompatri, 11.
9541  Fürst von Sulmona und Vivaro, 10.
9542  Fürst von Rossano, 5.
9543  Herzog von Canemorte, 11.
9544  Herzog von Palombara, 5.
9545  Herzog von Castelchiodato,
9546 \begin_inset ERT
9547 status collapsed
9548
9549 \begin_layout Standard
9550
9551 & 111
9552 \backslash
9553
9554 \backslash
9555
9556 \end_layout
9557
9558 \begin_layout Standard
9559
9560 &
9561 \end_layout
9562
9563 \end_inset
9564
9565  11.
9566  Herzog von Poggionativo, 11.
9567  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9568  Graf von Valinfreda, 11.
9569  Baron von Cropalati, 11.
9570  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9571 \end_layout
9572
9573 \end_inset
9574 </cell>
9575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9576 \begin_inset Text
9577
9578 \begin_layout Standard
9579
9580 \end_layout
9581
9582 \end_inset
9583 </cell>
9584 </row>
9585 <row>
9586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9587 \begin_inset Text
9588
9589 \begin_layout Standard
9590
9591 \series bold
9592 Stuffer
9593 \end_layout
9594
9595 \end_inset
9596 </cell>
9597 <cell alignment="center" valignment="top" topline="true" usebox="none">
9598 \begin_inset Text
9599
9600 \begin_layout Standard
9601 Oskar
9602 \end_layout
9603
9604 \end_inset
9605 </cell>
9606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9607 \begin_inset Text
9608
9609 \begin_layout Standard
9610 111
9611 \end_layout
9612
9613 \end_inset
9614 </cell>
9615 </row>
9616 <row>
9617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9618 \begin_inset Text
9619
9620 \begin_layout Standard
9621
9622 \series bold
9623 Tacchelli
9624 \end_layout
9625
9626 \end_inset
9627 </cell>
9628 <cell alignment="center" valignment="top" topline="true" usebox="none">
9629 \begin_inset Text
9630
9631 \begin_layout Standard
9632 Ugo
9633 \end_layout
9634
9635 \end_inset
9636 </cell>
9637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9638 \begin_inset Text
9639
9640 \begin_layout Standard
9641 111
9642 \end_layout
9643
9644 \end_inset
9645 </cell>
9646 </row>
9647 <row>
9648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9649 \begin_inset Text
9650
9651 \begin_layout Standard
9652
9653 \series bold
9654 Tezzele
9655 \end_layout
9656
9657 \end_inset
9658 </cell>
9659 <cell alignment="center" valignment="top" topline="true" usebox="none">
9660 \begin_inset Text
9661
9662 \begin_layout Standard
9663 Margit
9664 \end_layout
9665
9666 \end_inset
9667 </cell>
9668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9669 \begin_inset Text
9670
9671 \begin_layout Standard
9672 111
9673 \end_layout
9674
9675 \end_inset
9676 </cell>
9677 </row>
9678 <row>
9679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9680 \begin_inset Text
9681
9682 \begin_layout Standard
9683
9684 \series bold
9685 Unterkalmsteiner
9686 \end_layout
9687
9688 \end_inset
9689 </cell>
9690 <cell alignment="center" valignment="top" topline="true" usebox="none">
9691 \begin_inset Text
9692
9693 \begin_layout Standard
9694 Frieda
9695 \end_layout
9696
9697 \end_inset
9698 </cell>
9699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9700 \begin_inset Text
9701
9702 \begin_layout Standard
9703 111
9704 \end_layout
9705
9706 \end_inset
9707 </cell>
9708 </row>
9709 <row>
9710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9711 \begin_inset Text
9712
9713 \begin_layout Standard
9714
9715 \series bold
9716 Vieider
9717 \end_layout
9718
9719 \end_inset
9720 </cell>
9721 <cell alignment="center" valignment="top" topline="true" usebox="none">
9722 \begin_inset Text
9723
9724 \begin_layout Standard
9725 Hilde
9726 \end_layout
9727
9728 \end_inset
9729 </cell>
9730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9731 \begin_inset Text
9732
9733 \begin_layout Standard
9734 111
9735 \end_layout
9736
9737 \end_inset
9738 </cell>
9739 </row>
9740 <row>
9741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9742 \begin_inset Text
9743
9744 \begin_layout Standard
9745
9746 \series bold
9747 Vigna
9748 \end_layout
9749
9750 \end_inset
9751 </cell>
9752 <cell alignment="center" valignment="top" topline="true" usebox="none">
9753 \begin_inset Text
9754
9755 \begin_layout Standard
9756 Jürgen
9757 \end_layout
9758
9759 \end_inset
9760 </cell>
9761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9762 \begin_inset Text
9763
9764 \begin_layout Standard
9765 111
9766 \end_layout
9767
9768 \end_inset
9769 </cell>
9770 </row>
9771 <row>
9772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9773 \begin_inset Text
9774
9775 \begin_layout Standard
9776
9777 \series bold
9778 Weber
9779 \end_layout
9780
9781 \end_inset
9782 </cell>
9783 <cell alignment="center" valignment="top" topline="true" usebox="none">
9784 \begin_inset Text
9785
9786 \begin_layout Standard
9787 Maurizio
9788 \end_layout
9789
9790 \end_inset
9791 </cell>
9792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9793 \begin_inset Text
9794
9795 \begin_layout Standard
9796 111
9797 \end_layout
9798
9799 \end_inset
9800 </cell>
9801 </row>
9802 <row bottomline="true">
9803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9804 \begin_inset Text
9805
9806 \begin_layout Standard
9807
9808 \series bold
9809 Winkler
9810 \end_layout
9811
9812 \end_inset
9813 </cell>
9814 <cell alignment="center" valignment="top" topline="true" usebox="none">
9815 \begin_inset Text
9816
9817 \begin_layout Standard
9818 Franz
9819 \end_layout
9820
9821 \end_inset
9822 </cell>
9823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9824 \begin_inset Text
9825
9826 \begin_layout Standard
9827 111
9828 \end_layout
9829
9830 \end_inset
9831 </cell>
9832 </row>
9833 <row endlastfoot="true">
9834 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9835 \begin_inset Text
9836
9837 \begin_layout Standard
9838
9839 \end_layout
9840
9841 \end_inset
9842 </cell>
9843 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9844 \begin_inset Text
9845
9846 \begin_layout Standard
9847
9848 \end_layout
9849
9850 \end_inset
9851 </cell>
9852 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9853 \begin_inset Text
9854
9855 \begin_layout Standard
9856
9857 \end_layout
9858
9859 \end_inset
9860 </cell>
9861 </row>
9862 </lyxtabular>
9863
9864 \end_inset
9865
9866
9867 \end_layout
9868
9869 \begin_layout Section
9870 Multiple Lines Columns and Rows
9871 \end_layout
9872
9873 \begin_layout Subsection
9874 Multiple Lines in Table Cells
9875 \begin_inset LatexCommand label
9876 name "sub:Multiple-Lines-in"
9877
9878 \end_inset
9879
9880
9881 \begin_inset LatexCommand index
9882 name "Multiple Lines in Table Cells"
9883
9884 \end_inset
9885
9886
9887 \begin_inset LatexCommand index
9888 name "Table ! Linebreaks"
9889
9890 \end_inset
9891
9892
9893 \end_layout
9894
9895 \begin_layout Standard
9896 \align center
9897 \begin_inset Float table
9898 placement H
9899 wide false
9900 sideways false
9901 status open
9902
9903 \begin_layout Standard
9904 \begin_inset Caption
9905
9906 \begin_layout Standard
9907 \begin_inset LatexCommand label
9908 name "tab:Table-with-multiple"
9909
9910 \end_inset
9911
9912 Table with multiple lines in cells
9913 \end_layout
9914
9915 \end_inset
9916
9917
9918 \end_layout
9919
9920 \begin_layout Standard
9921 \align center
9922 \begin_inset Tabular
9923 <lyxtabular version="3" rows="3" columns="3">
9924 <features>
9925 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9926 <column alignment="center" valignment="middle" leftline="true" width="0">
9927 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
9928 <row topline="true">
9929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9930 \begin_inset Text
9931
9932 \begin_layout Standard
9933 multiple
9934 \begin_inset ERT
9935 status collapsed
9936
9937 \begin_layout Standard
9938
9939
9940 \backslash
9941 linebreak 
9942 \end_layout
9943
9944 \end_inset
9945
9946  lines
9947 \end_layout
9948
9949 \end_inset
9950 </cell>
9951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9952 \begin_inset Text
9953
9954 \begin_layout Standard
9955 b
9956 \end_layout
9957
9958 \end_inset
9959 </cell>
9960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9961 \begin_inset Text
9962
9963 \begin_layout Standard
9964 c
9965 \end_layout
9966
9967 \end_inset
9968 </cell>
9969 </row>
9970 <row topline="true">
9971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9972 \begin_inset Text
9973
9974 \begin_layout Standard
9975 d
9976 \end_layout
9977
9978 \end_inset
9979 </cell>
9980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9981 \begin_inset Text
9982
9983 \begin_layout Standard
9984 e
9985 \end_layout
9986
9987 \end_inset
9988 </cell>
9989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9990 \begin_inset Text
9991
9992 \begin_layout Standard
9993 f
9994 \end_layout
9995
9996 \end_inset
9997 </cell>
9998 </row>
9999 <row topline="true" bottomline="true">
10000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10001 \begin_inset Text
10002
10003 \begin_layout Standard
10004 g
10005 \end_layout
10006
10007 \end_inset
10008 </cell>
10009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10010 \begin_inset Text
10011
10012 \begin_layout Standard
10013 h
10014 \end_layout
10015
10016 \end_inset
10017 </cell>
10018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10019 \begin_inset Text
10020
10021 \begin_layout Standard
10022 i
10023 \end_layout
10024
10025 \end_inset
10026 </cell>
10027 </row>
10028 </lyxtabular>
10029
10030 \end_inset
10031
10032
10033 \end_layout
10034
10035 \end_inset
10036
10037
10038 \end_layout
10039
10040 \begin_layout Standard
10041 Adjusting a fixed width for a column, enables to enter text as a paragraph
10042  with multiple lines and hyphenations.
10043 \end_layout
10044
10045 \begin_layout Standard
10046 To produce Table\InsetSpace ~
10047
10048 \begin_inset LatexCommand ref
10049 reference "tab:Table-with-multiple"
10050
10051 \end_inset
10052
10053 , create a 3×3 table, mark the first cell and right-click on it.
10054  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10055 cm and choose centered
10056  for the vertical and horizontal alignment.
10057  The vertical alignment is used for all cells of the row.
10058  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10059 cm, only one line will appear.
10060  To get two lines, we add a line break with the command
10061 \end_layout
10062
10063 \begin_layout Standard
10064
10065 \series bold
10066
10067 \backslash
10068 linebreak
10069 \end_layout
10070
10071 \begin_layout Standard
10072 in ERT.
10073  If the text is wider than the set cell width it will automatically be broken
10074  to several lines.
10075 \end_layout
10076
10077 \begin_layout Standard
10078 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10079  by LaTeX if it is the first entry.
10080  Therefore you need to insert something, to make the word not being the
10081  first entry: Add the command
10082 \end_layout
10083
10084 \begin_layout Standard
10085
10086 \series bold
10087
10088 \backslash
10089 hspace{0pt}
10090 \end_layout
10091
10092 \begin_layout Standard
10093 in ERT before the word.
10094  As the space is zero, it doesn't change the output.
10095  Table\InsetSpace ~
10096
10097 \begin_inset LatexCommand ref
10098 reference "tab:Table-with-and"
10099
10100 \end_inset
10101
10102  shows the effect.
10103 \end_layout
10104
10105 \begin_layout Standard
10106 \begin_inset Float table
10107 placement h
10108 wide false
10109 sideways false
10110 status open
10111
10112 \begin_layout Standard
10113 \begin_inset Caption
10114
10115 \begin_layout Standard
10116 \begin_inset LatexCommand label
10117 name "tab:Table-with-and"
10118
10119 \end_inset
10120
10121 Table with and without hyphenation
10122 \end_layout
10123
10124 \end_inset
10125
10126
10127 \end_layout
10128
10129 \begin_layout Standard
10130
10131 \hfill
10132
10133 \begin_inset Tabular
10134 <lyxtabular version="3" rows="3" columns="3">
10135 <features>
10136 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10137 <column alignment="center" valignment="middle" leftline="true" width="0">
10138 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10139 <row topline="true">
10140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10141 \begin_inset Text
10142
10143 \begin_layout Standard
10144 verylongtablecellword
10145 \end_layout
10146
10147 \end_inset
10148 </cell>
10149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10150 \begin_inset Text
10151
10152 \begin_layout Standard
10153 b
10154 \end_layout
10155
10156 \end_inset
10157 </cell>
10158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10159 \begin_inset Text
10160
10161 \begin_layout Standard
10162 c
10163 \end_layout
10164
10165 \end_inset
10166 </cell>
10167 </row>
10168 <row topline="true">
10169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10170 \begin_inset Text
10171
10172 \begin_layout Standard
10173 d
10174 \end_layout
10175
10176 \end_inset
10177 </cell>
10178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10179 \begin_inset Text
10180
10181 \begin_layout Standard
10182 e
10183 \end_layout
10184
10185 \end_inset
10186 </cell>
10187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10188 \begin_inset Text
10189
10190 \begin_layout Standard
10191 f
10192 \end_layout
10193
10194 \end_inset
10195 </cell>
10196 </row>
10197 <row topline="true" bottomline="true">
10198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10199 \begin_inset Text
10200
10201 \begin_layout Standard
10202 g
10203 \end_layout
10204
10205 \end_inset
10206 </cell>
10207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10208 \begin_inset Text
10209
10210 \begin_layout Standard
10211 h
10212 \end_layout
10213
10214 \end_inset
10215 </cell>
10216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10217 \begin_inset Text
10218
10219 \begin_layout Standard
10220 i
10221 \end_layout
10222
10223 \end_inset
10224 </cell>
10225 </row>
10226 </lyxtabular>
10227
10228 \end_inset
10229
10230
10231 \hfill
10232
10233 \begin_inset Tabular
10234 <lyxtabular version="3" rows="3" columns="3">
10235 <features>
10236 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10237 <column alignment="center" valignment="middle" leftline="true" width="0">
10238 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10239 <row topline="true">
10240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10241 \begin_inset Text
10242
10243 \begin_layout Standard
10244 \begin_inset ERT
10245 status collapsed
10246
10247 \begin_layout Standard
10248
10249
10250 \backslash
10251 hspace{0pt}
10252 \end_layout
10253
10254 \end_inset
10255
10256 verylongtablecellword
10257 \end_layout
10258
10259 \end_inset
10260 </cell>
10261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10262 \begin_inset Text
10263
10264 \begin_layout Standard
10265 b
10266 \end_layout
10267
10268 \end_inset
10269 </cell>
10270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10271 \begin_inset Text
10272
10273 \begin_layout Standard
10274 c
10275 \end_layout
10276
10277 \end_inset
10278 </cell>
10279 </row>
10280 <row topline="true">
10281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10282 \begin_inset Text
10283
10284 \begin_layout Standard
10285 d
10286 \end_layout
10287
10288 \end_inset
10289 </cell>
10290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10291 \begin_inset Text
10292
10293 \begin_layout Standard
10294 e
10295 \end_layout
10296
10297 \end_inset
10298 </cell>
10299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10300 \begin_inset Text
10301
10302 \begin_layout Standard
10303 f
10304 \end_layout
10305
10306 \end_inset
10307 </cell>
10308 </row>
10309 <row topline="true" bottomline="true">
10310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10311 \begin_inset Text
10312
10313 \begin_layout Standard
10314 g
10315 \end_layout
10316
10317 \end_inset
10318 </cell>
10319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10320 \begin_inset Text
10321
10322 \begin_layout Standard
10323 h
10324 \end_layout
10325
10326 \end_inset
10327 </cell>
10328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10329 \begin_inset Text
10330
10331 \begin_layout Standard
10332 i
10333 \end_layout
10334
10335 \end_inset
10336 </cell>
10337 </row>
10338 </lyxtabular>
10339
10340 \end_inset
10341
10342
10343 \hfill
10344
10345 \end_layout
10346
10347 \end_inset
10348
10349
10350 \end_layout
10351
10352 \begin_layout Standard
10353
10354 \newpage
10355
10356 \end_layout
10357
10358 \begin_layout Subsection
10359 Multicolumns
10360 \begin_inset LatexCommand label
10361 name "sub:Multicolumns"
10362
10363 \end_inset
10364
10365
10366 \begin_inset LatexCommand index
10367 name "Multicolumns"
10368
10369 \end_inset
10370
10371
10372 \begin_inset LatexCommand index
10373 name "Table ! Multicolumns"
10374
10375 \end_inset
10376
10377
10378 \end_layout
10379
10380 \begin_layout Subsubsection
10381 Multicolumn Basics
10382 \end_layout
10383
10384 \begin_layout Standard
10385 To span a cell over multiple columns, mark as much cells within a line that
10386  should be one spanned cell and use either the table-toolbar button 
10387 \begin_inset Graphics
10388         filename ../images/tabular-feature_multicolumn.xpm
10389         scale 85
10390         scaleBeforeRotation
10391
10392 \end_inset
10393
10394 , or the menu 
10395 \family sans
10396 Edit\SpecialChar \menuseparator
10397 Table\SpecialChar \menuseparator
10398 Multicolumn
10399 \family default
10400 , or right click on the marked cells and choose multicolumn in the appearing
10401  table dialog under the tab 
10402 \family sans
10403 Table Settings
10404 \family default
10405 .
10406 \end_layout
10407
10408 \begin_layout Standard
10409 Multicolumns have there own cell settings.
10410  That means changing cell borders, cell alignment, and the width only affects
10411  the multicolumn.
10412  Here is an example table with a multicolumn cell in the first row and one
10413  in the last row without the upper border:
10414 \end_layout
10415
10416 \begin_layout Standard
10417 \align center
10418 \begin_inset Tabular
10419 <lyxtabular version="3" rows="3" columns="4">
10420 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10421 <column alignment="center" valignment="top" leftline="true" width="0pt">
10422 <column alignment="center" valignment="middle" leftline="true" width="0">
10423 <column alignment="center" valignment="top" leftline="true" width="0in">
10424 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10425 <row topline="true" bottomline="true">
10426 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10427 \begin_inset Text
10428
10429 \begin_layout Standard
10430 abc
10431 \end_layout
10432
10433 \end_inset
10434 </cell>
10435 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10436 \begin_inset Text
10437
10438 \begin_layout Standard
10439 def ghi
10440 \end_layout
10441
10442 \end_inset
10443 </cell>
10444 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10445 \begin_inset Text
10446
10447 \begin_layout Standard
10448
10449 \end_layout
10450
10451 \end_inset
10452 </cell>
10453 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10454 \begin_inset Text
10455
10456 \begin_layout Standard
10457 jkl
10458 \end_layout
10459
10460 \end_inset
10461 </cell>
10462 </row>
10463 <row topline="true">
10464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10465 \begin_inset Text
10466
10467 \begin_layout Standard
10468
10469 \family roman
10470 \series medium
10471 \shape up
10472 \size normal
10473 \emph off
10474 \bar no
10475 \noun off
10476 \color none
10477 A
10478 \end_layout
10479
10480 \end_inset
10481 </cell>
10482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10483 \begin_inset Text
10484
10485 \begin_layout Standard
10486 B
10487 \end_layout
10488
10489 \end_inset
10490 </cell>
10491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10492 \begin_inset Text
10493
10494 \begin_layout Standard
10495 C
10496 \end_layout
10497
10498 \end_inset
10499 </cell>
10500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10501 \begin_inset Text
10502
10503 \begin_layout Standard
10504 D
10505 \end_layout
10506
10507 \end_inset
10508 </cell>
10509 </row>
10510 <row topline="true" bottomline="true">
10511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10512 \begin_inset Text
10513
10514 \begin_layout Standard
10515 1
10516 \end_layout
10517
10518 \end_inset
10519 </cell>
10520 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10521 \begin_inset Text
10522
10523 \begin_layout Standard
10524 2
10525 \end_layout
10526
10527 \end_inset
10528 </cell>
10529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10530 \begin_inset Text
10531
10532 \begin_layout Standard
10533 3
10534 \end_layout
10535
10536 \end_inset
10537 </cell>
10538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10539 \begin_inset Text
10540
10541 \begin_layout Standard
10542 4
10543 \end_layout
10544
10545 \end_inset
10546 </cell>
10547 </row>
10548 </lyxtabular>
10549
10550 \end_inset
10551
10552
10553 \end_layout
10554
10555 \begin_layout Subsubsection
10556 Multicolumn Calculations
10557 \begin_inset LatexCommand label
10558 name "sub:Multicolumn-Calculations"
10559
10560 \end_inset
10561
10562
10563 \begin_inset LatexCommand index
10564 name "Multicolumns ! Calculations"
10565
10566 \end_inset
10567
10568
10569 \end_layout
10570
10571 \begin_layout Standard
10572 LyX supports multicolumns directly, but we have to take notice of the cell
10573  width of the columns spanned by the multicolumn cell.
10574 \end_layout
10575
10576 \begin_layout Standard
10577 \begin_inset Float table
10578 wide false
10579 sideways false
10580 status open
10581
10582 \begin_layout Standard
10583 \begin_inset Caption
10584
10585 \begin_layout Standard
10586 \begin_inset LatexCommand label
10587 name "tab:Table-with-centered"
10588
10589 \end_inset
10590
10591 Table with centered multicolumn text above two columns that have exactly
10592  half the width of the multicolumn cell
10593 \begin_inset OptArg
10594 status collapsed
10595
10596 \begin_layout Standard
10597 Perfect multicolumn table
10598 \end_layout
10599
10600 \end_inset
10601
10602
10603 \end_layout
10604
10605 \end_inset
10606
10607
10608 \end_layout
10609
10610 \begin_layout Standard
10611 \align center
10612 \begin_inset Tabular
10613 <lyxtabular version="3" rows="3" columns="3">
10614 <features>
10615 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10616 <column alignment="center" valignment="middle" leftline="true" width="0">
10617 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10618 <row topline="true">
10619 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10620 \begin_inset Text
10621
10622 \begin_layout Standard
10623 multiple lines multicolumn
10624 \end_layout
10625
10626 \end_inset
10627 </cell>
10628 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10629 \begin_inset Text
10630
10631 \begin_layout Standard
10632
10633 \end_layout
10634
10635 \end_inset
10636 </cell>
10637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10638 \begin_inset Text
10639
10640 \begin_layout Standard
10641 c
10642 \end_layout
10643
10644 \end_inset
10645 </cell>
10646 </row>
10647 <row topline="true">
10648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10649 \begin_inset Text
10650
10651 \begin_layout Standard
10652 d
10653 \end_layout
10654
10655 \end_inset
10656 </cell>
10657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10658 \begin_inset Text
10659
10660 \begin_layout Standard
10661 e
10662 \end_layout
10663
10664 \end_inset
10665 </cell>
10666 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10667 \begin_inset Text
10668
10669 \begin_layout Standard
10670 f
10671 \end_layout
10672
10673 \end_inset
10674 </cell>
10675 </row>
10676 <row topline="true" bottomline="true">
10677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10678 \begin_inset Text
10679
10680 \begin_layout Standard
10681 g
10682 \end_layout
10683
10684 \end_inset
10685 </cell>
10686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10687 \begin_inset Text
10688
10689 \begin_layout Standard
10690 h
10691 \end_layout
10692
10693 \end_inset
10694 </cell>
10695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10696 \begin_inset Text
10697
10698 \begin_layout Standard
10699 i
10700 \end_layout
10701
10702 \end_inset
10703 </cell>
10704 </row>
10705 </lyxtabular>
10706
10707 \end_inset
10708
10709
10710 \end_layout
10711
10712 \end_inset
10713
10714
10715 \end_layout
10716
10717 \begin_layout Standard
10718 To create for example Table\InsetSpace ~
10719
10720 \begin_inset LatexCommand ref
10721 reference "tab:Table-with-centered"
10722
10723 \end_inset
10724
10725 , mark the first two cells in the first row of a 3×3 table and right-click
10726  on them.
10727  Now choose for this cell 
10728 \emph on
10729 multicolumn
10730 \emph default
10731
10732 \emph on
10733 centered alignment
10734 \emph default
10735  and a width of 2.5\InsetSpace \thinspace{}
10736 cm in the table dialog.
10737  The spanned columns should have exactly half the width of the multicolumn
10738  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10739 cm for the first column.
10740  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10741 cm (multicolumn
10742  width - width of first column).
10743  This was done for Table\InsetSpace ~
10744
10745 \begin_inset LatexCommand ref
10746 reference "tab:Table-without-half"
10747
10748 \end_inset
10749
10750 .
10751 \end_layout
10752
10753 \begin_layout Standard
10754 \begin_inset Float table
10755 wide false
10756 sideways false
10757 status open
10758
10759 \begin_layout Standard
10760 \begin_inset Caption
10761
10762 \begin_layout Standard
10763 \begin_inset LatexCommand label
10764 name "tab:Table-without-half"
10765
10766 \end_inset
10767
10768 Table where the spanned table columns have not exactly half the width of
10769  the multicolumn cell
10770 \begin_inset OptArg
10771 status collapsed
10772
10773 \begin_layout Standard
10774 Imperfect multicolumn table
10775 \end_layout
10776
10777 \end_inset
10778
10779
10780 \end_layout
10781
10782 \end_inset
10783
10784
10785 \end_layout
10786
10787 \begin_layout Standard
10788 \align center
10789 \begin_inset Tabular
10790 <lyxtabular version="3" rows="3" columns="3">
10791 <features>
10792 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10793 <column alignment="center" valignment="top" leftline="true" width="0">
10794 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10795 <row topline="true" bottomline="true">
10796 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10797 \begin_inset Text
10798
10799 \begin_layout Standard
10800 multiple lines multicolumn
10801 \end_layout
10802
10803 \end_inset
10804 </cell>
10805 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10806 \begin_inset Text
10807
10808 \begin_layout Standard
10809
10810 \end_layout
10811
10812 \end_inset
10813 </cell>
10814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10815 \begin_inset Text
10816
10817 \begin_layout Standard
10818 c
10819 \end_layout
10820
10821 \end_inset
10822 </cell>
10823 </row>
10824 <row topline="true">
10825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10826 \begin_inset Text
10827
10828 \begin_layout Standard
10829 d
10830 \end_layout
10831
10832 \end_inset
10833 </cell>
10834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10835 \begin_inset Text
10836
10837 \begin_layout Standard
10838 e
10839 \end_layout
10840
10841 \end_inset
10842 </cell>
10843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10844 \begin_inset Text
10845
10846 \begin_layout Standard
10847 f
10848 \end_layout
10849
10850 \end_inset
10851 </cell>
10852 </row>
10853 <row topline="true" bottomline="true">
10854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10855 \begin_inset Text
10856
10857 \begin_layout Standard
10858 g
10859 \end_layout
10860
10861 \end_inset
10862 </cell>
10863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10864 \begin_inset Text
10865
10866 \begin_layout Standard
10867 h
10868 \end_layout
10869
10870 \end_inset
10871 </cell>
10872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10873 \begin_inset Text
10874
10875 \begin_layout Standard
10876 i
10877 \end_layout
10878
10879 \end_inset
10880 </cell>
10881 </row>
10882 </lyxtabular>
10883
10884 \end_inset
10885
10886
10887 \end_layout
10888
10889 \end_inset
10890
10891
10892 \end_layout
10893
10894 \begin_layout Standard
10895 You can see that the first column has not the half width of the multicolumn
10896  cell, it is a bit bigger.
10897  The reason is that the given width of a cell 
10898 \begin_inset Formula $W_{g}$
10899 \end_inset
10900
10901  is not its total width 
10902 \begin_inset Formula $W_{\mathrm{tot}}$
10903 \end_inset
10904
10905  because a cell is always a bit larger than its given width.
10906  Appendix\InsetSpace ~
10907
10908 \begin_inset LatexCommand eqref
10909 reference "cha:Explanation-of-Equation"
10910
10911 \end_inset
10912
10913  explains it in detail.
10914 \end_layout
10915
10916 \begin_layout Standard
10917 The needed given width 
10918 \begin_inset Formula $W_{g\, n}$
10919 \end_inset
10920
10921  when 
10922 \emph on
10923 n
10924 \emph default
10925  columns are spanned can be calculated, so that each column has a total
10926  width of 
10927 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10928 \end_inset
10929
10930 :
10931 \begin_inset Formula \begin{equation}
10932 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10933
10934 \end_inset
10935
10936
10937 \end_layout
10938
10939 \begin_layout Standard
10940 In our case we have 
10941 \begin_inset Formula $n=2$
10942 \end_inset
10943
10944
10945 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10946 \end_inset
10947
10948 cm and the default values for the lengths, so that equation 
10949 \begin_inset LatexCommand ref
10950 reference "eq:Wgn"
10951
10952 \end_inset
10953
10954  becomes
10955 \begin_inset Formula \begin{equation}
10956 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10957
10958 \end_inset
10959
10960
10961 \end_layout
10962
10963 \begin_layout Standard
10964 To enable calculations in LaTeX, the LaTeX-package 
10965 \series bold
10966 calc
10967 \series default
10968  must be loaded with the document preamble line
10969 \begin_inset LatexCommand index
10970 name "LaTeX-packages ! calc"
10971
10972 \end_inset
10973
10974
10975 \end_layout
10976
10977 \begin_layout Standard
10978
10979 \series bold
10980
10981 \backslash
10982 usepackage{calc}
10983 \end_layout
10984
10985 \begin_layout Standard
10986 LyX does not allow to calculate lengths in the width-field of the table
10987  dialog.
10988  Therefore you have to format the column by inserting a LaTeX-argument in
10989  the dialog.
10990  Here is an overview about the arguments:
10991 \end_layout
10992
10993 \begin_layout Itemize
10994
10995 \series bold
10996 p{width}
10997 \series default
10998  creates cell with a fixed width, its text is vertically top-aligned
10999 \end_layout
11000
11001 \begin_layout Itemize
11002
11003 \series bold
11004 m{width}
11005 \series default
11006  creates cell with a fixed width, its text is vertically centered
11007 \end_layout
11008
11009 \begin_layout Itemize
11010
11011 \series bold
11012 b{width}
11013 \series default
11014  creates cell with a fixed width, its text is vertically bottom-aligned
11015 \end_layout
11016
11017 \begin_layout Standard
11018 By entering a LaTeX-argument, all cell settings set in the table dialog
11019  are overwritten.
11020 \end_layout
11021
11022 \begin_layout Standard
11023 \begin_inset Note Greyedout
11024 status open
11025
11026 \begin_layout Standard
11027
11028 \series bold
11029 Note:
11030 \series default
11031  Due to a bug, LyX shows the overwritten settings anyway.
11032 \end_layout
11033
11034 \end_inset
11035
11036
11037 \end_layout
11038
11039 \begin_layout Standard
11040 As the text should be horizontally centered, the command 
11041 \series bold
11042
11043 \backslash
11044 centering
11045 \series default
11046  is added.
11047  You can now enter the following LaTeX-argument for the first spanned column:
11048 \end_layout
11049
11050 \begin_layout Standard
11051
11052 \series bold
11053 >{
11054 \backslash
11055 centering}m{1.25cm-6.2pt}
11056 \end_layout
11057
11058 \begin_layout Standard
11059 The command 
11060 \series bold
11061 >{ }
11062 \series default
11063  means, that the commands inside the braces are applied before the cell
11064  is created.
11065 \end_layout
11066
11067 \begin_layout Standard
11068 Although we have chosen centered alignment for the text of the multicolumn
11069  cell, it is still left aligned.
11070  This is because LyX only applies the alignment to single columns.
11071  So we have to use for the multicolumn the LaTeX-argument
11072 \end_layout
11073
11074 \begin_layout Standard
11075
11076 \series bold
11077 >{
11078 \backslash
11079 centering}m{2.5cm}
11080 \end_layout
11081
11082 \begin_layout Subsection
11083 Multirows
11084 \begin_inset LatexCommand index
11085 name "Multirows"
11086
11087 \end_inset
11088
11089
11090 \begin_inset LatexCommand index
11091 name "Table ! Multirows"
11092
11093 \end_inset
11094
11095
11096 \begin_inset LatexCommand index
11097 name "LaTeX-packages ! multirow"
11098
11099 \end_inset
11100
11101
11102 \end_layout
11103
11104 \begin_layout Standard
11105 In contrary to multicolumns multirows are not yet supported by LyX so a
11106  bit of ERT needs to be used.
11107  To use multirows load the LaTeX-package 
11108 \series bold
11109 multirow
11110 \series default
11111  in your document preamble with the command
11112 \end_layout
11113
11114 \begin_layout Standard
11115
11116 \series bold
11117
11118 \backslash
11119 usepackage{multirow}
11120 \end_layout
11121
11122 \begin_layout Standard
11123 Multirows are created with the command
11124 \end_layout
11125
11126 \begin_layout Standard
11127
11128 \series bold
11129
11130 \backslash
11131 multirow{number of rows}{cell width}{cell entry}
11132 \end_layout
11133
11134 \begin_layout Standard
11135 To create the following table:
11136 \end_layout
11137
11138 \begin_layout Standard
11139 \align center
11140 \begin_inset ERT
11141 status collapsed
11142
11143 \begin_layout Standard
11144
11145
11146 \backslash
11147 renewcommand{
11148 \backslash
11149 multirowsetup}{
11150 \backslash
11151 centering}
11152 \end_layout
11153
11154 \end_inset
11155
11156
11157 \begin_inset Tabular
11158 <lyxtabular version="3" rows="3" columns="3">
11159 <features>
11160 <column alignment="center" valignment="top" leftline="true" width="0">
11161 <column alignment="center" valignment="top" leftline="true" width="0">
11162 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11163 <row topline="true">
11164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11165 \begin_inset Text
11166
11167 \begin_layout Standard
11168 a
11169 \end_layout
11170
11171 \end_inset
11172 </cell>
11173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11174 \begin_inset Text
11175
11176 \begin_layout Standard
11177 b
11178 \end_layout
11179
11180 \end_inset
11181 </cell>
11182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11183 \begin_inset Text
11184
11185 \begin_layout Standard
11186 c
11187 \end_layout
11188
11189 \end_inset
11190 </cell>
11191 </row>
11192 <row topline="true">
11193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11194 \begin_inset Text
11195
11196 \begin_layout Standard
11197 \begin_inset ERT
11198 status collapsed
11199
11200 \begin_layout Standard
11201
11202
11203 \backslash
11204 multirow{2}{2.5cm}{
11205 \end_layout
11206
11207 \end_inset
11208
11209 multirow entry
11210 \begin_inset ERT
11211 status collapsed
11212
11213 \begin_layout Standard
11214
11215 }
11216 \end_layout
11217
11218 \end_inset
11219
11220
11221 \end_layout
11222
11223 \end_inset
11224 </cell>
11225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11226 \begin_inset Text
11227
11228 \begin_layout Standard
11229 e
11230 \end_layout
11231
11232 \end_inset
11233 </cell>
11234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11235 \begin_inset Text
11236
11237 \begin_layout Standard
11238 f
11239 \end_layout
11240
11241 \end_inset
11242 </cell>
11243 </row>
11244 <row topline="true" bottomline="true">
11245 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11246 \begin_inset Text
11247
11248 \begin_layout Standard
11249
11250 \end_layout
11251
11252 \end_inset
11253 </cell>
11254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11255 \begin_inset Text
11256
11257 \begin_layout Standard
11258 h
11259 \end_layout
11260
11261 \end_inset
11262 </cell>
11263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11264 \begin_inset Text
11265
11266 \begin_layout Standard
11267 i
11268 \end_layout
11269
11270 \end_inset
11271 </cell>
11272 </row>
11273 </lyxtabular>
11274
11275 \end_inset
11276
11277
11278 \begin_inset ERT
11279 status collapsed
11280
11281 \begin_layout Standard
11282
11283
11284 \backslash
11285 renewcommand{
11286 \backslash
11287 multirowsetup}{
11288 \backslash
11289 raggedright}
11290 \end_layout
11291
11292 \end_inset
11293
11294
11295 \end_layout
11296
11297 \begin_layout Standard
11298 create a 3×3 table.
11299  To get rid of the line above the last cell in the first column, the cell
11300  is marked as multicolumn and the upper border is unset.
11301  The multirow is now created in the second row of the first column by inserting
11302  there the command
11303 \end_layout
11304
11305 \begin_layout Standard
11306
11307 \series bold
11308
11309 \backslash
11310 multirow{2}{2.5cm}{
11311 \end_layout
11312
11313 \begin_layout Standard
11314 as ERT.
11315  According to the command parameters the multirow spans now two rows and
11316  has a width of 2.5\InsetSpace \thinspace{}
11317 cm.
11318  The content of the multirow cell follows outside the ERT box and the command
11319  is finished with a right brace 
11320 \series bold
11321 }
11322 \series default
11323  in another ERT-box behind the text.
11324 \end_layout
11325
11326 \begin_layout Standard
11327
11328 \series bold
11329
11330 \backslash
11331 multirow
11332 \series default
11333  left-aligns its content by default.
11334  To override the default, renew the command 
11335 \series bold
11336
11337 \backslash
11338 multirowsetup
11339 \series default
11340  with the command
11341 \end_layout
11342
11343 \begin_layout Standard
11344
11345 \series bold
11346
11347 \backslash
11348 renewcommand{
11349 \backslash
11350 multirowsetup}{
11351 \backslash
11352 centering}
11353 \end_layout
11354
11355 \begin_layout Standard
11356 in ERT in the document preamble.
11357  Then all entries of multirow cells in the document are centered.
11358  If centering is only needed for several tables, you can renew the command
11359  in an ERT box just before the table instead of the preamble.
11360  If the text should be right-aligned, replace 
11361 \series bold
11362
11363 \backslash
11364 centering
11365 \series default
11366  by 
11367 \series bold
11368
11369 \backslash
11370 raggedleft
11371 \series default
11372 .
11373  To return to left-alignment 
11374 \series bold
11375
11376 \backslash
11377 raggedright
11378 \series default
11379  is used.
11380 \end_layout
11381
11382 \begin_layout Section
11383 Formal Tables
11384 \begin_inset LatexCommand label
11385 name "sec:Formal-Tables"
11386
11387 \end_inset
11388
11389
11390 \begin_inset LatexCommand index
11391 name "Table ! Formal"
11392
11393 \end_inset
11394
11395
11396 \end_layout
11397
11398 \begin_layout Standard
11399 Tables are often typeset in books similar to Table\InsetSpace ~
11400
11401 \begin_inset LatexCommand ref
11402 reference "tab:Example-booktabs-table"
11403
11404 \end_inset
11405
11406 .
11407  This kind of tables is called 
11408 \begin_inset Quotes eld
11409 \end_inset
11410
11411
11412 \emph on
11413 formal
11414 \emph default
11415
11416 \begin_inset Quotes erd
11417 \end_inset
11418
11419 .
11420  To make a table a formal table use the option 
11421 \family sans
11422 Formal
11423 \family default
11424  in the 
11425 \family sans
11426 Borders
11427 \family default
11428  tab of the table dialog.
11429 \end_layout
11430
11431 \begin_layout Standard
11432 \begin_inset Float table
11433 placement h
11434 wide false
11435 sideways false
11436 status open
11437
11438 \begin_layout Standard
11439 \begin_inset Caption
11440
11441 \begin_layout Standard
11442 \begin_inset LatexCommand label
11443 name "tab:Example-booktabs-table"
11444
11445 \end_inset
11446
11447 Example booktabs-table
11448 \end_layout
11449
11450 \end_inset
11451
11452
11453 \end_layout
11454
11455 \begin_layout Standard
11456 \align center
11457 \begin_inset Tabular
11458 <lyxtabular version="3" rows="8" columns="4">
11459 <features booktabs="true">
11460 <column alignment="center" valignment="top" rightline="true" width="0">
11461 <column alignment="center" valignment="top" width="0">
11462 <column alignment="center" valignment="top" width="0">
11463 <column alignment="center" valignment="top" width="0">
11464 <row topline="true">
11465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11466 \begin_inset Text
11467
11468 \begin_layout Standard
11469 System
11470 \end_layout
11471
11472 \end_inset
11473 </cell>
11474 <cell alignment="center" valignment="top" topline="true" usebox="none">
11475 \begin_inset Text
11476
11477 \begin_layout Standard
11478 Medipix
11479 \begin_inset Formula $\,$
11480 \end_inset
11481
11482 1
11483 \end_layout
11484
11485 \end_inset
11486 </cell>
11487 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11488 \begin_inset Text
11489
11490 \begin_layout Standard
11491 Medipix
11492 \begin_inset Formula $\,$
11493 \end_inset
11494
11495 2
11496 \end_layout
11497
11498 \end_inset
11499 </cell>
11500 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11501 \begin_inset Text
11502
11503 \begin_layout Standard
11504
11505 \end_layout
11506
11507 \end_inset
11508 </cell>
11509 </row>
11510 <row>
11511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11512 \begin_inset Text
11513
11514 \begin_layout Standard
11515 \begin_inset ERT
11516 status collapsed
11517
11518 \begin_layout Standard
11519
11520
11521 \backslash
11522 cmidrule(r){2-2}
11523 \end_layout
11524
11525 \end_inset
11526
11527
11528 \begin_inset ERT
11529 status collapsed
11530
11531 \begin_layout Standard
11532
11533
11534 \backslash
11535 cmidrule(l){3-4}
11536 \end_layout
11537
11538 \end_inset
11539
11540 Detector thickness [µm]
11541 \end_layout
11542
11543 \end_inset
11544 </cell>
11545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11546 \begin_inset Text
11547
11548 \begin_layout Standard
11549 300
11550 \end_layout
11551
11552 \end_inset
11553 </cell>
11554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11555 \begin_inset Text
11556
11557 \begin_layout Standard
11558 300
11559 \end_layout
11560
11561 \end_inset
11562 </cell>
11563 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11564 \begin_inset Text
11565
11566 \begin_layout Standard
11567 700
11568 \end_layout
11569
11570 \end_inset
11571 </cell>
11572 </row>
11573 <row topline="true">
11574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11575 \begin_inset Text
11576
11577 \begin_layout Standard
11578 Edge angle [°]
11579 \end_layout
11580
11581 \end_inset
11582 </cell>
11583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11584 \begin_inset Text
11585
11586 \begin_layout Standard
11587 3.55
11588 \end_layout
11589
11590 \end_inset
11591 </cell>
11592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11593 \begin_inset Text
11594
11595 \begin_layout Standard
11596 2.71
11597 \end_layout
11598
11599 \end_inset
11600 </cell>
11601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11602 \begin_inset Text
11603
11604 \begin_layout Standard
11605 7.99
11606 \end_layout
11607
11608 \end_inset
11609 </cell>
11610 </row>
11611 <row topspace="default">
11612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11613 \begin_inset Text
11614
11615 \begin_layout Standard
11616 Spatial resolution [µm]
11617 \end_layout
11618
11619 \end_inset
11620 </cell>
11621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11622 \begin_inset Text
11623
11624 \begin_layout Standard
11625 4.26
11626 \end_layout
11627
11628 \end_inset
11629 </cell>
11630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11631 \begin_inset Text
11632
11633 \begin_layout Standard
11634 10.17
11635 \end_layout
11636
11637 \end_inset
11638 </cell>
11639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11640 \begin_inset Text
11641
11642 \begin_layout Standard
11643 10.56
11644 \end_layout
11645
11646 \end_inset
11647 </cell>
11648 </row>
11649 <row topspace="default">
11650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11651 \begin_inset Text
11652
11653 \begin_layout Standard
11654 MTF at 
11655 \begin_inset Formula $f_{\mathrm{max}}$
11656 \end_inset
11657
11658
11659 \end_layout
11660
11661 \end_inset
11662 </cell>
11663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11664 \begin_inset Text
11665
11666 \begin_layout Standard
11667 0.53
11668 \end_layout
11669
11670 \end_inset
11671 </cell>
11672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11673 \begin_inset Text
11674
11675 \begin_layout Standard
11676 0.37
11677 \end_layout
11678
11679 \end_inset
11680 </cell>
11681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11682 \begin_inset Text
11683
11684 \begin_layout Standard
11685 0.39
11686 \end_layout
11687
11688 \end_inset
11689 </cell>
11690 </row>
11691 <row topspace="default">
11692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11693 \begin_inset Text
11694
11695 \begin_layout Standard
11696 \begin_inset ERT
11697 status collapsed
11698
11699 \begin_layout Standard
11700
11701
11702 \backslash
11703 cmidrule(l{10pt}){1-1}
11704 \end_layout
11705
11706 \end_inset
11707
11708 LSF-spatial resolution
11709 \end_layout
11710
11711 \end_inset
11712 </cell>
11713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11714 \begin_inset Text
11715
11716 \begin_layout Standard
11717
11718 \end_layout
11719
11720 \end_inset
11721 </cell>
11722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11723 \begin_inset Text
11724
11725 \begin_layout Standard
11726
11727 \end_layout
11728
11729 \end_inset
11730 </cell>
11731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11732 \begin_inset Text
11733
11734 \begin_layout Standard
11735
11736 \end_layout
11737
11738 \end_inset
11739 </cell>
11740 </row>
11741 <row>
11742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11743 \begin_inset Text
11744
11745 \begin_layout Standard
11746 in µm
11747 \end_layout
11748
11749 \end_inset
11750 </cell>
11751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11752 \begin_inset Text
11753
11754 \begin_layout Standard
11755 129.7
11756 \end_layout
11757
11758 \end_inset
11759 </cell>
11760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11761 \begin_inset Text
11762
11763 \begin_layout Standard
11764 52.75
11765 \end_layout
11766
11767 \end_inset
11768 </cell>
11769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11770 \begin_inset Text
11771
11772 \begin_layout Standard
11773 50.78
11774 \end_layout
11775
11776 \end_inset
11777 </cell>
11778 </row>
11779 <row bottomline="true">
11780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11781 \begin_inset Text
11782
11783 \begin_layout Standard
11784 in % of pixel size
11785 \end_layout
11786
11787 \end_inset
11788 </cell>
11789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11790 \begin_inset Text
11791
11792 \begin_layout Standard
11793 76.3
11794 \end_layout
11795
11796 \end_inset
11797 </cell>
11798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11799 \begin_inset Text
11800
11801 \begin_layout Standard
11802 95.9
11803 \end_layout
11804
11805 \end_inset
11806 </cell>
11807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11808 \begin_inset Text
11809
11810 \begin_layout Standard
11811 92.3
11812 \end_layout
11813
11814 \end_inset
11815 </cell>
11816 </row>
11817 </lyxtabular>
11818
11819 \end_inset
11820
11821
11822 \end_layout
11823
11824 \end_inset
11825
11826
11827 \end_layout
11828
11829 \begin_layout Standard
11830 Spaces to table rows can be added using the 
11831 \family sans
11832 Borders
11833 \family default
11834  tab of the table dialog as described in section\InsetSpace ~
11835
11836 \begin_inset LatexCommand ref
11837 reference "sub:Row-Spacing"
11838
11839 \end_inset
11840
11841 .
11842 \end_layout
11843
11844 \begin_layout Standard
11845 In contrary to normal tables, formal tables have no vertical table lines.
11846  The horizontal table lines can be set like for normal tables but they appear
11847  with different width in the output:
11848 \newline
11849 The first and the last table line have
11850  a default width of 0.08\InsetSpace \thinspace{}
11851 em while the other lines have a default width of
11852  0.05\InsetSpace \thinspace{}
11853 em.
11854 \end_layout
11855
11856 \begin_layout Standard
11857 The default widths can be changed with the following preamble lines
11858 \end_layout
11859
11860 \begin_layout Standard
11861
11862 \series bold
11863
11864 \backslash
11865 let
11866 \backslash
11867 mytoprule
11868 \backslash
11869 toprule
11870 \newline
11871
11872 \backslash
11873 renewcommand{
11874 \backslash
11875 toprule}{
11876 \backslash
11877 mytoprule[width]}
11878 \end_layout
11879
11880 \begin_layout Standard
11881 This example is for the first line, the so called 
11882 \series bold
11883 toprule
11884 \series default
11885 .
11886  If you want to change the width for the last line, replace 
11887 \series bold
11888 toprule
11889 \series default
11890  by 
11891 \series bold
11892 bottomrule
11893 \series default
11894 .
11895  To change the width for the other lines replace 
11896 \series bold
11897 toprule
11898 \series default
11899  by 
11900 \series bold
11901 midrule
11902 \series default
11903 .
11904  You can use all units listed in appendix\InsetSpace ~
11905
11906 \begin_inset LatexCommand ref
11907 reference "cha:Units-available-in"
11908
11909 \end_inset
11910
11911  to set the width.
11912 \end_layout
11913
11914 \begin_layout Standard
11915 Lines that don't span over all table columns can be created by setting a
11916  table line for multicolumn cells.
11917  LyX will then internally use the command 
11918 \series bold
11919
11920 \backslash
11921 cmidrule
11922 \series default
11923  to create this line.
11924  Its full scheme is
11925 \end_layout
11926
11927 \begin_layout Standard
11928
11929 \series bold
11930
11931 \backslash
11932 cmidrule[width](trim){startcol-endcol}
11933 \end_layout
11934
11935 \begin_layout Standard
11936 The options of 
11937 \series bold
11938
11939 \backslash
11940 cmidrule
11941 \series default
11942  are are currently not supported by LyX so you have to use ERT to be able
11943  to use them.
11944  
11945 \series bold
11946
11947 \backslash
11948 cmidrule
11949 \series default
11950 s can manually be created by inserting the command as ERT as first cell
11951  entry of the first cell of a row.
11952  The line is then drawn in the output above the current row.
11953 \end_layout
11954
11955 \begin_layout Standard
11956 The default for the width is 0.03\InsetSpace \thinspace{}
11957 em.
11958  Startcol is the number of the column where the line starts and endcol the
11959  column number where the line ends.
11960  The endcol always needs to be specified, also when the line should span
11961  only one column.
11962  The optional parameter trim could be either 
11963 \emph on
11964 l{trimwidth}
11965 \emph default
11966 , or 
11967 \emph on
11968 r{trimwidth}
11969 \emph default
11970  where the trimwidth is also optional.
11971  Using for example the parameter 
11972 \emph on
11973 l{2pt}
11974 \emph default
11975  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11976 pt.
11977  If you don't specify the trimwidth the lines are trimmed by the default
11978  of 0.5\InsetSpace \thinspace{}
11979 em.
11980 \end_layout
11981
11982 \begin_layout Standard
11983 \begin_inset VSpace bigskip
11984 \end_inset
11985
11986 Table\InsetSpace ~
11987
11988 \begin_inset LatexCommand ref
11989 reference "tab:Example-booktabs-table"
11990
11991 \end_inset
11992
11993  was created using the commands
11994 \end_layout
11995
11996 \begin_layout Standard
11997
11998 \series bold
11999
12000 \backslash
12001 cmidrule(r){2-2}
12002 \backslash
12003 cmidrule(l){3-4}
12004 \end_layout
12005
12006 \begin_layout Standard
12007 at the beginning of the in the second row and
12008 \end_layout
12009
12010 \begin_layout Standard
12011
12012 \series bold
12013
12014 \backslash
12015 cmidrule(l{10pt}){1-1}
12016 \end_layout
12017
12018 \begin_layout Standard
12019 in the sixth row.
12020 \end_layout
12021
12022 \begin_layout Standard
12023 \begin_inset VSpace bigskip
12024 \end_inset
12025
12026
12027 \end_layout
12028
12029 \begin_layout Standard
12030 You might want to have overlapping 
12031 \series bold
12032
12033 \backslash
12034 cmidrule
12035 \series default
12036 s like in Table\InsetSpace ~
12037
12038 \begin_inset LatexCommand ref
12039 reference "tab:Special-booktabs-table"
12040
12041 \end_inset
12042
12043 .
12044  This can be achieved with the ERT command
12045 \end_layout
12046
12047 \begin_layout Standard
12048
12049 \series bold
12050
12051 \backslash
12052 morecmidrules
12053 \end_layout
12054
12055 \begin_layout Standard
12056 The command that was used for the second row of Table\InsetSpace ~
12057
12058 \begin_inset LatexCommand ref
12059 reference "tab:Special-booktabs-table"
12060
12061 \end_inset
12062
12063  is
12064 \end_layout
12065
12066 \begin_layout Standard
12067
12068 \series bold
12069
12070 \backslash
12071 cmidrule(r){2-2}
12072 \backslash
12073 cmidrule(l){3-4}
12074 \backslash
12075 morecmidrules
12076 \backslash
12077 cmidrule{2-4}
12078 \end_layout
12079
12080 \begin_layout Standard
12081 The command for the sixth row is
12082 \end_layout
12083
12084 \begin_layout Standard
12085
12086 \series bold
12087
12088 \backslash
12089 midrule
12090 \backslash
12091 morecmidrules
12092 \backslash
12093 cmidrule{3-4}
12094 \end_layout
12095
12096 \begin_layout Standard
12097 \begin_inset VSpace bigskip
12098 \end_inset
12099
12100
12101 \end_layout
12102
12103 \begin_layout Standard
12104 If you are anyway not satisfied with the border line spacing, you can use
12105  the following command to produce lines that span over all table columns
12106 \series bold
12107 :
12108 \end_layout
12109
12110 \begin_layout Standard
12111
12112 \series bold
12113
12114 \backslash
12115 specialrule{width}{space above}{space below}
12116 \end_layout
12117
12118 \begin_layout Standard
12119 For more informations about these specialties, we refer to the manual of
12120  the LaTeX-package 
12121 \series bold
12122 booktabs
12123 \series default
12124  
12125 \begin_inset LatexCommand cite
12126 key "booktabs"
12127
12128 \end_inset
12129
12130 .
12131 \begin_inset LatexCommand index
12132 name "LaTeX-packages ! booktabs"
12133
12134 \end_inset
12135
12136
12137 \end_layout
12138
12139 \begin_layout Standard
12140 \begin_inset Float table
12141 placement h
12142 wide false
12143 sideways false
12144 status open
12145
12146 \begin_layout Standard
12147 \begin_inset Caption
12148
12149 \begin_layout Standard
12150 \begin_inset LatexCommand label
12151 name "tab:Special-booktabs-table"
12152
12153 \end_inset
12154
12155 Special booktabs-table
12156 \end_layout
12157
12158 \end_inset
12159
12160
12161 \end_layout
12162
12163 \begin_layout Standard
12164 \align center
12165 \begin_inset Tabular
12166 <lyxtabular version="3" rows="8" columns="4">
12167 <features booktabs="true">
12168 <column alignment="center" valignment="top" width="0">
12169 <column alignment="center" valignment="top" width="0">
12170 <column alignment="center" valignment="top" width="0">
12171 <column alignment="center" valignment="top" width="0">
12172 <row topline="true">
12173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12174 \begin_inset Text
12175
12176 \begin_layout Standard
12177 System
12178 \end_layout
12179
12180 \end_inset
12181 </cell>
12182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12183 \begin_inset Text
12184
12185 \begin_layout Standard
12186 Medipix\InsetSpace \thinspace{}
12187 1
12188 \end_layout
12189
12190 \end_inset
12191 </cell>
12192 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12193 \begin_inset Text
12194
12195 \begin_layout Standard
12196 Medipix\InsetSpace \thinspace{}
12197 2
12198 \end_layout
12199
12200 \end_inset
12201 </cell>
12202 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12203 \begin_inset Text
12204
12205 \begin_layout Standard
12206
12207 \end_layout
12208
12209 \end_inset
12210 </cell>
12211 </row>
12212 <row>
12213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12214 \begin_inset Text
12215
12216 \begin_layout Standard
12217 \begin_inset ERT
12218 status collapsed
12219
12220 \begin_layout Standard
12221
12222
12223 \backslash
12224 cmidrule(r){2-2}
12225 \end_layout
12226
12227 \end_inset
12228
12229
12230 \begin_inset ERT
12231 status collapsed
12232
12233 \begin_layout Standard
12234
12235
12236 \backslash
12237 cmidrule(l){3-4}
12238 \end_layout
12239
12240 \end_inset
12241
12242
12243 \begin_inset ERT
12244 status collapsed
12245
12246 \begin_layout Standard
12247
12248
12249 \backslash
12250 morecmidrules 
12251 \end_layout
12252
12253 \end_inset
12254
12255
12256 \begin_inset ERT
12257 status collapsed
12258
12259 \begin_layout Standard
12260
12261
12262 \backslash
12263 cmidrule{2-4}
12264 \end_layout
12265
12266 \end_inset
12267
12268 Detector thickness [µm]
12269 \end_layout
12270
12271 \end_inset
12272 </cell>
12273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12274 \begin_inset Text
12275
12276 \begin_layout Standard
12277 300
12278 \end_layout
12279
12280 \end_inset
12281 </cell>
12282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12283 \begin_inset Text
12284
12285 \begin_layout Standard
12286 300
12287 \end_layout
12288
12289 \end_inset
12290 </cell>
12291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12292 \begin_inset Text
12293
12294 \begin_layout Standard
12295 700
12296 \end_layout
12297
12298 \end_inset
12299 </cell>
12300 </row>
12301 <row topline="true">
12302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12303 \begin_inset Text
12304
12305 \begin_layout Standard
12306 Edge angle [°]
12307 \end_layout
12308
12309 \end_inset
12310 </cell>
12311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12312 \begin_inset Text
12313
12314 \begin_layout Standard
12315 3.55
12316 \end_layout
12317
12318 \end_inset
12319 </cell>
12320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12321 \begin_inset Text
12322
12323 \begin_layout Standard
12324 2.71
12325 \end_layout
12326
12327 \end_inset
12328 </cell>
12329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12330 \begin_inset Text
12331
12332 \begin_layout Standard
12333 7.99
12334 \end_layout
12335
12336 \end_inset
12337 </cell>
12338 </row>
12339 <row topspace="default">
12340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12341 \begin_inset Text
12342
12343 \begin_layout Standard
12344 Spatial resolution [µm]
12345 \end_layout
12346
12347 \end_inset
12348 </cell>
12349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12350 \begin_inset Text
12351
12352 \begin_layout Standard
12353 4.26
12354 \end_layout
12355
12356 \end_inset
12357 </cell>
12358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12359 \begin_inset Text
12360
12361 \begin_layout Standard
12362 10.17
12363 \end_layout
12364
12365 \end_inset
12366 </cell>
12367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12368 \begin_inset Text
12369
12370 \begin_layout Standard
12371 10.56
12372 \end_layout
12373
12374 \end_inset
12375 </cell>
12376 </row>
12377 <row topspace="default">
12378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12379 \begin_inset Text
12380
12381 \begin_layout Standard
12382 MTF at 
12383 \begin_inset Formula $f_{\mathrm{max}}$
12384 \end_inset
12385
12386
12387 \end_layout
12388
12389 \end_inset
12390 </cell>
12391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12392 \begin_inset Text
12393
12394 \begin_layout Standard
12395 0.53
12396 \end_layout
12397
12398 \end_inset
12399 </cell>
12400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12401 \begin_inset Text
12402
12403 \begin_layout Standard
12404 0.37
12405 \end_layout
12406
12407 \end_inset
12408 </cell>
12409 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12410 \begin_inset Text
12411
12412 \begin_layout Standard
12413 0.39
12414 \end_layout
12415
12416 \end_inset
12417 </cell>
12418 </row>
12419 <row topline="true">
12420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12421 \begin_inset Text
12422
12423 \begin_layout Standard
12424 \begin_inset ERT
12425 status collapsed
12426
12427 \begin_layout Standard
12428
12429
12430 \backslash
12431 morecmidrules 
12432 \end_layout
12433
12434 \end_inset
12435
12436
12437 \begin_inset ERT
12438 status collapsed
12439
12440 \begin_layout Standard
12441
12442
12443 \backslash
12444 cmidrule{3-4}
12445 \end_layout
12446
12447 \end_inset
12448
12449 LSF-spatial resolution
12450 \end_layout
12451
12452 \end_inset
12453 </cell>
12454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12455 \begin_inset Text
12456
12457 \begin_layout Standard
12458
12459 \end_layout
12460
12461 \end_inset
12462 </cell>
12463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12464 \begin_inset Text
12465
12466 \begin_layout Standard
12467
12468 \end_layout
12469
12470 \end_inset
12471 </cell>
12472 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12473 \begin_inset Text
12474
12475 \begin_layout Standard
12476
12477 \end_layout
12478
12479 \end_inset
12480 </cell>
12481 </row>
12482 <row>
12483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12484 \begin_inset Text
12485
12486 \begin_layout Standard
12487 in µm
12488 \end_layout
12489
12490 \end_inset
12491 </cell>
12492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12493 \begin_inset Text
12494
12495 \begin_layout Standard
12496 129.7
12497 \end_layout
12498
12499 \end_inset
12500 </cell>
12501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12502 \begin_inset Text
12503
12504 \begin_layout Standard
12505 52.75
12506 \end_layout
12507
12508 \end_inset
12509 </cell>
12510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12511 \begin_inset Text
12512
12513 \begin_layout Standard
12514 50.78
12515 \end_layout
12516
12517 \end_inset
12518 </cell>
12519 </row>
12520 <row bottomline="true">
12521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12522 \begin_inset Text
12523
12524 \begin_layout Standard
12525 in % of pixel size
12526 \end_layout
12527
12528 \end_inset
12529 </cell>
12530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12531 \begin_inset Text
12532
12533 \begin_layout Standard
12534 76.3
12535 \end_layout
12536
12537 \end_inset
12538 </cell>
12539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12540 \begin_inset Text
12541
12542 \begin_layout Standard
12543 95.9
12544 \end_layout
12545
12546 \end_inset
12547 </cell>
12548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12549 \begin_inset Text
12550
12551 \begin_layout Standard
12552 92.3
12553 \end_layout
12554
12555 \end_inset
12556 </cell>
12557 </row>
12558 </lyxtabular>
12559
12560 \end_inset
12561
12562
12563 \end_layout
12564
12565 \end_inset
12566
12567
12568 \end_layout
12569
12570 \begin_layout Section
12571 Vertical Table Alignment
12572 \begin_inset LatexCommand index
12573 name "Table ! Alignment"
12574
12575 \end_inset
12576
12577
12578 \end_layout
12579
12580 \begin_layout Standard
12581 To align tables vertically in a text line the table must be inside a box.
12582  The box can then be vertically aligned as described in section\InsetSpace ~
12583
12584 \begin_inset LatexCommand ref
12585 reference "sec:Box-Dialog"
12586
12587 \end_inset
12588
12589 .
12590 \end_layout
12591
12592 \begin_layout Standard
12593 In the following example the tables are inside a minipage
12594 \begin_inset Foot
12595 status collapsed
12596
12597 \begin_layout Standard
12598 Minipages are described in section\InsetSpace ~
12599
12600 \begin_inset LatexCommand ref
12601 reference "sec:Minipages"
12602
12603 \end_inset
12604
12605 .
12606 \end_layout
12607
12608 \end_inset
12609
12610  box that has a width of 15\InsetSpace \thinspace{}
12611 col%:
12612 \end_layout
12613
12614 \begin_layout Itemize
12615 test 
12616 \begin_inset Box Frameless
12617 position "t"
12618 hor_pos "c"
12619 has_inner_box 1
12620 inner_pos "c"
12621 use_parbox 0
12622 width "15col%"
12623 special "none"
12624 height "1in"
12625 height_special "totalheight"
12626 status collapsed
12627
12628 \begin_layout Standard
12629 \begin_inset Tabular
12630 <lyxtabular version="3" rows="3" columns="3">
12631 <features>
12632 <column alignment="center" valignment="top" leftline="true" width="0">
12633 <column alignment="center" valignment="top" leftline="true" width="0">
12634 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12635 <row topline="true">
12636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12637 \begin_inset Text
12638
12639 \begin_layout Standard
12640 a
12641 \end_layout
12642
12643 \end_inset
12644 </cell>
12645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12646 \begin_inset Text
12647
12648 \begin_layout Standard
12649 d
12650 \end_layout
12651
12652 \end_inset
12653 </cell>
12654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12655 \begin_inset Text
12656
12657 \begin_layout Standard
12658 g
12659 \end_layout
12660
12661 \end_inset
12662 </cell>
12663 </row>
12664 <row topline="true">
12665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12666 \begin_inset Text
12667
12668 \begin_layout Standard
12669 b
12670 \end_layout
12671
12672 \end_inset
12673 </cell>
12674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12675 \begin_inset Text
12676
12677 \begin_layout Standard
12678 e
12679 \end_layout
12680
12681 \end_inset
12682 </cell>
12683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12684 \begin_inset Text
12685
12686 \begin_layout Standard
12687 h
12688 \end_layout
12689
12690 \end_inset
12691 </cell>
12692 </row>
12693 <row topline="true" bottomline="true">
12694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12695 \begin_inset Text
12696
12697 \begin_layout Standard
12698 c
12699 \end_layout
12700
12701 \end_inset
12702 </cell>
12703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12704 \begin_inset Text
12705
12706 \begin_layout Standard
12707 f
12708 \end_layout
12709
12710 \end_inset
12711 </cell>
12712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12713 \begin_inset Text
12714
12715 \begin_layout Standard
12716 i
12717 \end_layout
12718
12719 \end_inset
12720 </cell>
12721 </row>
12722 </lyxtabular>
12723
12724 \end_inset
12725
12726
12727 \end_layout
12728
12729 \end_inset
12730
12731  test 
12732 \begin_inset ERT
12733 status collapsed
12734
12735 \begin_layout Standard
12736
12737
12738 \backslash
12739 raisebox{0.85
12740 \backslash
12741 baselineskip}{
12742 \end_layout
12743
12744 \end_inset
12745
12746
12747 \begin_inset Box Frameless
12748 position "t"
12749 hor_pos "c"
12750 has_inner_box 1
12751 inner_pos "c"
12752 use_parbox 0
12753 width "15col%"
12754 special "none"
12755 height "1in"
12756 height_special "totalheight"
12757 status collapsed
12758
12759 \begin_layout Standard
12760 \begin_inset Tabular
12761 <lyxtabular version="3" rows="3" columns="3">
12762 <features>
12763 <column alignment="center" valignment="top" leftline="true" width="0">
12764 <column alignment="center" valignment="top" leftline="true" width="0">
12765 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12766 <row topline="true">
12767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12768 \begin_inset Text
12769
12770 \begin_layout Standard
12771 a
12772 \end_layout
12773
12774 \end_inset
12775 </cell>
12776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12777 \begin_inset Text
12778
12779 \begin_layout Standard
12780 d
12781 \end_layout
12782
12783 \end_inset
12784 </cell>
12785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12786 \begin_inset Text
12787
12788 \begin_layout Standard
12789 g
12790 \end_layout
12791
12792 \end_inset
12793 </cell>
12794 </row>
12795 <row topline="true">
12796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12797 \begin_inset Text
12798
12799 \begin_layout Standard
12800 b
12801 \end_layout
12802
12803 \end_inset
12804 </cell>
12805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12806 \begin_inset Text
12807
12808 \begin_layout Standard
12809 e
12810 \end_layout
12811
12812 \end_inset
12813 </cell>
12814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12815 \begin_inset Text
12816
12817 \begin_layout Standard
12818 h
12819 \end_layout
12820
12821 \end_inset
12822 </cell>
12823 </row>
12824 <row topline="true" bottomline="true">
12825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12826 \begin_inset Text
12827
12828 \begin_layout Standard
12829 c
12830 \end_layout
12831
12832 \end_inset
12833 </cell>
12834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12835 \begin_inset Text
12836
12837 \begin_layout Standard
12838 f
12839 \end_layout
12840
12841 \end_inset
12842 </cell>
12843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12844 \begin_inset Text
12845
12846 \begin_layout Standard
12847 i
12848 \end_layout
12849
12850 \end_inset
12851 </cell>
12852 </row>
12853 </lyxtabular>
12854
12855 \end_inset
12856
12857
12858 \end_layout
12859
12860 \end_inset
12861
12862
12863 \begin_inset ERT
12864 status collapsed
12865
12866 \begin_layout Standard
12867
12868 }
12869 \end_layout
12870
12871 \end_inset
12872
12873
12874 \end_layout
12875
12876 \begin_layout Itemize
12877 test 
12878 \begin_inset Box Frameless
12879 position "c"
12880 hor_pos "c"
12881 has_inner_box 1
12882 inner_pos "c"
12883 use_parbox 0
12884 width "15col%"
12885 special "none"
12886 height "1in"
12887 height_special "totalheight"
12888 status collapsed
12889
12890 \begin_layout Standard
12891 \begin_inset Tabular
12892 <lyxtabular version="3" rows="3" columns="3">
12893 <features>
12894 <column alignment="center" valignment="top" leftline="true" width="0">
12895 <column alignment="center" valignment="top" leftline="true" width="0">
12896 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12897 <row topline="true">
12898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12899 \begin_inset Text
12900
12901 \begin_layout Standard
12902 a
12903 \end_layout
12904
12905 \end_inset
12906 </cell>
12907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12908 \begin_inset Text
12909
12910 \begin_layout Standard
12911 d
12912 \end_layout
12913
12914 \end_inset
12915 </cell>
12916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12917 \begin_inset Text
12918
12919 \begin_layout Standard
12920 g
12921 \end_layout
12922
12923 \end_inset
12924 </cell>
12925 </row>
12926 <row topline="true">
12927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12928 \begin_inset Text
12929
12930 \begin_layout Standard
12931 b
12932 \end_layout
12933
12934 \end_inset
12935 </cell>
12936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12937 \begin_inset Text
12938
12939 \begin_layout Standard
12940 e
12941 \end_layout
12942
12943 \end_inset
12944 </cell>
12945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12946 \begin_inset Text
12947
12948 \begin_layout Standard
12949 h
12950 \end_layout
12951
12952 \end_inset
12953 </cell>
12954 </row>
12955 <row topline="true" bottomline="true">
12956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12957 \begin_inset Text
12958
12959 \begin_layout Standard
12960 c
12961 \end_layout
12962
12963 \end_inset
12964 </cell>
12965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12966 \begin_inset Text
12967
12968 \begin_layout Standard
12969 f
12970 \end_layout
12971
12972 \end_inset
12973 </cell>
12974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12975 \begin_inset Text
12976
12977 \begin_layout Standard
12978 i
12979 \end_layout
12980
12981 \end_inset
12982 </cell>
12983 </row>
12984 </lyxtabular>
12985
12986 \end_inset
12987
12988
12989 \end_layout
12990
12991 \end_inset
12992
12993
12994 \end_layout
12995
12996 \begin_layout Itemize
12997 test 
12998 \begin_inset Box Frameless
12999 position "b"
13000 hor_pos "c"
13001 has_inner_box 1
13002 inner_pos "c"
13003 use_parbox 0
13004 width "15col%"
13005 special "none"
13006 height "1in"
13007 height_special "totalheight"
13008 status collapsed
13009
13010 \begin_layout Standard
13011 \begin_inset Tabular
13012 <lyxtabular version="3" rows="3" columns="3">
13013 <features>
13014 <column alignment="center" valignment="top" leftline="true" width="0">
13015 <column alignment="center" valignment="top" leftline="true" width="0">
13016 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13017 <row topline="true">
13018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13019 \begin_inset Text
13020
13021 \begin_layout Standard
13022 a
13023 \end_layout
13024
13025 \end_inset
13026 </cell>
13027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13028 \begin_inset Text
13029
13030 \begin_layout Standard
13031 d
13032 \end_layout
13033
13034 \end_inset
13035 </cell>
13036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13037 \begin_inset Text
13038
13039 \begin_layout Standard
13040 g
13041 \end_layout
13042
13043 \end_inset
13044 </cell>
13045 </row>
13046 <row topline="true">
13047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13048 \begin_inset Text
13049
13050 \begin_layout Standard
13051 b
13052 \end_layout
13053
13054 \end_inset
13055 </cell>
13056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13057 \begin_inset Text
13058
13059 \begin_layout Standard
13060 e
13061 \end_layout
13062
13063 \end_inset
13064 </cell>
13065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13066 \begin_inset Text
13067
13068 \begin_layout Standard
13069 h
13070 \end_layout
13071
13072 \end_inset
13073 </cell>
13074 </row>
13075 <row topline="true" bottomline="true">
13076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13077 \begin_inset Text
13078
13079 \begin_layout Standard
13080 c
13081 \end_layout
13082
13083 \end_inset
13084 </cell>
13085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13086 \begin_inset Text
13087
13088 \begin_layout Standard
13089 f
13090 \end_layout
13091
13092 \end_inset
13093 </cell>
13094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13095 \begin_inset Text
13096
13097 \begin_layout Standard
13098 i
13099 \end_layout
13100
13101 \end_inset
13102 </cell>
13103 </row>
13104 </lyxtabular>
13105
13106 \end_inset
13107
13108
13109 \end_layout
13110
13111 \end_inset
13112
13113  test 
13114 \begin_inset ERT
13115 status collapsed
13116
13117 \begin_layout Standard
13118
13119
13120 \backslash
13121 raisebox{-0.32
13122 \backslash
13123 baselineskip}{
13124 \end_layout
13125
13126 \end_inset
13127
13128
13129 \begin_inset Box Frameless
13130 position "b"
13131 hor_pos "c"
13132 has_inner_box 1
13133 inner_pos "c"
13134 use_parbox 0
13135 width "15col%"
13136 special "none"
13137 height "1in"
13138 height_special "totalheight"
13139 status collapsed
13140
13141 \begin_layout Standard
13142 \begin_inset Tabular
13143 <lyxtabular version="3" rows="3" columns="3">
13144 <features>
13145 <column alignment="center" valignment="top" leftline="true" width="0">
13146 <column alignment="center" valignment="top" leftline="true" width="0">
13147 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13148 <row topline="true">
13149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13150 \begin_inset Text
13151
13152 \begin_layout Standard
13153 a
13154 \end_layout
13155
13156 \end_inset
13157 </cell>
13158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13159 \begin_inset Text
13160
13161 \begin_layout Standard
13162 d
13163 \end_layout
13164
13165 \end_inset
13166 </cell>
13167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13168 \begin_inset Text
13169
13170 \begin_layout Standard
13171 g
13172 \end_layout
13173
13174 \end_inset
13175 </cell>
13176 </row>
13177 <row topline="true">
13178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13179 \begin_inset Text
13180
13181 \begin_layout Standard
13182 b
13183 \end_layout
13184
13185 \end_inset
13186 </cell>
13187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13188 \begin_inset Text
13189
13190 \begin_layout Standard
13191 e
13192 \end_layout
13193
13194 \end_inset
13195 </cell>
13196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13197 \begin_inset Text
13198
13199 \begin_layout Standard
13200 h
13201 \end_layout
13202
13203 \end_inset
13204 </cell>
13205 </row>
13206 <row topline="true" bottomline="true">
13207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13208 \begin_inset Text
13209
13210 \begin_layout Standard
13211 c
13212 \end_layout
13213
13214 \end_inset
13215 </cell>
13216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13217 \begin_inset Text
13218
13219 \begin_layout Standard
13220 f
13221 \end_layout
13222
13223 \end_inset
13224 </cell>
13225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13226 \begin_inset Text
13227
13228 \begin_layout Standard
13229 i
13230 \end_layout
13231
13232 \end_inset
13233 </cell>
13234 </row>
13235 </lyxtabular>
13236
13237 \end_inset
13238
13239
13240 \end_layout
13241
13242 \end_inset
13243
13244
13245 \begin_inset ERT
13246 status collapsed
13247
13248 \begin_layout Standard
13249
13250 }
13251 \end_layout
13252
13253 \end_inset
13254
13255
13256 \end_layout
13257
13258 \begin_layout Standard
13259 As you can see, the content of the first and last table row is not correctly
13260  aligned with the text line where the table is in.
13261  To get this alignment, the minipage box must be set into a raisebox
13262 \begin_inset Foot
13263 status collapsed
13264
13265 \begin_layout Standard
13266 Raiseboxes are described in section\InsetSpace ~
13267
13268 \begin_inset LatexCommand ref
13269 reference "sub:Vertical-Alignment"
13270
13271 \end_inset
13272
13273 .
13274 \end_layout
13275
13276 \end_inset
13277
13278 .
13279  In the example above the second table in the first item is aligned using
13280  the ERT-command
13281 \end_layout
13282
13283 \begin_layout Standard
13284
13285 \series bold
13286
13287 \backslash
13288 raisebox{0.85
13289 \backslash
13290 baselineskip}{
13291 \end_layout
13292
13293 \begin_layout Standard
13294 before the box.
13295  Behind the box the closing brace 
13296 \series bold
13297 }
13298 \series default
13299  is inserted as ERT.
13300  For the second table in the last item the command
13301 \end_layout
13302
13303 \begin_layout Standard
13304
13305 \series bold
13306
13307 \backslash
13308 raisebox{-0.32
13309 \backslash
13310 baselineskip}{
13311 \end_layout
13312
13313 \begin_layout Standard
13314 is used.
13315 \end_layout
13316
13317 \begin_layout Standard
13318 \begin_inset Note Greyedout
13319 status open
13320
13321 \begin_layout Standard
13322
13323 \series bold
13324 Note:
13325 \series default
13326  The alignment of the table row content to the surrounding text line is
13327  not exact.
13328  The needed factor of the 
13329 \series bold
13330
13331 \backslash
13332 raisebox
13333 \series default
13334  command for this alignment depends on the document font, the font size,
13335  and the table line thickness.
13336 \end_layout
13337
13338 \end_inset
13339
13340
13341 \end_layout
13342
13343 \begin_layout Section
13344 Colored Tables
13345 \begin_inset LatexCommand label
13346 name "sec:Colored-Tables"
13347
13348 \end_inset
13349
13350
13351 \begin_inset LatexCommand index
13352 name "Table ! Color"
13353
13354 \end_inset
13355
13356
13357 \end_layout
13358
13359 \begin_layout Subsection
13360 Colored Cells
13361 \begin_inset LatexCommand index
13362 name "Table Color ! for Cells"
13363
13364 \end_inset
13365
13366
13367 \begin_inset LatexCommand index
13368 name "Color ! for Table Cells"
13369
13370 \end_inset
13371
13372
13373 \end_layout
13374
13375 \begin_layout Standard
13376 \begin_inset Float table
13377 placement h
13378 wide false
13379 sideways false
13380 status open
13381
13382 \begin_layout Standard
13383 \begin_inset Caption
13384
13385 \begin_layout Standard
13386 \begin_inset LatexCommand label
13387 name "tab:Table-colored-without"
13388
13389 \end_inset
13390
13391 Table colored without using the package 
13392 \series bold
13393 colortbl
13394 \series default
13395
13396 \begin_inset OptArg
13397 status collapsed
13398
13399 \begin_layout Standard
13400 Table without colortbl
13401 \end_layout
13402
13403 \end_inset
13404
13405
13406 \end_layout
13407
13408 \end_inset
13409
13410
13411 \end_layout
13412
13413 \begin_layout Standard
13414 \align center
13415 \begin_inset Tabular
13416 <lyxtabular version="3" rows="3" columns="3">
13417 <features>
13418 <column alignment="center" valignment="top" leftline="true" width="0">
13419 <column alignment="center" valignment="top" leftline="true" width="0">
13420 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13421 <row topline="true">
13422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13423 \begin_inset Text
13424
13425 \begin_layout Standard
13426
13427 \color green
13428 a
13429 \end_layout
13430
13431 \end_inset
13432 </cell>
13433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13434 \begin_inset Text
13435
13436 \begin_layout Standard
13437
13438 \color red
13439 b
13440 \end_layout
13441
13442 \end_inset
13443 </cell>
13444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13445 \begin_inset Text
13446
13447 \begin_layout Standard
13448
13449 \color red
13450 c
13451 \end_layout
13452
13453 \end_inset
13454 </cell>
13455 </row>
13456 <row topline="true">
13457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13458 \begin_inset Text
13459
13460 \begin_layout Standard
13461
13462 \color green
13463 d
13464 \end_layout
13465
13466 \end_inset
13467 </cell>
13468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13469 \begin_inset Text
13470
13471 \begin_layout Standard
13472
13473 \color blue
13474 e
13475 \end_layout
13476
13477 \end_inset
13478 </cell>
13479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13480 \begin_inset Text
13481
13482 \begin_layout Standard
13483
13484 \color blue
13485 f
13486 \end_layout
13487
13488 \end_inset
13489 </cell>
13490 </row>
13491 <row topline="true" bottomline="true">
13492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13493 \begin_inset Text
13494
13495 \begin_layout Standard
13496
13497 \color green
13498 g
13499 \end_layout
13500
13501 \end_inset
13502 </cell>
13503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13504 \begin_inset Text
13505
13506 \begin_layout Standard
13507
13508 \color blue
13509 h
13510 \end_layout
13511
13512 \end_inset
13513 </cell>
13514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13515 \begin_inset Text
13516
13517 \begin_layout Standard
13518
13519 \color blue
13520 i
13521 \end_layout
13522
13523 \end_inset
13524 </cell>
13525 </row>
13526 </lyxtabular>
13527
13528 \end_inset
13529
13530
13531 \end_layout
13532
13533 \end_inset
13534
13535
13536 \end_layout
13537
13538 \begin_layout Standard
13539 If you only need colored text, mark the cells and choose a color in the
13540  menu 
13541 \family sans
13542 Edit\SpecialChar \menuseparator
13543 Text\InsetSpace ~
13544 Style
13545 \family default
13546 .
13547  This was used to create Table\InsetSpace ~
13548
13549 \begin_inset LatexCommand ref
13550 reference "tab:Table-colored-without"
13551
13552 \end_inset
13553
13554 .
13555  In any other case you have to use the LaTeX-package 
13556 \series bold
13557 colortbl
13558 \series default
13559 .
13560 \begin_inset LatexCommand index
13561 name "LaTeX-packages ! colortbl"
13562
13563 \end_inset
13564
13565
13566 \end_layout
13567
13568 \begin_layout Standard
13569 To create colored tables, 
13570 \series bold
13571 colortbl
13572 \series default
13573  must be loaded in the preamble with the line
13574 \end_layout
13575
13576 \begin_layout Standard
13577
13578 \series bold
13579
13580 \backslash
13581 usepackage{colortbl}
13582 \end_layout
13583
13584 \begin_layout Standard
13585 The color of a column is adjusted with the command
13586 \end_layout
13587
13588 \begin_layout Standard
13589
13590 \series bold
13591
13592 \backslash
13593 columncolor{name of color}
13594 \end_layout
13595
13596 \begin_layout Standard
13597 inside the command 
13598 \series bold
13599 >{ }
13600 \series default
13601 .
13602  More about the command 
13603 \series bold
13604 >{}
13605 \series default
13606  is described in section\InsetSpace ~
13607
13608 \begin_inset LatexCommand ref
13609 reference "sub:Multicolumn-Calculations"
13610
13611 \end_inset
13612
13613 .
13614 \end_layout
13615
13616 \begin_layout Standard
13617 The following color names are predefined:
13618 \end_layout
13619
13620 \begin_layout Standard
13621
13622 \family sans
13623 red
13624 \family default
13625
13626 \family sans
13627 green
13628 \family default
13629
13630 \family sans
13631 yellow
13632 \family default
13633
13634 \family sans
13635 blue
13636 \family default
13637
13638 \family sans
13639 cyan
13640 \family default
13641
13642 \family sans
13643 magenta
13644 \family default
13645
13646 \family sans
13647 black
13648 \family default
13649  and 
13650 \family sans
13651 white
13652 \end_layout
13653
13654 \begin_layout Standard
13655 \begin_inset VSpace medskip
13656 \end_inset
13657
13658
13659 \end_layout
13660
13661 \begin_layout Standard
13662 You can also define your own color with the command
13663 \end_layout
13664
13665 \begin_layout Standard
13666
13667 \series bold
13668
13669 \backslash
13670 def\SpecialChar \textcompwordmark{}
13671 inecolor{color name}{color model}{color values}
13672 \end_layout
13673
13674 \begin_layout Standard
13675 The color model can be
13676 \end_layout
13677
13678 \begin_layout Labeling
13679 \labelwidthstring 00.00.0000
13680 cmyk: cyan, magenta, yellow, black
13681 \end_layout
13682
13683 \begin_layout Labeling
13684 \labelwidthstring 00.00.0000
13685 rgb: red, green blue
13686 \end_layout
13687
13688 \begin_layout Labeling
13689 \labelwidthstring 00.00.0000
13690 gray gray
13691 \end_layout
13692
13693 \begin_layout Standard
13694 and the color values are comma separated numbers between 0 and 1 describing
13695  the factor for the corresponding color of the color model.
13696 \end_layout
13697
13698 \begin_layout Standard
13699 You can e.\InsetSpace \thinspace{}
13700 g.\InsetSpace ~
13701 define the color "
13702 \emph on
13703 darkgreen
13704 \emph default
13705 " in the preamble with
13706 \end_layout
13707
13708 \begin_layout Standard
13709
13710 \series bold
13711
13712 \backslash
13713 def\SpecialChar \textcompwordmark{}
13714 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13715 \end_layout
13716
13717 \begin_layout Standard
13718 and the color "
13719 \emph on
13720 lightgray
13721 \emph default
13722 " with
13723 \end_layout
13724
13725 \begin_layout Standard
13726
13727 \series bold
13728
13729 \backslash
13730 def\SpecialChar \textcompwordmark{}
13731 inecolor{lightgray}{gray}{0.8}
13732 \end_layout
13733
13734 \begin_layout Standard
13735 \begin_inset VSpace medskip
13736 \end_inset
13737
13738
13739 \end_layout
13740
13741 \begin_layout Standard
13742 Lines are colored with the command
13743 \end_layout
13744
13745 \begin_layout Standard
13746
13747 \series bold
13748
13749 \backslash
13750 rowcolor{name of color}
13751 \end_layout
13752
13753 \begin_layout Standard
13754 and cells are colored with the command
13755 \end_layout
13756
13757 \begin_layout Standard
13758
13759 \series bold
13760
13761 \backslash
13762 cellcolor{name of color}
13763 \end_layout
13764
13765 \begin_layout Standard
13766 Both commands are inserted at the beginning of a cell as ERT.
13767 \end_layout
13768
13769 \begin_layout Standard
13770 To color characters in the table, mark the cells and use the LyX menu 
13771 \family sans
13772 Edit\SpecialChar \menuseparator
13773 Text\InsetSpace ~
13774 Style
13775 \family default
13776 .
13777  If a cell contains ERT mark only the characters, otherwise the colored
13778  ERT will cause LaTeX-errors.
13779 \end_layout
13780
13781 \begin_layout Standard
13782 \begin_inset Note Greyedout
13783 status open
13784
13785 \begin_layout Standard
13786
13787 \series bold
13788 Note:
13789 \series default
13790  Not all DVI-viewers are able to display self-defined colors.
13791 \end_layout
13792
13793 \end_inset
13794
13795
13796 \end_layout
13797
13798 \begin_layout Standard
13799 \begin_inset VSpace bigskip
13800 \end_inset
13801
13802
13803 \end_layout
13804
13805 \begin_layout Standard
13806 To create Table\InsetSpace ~
13807
13808 \begin_inset LatexCommand ref
13809 reference "tab:Table-colored-using"
13810
13811 \end_inset
13812
13813  do the following: The color of the first column should be 
13814 \emph on
13815 darkgreen
13816 \emph default
13817 .
13818  So insert
13819 \end_layout
13820
13821 \begin_layout Standard
13822
13823 \series bold
13824 >{
13825 \backslash
13826 columncolor{darkgreen}
13827 \backslash
13828 centering}c
13829 \end_layout
13830
13831 \begin_layout Standard
13832 as LaTeX-argument for this column.
13833  The first row should be blue, therefore the ERT command
13834 \end_layout
13835
13836 \begin_layout Standard
13837
13838 \series bold
13839
13840 \backslash
13841 rowcolow{cyan}
13842 \end_layout
13843
13844 \begin_layout Standard
13845 is inserted to the first cell of this row.
13846  Note that this overwrites the column color for the first cell.
13847  The last cell of the last row is colored magenta by inserting the ERT command
13848 \end_layout
13849
13850 \begin_layout Standard
13851
13852 \series bold
13853
13854 \backslash
13855 cellcolor{magenta}
13856 \end_layout
13857
13858 \begin_layout Standard
13859 The characters could now be colored using the menu 
13860 \family sans
13861 Edit\SpecialChar \menuseparator
13862 Text\InsetSpace ~
13863 Style
13864 \family default
13865 .
13866 \end_layout
13867
13868 \begin_layout Standard
13869 \begin_inset Float table
13870 placement h
13871 wide false
13872 sideways false
13873 status open
13874
13875 \begin_layout Standard
13876 \begin_inset Caption
13877
13878 \begin_layout Standard
13879 \begin_inset LatexCommand label
13880 name "tab:Table-colored-using"
13881
13882 \end_inset
13883
13884 Table colored using the package 
13885 \series bold
13886 colortbl
13887 \series default
13888
13889 \begin_inset OptArg
13890 status collapsed
13891
13892 \begin_layout Standard
13893 Table with colortbl
13894 \end_layout
13895
13896 \end_inset
13897
13898
13899 \end_layout
13900
13901 \end_inset
13902
13903
13904 \end_layout
13905
13906 \begin_layout Standard
13907 \align center
13908 \begin_inset Tabular
13909 <lyxtabular version="3" rows="3" columns="3">
13910 <features>
13911 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13912 <column alignment="center" valignment="top" width="0">
13913 <column alignment="center" valignment="top" width="0">
13914 <row>
13915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13916 \begin_inset Text
13917
13918 \begin_layout Standard
13919 \begin_inset ERT
13920 status collapsed
13921
13922 \begin_layout Standard
13923
13924
13925 \backslash
13926 rowcolor{cyan}
13927 \end_layout
13928
13929 \end_inset
13930
13931
13932 \color magenta
13933 a
13934 \end_layout
13935
13936 \end_inset
13937 </cell>
13938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13939 \begin_inset Text
13940
13941 \begin_layout Standard
13942
13943 \color red
13944 b
13945 \end_layout
13946
13947 \end_inset
13948 </cell>
13949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13950 \begin_inset Text
13951
13952 \begin_layout Standard
13953
13954 \color red
13955 c
13956 \end_layout
13957
13958 \end_inset
13959 </cell>
13960 </row>
13961 <row>
13962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13963 \begin_inset Text
13964
13965 \begin_layout Standard
13966
13967 \color yellow
13968 d
13969 \end_layout
13970
13971 \end_inset
13972 </cell>
13973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13974 \begin_inset Text
13975
13976 \begin_layout Standard
13977
13978 \color blue
13979 e
13980 \end_layout
13981
13982 \end_inset
13983 </cell>
13984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13985 \begin_inset Text
13986
13987 \begin_layout Standard
13988
13989 \color blue
13990 f
13991 \end_layout
13992
13993 \end_inset
13994 </cell>
13995 </row>
13996 <row>
13997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13998 \begin_inset Text
13999
14000 \begin_layout Standard
14001
14002 \color yellow
14003 g
14004 \end_layout
14005
14006 \end_inset
14007 </cell>
14008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14009 \begin_inset Text
14010
14011 \begin_layout Standard
14012
14013 \color blue
14014 h
14015 \end_layout
14016
14017 \end_inset
14018 </cell>
14019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14020 \begin_inset Text
14021
14022 \begin_layout Standard
14023 \begin_inset ERT
14024 status collapsed
14025
14026 \begin_layout Standard
14027
14028
14029 \backslash
14030 cellcolor{magenta}
14031 \end_layout
14032
14033 \end_inset
14034
14035
14036 \color green
14037 i
14038 \end_layout
14039
14040 \end_inset
14041 </cell>
14042 </row>
14043 </lyxtabular>
14044
14045 \end_inset
14046
14047
14048 \end_layout
14049
14050 \end_inset
14051
14052
14053 \end_layout
14054
14055 \begin_layout Subsection
14056 Colored Lines
14057 \begin_inset LatexCommand index
14058 name "Table Color ! for Lines"
14059
14060 \end_inset
14061
14062
14063 \begin_inset LatexCommand index
14064 name "Color ! for Table Lines"
14065
14066 \end_inset
14067
14068
14069 \end_layout
14070
14071 \begin_layout Standard
14072 As described in section\InsetSpace ~
14073
14074 \begin_inset LatexCommand ref
14075 reference "sub:Line-Thickness"
14076
14077 \end_inset
14078
14079 , the line thickness for all lines in a table can be adjusted with the length
14080  
14081 \series bold
14082
14083 \backslash
14084 arrayrulewidth
14085 \series default
14086 .
14087  It is set to 1.5\InsetSpace \thinspace{}
14088 pt for all tables of this section.
14089 \begin_inset ERT
14090 status collapsed
14091
14092 \begin_layout Standard
14093
14094
14095 \backslash
14096 setlength{
14097 \backslash
14098 arrayrulewidth}{1.5pt}
14099 \end_layout
14100
14101 \end_inset
14102
14103
14104 \end_layout
14105
14106 \begin_layout Standard
14107 To color vertical lines for example with green, create the following column
14108  format in the document preamble, according to the description in section\InsetSpace ~
14109
14110 \begin_inset LatexCommand ref
14111 reference "sub:Customized-Format"
14112
14113 \end_inset
14114
14115 :
14116 \end_layout
14117
14118 \begin_layout Standard
14119
14120 \series bold
14121
14122 \backslash
14123 newcolumntype{W}{!{
14124 \backslash
14125 color{green}
14126 \backslash
14127 vline}}
14128 \end_layout
14129
14130 \begin_layout Standard
14131 For Table\InsetSpace ~
14132
14133 \begin_inset LatexCommand ref
14134 reference "tab:Table-with-vertical-colored"
14135
14136 \end_inset
14137
14138  the LaTeX-argument
14139 \end_layout
14140
14141 \begin_layout Standard
14142
14143 \series bold
14144 WcW
14145 \end_layout
14146
14147 \begin_layout Standard
14148 was used for the last column and
14149 \end_layout
14150
14151 \begin_layout Standard
14152
14153 \series bold
14154 Wc
14155 \end_layout
14156
14157 \begin_layout Standard
14158 for the other columns.
14159 \end_layout
14160
14161 \begin_layout Standard
14162 If you want to have several colors, define more column formats.
14163 \end_layout
14164
14165 \begin_layout Standard
14166 \begin_inset Float table
14167 wide false
14168 sideways false
14169 status open
14170
14171 \begin_layout Standard
14172 \begin_inset Caption
14173
14174 \begin_layout Standard
14175 \begin_inset LatexCommand label
14176 name "tab:Table-with-vertical-colored"
14177
14178 \end_inset
14179
14180 Table with colored vertical lines
14181 \end_layout
14182
14183 \end_inset
14184
14185
14186 \end_layout
14187
14188 \begin_layout Standard
14189 \align center
14190 \begin_inset Tabular
14191 <lyxtabular version="3" rows="3" columns="3">
14192 <features>
14193 <column alignment="center" valignment="top" width="0" special="Wc">
14194 <column alignment="center" valignment="top" width="0" special="Wc">
14195 <column alignment="center" valignment="top" width="0" special="WcW">
14196 <row topline="true">
14197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14198 \begin_inset Text
14199
14200 \begin_layout Standard
14201 sd
14202 \end_layout
14203
14204 \end_inset
14205 </cell>
14206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14207 \begin_inset Text
14208
14209 \begin_layout Standard
14210
14211 \end_layout
14212
14213 \end_inset
14214 </cell>
14215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14216 \begin_inset Text
14217
14218 \begin_layout Standard
14219
14220 \end_layout
14221
14222 \end_inset
14223 </cell>
14224 </row>
14225 <row topline="true">
14226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14227 \begin_inset Text
14228
14229 \begin_layout Standard
14230
14231 \end_layout
14232
14233 \end_inset
14234 </cell>
14235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14236 \begin_inset Text
14237
14238 \begin_layout Standard
14239 sd
14240 \end_layout
14241
14242 \end_inset
14243 </cell>
14244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14245 \begin_inset Text
14246
14247 \begin_layout Standard
14248
14249 \end_layout
14250
14251 \end_inset
14252 </cell>
14253 </row>
14254 <row topline="true" bottomline="true">
14255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14256 \begin_inset Text
14257
14258 \begin_layout Standard
14259
14260 \end_layout
14261
14262 \end_inset
14263 </cell>
14264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14265 \begin_inset Text
14266
14267 \begin_layout Standard
14268
14269 \end_layout
14270
14271 \end_inset
14272 </cell>
14273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14274 \begin_inset Text
14275
14276 \begin_layout Standard
14277 sd
14278 \end_layout
14279
14280 \end_inset
14281 </cell>
14282 </row>
14283 </lyxtabular>
14284
14285 \end_inset
14286
14287
14288 \end_layout
14289
14290 \end_inset
14291
14292
14293 \end_layout
14294
14295 \begin_layout Standard
14296 \begin_inset VSpace bigskip
14297 \end_inset
14298
14299 To color horizontal lines for example with red, like in Table\InsetSpace ~
14300
14301 \begin_inset LatexCommand ref
14302 reference "tab:Table-with-horizontal-colored"
14303
14304 \end_inset
14305
14306 , insert these commands in ERT before the table or table float:
14307 \end_layout
14308
14309 \begin_layout Standard
14310
14311 \series bold
14312
14313 \backslash
14314 let
14315 \backslash
14316 myHlineC
14317 \backslash
14318 hline
14319 \newline
14320
14321 \backslash
14322 renewcommand{
14323 \backslash
14324 hline}{
14325 \backslash
14326 arrayrulecolor{red}
14327 \backslash
14328 myHlineC
14329 \backslash
14330 arrayrulecolor{black}}
14331 \end_layout
14332
14333 \begin_layout Standard
14334 \begin_inset ERT
14335 status collapsed
14336
14337 \begin_layout Standard
14338
14339
14340 \backslash
14341 let
14342 \backslash
14343 myHlineC
14344 \backslash
14345 hline
14346 \end_layout
14347
14348 \begin_layout Standard
14349
14350
14351 \backslash
14352 renewcommand{
14353 \backslash
14354 hline}{
14355 \backslash
14356 arrayrulecolor{red}
14357 \backslash
14358 myHlineC
14359 \backslash
14360 arrayrulecolor{black}}
14361 \end_layout
14362
14363 \end_inset
14364
14365
14366 \begin_inset Float table
14367 wide false
14368 sideways false
14369 status open
14370
14371 \begin_layout Standard
14372 \begin_inset Caption
14373
14374 \begin_layout Standard
14375 \begin_inset LatexCommand label
14376 name "tab:Table-with-horizontal-colored"
14377
14378 \end_inset
14379
14380 Table with colored horizontal lines
14381 \end_layout
14382
14383 \end_inset
14384
14385
14386 \end_layout
14387
14388 \begin_layout Standard
14389 \align center
14390 \begin_inset Tabular
14391 <lyxtabular version="3" rows="3" columns="3">
14392 <features>
14393 <column alignment="center" valignment="top" leftline="true" width="0">
14394 <column alignment="center" valignment="top" leftline="true" width="0">
14395 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14396 <row topline="true">
14397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14398 \begin_inset Text
14399
14400 \begin_layout Standard
14401 sd
14402 \end_layout
14403
14404 \end_inset
14405 </cell>
14406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14407 \begin_inset Text
14408
14409 \begin_layout Standard
14410
14411 \end_layout
14412
14413 \end_inset
14414 </cell>
14415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14416 \begin_inset Text
14417
14418 \begin_layout Standard
14419
14420 \end_layout
14421
14422 \end_inset
14423 </cell>
14424 </row>
14425 <row topline="true">
14426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14427 \begin_inset Text
14428
14429 \begin_layout Standard
14430
14431 \end_layout
14432
14433 \end_inset
14434 </cell>
14435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14436 \begin_inset Text
14437
14438 \begin_layout Standard
14439 sd
14440 \end_layout
14441
14442 \end_inset
14443 </cell>
14444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14445 \begin_inset Text
14446
14447 \begin_layout Standard
14448
14449 \end_layout
14450
14451 \end_inset
14452 </cell>
14453 </row>
14454 <row topline="true" bottomline="true">
14455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14456 \begin_inset Text
14457
14458 \begin_layout Standard
14459
14460 \end_layout
14461
14462 \end_inset
14463 </cell>
14464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14465 \begin_inset Text
14466
14467 \begin_layout Standard
14468
14469 \end_layout
14470
14471 \end_inset
14472 </cell>
14473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14474 \begin_inset Text
14475
14476 \begin_layout Standard
14477 sd
14478 \end_layout
14479
14480 \end_inset
14481 </cell>
14482 </row>
14483 </lyxtabular>
14484
14485 \end_inset
14486
14487
14488 \end_layout
14489
14490 \end_inset
14491
14492
14493 \end_layout
14494
14495 \begin_layout Standard
14496 \begin_inset ERT
14497 status collapsed
14498
14499 \begin_layout Standard
14500
14501
14502 \backslash
14503 pagebreak 
14504 \end_layout
14505
14506 \end_inset
14507
14508
14509 \end_layout
14510
14511 \begin_layout Standard
14512 To return to the default line color black, insert this command in ERT behind
14513  the table or table float:
14514 \end_layout
14515
14516 \begin_layout Standard
14517
14518 \series bold
14519
14520 \backslash
14521 renewcommand{
14522 \backslash
14523 hline}{
14524 \backslash
14525 myHlineC}
14526 \end_layout
14527
14528 \begin_layout Standard
14529 Table\InsetSpace ~
14530
14531 \begin_inset LatexCommand ref
14532 reference "tab:Table-with-colored"
14533
14534 \end_inset
14535
14536  is an example with colored vertical and horizontal lines.
14537 \end_layout
14538
14539 \begin_layout Standard
14540 \begin_inset Float table
14541 wide false
14542 sideways false
14543 status open
14544
14545 \begin_layout Standard
14546 \begin_inset Caption
14547
14548 \begin_layout Standard
14549 \begin_inset LatexCommand label
14550 name "tab:Table-with-colored"
14551
14552 \end_inset
14553
14554 Table with colored lines
14555 \end_layout
14556
14557 \end_inset
14558
14559
14560 \end_layout
14561
14562 \begin_layout Standard
14563 \align center
14564 \begin_inset Tabular
14565 <lyxtabular version="3" rows="3" columns="3">
14566 <features>
14567 <column alignment="center" valignment="top" width="0" special="Wc">
14568 <column alignment="center" valignment="top" width="0" special="Wc">
14569 <column alignment="center" valignment="top" width="0" special="WcW">
14570 <row topline="true">
14571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14572 \begin_inset Text
14573
14574 \begin_layout Standard
14575 sd
14576 \end_layout
14577
14578 \end_inset
14579 </cell>
14580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14581 \begin_inset Text
14582
14583 \begin_layout Standard
14584
14585 \end_layout
14586
14587 \end_inset
14588 </cell>
14589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14590 \begin_inset Text
14591
14592 \begin_layout Standard
14593
14594 \end_layout
14595
14596 \end_inset
14597 </cell>
14598 </row>
14599 <row topline="true">
14600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14601 \begin_inset Text
14602
14603 \begin_layout Standard
14604
14605 \end_layout
14606
14607 \end_inset
14608 </cell>
14609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14610 \begin_inset Text
14611
14612 \begin_layout Standard
14613 sd
14614 \end_layout
14615
14616 \end_inset
14617 </cell>
14618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14619 \begin_inset Text
14620
14621 \begin_layout Standard
14622
14623 \end_layout
14624
14625 \end_inset
14626 </cell>
14627 </row>
14628 <row topline="true" bottomline="true" topspace="default">
14629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14630 \begin_inset Text
14631
14632 \begin_layout Standard
14633
14634 \end_layout
14635
14636 \end_inset
14637 </cell>
14638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14639 \begin_inset Text
14640
14641 \begin_layout Standard
14642
14643 \end_layout
14644
14645 \end_inset
14646 </cell>
14647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14648 \begin_inset Text
14649
14650 \begin_layout Standard
14651 sd
14652 \end_layout
14653
14654 \end_inset
14655 </cell>
14656 </row>
14657 </lyxtabular>
14658
14659 \end_inset
14660
14661
14662 \end_layout
14663
14664 \end_inset
14665
14666
14667 \end_layout
14668
14669 \begin_layout Standard
14670 \begin_inset ERT
14671 status collapsed
14672
14673 \begin_layout Standard
14674
14675
14676 \backslash
14677 renewcommand{
14678 \backslash
14679 hline}{
14680 \backslash
14681 myHlineC}
14682 \end_layout
14683
14684 \end_inset
14685
14686
14687 \end_layout
14688
14689 \begin_layout Standard
14690 \begin_inset ERT
14691 status collapsed
14692
14693 \begin_layout Standard
14694
14695
14696 \backslash
14697 setlength{
14698 \backslash
14699 arrayrulewidth}{0.4pt}
14700 \end_layout
14701
14702 \end_inset
14703
14704
14705 \end_layout
14706
14707 \begin_layout Section
14708 Table Customization
14709 \begin_inset LatexCommand index
14710 name "Table Customization"
14711
14712 \end_inset
14713
14714
14715 \begin_inset LatexCommand index
14716 name "Table ! Customization"
14717
14718 \end_inset
14719
14720
14721 \end_layout
14722
14723 \begin_layout Subsection
14724 Row Spacing
14725 \begin_inset LatexCommand label
14726 name "sub:Row-Spacing"
14727
14728 \end_inset
14729
14730
14731 \begin_inset LatexCommand index
14732 name "Table Customization ! Row Spacing"
14733
14734 \end_inset
14735
14736
14737 \end_layout
14738
14739 \begin_layout Standard
14740 You can add vertical space to table rows in the 
14741 \family sans
14742 Borders
14743 \family default
14744  tab of the table dialog.
14745  You find there three possibilities:
14746 \end_layout
14747
14748 \begin_layout Description
14749 Top\InsetSpace ~
14750 of\InsetSpace ~
14751 row will add space above the characters of the table row.
14752  If the table is a formal table
14753 \begin_inset Foot
14754 status collapsed
14755
14756 \begin_layout Standard
14757 Formal tables are explained in section\InsetSpace ~
14758
14759 \begin_inset LatexCommand ref
14760 reference "sec:Formal-Tables"
14761
14762 \end_inset
14763
14764 .
14765 \end_layout
14766
14767 \end_inset
14768
14769  LyX will insert as default 0.5\InsetSpace \thinspace{}
14770 em space.
14771  For normal tables the inserted space will unfortunately destroy the vertical
14772  table lines as in the following table:
14773 \begin_inset VSpace defskip
14774 \end_inset
14775
14776
14777 \newline
14778
14779 \begin_inset ERT
14780 status collapsed
14781
14782 \begin_layout Standard
14783
14784
14785 \backslash
14786 hspace*{0pt}
14787 \end_layout
14788
14789 \end_inset
14790
14791
14792 \hfill
14793
14794 \begin_inset Tabular
14795 <lyxtabular version="3" rows="3" columns="1">
14796 <features>
14797 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14798 <row topline="true">
14799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14800 \begin_inset Text
14801
14802 \begin_layout Standard
14803 A
14804 \end_layout
14805
14806 \end_inset
14807 </cell>
14808 </row>
14809 <row topline="true" topspace="3mm">
14810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14811 \begin_inset Text
14812
14813 \begin_layout Standard
14814 3\InsetSpace \thinspace{}
14815 mm space top of row
14816 \end_layout
14817
14818 \end_inset
14819 </cell>
14820 </row>
14821 <row topline="true" bottomline="true">
14822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14823 \begin_inset Text
14824
14825 \begin_layout Standard
14826 C
14827 \end_layout
14828
14829 \end_inset
14830 </cell>
14831 </row>
14832 </lyxtabular>
14833
14834 \end_inset
14835
14836
14837 \hfill
14838
14839 \begin_inset ERT
14840 status collapsed
14841
14842 \begin_layout Standard
14843
14844
14845 \backslash
14846 hspace*{0pt}
14847 \end_layout
14848
14849 \end_inset
14850
14851
14852 \begin_inset VSpace defskip
14853 \end_inset
14854
14855
14856 \newline
14857 So inserting space to the top of row for normal tables is only useful when
14858  you don't have vertical lines.
14859 \end_layout
14860
14861 \begin_layout Description
14862 Bottom\InsetSpace ~
14863 of\InsetSpace ~
14864 row will add space below the characters of the table row.
14865  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14866 em space, for
14867  normal tables the default size is 2\InsetSpace \thinspace{}
14868 pt.
14869 \end_layout
14870
14871 \begin_layout Description
14872 Between\InsetSpace ~
14873 rows adds space between the current and the following row.
14874  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14875 em space.
14876  For normal tables the inserted space will unfortunately destroy the vertical
14877  table lines as in the following table:
14878 \begin_inset VSpace defskip
14879 \end_inset
14880
14881
14882 \newline
14883
14884 \begin_inset ERT
14885 status collapsed
14886
14887 \begin_layout Standard
14888
14889
14890 \backslash
14891 hspace*{0pt}
14892 \end_layout
14893
14894 \end_inset
14895
14896
14897 \hfill
14898
14899 \begin_inset Tabular
14900 <lyxtabular version="3" rows="3" columns="1">
14901 <features>
14902 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14903 <row topline="true">
14904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14905 \begin_inset Text
14906
14907 \begin_layout Standard
14908 A
14909 \end_layout
14910
14911 \end_inset
14912 </cell>
14913 </row>
14914 <row topline="true" interlinespace="3mm">
14915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14916 \begin_inset Text
14917
14918 \begin_layout Standard
14919 \begin_inset Formula $\downarrow$
14920 \end_inset
14921
14922  3\InsetSpace \thinspace{}
14923 mm space between row 
14924 \begin_inset Formula $\downarrow$
14925 \end_inset
14926
14927
14928 \end_layout
14929
14930 \end_inset
14931 </cell>
14932 </row>
14933 <row topline="true" bottomline="true">
14934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14935 \begin_inset Text
14936
14937 \begin_layout Standard
14938 \begin_inset Formula $\uparrow$
14939 \end_inset
14940
14941  3\InsetSpace \thinspace{}
14942 mm space between row 
14943 \begin_inset Formula $\uparrow$
14944 \end_inset
14945
14946
14947 \end_layout
14948
14949 \end_inset
14950 </cell>
14951 </row>
14952 </lyxtabular>
14953
14954 \end_inset
14955
14956
14957 \hfill
14958
14959 \begin_inset ERT
14960 status collapsed
14961
14962 \begin_layout Standard
14963
14964
14965 \backslash
14966 hspace*{0pt}
14967 \end_layout
14968
14969 \end_inset
14970
14971
14972 \begin_inset VSpace defskip
14973 \end_inset
14974
14975
14976 \newline
14977 So inserting space between rows for normal tables is only useful when you
14978  don't have vertical lines.
14979 \end_layout
14980
14981 \begin_layout Standard
14982 When you want to add extra height to all cells of all tables, you can do
14983  this with the following preamble line:
14984 \end_layout
14985
14986 \begin_layout Standard
14987
14988 \series bold
14989
14990 \backslash
14991 setlength{
14992 \backslash
14993 extrarowheight}{height}
14994 \end_layout
14995
14996 \begin_layout Standard
14997 But this has the disadvantage that the cell texts are no longer exactly
14998  vertically centered.
14999 \end_layout
15000
15001 \begin_layout Subsection
15002 Special Cell Alignment
15003 \begin_inset LatexCommand index
15004 name "Table Customization ! Special Cell Alignment"
15005
15006 \end_inset
15007
15008
15009 \end_layout
15010
15011 \begin_layout Standard
15012 Sometimes it looks better when the cell entries of a column are aligned
15013  with a special character, e.\InsetSpace \thinspace{}
15014 g.\InsetSpace ~
15015 with the decimal separator as in Table\InsetSpace ~
15016
15017 \begin_inset LatexCommand ref
15018 reference "tab:Table-cells-of"
15019
15020 \end_inset
15021
15022 .
15023 \end_layout
15024
15025 \begin_layout Standard
15026 \begin_inset Float table
15027 placement h
15028 wide false
15029 sideways false
15030 status open
15031
15032 \begin_layout Standard
15033 \begin_inset Caption
15034
15035 \begin_layout Standard
15036 \begin_inset LatexCommand label
15037 name "tab:Table-cells-of"
15038
15039 \end_inset
15040
15041 Table cells of a column aligned with the decimal separator.
15042 \end_layout
15043
15044 \end_inset
15045
15046
15047 \end_layout
15048
15049 \begin_layout Standard
15050 \align center
15051 \begin_inset Tabular
15052 <lyxtabular version="3" rows="4" columns="2">
15053 <features>
15054 <column alignment="right" valignment="top" width="0">
15055 <column alignment="left" valignment="top" width="0" special="@{}l">
15056 <row bottomline="true">
15057 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15058 \begin_inset Text
15059
15060 \begin_layout Standard
15061 heading
15062 \end_layout
15063
15064 \end_inset
15065 </cell>
15066 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15067 \begin_inset Text
15068
15069 \begin_layout Standard
15070
15071 \end_layout
15072
15073 \end_inset
15074 </cell>
15075 </row>
15076 <row>
15077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15078 \begin_inset Text
15079
15080 \begin_layout Standard
15081 12.
15082 \end_layout
15083
15084 \end_inset
15085 </cell>
15086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15087 \begin_inset Text
15088
15089 \begin_layout Standard
15090 6
15091 \end_layout
15092
15093 \end_inset
15094 </cell>
15095 </row>
15096 <row>
15097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15098 \begin_inset Text
15099
15100 \begin_layout Standard
15101 0.
15102 \end_layout
15103
15104 \end_inset
15105 </cell>
15106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15107 \begin_inset Text
15108
15109 \begin_layout Standard
15110 68
15111 \end_layout
15112
15113 \end_inset
15114 </cell>
15115 </row>
15116 <row>
15117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15118 \begin_inset Text
15119
15120 \begin_layout Standard
15121 -123.
15122 \end_layout
15123
15124 \end_inset
15125 </cell>
15126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15127 \begin_inset Text
15128
15129 \begin_layout Standard
15130 0
15131 \end_layout
15132
15133 \end_inset
15134 </cell>
15135 </row>
15136 </lyxtabular>
15137
15138 \end_inset
15139
15140
15141 \end_layout
15142
15143 \end_inset
15144
15145
15146 \end_layout
15147
15148 \begin_layout Standard
15149 This table was created with a 4×2 table.
15150  The heading is a centered multicolumn.
15151  The first column is right-aligned and contains the digits before the decimal
15152  point and the decimal point.
15153  The second column is left aligned and contains the digits after the decimal
15154  point.
15155  To omit the space that is normally between two table columns, use the following
15156  LaTeX-argument for the second column:
15157 \end_layout
15158
15159 \begin_layout Standard
15160
15161 \series bold
15162 @{}l
15163 \end_layout
15164
15165 \begin_layout Standard
15166 Table\InsetSpace ~
15167
15168 \begin_inset LatexCommand ref
15169 reference "tab:Several-table-cell"
15170
15171 \end_inset
15172
15173  shows some example alignments.
15174  For the alignment with the relation sign, you must add the second smallest
15175  math-space at the beginning of the last column to get the correct space
15176  surrounding the relation sign.
15177 \end_layout
15178
15179 \begin_layout Standard
15180 \begin_inset Float table
15181 wide false
15182 sideways false
15183 status open
15184
15185 \begin_layout Standard
15186 \begin_inset Caption
15187
15188 \begin_layout Standard
15189 \begin_inset LatexCommand label
15190 name "tab:Several-table-cell"
15191
15192 \end_inset
15193
15194 Several table cell alignments.
15195 \end_layout
15196
15197 \end_inset
15198
15199
15200 \end_layout
15201
15202 \begin_layout Standard
15203 \align center
15204 \begin_inset Tabular
15205 <lyxtabular version="3" rows="4" columns="6">
15206 <features>
15207 <column alignment="right" valignment="top" width="0">
15208 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15209 <column alignment="right" valignment="top" width="0">
15210 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15211 <column alignment="right" valignment="top" width="0">
15212 <column alignment="left" valignment="top" width="0" special="@{}l">
15213 <row bottomline="true">
15214 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15215 \begin_inset Text
15216
15217 \begin_layout Standard
15218 units
15219 \end_layout
15220
15221 \end_inset
15222 </cell>
15223 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15224 \begin_inset Text
15225
15226 \begin_layout Standard
15227
15228 \end_layout
15229
15230 \end_inset
15231 </cell>
15232 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15233 \begin_inset Text
15234
15235 \begin_layout Standard
15236 exponents
15237 \end_layout
15238
15239 \end_inset
15240 </cell>
15241 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15242 \begin_inset Text
15243
15244 \begin_layout Standard
15245
15246 \end_layout
15247
15248 \end_inset
15249 </cell>
15250 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15251 \begin_inset Text
15252
15253 \begin_layout Standard
15254 relations
15255 \end_layout
15256
15257 \end_inset
15258 </cell>
15259 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15260 \begin_inset Text
15261
15262 \begin_layout Standard
15263
15264 \end_layout
15265
15266 \end_inset
15267 </cell>
15268 </row>
15269 <row>
15270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15271 \begin_inset Text
15272
15273 \begin_layout Standard
15274 12×
15275 \end_layout
15276
15277 \end_inset
15278 </cell>
15279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15280 \begin_inset Text
15281
15282 \begin_layout Standard
15283 24\InsetSpace \thinspace{}
15284 bottles
15285 \end_layout
15286
15287 \end_inset
15288 </cell>
15289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15290 \begin_inset Text
15291
15292 \begin_layout Standard
15293 \begin_inset Formula $10\cdot$
15294 \end_inset
15295
15296
15297 \end_layout
15298
15299 \end_inset
15300 </cell>
15301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15302 \begin_inset Text
15303
15304 \begin_layout Standard
15305 \begin_inset Formula $10^{\mbox{-}17}$
15306 \end_inset
15307
15308
15309 \end_layout
15310
15311 \end_inset
15312 </cell>
15313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15314 \begin_inset Text
15315
15316 \begin_layout Standard
15317 \begin_inset Formula $\Gamma(t)\propto$
15318 \end_inset
15319
15320
15321 \end_layout
15322
15323 \end_inset
15324 </cell>
15325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15326 \begin_inset Text
15327
15328 \begin_layout Standard
15329 \begin_inset Formula $\:\Upsilon(t)$
15330 \end_inset
15331
15332
15333 \end_layout
15334
15335 \end_inset
15336 </cell>
15337 </row>
15338 <row>
15339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15340 \begin_inset Text
15341
15342 \begin_layout Standard
15343 1024×
15344 \end_layout
15345
15346 \end_inset
15347 </cell>
15348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15349 \begin_inset Text
15350
15351 \begin_layout Standard
15352 768\InsetSpace \thinspace{}
15353 Pixels
15354 \end_layout
15355
15356 \end_inset
15357 </cell>
15358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15359 \begin_inset Text
15360
15361 \begin_layout Standard
15362 \begin_inset Formula $5.78\cdot$
15363 \end_inset
15364
15365
15366 \end_layout
15367
15368 \end_inset
15369 </cell>
15370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15371 \begin_inset Text
15372
15373 \begin_layout Standard
15374 \begin_inset Formula $10^{7}$
15375 \end_inset
15376
15377
15378 \end_layout
15379
15380 \end_inset
15381 </cell>
15382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15383 \begin_inset Text
15384
15385 \begin_layout Standard
15386 \begin_inset Formula $A\ne$
15387 \end_inset
15388
15389
15390 \end_layout
15391
15392 \end_inset
15393 </cell>
15394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15395 \begin_inset Text
15396
15397 \begin_layout Standard
15398 \begin_inset Formula $\: B_{\mathrm{red}}$
15399 \end_inset
15400
15401
15402 \end_layout
15403
15404 \end_inset
15405 </cell>
15406 </row>
15407 <row>
15408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15409 \begin_inset Text
15410
15411 \begin_layout Standard
15412 32×
15413 \end_layout
15414
15415 \end_inset
15416 </cell>
15417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15418 \begin_inset Text
15419
15420 \begin_layout Standard
15421 6\InsetSpace \thinspace{}
15422 cm
15423 \end_layout
15424
15425 \end_inset
15426 </cell>
15427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15428 \begin_inset Text
15429
15430 \begin_layout Standard
15431 -
15432 \begin_inset Formula $33.5\cdot$
15433 \end_inset
15434
15435
15436 \end_layout
15437
15438 \end_inset
15439 </cell>
15440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15441 \begin_inset Text
15442
15443 \begin_layout Standard
15444 \begin_inset Formula $10^{4}$
15445 \end_inset
15446
15447
15448 \end_layout
15449
15450 \end_inset
15451 </cell>
15452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15453 \begin_inset Text
15454
15455 \begin_layout Standard
15456 \begin_inset Formula $\sin(\alpha)\ge$
15457 \end_inset
15458
15459
15460 \end_layout
15461
15462 \end_inset
15463 </cell>
15464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15465 \begin_inset Text
15466
15467 \begin_layout Standard
15468 \begin_inset Formula $\:\sin(\beta)$
15469 \end_inset
15470
15471
15472 \end_layout
15473
15474 \end_inset
15475 </cell>
15476 </row>
15477 </lyxtabular>
15478
15479 \end_inset
15480
15481
15482 \end_layout
15483
15484 \end_inset
15485
15486
15487 \end_layout
15488
15489 \begin_layout Standard
15490 \begin_inset VSpace bigskip
15491 \end_inset
15492
15493 There is also the LaTeX-package 
15494 \series bold
15495 dcolumn
15496 \series default
15497
15498 \begin_inset LatexCommand index
15499 name "LaTeX-packages ! dcolumn"
15500
15501 \end_inset
15502
15503  that provides table cell alignments.
15504  But this unfortunately treats the cell entries as math and doesn't allow
15505  formulas in table cells: The first column of Table\InsetSpace ~
15506
15507 \begin_inset LatexCommand ref
15508 reference "tab:Several-table-cell"
15509
15510 \end_inset
15511
15512  will look with 
15513 \series bold
15514 dcolumn
15515 \series default
15516  like the first column in Table\InsetSpace ~
15517
15518 \begin_inset LatexCommand ref
15519 reference "tab:Alignments-when"
15520
15521 \end_inset
15522
15523  and only with some tricks like the expected.
15524  The alignment of the second and third column of Table\InsetSpace ~
15525
15526 \begin_inset LatexCommand ref
15527 reference "tab:Several-table-cell"
15528
15529 \end_inset
15530
15531  is not possible with 
15532 \series bold
15533 dcolumn
15534 \series default
15535 .
15536 \end_layout
15537
15538 \begin_layout Standard
15539 \begin_inset Float table
15540 placement h
15541 wide false
15542 sideways false
15543 status open
15544
15545 \begin_layout Standard
15546 \begin_inset Caption
15547
15548 \begin_layout Standard
15549 \begin_inset LatexCommand label
15550 name "tab:Alignments-when"
15551
15552 \end_inset
15553
15554 Alignments when LaTeX-package dcolumn is used.
15555  For all column alignments tricks have to be used to get the output.
15556 \end_layout
15557
15558 \end_inset
15559
15560
15561 \end_layout
15562
15563 \begin_layout Standard
15564 \align center
15565 \begin_inset Tabular
15566 <lyxtabular version="3" rows="4" columns="3">
15567 <features>
15568 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15569 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15570 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15571 <row bottomline="true">
15572 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15573 \begin_inset Text
15574
15575 \begin_layout Standard
15576 units
15577 \end_layout
15578
15579 \end_inset
15580 </cell>
15581 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15582 \begin_inset Text
15583
15584 \begin_layout Standard
15585 units
15586 \end_layout
15587
15588 \end_inset
15589 </cell>
15590 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15591 \begin_inset Text
15592
15593 \begin_layout Standard
15594 units
15595 \end_layout
15596
15597 \end_inset
15598 </cell>
15599 </row>
15600 <row>
15601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15602 \begin_inset Text
15603
15604 \begin_layout Standard
15605 12x24\InsetSpace \thinspace{}
15606 bottles
15607 \end_layout
15608
15609 \end_inset
15610 </cell>
15611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15612 \begin_inset Text
15613
15614 \begin_layout Standard
15615 12x24\InsetSpace \thinspace{}
15616
15617 \begin_inset Formula $\mbox{bottles}$
15618 \end_inset
15619
15620
15621 \end_layout
15622
15623 \end_inset
15624 </cell>
15625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15626 \begin_inset Text
15627
15628 \begin_layout Standard
15629 12
15630 \begin_inset ERT
15631 status collapsed
15632
15633 \begin_layout Standard
15634
15635
15636 \backslash
15637 times 
15638 \end_layout
15639
15640 \end_inset
15641
15642 24~
15643 \begin_inset Formula $\mbox{bottles}$
15644 \end_inset
15645
15646
15647 \end_layout
15648
15649 \end_inset
15650 </cell>
15651 </row>
15652 <row>
15653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15654 \begin_inset Text
15655
15656 \begin_layout Standard
15657 1024x768\InsetSpace \thinspace{}
15658 Pixels
15659 \end_layout
15660
15661 \end_inset
15662 </cell>
15663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15664 \begin_inset Text
15665
15666 \begin_layout Standard
15667 1024x768\InsetSpace \thinspace{}
15668
15669 \begin_inset Formula $\mbox{Pixels}$
15670 \end_inset
15671
15672
15673 \end_layout
15674
15675 \end_inset
15676 </cell>
15677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15678 \begin_inset Text
15679
15680 \begin_layout Standard
15681 1024
15682 \begin_inset ERT
15683 status collapsed
15684
15685 \begin_layout Standard
15686
15687
15688 \backslash
15689 times 
15690 \end_layout
15691
15692 \end_inset
15693
15694 768~
15695 \begin_inset Formula $\mbox{Pixels}$
15696 \end_inset
15697
15698
15699 \end_layout
15700
15701 \end_inset
15702 </cell>
15703 </row>
15704 <row>
15705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15706 \begin_inset Text
15707
15708 \begin_layout Standard
15709 32x6\InsetSpace \thinspace{}
15710 cm
15711 \end_layout
15712
15713 \end_inset
15714 </cell>
15715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15716 \begin_inset Text
15717
15718 \begin_layout Standard
15719 32x6\InsetSpace \thinspace{}
15720
15721 \begin_inset Formula $\mbox{cm}$
15722 \end_inset
15723
15724
15725 \end_layout
15726
15727 \end_inset
15728 </cell>
15729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15730 \begin_inset Text
15731
15732 \begin_layout Standard
15733 32
15734 \begin_inset ERT
15735 status collapsed
15736
15737 \begin_layout Standard
15738
15739
15740 \backslash
15741 times 
15742 \end_layout
15743
15744 \end_inset
15745
15746 6~
15747 \begin_inset Formula $\mbox{cm}$
15748 \end_inset
15749
15750
15751 \end_layout
15752
15753 \end_inset
15754 </cell>
15755 </row>
15756 </lyxtabular>
15757
15758 \end_inset
15759
15760
15761 \end_layout
15762
15763 \end_inset
15764
15765
15766 \end_layout
15767
15768 \begin_layout Subsection
15769 Customized Cell/Column Format
15770 \begin_inset LatexCommand label
15771 name "sub:Customized-Format"
15772
15773 \end_inset
15774
15775
15776 \begin_inset LatexCommand index
15777 name "Table Customization ! Cell/Column Format"
15778
15779 \end_inset
15780
15781
15782 \end_layout
15783
15784 \begin_layout Standard
15785 Calculating the needed width for spanned columns like in section\InsetSpace ~
15786
15787 \begin_inset LatexCommand ref
15788 reference "sub:Multicolumn-Calculations"
15789
15790 \end_inset
15791
15792  is very annoying if you have several tables with multicolumn cells.
15793  To make life easier, you can define a cell/column format in the preamble,
15794  so that it can be used in all tables of the document.
15795  The format is defined with the command
15796 \end_layout
15797
15798 \begin_layout Standard
15799
15800 \series bold
15801
15802 \backslash
15803 newcolumntype{name of format}[number of arguments]{commands}
15804 \end_layout
15805
15806 \begin_layout Standard
15807 The format name may only consist of one letter.
15808  The letters 
15809 \emph on
15810 b
15811 \emph default
15812
15813 \emph on
15814 c
15815 \emph default
15816
15817 \emph on
15818 l
15819 \emph default
15820
15821 \emph on
15822 m
15823 \emph default
15824
15825 \emph on
15826 p
15827 \emph default
15828  and 
15829 \emph on
15830 r
15831 \emph default
15832  are predefined and cannot be used.
15833  But all letters are allowed as capitals.
15834 \end_layout
15835
15836 \begin_layout Standard
15837 \begin_inset VSpace medskip
15838 \end_inset
15839
15840
15841 \end_layout
15842
15843 \begin_layout Standard
15844 For vertically and horizontally centered multicolumn cells with a fixed
15845  width you can define the cell format
15846 \end_layout
15847
15848 \begin_layout Standard
15849
15850 \series bold
15851
15852 \backslash
15853 newcolumntype{M}[1]{>{
15854 \backslash
15855 centering
15856 \backslash
15857 hspace{0pt}}m{#1}}
15858 \end_layout
15859
15860 \begin_layout Standard
15861 where 
15862 \series bold
15863
15864 \backslash
15865 hspace{0pt}
15866 \series default
15867  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15868
15869 \begin_inset LatexCommand ref
15870 reference "sub:Multiple-Lines-in"
15871
15872 \end_inset
15873
15874 .
15875  Now you can simply enter
15876 \end_layout
15877
15878 \begin_layout Standard
15879
15880 \series bold
15881 M{width}
15882 \end_layout
15883
15884 \begin_layout Standard
15885 as LaTeX-argument in the table dialog to create a multicolumn.
15886 \end_layout
15887
15888 \begin_layout Standard
15889 \begin_inset VSpace bigskip
15890 \end_inset
15891
15892
15893 \end_layout
15894
15895 \begin_layout Standard
15896 For cells spanned by a multicolumn cell, you can define the format
15897 \end_layout
15898
15899 \begin_layout Standard
15900
15901 \series bold
15902
15903 \backslash
15904 newcolumntype{S}[2]{>{
15905 \backslash
15906 centering
15907 \backslash
15908 hspace{0pt}}
15909 \newline
15910
15911 \begin_inset ERT
15912 status collapsed
15913
15914 \begin_layout Standard
15915
15916
15917 \backslash
15918 phantom{
15919 \end_layout
15920
15921 \end_inset
15922
15923
15924 \backslash
15925 newcolumntype{S}[2]
15926 \begin_inset ERT
15927 status collapsed
15928
15929 \begin_layout Standard
15930
15931 }
15932 \end_layout
15933
15934 \end_inset
15935
15936 m{(#1+(2
15937 \backslash
15938 tabcolsep+
15939 \backslash
15940 arrayrulewidth)*(1-#2))/#2}}
15941 \end_layout
15942
15943 \begin_layout Standard
15944 This format uses equation 
15945 \begin_inset LatexCommand eqref
15946 reference "eq:Wgn"
15947
15948 \end_inset
15949
15950  to calculate the needed width so that each spanned cell has the same width.
15951 \end_layout
15952
15953 \begin_layout Standard
15954 You can now enter
15955 \end_layout
15956
15957 \begin_layout Standard
15958
15959 \series bold
15960 S{width of multicolumn cell}{number of spanned columns}
15961 \end_layout
15962
15963 \begin_layout Standard
15964 as LaTeX-argument of the column.
15965 \end_layout
15966
15967 \begin_layout Standard
15968 \begin_inset VSpace bigskip
15969 \end_inset
15970
15971
15972 \end_layout
15973
15974 \begin_layout Standard
15975 For colored columns, you can define
15976 \end_layout
15977
15978 \begin_layout Standard
15979
15980 \series bold
15981
15982 \backslash
15983 newcolumntype{K}[1]{>{
15984 \backslash
15985 columncolor{#1}
15986 \backslash
15987 hspace{0pt}}c}
15988 \end_layout
15989
15990 \begin_layout Standard
15991 The 
15992 \begin_inset Quotes eld
15993 \end_inset
15994
15995 c
15996 \begin_inset Quotes erd
15997 \end_inset
15998
15999  at the end creates a column with a flexible width whose text is horizontally
16000  centered.
16001  You can now enter
16002 \end_layout
16003
16004 \begin_layout Standard
16005
16006 \series bold
16007 K{color name}
16008 \end_layout
16009
16010 \begin_layout Standard
16011 as LaTeX-argument.
16012 \end_layout
16013
16014 \begin_layout Standard
16015 \begin_inset VSpace bigskip
16016 \end_inset
16017
16018
16019 \end_layout
16020
16021 \begin_layout Standard
16022 To create Table\InsetSpace ~
16023
16024 \begin_inset LatexCommand ref
16025 reference "tab:Table-using-user-defined"
16026
16027 \end_inset
16028
16029  use the LaTeX-arguments
16030 \end_layout
16031
16032 \begin_layout Standard
16033
16034 \series bold
16035 M{2.5cm}
16036 \end_layout
16037
16038 \begin_layout Standard
16039 for the first column and the multicolumn,
16040 \end_layout
16041
16042 \begin_layout Standard
16043
16044 \series bold
16045 K{red}
16046 \end_layout
16047
16048 \begin_layout Standard
16049 for the the last column, and
16050 \end_layout
16051
16052 \begin_layout Standard
16053
16054 \series bold
16055 S{2.5cm}{2}
16056 \end_layout
16057
16058 \begin_layout Standard
16059 for the cells in the second column.
16060 \end_layout
16061
16062 \begin_layout Standard
16063 \begin_inset Float table
16064 placement h
16065 wide false
16066 sideways false
16067 status open
16068
16069 \begin_layout Standard
16070 \begin_inset Caption
16071
16072 \begin_layout Standard
16073 \begin_inset LatexCommand label
16074 name "tab:Table-using-user-defined"
16075
16076 \end_inset
16077
16078 Table using user-defined table formats
16079 \end_layout
16080
16081 \end_inset
16082
16083
16084 \end_layout
16085
16086 \begin_layout Standard
16087 \align center
16088 \begin_inset Tabular
16089 <lyxtabular version="3" rows="3" columns="4">
16090 <features>
16091 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16092 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16093 <column alignment="center" valignment="middle" leftline="true" width="0">
16094 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16095 <row topline="true">
16096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16097 \begin_inset Text
16098
16099 \begin_layout Standard
16100 verylongtablecellword
16101 \end_layout
16102
16103 \end_inset
16104 </cell>
16105 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16106 \begin_inset Text
16107
16108 \begin_layout Standard
16109 multiple lines multicolumn
16110 \end_layout
16111
16112 \end_inset
16113 </cell>
16114 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16115 \begin_inset Text
16116
16117 \begin_layout Standard
16118
16119 \end_layout
16120
16121 \end_inset
16122 </cell>
16123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16124 \begin_inset Text
16125
16126 \begin_layout Standard
16127 c
16128 \end_layout
16129
16130 \end_inset
16131 </cell>
16132 </row>
16133 <row topline="true">
16134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16135 \begin_inset Text
16136
16137 \begin_layout Standard
16138 d
16139 \end_layout
16140
16141 \end_inset
16142 </cell>
16143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16144 \begin_inset Text
16145
16146 \begin_layout Standard
16147 e
16148 \end_layout
16149
16150 \end_inset
16151 </cell>
16152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16153 \begin_inset Text
16154
16155 \begin_layout Standard
16156 f
16157 \end_layout
16158
16159 \end_inset
16160 </cell>
16161 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16162 \begin_inset Text
16163
16164 \begin_layout Standard
16165 g
16166 \end_layout
16167
16168 \end_inset
16169 </cell>
16170 </row>
16171 <row topline="true" bottomline="true">
16172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16173 \begin_inset Text
16174
16175 \begin_layout Standard
16176 h
16177 \end_layout
16178
16179 \end_inset
16180 </cell>
16181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16182 \begin_inset Text
16183
16184 \begin_layout Standard
16185 i
16186 \end_layout
16187
16188 \end_inset
16189 </cell>
16190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16191 \begin_inset Text
16192
16193 \begin_layout Standard
16194 j
16195 \end_layout
16196
16197 \end_inset
16198 </cell>
16199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16200 \begin_inset Text
16201
16202 \begin_layout Standard
16203 k
16204 \end_layout
16205
16206 \end_inset
16207 </cell>
16208 </row>
16209 </lyxtabular>
16210
16211 \end_inset
16212
16213
16214 \end_layout
16215
16216 \end_inset
16217
16218
16219 \end_layout
16220
16221 \begin_layout Subsection
16222 Line Thickness
16223 \begin_inset LatexCommand label
16224 name "sub:Line-Thickness"
16225
16226 \end_inset
16227
16228
16229 \begin_inset LatexCommand index
16230 name "Table Customization ! Line Thickness"
16231
16232 \end_inset
16233
16234
16235 \end_layout
16236
16237 \begin_layout Standard
16238 The line thickness for all lines in a table can be adjusted with the length
16239  
16240 \series bold
16241
16242 \backslash
16243 arrayrulewidth
16244 \series default
16245 .
16246  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16247 pt, like in Table\InsetSpace ~
16248
16249 \begin_inset LatexCommand ref
16250 reference "tab:Table-with-1.5"
16251
16252 \end_inset
16253
16254 , insert the command
16255 \end_layout
16256
16257 \begin_layout Standard
16258
16259 \series bold
16260
16261 \backslash
16262 setlength{
16263 \backslash
16264 arrayrulewidth}{1.5pt}
16265 \end_layout
16266
16267 \begin_layout Standard
16268 in ERT before the table or table float.
16269  The changed thickness is valid for all following tables.
16270  To use the default value again, set 
16271 \series bold
16272
16273 \backslash
16274 arrayrulewidth
16275 \series default
16276  to 0.4\InsetSpace \thinspace{}
16277 pt in ERT behind the table or table float.
16278 \end_layout
16279
16280 \begin_layout Standard
16281 \begin_inset ERT
16282 status collapsed
16283
16284 \begin_layout Standard
16285
16286
16287 \backslash
16288 setlength{
16289 \backslash
16290 arrayrulewidth}{1.5pt}
16291 \end_layout
16292
16293 \end_inset
16294
16295
16296 \begin_inset Float table
16297 wide false
16298 sideways false
16299 status open
16300
16301 \begin_layout Standard
16302 \begin_inset Caption
16303
16304 \begin_layout Standard
16305 \begin_inset LatexCommand label
16306 name "tab:Table-with-1.5"
16307
16308 \end_inset
16309
16310 Table with 1.5\InsetSpace \thinspace{}
16311 pt thick lines
16312 \end_layout
16313
16314 \end_inset
16315
16316
16317 \end_layout
16318
16319 \begin_layout Standard
16320 \align center
16321 \begin_inset Tabular
16322 <lyxtabular version="3" rows="3" columns="3">
16323 <features>
16324 <column alignment="center" valignment="top" leftline="true" width="0">
16325 <column alignment="center" valignment="top" leftline="true" width="0">
16326 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16327 <row topline="true">
16328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16329 \begin_inset Text
16330
16331 \begin_layout Standard
16332 sd
16333 \end_layout
16334
16335 \end_inset
16336 </cell>
16337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16338 \begin_inset Text
16339
16340 \begin_layout Standard
16341
16342 \end_layout
16343
16344 \end_inset
16345 </cell>
16346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16347 \begin_inset Text
16348
16349 \begin_layout Standard
16350
16351 \end_layout
16352
16353 \end_inset
16354 </cell>
16355 </row>
16356 <row topline="true">
16357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16358 \begin_inset Text
16359
16360 \begin_layout Standard
16361
16362 \end_layout
16363
16364 \end_inset
16365 </cell>
16366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16367 \begin_inset Text
16368
16369 \begin_layout Standard
16370 sd
16371 \end_layout
16372
16373 \end_inset
16374 </cell>
16375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16376 \begin_inset Text
16377
16378 \begin_layout Standard
16379
16380 \end_layout
16381
16382 \end_inset
16383 </cell>
16384 </row>
16385 <row topline="true" bottomline="true">
16386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16387 \begin_inset Text
16388
16389 \begin_layout Standard
16390
16391 \end_layout
16392
16393 \end_inset
16394 </cell>
16395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16396 \begin_inset Text
16397
16398 \begin_layout Standard
16399
16400 \end_layout
16401
16402 \end_inset
16403 </cell>
16404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16405 \begin_inset Text
16406
16407 \begin_layout Standard
16408 sd
16409 \end_layout
16410
16411 \end_inset
16412 </cell>
16413 </row>
16414 </lyxtabular>
16415
16416 \end_inset
16417
16418
16419 \end_layout
16420
16421 \end_inset
16422
16423
16424 \begin_inset ERT
16425 status collapsed
16426
16427 \begin_layout Standard
16428
16429
16430 \backslash
16431 setlength{
16432 \backslash
16433 arrayrulewidth}{0.4pt}
16434 \end_layout
16435
16436 \end_inset
16437
16438
16439 \end_layout
16440
16441 \begin_layout Standard
16442 \begin_inset VSpace bigskip
16443 \end_inset
16444
16445 To set the line thickness to 1.5\InsetSpace \thinspace{}
16446 pt only for horizontal lines, like in Table\InsetSpace ~
16447
16448 \begin_inset LatexCommand ref
16449 reference "tab:Table-with-horizontal"
16450
16451 \end_inset
16452
16453 , insert these commands in ERT before the table or table float:
16454 \end_layout
16455
16456 \begin_layout Standard
16457
16458 \series bold
16459
16460 \backslash
16461 let
16462 \backslash
16463 myHline
16464 \backslash
16465 hline
16466 \newline
16467
16468 \backslash
16469 renewcommand{
16470 \backslash
16471 hline}
16472 \newline
16473  {
16474 \backslash
16475 noalign{
16476 \backslash
16477 global
16478 \backslash
16479 arrayrulewidth 1.5pt}
16480 \newline
16481  
16482 \backslash
16483 myHline
16484 \backslash
16485 noalign{
16486 \backslash
16487 global
16488 \backslash
16489 arrayrulewidth 0.4pt}}
16490 \end_layout
16491
16492 \begin_layout Standard
16493 To return to the default line thickness, insert this command in ERT behind
16494  the table or table float:
16495 \end_layout
16496
16497 \begin_layout Standard
16498
16499 \series bold
16500
16501 \backslash
16502 renewcommand{
16503 \backslash
16504 hline}{
16505 \backslash
16506 myHline}
16507 \end_layout
16508
16509 \begin_layout Standard
16510 \begin_inset ERT
16511 status collapsed
16512
16513 \begin_layout Standard
16514
16515
16516 \backslash
16517 let
16518 \backslash
16519 myHline
16520 \backslash
16521 hline
16522 \end_layout
16523
16524 \begin_layout Standard
16525
16526
16527 \backslash
16528 renewcommand{
16529 \backslash
16530 hline}
16531 \end_layout
16532
16533 \begin_layout Standard
16534
16535  {
16536 \backslash
16537 noalign{
16538 \backslash
16539 global
16540 \backslash
16541 arrayrulewidth 1.5pt}
16542 \end_layout
16543
16544 \begin_layout Standard
16545
16546   
16547 \backslash
16548 myHline
16549 \backslash
16550 noalign{
16551 \backslash
16552 global
16553 \backslash
16554 arrayrulewidth 0.4pt}}
16555 \end_layout
16556
16557 \end_inset
16558
16559
16560 \begin_inset Float table
16561 wide false
16562 sideways false
16563 status open
16564
16565 \begin_layout Standard
16566 \begin_inset Caption
16567
16568 \begin_layout Standard
16569 \begin_inset LatexCommand label
16570 name "tab:Table-with-horizontal"
16571
16572 \end_inset
16573
16574 Table with 1.5\InsetSpace \thinspace{}
16575 pt thick horizontal lines
16576 \end_layout
16577
16578 \end_inset
16579
16580
16581 \end_layout
16582
16583 \begin_layout Standard
16584 \align center
16585 \begin_inset Tabular
16586 <lyxtabular version="3" rows="3" columns="3">
16587 <features>
16588 <column alignment="center" valignment="top" leftline="true" width="0">
16589 <column alignment="center" valignment="top" leftline="true" width="0">
16590 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16591 <row topline="true">
16592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16593 \begin_inset Text
16594
16595 \begin_layout Standard
16596 sd
16597 \end_layout
16598
16599 \end_inset
16600 </cell>
16601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16602 \begin_inset Text
16603
16604 \begin_layout Standard
16605
16606 \end_layout
16607
16608 \end_inset
16609 </cell>
16610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16611 \begin_inset Text
16612
16613 \begin_layout Standard
16614
16615 \end_layout
16616
16617 \end_inset
16618 </cell>
16619 </row>
16620 <row topline="true">
16621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16622 \begin_inset Text
16623
16624 \begin_layout Standard
16625
16626 \end_layout
16627
16628 \end_inset
16629 </cell>
16630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16631 \begin_inset Text
16632
16633 \begin_layout Standard
16634 sd
16635 \end_layout
16636
16637 \end_inset
16638 </cell>
16639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16640 \begin_inset Text
16641
16642 \begin_layout Standard
16643
16644 \end_layout
16645
16646 \end_inset
16647 </cell>
16648 </row>
16649 <row topline="true" bottomline="true">
16650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16651 \begin_inset Text
16652
16653 \begin_layout Standard
16654
16655 \end_layout
16656
16657 \end_inset
16658 </cell>
16659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16660 \begin_inset Text
16661
16662 \begin_layout Standard
16663
16664 \end_layout
16665
16666 \end_inset
16667 </cell>
16668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16669 \begin_inset Text
16670
16671 \begin_layout Standard
16672 sd
16673 \end_layout
16674
16675 \end_inset
16676 </cell>
16677 </row>
16678 </lyxtabular>
16679
16680 \end_inset
16681
16682
16683 \end_layout
16684
16685 \end_inset
16686
16687
16688 \begin_inset ERT
16689 status collapsed
16690
16691 \begin_layout Standard
16692
16693
16694 \backslash
16695 renewcommand{
16696 \backslash
16697 hline}{
16698 \backslash
16699 myHline}
16700 \end_layout
16701
16702 \end_inset
16703
16704
16705 \end_layout
16706
16707 \begin_layout Standard
16708 \begin_inset VSpace bigskip
16709 \end_inset
16710
16711 To set the line thickness to 1.5\InsetSpace \thinspace{}
16712 pt only for vertical lines, create the following
16713  column format in the document preamble, according to the description in
16714  section\InsetSpace ~
16715
16716 \begin_inset LatexCommand ref
16717 reference "sub:Customized-Format"
16718
16719 \end_inset
16720
16721 :
16722 \end_layout
16723
16724 \begin_layout Standard
16725
16726 \series bold
16727
16728 \backslash
16729 newcolumntype{V}{!{
16730 \backslash
16731 vrule width 1.5pt}}
16732 \end_layout
16733
16734 \begin_layout Standard
16735 For Table\InsetSpace ~
16736
16737 \begin_inset LatexCommand ref
16738 reference "tab:Table-with-vertical"
16739
16740 \end_inset
16741
16742  the LaTeX-argument
16743 \end_layout
16744
16745 \begin_layout Standard
16746
16747 \series bold
16748 VcV
16749 \end_layout
16750
16751 \begin_layout Standard
16752 was used for the last column and
16753 \end_layout
16754
16755 \begin_layout Standard
16756
16757 \series bold
16758 Vc
16759 \end_layout
16760
16761 \begin_layout Standard
16762 for the other columns.
16763 \end_layout
16764
16765 \begin_layout Standard
16766 \begin_inset Float table
16767 wide false
16768 sideways false
16769 status open
16770
16771 \begin_layout Standard
16772 \begin_inset Caption
16773
16774 \begin_layout Standard
16775 \begin_inset LatexCommand label
16776 name "tab:Table-with-vertical"
16777
16778 \end_inset
16779
16780 Table with 1.5\InsetSpace \thinspace{}
16781 pt thick vertical lines
16782 \end_layout
16783
16784 \end_inset
16785
16786
16787 \end_layout
16788
16789 \begin_layout Standard
16790 \align center
16791 \begin_inset Tabular
16792 <lyxtabular version="3" rows="3" columns="3">
16793 <features>
16794 <column alignment="center" valignment="top" width="0" special="Vc">
16795 <column alignment="center" valignment="top" width="0" special="Vc">
16796 <column alignment="center" valignment="top" width="0" special="VcV">
16797 <row topline="true">
16798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16799 \begin_inset Text
16800
16801 \begin_layout Standard
16802 sd
16803 \end_layout
16804
16805 \end_inset
16806 </cell>
16807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16808 \begin_inset Text
16809
16810 \begin_layout Standard
16811
16812 \end_layout
16813
16814 \end_inset
16815 </cell>
16816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16817 \begin_inset Text
16818
16819 \begin_layout Standard
16820
16821 \end_layout
16822
16823 \end_inset
16824 </cell>
16825 </row>
16826 <row topline="true">
16827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16828 \begin_inset Text
16829
16830 \begin_layout Standard
16831
16832 \end_layout
16833
16834 \end_inset
16835 </cell>
16836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16837 \begin_inset Text
16838
16839 \begin_layout Standard
16840 sd
16841 \end_layout
16842
16843 \end_inset
16844 </cell>
16845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16846 \begin_inset Text
16847
16848 \begin_layout Standard
16849
16850 \end_layout
16851
16852 \end_inset
16853 </cell>
16854 </row>
16855 <row topline="true" bottomline="true">
16856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16857 \begin_inset Text
16858
16859 \begin_layout Standard
16860
16861 \end_layout
16862
16863 \end_inset
16864 </cell>
16865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16866 \begin_inset Text
16867
16868 \begin_layout Standard
16869
16870 \end_layout
16871
16872 \end_inset
16873 </cell>
16874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16875 \begin_inset Text
16876
16877 \begin_layout Standard
16878 sd
16879 \end_layout
16880
16881 \end_inset
16882 </cell>
16883 </row>
16884 </lyxtabular>
16885
16886 \end_inset
16887
16888
16889 \end_layout
16890
16891 \end_inset
16892
16893
16894 \end_layout
16895
16896 \begin_layout Subsection
16897 Dashed Lines
16898 \begin_inset LatexCommand index
16899 name "Table Customization ! Dashed Lines"
16900
16901 \end_inset
16902
16903
16904 \end_layout
16905
16906 \begin_layout Standard
16907 \begin_inset ERT
16908 status collapsed
16909
16910 \begin_layout Standard
16911
16912
16913 \backslash
16914 ifarydshln
16915 \end_layout
16916
16917 \end_inset
16918
16919
16920 \begin_inset Note Note
16921 status open
16922
16923 \begin_layout Standard
16924 The following section will only be displayed when you have the LaTeX-package
16925  
16926 \series bold
16927 arydshln
16928 \series default
16929  is installed.
16930 \end_layout
16931
16932 \end_inset
16933
16934
16935 \end_layout
16936
16937 \begin_layout Standard
16938 \begin_inset Float table
16939 placement H
16940 wide false
16941 sideways false
16942 status open
16943
16944 \begin_layout Standard
16945 \begin_inset Caption
16946
16947 \begin_layout Standard
16948 \begin_inset LatexCommand label
16949 name "tab:Table-with-dashed"
16950
16951 \end_inset
16952
16953 Table with dashed lines
16954 \end_layout
16955
16956 \end_inset
16957
16958
16959 \end_layout
16960
16961 \begin_layout Standard
16962 \align center
16963 \begin_inset Tabular
16964 <lyxtabular version="3" rows="5" columns="5">
16965 <features>
16966 <column alignment="center" valignment="top" leftline="true" width="0">
16967 <column alignment="center" valignment="top" leftline="true" width="0">
16968 <column alignment="center" valignment="top" width="0" special=":c">
16969 <column alignment="center" valignment="top" leftline="true" width="0">
16970 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16971 <row topline="true" bottomline="true">
16972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16973 \begin_inset Text
16974
16975 \begin_layout Standard
16976 a
16977 \end_layout
16978
16979 \end_inset
16980 </cell>
16981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16982 \begin_inset Text
16983
16984 \begin_layout Standard
16985 b
16986 \end_layout
16987
16988 \end_inset
16989 </cell>
16990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16991 \begin_inset Text
16992
16993 \begin_layout Standard
16994 c
16995 \end_layout
16996
16997 \end_inset
16998 </cell>
16999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17000 \begin_inset Text
17001
17002 \begin_layout Standard
17003 d
17004 \end_layout
17005
17006 \end_inset
17007 </cell>
17008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17009 \begin_inset Text
17010
17011 \begin_layout Standard
17012 e
17013 \end_layout
17014
17015 \end_inset
17016 </cell>
17017 </row>
17018 <row topline="true">
17019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17020 \begin_inset Text
17021
17022 \begin_layout Standard
17023 f
17024 \end_layout
17025
17026 \end_inset
17027 </cell>
17028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17029 \begin_inset Text
17030
17031 \begin_layout Standard
17032 g
17033 \end_layout
17034
17035 \end_inset
17036 </cell>
17037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17038 \begin_inset Text
17039
17040 \begin_layout Standard
17041 h
17042 \end_layout
17043
17044 \end_inset
17045 </cell>
17046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17047 \begin_inset Text
17048
17049 \begin_layout Standard
17050 i
17051 \end_layout
17052
17053 \end_inset
17054 </cell>
17055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17056 \begin_inset Text
17057
17058 \begin_layout Standard
17059 j
17060 \end_layout
17061
17062 \end_inset
17063 </cell>
17064 </row>
17065 <row>
17066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17067 \begin_inset Text
17068
17069 \begin_layout Standard
17070 \begin_inset ERT
17071 status collapsed
17072
17073 \begin_layout Standard
17074
17075
17076 \backslash
17077 hdashline 
17078 \end_layout
17079
17080 \end_inset
17081
17082 k
17083 \end_layout
17084
17085 \end_inset
17086 </cell>
17087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17088 \begin_inset Text
17089
17090 \begin_layout Standard
17091 l
17092 \end_layout
17093
17094 \end_inset
17095 </cell>
17096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17097 \begin_inset Text
17098
17099 \begin_layout Standard
17100 m
17101 \end_layout
17102
17103 \end_inset
17104 </cell>
17105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17106 \begin_inset Text
17107
17108 \begin_layout Standard
17109 n
17110 \end_layout
17111
17112 \end_inset
17113 </cell>
17114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17115 \begin_inset Text
17116
17117 \begin_layout Standard
17118 o
17119 \end_layout
17120
17121 \end_inset
17122 </cell>
17123 </row>
17124 <row topline="true">
17125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17126 \begin_inset Text
17127
17128 \begin_layout Standard
17129 \begin_inset ERT
17130 status collapsed
17131
17132 \begin_layout Standard
17133
17134
17135 \backslash
17136 cdashline{4-5}
17137 \end_layout
17138
17139 \end_inset
17140
17141 p
17142 \end_layout
17143
17144 \end_inset
17145 </cell>
17146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17147 \begin_inset Text
17148
17149 \begin_layout Standard
17150 q
17151 \end_layout
17152
17153 \end_inset
17154 </cell>
17155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17156 \begin_inset Text
17157
17158 \begin_layout Standard
17159 r
17160 \end_layout
17161
17162 \end_inset
17163 </cell>
17164 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17165 \begin_inset Text
17166
17167 \begin_layout Standard
17168 s
17169 \end_layout
17170
17171 \end_inset
17172 </cell>
17173 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17174 \begin_inset Text
17175
17176 \begin_layout Standard
17177
17178 \end_layout
17179
17180 \end_inset
17181 </cell>
17182 </row>
17183 <row topline="true" bottomline="true">
17184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17185 \begin_inset Text
17186
17187 \begin_layout Standard
17188 t
17189 \end_layout
17190
17191 \end_inset
17192 </cell>
17193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17194 \begin_inset Text
17195
17196 \begin_layout Standard
17197 u
17198 \end_layout
17199
17200 \end_inset
17201 </cell>
17202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17203 \begin_inset Text
17204
17205 \begin_layout Standard
17206 v
17207 \end_layout
17208
17209 \end_inset
17210 </cell>
17211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17212 \begin_inset Text
17213
17214 \begin_layout Standard
17215 w
17216 \end_layout
17217
17218 \end_inset
17219 </cell>
17220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17221 \begin_inset Text
17222
17223 \begin_layout Standard
17224 x
17225 \end_layout
17226
17227 \end_inset
17228 </cell>
17229 </row>
17230 </lyxtabular>
17231
17232 \end_inset
17233
17234
17235 \end_layout
17236
17237 \end_inset
17238
17239
17240 \end_layout
17241
17242 \begin_layout Standard
17243 LyX doesn't natively support dashed lines, so you have to use ERT.
17244  As prerequisite the LaTeX-package 
17245 \series bold
17246 arydshln
17247 \series default
17248
17249 \begin_inset LatexCommand index
17250 name "LaTeX-packages ! arydshln"
17251
17252 \end_inset
17253
17254  must be loaded in the document preamble with the command
17255 \end_layout
17256
17257 \begin_layout Standard
17258
17259 \series bold
17260
17261 \backslash
17262 usepackage{arydshln}
17263 \end_layout
17264
17265 \begin_layout Standard
17266 To make a vertical line dashed, enter the colon 
17267 \begin_inset Quotes eld
17268 \end_inset
17269
17270 :
17271 \begin_inset Quotes erd
17272 \end_inset
17273
17274  together with the character for the horizontal alignment as LaTeX-argument
17275  in the table cell dialog.
17276 \end_layout
17277
17278 \begin_layout Standard
17279 For a horizontal dashed line add the command
17280 \end_layout
17281
17282 \begin_layout Standard
17283
17284 \series bold
17285
17286 \backslash
17287 hdashline
17288 \end_layout
17289
17290 \begin_layout Standard
17291 in ERT as first element of the first cell in the table row.
17292 \end_layout
17293
17294 \begin_layout Standard
17295 For dashed multicolumn lines use the command
17296 \end_layout
17297
17298 \begin_layout Standard
17299
17300 \series bold
17301
17302 \backslash
17303 cdashline{line number
17304 \series default
17305 }
17306 \end_layout
17307
17308 \begin_layout Standard
17309 in ERT as first element of the first cell in the table row.
17310  If you have for example a multicolumn spanning over columns 2 to 4 and
17311  you want to have a dashed line above, add the command
17312 \end_layout
17313
17314 \begin_layout Standard
17315
17316 \series bold
17317
17318 \backslash
17319 cdashline{2-4}
17320 \end_layout
17321
17322 \begin_layout Standard
17323 as first element of the first cell in the row of the multicolumn.
17324 \end_layout
17325
17326 \begin_layout Standard
17327 \begin_inset VSpace bigskip
17328 \end_inset
17329
17330
17331 \end_layout
17332
17333 \begin_layout Standard
17334 Table\InsetSpace ~
17335
17336 \begin_inset LatexCommand ref
17337 reference "tab:Table-with-dashed"
17338
17339 \end_inset
17340
17341  was created using 
17342 \begin_inset Quotes eld
17343 \end_inset
17344
17345
17346 \series bold
17347 :c
17348 \series default
17349
17350 \begin_inset Quotes erd
17351 \end_inset
17352
17353  as LaTeX-argument of the third column.
17354  The ERT command 
17355 \series bold
17356
17357 \backslash
17358 hdashline
17359 \series default
17360  was inserted to the first cell of the third row and the the ERT command
17361 \newline
17362
17363  
17364 \series bold
17365
17366 \backslash
17367 cdashline{4-5}
17368 \series default
17369  was inserted to the first cell of the fourth row.
17370 \end_layout
17371
17372 \begin_layout Standard
17373 \begin_inset Note Greyedout
17374 status open
17375
17376 \begin_layout Standard
17377
17378 \series bold
17379 Note:
17380 \series default
17381  The used LaTeX-package 
17382 \series bold
17383 arydshln
17384 \series default
17385  is apparently not compatible with the LaTeX-package 
17386 \series bold
17387 colortbl
17388 \series default
17389
17390 \begin_inset LatexCommand index
17391 name "LaTeX-packages ! colortbl"
17392
17393 \end_inset
17394
17395  that is used for colored tables in section\InsetSpace ~
17396
17397 \begin_inset LatexCommand ref
17398 reference "sec:Colored-Tables"
17399
17400 \end_inset
17401
17402 .
17403  That means colored tables cannot have dashed lines.
17404 \end_layout
17405
17406 \end_inset
17407
17408
17409 \end_layout
17410
17411 \begin_layout Standard
17412 \begin_inset ERT
17413 status collapsed
17414
17415 \begin_layout Standard
17416
17417
17418 \backslash
17419 else
17420 \end_layout
17421
17422 \end_inset
17423
17424
17425 \begin_inset Note Note
17426 status open
17427
17428 \begin_layout Standard
17429 The following will be displayed when the LaTeX-package 
17430 \series bold
17431 arydshln
17432 \series default
17433  is not installed:
17434 \end_layout
17435
17436 \end_inset
17437
17438
17439 \end_layout
17440
17441 \begin_layout Standard
17442 You need to install the package 
17443 \series bold
17444 arydshln
17445 \series default
17446  to see the contents of this section in the output.
17447 \end_layout
17448
17449 \begin_layout Standard
17450 \begin_inset ERT
17451 status collapsed
17452
17453 \begin_layout Standard
17454
17455
17456 \backslash
17457 fi
17458 \end_layout
17459
17460 \end_inset
17461
17462
17463 \end_layout
17464
17465 \begin_layout Chapter
17466 Floats
17467 \begin_inset LatexCommand index
17468 name "Floats"
17469
17470 \end_inset
17471
17472
17473 \begin_inset LatexCommand label
17474 name "cha:Floats"
17475
17476 \end_inset
17477
17478
17479 \end_layout
17480
17481 \begin_layout Section
17482 Introduction
17483 \begin_inset LatexCommand label
17484 name "sec:FloatIntroduction"
17485
17486 \end_inset
17487
17488
17489 \begin_inset LatexCommand index
17490 name "Floats ! Introduction"
17491
17492 \end_inset
17493
17494
17495 \end_layout
17496
17497 \begin_layout Standard
17498 A float is a block of text associated with some sort of label, which doesn't
17499  have a fixed location.
17500  It can 
17501 \begin_inset Quotes eld
17502 \end_inset
17503
17504 float
17505 \begin_inset Quotes erd
17506 \end_inset
17507
17508  forward or backward a page or two, to wherever it fits best.
17509  
17510 \family sans
17511 Footnotes
17512 \family default
17513  and 
17514 \family sans
17515 Margin\InsetSpace ~
17516 Notes
17517 \family default
17518  are also floats, because they can float to the next page when there are
17519  too many notes at the page.
17520 \end_layout
17521
17522 \begin_layout Standard
17523 Floats allow a high quality layout.
17524  Images and tables can evenly be spread to the pages to avoid white space
17525  and pages without text.
17526  As the floating often destroys the context between the text and the image/table
17527 , every float can be referenced in the text.
17528  Floats are therefore numbered.
17529  Referencing is described in section\InsetSpace ~
17530
17531 \begin_inset LatexCommand ref
17532 reference "sec:Referencing-Floats"
17533
17534 \end_inset
17535
17536 .
17537 \end_layout
17538
17539 \begin_layout Standard
17540 To insert a float, use the menu 
17541 \family sans
17542 Insert\SpecialChar \menuseparator
17543 Float
17544 \family default
17545 .
17546  This inserts the 
17547 \family sans
17548 Caption
17549 \family default
17550  inset, a box with a label.
17551  The label will automatically be translated to the document language in
17552  the output.
17553  Behind the label you can insert the caption text.
17554  The image or table is inserted above or below the caption in a separate
17555  paragraph within the float.
17556  More about the caption placement is described in section\InsetSpace ~
17557
17558 \begin_inset LatexCommand ref
17559 reference "sec:Caption-Placement"
17560
17561 \end_inset
17562
17563 .
17564  To keep your LyX-document readable, you can open and close the float box
17565  by left-clicking on the box label.
17566  A closed float box looks like this: 
17567 \begin_inset Graphics
17568         filename clipart/floatQt4.png
17569         scale 70
17570         scaleBeforeRotation
17571
17572 \end_inset
17573
17574  -- a gray button with a red label.
17575 \end_layout
17576
17577 \begin_layout Standard
17578 It is recommended to insert floats as a separate paragraph to avoid possible
17579  LaTeX-errors that can occur when the surrounding text is specially formatted.
17580 \end_layout
17581
17582 \begin_layout Standard
17583 Existing figures or tables can be put into a float by marking them and then
17584  pressing the corresponding toolbar button for a new float.
17585 \end_layout
17586
17587 \begin_layout Section
17588 Float Types
17589 \end_layout
17590
17591 \begin_layout Standard
17592 Besides figure and table floats that are described in section\InsetSpace ~
17593
17594 \begin_inset LatexCommand ref
17595 reference "sec:Figure-Floats"
17596
17597 \end_inset
17598
17599  and 
17600 \begin_inset LatexCommand ref
17601 reference "sec:Table-Floats"
17602
17603 \end_inset
17604
17605 , respectively, LyX offers the float types 
17606 \series bold
17607 Algorithm
17608 \series default
17609  and 
17610 \series bold
17611 Text\InsetSpace ~
17612 Wrap\InsetSpace ~
17613 Float
17614 \series default
17615 .
17616 \end_layout
17617
17618 \begin_layout Subsection
17619 Algorithm Floats
17620 \begin_inset LatexCommand index
17621 name "Floats ! Algorithms"
17622
17623 \end_inset
17624
17625
17626 \end_layout
17627
17628 \begin_layout Standard
17629 \begin_inset Float algorithm
17630 placement h
17631 wide false
17632 sideways false
17633 status open
17634
17635 \begin_layout Standard
17636 \begin_inset Caption
17637
17638 \begin_layout Standard
17639 \begin_inset LatexCommand label
17640 name "alg:Example-Algorithm-float"
17641
17642 \end_inset
17643
17644 Example Algorithm float
17645 \end_layout
17646
17647 \end_inset
17648
17649
17650 \end_layout
17651
17652 \begin_layout LyX-Code
17653 for I in 1..N loop
17654 \newline
17655  Sum:= Sum + A(I); /*comment*/
17656 \newline
17657 end loop
17658 \begin_inset VSpace -4mm
17659 \end_inset
17660
17661
17662 \end_layout
17663
17664 \end_inset
17665
17666
17667 \end_layout
17668
17669 \begin_layout Standard
17670 This float type is inserted with the menu 
17671 \family sans
17672 Insert\SpecialChar \menuseparator
17673 Floats\SpecialChar \menuseparator
17674 Algorithm
17675 \family default
17676 .
17677  It is used for program codes and descriptions of algorithms.
17678  A possible environment for algorithms is the 
17679 \family sans
17680 LyX-Code
17681 \family default
17682 , described in LyX's 
17683 \emph on
17684 Userguide
17685 \emph default
17686 .
17687  Algorithm\InsetSpace ~
17688
17689 \begin_inset LatexCommand ref
17690 reference "alg:Example-Algorithm-float"
17691
17692 \end_inset
17693
17694  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17695 mm vertical space was added
17696  at the end of the float to have the bottom rule exactly below the last
17697  text line.
17698 \end_layout
17699
17700 \begin_layout Standard
17701 The float label is not automatically translated into the document language.
17702  If your document is not in English, you have to do this manually by adding
17703  the following line to the document preamble
17704 \series bold
17705 :
17706 \end_layout
17707
17708 \begin_layout Standard
17709
17710 \series bold
17711
17712 \backslash
17713 floatname{algorithm}{your\InsetSpace ~
17714 name}
17715 \end_layout
17716
17717 \begin_layout Standard
17718
17719 \family sans
17720 your\InsetSpace ~
17721 name
17722 \family default
17723  is the word 
17724 \begin_inset Quotes eld
17725 \end_inset
17726
17727
17728 \emph on
17729 algorithm
17730 \emph default
17731
17732 \begin_inset Quotes erd
17733 \end_inset
17734
17735  in your language.
17736 \end_layout
17737
17738 \begin_layout Description
17739
17740 \series bold
17741 Note:
17742 \series default
17743  When the LaTeX-package 
17744 \series bold
17745 hyperref
17746 \series default
17747
17748 \begin_inset LatexCommand index
17749 name "LaTeX-packages ! hyperref"
17750
17751 \end_inset
17752
17753  is used to link cross-references to floats in the PDF-output, it must be
17754  loaded in the document preamble before the definition of floats to be able
17755  to reference floats.
17756  As LyX sets the float definition for algorithm floats automatically before
17757  the user editable part of the document preamble, you need to insert the
17758  following preamble lines 
17759 \emph on
17760 after
17761 \emph default
17762  the loading command of 
17763 \series bold
17764 hyperref
17765 \series default
17766 :
17767 \series bold
17768
17769 \begin_inset VSpace defskip
17770 \end_inset
17771
17772
17773 \newline
17774
17775 \backslash
17776 newfloat{Xalgorithm}{tbp}{loa}
17777 \newline
17778
17779 \backslash
17780 floatname{Xalgorithm}{your\InsetSpace ~
17781 name}
17782 \newline
17783
17784 \backslash
17785 newcommand{
17786 \backslash
17787 theHalgorithm}{
17788 \backslash
17789 theHXalgorithm}
17790 \newline
17791
17792 \backslash
17793 renewenvironment{algorithm}[1][tbp]
17794 \newline
17795
17796 \begin_inset ERT
17797 status collapsed
17798
17799 \begin_layout Standard
17800
17801
17802 \backslash
17803 hphantom{ }
17804 \end_layout
17805
17806 \end_inset
17807
17808 {
17809 \backslash
17810 begin{Xalgorithm}[#1]}{
17811 \backslash
17812 end{Xalgorithm}}
17813 \begin_inset VSpace defskip
17814 \end_inset
17815
17816
17817 \end_layout
17818
17819 \begin_layout Standard
17820 Algorithm floats are not by default numbered in the scheme 
17821 \begin_inset Quotes eld
17822 \end_inset
17823
17824 chapter.algorithm
17825 \begin_inset Quotes erd
17826 \end_inset
17827
17828  like it is the case for table and figure floats in many document-classes.
17829  To number algorithm floats in the same scheme, add this command to your
17830  document preamble:
17831 \end_layout
17832
17833 \begin_layout Standard
17834
17835 \series bold
17836
17837 \backslash
17838 numberwithin{algorithm}{chapter}
17839 \end_layout
17840
17841 \begin_layout Standard
17842 If you use the LaTeX-package 
17843 \series bold
17844 hyperref
17845 \series default
17846 , add this line instead 
17847 \emph on
17848 after
17849 \emph default
17850  the definition of 
17851 \family sans
17852 Xalgorithm
17853 \family default
17854  (the commands from above) to the preamble:
17855 \end_layout
17856
17857 \begin_layout Standard
17858
17859 \series bold
17860
17861 \backslash
17862 numberwithin{Xalgorithm}{chapter}
17863 \end_layout
17864
17865 \begin_layout Standard
17866 To be able to use the command 
17867 \series bold
17868
17869 \backslash
17870 numberwithin
17871 \series default
17872 , set in the tab 
17873 \family sans
17874 Math\InsetSpace ~
17875 Options
17876 \family default
17877  in the document settings the option 
17878 \family sans
17879 Use\InsetSpace ~
17880 AMS\InsetSpace ~
17881 math\InsetSpace ~
17882 package
17883 \family default
17884 .
17885 \end_layout
17886
17887 \begin_layout Subsection
17888 Text Wrap Floats
17889 \begin_inset LatexCommand index
17890 name "Floats ! Text Wrap Floats"
17891
17892 \end_inset
17893
17894
17895 \begin_inset LatexCommand label
17896 name "sub:floatflt-wrap-float"
17897
17898 \end_inset
17899
17900
17901 \end_layout
17902
17903 \begin_layout Standard
17904 This float type is used if you want to 
17905 \begin_inset Quotes eld
17906 \end_inset
17907
17908 wrap
17909 \begin_inset Quotes erd
17910 \end_inset
17911
17912  text around a figure so that it only occupies some fraction of the column
17913  width.
17914  It can be inserted using the menu 
17915 \begin_inset Wrap figure
17916 placement l
17917 width "40col%"
17918 status open
17919
17920 \begin_layout Standard
17921 \begin_inset Graphics
17922         filename clipart/mobius.eps
17923         display color
17924         width 40col%
17925         scaleBeforeRotation
17926         rotateOrigin center
17927
17928 \end_inset
17929
17930
17931 \end_layout
17932
17933 \begin_layout Standard
17934 \begin_inset Caption
17935
17936 \begin_layout Standard
17937 \begin_inset LatexCommand label
17938 name "fig:This-is-a"
17939
17940 \end_inset
17941
17942 This is a wrapped figure, and this is the brilliant caption that describes
17943  it.
17944 \begin_inset VSpace medskip
17945 \end_inset
17946
17947
17948 \end_layout
17949
17950 \end_inset
17951
17952
17953 \end_layout
17954
17955 \end_inset
17956
17957  
17958 \family sans
17959 Insert\SpecialChar \menuseparator
17960 Floats\SpecialChar \menuseparator
17961 Text\InsetSpace ~
17962 Wrap\InsetSpace ~
17963 Float
17964 \family default
17965  if the LaTeX-package 
17966 \series bold
17967 f\SpecialChar \textcompwordmark{}
17968 loatf\SpecialChar \textcompwordmark{}
17969 lt
17970 \series default
17971
17972 \begin_inset LatexCommand index
17973 name "LaTeX-packages ! floatflt"
17974
17975 \end_inset
17976
17977  is installed.
17978 \begin_inset Foot
17979 status collapsed
17980
17981 \begin_layout Standard
17982 Installing a LaTeX-package is explained it in the 
17983 \emph on
17984 LaTeX\InsetSpace ~
17985 Configuration
17986 \emph default
17987  manual.
17988 \end_layout
17989
17990 \end_inset
17991
17992  The width and placement of the float is adjusted by right-clicking on the
17993  float box.
17994  Figure\InsetSpace ~
17995
17996 \begin_inset LatexCommand ref
17997 reference "fig:This-is-a"
17998
17999 \end_inset
18000
18001  is an example text wrap float with a width of 40
18002 \begin_inset Formula $\,$
18003 \end_inset
18004
18005 col%.
18006 \begin_inset Foot
18007 status collapsed
18008
18009 \begin_layout Standard
18010 Available units are explained in 
18011 \begin_inset LatexCommand ref
18012 reference "cha:Units-available-in"
18013
18014 \end_inset
18015
18016 .
18017 \end_layout
18018
18019 \end_inset
18020
18021  Some space was added under the caption to separate it better from the surroundi
18022 ng text.
18023 \end_layout
18024
18025 \begin_layout Standard
18026 The LaTeX-package 
18027 \series bold
18028 f\SpecialChar \textcompwordmark{}
18029 loatf\SpecialChar \textcompwordmark{}
18030 lt
18031 \series default
18032  also supports table wrap floats, but they are not yet supported by LyX.
18033  If you need this, read the documentation of 
18034 \series bold
18035 f\SpecialChar \textcompwordmark{}
18036 loatf\SpecialChar \textcompwordmark{}
18037 lt
18038 \series default
18039  
18040 \begin_inset LatexCommand cite
18041 key "floatflt"
18042
18043 \end_inset
18044
18045 .
18046 \end_layout
18047
18048 \begin_layout Standard
18049 \begin_inset Note Greyedout
18050 status open
18051
18052 \begin_layout Standard
18053
18054 \series bold
18055 Note:
18056 \series default
18057  Text\InsetSpace ~
18058 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18059 g.\InsetSpace ~
18060 having a figure too close to the bottom
18061  of the page can mess things up in the way that the float doesn't appear
18062  in the output or that it is placed over some other text.
18063 \begin_inset Foot
18064 status open
18065
18066 \begin_layout Standard
18067 The better solution is to use the LaTeX-package 
18068 \series bold
18069 wrapf\SpecialChar \textcompwordmark{}
18070 ig
18071 \series default
18072
18073 \begin_inset LatexCommand index
18074 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18075
18076 \end_inset
18077
18078  instead of 
18079 \series bold
18080 f\SpecialChar \textcompwordmark{}
18081 loatf\SpecialChar \textcompwordmark{}
18082 lt
18083 \series default
18084 , but it is currently not supported by LyX.
18085 \end_layout
18086
18087 \end_inset
18088
18089
18090 \end_layout
18091
18092 \end_inset
18093
18094
18095 \end_layout
18096
18097 \begin_layout Standard
18098 In general:
18099 \end_layout
18100
18101 \begin_layout Itemize
18102 Wrap floats should not be placed in paragraphs that run over a page break.
18103  That means that wrap floats should better be inserted to the exact place
18104  when the document is nearly finished and you are able to estimate where
18105  page breaks will appear.
18106 \end_layout
18107
18108 \begin_layout Itemize
18109 Wrap floats should either be placed in an own paragraph before the paragraph
18110  where they should wrap into or within a paragraph.
18111 \end_layout
18112
18113 \begin_layout Itemize
18114 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18115  there is a text paragraph between them as separator.
18116 \end_layout
18117
18118 \begin_layout Itemize
18119 Wrap floats are not allowed in section headings or tables.
18120 \end_layout
18121
18122 \begin_layout Section
18123 Float Numbering
18124 \begin_inset LatexCommand label
18125 name "sec:Float-Numbering"
18126
18127 \end_inset
18128
18129
18130 \begin_inset LatexCommand index
18131 name "Floats ! Numbering"
18132
18133 \end_inset
18134
18135
18136 \end_layout
18137
18138 \begin_layout Standard
18139 Floats are usually numbered either independent from the sections the floats
18140  are in, or in the scheme 
18141 \begin_inset Quotes eld
18142 \end_inset
18143
18144 chapter.number
18145 \begin_inset Quotes erd
18146 \end_inset
18147
18148  or 
18149 \begin_inset Quotes eld
18150 \end_inset
18151
18152 section.number
18153 \begin_inset Quotes erd
18154 \end_inset
18155
18156 .
18157  This depends on the used document class.
18158 \end_layout
18159
18160 \begin_layout Standard
18161 To change the section independent numbering, you can use this command in
18162  the document preamble:
18163 \end_layout
18164
18165 \begin_layout Standard
18166
18167 \series bold
18168
18169 \backslash
18170 renewcommand{
18171 \backslash
18172 thetable}{
18173 \backslash
18174 roman{table}}
18175 \end_layout
18176
18177 \begin_layout Standard
18178
18179 \series bold
18180
18181 \backslash
18182 thetable
18183 \series default
18184  is the command that prints the table number, for figure floats, the command
18185  would be 
18186 \series bold
18187
18188 \backslash
18189 thefigure
18190 \series default
18191 .
18192  The command 
18193 \series bold
18194
18195 \backslash
18196 roman
18197 \series default
18198  prints in the command above the table number as small roman number.
18199 \end_layout
18200
18201 \begin_layout Standard
18202 To change the numbering scheme for example to 
18203 \begin_inset Quotes eld
18204 \end_inset
18205
18206 subsection.number
18207 \begin_inset Quotes erd
18208 \end_inset
18209
18210 , use this command in the preamble:
18211 \end_layout
18212
18213 \begin_layout Standard
18214
18215 \series bold
18216
18217 \backslash
18218 numberwithin{table}{subsection}
18219 \end_layout
18220
18221 \begin_layout Standard
18222 To be able to use the command 
18223 \series bold
18224
18225 \backslash
18226 numberwithin
18227 \series default
18228 , set in the tab 
18229 \family sans
18230 Math\InsetSpace ~
18231 Options
18232 \family default
18233  in the document settings the option 
18234 \family sans
18235 Use\InsetSpace ~
18236 AMS\InsetSpace ~
18237 math\InsetSpace ~
18238 package
18239 \family default
18240 .
18241 \end_layout
18242
18243 \begin_layout Standard
18244 Please also have a look at section\InsetSpace ~
18245
18246 \begin_inset LatexCommand ref
18247 reference "sub:Footnote-Numbering"
18248
18249 \end_inset
18250
18251  for the details and important notes about the numbering commands.
18252 \end_layout
18253
18254 \begin_layout Section
18255 Referencing Floats
18256 \begin_inset LatexCommand label
18257 name "sec:Referencing-Floats"
18258
18259 \end_inset
18260
18261
18262 \begin_inset LatexCommand index
18263 name "Floats ! References"
18264
18265 \end_inset
18266
18267
18268 \begin_inset LatexCommand index
18269 name "References"
18270
18271 \end_inset
18272
18273
18274 \end_layout
18275
18276 \begin_layout Standard
18277 To reference a float, insert a label into its caption using the menu 
18278 \family sans
18279 Insert\SpecialChar \menuseparator
18280 Label
18281 \family default
18282  or the toolbar button 
18283 \begin_inset Graphics
18284         filename ../images/label-insert.xpm
18285         scale 85
18286         scaleBeforeRotation
18287
18288 \end_inset
18289
18290 .
18291  A grey label box like this one: 
18292 \begin_inset Graphics
18293         filename clipart/labelQt4.png
18294         scale 85
18295         scaleBeforeRotation
18296
18297 \end_inset
18298
18299  will be inserted and the label window pops up asking for the label text.
18300  LyX offers as text the first words of the caption with a prefix.
18301  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18302 g.\InsetSpace ~
18303 for figure floats the prefix will
18304  be "
18305 \family sans
18306 fig:
18307 \family default
18308 ".
18309 \end_layout
18310
18311 \begin_layout Standard
18312 The label is used as anchor and name for the reference.
18313  You can refer to the label using the menu 
18314 \family sans
18315 Insert\SpecialChar \menuseparator
18316 Cross-reference
18317 \family default
18318  or the toolbar button 
18319 \begin_inset Graphics
18320         filename ../images/dialog-show-new-inset_ref.xpm
18321         scale 85
18322         scaleBeforeRotation
18323
18324 \end_inset
18325
18326 .
18327  A grey cross-reference box like this one: 
18328 \begin_inset Graphics
18329         filename clipart/referenceQt4.png
18330         scale 85
18331         scaleBeforeRotation
18332
18333 \end_inset
18334
18335  will be inserted and the cross-reference window appear showing all labels
18336  of the document.
18337  If you have multiple LyX-documents opened, choose the one you are working
18338  on from the drop-list at the top of the dialog.
18339  You can now sort the labels alphabetically and then choose one.
18340  At the position of the cross-reference box the float number will appear
18341  in the output.
18342 \end_layout
18343
18344 \begin_layout Standard
18345 It is recommended to use a protected space between the cross-reference name
18346  and its number to avoid line breaks between them.
18347  If a cross-reference refers to a non-existing label, you will see two question
18348  marks in the output instead of the reference.
18349 \end_layout
18350
18351 \begin_layout Standard
18352 You can change labels at any time by clicking on the label box.
18353  References to the changed label will automatically change its link to the
18354  new label text, so that you don't need to take care about this.
18355 \end_layout
18356
18357 \begin_layout Standard
18358 The button 
18359 \family sans
18360 Go\InsetSpace ~
18361 to\InsetSpace ~
18362 Label
18363 \family default
18364  in the cross-reference window sets the cursor before the referred label.
18365  The button text changes then to Go\InsetSpace ~
18366 Back and you can use it to set the cursor
18367  back to the cross-reference.
18368  Right-clicking on a cross-reference box also sets the cursor before the
18369  referenced label but without a possibility to go back.
18370 \end_layout
18371
18372 \begin_layout Subsection
18373 Cross-Reference Formats
18374 \begin_inset LatexCommand label
18375 name "sub:Cross-Reference-Formats"
18376
18377 \end_inset
18378
18379
18380 \begin_inset LatexCommand index
18381 name "References ! Formats"
18382
18383 \end_inset
18384
18385
18386 \end_layout
18387
18388 \begin_layout Standard
18389 There are six varieties of cross-references:
18390 \end_layout
18391
18392 \begin_layout Description
18393 <reference>: prints the float number, this is the default: 
18394 \begin_inset LatexCommand ref
18395 reference "fig:Two-distorted-images"
18396
18397 \end_inset
18398
18399
18400 \end_layout
18401
18402 \begin_layout Description
18403 (<reference>): prints the float number within two parentheses, this is the
18404  style normally used to reference formulas, especially when the reference
18405  name 
18406 \begin_inset Quotes eld
18407 \end_inset
18408
18409 Equation
18410 \begin_inset Quotes erd
18411 \end_inset
18412
18413  is omitted: 
18414 \begin_inset LatexCommand eqref
18415 reference "eq:Wgn"
18416
18417 \end_inset
18418
18419
18420 \end_layout
18421
18422 \begin_layout Description
18423 <page>: prints the page number: Page\InsetSpace ~
18424
18425 \begin_inset LatexCommand pageref
18426 reference "fig:Two-distorted-images"
18427
18428 \end_inset
18429
18430
18431 \end_layout
18432
18433 \begin_layout Description
18434 on\InsetSpace ~
18435 page\InsetSpace ~
18436 <page>: prints the text "on page" and the page number: 
18437 \begin_inset LatexCommand vpageref
18438 reference "fig:Two-distorted-images"
18439
18440 \end_inset
18441
18442
18443 \end_layout
18444
18445 \begin_layout Description
18446 <reference>\InsetSpace ~
18447 on\InsetSpace ~
18448 page\InsetSpace ~
18449 <page>: prints the float number, the text "on page", and
18450  the page number: 
18451 \begin_inset LatexCommand vref
18452 reference "fig:Two-distorted-images"
18453
18454 \end_inset
18455
18456
18457 \end_layout
18458
18459 \begin_layout Description
18460 Formatted\InsetSpace ~
18461 reference: prints a self defined cross-reference format.
18462  
18463 \begin_inset Note Greyedout
18464 status open
18465
18466 \begin_layout Standard
18467
18468 \series bold
18469 Note:
18470 \series default
18471  This feature is only available when you have the LaTeX-package 
18472 \series bold
18473 prettyref
18474 \series default
18475  installed.
18476 \end_layout
18477
18478 \end_inset
18479
18480
18481 \end_layout
18482
18483 \begin_layout Standard
18484 Note that the style <page> won't print the page number if the label is on
18485  the previous, the same, or the next page.
18486  You will e.\InsetSpace \thinspace{}
18487 g.\InsetSpace ~
18488 see the text 
18489 \begin_inset Quotes eld
18490 \end_inset
18491
18492
18493 \family sans
18494 on this page
18495 \family default
18496
18497 \begin_inset Quotes erd
18498 \end_inset
18499
18500  instead.
18501 \end_layout
18502
18503 \begin_layout Standard
18504 The number and current page of the referred document part in the output,
18505  is automatically calculated by LaTeX.
18506  The varieties are adjusted in the field 
18507 \family sans
18508 Format
18509 \family default
18510  of the cross-reference window, that appear when you click on the cross-referenc
18511 e box.
18512 \end_layout
18513
18514 \begin_layout Subsection
18515 Referencing Subfigures
18516 \begin_inset LatexCommand label
18517 name "sub:Referencing-Subfigures"
18518
18519 \end_inset
18520
18521
18522 \begin_inset LatexCommand index
18523 name "References ! to Subfigures"
18524
18525 \end_inset
18526
18527
18528 \end_layout
18529
18530 \begin_layout Standard
18531 Currently referencing subfigures is not supported by LyX, so you have to
18532  use LaTeX-commands.
18533  The label is the created with the command
18534 \end_layout
18535
18536 \begin_layout Standard
18537
18538 \series bold
18539
18540 \backslash
18541 label{fig:YourLabelName}
18542 \end_layout
18543
18544 \begin_layout Standard
18545 that is directly inserted into the subfigure caption field.
18546  To reference the label add this command in ERT
18547 \end_layout
18548
18549 \begin_layout Standard
18550
18551 \series bold
18552
18553 \backslash
18554 ref{fig:YourLabelName}
18555 \end_layout
18556
18557 \begin_layout Standard
18558 to the position in your document where the reference should be placed.
18559  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18560
18561 \begin_inset ERT
18562 status collapsed
18563
18564 \begin_layout Standard
18565
18566
18567 \backslash
18568 ref{fig:Platypus}
18569 \end_layout
18570
18571 \end_inset
18572
18573 .
18574 \end_layout
18575
18576 \begin_layout Subsection
18577 Automatic Reference Naming
18578 \begin_inset LatexCommand index
18579 name "References ! Automatic Reference Naming"
18580
18581 \end_inset
18582
18583
18584 \end_layout
18585
18586 \begin_layout Standard
18587 The LaTeX-package 
18588 \series bold
18589 hyperref
18590 \series default
18591  provides a very useful feature that cross-references automatically include
18592  the name of the referenced floats (or text parts like sections).
18593  You save to write e.\InsetSpace \thinspace{}
18594 g.\InsetSpace ~
18595 the name 
18596 \begin_inset Quotes eld
18597 \end_inset
18598
18599 Figure
18600 \begin_inset Quotes erd
18601 \end_inset
18602
18603  before every reference box.
18604  To get this automatic reference naming, you have to load the LaTeX-package
18605  
18606 \series bold
18607 hyperref
18608 \series default
18609
18610 \begin_inset LatexCommand index
18611 name "LaTeX-packages ! hyperref"
18612
18613 \end_inset
18614
18615  in the document preamble with
18616 \end_layout
18617
18618 \begin_layout Standard
18619
18620 \series bold
18621
18622 \backslash
18623 usepackage[pdfborder={0 0 0}]{hyperref}
18624 \newline
18625
18626 \backslash
18627 AtBeginDocument{
18628 \backslash
18629 renewcommand{
18630 \backslash
18631 ref}[1]{
18632 \backslash
18633 mbox{
18634 \backslash
18635 autoref{#1}}}}
18636 \end_layout
18637
18638 \begin_layout Standard
18639
18640 \series bold
18641 hyperref
18642 \series default
18643  is used to link cross-references in the DVI- and PDF-output, this means
18644  that the reader of your document will be able to click on a table of content
18645  (TOC) entry or on a reference and he will be shown the referenced document
18646  part.
18647  
18648 \series bold
18649 hyperref
18650 \series default
18651  also creates PDF-bookmarks for every section of your document to make it
18652  easier for readers to navigate through the document.
18653  This is also used in this document but when you have a look in the document
18654  preamble you will find various options in the load command of 
18655 \series bold
18656 hyperref
18657 \series default
18658 .
18659  To learn more about the 
18660 \series bold
18661 hyperref
18662 \series default
18663  package, we refer to its documentation 
18664 \begin_inset LatexCommand cite
18665 key "hyperref"
18666
18667 \end_inset
18668
18669 .
18670 \end_layout
18671
18672 \begin_layout Standard
18673 \begin_inset Note Greyedout
18674 status open
18675
18676 \begin_layout Standard
18677
18678 \series bold
18679 Note:
18680 \series default
18681  Automatic reference naming cannot be used when you use cross-references
18682  in the 
18683 \family sans
18684 Formatted\InsetSpace ~
18685 reference
18686 \family default
18687  style, described in section\InsetSpace ~
18688
18689 \begin_inset LatexCommand ref
18690 reference "sub:Cross-Reference-Formats"
18691
18692 \end_inset
18693
18694 .
18695 \end_layout
18696
18697 \end_inset
18698
18699
18700 \end_layout
18701
18702 \begin_layout Subsection
18703 Reference Position
18704 \begin_inset LatexCommand label
18705 name "sub:Reference-Position"
18706
18707 \end_inset
18708
18709
18710 \begin_inset LatexCommand index
18711 name "References ! Reference Position"
18712
18713 \end_inset
18714
18715
18716 \end_layout
18717
18718 \begin_layout Standard
18719 If you use 
18720 \series bold
18721 hyperref
18722 \series default
18723
18724 \begin_inset LatexCommand index
18725 name "LaTeX-packages ! hyperref"
18726
18727 \end_inset
18728
18729  to link cross-references in the output, you will see that clicking on an
18730  image float reference jumps to the image label.
18731  The caption will be the first text part on the screen, so that you cannot
18732  see the image without scrolling.
18733  This is because the reference link anchor is placed at the position of
18734  the label.
18735  With the use of the package 
18736 \series bold
18737 hypcap
18738 \series default
18739
18740 \begin_inset LatexCommand index
18741 name "LaTeX-packages ! hypcap"
18742
18743 \end_inset
18744
18745 , which is part of the LaTeX-package 
18746 \series bold
18747 oberdiek
18748 \series default
18749
18750 \begin_inset LatexCommand index
18751 name "LaTeX-packages ! oberdiek"
18752
18753 \end_inset
18754
18755 , the link anchor is placed at the beginning of a float.
18756  To use this feature for figure floats, load 
18757 \series bold
18758 hypcap
18759 \series default
18760  in the document preamble with the line
18761 \end_layout
18762
18763 \begin_layout Standard
18764
18765 \series bold
18766
18767 \backslash
18768 usepackage[f\SpecialChar \textcompwordmark{}
18769 igure]{hypcap}
18770 \end_layout
18771
18772 \begin_layout Standard
18773 You can also use 
18774 \series bold
18775 hypcap
18776 \series default
18777  for all floats but this isn't recommended for stability reasons.
18778  For more informations, have a look at 
18779 \series bold
18780 hypcap
18781 \series default
18782 's manual 
18783 \begin_inset LatexCommand cite
18784 key "hypcap"
18785
18786 \end_inset
18787
18788 .
18789 \end_layout
18790
18791 \begin_layout Standard
18792 \begin_inset Note Greyedout
18793 status open
18794
18795 \begin_layout Standard
18796
18797 \series bold
18798 Note:
18799 \series default
18800  
18801 \series bold
18802 hypcap
18803 \series default
18804  must be loaded after 
18805 \series bold
18806 hyperref
18807 \series default
18808  in the document preamble.
18809 \end_layout
18810
18811 \end_inset
18812
18813
18814 \end_layout
18815
18816 \begin_layout Standard
18817 \begin_inset Note Greyedout
18818 status open
18819
18820 \begin_layout Standard
18821
18822 \series bold
18823 Note:
18824 \series default
18825  
18826 \series bold
18827 hypcap
18828 \series default
18829  has no effect for references to subfigures.
18830 \end_layout
18831
18832 \end_inset
18833
18834
18835 \end_layout
18836
18837 \begin_layout Section
18838 Float Placement
18839 \begin_inset LatexCommand label
18840 name "sec:Float-Placement"
18841
18842 \end_inset
18843
18844
18845 \begin_inset LatexCommand index
18846 name "Floats ! Placement"
18847
18848 \end_inset
18849
18850
18851 \end_layout
18852
18853 \begin_layout Standard
18854 Right-clicking on a float-box opens a dialog where you can alter the placement
18855  options that LaTeX uses for positioning the float.
18856 \newline
18857 The option 
18858 \family sans
18859 Span\InsetSpace ~
18860 columns
18861 \family default
18862  is only useful for two-column documents: If you select it, the float will
18863  span across both columns on the page instead of being confined to just
18864  one.
18865 \newline
18866 The option 
18867 \family sans
18868 Rotate\InsetSpace ~
18869 sideways
18870 \family default
18871  is used to rotate floats, see section 
18872 \begin_inset LatexCommand ref
18873 reference "sec:Rotated-Floats"
18874
18875 \end_inset
18876
18877 .
18878 \end_layout
18879
18880 \begin_layout Standard
18881 You can use one ore more of the following options in the float dialog to
18882  set the placement for a particular float when you uncheck the option 
18883 \family sans
18884 Use\InsetSpace ~
18885 default\InsetSpace ~
18886 placement
18887 \family default
18888 :
18889 \end_layout
18890
18891 \begin_layout Description
18892 Here\InsetSpace ~
18893 if\InsetSpace ~
18894 possible try to place the float on the position where it is inserted
18895 \end_layout
18896
18897 \begin_layout Description
18898 Top\InsetSpace ~
18899 of\InsetSpace ~
18900 page try to place the float on the top of the current page
18901 \end_layout
18902
18903 \begin_layout Description
18904 Bottom\InsetSpace ~
18905 of\InsetSpace ~
18906 page try to place the float on the bottom of the current page
18907 \end_layout
18908
18909 \begin_layout Description
18910 Page\InsetSpace ~
18911 of\InsetSpace ~
18912 floats try to place the float on an own page 
18913 \end_layout
18914
18915 \begin_layout Standard
18916 The order of the above option is 
18917 \emph on
18918 always
18919 \emph default
18920  used by LaTeX.
18921  That means, if you use the default placement, LaTeX will first try out
18922  
18923 \family sans
18924 Here\InsetSpace ~
18925 if\InsetSpace ~
18926 possible
18927 \family default
18928 , then 
18929 \family sans
18930 Top\InsetSpace ~
18931 of\InsetSpace ~
18932 page
18933 \family default
18934 , and then the others.
18935  If you don't use the default, LaTeX will try only the checked options but
18936  in the same order.
18937  If none of the 4 placements are possible the procedure is internally repeated
18938  but it is tried to put the float on the following page.
18939 \end_layout
18940
18941 \begin_layout Standard
18942 By default, each option has its own rules:
18943 \end_layout
18944
18945 \begin_layout Labeling
18946 \labelwidthstring 00.00.0000
18947
18948 \family sans
18949 Top\InsetSpace ~
18950 of\InsetSpace ~
18951 page
18952 \family default
18953  only floats occupying less than 70\InsetSpace \thinspace{}
18954 % of the page can be placed at the top
18955  of a page (
18956 \series bold
18957
18958 \backslash
18959 topfraction
18960 \series default
18961 )
18962 \end_layout
18963
18964 \begin_layout Labeling
18965 \labelwidthstring 00.00.0000
18966
18967 \family sans
18968 Bottom\InsetSpace ~
18969 of\InsetSpace ~
18970 page
18971 \family default
18972 : only floats occupying less than 30\InsetSpace \thinspace{}
18973 % of the page can be placed at the bottom
18974  of a page.
18975  (
18976 \series bold
18977
18978 \backslash
18979 bottomfraction
18980 \series default
18981 )
18982 \end_layout
18983
18984 \begin_layout Labeling
18985 \labelwidthstring 00.00.0000
18986
18987 \family sans
18988 Page\InsetSpace ~
18989 of\InsetSpace ~
18990 floats
18991 \family default
18992 : only if more than 50\InsetSpace \thinspace{}
18993 % of the page are occupied by floats, several floats
18994  can be set together on a page.
18995  (
18996 \series bold
18997
18998 \backslash
18999 floatpagefraction
19000 \series default
19001 )
19002 \end_layout
19003
19004 \begin_layout Standard
19005 If you don't like these rules, you can ignore them by using the additional
19006  option 
19007 \family sans
19008 Ignore\InsetSpace ~
19009 LaTeX\InsetSpace ~
19010 rules
19011 \family default
19012 .
19013 \newline
19014 You can also redefine the rules with LaTeX-commands that are given in parenthese
19015 s behind the rules description above.
19016  To increase for example the often too small default of the bottom-rule
19017  to 50\InsetSpace \thinspace{}
19018 % of the page, add this line to your document preamble:
19019 \end_layout
19020
19021 \begin_layout Standard
19022
19023 \series bold
19024
19025 \backslash
19026 renewcommand{
19027 \backslash
19028 bottomfraction}{0.5}
19029 \end_layout
19030
19031 \begin_layout Standard
19032 Sometimes you might need, under all circumstances, a float to be placed
19033  exactly at the position where it is inserted.
19034  For this case you can use the option 
19035 \family sans
19036 Here\InsetSpace ~
19037 definitely
19038 \family default
19039 .
19040  Use this option very rarely and only if the document is nearly ready to
19041  be printed.
19042  Because the float is then no longer able to 
19043 \begin_inset Quotes eld
19044 \end_inset
19045
19046 float
19047 \begin_inset Quotes erd
19048 \end_inset
19049
19050  when you change your document and this will often destroy the page layout.
19051 \end_layout
19052
19053 \begin_layout Standard
19054 There are no placement options for text wrap floats, because they are always
19055  surrounded by the text of a certain paragraph.
19056 \begin_inset VSpace bigskip
19057 \end_inset
19058
19059
19060 \end_layout
19061
19062 \begin_layout Standard
19063 Sometimes you have the problem that a float is placed at the top of a page
19064  while its corresponding section starts at the middle of the page, so that
19065  the reader could think the float is part of the previous section.
19066  To avoid this the LaTeX-command 
19067 \series bold
19068
19069 \backslash
19070 suppressf\SpecialChar \textcompwordmark{}
19071 loats
19072 \series default
19073  can be used.
19074  It suppresses a given float placement for the page where it is inserted
19075  and can therefore be used to avoid that floats could be set before a section
19076  starts.
19077  To get this, add these commands to your document preamble:
19078 \end_layout
19079
19080 \begin_layout Standard
19081
19082 \series bold
19083
19084 \backslash
19085 let
19086 \backslash
19087 mySection
19088 \backslash
19089 section
19090 \newline
19091
19092 \backslash
19093 renewcommand{
19094 \backslash
19095 section}{
19096 \backslash
19097 suppressf\SpecialChar \textcompwordmark{}
19098 loats[t]
19099 \backslash
19100 mySection}
19101 \end_layout
19102
19103 \begin_layout Standard
19104 You can define the same for all section headings, like chapters and subsections.
19105  This definition is not recommended to be used for small text parts like
19106  subsubsections because LaTeX may then have problems to find a suitable
19107  placement.
19108 \end_layout
19109
19110 \begin_layout Standard
19111 \begin_inset VSpace bigskip
19112 \end_inset
19113
19114 In some cases it is required to have all figures/tables at the end of the
19115  document.
19116  For this purpose the LaTeX-package 
19117 \series bold
19118 endf\SpecialChar \textcompwordmark{}
19119 loat
19120 \series default
19121
19122 \begin_inset LatexCommand index
19123 name "LaTeX-packages ! endfloat"
19124
19125 \end_inset
19126
19127  was developed.
19128  It puts all figure and table floats at the end of the document into own
19129  sections.
19130  At the original float position a text hint like 
19131 \begin_inset Quotes eld
19132 \end_inset
19133
19134
19135 \family sans
19136 [Figure\InsetSpace ~
19137 3.2 about here.]
19138 \family default
19139
19140 \begin_inset Quotes erd
19141 \end_inset
19142
19143  is inserted.
19144  The endfloat-package is loaded in the preamble with the line
19145 \end_layout
19146
19147 \begin_layout Standard
19148
19149 \series bold
19150
19151 \backslash
19152 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19153 loat}
19154 \end_layout
19155
19156 \begin_layout Standard
19157 There are various package options to format the created figure/table sections.
19158  For more information we refer to the 
19159 \series bold
19160 endf\SpecialChar \textcompwordmark{}
19161 loat
19162 \series default
19163  documentation 
19164 \begin_inset LatexCommand cite
19165 key "endfloat"
19166
19167 \end_inset
19168
19169 .
19170 \newline
19171
19172 \begin_inset Note Greyedout
19173 status open
19174
19175 \begin_layout Standard
19176
19177 \series bold
19178 Note: endf\SpecialChar \textcompwordmark{}
19179 loat
19180 \series default
19181  doesn't provide an automatic translation for the text hint, you have to
19182  do this manually, see section\InsetSpace ~
19183 4 in 
19184 \begin_inset LatexCommand cite
19185 key "endfloat"
19186
19187 \end_inset
19188
19189 .
19190 \end_layout
19191
19192 \end_inset
19193
19194
19195 \newline
19196
19197 \begin_inset Note Greyedout
19198 status open
19199
19200 \begin_layout Standard
19201
19202 \series bold
19203 Note:
19204 \series default
19205  There is currently a bug in 
19206 \series bold
19207 endf\SpecialChar \textcompwordmark{}
19208 loat
19209 \series default
19210  when the caption contains a German 
19211 \begin_inset Quotes eld
19212 \end_inset
19213
19214 ß
19215 \begin_inset Quotes erd
19216 \end_inset
19217
19218 .
19219  Use in this case the command 
19220 \begin_inset Quotes eld
19221 \end_inset
19222
19223
19224 \series bold
19225
19226 \backslash
19227 ss
19228 \series default
19229
19230 \begin_inset Quotes erd
19231 \end_inset
19232
19233  in ERT instead of 
19234 \begin_inset Quotes eld
19235 \end_inset
19236
19237 ß
19238 \begin_inset Quotes erd
19239 \end_inset
19240
19241 .
19242 \end_layout
19243
19244 \end_inset
19245
19246
19247 \end_layout
19248
19249 \begin_layout Standard
19250 \begin_inset VSpace bigskip
19251 \end_inset
19252
19253 For more details about float placements, have a look at LaTeX books, 
19254 \begin_inset LatexCommand cite
19255 key "latexcompanion,latexguide,latexbook"
19256
19257 \end_inset
19258
19259 .
19260 \end_layout
19261
19262 \begin_layout Section
19263 Rotated Floats
19264 \begin_inset LatexCommand label
19265 name "sec:Rotated-Floats"
19266
19267 \end_inset
19268
19269
19270 \begin_inset LatexCommand index
19271 name "Floats ! Rotating"
19272
19273 \end_inset
19274
19275
19276 \end_layout
19277
19278 \begin_layout Standard
19279 Especially for wide tables you might have floats rotated.
19280  To rotate a whole float including the caption, right-click on the float-box
19281  and use the option 
19282 \family sans
19283 Rotate\InsetSpace ~
19284 sideways
19285 \family default
19286 .
19287 \end_layout
19288
19289 \begin_layout Standard
19290 Rotated floats are always placed on its own page (or column, when you have
19291  a two-column document).
19292  They are normally rotated so that you can read them from the outside margin
19293  -- to the left on even pages, to the right on odd pages.
19294  To force a certain rotation direction for all pages, you can add either
19295  the option 
19296 \series bold
19297 f\SpecialChar \textcompwordmark{}
19298 iguresleft
19299 \series default
19300  or 
19301 \series bold
19302 f\SpecialChar \textcompwordmark{}
19303 iguresright
19304 \series default
19305  to the document class options.
19306 \end_layout
19307
19308 \begin_layout Standard
19309 Referencing rotated floats is the same like for normal floats, the caption
19310  format is also the same: Table\InsetSpace ~
19311
19312 \begin_inset LatexCommand ref
19313 reference "tab:Rotated-table"
19314
19315 \end_inset
19316
19317  is an example of a rotated table float.
19318 \end_layout
19319
19320 \begin_layout Standard
19321 \begin_inset Note Greyedout
19322 status open
19323
19324 \begin_layout Standard
19325
19326 \series bold
19327 Note:
19328 \series default
19329  Not all DVI-viewers are able to display rotated floats.
19330 \end_layout
19331
19332 \end_inset
19333
19334
19335 \end_layout
19336
19337 \begin_layout Standard
19338 \begin_inset Float table
19339 wide false
19340 sideways true
19341 status open
19342
19343 \begin_layout Standard
19344 \begin_inset Caption
19345
19346 \begin_layout Standard
19347 \begin_inset LatexCommand label
19348 name "tab:Rotated-table"
19349
19350 \end_inset
19351
19352  Rotated table
19353 \end_layout
19354
19355 \end_inset
19356
19357
19358 \end_layout
19359
19360 \begin_layout Standard
19361 \align center
19362 \begin_inset Tabular
19363 <lyxtabular version="3" rows="1" columns="5">
19364 <features>
19365 <column alignment="center" valignment="top" leftline="true" width="0">
19366 <column alignment="center" valignment="top" leftline="true" width="0">
19367 <column alignment="center" valignment="top" leftline="true" width="0">
19368 <column alignment="center" valignment="top" leftline="true" width="0">
19369 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19370 <row topline="true" bottomline="true">
19371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19372 \begin_inset Text
19373
19374 \begin_layout Standard
19375 test
19376 \end_layout
19377
19378 \end_inset
19379 </cell>
19380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19381 \begin_inset Text
19382
19383 \begin_layout Standard
19384 b
19385 \end_layout
19386
19387 \end_inset
19388 </cell>
19389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19390 \begin_inset Text
19391
19392 \begin_layout Standard
19393 c
19394 \end_layout
19395
19396 \end_inset
19397 </cell>
19398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19399 \begin_inset Text
19400
19401 \begin_layout Standard
19402 d
19403 \end_layout
19404
19405 \end_inset
19406 </cell>
19407 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19408 \begin_inset Text
19409
19410 \begin_layout Standard
19411 e
19412 \end_layout
19413
19414 \end_inset
19415 </cell>
19416 </row>
19417 </lyxtabular>
19418
19419 \end_inset
19420
19421
19422 \end_layout
19423
19424 \end_inset
19425
19426
19427 \end_layout
19428
19429 \begin_layout Section
19430 Caption Formatting
19431 \begin_inset LatexCommand index
19432 name "Caption ! Formatting"
19433
19434 \end_inset
19435
19436
19437 \begin_inset LatexCommand index
19438 name "Floats ! Caption Formatting"
19439
19440 \end_inset
19441
19442
19443 \begin_inset LatexCommand index
19444 name "LaTeX-packages ! caption"
19445
19446 \end_inset
19447
19448
19449 \begin_inset LatexCommand label
19450 name "sec:Caption-Formatting"
19451
19452 \end_inset
19453
19454
19455 \end_layout
19456
19457 \begin_layout Standard
19458 The 
19459 \family sans
19460 Caption
19461 \family default
19462  environment is the default paragraph environment for 
19463 \family sans
19464 Floats
19465 \family default
19466 .
19467  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19468 g.\InsetSpace ~
19469
19470 \begin_inset Quotes eld
19471 \end_inset
19472
19473
19474 \family sans
19475 Figure #:
19476 \family default
19477
19478 \begin_inset Quotes erd
19479 \end_inset
19480
19481  followed by the caption text.
19482  
19483 \begin_inset Quotes eld
19484 \end_inset
19485
19486 #
19487 \begin_inset Quotes erd
19488 \end_inset
19489
19490  is the actual reference number.
19491  By default the label and the number are in the same font as the caption
19492  text and a colon follows the number to divide the label from the text.
19493  This caption format is not suitable for all document formats.
19494  
19495 \end_layout
19496
19497 \begin_layout Standard
19498 To change the default caption format, load the LaTeX-package 
19499 \series bold
19500 caption
19501 \series default
19502
19503 \begin_inset LatexCommand index
19504 name "LaTeX-packages ! caption"
19505
19506 \end_inset
19507
19508  in the document preamble with this line:
19509 \end_layout
19510
19511 \begin_layout Standard
19512
19513 \series bold
19514
19515 \backslash
19516 usepackage[format definition]{caption}
19517 \end_layout
19518
19519 \begin_layout Standard
19520 To have for example the label and the number in sans-serif bold font and
19521  the table captions always above the table like in this document, use the
19522  following command:
19523 \end_layout
19524
19525 \begin_layout Standard
19526
19527 \series bold
19528
19529 \backslash
19530 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19531 \end_layout
19532
19533 \begin_layout Standard
19534 You can also define different caption formats for the different float types.
19535  In this case load the 
19536 \series bold
19537 caption
19538 \series default
19539  package without format specific options and define the different formats
19540  with the help of the command
19541 \end_layout
19542
19543 \begin_layout Standard
19544
19545 \series bold
19546
19547 \backslash
19548 captionsetup[float type]{format definition}
19549 \end_layout
19550
19551 \begin_layout Standard
19552 in the document preamble.
19553  For example the caption formats of Figure\InsetSpace ~
19554
19555 \begin_inset LatexCommand ref
19556 reference "fig:This-is-an-fig"
19557
19558 \end_inset
19559
19560  and Table\InsetSpace ~
19561
19562 \begin_inset LatexCommand ref
19563 reference "tab:This-is-an-tab"
19564
19565 \end_inset
19566
19567  can be created using these commands in the document preamble:
19568 \end_layout
19569
19570 \begin_layout Standard
19571
19572 \series bold
19573
19574 \backslash
19575 usepackage[tableposition=top]{caption}
19576 \series default
19577
19578 \newline
19579
19580 \series bold
19581
19582 \backslash
19583 captionsetup[f\SpecialChar \textcompwordmark{}
19584 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19585 \newline
19586
19587 \begin_inset ERT
19588 status collapsed
19589
19590 \begin_layout Standard
19591
19592
19593 \backslash
19594 hphantom{
19595 \backslash
19596
19597 \backslash
19598 captionsetup[figure]
19599 \backslash
19600 {}
19601 \end_layout
19602
19603 \end_inset
19604
19605  labelsep=period}
19606 \newline
19607
19608 \backslash
19609 captionsetup[table]{labelfont={bf,sf}}
19610 \end_layout
19611
19612 \begin_layout Standard
19613 \begin_inset Note Greyedout
19614 status open
19615
19616 \begin_layout Standard
19617
19618 \series bold
19619 Note:
19620 \series default
19621  The option 
19622 \series bold
19623 tableposition=top
19624 \series default
19625  has no effect when a 
19626 \series bold
19627 koma-script
19628 \series default
19629
19630 \begin_inset LatexCommand index
19631 name "LaTeX-packages ! koma-script"
19632
19633 \end_inset
19634
19635  document class is used.
19636  In this case the document class option 
19637 \series bold
19638 tablecaptionabove
19639 \series default
19640  must be used.
19641 \end_layout
19642
19643 \end_inset
19644
19645
19646 \end_layout
19647
19648 \begin_layout Standard
19649 For more information about the package 
19650 \series bold
19651 caption
19652 \series default
19653  we refer to its documentation 
19654 \begin_inset LatexCommand cite
19655 key "caption,caption-de"
19656
19657 \end_inset
19658
19659 .
19660 \end_layout
19661
19662 \begin_layout Standard
19663 To change the label name from e.g.
19664  
19665 \begin_inset Quotes eld
19666 \end_inset
19667
19668 Figure
19669 \begin_inset Quotes erd
19670 \end_inset
19671
19672  to 
19673 \begin_inset Quotes eld
19674 \end_inset
19675
19676 Image
19677 \begin_inset Quotes erd
19678 \end_inset
19679
19680  use this preamble command:
19681 \end_layout
19682
19683 \begin_layout Standard
19684
19685 \series bold
19686
19687 \backslash
19688 renewcommand{
19689 \backslash
19690 fnum@figure}{Image~
19691 \backslash
19692 thefigure}
19693 \end_layout
19694
19695 \begin_layout Standard
19696 where 
19697 \series bold
19698
19699 \backslash
19700 thefigure
19701 \series default
19702  inserts the figure number and
19703 \series bold
19704  
19705 \begin_inset Quotes eld
19706 \end_inset
19707
19708 ~
19709 \series default
19710
19711 \begin_inset Quotes erd
19712 \end_inset
19713
19714  creates a protected space.
19715 \end_layout
19716
19717 \begin_layout Standard
19718 \begin_inset VSpace bigskip
19719 \end_inset
19720
19721 If you are using a 
19722 \series bold
19723 koma-script
19724 \series default
19725
19726 \begin_inset LatexCommand index
19727 name "LaTeX-packages ! koma-script"
19728
19729 \end_inset
19730
19731  document class (
19732 \family sans
19733 article (koma-script)
19734 \family default
19735
19736 \family sans
19737 book (koma-script)
19738 \family default
19739
19740 \family sans
19741 letter (koma-script)
19742 \family default
19743 , or 
19744 \family sans
19745 report (koma-script)
19746 \family default
19747 \InsetSpace \thinspace{}
19748 ), you can alternatively to the 
19749 \series bold
19750 caption
19751 \series default
19752  package use 
19753 \series bold
19754 koma-script
19755 \series default
19756 's built-in command 
19757 \series bold
19758
19759 \backslash
19760 setkomafont
19761 \series default
19762 .
19763  For example, to have the caption label in bold, add this command to your
19764  document preamble:
19765 \end_layout
19766
19767 \begin_layout Standard
19768
19769 \series bold
19770
19771 \backslash
19772 setkomafont{captionlabel}{
19773 \backslash
19774 bfseries}
19775 \end_layout
19776
19777 \begin_layout Standard
19778 For more information about 
19779 \series bold
19780
19781 \backslash
19782 setkomafont
19783 \series default
19784  we refer to the 
19785 \series bold
19786 koma-script
19787 \series default
19788  documentation 
19789 \begin_inset LatexCommand cite
19790 key "koma-script,koma-script-de"
19791
19792 \end_inset
19793
19794 .
19795 \end_layout
19796
19797 \begin_layout Standard
19798 \begin_inset ERT
19799 status collapsed
19800
19801 \begin_layout Standard
19802
19803
19804 \backslash
19805 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19806 }
19807 \end_layout
19808
19809 \end_inset
19810
19811
19812 \begin_inset Note Note
19813 status open
19814
19815 \begin_layout Standard
19816 The caption format is changed only for this example.
19817 \end_layout
19818
19819 \end_inset
19820
19821
19822 \end_layout
19823
19824 \begin_layout Standard
19825 \begin_inset Float figure
19826 placement !p
19827 wide false
19828 sideways false
19829 status open
19830
19831 \begin_layout Standard
19832 \align center
19833 \begin_inset Graphics
19834         filename clipart/mobius.eps
19835         lyxscale 50
19836         scale 50
19837         scaleBeforeRotation
19838
19839 \end_inset
19840
19841
19842 \end_layout
19843
19844 \begin_layout Standard
19845 \begin_inset Caption
19846
19847 \begin_layout Standard
19848 \begin_inset LatexCommand label
19849 name "fig:This-is-an-fig"
19850
19851 \end_inset
19852
19853 This is an example figure caption that is longer than one line to show the
19854  different caption format.
19855  Here a self-defined caption format is used.
19856 \end_layout
19857
19858 \end_inset
19859
19860
19861 \end_layout
19862
19863 \end_inset
19864
19865
19866 \end_layout
19867
19868 \begin_layout Standard
19869 \begin_inset ERT
19870 status collapsed
19871
19872 \begin_layout Standard
19873
19874
19875 \backslash
19876 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19877 on}
19878 \end_layout
19879
19880 \end_inset
19881
19882
19883 \end_layout
19884
19885 \begin_layout Standard
19886 \begin_inset Float table
19887 placement !p
19888 wide false
19889 sideways false
19890 status open
19891
19892 \begin_layout Standard
19893 \begin_inset Caption
19894
19895 \begin_layout Standard
19896 \begin_inset LatexCommand label
19897 name "tab:This-is-an-tab"
19898
19899 \end_inset
19900
19901 This is an example table caption that is longer than one line to show the
19902  different caption format.
19903  Here the standard caption format for tables in this document is used.
19904 \end_layout
19905
19906 \end_inset
19907
19908
19909 \end_layout
19910
19911 \begin_layout Standard
19912 \align center
19913 \begin_inset Tabular
19914 <lyxtabular version="3" rows="1" columns="5">
19915 <features>
19916 <column alignment="center" valignment="top" leftline="true" width="0">
19917 <column alignment="center" valignment="top" leftline="true" width="0">
19918 <column alignment="center" valignment="top" leftline="true" width="0">
19919 <column alignment="center" valignment="top" leftline="true" width="0">
19920 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19921 <row topline="true" bottomline="true">
19922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19923 \begin_inset Text
19924
19925 \begin_layout Standard
19926 a
19927 \end_layout
19928
19929 \end_inset
19930 </cell>
19931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19932 \begin_inset Text
19933
19934 \begin_layout Standard
19935 b
19936 \end_layout
19937
19938 \end_inset
19939 </cell>
19940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19941 \begin_inset Text
19942
19943 \begin_layout Standard
19944 c
19945 \end_layout
19946
19947 \end_inset
19948 </cell>
19949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19950 \begin_inset Text
19951
19952 \begin_layout Standard
19953 d
19954 \end_layout
19955
19956 \end_inset
19957 </cell>
19958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19959 \begin_inset Text
19960
19961 \begin_layout Standard
19962 e
19963 \end_layout
19964
19965 \end_inset
19966 </cell>
19967 </row>
19968 </lyxtabular>
19969
19970 \end_inset
19971
19972
19973 \end_layout
19974
19975 \end_inset
19976
19977
19978 \end_layout
19979
19980 \begin_layout Section
19981 Caption Placement
19982 \begin_inset LatexCommand index
19983 name "Caption ! Placement"
19984
19985 \end_inset
19986
19987
19988 \begin_inset LatexCommand index
19989 name "Floats ! Caption Placement"
19990
19991 \end_inset
19992
19993
19994 \begin_inset LatexCommand label
19995 name "sec:Caption-Placement"
19996
19997 \end_inset
19998
19999
20000 \end_layout
20001
20002 \begin_layout Standard
20003 The common caption placement rule is:
20004 \end_layout
20005
20006 \begin_layout Description
20007 Figure: Caption is set below the figure
20008 \end_layout
20009
20010 \begin_layout Description
20011 Table: Caption is set above the table
20012 \end_layout
20013
20014 \begin_layout Standard
20015 Having the caption above the table is unfortunately not supported in LaTeX's
20016  standard classes.
20017  That means if you are using the document classes 
20018 \family sans
20019 article
20020 \family default
20021
20022 \family sans
20023 book
20024 \family default
20025
20026 \family sans
20027 letter
20028 \family default
20029 , or 
20030 \family sans
20031 report
20032 \family default
20033  there will be no space between the caption and the table.
20034  To insert the needed space, add the following option to the load command
20035  of the LaTeX-package 
20036 \series bold
20037 caption
20038 \series default
20039  in your document preamble
20040 \begin_inset Foot
20041 status collapsed
20042
20043 \begin_layout Standard
20044 See section\InsetSpace ~
20045
20046 \begin_inset LatexCommand ref
20047 reference "sec:Caption-Formatting"
20048
20049 \end_inset
20050
20051  for more information of the package 
20052 \series bold
20053 caption
20054 \series default
20055 .
20056 \end_layout
20057
20058 \end_inset
20059
20060 :
20061 \end_layout
20062
20063 \begin_layout Standard
20064
20065 \series bold
20066 tableposition=top
20067 \end_layout
20068
20069 \begin_layout Standard
20070 If you are using a 
20071 \series bold
20072 koma-script
20073 \series default
20074
20075 \begin_inset LatexCommand index
20076 name "LaTeX-packages ! koma-script"
20077
20078 \end_inset
20079
20080  document class (
20081 \family sans
20082 article (koma-script)
20083 \family default
20084
20085 \family sans
20086 book (koma-script)
20087 \family default
20088
20089 \family sans
20090 letter (koma-script)
20091 \family default
20092 , or 
20093 \family sans
20094 report (koma-script)
20095 \family default
20096 \InsetSpace \thinspace{}
20097 ), you can alternatively to the 
20098 \series bold
20099 caption
20100 \series default
20101  package set the document class option 
20102 \series bold
20103 tablecaptionabove
20104 \series default
20105 .
20106 \end_layout
20107
20108 \begin_layout Standard
20109 \begin_inset VSpace bigskip
20110 \end_inset
20111
20112 It is also possible to set the caption beside a figure or table.
20113  To get this the LaTeX-package 
20114 \series bold
20115 sidecap
20116 \series default
20117
20118 \begin_inset LatexCommand index
20119 name "LaTeX-packages ! sidecap"
20120
20121 \end_inset
20122
20123  has to be loaded in the document preamble with the line
20124 \end_layout
20125
20126 \begin_layout Standard
20127
20128 \series bold
20129
20130 \backslash
20131 usepackage[option]{sidecap}
20132 \end_layout
20133
20134 \begin_layout Standard
20135 If you set no option, the caption is placed on the side of the outer page
20136  margin -- to the right on odd pages, to the left on even pages.
20137  You can change the placement to inner margin with the option 
20138 \series bold
20139 innercaption
20140 \series default
20141 .
20142  To force the placement always to the right or left, use the option 
20143 \series bold
20144 rightcaption
20145 \series default
20146  or 
20147 \series bold
20148 leftcaption
20149 \series default
20150 , respectively.
20151 \end_layout
20152
20153 \begin_layout Standard
20154 To place in LyX the caption of a float on the side, it is necessary to add
20155  these commands to the document preamble:
20156 \end_layout
20157
20158 \begin_layout Standard
20159
20160 \lyxline
20161
20162 \end_layout
20163
20164 \begin_layout Standard
20165
20166 \series bold
20167
20168 \backslash
20169 newcommand{
20170 \backslash
20171 TabBesBeg}{%
20172 \newline
20173
20174 \begin_inset ERT
20175 status collapsed
20176
20177 \begin_layout Standard
20178
20179
20180 \backslash
20181 hphantom{ }
20182 \end_layout
20183
20184 \end_inset
20185
20186
20187 \backslash
20188 let
20189 \backslash
20190 MyTable
20191 \backslash
20192 table
20193 \newline
20194
20195 \begin_inset ERT
20196 status collapsed
20197
20198 \begin_layout Standard
20199
20200
20201 \backslash
20202 hphantom{ }
20203 \end_layout
20204
20205 \end_inset
20206
20207
20208 \backslash
20209 let
20210 \backslash
20211 MyEndtable
20212 \backslash
20213 endtable
20214 \newline
20215
20216 \begin_inset ERT
20217 status collapsed
20218
20219 \begin_layout Standard
20220
20221
20222 \backslash
20223 hphantom{ }
20224 \end_layout
20225
20226 \end_inset
20227
20228
20229 \backslash
20230 renewenvironment{table}{
20231 \backslash
20232 begin{SCtable}}{
20233 \backslash
20234 end{SCtable}}}
20235 \end_layout
20236
20237 \begin_layout Standard
20238
20239 \series bold
20240
20241 \backslash
20242 newcommand{
20243 \backslash
20244 TabBesEnd}{%
20245 \newline
20246
20247 \begin_inset ERT
20248 status collapsed
20249
20250 \begin_layout Standard
20251
20252
20253 \backslash
20254 hphantom{ }
20255 \end_layout
20256
20257 \end_inset
20258
20259
20260 \backslash
20261 let
20262 \backslash
20263 table
20264 \backslash
20265 MyTable
20266 \newline
20267
20268 \begin_inset ERT
20269 status collapsed
20270
20271 \begin_layout Standard
20272
20273
20274 \backslash
20275 hphantom{ }
20276 \end_layout
20277
20278 \end_inset
20279
20280
20281 \backslash
20282 let
20283 \backslash
20284 endtable
20285 \backslash
20286 MyEndtable
20287 \end_layout
20288
20289 \begin_layout Standard
20290
20291 \series bold
20292
20293 \backslash
20294 newcommand{
20295 \backslash
20296 FigBesBeg}{%
20297 \newline
20298
20299 \begin_inset ERT
20300 status collapsed
20301
20302 \begin_layout Standard
20303
20304
20305 \backslash
20306 hphantom{ }
20307 \end_layout
20308
20309 \end_inset
20310
20311
20312 \backslash
20313 let
20314 \backslash
20315 MyFigure
20316 \backslash
20317 f\SpecialChar \textcompwordmark{}
20318 igure
20319 \newline
20320
20321 \begin_inset ERT
20322 status collapsed
20323
20324 \begin_layout Standard
20325
20326
20327 \backslash
20328 hphantom{ }
20329 \end_layout
20330
20331 \end_inset
20332
20333
20334 \backslash
20335 let
20336 \backslash
20337 MyEndf\SpecialChar \textcompwordmark{}
20338 igure
20339 \backslash
20340 endf\SpecialChar \textcompwordmark{}
20341 igure
20342 \newline
20343
20344 \begin_inset ERT
20345 status collapsed
20346
20347 \begin_layout Standard
20348
20349
20350 \backslash
20351 hphantom{ }
20352 \end_layout
20353
20354 \end_inset
20355
20356
20357 \backslash
20358 renewenvironment{f\SpecialChar \textcompwordmark{}
20359 igure}{
20360 \backslash
20361 begin{SCf\SpecialChar \textcompwordmark{}
20362 igure}}{
20363 \backslash
20364 end{SCf\SpecialChar \textcompwordmark{}
20365 igure}}}
20366 \end_layout
20367
20368 \begin_layout Standard
20369
20370 \series bold
20371
20372 \backslash
20373 newcommand{
20374 \backslash
20375 FigBesEnd}{%
20376 \newline
20377
20378 \begin_inset ERT
20379 status collapsed
20380
20381 \begin_layout Standard
20382
20383
20384 \backslash
20385 hphantom{ }
20386 \end_layout
20387
20388 \end_inset
20389
20390
20391 \backslash
20392 let
20393 \backslash
20394 f\SpecialChar \textcompwordmark{}
20395 igure
20396 \backslash
20397 MyFigure
20398 \newline
20399
20400 \begin_inset ERT
20401 status collapsed
20402
20403 \begin_layout Standard
20404
20405
20406 \backslash
20407 hphantom{ }
20408 \end_layout
20409
20410 \end_inset
20411
20412
20413 \backslash
20414 let
20415 \backslash
20416 endf\SpecialChar \textcompwordmark{}
20417 igure
20418 \backslash
20419 MyEndf\SpecialChar \textcompwordmark{}
20420 igure}
20421 \end_layout
20422
20423 \begin_layout Standard
20424
20425 \lyxline
20426
20427 \end_layout
20428
20429 \begin_layout Standard
20430 The commands allow you to redefine the floats so that the caption is set
20431  on the side.
20432  For figure floats use the command
20433 \end_layout
20434
20435 \begin_layout Standard
20436
20437 \series bold
20438
20439 \backslash
20440 FigBesBeg
20441 \end_layout
20442
20443 \begin_layout Standard
20444 in ERT before the float.
20445  Behind the float insert the command
20446 \end_layout
20447
20448 \begin_layout Standard
20449
20450 \series bold
20451
20452 \backslash
20453 FigBesEnd
20454 \end_layout
20455
20456 \begin_layout Standard
20457 in ERT to get back to the original float definition.
20458 \end_layout
20459
20460 \begin_layout Standard
20461 For table floats use the corresponding commands
20462 \end_layout
20463
20464 \begin_layout Standard
20465
20466 \series bold
20467
20468 \backslash
20469 TabBesBeg
20470 \series default
20471  and 
20472 \series bold
20473
20474 \backslash
20475 TabBesEnd
20476 \end_layout
20477
20478 \begin_layout Standard
20479 Figure\InsetSpace ~
20480
20481 \begin_inset LatexCommand ref
20482 reference "fig:cap-beside-fig"
20483
20484 \end_inset
20485
20486  and Table\InsetSpace ~
20487
20488 \begin_inset LatexCommand ref
20489 reference "tab:cap-beside-tab"
20490
20491 \end_inset
20492
20493  are examples where the caption is set beside.
20494 \end_layout
20495
20496 \begin_layout Standard
20497 You can see in the examples that the caption text appears at the top of
20498  the floats for table floats and at the bottom for figure floats.
20499  To change this, you can use the command
20500 \end_layout
20501
20502 \begin_layout Standard
20503
20504 \series bold
20505
20506 \backslash
20507 sidecaptionvpos{float type}{placement}
20508 \end_layout
20509
20510 \begin_layout Standard
20511 in the document preamble or in ERT before the float.
20512  The float type is either 
20513 \family sans
20514 figure
20515 \family default
20516  or 
20517 \family sans
20518 table
20519 \family default
20520 , the placement can be 
20521 \begin_inset Quotes eld
20522 \end_inset
20523
20524
20525 \family sans
20526 t
20527 \family default
20528
20529 \begin_inset Quotes erd
20530 \end_inset
20531
20532  for top, 
20533 \begin_inset Quotes eld
20534 \end_inset
20535
20536
20537 \family sans
20538 c
20539 \family default
20540
20541 \begin_inset Quotes erd
20542 \end_inset
20543
20544  for center, or 
20545 \begin_inset Quotes eld
20546 \end_inset
20547
20548
20549 \family sans
20550 b
20551 \family default
20552
20553 \begin_inset Quotes erd
20554 \end_inset
20555
20556  for bottom.
20557  To have for example the caption of figure floats vertically centered, use
20558  the command
20559 \end_layout
20560
20561 \begin_layout Standard
20562
20563 \series bold
20564
20565 \backslash
20566 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20567 igure}{c}
20568 \end_layout
20569
20570 \begin_layout Standard
20571 This was used for Figure\InsetSpace ~
20572
20573 \begin_inset LatexCommand ref
20574 reference "fig:cap-beside-fig-2"
20575
20576 \end_inset
20577
20578 .
20579 \end_layout
20580
20581 \begin_layout Standard
20582 \begin_inset VSpace medskip
20583 \end_inset
20584
20585 For more information about the package 
20586 \series bold
20587 sidecap
20588 \series default
20589  we refer to its documentation 
20590 \begin_inset LatexCommand cite
20591 key "sidecap"
20592
20593 \end_inset
20594
20595 .
20596 \end_layout
20597
20598 \begin_layout Standard
20599 \begin_inset Note Greyedout
20600 status open
20601
20602 \begin_layout Standard
20603
20604 \series bold
20605 Note:
20606 \series default
20607  The LaTeX-package 
20608 \series bold
20609 hypcap
20610 \series default
20611
20612 \begin_inset LatexCommand index
20613 name "LaTeX-packages ! hypcap"
20614
20615 \end_inset
20616
20617 , described in section\InsetSpace ~
20618
20619 \begin_inset LatexCommand ref
20620 reference "sub:Reference-Position"
20621
20622 \end_inset
20623
20624 , has no effect on floats with the caption set beside.
20625 \end_layout
20626
20627 \end_inset
20628
20629
20630 \end_layout
20631
20632 \begin_layout Standard
20633 \begin_inset ERT
20634 status collapsed
20635
20636 \begin_layout Standard
20637
20638
20639 \backslash
20640 FigBesBeg 
20641 \end_layout
20642
20643 \end_inset
20644
20645
20646 \end_layout
20647
20648 \begin_layout Standard
20649 \begin_inset Float figure
20650 wide false
20651 sideways false
20652 status open
20653
20654 \begin_layout Standard
20655 \begin_inset Graphics
20656         filename clipart/escher-lsd.eps
20657         scale 75
20658         scaleBeforeRotation
20659
20660 \end_inset
20661
20662
20663 \end_layout
20664
20665 \begin_layout Standard
20666 \begin_inset Caption
20667
20668 \begin_layout Standard
20669 \begin_inset LatexCommand label
20670 name "fig:cap-beside-fig"
20671
20672 \end_inset
20673
20674 This is a caption beside a figure.
20675 \end_layout
20676
20677 \end_inset
20678
20679
20680 \end_layout
20681
20682 \end_inset
20683
20684
20685 \end_layout
20686
20687 \begin_layout Standard
20688 \begin_inset ERT
20689 status collapsed
20690
20691 \begin_layout Standard
20692
20693
20694 \backslash
20695 TabBesBeg 
20696 \end_layout
20697
20698 \end_inset
20699
20700
20701 \end_layout
20702
20703 \begin_layout Standard
20704 \begin_inset Float table
20705 wide false
20706 sideways false
20707 status open
20708
20709 \begin_layout Standard
20710 \begin_inset Caption
20711
20712 \begin_layout Standard
20713 \begin_inset LatexCommand label
20714 name "tab:cap-beside-tab"
20715
20716 \end_inset
20717
20718 This is a caption beside a table.
20719 \end_layout
20720
20721 \end_inset
20722
20723
20724 \end_layout
20725
20726 \begin_layout Standard
20727 \begin_inset Tabular
20728 <lyxtabular version="3" rows="4" columns="5">
20729 <features>
20730 <column alignment="center" valignment="top" leftline="true" width="0">
20731 <column alignment="center" valignment="top" leftline="true" width="0">
20732 <column alignment="center" valignment="top" leftline="true" width="0">
20733 <column alignment="center" valignment="top" leftline="true" width="0">
20734 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20735 <row topline="true">
20736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20737 \begin_inset Text
20738
20739 \begin_layout Standard
20740 a
20741 \end_layout
20742
20743 \end_inset
20744 </cell>
20745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20746 \begin_inset Text
20747
20748 \begin_layout Standard
20749
20750 \end_layout
20751
20752 \end_inset
20753 </cell>
20754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20755 \begin_inset Text
20756
20757 \begin_layout Standard
20758 b
20759 \end_layout
20760
20761 \end_inset
20762 </cell>
20763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20764 \begin_inset Text
20765
20766 \begin_layout Standard
20767
20768 \end_layout
20769
20770 \end_inset
20771 </cell>
20772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20773 \begin_inset Text
20774
20775 \begin_layout Standard
20776 c
20777 \end_layout
20778
20779 \end_inset
20780 </cell>
20781 </row>
20782 <row topline="true">
20783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20784 \begin_inset Text
20785
20786 \begin_layout Standard
20787
20788 \end_layout
20789
20790 \end_inset
20791 </cell>
20792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20793 \begin_inset Text
20794
20795 \begin_layout Standard
20796 d
20797 \end_layout
20798
20799 \end_inset
20800 </cell>
20801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20802 \begin_inset Text
20803
20804 \begin_layout Standard
20805
20806 \end_layout
20807
20808 \end_inset
20809 </cell>
20810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20811 \begin_inset Text
20812
20813 \begin_layout Standard
20814 e
20815 \end_layout
20816
20817 \end_inset
20818 </cell>
20819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20820 \begin_inset Text
20821
20822 \begin_layout Standard
20823
20824 \end_layout
20825
20826 \end_inset
20827 </cell>
20828 </row>
20829 <row topline="true">
20830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20831 \begin_inset Text
20832
20833 \begin_layout Standard
20834 f
20835 \end_layout
20836
20837 \end_inset
20838 </cell>
20839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20840 \begin_inset Text
20841
20842 \begin_layout Standard
20843
20844 \end_layout
20845
20846 \end_inset
20847 </cell>
20848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20849 \begin_inset Text
20850
20851 \begin_layout Standard
20852 g
20853 \end_layout
20854
20855 \end_inset
20856 </cell>
20857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20858 \begin_inset Text
20859
20860 \begin_layout Standard
20861
20862 \end_layout
20863
20864 \end_inset
20865 </cell>
20866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20867 \begin_inset Text
20868
20869 \begin_layout Standard
20870 h
20871 \end_layout
20872
20873 \end_inset
20874 </cell>
20875 </row>
20876 <row topline="true" bottomline="true">
20877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20878 \begin_inset Text
20879
20880 \begin_layout Standard
20881
20882 \end_layout
20883
20884 \end_inset
20885 </cell>
20886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20887 \begin_inset Text
20888
20889 \begin_layout Standard
20890 i
20891 \end_layout
20892
20893 \end_inset
20894 </cell>
20895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20896 \begin_inset Text
20897
20898 \begin_layout Standard
20899
20900 \end_layout
20901
20902 \end_inset
20903 </cell>
20904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20905 \begin_inset Text
20906
20907 \begin_layout Standard
20908 j
20909 \end_layout
20910
20911 \end_inset
20912 </cell>
20913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20914 \begin_inset Text
20915
20916 \begin_layout Standard
20917
20918 \end_layout
20919
20920 \end_inset
20921 </cell>
20922 </row>
20923 </lyxtabular>
20924
20925 \end_inset
20926
20927
20928 \end_layout
20929
20930 \end_inset
20931
20932
20933 \end_layout
20934
20935 \begin_layout Standard
20936 \begin_inset ERT
20937 status collapsed
20938
20939 \begin_layout Standard
20940
20941
20942 \backslash
20943 TabBesEnd
20944 \end_layout
20945
20946 \end_inset
20947
20948
20949 \end_layout
20950
20951 \begin_layout Standard
20952 \begin_inset ERT
20953 status collapsed
20954
20955 \begin_layout Standard
20956
20957
20958 \backslash
20959 sidecaptionvpos{figure}{c}
20960 \end_layout
20961
20962 \end_inset
20963
20964
20965 \begin_inset Float figure
20966 wide false
20967 sideways false
20968 status open
20969
20970 \begin_layout Standard
20971 \begin_inset Graphics
20972         filename clipart/escher-lsd.eps
20973         scale 75
20974         scaleBeforeRotation
20975
20976 \end_inset
20977
20978
20979 \end_layout
20980
20981 \begin_layout Standard
20982 \begin_inset Caption
20983
20984 \begin_layout Standard
20985 \begin_inset LatexCommand label
20986 name "fig:cap-beside-fig-2"
20987
20988 \end_inset
20989
20990 This is a vertically centered caption beside a figure.
20991 \end_layout
20992
20993 \end_inset
20994
20995
20996 \end_layout
20997
20998 \end_inset
20999
21000
21001 \end_layout
21002
21003 \begin_layout Standard
21004 \begin_inset ERT
21005 status collapsed
21006
21007 \begin_layout Standard
21008
21009
21010 \backslash
21011 FigBesEnd
21012 \end_layout
21013
21014 \end_inset
21015
21016
21017 \end_layout
21018
21019 \begin_layout Section
21020 Listings of Floats
21021 \begin_inset LatexCommand label
21022 name "sec:Listings-of-Floats"
21023
21024 \end_inset
21025
21026
21027 \begin_inset LatexCommand index
21028 name "Floats ! Float Lists"
21029
21030 \end_inset
21031
21032
21033 \end_layout
21034
21035 \begin_layout Standard
21036 Similar to the the table of contents where the sections of the document
21037  are listed, there are listings for all float types, like the figures of
21038  the documents.
21039  You can insert them via the 
21040 \family sans
21041 Insert\SpecialChar \menuseparator
21042 List\InsetSpace ~
21043 /\InsetSpace ~
21044 TOC
21045 \family default
21046  sub menus.
21047 \end_layout
21048
21049 \begin_layout Standard
21050 The list entries are the float captions or its short title, the float number,
21051  and the page number where they appear in the document.
21052 \end_layout
21053
21054 \begin_layout Standard
21055 You can find the list of figures and tables at the end of this document.
21056 \end_layout
21057
21058 \begin_layout Chapter
21059 Notes
21060 \end_layout
21061
21062 \begin_layout Section
21063 \begin_inset ERT
21064 status collapsed
21065
21066 \begin_layout Standard
21067
21068
21069 \backslash
21070 texorpdfstring{
21071 \end_layout
21072
21073 \end_inset
21074
21075 LyX
21076 \begin_inset ERT
21077 status collapsed
21078
21079 \begin_layout Standard
21080
21081 }{LyX}
21082 \end_layout
21083
21084 \end_inset
21085
21086  Notes
21087 \begin_inset LatexCommand label
21088 name "sec:LyX-Notes"
21089
21090 \end_inset
21091
21092
21093 \begin_inset LatexCommand index
21094 name "Notes ! LyX Notes"
21095
21096 \end_inset
21097
21098
21099 \begin_inset Note Note
21100 status collapsed
21101
21102 \begin_layout Standard
21103 The command 
21104 \backslash
21105 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21106  are displayed wrongly in PDF-bookmarks.
21107  For more information about this, have a look at 
21108 \begin_inset LatexCommand cite
21109 key "hyperref"
21110
21111 \end_inset
21112
21113 .
21114 \end_layout
21115
21116 \end_inset
21117
21118
21119 \end_layout
21120
21121 \begin_layout Standard
21122 Notes are inserted with the toolbar button 
21123 \begin_inset Graphics
21124         filename ../images/note-insert.xpm
21125         scale 85
21126         scaleBeforeRotation
21127
21128 \end_inset
21129
21130  or the menu 
21131 \family sans
21132 Insert\SpecialChar \menuseparator
21133 Note
21134 \family default
21135 .
21136  There are five types of notes:
21137 \end_layout
21138
21139 \begin_layout Description
21140 LyX\InsetSpace ~
21141 Note This note type is for internal notes that won't appear in the output.
21142  Its note-box looks like this:
21143 \newline
21144
21145 \newline
21146
21147 \begin_inset Graphics
21148         filename clipart/LyXNoteImageQt4.png
21149         display none
21150         scale 85
21151         scaleBeforeRotation
21152
21153 \end_inset
21154
21155  
21156 \begin_inset Note Note
21157 status open
21158
21159 \begin_layout Standard
21160 This is text in a note box that doesn't appear in the output.
21161 \end_layout
21162
21163 \end_inset
21164
21165
21166 \end_layout
21167
21168 \begin_layout Description
21169 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21170 ent, when you export the document to LaTeX via the menu 
21171 \family sans
21172 File\SpecialChar \menuseparator
21173 Export\SpecialChar \menuseparator
21174 LaTeX (pdflatex) / LaTeX (plain)
21175 \family default
21176 .
21177  Its note-box looks like this:
21178 \newline
21179
21180 \newline
21181
21182 \begin_inset Graphics
21183         filename clipart/CommentNoteImageQt4.png
21184         display none
21185         scale 85
21186         scaleBeforeRotation
21187
21188 \end_inset
21189
21190  
21191 \begin_inset Note Comment
21192 status open
21193
21194 \begin_layout Standard
21195 This is text in a note box that only appears as comment in LaTeX-files.
21196 \end_layout
21197
21198 \end_inset
21199
21200
21201 \end_layout
21202
21203 \begin_layout Description
21204 Greyed\InsetSpace ~
21205 Out This note will appear in the output as grey text.
21206  Its note-box looks like this:
21207 \newline
21208
21209 \newline
21210
21211 \begin_inset Graphics
21212         filename clipart/GreyedOutNoteImageQt4.png
21213         display none
21214         scale 85
21215         scaleBeforeRotation
21216
21217 \end_inset
21218
21219
21220 \newline
21221
21222 \begin_inset ERT
21223 status collapsed
21224
21225 \begin_layout Standard
21226
21227
21228 \backslash
21229 renewenvironment{lyxgreyedout}
21230 \end_layout
21231
21232 \begin_layout Standard
21233
21234 {
21235 \backslash
21236 textcolor[gray]{0.8}
21237 \backslash
21238 bgroup}{
21239 \backslash
21240 egroup}
21241 \end_layout
21242
21243 \end_inset
21244
21245
21246 \begin_inset Note Greyedout
21247 status open
21248
21249 \begin_layout Standard
21250 This is text
21251 \begin_inset Foot
21252 status open
21253
21254 \begin_layout Standard
21255 This is an example footnote within a greyed out note.
21256 \end_layout
21257
21258 \end_inset
21259
21260  of a comment that appears in the output as grey text.
21261 \end_layout
21262
21263 \end_inset
21264
21265
21266 \begin_inset ERT
21267 status collapsed
21268
21269 \begin_layout Standard
21270
21271
21272 \backslash
21273 renewenvironment{lyxgreyedout}
21274 \end_layout
21275
21276 \begin_layout Standard
21277
21278 {
21279 \backslash
21280 textcolor{blue}
21281 \backslash
21282 bgroup}{
21283 \backslash
21284 egroup}
21285 \end_layout
21286
21287 \end_inset
21288
21289
21290 \begin_inset Note Note
21291 status collapsed
21292
21293 \begin_layout Standard
21294 The greyed out note is here redefined to show it with the original LyX definitio
21295 n because greyed out notes are redefined in the preamble of this document,
21296  as described below, to have blue text.
21297 \end_layout
21298
21299 \end_inset
21300
21301
21302 \newline
21303
21304 \newline
21305 As you can see in the example, the first line of greyed out notes is a bit
21306  indented and greyed out notes can have footnotes.
21307 \end_layout
21308
21309 \begin_layout Description
21310 Framed This note will appear in the output as framed text.
21311  Its note-box looks like this:
21312 \newline
21313
21314 \newline
21315
21316 \begin_inset Graphics
21317         filename clipart/FramedNoteImageQt4.png
21318         display none
21319         scale 85
21320         scaleBeforeRotation
21321
21322 \end_inset
21323
21324  
21325 \begin_inset Note Framed
21326 status open
21327
21328 \begin_layout Standard
21329 This is text in a note box that appears framed in the output.
21330 \end_layout
21331
21332 \end_inset
21333
21334  In contrary to framed boxes
21335 \begin_inset Foot
21336 status collapsed
21337
21338 \begin_layout Standard
21339 Framed boxes are described in section\InsetSpace ~
21340
21341 \begin_inset LatexCommand ref
21342 reference "sec:Framed-Boxes"
21343
21344 \end_inset
21345
21346 .
21347 \end_layout
21348
21349 \end_inset
21350
21351  the frame uses always the whole text width and the note is set into its
21352  own paragraph.
21353 \end_layout
21354
21355 \begin_layout Description
21356 Shaded This note will appear in the output with red background color.
21357  Its note box looks like this:
21358 \newline
21359
21360 \newline
21361
21362 \begin_inset Graphics
21363         filename clipart/ShadedNoteImageQt4.png
21364         display none
21365         scale 85
21366         scaleBeforeRotation
21367
21368 \end_inset
21369
21370
21371 \begin_inset Note Shaded
21372 status open
21373
21374 \begin_layout Standard
21375 This text in a note box appears in the output with red background.
21376 \end_layout
21377
21378 \end_inset
21379
21380 In contrary to colored boxes
21381 \begin_inset Foot
21382 status collapsed
21383
21384 \begin_layout Standard
21385 Colored boxes are described in section\InsetSpace ~
21386
21387 \begin_inset LatexCommand ref
21388 reference "sec:Colored-Boxes"
21389
21390 \end_inset
21391
21392 .
21393 \end_layout
21394
21395 \end_inset
21396
21397  the note uses always the whole text width and the note is set into its
21398  own paragraph.
21399 \end_layout
21400
21401 \begin_layout Standard
21402 \begin_inset VSpace bigskip
21403 \end_inset
21404
21405 When you use the toolbar button 
21406 \begin_inset Graphics
21407         filename ../images/note-insert.xpm
21408         scale 85
21409         scaleBeforeRotation
21410
21411 \end_inset
21412
21413  to insert notes, a 
21414 \family sans
21415 LyX\InsetSpace ~
21416 Note
21417 \family default
21418  is inserted.
21419  You can switch between the five note types by right-clicking on the note-box.
21420  
21421 \family roman
21422 \series medium
21423 \bar no
21424 If you want to turn existing text into a note, mark it and click on the
21425  note
21426 \family default
21427 \series default
21428 \bar default
21429  toolbar 
21430 \family roman
21431 \series medium
21432 \bar no
21433 button
21434 \family default
21435 \series default
21436 \bar default
21437 .
21438 \end_layout
21439
21440 \begin_layout Standard
21441 \begin_inset VSpace bigskip
21442 \end_inset
21443
21444 You can change the text color of the greyed out notes in the preamble with
21445  the following command:
21446 \end_layout
21447
21448 \begin_layout Standard
21449
21450 \series bold
21451
21452 \backslash
21453 renewenvironment{lyxgreyedout}
21454 \newline
21455
21456 \begin_inset ERT
21457 status collapsed
21458
21459 \begin_layout Standard
21460
21461
21462 \backslash
21463 hphantom{ }
21464 \end_layout
21465
21466 \end_inset
21467
21468 {
21469 \backslash
21470 textcolor{color}
21471 \backslash
21472 bgroup}{
21473 \backslash
21474 egroup}
21475 \end_layout
21476
21477 \begin_layout Standard
21478 The available colors and the method to define own colors is explained in
21479  section\InsetSpace ~
21480
21481 \begin_inset LatexCommand ref
21482 reference "sec:Colored-Tables"
21483
21484 \end_inset
21485
21486 .
21487 \end_layout
21488
21489 \begin_layout Standard
21490 Notes that appear in blue in this document are set using greyed out notes
21491  with blue text.
21492 \end_layout
21493
21494 \begin_layout Standard
21495 \begin_inset VSpace bigskip
21496 \end_inset
21497
21498
21499 \end_layout
21500
21501 \begin_layout Standard
21502 The text style of 
21503 \family sans
21504 Framed
21505 \family default
21506  and 
21507 \family sans
21508 Shaded
21509 \family default
21510  notes can be set in the 
21511 \family sans
21512 Text Style
21513 \family default
21514  dialog.
21515 \end_layout
21516
21517 \begin_layout Standard
21518 The default frame width for 
21519 \family sans
21520 Framed
21521 \family default
21522  notes is 0.4\InsetSpace \thinspace{}
21523 pt; it can be changed by changing the size 
21524 \series bold
21525
21526 \backslash
21527 FrameRule
21528 \series default
21529 .
21530  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21531 pt; it can
21532  be changed by changing the size 
21533 \series bold
21534
21535 \backslash
21536 FrameSep
21537 \series default
21538 .
21539  For example the frame appearance of the following 
21540 \family sans
21541 Framed
21542 \family default
21543  note is set with the ERT commands
21544 \end_layout
21545
21546 \begin_layout Standard
21547
21548 \series bold
21549
21550 \backslash
21551 FrameRule 5pt 
21552 \backslash
21553 FrameSep 0.5cm
21554 \end_layout
21555
21556 \begin_layout Standard
21557 \begin_inset ERT
21558 status collapsed
21559
21560 \begin_layout Standard
21561
21562
21563 \backslash
21564 FrameRule 5pt 
21565 \backslash
21566 FrameSep 0.5cm
21567 \end_layout
21568
21569 \end_inset
21570
21571
21572 \begin_inset Note Framed
21573 status open
21574
21575 \begin_layout Standard
21576 This is text in a 
21577 \family sans
21578 Framed
21579 \family default
21580  note.
21581 \end_layout
21582
21583 \end_inset
21584
21585
21586 \begin_inset ERT
21587 status collapsed
21588
21589 \begin_layout Standard
21590
21591
21592 \backslash
21593 FrameRule 0.4pt 
21594 \backslash
21595 FrameSep 9pt
21596 \end_layout
21597
21598 \end_inset
21599
21600
21601 \end_layout
21602
21603 \begin_layout Standard
21604 \begin_inset VSpace bigskip
21605 \end_inset
21606
21607
21608 \end_layout
21609
21610 \begin_layout Standard
21611 For 
21612 \family sans
21613 Shaded
21614 \family default
21615  notes the default space between the note content and the note border is
21616  3\InsetSpace \thinspace{}
21617 pt; it can be changed by changing the size 
21618 \series bold
21619
21620 \backslash
21621 fboxsep
21622 \series default
21623 .
21624 \newline
21625 The default background color red can be changed with the command 
21626 \series bold
21627
21628 \backslash
21629 def\SpecialChar \textcompwordmark{}
21630 inecolor{shadebox}
21631 \series default
21632 .
21633  The scheme of the 
21634 \series bold
21635
21636 \backslash
21637 def\SpecialChar \textcompwordmark{}
21638 inecolor
21639 \series default
21640  command is explained in section\InsetSpace ~
21641
21642 \begin_inset LatexCommand ref
21643 reference "sec:Colored-Tables"
21644
21645 \end_inset
21646
21647
21648 \begin_inset Foot
21649 status collapsed
21650
21651 \begin_layout Standard
21652 Note that 
21653 \series bold
21654
21655 \backslash
21656 def
21657 \series default
21658 \SpecialChar \textcompwordmark{}
21659
21660 \series bold
21661 inecolor
21662 \series default
21663  requires the LaTeX-package 
21664 \series bold
21665 color
21666 \series default
21667  in the preamble, see section\InsetSpace ~
21668
21669 \begin_inset LatexCommand ref
21670 reference "sec:Colored-Boxes"
21671
21672 \end_inset
21673
21674 .
21675 \end_layout
21676
21677 \end_inset
21678
21679 .
21680 \end_layout
21681
21682 \begin_layout Standard
21683 For example the appearance of the following 
21684 \family sans
21685 Shaded
21686 \family default
21687  note is set with the ERT commands
21688 \end_layout
21689
21690 \begin_layout Standard
21691
21692 \series bold
21693
21694 \backslash
21695 fboxsep 0.5cm
21696 \series default
21697
21698 \newline
21699
21700 \series bold
21701
21702 \backslash
21703 def\SpecialChar \textcompwordmark{}
21704 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21705 \end_layout
21706
21707 \begin_layout Standard
21708 \begin_inset ERT
21709 status collapsed
21710
21711 \begin_layout Standard
21712
21713
21714 \backslash
21715 fboxsep 0.5cm
21716 \end_layout
21717
21718 \end_inset
21719
21720
21721 \begin_inset ERT
21722 status collapsed
21723
21724 \begin_layout Standard
21725
21726
21727 \backslash
21728 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21729 \end_layout
21730
21731 \end_inset
21732
21733
21734 \begin_inset Note Shaded
21735 status open
21736
21737 \begin_layout Standard
21738
21739 \color yellow
21740 This is yellow text in a
21741 \color none
21742  
21743 \family sans
21744 \color yellow
21745 Shaded
21746 \family default
21747 \color none
21748  
21749 \color yellow
21750 note with darkgreen background.
21751 \end_layout
21752
21753 \end_inset
21754
21755
21756 \begin_inset ERT
21757 status collapsed
21758
21759 \begin_layout Standard
21760
21761
21762 \backslash
21763 fboxsep 3pt
21764 \end_layout
21765
21766 \end_inset
21767
21768
21769 \begin_inset ERT
21770 status collapsed
21771
21772 \begin_layout Standard
21773
21774
21775 \backslash
21776 definecolor{shadecolor}{rgb}{1,0,0}
21777 \end_layout
21778
21779 \end_inset
21780
21781
21782 \end_layout
21783
21784 \begin_layout Section
21785 Footnotes
21786 \begin_inset LatexCommand label
21787 name "sec:Footnotes"
21788
21789 \end_inset
21790
21791
21792 \begin_inset LatexCommand index
21793 name "Notes ! Footnotes"
21794
21795 \end_inset
21796
21797
21798 \begin_inset LatexCommand index
21799 name "Footnotes"
21800
21801 \end_inset
21802
21803
21804 \end_layout
21805
21806 \begin_layout Standard
21807 Footnotes can be inserted using the toolbar button 
21808 \begin_inset Graphics
21809         filename ../images/footnote-insert.xpm
21810         scale 85
21811         scaleBeforeRotation
21812
21813 \end_inset
21814
21815  or the menu 
21816 \family sans
21817 Insert\SpecialChar \menuseparator
21818 Footnote
21819 \family default
21820 .
21821  
21822 \family roman
21823 \series medium
21824 \bar no
21825 You'll see
21826 \family default
21827 \series default
21828 \bar default
21829  then the following footnote-box: 
21830 \begin_inset Graphics
21831         filename clipart/footnoteQt4.png
21832         scale 80
21833         scaleBeforeRotation
21834
21835 \end_inset
21836
21837  
21838 \family roman
21839 \series medium
21840 \bar no
21841 where you can enter the footnote text.
21842  If you want to turn existing text into a footnote, mark it and click on
21843  the footnote
21844 \family default
21845 \series default
21846 \bar default
21847  toolbar 
21848 \family roman
21849 \series medium
21850 \bar no
21851 button
21852 \family default
21853 \series default
21854 \bar default
21855 .
21856 \end_layout
21857
21858 \begin_layout Standard
21859 Here is an example footnote:
21860 \family roman
21861 \series medium
21862 \bar no
21863
21864 \begin_inset Foot
21865 status open
21866
21867 \begin_layout Standard
21868 \begin_inset LatexCommand label
21869 name "foot:This-is-an"
21870
21871 \end_inset
21872
21873 This is an example footnote.
21874 \end_layout
21875
21876 \end_inset
21877
21878
21879 \family default
21880 \series default
21881 \bar default
21882
21883 \begin_inset ERT
21884 status collapsed
21885
21886 \begin_layout Standard
21887
21888
21889 \backslash
21890 newcounter{MyRepeatFoot}
21891 \end_layout
21892
21893 \begin_layout Standard
21894
21895
21896 \backslash
21897 setcounter{MyRepeatFoot}{
21898 \backslash
21899 thefootnote}
21900 \end_layout
21901
21902 \end_inset
21903
21904
21905 \end_layout
21906
21907 \begin_layout Standard
21908 The footnote will appear in the output as a superscript number at the text
21909  position where the footnote box is placed.
21910  The footnote text is placed at the bottom of the current page.
21911  The footnote number is calculated by LaTeX, the numbers are consecutive.
21912  It depends on your document-class, if the footnote number is reset for
21913  every chapter.
21914 \end_layout
21915
21916 \begin_layout Standard
21917 Footnotes can be referenced like floats: Insert a label into the footnote
21918  and cross-reference this label in the text as described in section\InsetSpace ~
21919
21920 \begin_inset LatexCommand ref
21921 reference "sec:Referencing-Floats"
21922
21923 \end_inset
21924
21925 .
21926 \newline
21927 This is a cross-reference of Footnote\InsetSpace ~
21928
21929 \begin_inset LatexCommand ref
21930 reference "foot:This-is-an"
21931
21932 \end_inset
21933
21934 .
21935 \end_layout
21936
21937 \begin_layout Standard
21938 \begin_inset VSpace defskip
21939 \end_inset
21940
21941 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21942
21943 \begin_inset LatexCommand ref
21944 reference "sec:Minipages"
21945
21946 \end_inset
21947
21948 .
21949  Footnotes within longtables are described in section\InsetSpace ~
21950
21951 \begin_inset LatexCommand ref
21952 reference "sub:Footnotes-in-Longtables"
21953
21954 \end_inset
21955
21956 .
21957 \end_layout
21958
21959 \begin_layout Standard
21960 \begin_inset VSpace defskip
21961 \end_inset
21962
21963 To create only a mark for a footnote, use the command 
21964 \series bold
21965
21966 \backslash
21967 footnotemark[number]
21968 \series default
21969  in ERT.
21970  This is used when you have the same annotation several times in a text
21971  but doesn't want to print the footnote text every time.
21972 \newline
21973 As you don't know
21974  the number of the repeating footnote while you are writing the text, you
21975  have to store its number.
21976  For the following footnote mark example, these commands were inserted in
21977  ERT behind Footnote\InsetSpace ~
21978
21979 \begin_inset LatexCommand ref
21980 reference "foot:This-is-an"
21981
21982 \end_inset
21983
21984  to store the footnote number:
21985 \end_layout
21986
21987 \begin_layout Standard
21988
21989 \series bold
21990
21991 \backslash
21992 newcounter{MyRepeatFoot}
21993 \newline
21994
21995 \backslash
21996 setcounter{MyRepeatFoot}{
21997 \backslash
21998 thefootnote}
21999 \end_layout
22000
22001 \begin_layout Standard
22002 The footnote mark was then created with this command:
22003 \end_layout
22004
22005 \begin_layout Standard
22006
22007 \series bold
22008
22009 \backslash
22010 footnotemark[
22011 \backslash
22012 theMyRepeatFoot]
22013 \end_layout
22014
22015 \begin_layout Standard
22016 Here is an example footnote mark:
22017 \family roman
22018 \series medium
22019 \bar no
22020
22021 \begin_inset ERT
22022 status collapsed
22023
22024 \begin_layout Standard
22025
22026
22027 \backslash
22028 footnotemark[
22029 \backslash
22030 theMyRepeatFoot]
22031 \end_layout
22032
22033 \end_inset
22034
22035
22036 \end_layout
22037
22038 \begin_layout Subsection
22039 Footnote Numbering
22040 \begin_inset LatexCommand label
22041 name "sub:Footnote-Numbering"
22042
22043 \end_inset
22044
22045
22046 \begin_inset LatexCommand index
22047 name "Footnotes ! Numbering"
22048
22049 \end_inset
22050
22051
22052 \end_layout
22053
22054 \begin_layout Standard
22055 To reset the footnote number back to 1 after each section
22056 \family roman
22057 , add this command to your document preamble:
22058 \end_layout
22059
22060 \begin_layout Standard
22061
22062 \series bold
22063
22064 \backslash
22065 @addtoreset{footnote}{section}
22066 \end_layout
22067
22068 \begin_layout Standard
22069 \begin_inset VSpace bigskip
22070 \end_inset
22071
22072 The following preamble command changes the footnote numbering style to small
22073  roman numerals:
22074 \end_layout
22075
22076 \begin_layout Standard
22077
22078 \series bold
22079
22080 \backslash
22081 renewcommand{
22082 \backslash
22083 thefootnote}{
22084 \backslash
22085 roman{footnote}}
22086 \end_layout
22087
22088 \begin_layout Standard
22089 \begin_inset ERT
22090 status collapsed
22091
22092 \begin_layout Standard
22093
22094
22095 \backslash
22096 renewcommand{
22097 \backslash
22098 thefootnote}{
22099 \backslash
22100 roman{footnote}}
22101 \end_layout
22102
22103 \end_inset
22104
22105  This is a footnote with roman numbering:
22106 \begin_inset Foot
22107 status open
22108
22109 \begin_layout Standard
22110 This is an example footnote with roman numbering.
22111 \end_layout
22112
22113 \end_inset
22114
22115
22116 \end_layout
22117
22118 \begin_layout Standard
22119 To change the numbering style to capital roman numerals replace in the command
22120  above 
22121 \series bold
22122
22123 \backslash
22124 roman
22125 \series default
22126  by 
22127 \series bold
22128
22129 \backslash
22130 Roman
22131 \series default
22132 .
22133  To 
22134 \begin_inset Quotes eld
22135 \end_inset
22136
22137 number
22138 \begin_inset Quotes erd
22139 \end_inset
22140
22141  footnotes with capital or small Latin letters use 
22142 \series bold
22143
22144 \backslash
22145 Alph
22146 \series default
22147  or 
22148 \series bold
22149
22150 \backslash
22151 alph
22152 \series default
22153 , respectively.
22154  To 
22155 \begin_inset Quotes eld
22156 \end_inset
22157
22158 number
22159 \begin_inset Quotes erd
22160 \end_inset
22161
22162  footnotes with symbols use 
22163 \series bold
22164
22165 \backslash
22166 fnsymbol
22167 \series default
22168 .
22169 \end_layout
22170
22171 \begin_layout Standard
22172 \begin_inset Note Greyedout
22173 status open
22174
22175 \begin_layout Standard
22176
22177 \series bold
22178 Note:
22179 \series default
22180  You can only number 26 footnotes with Latin letters, because this numbering
22181  is limited to single letters.
22182 \end_layout
22183
22184 \end_inset
22185
22186
22187 \newline
22188
22189 \begin_inset Note Greyedout
22190 status open
22191
22192 \begin_layout Standard
22193
22194 \series bold
22195 Note:
22196 \series default
22197  You can only number 9 footnotes with symbols.
22198 \end_layout
22199
22200 \end_inset
22201
22202
22203 \end_layout
22204
22205 \begin_layout Standard
22206 To return to the default numbering style when you changed to another one,
22207  use 
22208 \series bold
22209
22210 \backslash
22211 arabic
22212 \series default
22213  instead of 
22214 \series bold
22215
22216 \backslash
22217 roman
22218 \series default
22219  in the command above.
22220 \begin_inset ERT
22221 status collapsed
22222
22223 \begin_layout Standard
22224
22225
22226 \backslash
22227 renewcommand{
22228 \backslash
22229 thefootnote}{
22230 \backslash
22231 arabic{footnote}}
22232 \end_layout
22233
22234 \end_inset
22235
22236
22237 \end_layout
22238
22239 \begin_layout Standard
22240 \begin_inset VSpace bigskip
22241 \end_inset
22242
22243
22244 \end_layout
22245
22246 \begin_layout Standard
22247 If you want to have footnotes numbered in the scheme 
22248 \begin_inset Quotes eld
22249 \end_inset
22250
22251 chapter.footnote
22252 \begin_inset Quotes erd
22253 \end_inset
22254
22255 , add the following command to your document preamble:
22256 \end_layout
22257
22258 \begin_layout Standard
22259
22260 \series bold
22261
22262 \backslash
22263 numberwithin{footnote}{chapter}
22264 \end_layout
22265
22266 \begin_layout Standard
22267 To be able to use the command 
22268 \series bold
22269
22270 \backslash
22271 numberwithin
22272 \series default
22273 , set in the tab 
22274 \family sans
22275 Math\InsetSpace ~
22276 Options
22277 \family default
22278  in the document settings the option 
22279 \family sans
22280 Use\InsetSpace ~
22281 AMS\InsetSpace ~
22282 math\InsetSpace ~
22283 package
22284 \family default
22285 .
22286 \end_layout
22287
22288 \begin_layout Standard
22289 \begin_inset ERT
22290 status collapsed
22291
22292 \begin_layout Standard
22293
22294
22295 \backslash
22296 numberwithin{footnote}{chapter}
22297 \end_layout
22298
22299 \end_inset
22300
22301 This is another example footnote:
22302 \series bold
22303
22304 \begin_inset Foot
22305 status open
22306
22307 \begin_layout Standard
22308 This is a footnote numbered in the scheme 
22309 \begin_inset Quotes eld
22310 \end_inset
22311
22312 chapter.footnote
22313 \begin_inset Quotes erd
22314 \end_inset
22315
22316 .
22317 \end_layout
22318
22319 \end_inset
22320
22321
22322 \series default
22323
22324 \begin_inset ERT
22325 status collapsed
22326
22327 \begin_layout Standard
22328
22329
22330 \backslash
22331 renewcommand{
22332 \backslash
22333 thefootnote}{
22334 \backslash
22335 arabic{footnote}}
22336 \end_layout
22337
22338 \end_inset
22339
22340
22341 \end_layout
22342
22343 \begin_layout Standard
22344 \begin_inset Note Greyedout
22345 status open
22346
22347 \begin_layout Standard
22348
22349 \series bold
22350 Note:
22351 \series default
22352  
22353 \series bold
22354
22355 \backslash
22356 numberwithin
22357 \series default
22358  always prints out the footnote number as arabic number; previous redefinitions
22359  to get non-arabic numbers are overwritten.
22360 \end_layout
22361
22362 \end_inset
22363
22364
22365 \end_layout
22366
22367 \begin_layout Standard
22368 So to get for example the scheme 
22369 \begin_inset Quotes eld
22370 \end_inset
22371
22372 chapter.
22373 \backslash
22374 Roman{footnote}
22375 \begin_inset Quotes erd
22376 \end_inset
22377
22378 , use this command instead of 
22379 \series bold
22380
22381 \backslash
22382 numberwithin
22383 \series default
22384 :
22385 \end_layout
22386
22387 \begin_layout Standard
22388
22389 \series bold
22390
22391 \backslash
22392 renewcommand{
22393 \backslash
22394 thefootnote}{
22395 \backslash
22396 thechapter.
22397 \backslash
22398 Roman{footnote}}
22399 \end_layout
22400
22401 \begin_layout Subsection
22402 Footnote Placement
22403 \begin_inset LatexCommand index
22404 name "Footnotes ! Placement"
22405
22406 \end_inset
22407
22408
22409 \end_layout
22410
22411 \begin_layout Standard
22412 If you have several footnotes in one page, they appear without vertical
22413  space between them at the bottom of the page.
22414  To make them better readable you can e.\InsetSpace \thinspace{}
22415 g.\InsetSpace ~
22416 add 1.5\InsetSpace \thinspace{}
22417 mm space with the following
22418  preamble command:
22419 \end_layout
22420
22421 \begin_layout Standard
22422
22423 \series bold
22424
22425 \backslash
22426 let
22427 \backslash
22428 myFoot
22429 \backslash
22430 footnote
22431 \newline
22432
22433 \backslash
22434 renewcommand{
22435 \backslash
22436 footnote}[1]{
22437 \backslash
22438 myFoot{#1
22439 \backslash
22440 vspace{1.5mm}}}
22441 \end_layout
22442
22443 \begin_layout Standard
22444 \begin_inset VSpace bigskip
22445 \end_inset
22446
22447 In a two-column document the footnotes appear at the bottom of every column,
22448  see Figure\InsetSpace ~
22449
22450 \begin_inset LatexCommand ref
22451 reference "fig:Standard-footnote-placement"
22452
22453 \end_inset
22454
22455 .
22456  If the footnotes should only appear at the bottom of the right column,
22457  as in Figure\InsetSpace ~
22458
22459 \begin_inset LatexCommand ref
22460 reference "fig:Footnote-placement-in"
22461
22462 \end_inset
22463
22464 , use the LaTeX-package 
22465 \series bold
22466 ftnright
22467 \series default
22468
22469 \begin_inset LatexCommand index
22470 name "LaTeX-packages ! ftnright"
22471
22472 \end_inset
22473
22474  with this command in the document preamble:
22475 \end_layout
22476
22477 \begin_layout Standard
22478
22479 \series bold
22480
22481 \backslash
22482 usepackage{ftnright}
22483 \end_layout
22484
22485 \begin_layout Standard
22486 \begin_inset Float figure
22487 placement !h
22488 wide false
22489 sideways false
22490 status open
22491
22492 \begin_layout Standard
22493 \begin_inset ERT
22494 status collapsed
22495
22496 \begin_layout Standard
22497
22498
22499 \backslash
22500 framebox{
22501 \end_layout
22502
22503 \end_inset
22504
22505
22506 \begin_inset Graphics
22507         filename clipart/without_fntright.pdf
22508         width 100col%
22509         scaleBeforeRotation
22510
22511 \end_inset
22512
22513
22514 \begin_inset ERT
22515 status collapsed
22516
22517 \begin_layout Standard
22518
22519 }
22520 \end_layout
22521
22522 \end_inset
22523
22524
22525 \end_layout
22526
22527 \begin_layout Standard
22528 \begin_inset Caption
22529
22530 \begin_layout Standard
22531 \begin_inset LatexCommand label
22532 name "fig:Standard-footnote-placement"
22533
22534 \end_inset
22535
22536 Standard footnote placement in two-column documents.
22537 \end_layout
22538
22539 \end_inset
22540
22541
22542 \end_layout
22543
22544 \end_inset
22545
22546
22547 \end_layout
22548
22549 \begin_layout Standard
22550 \begin_inset Float figure
22551 placement !h
22552 wide false
22553 sideways false
22554 status open
22555
22556 \begin_layout Standard
22557 \begin_inset ERT
22558 status collapsed
22559
22560 \begin_layout Standard
22561
22562
22563 \backslash
22564 framebox{
22565 \end_layout
22566
22567 \end_inset
22568
22569
22570 \begin_inset Graphics
22571         filename clipart/with_fntright.pdf
22572         width 100col%
22573         scaleBeforeRotation
22574
22575 \end_inset
22576
22577
22578 \begin_inset ERT
22579 status collapsed
22580
22581 \begin_layout Standard
22582
22583 }
22584 \end_layout
22585
22586 \end_inset
22587
22588
22589 \end_layout
22590
22591 \begin_layout Standard
22592 \begin_inset Caption
22593
22594 \begin_layout Standard
22595 \begin_inset LatexCommand label
22596 name "fig:Footnote-placement-in"
22597
22598 \end_inset
22599
22600 Footnote placement in two-column documents when the LaTeX-package 
22601 \series bold
22602 ftnright
22603 \series default
22604  is used.
22605 \end_layout
22606
22607 \end_inset
22608
22609
22610 \end_layout
22611
22612 \end_inset
22613
22614
22615 \end_layout
22616
22617 \begin_layout Standard
22618 \begin_inset VSpace bigskip
22619 \end_inset
22620
22621 In some scientific literature it is usual to collect the footnotes and print
22622  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22623
22624 \begin_inset LatexCommand ref
22625 reference "fig:Endnotes----footnotes"
22626
22627 \end_inset
22628
22629 .
22630  They are then so called 
22631 \begin_inset Quotes eld
22632 \end_inset
22633
22634 endnotes
22635 \begin_inset Quotes erd
22636 \end_inset
22637
22638 .
22639  To use endnotes instead of footnotes in your document, load the LaTeX-package
22640  
22641 \series bold
22642 endnotes
22643 \series default
22644
22645 \begin_inset LatexCommand index
22646 name "LaTeX-packages ! endnotes"
22647
22648 \end_inset
22649
22650  with the document preamble lines
22651 \end_layout
22652
22653 \begin_layout Standard
22654
22655 \series bold
22656
22657 \backslash
22658 usepackage{endnotes}
22659 \newline
22660
22661 \backslash
22662 let
22663 \backslash
22664 footnote
22665 \backslash
22666 endnote
22667 \end_layout
22668
22669 \begin_layout Standard
22670 To insert the collected footnotes, insert the command
22671 \end_layout
22672
22673 \begin_layout Standard
22674
22675 \series bold
22676
22677 \backslash
22678 theendnotes
22679 \end_layout
22680
22681 \begin_layout Standard
22682 in ERT at the the end of a section or chapter.
22683 \end_layout
22684
22685 \begin_layout Standard
22686 \begin_inset Float figure
22687 wide false
22688 sideways false
22689 status open
22690
22691 \begin_layout Standard
22692 \align center
22693 \begin_inset ERT
22694 status collapsed
22695
22696 \begin_layout Standard
22697
22698
22699 \backslash
22700 framebox{
22701 \end_layout
22702
22703 \end_inset
22704
22705
22706 \begin_inset Graphics
22707         filename clipart/endnotes.pdf
22708         scaleBeforeRotation
22709
22710 \end_inset
22711
22712
22713 \begin_inset ERT
22714 status collapsed
22715
22716 \begin_layout Standard
22717
22718 }
22719 \end_layout
22720
22721 \end_inset
22722
22723
22724 \end_layout
22725
22726 \begin_layout Standard
22727 \begin_inset Caption
22728
22729 \begin_layout Standard
22730 \begin_inset LatexCommand label
22731 name "fig:Endnotes----footnotes"
22732
22733 \end_inset
22734
22735 Endnotes -- footnotes are printed in a separate paragraph at the end of
22736  sections or chapters.
22737 \end_layout
22738
22739 \end_inset
22740
22741
22742 \end_layout
22743
22744 \end_inset
22745
22746
22747 \end_layout
22748
22749 \begin_layout Standard
22750 \begin_inset VSpace medskip
22751 \end_inset
22752
22753 The paragraph heading for the endnotes isn't automatically translated into
22754  the document language, this must be done manually.
22755  The following preamble command translate the default English name 
22756 \begin_inset Quotes eld
22757 \end_inset
22758
22759 Notes
22760 \begin_inset Quotes erd
22761 \end_inset
22762
22763  to the German translation 
22764 \begin_inset Quotes eld
22765 \end_inset
22766
22767 Anmerkungen
22768 \begin_inset Quotes erd
22769 \end_inset
22770
22771 :
22772 \end_layout
22773
22774 \begin_layout Standard
22775
22776 \series bold
22777
22778 \backslash
22779 renewcommand{
22780 \backslash
22781 notesname}{Anmerkungen}
22782 \end_layout
22783
22784 \begin_layout Standard
22785 \begin_inset VSpace medskip
22786 \end_inset
22787
22788 The numbering of endnotes can be changed like the footnote numbering as
22789  described in section\InsetSpace ~
22790
22791 \begin_inset LatexCommand ref
22792 reference "sub:Footnote-Numbering"
22793
22794 \end_inset
22795
22796 ; just replace the command 
22797 \series bold
22798
22799 \backslash
22800 thefootnote
22801 \series default
22802  by 
22803 \series bold
22804
22805 \backslash
22806 theendnote
22807 \series default
22808 .
22809  To reset the endnote number use the command 
22810 \series bold
22811
22812 \backslash
22813 @addtoreset
22814 \series default
22815  as described in section\InsetSpace ~
22816
22817 \begin_inset LatexCommand ref
22818 reference "sub:Footnote-Numbering"
22819
22820 \end_inset
22821
22822  and replace the command parameter 
22823 \series bold
22824 footnote
22825 \series default
22826  by 
22827 \series bold
22828 endnote
22829 \series default
22830 .
22831 \end_layout
22832
22833 \begin_layout Standard
22834 To create only a mark for an endnote, use the command 
22835 \series bold
22836
22837 \backslash
22838 endnotemark[number]
22839 \series default
22840  similar to the command 
22841 \series bold
22842
22843 \backslash
22844 footnotemark
22845 \series default
22846 , described in section\InsetSpace ~
22847
22848 \begin_inset LatexCommand ref
22849 reference "sec:Footnotes"
22850
22851 \end_inset
22852
22853 .
22854 \end_layout
22855
22856 \begin_layout Standard
22857 \begin_inset VSpace bigskip
22858 \end_inset
22859
22860 Footnotes can also be placed in the page margin and the footnote text alignment
22861  can be changed, see the LaTeX-package 
22862 \series bold
22863 footmisc
22864 \series default
22865
22866 \begin_inset LatexCommand index
22867 name "LaTeX-packages ! footmisc"
22868
22869 \end_inset
22870
22871
22872 \begin_inset LatexCommand cite
22873 key "footmisc"
22874
22875 \end_inset
22876
22877  for more information about this.
22878 \end_layout
22879
22880 \begin_layout Standard
22881 For various further footnote formatting issues have a look at LaTeX-books,
22882  
22883 \begin_inset LatexCommand cite
22884 key "latexcompanion,latexguide,latexbook"
22885
22886 \end_inset
22887
22888 .
22889 \end_layout
22890
22891 \begin_layout Section
22892 Margin Notes
22893 \begin_inset LatexCommand index
22894 name "Notes ! Margin Notes"
22895
22896 \end_inset
22897
22898
22899 \end_layout
22900
22901 \begin_layout Standard
22902 Margin notes look and behave in LyX like footnotes.
22903  They are inserted via the menu 
22904 \family sans
22905 Insert\SpecialChar \menuseparator
22906 Marginal\InsetSpace ~
22907 Note
22908 \family default
22909  or the toolbar button 
22910 \begin_inset Graphics
22911         filename ../images/marginalnote-insert.xpm
22912         scale 85
22913         scaleBeforeRotation
22914
22915 \end_inset
22916
22917 .
22918  A grey 
22919 \family roman
22920 \series medium
22921 box with the
22922 \family default
22923 \series default
22924  red 
22925 \family roman
22926 \series medium
22927 label 
22928 \begin_inset Quotes eld
22929 \end_inset
22930
22931 margin
22932 \begin_inset Quotes erd
22933 \end_inset
22934
22935  appears where you can enter the text of the margin note.
22936 \end_layout
22937
22938 \begin_layout Standard
22939 At the side is an example margin note.
22940 \family roman
22941 \series medium
22942
22943 \begin_inset Marginal
22944 status open
22945
22946 \begin_layout Standard
22947 This is a margin note.
22948 \end_layout
22949
22950 \end_inset
22951
22952
22953 \end_layout
22954
22955 \begin_layout Standard
22956 Margin notes appear at the right side in single-sided documents.
22957  In double-sided documents they appear in the outer margin -- left on even
22958  pages, right on odd pages.
22959  The text of margin notes is aligned opposite to the outer margin -- right-align
22960 ed when the note appears in the left margin.
22961  The first line of the margin note is placed at the position of the text
22962  line where it is inserted in the document.
22963 \end_layout
22964
22965 \begin_layout Standard
22966 \begin_inset VSpace bigskip
22967 \end_inset
22968
22969 To place the margin note in the inner margin, add the command
22970 \end_layout
22971
22972 \begin_layout Standard
22973
22974 \series bold
22975
22976 \backslash
22977 reversemarginpar
22978 \end_layout
22979
22980 \begin_layout Standard
22981 in ERT before a margin note.
22982  The new placement is valid for all following margin notes.
22983 \begin_inset ERT
22984 status collapsed
22985
22986 \begin_layout Standard
22987
22988
22989 \backslash
22990 reversemarginpar 
22991 \end_layout
22992
22993 \end_inset
22994
22995
22996 \begin_inset Marginal
22997 status open
22998
22999 \begin_layout Standard
23000 This is a margin note in the inner margin.
23001 \end_layout
23002
23003 \end_inset
23004
23005
23006 \series bold
23007
23008 \newline
23009
23010 \series default
23011
23012 \begin_inset Note Greyedout
23013 status open
23014
23015 \begin_layout Standard
23016
23017 \series bold
23018 Note:
23019 \series default
23020  There is often not enough space in the inner margin so that the notes are
23021  not correctly displayed in the output.
23022 \end_layout
23023
23024 \end_inset
23025
23026
23027 \end_layout
23028
23029 \begin_layout Standard
23030 To return to the default placement insert the command
23031 \end_layout
23032
23033 \begin_layout Standard
23034
23035 \series bold
23036
23037 \backslash
23038 normalmarginpar
23039 \end_layout
23040
23041 \begin_layout Standard
23042 in ERT.
23043 \begin_inset ERT
23044 status collapsed
23045
23046 \begin_layout Standard
23047
23048
23049 \backslash
23050 normalmarginpar 
23051 \end_layout
23052
23053 \end_inset
23054
23055  
23056 \begin_inset Note Greyedout
23057 status open
23058
23059 \begin_layout Standard
23060
23061 \series bold
23062 Note:
23063 \series default
23064  The command is ignored when it is within a paragraph where also the command
23065  
23066 \series bold
23067
23068 \backslash
23069 reversemarginpar
23070 \series default
23071  is inserted.
23072 \end_layout
23073
23074 \end_inset
23075
23076
23077 \end_layout
23078
23079 \begin_layout Standard
23080 \begin_inset VSpace bigskip
23081 \end_inset
23082
23083
23084 \family roman
23085 \series medium
23086
23087 \begin_inset Marginal
23088 status open
23089
23090 \begin_layout Standard
23091 AVeryLongMarginParWord that isn't hyphenated.
23092 \end_layout
23093
23094 \end_inset
23095
23096
23097 \family default
23098 \series default
23099 Similar to the case described in section\InsetSpace ~
23100
23101 \begin_inset LatexCommand ref
23102 reference "sub:Multiple-Lines-in"
23103
23104 \end_inset
23105
23106 , long words cannot be hyphenated when they are the first word in a margin
23107  note.
23108  To avoid this, insert the command
23109 \end_layout
23110
23111 \begin_layout Standard
23112
23113 \series bold
23114
23115 \backslash
23116 hspace{0pt}
23117 \end_layout
23118
23119 \begin_layout Standard
23120 in ERT before the word
23121 \family roman
23122 \series medium
23123 .
23124 \begin_inset Marginal
23125 status open
23126
23127 \begin_layout Standard
23128 \begin_inset ERT
23129 status collapsed
23130
23131 \begin_layout Standard
23132
23133
23134 \backslash
23135 hspace{0pt}
23136 \end_layout
23137
23138 \end_inset
23139
23140 AVeryLongMarginParWord that is hyphenated.
23141 \end_layout
23142
23143 \end_inset
23144
23145
23146 \end_layout
23147
23148 \begin_layout Standard
23149 \begin_inset VSpace bigskip
23150 \end_inset
23151
23152
23153 \end_layout
23154
23155 \begin_layout Standard
23156 \begin_inset Note Greyedout
23157 status open
23158
23159 \begin_layout Standard
23160
23161 \series bold
23162 Note:
23163 \series default
23164  Margin notes can normally not be used inside tables, floats, and footnotes.
23165 \end_layout
23166
23167 \end_inset
23168
23169
23170 \end_layout
23171
23172 \begin_layout Standard
23173 \begin_inset VSpace bigskip
23174 \end_inset
23175
23176
23177 \end_layout
23178
23179 \begin_layout Standard
23180 \begin_inset ERT
23181 status collapsed
23182
23183 \begin_layout Standard
23184
23185
23186 \backslash
23187 ifmarginnote
23188 \end_layout
23189
23190 \end_inset
23191
23192
23193 \begin_inset Note Note
23194 status open
23195
23196 \begin_layout Standard
23197 The following section will only be displayed when you have the LaTeX-package
23198  
23199 \series bold
23200 marginnote
23201 \series default
23202  is installed.
23203 \end_layout
23204
23205 \end_inset
23206
23207
23208 \end_layout
23209
23210 \begin_layout Standard
23211 This restriction can be evaded by using the LaTeX-package 
23212 \series bold
23213 marginnote
23214 \series default
23215
23216 \begin_inset LatexCommand index
23217 name "LaTeX-packages ! marginnote"
23218
23219 \end_inset
23220
23221 .
23222  By adding these two lines to your document preamble, the command used by
23223  LyX for margin notes is redefined to use the command provided by the 
23224 \series bold
23225 marginnote
23226 \series default
23227 -package:
23228 \end_layout
23229
23230 \begin_layout Standard
23231
23232 \series bold
23233
23234 \backslash
23235 usepackage{marginnote}
23236 \newline
23237
23238 \backslash
23239 let
23240 \backslash
23241 marginpar
23242 \backslash
23243 marginnote
23244 \end_layout
23245
23246 \begin_layout Standard
23247 This is also used in this document because 
23248 \series bold
23249 marginnote
23250 \series default
23251  has another useful feature: You can set a vertical offset for the note.
23252  This is often needed when too many margin notes are too close together
23253  or for a better page layout.
23254  The offset is set in LyX as ERT directly behind the margin note in the
23255  scheme
23256 \end_layout
23257
23258 \begin_layout Standard
23259
23260 \series bold
23261 [offset]
23262 \end_layout
23263
23264 \begin_layout Standard
23265 where the offset is a length with one of the units listed in Table\InsetSpace ~
23266
23267 \begin_inset LatexCommand ref
23268 reference "tab:Units"
23269
23270 \end_inset
23271
23272 .
23273  A negative value shifts the note up, a positive value shifts it down.
23274  
23275 \family roman
23276 \series medium
23277 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23278 cm with
23279  the ERT-command 
23280 \begin_inset Quotes eld
23281 \end_inset
23282
23283
23284 \family default
23285 \series bold
23286 [-1.5cm]
23287 \family roman
23288 \series medium
23289
23290 \begin_inset Quotes erd
23291 \end_inset
23292
23293
23294 \begin_inset Marginal
23295 status open
23296
23297 \begin_layout Standard
23298 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23299 cm from its original position.
23300 \end_layout
23301
23302 \end_inset
23303
23304
23305 \family default
23306 \series default
23307
23308 \begin_inset ERT
23309 status collapsed
23310
23311 \begin_layout Standard
23312
23313 [-1.5cm]
23314 \end_layout
23315
23316 \end_inset
23317
23318
23319 \end_layout
23320
23321 \begin_layout Standard
23322 \begin_inset VSpace medskip
23323 \end_inset
23324
23325 With 
23326 \series bold
23327 marginnote
23328 \series default
23329  you can also change the alignment of the text in the margin note.
23330  For example the commands
23331 \end_layout
23332
23333 \begin_layout Standard
23334
23335 \series bold
23336
23337 \backslash
23338 renewcommand*{
23339 \backslash
23340 raggedleftmarginnote}{
23341 \backslash
23342 centering}
23343 \newline
23344
23345 \backslash
23346 renewcommand*{
23347 \backslash
23348 raggedrightmarginnote}{
23349 \backslash
23350 centering}
23351 \end_layout
23352
23353 \begin_layout Standard
23354 set the alignment to centered.
23355  
23356 \series bold
23357
23358 \backslash
23359 raggedleftmarginnote
23360 \series default
23361  denotes margin notes that appear at the left side.
23362 \family roman
23363 \series medium
23364
23365 \begin_inset ERT
23366 status collapsed
23367
23368 \begin_layout Standard
23369
23370
23371 \backslash
23372 renewcommand*{
23373 \backslash
23374 raggedleftmarginnote}{
23375 \backslash
23376 centering}
23377 \end_layout
23378
23379 \begin_layout Standard
23380
23381
23382 \backslash
23383 renewcommand*{
23384 \backslash
23385 raggedrightmarginnote}{
23386 \backslash
23387 centering}
23388 \end_layout
23389
23390 \end_inset
23391
23392
23393 \begin_inset Marginal
23394 status open
23395
23396 \begin_layout Standard
23397 The text of this margin note is centered.
23398 \end_layout
23399
23400 \end_inset
23401
23402
23403 \family default
23404 \series default
23405  The default is
23406 \end_layout
23407
23408 \begin_layout Standard
23409
23410 \series bold
23411
23412 \backslash
23413 renewcommand*{
23414 \backslash
23415 raggedleftmarginnote}{
23416 \backslash
23417 raggedleft}
23418 \newline
23419
23420 \backslash
23421 renewcommand*{
23422 \backslash
23423 raggedrightmarginnote}{
23424 \backslash
23425 raggedright}
23426 \family roman
23427 \series medium
23428
23429 \begin_inset ERT
23430 status collapsed
23431
23432 \begin_layout Standard
23433
23434
23435 \backslash
23436 renewcommand*{
23437 \backslash
23438 raggedleftmarginnote}{
23439 \backslash
23440 raggedleft}
23441 \end_layout
23442
23443 \begin_layout Standard
23444
23445
23446 \backslash
23447 renewcommand*{
23448 \backslash
23449 raggedrightmarginnote}{
23450 \backslash
23451 raggedright}
23452 \end_layout
23453
23454 \end_inset
23455
23456
23457 \end_layout
23458
23459 \begin_layout Standard
23460 \begin_inset VSpace medskip
23461 \end_inset
23462
23463 For the other features of 
23464 \series bold
23465 marginnote
23466 \series default
23467  we refer to its documentation 
23468 \begin_inset LatexCommand cite
23469 key "marginnote"
23470
23471 \end_inset
23472
23473 .
23474 \end_layout
23475
23476 \begin_layout Standard
23477 \begin_inset VSpace bigskip
23478 \end_inset
23479
23480 You can adjust the layout of margin notes by changing its definition.
23481  To create for example a header for all margin notes with the underlined,
23482  sans-serif, and bold header text 
23483 \begin_inset Quotes eld
23484 \end_inset
23485
23486
23487 \family sans
23488 \series bold
23489 \bar under
23490 Attention!
23491 \family default
23492 \series default
23493 \bar default
23494
23495 \begin_inset Quotes erd
23496 \end_inset
23497
23498 , add this to your document preamble:
23499 \end_layout
23500
23501 \begin_layout Standard
23502
23503 \series bold
23504
23505 \backslash
23506 let
23507 \backslash
23508 myMarginpar
23509 \backslash
23510 marginpar
23511 \newline
23512
23513 \backslash
23514 renewcommand{
23515 \backslash
23516 marginpar}[1]{
23517 \backslash
23518 myMarginpar{%
23519 \newline
23520
23521 \begin_inset ERT
23522 status collapsed
23523
23524 \begin_layout Standard
23525
23526
23527 \backslash
23528 hphantom{ }
23529 \end_layout
23530
23531 \end_inset
23532
23533
23534 \backslash
23535 hspace{0pt}
23536 \backslash
23537 textsf{
23538 \backslash
23539 textbf{
23540 \backslash
23541 underbar{Attention!}}}%
23542 \newline
23543
23544 \begin_inset ERT
23545 status collapsed
23546
23547 \begin_layout Standard
23548
23549
23550 \backslash
23551 hphantom{ }
23552 \end_layout
23553
23554 \end_inset
23555
23556
23557 \backslash
23558 vspace{1.5mm}
23559 \backslash
23560
23561 \backslash
23562 #1}}
23563 \end_layout
23564
23565 \begin_layout Standard
23566
23567 \family roman
23568 \series medium
23569 \begin_inset ERT
23570 status collapsed
23571
23572 \begin_layout Standard
23573
23574
23575 \backslash
23576 let
23577 \backslash
23578 myMarginpar
23579 \backslash
23580 marginpar
23581 \end_layout
23582
23583 \begin_layout Standard
23584
23585
23586 \backslash
23587 renewcommand{
23588 \backslash
23589 marginpar}[1]{
23590 \backslash
23591 myMarginpar{%
23592 \end_layout
23593
23594 \begin_layout Standard
23595
23596    
23597 \backslash
23598 textsf{
23599 \backslash
23600 textbf{
23601 \backslash
23602 underbar{Attention!}}}%
23603 \end_layout
23604
23605 \begin_layout Standard
23606
23607    
23608 \backslash
23609 vspace{1.5mm}
23610 \backslash
23611
23612 \backslash
23613 #1}}
23614 \end_layout
23615
23616 \end_inset
23617
23618
23619 \begin_inset Marginal
23620 status open
23621
23622 \begin_layout Standard
23623 This is a margin note with a defined heading.
23624 \end_layout
23625
23626 \end_inset
23627
23628
23629 \family default
23630 \series default
23631
23632 \begin_inset ERT
23633 status collapsed
23634
23635 \begin_layout Standard
23636
23637 [-1.5cm]
23638 \end_layout
23639
23640 \end_inset
23641
23642
23643 \family roman
23644 \series medium
23645
23646 \begin_inset ERT
23647 status collapsed
23648
23649 \begin_layout Standard
23650
23651
23652 \backslash
23653 renewcommand{
23654 \backslash
23655 marginpar}[1]{
23656 \backslash
23657 myMarginpar{#1}}
23658 \end_layout
23659
23660 \end_inset
23661
23662
23663 \family default
23664 \series default
23665
23666 \begin_inset Note Note
23667 status collapsed
23668
23669 \begin_layout Standard
23670 The margin note format is changed only for this example.
23671 \end_layout
23672
23673 \end_inset
23674
23675
23676 \end_layout
23677
23678 \begin_layout Standard
23679 \begin_inset ERT
23680 status collapsed
23681
23682 \begin_layout Standard
23683
23684
23685 \backslash
23686 else
23687 \end_layout
23688
23689 \end_inset
23690
23691
23692 \begin_inset Note Note
23693 status open
23694
23695 \begin_layout Standard
23696 The following will be displayed when the LaTeX-package 
23697 \series bold
23698 marginnote
23699 \series default
23700  is not installed:
23701 \end_layout
23702
23703 \end_inset
23704
23705
23706 \end_layout
23707
23708 \begin_layout Standard
23709 You need to install the LaTeX-package 
23710 \series bold
23711 marginnote
23712 \series default
23713  to see the following part of this section in the output.
23714 \end_layout
23715
23716 \begin_layout Standard
23717 \begin_inset ERT
23718 status collapsed
23719
23720 \begin_layout Standard
23721
23722
23723 \backslash
23724 fi
23725 \end_layout
23726
23727 \end_inset
23728
23729
23730 \end_layout
23731
23732 \begin_layout Chapter
23733 Boxes
23734 \end_layout
23735
23736 \begin_layout Section
23737 Introduction
23738 \begin_inset LatexCommand index
23739 name "Boxes ! Introduction"
23740
23741 \end_inset
23742
23743
23744 \end_layout
23745
23746 \begin_layout Standard
23747 Boxes are used to format a block of text.
23748  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23749
23750 \begin_inset LatexCommand ref
23751 reference "sec:Minipages"
23752
23753 \end_inset
23754
23755 , to frame texts, see section\InsetSpace ~
23756
23757 \begin_inset LatexCommand ref
23758 reference "sec:Framed-Boxes"
23759
23760 \end_inset
23761
23762 , to prevent words to be hyphenated, see section\InsetSpace ~
23763
23764 \begin_inset LatexCommand ref
23765 reference "sec:Prevent-Hyphenation"
23766
23767 \end_inset
23768
23769 , to align text, see section\InsetSpace ~
23770
23771 \begin_inset LatexCommand ref
23772 reference "sub:Vertical-Alignment"
23773
23774 \end_inset
23775
23776 , or to set the background color of texts, see section\InsetSpace ~
23777
23778 \begin_inset LatexCommand ref
23779 reference "sec:Colored-Boxes"
23780
23781 \end_inset
23782
23783 .
23784 \end_layout
23785
23786 \begin_layout Standard
23787 Boxes can be inserted with the menu 
23788 \family sans
23789 Insert\SpecialChar \menuseparator
23790 Box
23791 \family default
23792 .
23793  A grey box with the label 
23794 \family sans
23795 Box (Minipage)
23796 \family default
23797
23798 \begin_inset Graphics
23799         filename clipart/BoxInsetDefaultQt4.png
23800         scale 85
23801         scaleBeforeRotation
23802
23803 \end_inset
23804
23805 , will be inserted.
23806  The box type can be specified by right-clicking on the box.
23807  The appearing box dialog offers the 
23808 \family sans
23809 Inner\InsetSpace ~
23810 Box
23811 \family default
23812  types 
23813 \family sans
23814 Parbox
23815 \family default
23816  and 
23817 \family sans
23818 Minipage
23819 \family default
23820 .
23821  The type 
23822 \family sans
23823 Minipage
23824 \family default
23825  is the default for new boxes and is explained in section\InsetSpace ~
23826
23827 \begin_inset LatexCommand ref
23828 reference "sec:Minipages"
23829
23830 \end_inset
23831
23832 ; the type 
23833 \family sans
23834 Parbox
23835 \family default
23836  is described in section\InsetSpace ~
23837
23838 \begin_inset LatexCommand ref
23839 reference "sec:Parboxes"
23840
23841 \end_inset
23842
23843 .
23844 \end_layout
23845
23846 \begin_layout Standard
23847 Boxes aren't numbered and can therefore not be referenced like floats or
23848  footnotes.
23849 \end_layout
23850
23851 \begin_layout Standard
23852 \begin_inset Note Greyedout
23853 status open
23854
23855 \begin_layout Standard
23856
23857 \series bold
23858 Note:
23859 \series default
23860  Due to a bug in LyX you have to insert a protected space behind a box when
23861  you want to separate in a line the box from the following text with a space.
23862 \end_layout
23863
23864 \end_inset
23865
23866
23867 \end_layout
23868
23869 \begin_layout Standard
23870 \begin_inset Note Greyedout
23871 status open
23872
23873 \begin_layout Standard
23874
23875 \series bold
23876 Note:
23877 \series default
23878  Boxes must not be the item in an 
23879 \family sans
23880 Itemize
23881 \family default
23882  or 
23883 \family sans
23884 Description
23885 \family default
23886  environment.
23887 \end_layout
23888
23889 \end_inset
23890
23891
23892 \end_layout
23893
23894 \begin_layout Standard
23895 \begin_inset Note Greyedout
23896 status open
23897
23898 \begin_layout Standard
23899
23900 \series bold
23901 Note:
23902 \series default
23903  For an unknown reason you can only set the 
23904 \family sans
23905 Inner\InsetSpace ~
23906 Box
23907 \family default
23908  type to 
23909 \family sans
23910 None
23911 \family default
23912  when you use a framed box.
23913  Boxes without an 
23914 \family sans
23915 Inner\InsetSpace ~
23916 Box
23917 \family default
23918  type and without frames are explained in section\InsetSpace ~
23919
23920 \begin_inset LatexCommand ref
23921 reference "sec:Prevent-Hyphenation"
23922
23923 \end_inset
23924
23925 .
23926 \end_layout
23927
23928 \end_inset
23929
23930
23931 \end_layout
23932
23933 \begin_layout Section
23934 Box Dialog
23935 \begin_inset LatexCommand label
23936 name "sec:Box-Dialog"
23937
23938 \end_inset
23939
23940
23941 \begin_inset LatexCommand index
23942 name "Boxes ! Box Dialog"
23943
23944 \end_inset
23945
23946
23947 \begin_inset LatexCommand index
23948 name "Boxes ! Alignment"
23949
23950 \end_inset
23951
23952
23953 \end_layout
23954
23955 \begin_layout Standard
23956 In the box dialog you can adjust the box geometry in the fields 
23957 \family sans
23958 Width
23959 \family default
23960  and 
23961 \family sans
23962 Height
23963 \family default
23964 .
23965  The available units for the geometry are explained in Table\InsetSpace ~
23966
23967 \begin_inset LatexCommand ref
23968 reference "tab:Units"
23969
23970 \end_inset
23971
23972 .
23973  The field 
23974 \family sans
23975 Heigth
23976 \family default
23977  offers the following additional sizes:
23978 \end_layout
23979
23980 \begin_layout Description
23981 Depth This is the plain text 
23982 \begin_inset Quotes eld
23983 \end_inset
23984
23985 height
23986 \begin_inset Quotes erd
23987 \end_inset
23988
23989 .
23990  It ignores the total depth when there are multiple text lines in the box:
23991 \newline
23992
23993 \newline
23994
23995 \newline
23996
23997 \begin_inset Box Boxed
23998 position "c"
23999 hor_pos "c"
24000 has_inner_box 1
24001 inner_pos "c"
24002 use_parbox 0
24003 width "12col%"
24004 special "none"
24005 height "1in"
24006 height_special "depth"
24007 status collapsed
24008
24009 \begin_layout Standard
24010 \align center
24011 Box height set to 1\InsetSpace \thinspace{}
24012 Depth
24013 \end_layout
24014
24015 \end_inset
24016
24017
24018 \newline
24019
24020 \newline
24021
24022 \end_layout
24023
24024 \begin_layout Description
24025 Height This is the heigth of the text that is inside the box.
24026  A value of e.\InsetSpace \thinspace{}
24027 g.\InsetSpace ~
24028 2 for this size will set the box heigth to 2 times the text
24029  height: 
24030 \begin_inset Box Boxed
24031 position "c"
24032 hor_pos "c"
24033 has_inner_box 1
24034 inner_pos "c"
24035 use_parbox 0
24036 width "20col%"
24037 special "none"
24038 height "2in"
24039 height_special "height"
24040 status collapsed
24041
24042 \begin_layout Standard
24043 \align center
24044 Box height set to 2\InsetSpace \thinspace{}
24045 Height
24046 \end_layout
24047
24048 \end_inset
24049
24050
24051 \end_layout
24052
24053 \begin_layout Description
24054 Total\InsetSpace ~
24055 Height This is the Height\InsetSpace \thinspace{}
24056 +\InsetSpace \thinspace{}
24057 Depth: 
24058 \begin_inset Box Boxed
24059 position "c"
24060 hor_pos "c"
24061 has_inner_box 1
24062 inner_pos "c"
24063 use_parbox 0
24064 width "20col%"
24065 special "none"
24066 height "1in"
24067 height_special "totalheight"
24068 status collapsed
24069
24070 \begin_layout Standard
24071 \align center
24072 Box height set to 1\InsetSpace \thinspace{}
24073 Total\InsetSpace ~
24074 Height
24075 \end_layout
24076
24077 \end_inset
24078
24079
24080 \end_layout
24081
24082 \begin_layout Description
24083 Width This set the width of the box as heigth: 
24084 \begin_inset Box Boxed
24085 position "c"
24086 hor_pos "c"
24087 has_inner_box 1
24088 inner_pos "c"
24089 use_parbox 0
24090 width "12col%"
24091 special "none"
24092 height "1in"
24093 height_special "width"
24094 status collapsed
24095
24096 \begin_layout Standard
24097 \align center
24098 Box height set to 1\InsetSpace \thinspace{}
24099 Width
24100 \end_layout
24101
24102 \end_inset
24103
24104
24105 \end_layout
24106
24107 \begin_layout Standard
24108 \begin_inset VSpace bigskip
24109 \end_inset
24110
24111 When you have chosen an 
24112 \family sans
24113 Inner\InsetSpace ~
24114 Box
24115 \family default
24116 , the vertical box alignment can be:
24117 \end_layout
24118
24119 \begin_layout Description
24120 Top This is an example text line.
24121  
24122 \begin_inset Box Boxed
24123 position "t"
24124 hor_pos "c"
24125 has_inner_box 1
24126 inner_pos "c"
24127 use_parbox 0
24128 width "12col%"
24129 special "none"
24130 height "1in"
24131 height_special "totalheight"
24132 status collapsed
24133
24134 \begin_layout Standard
24135 \align center
24136 This box is top-aligned.
24137 \end_layout
24138
24139 \end_inset
24140
24141 \InsetSpace ~
24142 This is an example text line.
24143 \end_layout
24144
24145 \begin_layout Description
24146 Middle This is an example text line.
24147  
24148 \begin_inset Box Boxed
24149 position "c"
24150 hor_pos "c"
24151 has_inner_box 1
24152 inner_pos "c"
24153 use_parbox 0
24154 width "12col%"
24155 special "none"
24156 height "1in"
24157 height_special "totalheight"
24158 status collapsed
24159
24160 \begin_layout Standard
24161 \align center
24162 This box is middle-aligned.
24163 \end_layout
24164
24165 \end_inset
24166
24167 \InsetSpace ~
24168 This is an example text line.
24169 \end_layout
24170
24171 \begin_layout Description
24172 Bottom This is an example text line.
24173  
24174 \begin_inset Box Boxed
24175 position "b"
24176 hor_pos "c"
24177 has_inner_box 1
24178 inner_pos "c"
24179 use_parbox 0
24180 width "12col%"
24181 special "none"
24182 height "1in"
24183 height_special "totalheight"
24184 status collapsed
24185
24186 \begin_layout Standard
24187 \align center
24188 This box is bottom-aligned.
24189 \end_layout
24190
24191 \end_inset
24192
24193 \InsetSpace ~
24194 This is an example text line.
24195 \end_layout
24196
24197 \begin_layout Standard
24198 The horizontal box alignment can be set via LyX's paragraph dialog when
24199  you set the box into its own paragraph.
24200 \end_layout
24201
24202 \begin_layout Standard
24203 \begin_inset VSpace bigskip
24204 \end_inset
24205
24206 When you have chosen an 
24207 \family sans
24208 Inner\InsetSpace ~
24209 Box
24210 \family default
24211 , the box content can be vertical aligned to:
24212 \end_layout
24213
24214 \begin_layout Description
24215 top This is an example text line.
24216  
24217 \begin_inset Box Boxed
24218 position "c"
24219 hor_pos "c"
24220 has_inner_box 1
24221 inner_pos "t"
24222 use_parbox 0
24223 width "12col%"
24224 special "none"
24225 height "1.5in"
24226 height_special "totalheight"
24227 status collapsed
24228
24229 \begin_layout Standard
24230 \align center
24231 This box text is top-aligned.
24232 \end_layout
24233
24234 \end_inset
24235
24236 \InsetSpace ~
24237 This is an example text line.
24238 \end_layout
24239
24240 \begin_layout Description
24241 middle This is an example text line.
24242  
24243 \begin_inset Box Boxed
24244 position "c"
24245 hor_pos "c"
24246 has_inner_box 1
24247 inner_pos "c"
24248 use_parbox 0
24249 width "12col%"
24250 special "none"
24251 height "1.5in"
24252 height_special "totalheight"
24253 status collapsed
24254
24255 \begin_layout Standard
24256 \align center
24257 This box text is middle-aligned.
24258 \end_layout
24259
24260 \end_inset
24261
24262 \InsetSpace ~
24263 This is an example text line.
24264 \end_layout
24265
24266 \begin_layout Description
24267 bottom This is an example text line.
24268  
24269 \begin_inset Box Boxed
24270 position "c"
24271 hor_pos "c"
24272 has_inner_box 1
24273 inner_pos "b"
24274 use_parbox 0
24275 width "12col%"
24276 special "none"
24277 height "1.5in"
24278 height_special "totalheight"
24279 status collapsed
24280
24281 \begin_layout Standard
24282 \align center
24283 This box text is bottom-aligned.
24284 \end_layout
24285
24286 \end_inset
24287
24288 \InsetSpace ~
24289 This is an example text line.
24290 \end_layout
24291
24292 \begin_layout Description
24293 stretch This is an example text line.
24294  
24295 \begin_inset Box Boxed
24296 position "c"
24297 hor_pos "c"
24298 has_inner_box 1
24299 inner_pos "s"
24300 use_parbox 0
24301 width "12col%"
24302 special "none"
24303 height "1.5in"
24304 height_special "totalheight"
24305 status collapsed
24306
24307 \begin_layout Standard
24308 \align center
24309 This box
24310 \end_layout
24311
24312 \begin_layout Standard
24313 \align center
24314 text is
24315 \end_layout
24316
24317 \begin_layout Standard
24318 \align center
24319 stretched.
24320 \end_layout
24321
24322 \end_inset
24323
24324 \InsetSpace ~
24325 This is an example text line.
24326 \end_layout
24327
24328 \begin_layout Standard
24329 To stretch the box content, it must consist of more than one paragraph.
24330  In the example above every text line is in an own paragraph.
24331 \end_layout
24332
24333 \begin_layout Standard
24334 \begin_inset VSpace bigskip
24335 \end_inset
24336
24337 To align the box content horizontally you can use LyX's paragraph dialog
24338  when you have chosen an 
24339 \family sans
24340 Inner\InsetSpace ~
24341 Box
24342 \family default
24343 .
24344 \end_layout
24345
24346 \begin_layout Standard
24347 \align center
24348 \begin_inset Box Boxed
24349 position "c"
24350 hor_pos "c"
24351 has_inner_box 1
24352 inner_pos "s"
24353 use_parbox 0
24354 width "15col%"
24355 special "none"
24356 height "1.25in"
24357 height_special "totalheight"
24358 status collapsed
24359
24360 \begin_layout Standard
24361 \align left
24362 This box
24363 \end_layout
24364
24365 \begin_layout Standard
24366 \align center
24367 text is
24368 \end_layout
24369
24370 \begin_layout Standard
24371 \align right
24372 stretched.
24373 \end_layout
24374
24375 \end_inset
24376
24377
24378 \end_layout
24379
24380 \begin_layout Standard
24381 If you haven't set an 
24382 \family sans
24383 Inner\InsetSpace ~
24384 Box
24385 \family default
24386 , you can align the box content horizontally in the box dialog.
24387 \end_layout
24388
24389 \begin_layout Standard
24390 \align center
24391 \begin_inset Box Boxed
24392 position "c"
24393 hor_pos "s"
24394 has_inner_box 0
24395 inner_pos "s"
24396 use_parbox 0
24397 width "90col%"
24398 special "none"
24399 height "1.25in"
24400 height_special "totalheight"
24401 status collapsed
24402
24403 \begin_layout Standard
24404 \align left
24405 This box text is horizontally stretched.
24406 \end_layout
24407
24408 \end_inset
24409
24410
24411 \end_layout
24412
24413 \begin_layout Section
24414 Framed Boxes
24415 \begin_inset LatexCommand label
24416 name "sec:Framed-Boxes"
24417
24418 \end_inset
24419
24420
24421 \begin_inset LatexCommand index
24422 name "Boxes ! Frames"
24423
24424 \end_inset
24425
24426
24427 \end_layout
24428
24429 \begin_layout Standard
24430 The frame style of the box can be specified in the box-dialog in the drop-down
24431  list 
24432 \family sans
24433 Type
24434 \family default
24435 .
24436  The following frame types are possible:
24437 \end_layout
24438
24439 \begin_layout Description
24440 Rectangular\InsetSpace ~
24441 box This draws a rectangle frame around the box.
24442  The frame line thickness has the size of 
24443 \series bold
24444
24445 \backslash
24446 fboxrule
24447 \series default
24448 .
24449  
24450 \begin_inset Box Boxed
24451 position "c"
24452 hor_pos "c"
24453 has_inner_box 1
24454 inner_pos "c"
24455 use_parbox 0
24456 width "20col%"
24457 special "none"
24458 height "1in"
24459 height_special "totalheight"
24460 status collapsed
24461
24462 \begin_layout Standard
24463 \align center
24464 Rectangular box
24465 \end_layout
24466
24467 \end_inset
24468
24469
24470 \end_layout
24471
24472 \begin_layout Description
24473 Oval\InsetSpace ~
24474 box,\InsetSpace ~
24475 thin This draws an oval frame around the box.
24476  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24477 pt.
24478  
24479 \begin_inset Box ovalbox
24480 position "c"
24481 hor_pos "c"
24482 has_inner_box 1
24483 inner_pos "c"
24484 use_parbox 0
24485 width "20col%"
24486 special "none"
24487 height "1in"
24488 height_special "totalheight"
24489 status collapsed
24490
24491 \begin_layout Standard
24492 \align center
24493 Oval box, thin
24494 \end_layout
24495
24496 \end_inset
24497
24498
24499 \end_layout
24500
24501 \begin_layout Description
24502 Oval\InsetSpace ~
24503 box,\InsetSpace ~
24504 thick This draws an oval frame around the box.
24505  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24506 pt.
24507  
24508 \begin_inset Box Ovalbox
24509 position "c"
24510 hor_pos "c"
24511 has_inner_box 1
24512 inner_pos "c"
24513 use_parbox 0
24514 width "20col%"
24515 special "none"
24516 height "1in"
24517 height_special "totalheight"
24518 status collapsed
24519
24520 \begin_layout Standard
24521 \align center
24522 Oval box, thick
24523 \end_layout
24524
24525 \end_inset
24526
24527
24528 \end_layout
24529
24530 \begin_layout Description
24531 Shadow\InsetSpace ~
24532 box This draws a rectangle frame with a shadow around the box.
24533  The frame line thickness has the size of 
24534 \series bold
24535
24536 \backslash
24537 fboxrule
24538 \series default
24539 , the shadow has a width of 4\InsetSpace \thinspace{}
24540 pt.
24541  
24542 \begin_inset Box Shadowbox
24543 position "c"
24544 hor_pos "c"
24545 has_inner_box 1
24546 inner_pos "c"
24547 use_parbox 0
24548 width "20col%"
24549 special "none"
24550 height "1in"
24551 height_special "totalheight"
24552 status collapsed
24553
24554 \begin_layout Standard
24555 \align center
24556 Shadow box
24557 \end_layout
24558
24559 \end_inset
24560
24561
24562 \end_layout
24563
24564 \begin_layout Description
24565 Double\InsetSpace ~
24566 box This draws a double-line rectangle frame around the box.
24567  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24568
24569 \series bold
24570
24571 \backslash
24572 fboxrule
24573 \series default
24574 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24575
24576 \series bold
24577
24578 \backslash
24579 fboxrule
24580 \series default
24581 .
24582  The distance between the lines is 1.5\InsetSpace \thinspace{}
24583
24584 \series bold
24585
24586 \backslash
24587 fboxrule
24588 \series default
24589 \InsetSpace \thinspace{}
24590 +\InsetSpace \thinspace{}
24591 0.5\InsetSpace \thinspace{}
24592 pt.
24593  
24594 \begin_inset Box Doublebox
24595 position "c"
24596 hor_pos "c"
24597 has_inner_box 1
24598 inner_pos "c"
24599 use_parbox 0
24600 width "20col%"
24601 special "none"
24602 height "1in"
24603 height_special "totalheight"
24604 status collapsed
24605
24606 \begin_layout Standard
24607 \align center
24608 Double box
24609 \end_layout
24610
24611 \end_inset
24612
24613
24614 \end_layout
24615
24616 \begin_layout Standard
24617 \begin_inset VSpace bigskip
24618 \end_inset
24619
24620 LyX's box label will change to the used frame style when you set a frame.
24621  To be able to use the different frame styles, the LaTeX-package 
24622 \series bold
24623 fancybox
24624 \series default
24625
24626 \begin_inset LatexCommand index
24627 name "LaTeX-packages ! fancybox"
24628
24629 \end_inset
24630
24631  must be installed.
24632 \end_layout
24633
24634 \begin_layout Standard
24635 \begin_inset VSpace bigskip
24636 \end_inset
24637
24638 The default value for the size 
24639 \series bold
24640
24641 \backslash
24642 fboxrule
24643 \series default
24644  is 0.4\InsetSpace \thinspace{}
24645 pt.
24646  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24647 g.\InsetSpace ~
24648 2\InsetSpace \thinspace{}
24649 pt:
24650 \end_layout
24651
24652 \begin_layout Standard
24653
24654 \series bold
24655
24656 \backslash
24657 setlength{
24658 \backslash
24659 fboxrule}{2pt}
24660 \end_layout
24661
24662 \begin_layout Standard
24663 \begin_inset ERT
24664 status collapsed
24665
24666 \begin_layout Standard
24667
24668
24669 \backslash
24670 setlength{
24671 \backslash
24672 fboxrule}{2pt}
24673 \end_layout
24674
24675 \end_inset
24676
24677
24678 \begin_inset Box Boxed
24679 position "c"
24680 hor_pos "c"
24681 has_inner_box 1
24682 inner_pos "c"
24683 use_parbox 0
24684 width "25col%"
24685 special "none"
24686 height "1in"
24687 height_special "totalheight"
24688 status collapsed
24689
24690 \begin_layout Standard
24691 \align center
24692 Rectangular box with 
24693 \series bold
24694
24695 \backslash
24696 fboxrule
24697 \series default
24698 \InsetSpace \thinspace{}
24699 =\InsetSpace \thinspace{}
24700 2\InsetSpace \thinspace{}
24701 pt
24702 \end_layout
24703
24704 \end_inset
24705
24706
24707 \begin_inset ERT
24708 status collapsed
24709
24710 \begin_layout Standard
24711
24712
24713 \backslash
24714 setlength{
24715 \backslash
24716 fboxrule}{0.4pt}
24717 \end_layout
24718
24719 \end_inset
24720
24721
24722 \end_layout
24723
24724 \begin_layout Standard
24725 \begin_inset VSpace bigskip
24726 \end_inset
24727
24728 The space between the frame and the box content is for all frame styles
24729  by default 3\InsetSpace \thinspace{}
24730 pt.
24731  You can change it by setting the length 
24732 \series bold
24733
24734 \backslash
24735 fboxsep
24736 \series default
24737  to another value.
24738  For example the command
24739 \end_layout
24740
24741 \begin_layout Standard
24742
24743 \series bold
24744
24745 \backslash
24746 setlength{
24747 \backslash
24748 fboxsep}{10pt}
24749 \end_layout
24750
24751 \begin_layout Standard
24752 sets the value to 10\InsetSpace \thinspace{}
24753 pt, like for the following box:
24754 \end_layout
24755
24756 \begin_layout Standard
24757 \begin_inset ERT
24758 status collapsed
24759
24760 \begin_layout Standard
24761
24762
24763 \backslash
24764 setlength{
24765 \backslash
24766 fboxsep}{10pt}
24767 \end_layout
24768
24769 \end_inset
24770
24771
24772 \begin_inset Box Boxed
24773 position "c"
24774 hor_pos "c"
24775 has_inner_box 1
24776 inner_pos "c"
24777 use_parbox 0
24778 width "25col%"
24779 special "none"
24780 height "1in"
24781 height_special "totalheight"
24782 status collapsed
24783
24784 \begin_layout Standard
24785 \align center
24786 Rectangular box with 
24787 \series bold
24788
24789 \backslash
24790 fboxsep
24791 \series default
24792 \InsetSpace \thinspace{}
24793 =\InsetSpace \thinspace{}
24794 10\InsetSpace \thinspace{}
24795 pt
24796 \end_layout
24797
24798 \end_inset
24799
24800
24801 \begin_inset ERT
24802 status collapsed
24803
24804 \begin_layout Standard
24805
24806
24807 \backslash
24808 setlength{
24809 \backslash
24810 fboxsep}{3pt}
24811 \end_layout
24812
24813 \end_inset
24814
24815
24816 \end_layout
24817
24818 \begin_layout Standard
24819 \begin_inset VSpace bigskip
24820 \end_inset
24821
24822 The diameter of the round corners of the oval boxes can be set with the
24823  command 
24824 \series bold
24825
24826 \backslash
24827 cornersize
24828 \series default
24829 .
24830  The command
24831 \end_layout
24832
24833 \begin_layout Standard
24834
24835 \series bold
24836
24837 \backslash
24838 cornersize*{1cm}
24839 \end_layout
24840
24841 \begin_layout Standard
24842 sets the diameter to 1\InsetSpace \thinspace{}
24843 cm.
24844  The command
24845 \end_layout
24846
24847 \begin_layout Standard
24848
24849 \series bold
24850
24851 \backslash
24852 cornersize{num}
24853 \end_layout
24854
24855 \begin_layout Standard
24856 sets the diameter to 
24857 \family sans
24858 num\InsetSpace \thinspace{}
24859 ×\InsetSpace \thinspace{}
24860 minimum(width and heigth of box)
24861 \family default
24862 .
24863  The default is 
24864 \series bold
24865
24866 \backslash
24867 cornersize{0.5}
24868 \series default
24869 .
24870 \end_layout
24871
24872 \begin_layout Standard
24873 \begin_inset ERT
24874 status collapsed
24875
24876 \begin_layout Standard
24877
24878
24879 \backslash
24880 cornersize*{1.5cm}
24881 \end_layout
24882
24883 \end_inset
24884
24885
24886 \begin_inset Box Ovalbox
24887 position "c"
24888 hor_pos "c"
24889 has_inner_box 1
24890 inner_pos "c"
24891 use_parbox 0
24892 width "25col%"
24893 special "none"
24894 height "1in"
24895 height_special "totalheight"
24896 status collapsed
24897
24898 \begin_layout Standard
24899 \align center
24900 Oval box with 
24901 \series bold
24902
24903 \backslash
24904 cornersize
24905 \series default
24906 \InsetSpace \thinspace{}
24907 =\InsetSpace \thinspace{}
24908 1.5\InsetSpace \thinspace{}
24909 cm
24910 \end_layout
24911
24912 \end_inset
24913
24914
24915 \begin_inset ERT
24916 status collapsed
24917
24918 \begin_layout Standard
24919
24920
24921 \backslash
24922 cornersize{0.5}
24923 \end_layout
24924
24925 \end_inset
24926
24927
24928 \end_layout
24929
24930 \begin_layout Standard
24931 \begin_inset VSpace bigskip
24932 \end_inset
24933
24934 The size of the shadow can be adjusted by changing the length 
24935 \series bold
24936
24937 \backslash
24938 shadowsize
24939 \series default
24940 .
24941  It it set to 2\InsetSpace \thinspace{}
24942 pt for the following box by this command:
24943 \end_layout
24944
24945 \begin_layout Standard
24946
24947 \series bold
24948
24949 \backslash
24950 setlength{
24951 \backslash
24952 shadowsize}{2pt}
24953 \end_layout
24954
24955 \begin_layout Standard
24956 \begin_inset ERT
24957 status collapsed
24958
24959 \begin_layout Standard
24960
24961
24962 \backslash
24963 setlength{
24964 \backslash
24965 shadowsize}{2pt}
24966 \end_layout
24967
24968 \end_inset
24969
24970
24971 \begin_inset Box Shadowbox
24972 position "c"
24973 hor_pos "c"
24974 has_inner_box 1
24975 inner_pos "c"
24976 use_parbox 0
24977 width "25col%"
24978 special "none"
24979 height "1in"
24980 height_special "totalheight"
24981 status collapsed
24982
24983 \begin_layout Standard
24984 \align center
24985 Shadow box with 
24986 \series bold
24987
24988 \backslash
24989 shadowsize
24990 \series default
24991 \InsetSpace \thinspace{}
24992 =\InsetSpace \thinspace{}
24993 2\InsetSpace \thinspace{}
24994 pt
24995 \end_layout
24996
24997 \end_inset
24998
24999
25000 \begin_inset ERT
25001 status collapsed
25002
25003 \begin_layout Standard
25004
25005
25006 \backslash
25007 setlength{
25008 \backslash
25009 shadowsize}{4pt}
25010 \end_layout
25011
25012 \end_inset
25013
25014
25015 \end_layout
25016
25017 \begin_layout Standard
25018 \begin_inset VSpace bigskip
25019 \end_inset
25020
25021 Changed lengths and widths are valid for all boxes following the commands
25022  that change them.
25023 \end_layout
25024
25025 \begin_layout Section
25026 Minipages
25027 \begin_inset LatexCommand label
25028 name "sec:Minipages"
25029
25030 \end_inset
25031
25032
25033 \begin_inset LatexCommand index
25034 name "Boxes ! Minipages"
25035
25036 \end_inset
25037
25038
25039 \end_layout
25040
25041 \begin_layout Standard
25042 Minipages are treated by LaTeX as pages within pages and can therefore for
25043  example have their own footnotes.
25044 \end_layout
25045
25046 \begin_layout Standard
25047 Minipages are useful when you write documents with different languages.
25048 \end_layout
25049
25050 \begin_layout Standard
25051 Below are two example minipages side by side.
25052  Their width is set to 45\InsetSpace \thinspace{}
25053 col% and they are separated by a horizontal fill,
25054  that was inserted via the menu 
25055 \family sans
25056 Insert\SpecialChar \menuseparator
25057 Special\InsetSpace ~
25058 Formatting\SpecialChar \menuseparator
25059 Horizontal\InsetSpace ~
25060 Fill
25061 \family default
25062 .
25063 \end_layout
25064
25065 \begin_layout Standard
25066 \begin_inset Box Frameless
25067 position "t"
25068 hor_pos "c"
25069 has_inner_box 1
25070 inner_pos "c"
25071 use_parbox 0
25072 width "45col%"
25073 special "none"
25074 height "1in"
25075 height_special "totalheight"
25076 status open
25077
25078 \begin_layout Standard
25079
25080 \lang german
25081 Dies ist ein deutscher Text.
25082  Dies ist ein deutscher Text.
25083  Dies ist ein deutscher Text.
25084  Dies ist ein deutscher Text.
25085  Dies ist ein deutscher Text.
25086  Dies ist ein deutscher Text.
25087  Dies ist ein deutscher Text.
25088  Dies ist ein deutscher Text.
25089  Dies ist ein deutscher Text.
25090  Dies ist ein deutscher Text.
25091  Dies ist ein deutscher Text.
25092  Dies ist ein deutscher Text.
25093  Dies ist ein deutscher Text
25094 \begin_inset Foot
25095 status collapsed
25096
25097 \begin_layout Standard
25098
25099 \lang german
25100 Dies ist eine deutsche Fußnote.
25101 \end_layout
25102
25103 \end_inset
25104
25105 .
25106  Dies ist ein deutscher Text.
25107  Dies ist ein deutscher Text.
25108 \end_layout
25109
25110 \end_inset
25111
25112
25113 \hfill
25114
25115 \begin_inset Box Frameless
25116 position "t"
25117 hor_pos "c"
25118 has_inner_box 1
25119 inner_pos "c"
25120 use_parbox 0
25121 width "45col%"
25122 special "none"
25123 height "1in"
25124 height_special "totalheight"
25125 status open
25126
25127 \begin_layout Standard
25128 This is an English Text.
25129  This is an English Text.
25130  This is an English Text.
25131  This is an English Text.
25132  This is an English Text.
25133  This is an English Text.
25134  This is an English Text.
25135  This is an English Text.
25136  This is an English Text.
25137  This is an English Text.
25138  This is an English Text.
25139  This is an English Text.
25140  This is an English Text.
25141  This is an English Text.
25142  This is an English Text.
25143  This is an English Text.
25144 \begin_inset Foot
25145 status collapsed
25146
25147 \begin_layout Standard
25148 This is an English footnote.
25149 \end_layout
25150
25151 \end_inset
25152
25153  This is an English Text.
25154  
25155 \end_layout
25156
25157 \end_inset
25158
25159
25160 \end_layout
25161
25162 \begin_layout Standard
25163 \begin_inset VSpace bigskip
25164 \end_inset
25165
25166 Another application for minipages are footnotes within tables.
25167  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25168  bottom of the current page.
25169  But when you put the table with the footnote to a minipage, the footnote
25170  will appear at its bottom, numbered with Latin letters.
25171  The footnote number is reset to 1 in every minipage but not outside the
25172  minipages.
25173 \end_layout
25174
25175 \begin_layout Standard
25176 The footnote of this table doesn't appear: 
25177 \begin_inset Tabular
25178 <lyxtabular version="3" rows="3" columns="4">
25179 <features>
25180 <column alignment="center" valignment="top" leftline="true" width="0pt">
25181 <column alignment="center" valignment="top" leftline="true" width="0pt">
25182 <column alignment="center" valignment="top" leftline="true" width="0pt">
25183 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25184 <row topline="true">
25185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25186 \begin_inset Text
25187
25188 \begin_layout Standard
25189 1
25190 \end_layout
25191
25192 \end_inset
25193 </cell>
25194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25195 \begin_inset Text
25196
25197 \begin_layout Standard
25198 2
25199 \end_layout
25200
25201 \end_inset
25202 </cell>
25203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25204 \begin_inset Text
25205
25206 \begin_layout Standard
25207 3
25208 \begin_inset Foot
25209 status collapsed
25210
25211 \begin_layout Standard
25212 This is a footnote within a table.
25213 \end_layout
25214
25215 \end_inset
25216
25217
25218 \end_layout
25219
25220 \end_inset
25221 </cell>
25222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25223 \begin_inset Text
25224
25225 \begin_layout Standard
25226 4
25227 \end_layout
25228
25229 \end_inset
25230 </cell>
25231 </row>
25232 <row topline="true">
25233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25234 \begin_inset Text
25235
25236 \begin_layout Standard
25237 a
25238 \end_layout
25239
25240 \end_inset
25241 </cell>
25242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25243 \begin_inset Text
25244
25245 \begin_layout Standard
25246 b
25247 \end_layout
25248
25249 \end_inset
25250 </cell>
25251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25252 \begin_inset Text
25253
25254 \begin_layout Standard
25255 c
25256 \end_layout
25257
25258 \end_inset
25259 </cell>
25260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25261 \begin_inset Text
25262
25263 \begin_layout Standard
25264 d
25265 \end_layout
25266
25267 \end_inset
25268 </cell>
25269 </row>
25270 <row topline="true" bottomline="true">
25271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25272 \begin_inset Text
25273
25274 \begin_layout Standard
25275 e
25276 \end_layout
25277
25278 \end_inset
25279 </cell>
25280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25281 \begin_inset Text
25282
25283 \begin_layout Standard
25284 f
25285 \end_layout
25286
25287 \end_inset
25288 </cell>
25289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25290 \begin_inset Text
25291
25292 \begin_layout Standard
25293 g
25294 \end_layout
25295
25296 \end_inset
25297 </cell>
25298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25299 \begin_inset Text
25300
25301 \begin_layout Standard
25302 h
25303 \end_layout
25304
25305 \end_inset
25306 </cell>
25307 </row>
25308 </lyxtabular>
25309
25310 \end_inset
25311
25312
25313 \end_layout
25314
25315 \begin_layout Standard
25316 \align center
25317 \begin_inset Box Frameless
25318 position "t"
25319 hor_pos "c"
25320 has_inner_box 1
25321 inner_pos "c"
25322 use_parbox 0
25323 width "30col%"
25324 special "none"
25325 height "1in"
25326 height_special "totalheight"
25327 status open
25328
25329 \begin_layout Standard
25330 \align center
25331 \begin_inset Tabular
25332 <lyxtabular version="3" rows="3" columns="4">
25333 <features>
25334 <column alignment="center" valignment="top" leftline="true" width="0pt">
25335 <column alignment="center" valignment="top" leftline="true" width="0pt">
25336 <column alignment="center" valignment="top" leftline="true" width="0pt">
25337 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25338 <row topline="true">
25339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25340 \begin_inset Text
25341
25342 \begin_layout Standard
25343 1
25344 \end_layout
25345
25346 \end_inset
25347 </cell>
25348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25349 \begin_inset Text
25350
25351 \begin_layout Standard
25352 2
25353 \end_layout
25354
25355 \end_inset
25356 </cell>
25357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25358 \begin_inset Text
25359
25360 \begin_layout Standard
25361 3
25362 \begin_inset Foot
25363 status collapsed
25364
25365 \begin_layout Standard
25366 This is a footnote within a table.
25367 \end_layout
25368
25369 \end_inset
25370
25371
25372 \end_layout
25373
25374 \end_inset
25375 </cell>
25376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25377 \begin_inset Text
25378
25379 \begin_layout Standard
25380 4
25381 \end_layout
25382
25383 \end_inset
25384 </cell>
25385 </row>
25386 <row topline="true">
25387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25388 \begin_inset Text
25389
25390 \begin_layout Standard
25391 a
25392 \end_layout
25393
25394 \end_inset
25395 </cell>
25396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25397 \begin_inset Text
25398
25399 \begin_layout Standard
25400 b
25401 \end_layout
25402
25403 \end_inset
25404 </cell>
25405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25406 \begin_inset Text
25407
25408 \begin_layout Standard
25409 c
25410 \end_layout
25411
25412 \end_inset
25413 </cell>
25414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25415 \begin_inset Text
25416
25417 \begin_layout Standard
25418 d
25419 \end_layout
25420
25421 \end_inset
25422 </cell>
25423 </row>
25424 <row topline="true" bottomline="true">
25425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25426 \begin_inset Text
25427
25428 \begin_layout Standard
25429 e
25430 \end_layout
25431
25432 \end_inset
25433 </cell>
25434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25435 \begin_inset Text
25436
25437 \begin_layout Standard
25438 f
25439 \end_layout
25440
25441 \end_inset
25442 </cell>
25443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25444 \begin_inset Text
25445
25446 \begin_layout Standard
25447 g
25448 \end_layout
25449
25450 \end_inset
25451 </cell>
25452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25453 \begin_inset Text
25454
25455 \begin_layout Standard
25456 h
25457 \end_layout
25458
25459 \end_inset
25460 </cell>
25461 </row>
25462 </lyxtabular>
25463
25464 \end_inset
25465
25466
25467 \end_layout
25468
25469 \end_inset
25470
25471
25472 \end_layout
25473
25474 \begin_layout Standard
25475 \begin_inset VSpace bigskip
25476 \end_inset
25477
25478 The document-wide paragraph settings are ignored within minipages.
25479  That means that there will be no space between paragraphs in minipages
25480  although you set it to e.\InsetSpace \thinspace{}
25481 g.\InsetSpace ~
25482
25483 \family sans
25484 MedSkip
25485 \family default
25486  in the document settings.
25487 \end_layout
25488
25489 \begin_layout Standard
25490 Minipages can also be used to set a background color for text parts, see
25491  section\InsetSpace ~
25492
25493 \begin_inset LatexCommand ref
25494 reference "sub:Color-for-Paragraphs"
25495
25496 \end_inset
25497
25498 .
25499 \end_layout
25500
25501 \begin_layout Standard
25502 \begin_inset Note Greyedout
25503 status open
25504
25505 \begin_layout Standard
25506
25507 \series bold
25508 Note:
25509 \series default
25510  You cannot have floats or margin notes inside minipages but minipages can
25511  be used inside tables, floats, and other boxes.
25512 \end_layout
25513
25514 \end_inset
25515
25516
25517 \end_layout
25518
25519 \begin_layout Section
25520 Parboxes
25521 \begin_inset LatexCommand label
25522 name "sec:Parboxes"
25523
25524 \end_inset
25525
25526
25527 \begin_inset LatexCommand index
25528 name "Boxes ! Parboxes"
25529
25530 \end_inset
25531
25532
25533 \end_layout
25534
25535 \begin_layout Standard
25536 Parboxes are very similar to minipages with the difference that they cannot
25537  have footnotes.
25538  The main difference to minipages is that minipages are in contrary to parboxes
25539  no real boxes but LaTeX-environments.
25540 \end_layout
25541
25542 \begin_layout Standard
25543 \align center
25544 \begin_inset Box Frameless
25545 position "t"
25546 hor_pos "c"
25547 has_inner_box 1
25548 inner_pos "t"
25549 use_parbox 1
25550 width "33col%"
25551 special "none"
25552 height "1in"
25553 height_special "totalheight"
25554 status collapsed
25555
25556 \begin_layout Standard
25557 This a text within a parbox.
25558  This a text within a parbox.
25559 \end_layout
25560
25561 \begin_layout Standard
25562 This footnote won't appear:
25563 \begin_inset Foot
25564 status collapsed
25565
25566 \begin_layout Standard
25567 This footnote is inside a parbox and will therefore not appear.
25568 \end_layout
25569
25570 \end_inset
25571
25572
25573 \end_layout
25574
25575 \end_inset
25576
25577
25578 \end_layout
25579
25580 \begin_layout Section
25581 Boxes for Words and Characters
25582 \begin_inset LatexCommand index
25583 name "Boxes ! for Characters"
25584
25585 \end_inset
25586
25587
25588 \end_layout
25589
25590 \begin_layout Subsection
25591 Prevent Hyphenation
25592 \begin_inset LatexCommand label
25593 name "sec:Prevent-Hyphenation"
25594
25595 \end_inset
25596
25597
25598 \begin_inset LatexCommand index
25599 name "Boxes ! to Prevent Hyphenation"
25600
25601 \end_inset
25602
25603
25604 \end_layout
25605
25606 \begin_layout Standard
25607 You can use a special kind of boxes to prevent words or text to be hyphenated.
25608 \newline
25609 Her
25610 e is an example text:
25611 \end_layout
25612
25613 \begin_layout Standard
25614 This line is an example to show how you can prevent the hyphenation of 
25615 \begin_inset Quotes eld
25616 \end_inset
25617
25618 veryverylongword
25619 \begin_inset Quotes erd
25620 \end_inset
25621
25622 .
25623 \end_layout
25624
25625 \begin_layout Standard
25626 To prevent the hyphenation of the word 
25627 \begin_inset Quotes eld
25628 \end_inset
25629
25630 veryverylongword
25631 \begin_inset Quotes erd
25632 \end_inset
25633
25634 , add the command
25635 \end_layout
25636
25637 \begin_layout Standard
25638
25639 \series bold
25640
25641 \backslash
25642 mbox{
25643 \end_layout
25644
25645 \begin_layout Standard
25646 in ERT before the word.
25647  Behind the word insert a closing brace 
25648 \begin_inset Quotes eld
25649 \end_inset
25650
25651
25652 \series bold
25653 }
25654 \series default
25655
25656 \begin_inset Quotes erd
25657 \end_inset
25658
25659  in ERT.
25660 \begin_inset ERT
25661 status collapsed
25662
25663 \begin_layout Standard
25664
25665
25666 \backslash
25667 pagebreak 
25668 \end_layout
25669
25670 \end_inset
25671
25672
25673 \end_layout
25674
25675 \begin_layout Standard
25676 This is the result:
25677 \end_layout
25678
25679 \begin_layout Standard
25680 This line is an example to show how you can prevent the hyphenation of 
25681 \begin_inset ERT
25682 status collapsed
25683
25684 \begin_layout Standard
25685
25686
25687 \backslash
25688 mbox{
25689 \end_layout
25690
25691 \end_inset
25692
25693
25694 \begin_inset Quotes eld
25695 \end_inset
25696
25697 veryverylongword
25698 \begin_inset Quotes erd
25699 \end_inset
25700
25701 .
25702 \begin_inset ERT
25703 status collapsed
25704
25705 \begin_layout Standard
25706
25707 }
25708 \end_layout
25709
25710 \end_inset
25711
25712
25713 \end_layout
25714
25715 \begin_layout Standard
25716 You can alternatively set the command 
25717 \begin_inset Quotes eld
25718 \end_inset
25719
25720
25721 \series bold
25722
25723 \backslash
25724 -
25725 \series default
25726
25727 \begin_inset Quotes grd
25728 \end_inset
25729
25730  as ERT directly before the word:
25731 \end_layout
25732
25733 \begin_layout Standard
25734 This line is an example to show how you can prevent the hyphenation of 
25735 \begin_inset Quotes eld
25736 \end_inset
25737
25738
25739 \begin_inset ERT
25740 status collapsed
25741
25742 \begin_layout Standard
25743
25744
25745 \backslash
25746 -
25747 \end_layout
25748
25749 \end_inset
25750
25751 veryverylongword
25752 \begin_inset Quotes erd
25753 \end_inset
25754
25755 .
25756 \end_layout
25757
25758 \begin_layout Standard
25759 Of course the word now protrudes over the side margin.
25760  To avoid this, add via the menu 
25761 \family sans
25762 Insert\SpecialChar \menuseparator
25763 Special\InsetSpace ~
25764 Formatting\SpecialChar \menuseparator
25765 Line\InsetSpace ~
25766 Break
25767 \family default
25768  (shortcut 
25769 \series bold
25770 Ctrl-Return
25771 \series default
25772 ) a line break before the word:
25773 \end_layout
25774
25775 \begin_layout Standard
25776 This line is an example to show how you can prevent the hyphenation of 
25777 \newline
25778
25779 \begin_inset ERT
25780 status collapsed
25781
25782 \begin_layout Standard
25783
25784
25785 \backslash
25786 mbox{
25787 \end_layout
25788
25789 \end_inset
25790
25791
25792 \begin_inset Quotes eld
25793 \end_inset
25794
25795 veryverylongword
25796 \begin_inset Quotes erd
25797 \end_inset
25798
25799 .
25800 \begin_inset ERT
25801 status collapsed
25802
25803 \begin_layout Standard
25804
25805 }
25806 \end_layout
25807
25808 \end_inset
25809
25810
25811 \end_layout
25812
25813 \begin_layout Subsection
25814 Vertical Alignment
25815 \begin_inset LatexCommand label
25816 name "sub:Vertical-Alignment"
25817
25818 \end_inset
25819
25820
25821 \begin_inset LatexCommand index
25822 name "Boxes ! for Vertical Alignment"
25823
25824 \end_inset
25825
25826
25827 \begin_inset LatexCommand index
25828 name "Boxes ! Raiseboxes"
25829
25830 \end_inset
25831
25832
25833 \end_layout
25834
25835 \begin_layout Standard
25836 With the help of the command 
25837 \series bold
25838
25839 \backslash
25840 raisebox
25841 \series default
25842  you can align words, characters or other boxes vertically to the surrounding
25843  text.
25844  
25845 \series bold
25846
25847 \backslash
25848 raisebox
25849 \series default
25850  is used with the following scheme:
25851 \end_layout
25852
25853 \begin_layout Standard
25854
25855 \series bold
25856
25857 \backslash
25858 raisebox{lift}[height][depth]{box content}
25859 \end_layout
25860
25861 \begin_layout Standard
25862 The lift can be a positive value to raise the box or a negative value to
25863  lower the box.
25864 \end_layout
25865
25866 \begin_layout Standard
25867 To align for example the word 
25868 \begin_inset Quotes eld
25869 \end_inset
25870
25871 preventing
25872 \begin_inset Quotes erd
25873 \end_inset
25874
25875  so that the bottom of the 
25876 \begin_inset Quotes eld
25877 \end_inset
25878
25879 deepest
25880 \begin_inset Quotes erd
25881 \end_inset
25882
25883  character 
25884 \begin_inset Quotes eld
25885 \end_inset
25886
25887 p
25888 \begin_inset Quotes erd
25889 \end_inset
25890
25891  is at the baseline, insert the command
25892 \end_layout
25893
25894 \begin_layout Standard
25895
25896 \series bold
25897
25898 \backslash
25899 raisebox{
25900 \backslash
25901 depth}{
25902 \end_layout
25903
25904 \begin_layout Standard
25905 in ERT before the word.
25906  Behind the word insert a closing brace 
25907 \begin_inset Quotes eld
25908 \end_inset
25909
25910
25911 \series bold
25912 }
25913 \series default
25914
25915 \begin_inset Quotes erd
25916 \end_inset
25917
25918  in ERT.
25919 \newline
25920 This is the result:
25921 \end_layout
25922
25923 \begin_layout Standard
25924 This is a text line with the word 
25925 \begin_inset ERT
25926 status collapsed
25927
25928 \begin_layout Standard
25929
25930
25931 \backslash
25932 raisebox{
25933 \backslash
25934 depth}{
25935 \end_layout
25936
25937 \end_inset
25938
25939
25940 \begin_inset Quotes eld
25941 \end_inset
25942
25943 preventing
25944 \begin_inset Quotes erd
25945 \end_inset
25946
25947
25948 \begin_inset ERT
25949 status collapsed
25950
25951 \begin_layout Standard
25952
25953 }
25954 \end_layout
25955
25956 \end_inset
25957
25958  as raised word.
25959 \end_layout
25960
25961 \begin_layout Standard
25962 \begin_inset VSpace bigskip
25963 \end_inset
25964
25965 When you raise or lower characters in a line, the line distance will be
25966  spread:
25967 \end_layout
25968
25969 \begin_layout Standard
25970 This is a text line with the word 
25971 \begin_inset ERT
25972 status collapsed
25973
25974 \begin_layout Standard
25975
25976
25977 \backslash
25978 raisebox{-
25979 \backslash
25980 depth}{
25981 \end_layout
25982
25983 \end_inset
25984
25985
25986 \begin_inset Quotes eld
25987 \end_inset
25988
25989 preventing
25990 \begin_inset Quotes erd
25991 \end_inset
25992
25993
25994 \begin_inset ERT
25995 status collapsed
25996
25997 \begin_layout Standard
25998
25999 }
26000 \end_layout
26001
26002 \end_inset
26003
26004  as lowered word.
26005 \newline
26006 This is a text line with the word 
26007 \begin_inset ERT
26008 status collapsed
26009
26010 \begin_layout Standard
26011
26012
26013 \backslash
26014 raisebox{0.5cm}{
26015 \end_layout
26016
26017 \end_inset
26018
26019
26020 \begin_inset Quotes eld
26021 \end_inset
26022
26023 testing
26024 \begin_inset Quotes erd
26025 \end_inset
26026
26027
26028 \begin_inset ERT
26029 status collapsed
26030
26031 \begin_layout Standard
26032
26033 }
26034 \end_layout
26035
26036 \end_inset
26037
26038  as raised word.
26039 \end_layout
26040
26041 \begin_layout Standard
26042 If you want to prevent this for a certain reason, set the box height to
26043  a zero value.
26044  For example use
26045 \end_layout
26046
26047 \begin_layout Standard
26048
26049 \series bold
26050
26051 \backslash
26052 raisebox{-
26053 \backslash
26054 depth}[0pt]{
26055 \end_layout
26056
26057 \begin_layout Standard
26058 This is a text line with the word 
26059 \begin_inset ERT
26060 status collapsed
26061
26062 \begin_layout Standard
26063
26064
26065 \backslash
26066 raisebox{-
26067 \backslash
26068 depth}[0pt]{
26069 \end_layout
26070
26071 \end_inset
26072
26073
26074 \begin_inset Quotes eld
26075 \end_inset
26076
26077 preventing
26078 \begin_inset Quotes erd
26079 \end_inset
26080
26081
26082 \begin_inset ERT
26083 status collapsed
26084
26085 \begin_layout Standard
26086
26087 }
26088 \end_layout
26089
26090 \end_inset
26091
26092  as lowered word.
26093 \newline
26094 This is a text line with the word 
26095 \begin_inset ERT
26096 status collapsed
26097
26098 \begin_layout Standard
26099
26100
26101 \backslash
26102 raisebox{0.5cm}[0pt]{
26103 \end_layout
26104
26105 \end_inset
26106
26107
26108 \begin_inset Quotes eld
26109 \end_inset
26110
26111 testing
26112 \begin_inset Quotes erd
26113 \end_inset
26114
26115
26116 \begin_inset ERT
26117 status collapsed
26118
26119 \begin_layout Standard
26120
26121 }
26122 \end_layout
26123
26124 \end_inset
26125
26126  as raised word.
26127 \end_layout
26128
26129 \begin_layout Section
26130 Colored Boxes
26131 \begin_inset LatexCommand label
26132 name "sec:Colored-Boxes"
26133
26134 \end_inset
26135
26136
26137 \begin_inset LatexCommand index
26138 name "Boxes ! Color"
26139
26140 \end_inset
26141
26142
26143 \end_layout
26144
26145 \begin_layout Subsection
26146 Color for Text
26147 \begin_inset LatexCommand index
26148 name "Color ! for Text"
26149
26150 \end_inset
26151
26152
26153 \end_layout
26154
26155 \begin_layout Standard
26156 To color the background of text the text must be put into a so called 
26157 \begin_inset Quotes eld
26158 \end_inset
26159
26160 colorbox
26161 \begin_inset Quotes erd
26162 \end_inset
26163
26164 .
26165  This requires that the LaTeX-package 
26166 \series bold
26167 color
26168 \series default
26169
26170 \begin_inset LatexCommand index
26171 name "LaTeX-packages ! color"
26172
26173 \end_inset
26174
26175  is loaded in the document preamble with the command
26176 \end_layout
26177
26178 \begin_layout Standard
26179
26180 \series bold
26181
26182 \backslash
26183 @ifundef\SpecialChar \textcompwordmark{}
26184 ined{textcolor}
26185 \newline
26186
26187 \begin_inset ERT
26188 status collapsed
26189
26190 \begin_layout Standard
26191
26192
26193 \backslash
26194 hphantom{ }
26195 \end_layout
26196
26197 \end_inset
26198
26199 {
26200 \backslash
26201 usepackage{color}}{}
26202 \end_layout
26203
26204 \begin_layout Standard
26205 The package 
26206 \series bold
26207 color
26208 \series default
26209  will be loaded automatically by LyX when you color text
26210 \begin_inset Foot
26211 status collapsed
26212
26213 \begin_layout Standard
26214 To avoid that it is loaded twice the command 
26215 \series bold
26216
26217 \backslash
26218 @ifundef\SpecialChar \textcompwordmark{}
26219 ined
26220 \series default
26221  is used.
26222 \end_layout
26223
26224 \end_inset
26225
26226 .
26227 \end_layout
26228
26229 \begin_layout Standard
26230 \begin_inset VSpace medskip
26231 \end_inset
26232
26233 Colorboxes are created with the command 
26234 \series bold
26235
26236 \backslash
26237 colorbox
26238 \series default
26239 .
26240  This will be used with the following scheme:
26241 \end_layout
26242
26243 \begin_layout Standard
26244
26245 \series bold
26246
26247 \backslash
26248 colorbox{color}{box content}
26249 \end_layout
26250
26251 \begin_layout Standard
26252 The box content can also be a box and colorboxes can also be within other
26253  boxes.
26254 \end_layout
26255
26256 \begin_layout Standard
26257 The following colors are predefined:
26258 \newline
26259
26260 \family sans
26261 black
26262 \family default
26263
26264 \family sans
26265 blue
26266 \family default
26267
26268 \family sans
26269 cyan
26270 \family default
26271 \series bold
26272 ,
26273 \series default
26274  
26275 \family sans
26276 green
26277 \family default
26278
26279 \family sans
26280 magenta
26281 \family default
26282
26283 \family sans
26284 red
26285 \family default
26286
26287 \family sans
26288 white
26289 \family default
26290 , and 
26291 \family sans
26292 yellow
26293 \family default
26294 .
26295 \newline
26296 You can also define your own color as described in section\InsetSpace ~
26297
26298 \begin_inset LatexCommand ref
26299 reference "sec:Colored-Tables"
26300
26301 \end_inset
26302
26303 .
26304 \end_layout
26305
26306 \begin_layout Standard
26307 To have e.\InsetSpace \thinspace{}
26308 g.\InsetSpace ~
26309 a red background for a word, insert the command
26310 \end_layout
26311
26312 \begin_layout Standard
26313
26314 \series bold
26315
26316 \backslash
26317 colorbox{red}{
26318 \end_layout
26319
26320 \begin_layout Standard
26321 before the word in ERT.
26322  Behind the word insert a closing brace 
26323 \begin_inset Quotes eld
26324 \end_inset
26325
26326
26327 \series bold
26328 }
26329 \series default
26330
26331 \begin_inset Quotes erd
26332 \end_inset
26333
26334  in ERT.
26335 \newline
26336 This is the result:
26337 \end_layout
26338
26339 \begin_layout Standard
26340 This is a line where the word 
26341 \begin_inset ERT
26342 status collapsed
26343
26344 \begin_layout Standard
26345
26346
26347 \backslash
26348 colorbox{red}{
26349 \end_layout
26350
26351 \end_inset
26352
26353
26354 \begin_inset Quotes eld
26355 \end_inset
26356
26357 Attention!
26358 \begin_inset Quotes erd
26359 \end_inset
26360
26361
26362 \begin_inset ERT
26363 status collapsed
26364
26365 \begin_layout Standard
26366
26367 }
26368 \end_layout
26369
26370 \end_inset
26371
26372  has a red background.
26373 \end_layout
26374
26375 \begin_layout Standard
26376 \begin_inset VSpace bigskip
26377 \end_inset
26378
26379 If you would have the box frame in a different color, you can use the command
26380  
26381 \series bold
26382
26383 \backslash
26384 fcolorbox
26385 \series default
26386  with the following scheme:
26387 \end_layout
26388
26389 \begin_layout Standard
26390
26391 \series bold
26392
26393 \backslash
26394 fcolorbox{frame color}{box color}{box content}
26395 \end_layout
26396
26397 \begin_layout Standard
26398
26399 \series bold
26400
26401 \backslash
26402 fcolorbox
26403 \series default
26404  is an extension to 
26405 \series bold
26406
26407 \backslash
26408 colorbox
26409 \series default
26410 .
26411  The frame thickness and the space between the frame and the box content
26412  can be adjusted with the lengths 
26413 \series bold
26414
26415 \backslash
26416 fboxrule
26417 \series default
26418  and 
26419 \series bold
26420
26421 \backslash
26422 fboxsep
26423 \series default
26424 , respectively, as described in section\InsetSpace ~
26425
26426 \begin_inset LatexCommand ref
26427 reference "sec:Framed-Boxes"
26428
26429 \end_inset
26430
26431 .
26432 \end_layout
26433
26434 \begin_layout Standard
26435 For the following example the command
26436 \end_layout
26437
26438 \begin_layout Standard
26439
26440 \series bold
26441
26442 \backslash
26443 fcolorbox{cyan}{magenta}{
26444 \end_layout
26445
26446 \begin_layout Standard
26447 was used.
26448 \end_layout
26449
26450 \begin_layout Standard
26451 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26452 mm:
26453 \newline
26454
26455 \begin_inset ERT
26456 status collapsed
26457
26458 \begin_layout Standard
26459
26460
26461 \backslash
26462 fboxrule 1mm 
26463 \backslash
26464 fboxsep 1mm
26465 \end_layout
26466
26467 \end_inset
26468
26469
26470 \begin_inset ERT
26471 status collapsed
26472
26473 \begin_layout Standard
26474
26475
26476 \backslash
26477 fcolorbox{cyan}{magenta}{
26478 \end_layout
26479
26480 \end_inset
26481
26482 This is text within a colored, framed box.
26483 \begin_inset ERT
26484 status collapsed
26485
26486 \begin_layout Standard
26487
26488 }
26489 \end_layout
26490
26491 \end_inset
26492
26493
26494 \end_layout
26495
26496 \begin_layout Standard
26497 \begin_inset VSpace bigskip
26498 \end_inset
26499
26500 Of course you can also have colored text inside a colorbox:
26501 \newline
26502
26503 \begin_inset ERT
26504 status collapsed
26505
26506 \begin_layout Standard
26507
26508
26509 \backslash
26510 fcolorbox{cyan}{magenta}{
26511 \end_layout
26512
26513 \end_inset
26514
26515
26516 \color yellow
26517 This is colored text within a colored, framed box.
26518 \color none
26519
26520 \begin_inset ERT
26521 status collapsed
26522
26523 \begin_layout Standard
26524
26525 }
26526 \end_layout
26527
26528 \end_inset
26529
26530
26531 \begin_inset ERT
26532 status collapsed
26533
26534 \begin_layout Standard
26535
26536
26537 \backslash
26538 fboxrule 0.4pt 
26539 \backslash
26540 fboxsep 3pt
26541 \end_layout
26542
26543 \end_inset
26544
26545
26546 \end_layout
26547
26548 \begin_layout Standard
26549
26550 \series bold
26551 \begin_inset VSpace medskip
26552 \end_inset
26553
26554
26555 \end_layout
26556
26557 \begin_layout Standard
26558 \begin_inset Note Greyedout
26559 status open
26560
26561 \begin_layout Standard
26562
26563 \series bold
26564 Note:
26565 \series default
26566  Text in colorboxes cannot have line breaks.
26567  To color multiple text lines or paragraphs, use a box inside a colorbox
26568  as described in the following.
26569 \end_layout
26570
26571 \end_inset
26572
26573
26574 \end_layout
26575
26576 \begin_layout Subsection
26577 Color for Paragraphs
26578 \begin_inset LatexCommand label
26579 name "sub:Color-for-Paragraphs"
26580
26581 \end_inset
26582
26583
26584 \begin_inset LatexCommand index
26585 name "Color ! for Paragraphs"
26586
26587 \end_inset
26588
26589
26590 \end_layout
26591
26592 \begin_layout Standard
26593 To set the background color for more than one text line, put the text into
26594  a minipage.
26595  Before the minipage insert the 
26596 \series bold
26597
26598 \backslash
26599 colorbox
26600 \series default
26601  command
26602 \end_layout
26603
26604 \begin_layout Standard
26605
26606 \series bold
26607
26608 \backslash
26609 colorbox{color}{
26610 \end_layout
26611
26612 \begin_layout Standard
26613 in ERT.
26614  Behind the minipage insert a closing brace 
26615 \begin_inset Quotes eld
26616 \end_inset
26617
26618
26619 \series bold
26620 }
26621 \series default
26622
26623 \begin_inset Quotes erd
26624 \end_inset
26625
26626  in ERT.
26627 \end_layout
26628
26629 \begin_layout Standard
26630 \begin_inset ERT
26631 status collapsed
26632
26633 \begin_layout Standard
26634
26635
26636 \backslash
26637 colorbox{lightgrey}{
26638 \end_layout
26639
26640 \end_inset
26641
26642
26643 \begin_inset Box Frameless
26644 position "t"
26645 hor_pos "c"
26646 has_inner_box 1
26647 inner_pos "t"
26648 use_parbox 0
26649 width "100col%"
26650 special "none"
26651 height "1in"
26652 height_special "totalheight"
26653 status collapsed
26654
26655 \begin_layout Standard
26656 This is text with background color.
26657  This is text with background color.
26658 \end_layout
26659
26660 \begin_layout Standard
26661 \begin_inset VSpace defskip
26662 \end_inset
26663
26664 The text can have footnotes
26665 \begin_inset Foot
26666 status collapsed
26667
26668 \begin_layout Standard
26669 Another example footnote
26670 \end_layout
26671
26672 \end_inset
26673
26674  and can include tables and figures.
26675 \end_layout
26676
26677 \begin_layout Standard
26678 \align center
26679 \begin_inset Tabular
26680 <lyxtabular version="3" rows="3" columns="3">
26681 <features>
26682 <column alignment="center" valignment="top" leftline="true" width="0">
26683 <column alignment="center" valignment="top" leftline="true" width="0">
26684 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26685 <row topline="true">
26686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26687 \begin_inset Text
26688
26689 \begin_layout Standard
26690 a
26691 \end_layout
26692
26693 \end_inset
26694 </cell>
26695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26696 \begin_inset Text
26697
26698 \begin_layout Standard
26699 !
26700 \end_layout
26701
26702 \end_inset
26703 </cell>
26704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26705 \begin_inset Text
26706
26707 \begin_layout Standard
26708 3
26709 \end_layout
26710
26711 \end_inset
26712 </cell>
26713 </row>
26714 <row topline="true">
26715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26716 \begin_inset Text
26717
26718 \begin_layout Standard
26719 <
26720 \end_layout
26721
26722 \end_inset
26723 </cell>
26724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26725 \begin_inset Text
26726
26727 \begin_layout Standard
26728 b2
26729 \begin_inset Quotes erd
26730 \end_inset
26731
26732 |
26733 \end_layout
26734
26735 \end_inset
26736 </cell>
26737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26738 \begin_inset Text
26739
26740 \begin_layout Standard
26741 >
26742 \end_layout
26743
26744 \end_inset
26745 </cell>
26746 </row>
26747 <row topline="true" bottomline="true">
26748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26749 \begin_inset Text
26750
26751 \begin_layout Standard
26752 1
26753 \end_layout
26754
26755 \end_inset
26756 </cell>
26757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26758 \begin_inset Text
26759
26760 \begin_layout Standard
26761 §
26762 \end_layout
26763
26764 \end_inset
26765 </cell>
26766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26767 \begin_inset Text
26768
26769 \begin_layout Standard
26770 c
26771 \end_layout
26772
26773 \end_inset
26774 </cell>
26775 </row>
26776 </lyxtabular>
26777
26778 \end_inset
26779
26780
26781 \end_layout
26782
26783 \end_inset
26784
26785
26786 \begin_inset ERT
26787 status collapsed
26788
26789 \begin_layout Standard
26790
26791 }
26792 \end_layout
26793
26794 \end_inset
26795
26796
26797 \end_layout
26798
26799 \begin_layout Section
26800 URLs (Uniform Resource Locators)
26801 \begin_inset LatexCommand index
26802 name "URLs"
26803
26804 \end_inset
26805
26806
26807 \end_layout
26808
26809 \begin_layout Standard
26810 Links to web pages or email addresses can be inserted via the menu 
26811 \family sans
26812 Insert\SpecialChar \menuseparator
26813 URL
26814 \family default
26815 .
26816  The appearing URL dialog has two fields; the 
26817 \family sans
26818 URL
26819 \family default
26820  field and the 
26821 \family sans
26822 Name
26823 \family default
26824  field for the URL description, which will be typeset as plain text immediately
26825  before the URL.
26826 \end_layout
26827
26828 \begin_layout Standard
26829 Here is an example URL: 
26830 \begin_inset LatexCommand url
26831 name "LyX's homepage"
26832 target "http://www.lyx.org"
26833
26834 \end_inset
26835
26836
26837 \end_layout
26838
26839 \begin_layout Standard
26840 The option 
26841 \family sans
26842 Generate\InsetSpace ~
26843 hyperlink
26844 \family default
26845  in the URL dialog has only an affect when you export your document to the
26846  format 
26847 \begin_inset Quotes eld
26848 \end_inset
26849
26850
26851 \family sans
26852 LinuxDoc
26853 \family default
26854
26855 \begin_inset Quotes erd
26856 \end_inset
26857
26858 .
26859 \end_layout
26860
26861 \begin_layout Standard
26862 You cannot change the style of the link text.
26863  The text of the 
26864 \family sans
26865 Name
26866 \family default
26867  field will have the default text style of the document while the text of
26868  the 
26869 \family sans
26870 URL
26871 \family default
26872  field will have the style 
26873 \begin_inset Quotes eld
26874 \end_inset
26875
26876
26877 \family sans
26878 Typewriter
26879 \family default
26880
26881 \begin_inset Quotes erd
26882 \end_inset
26883
26884 .
26885 \end_layout
26886
26887 \begin_layout Standard
26888 When you use the LaTeX-package 
26889 \series bold
26890 hyperref
26891 \series default
26892
26893 \begin_inset LatexCommand index
26894 name "LaTeX-packages ! hyperref"
26895
26896 \end_inset
26897
26898  to link cross-references in the output, URLs will automatically become
26899  clickable hyperlinks in DVI and PDF-output.
26900 \end_layout
26901
26902 \begin_layout Standard
26903 \begin_inset Note Greyedout
26904 status open
26905
26906 \begin_layout Standard
26907
26908 \series bold
26909 Note:
26910 \series default
26911  When you use the following characters: "%", "#", "^", you have to write
26912  them with a preceding backslash, e.\InsetSpace \thinspace{}
26913 g.\InsetSpace ~
26914
26915 \begin_inset Quotes eld
26916 \end_inset
26917
26918
26919 \backslash
26920 #
26921 \begin_inset Quotes erd
26922 \end_inset
26923
26924 .
26925  URLs must not end with a backslash.
26926 \end_layout
26927
26928 \end_inset
26929
26930
26931 \end_layout
26932
26933 \begin_layout Standard
26934 \begin_inset VSpace bigskip
26935 \end_inset
26936
26937 To create real hyperlinks without the force to write the link location to
26938  the text, you can use the command
26939 \end_layout
26940
26941 \begin_layout Standard
26942
26943 \series bold
26944
26945 \backslash
26946 href{link location}{link text}
26947 \end_layout
26948
26949 \begin_layout Standard
26950 in ERT.
26951  To get for example a link to LyX's web page, write the command
26952 \end_layout
26953
26954 \begin_layout Standard
26955
26956 \series bold
26957
26958 \backslash
26959 href{http://www.lyx.org}{
26960 \end_layout
26961
26962 \begin_layout Standard
26963 in ERT.
26964  Insert after the command the link text 
26965 \begin_inset Quotes eld
26966 \end_inset
26967
26968 LyX's homepage
26969 \begin_inset Quotes erd
26970 \end_inset
26971
26972  as normal text followed by a closing brace 
26973 \begin_inset Quotes eld
26974 \end_inset
26975
26976
26977 \series bold
26978 }
26979 \series default
26980
26981 \begin_inset Quotes erd
26982 \end_inset
26983
26984  in ERT.
26985  This is the result: 
26986 \begin_inset ERT
26987 status collapsed
26988
26989 \begin_layout Standard
26990
26991
26992 \backslash
26993 href{http://www.lyx.org}{
26994 \end_layout
26995
26996 \end_inset
26997
26998 LyX's homepage
26999 \begin_inset ERT
27000 status collapsed
27001
27002 \begin_layout Standard
27003
27004 }
27005 \end_layout
27006
27007 \end_inset
27008
27009
27010 \end_layout
27011
27012 \begin_layout Standard
27013 To link to email addresses, add the prefix 
27014 \begin_inset Quotes eld
27015 \end_inset
27016
27017
27018 \family sans
27019 mailto:
27020 \family default
27021
27022 \begin_inset Quotes erd
27023 \end_inset
27024
27025  to the link location:
27026 \newline
27027 Email to 
27028 \begin_inset ERT
27029 status collapsed
27030
27031 \begin_layout Standard
27032
27033
27034 \backslash
27035 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
27036 \end_layout
27037
27038 \end_inset
27039
27040 lyx-docs mailing list
27041 \begin_inset ERT
27042 status collapsed
27043
27044 \begin_layout Standard
27045
27046 }
27047 \end_layout
27048
27049 \end_inset
27050
27051 .
27052 \end_layout
27053
27054 \begin_layout Standard
27055 Using 
27056 \series bold
27057
27058 \backslash
27059 href
27060 \series default
27061  instead of LyX's URL box has the advantage that you can specify the text
27062  style of the link text like for all other text parts.
27063  You can then set hyphenation points and forced linebreaks to have long
27064  link text broken at the page margin.
27065  You are furthermore able to change the text style for all URLs in your
27066  document with an option in 
27067 \series bold
27068 hyperref
27069 \series default
27070 's load command and the restrictions mentioned above doesn't apply for 
27071 \series bold
27072
27073 \backslash
27074 href
27075 \series default
27076 .
27077 \end_layout
27078
27079 \begin_layout Chapter
27080 External Stuff
27081 \begin_inset LatexCommand index
27082 name "External Stuff"
27083
27084 \end_inset
27085
27086
27087 \end_layout
27088
27089 \begin_layout Standard
27090 With the menu 
27091 \family sans
27092 Insert\SpecialChar \menuseparator
27093 File
27094 \family default
27095  you can insert external material to your document.
27096  This can be:
27097 \end_layout
27098
27099 \begin_layout Description
27100 LyX\InsetSpace ~
27101 Document Another LyX document; its content is directly inserted to your
27102  document.
27103 \end_layout
27104
27105 \begin_layout Description
27106 Plain\InsetSpace ~
27107 Text A text document; every of its text lines is inserted to your document
27108  as own paragraph.
27109 \end_layout
27110
27111 \begin_layout Description
27112 Plain\InsetSpace ~
27113 Text,\InsetSpace ~
27114 Join\InsetSpace ~
27115 Lines A text document; its text lines are inserted as they
27116  are.
27117  Empty text lines creates a new paragraph in your document.
27118 \end_layout
27119
27120 \begin_layout Description
27121 External\InsetSpace ~
27122 Material Files in various formats.
27123 \end_layout
27124
27125 \begin_layout Description
27126 Child\InsetSpace ~
27127 Document LyX or LaTeX-documents.
27128 \end_layout
27129
27130 \begin_layout Section
27131 External Material
27132 \begin_inset LatexCommand index
27133 name "External Stuff ! External Material"
27134
27135 \end_inset
27136
27137
27138 \end_layout
27139
27140 \begin_layout Standard
27141 The external material feature allows you to insert files to your document
27142  without converting them previously to a format that can be read by the
27143  document output format because LyX takes care of needed conversions.
27144  This is similar to images that can be inserted in various image formats
27145  to LyX documents.
27146 \end_layout
27147
27148 \begin_layout Standard
27149 External material can be inserted via the 
27150 \family sans
27151 External Material
27152 \family default
27153  dialog that is accessible with the menu 
27154 \family sans
27155 Insert\SpecialChar \menuseparator
27156 File\SpecialChar \menuseparator
27157 External\InsetSpace ~
27158 Material
27159 \family default
27160 .
27161  Currently the following file types (
27162 \family sans
27163 Templates
27164 \family default
27165 ) are allowed:
27166 \end_layout
27167
27168 \begin_layout Description
27169 ChessDiagram This template supports chess position diagrams made with the
27170  program 
27171 \begin_inset ERT
27172 status collapsed
27173
27174 \begin_layout Standard
27175
27176
27177 \backslash
27178 href{http://en.wikipedia.org/wiki/XBoard}{
27179 \end_layout
27180
27181 \end_inset
27182
27183
27184 \series bold
27185 XBoard
27186 \series default
27187
27188 \begin_inset ERT
27189 status collapsed
27190
27191 \begin_layout Standard
27192
27193 }
27194 \end_layout
27195
27196 \end_inset
27197
27198 .
27199 \end_layout
27200
27201 \begin_layout Description
27202 Date This inserts the date in the form 
27203 \emph on
27204 Day-Month-Year
27205 \emph default
27206 .
27207  This is a date inserted as external material: 
27208 \begin_inset External
27209         template Date
27210         filename .
27211
27212 \end_inset
27213
27214
27215 \newline
27216 The date is not shown within LyX, only in the output.
27217  There are two other methods of inserting a date: Via menu 
27218 \family sans
27219 Insert\SpecialChar \menuseparator
27220 Date
27221 \family default
27222  and with the LaTeX command 
27223 \series bold
27224
27225 \backslash
27226 today
27227 \series default
27228  as ERT.
27229  The different methods are compared in Table\InsetSpace ~
27230
27231 \begin_inset LatexCommand ref
27232 reference "tab:Comparison-of-the"
27233
27234 \end_inset
27235
27236 .
27237 \end_layout
27238
27239 \begin_layout Description
27240 LilyPond This template is used for music notation typeset with the program
27241 \begin_inset ERT
27242 status collapsed
27243
27244 \begin_layout Standard
27245
27246
27247 \backslash
27248 linebreak 
27249 \end_layout
27250
27251 \end_inset
27252
27253
27254 \begin_inset ERT
27255 status collapsed
27256
27257 \begin_layout Standard
27258
27259
27260 \backslash
27261 href{http://en.wikipedia.org/wiki/LilyPond}{
27262 \end_layout
27263
27264 \end_inset
27265
27266
27267 \series bold
27268 LilyPond
27269 \series default
27270
27271 \begin_inset ERT
27272 status collapsed
27273
27274 \begin_layout Standard
27275
27276 }
27277 \end_layout
27278
27279 \end_inset
27280
27281 .
27282 \begin_inset Note Note
27283 status collapsed
27284
27285 \begin_layout Standard
27286 The command 
27287 \series bold
27288
27289 \backslash
27290 linebreak
27291 \series default
27292  breaks the line while the remaining text in the line is stretched to the
27293  page margin.
27294 \end_layout
27295
27296 \end_inset
27297
27298
27299 \end_layout
27300
27301 \begin_layout Description
27302 RasterImage This can be used for bitmap images.
27303  Nearly all popular image formats are supported.
27304  The image can be treated in the 
27305 \family sans
27306 External material
27307 \family default
27308  dialog like the images that are usually included via the 
27309 \family sans
27310 Graphics
27311 \family default
27312  dialog as described in section\InsetSpace ~
27313
27314 \begin_inset LatexCommand ref
27315 reference "sec:Graphics-Dialog"
27316
27317 \end_inset
27318
27319 .
27320  The difference is that only raster images are allowed, that means that
27321  PDF and EPS-images are not supported.
27322 \end_layout
27323
27324 \begin_layout Description
27325 XFig This template supports images created with the program 
27326 \begin_inset ERT
27327 status collapsed
27328
27329 \begin_layout Standard
27330
27331
27332 \backslash
27333 href{http://en.wikipedia.org/wiki/Xfig}{
27334 \end_layout
27335
27336 \end_inset
27337
27338
27339 \series bold
27340 Xfig
27341 \series default
27342
27343 \begin_inset ERT
27344 status collapsed
27345
27346 \begin_layout Standard
27347
27348 }
27349 \end_layout
27350
27351 \end_inset
27352
27353 .
27354 \end_layout
27355
27356 \begin_layout Standard
27357 \begin_inset Float table
27358 placement h
27359 wide false
27360 sideways false
27361 status open
27362
27363 \begin_layout Standard
27364 \begin_inset Caption
27365
27366 \begin_layout Standard
27367 \begin_inset LatexCommand label
27368 name "tab:Comparison-of-the"
27369
27370 \end_inset
27371
27372 Comparison of the date input methods.
27373 \end_layout
27374
27375 \end_inset
27376
27377
27378 \end_layout
27379
27380 \begin_layout Standard
27381 \align center
27382 \begin_inset Tabular
27383 <lyxtabular version="3" rows="4" columns="4">
27384 <features>
27385 <column alignment="center" valignment="top" leftline="true" width="0">
27386 <column alignment="center" valignment="top" leftline="true" width="0">
27387 <column alignment="center" valignment="top" leftline="true" width="0">
27388 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27389 <row topline="true">
27390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27391 \begin_inset Text
27392
27393 \begin_layout Standard
27394 Document format
27395 \end_layout
27396
27397 \end_inset
27398 </cell>
27399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27400 \begin_inset Text
27401
27402 \begin_layout Standard
27403
27404 \family sans
27405 External Material\SpecialChar \menuseparator
27406 Date
27407 \end_layout
27408
27409 \end_inset
27410 </cell>
27411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27412 \begin_inset Text
27413
27414 \begin_layout Standard
27415
27416 \family sans
27417 Insert\SpecialChar \menuseparator
27418 Date
27419 \end_layout
27420
27421 \end_inset
27422 </cell>
27423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27424 \begin_inset Text
27425
27426 \begin_layout Standard
27427 command 
27428 \series bold
27429
27430 \backslash
27431 today
27432 \end_layout
27433
27434 \end_inset
27435 </cell>
27436 </row>
27437 <row topline="true">
27438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27439 \begin_inset Text
27440
27441 \begin_layout Standard
27442 LyX
27443 \end_layout
27444
27445 \end_inset
27446 </cell>
27447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27448 \begin_inset Text
27449
27450 \begin_layout Standard
27451 as inset box
27452 \end_layout
27453
27454 \end_inset
27455 </cell>
27456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27457 \begin_inset Text
27458
27459 \begin_layout Standard
27460 as date
27461 \end_layout
27462
27463 \end_inset
27464 </cell>
27465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27466 \begin_inset Text
27467
27468 \begin_layout Standard
27469 as ERT inset box
27470 \end_layout
27471
27472 \end_inset
27473 </cell>
27474 </row>
27475 <row topline="true">
27476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27477 \begin_inset Text
27478
27479 \begin_layout Standard
27480 LaTeX
27481 \end_layout
27482
27483 \end_inset
27484 </cell>
27485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27486 \begin_inset Text
27487
27488 \begin_layout Standard
27489 as date
27490 \end_layout
27491
27492 \end_inset
27493 </cell>
27494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27495 \begin_inset Text
27496
27497 \begin_layout Standard
27498 as date
27499 \end_layout
27500
27501 \end_inset
27502 </cell>
27503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27504 \begin_inset Text
27505
27506 \begin_layout Standard
27507 as command
27508 \end_layout
27509
27510 \end_inset
27511 </cell>
27512 </row>
27513 <row topline="true" bottomline="true">
27514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27515 \begin_inset Text
27516
27517 \begin_layout Standard
27518 DVI, PDF, PS
27519 \end_layout
27520
27521 \end_inset
27522 </cell>
27523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27524 \begin_inset Text
27525
27526 \begin_layout Standard
27527 as date
27528 \end_layout
27529
27530 \end_inset
27531 </cell>
27532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27533 \begin_inset Text
27534
27535 \begin_layout Standard
27536 as date
27537 \end_layout
27538
27539 \end_inset
27540 </cell>
27541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27542 \begin_inset Text
27543
27544 \begin_layout Standard
27545 as date
27546 \end_layout
27547
27548 \end_inset
27549 </cell>
27550 </row>
27551 </lyxtabular>
27552
27553 \end_inset
27554
27555
27556 \end_layout
27557
27558 \end_inset
27559
27560
27561 \end_layout
27562
27563 \begin_layout Standard
27564 When you use the option 
27565 \family sans
27566 Draft
27567 \family default
27568  in the 
27569 \family sans
27570 File
27571 \family default
27572  tab of the 
27573 \family sans
27574 External Material
27575 \family default
27576  dialog, only the path to the inserted file is shown in the output.
27577 \newline
27578 External
27579  material is displayed in LyX either as box like this: 
27580 \begin_inset Graphics
27581         filename clipart/ExternalMaterialQt4.png
27582         scale 85
27583         scaleBeforeRotation
27584
27585 \end_inset
27586
27587  or as image, depending on the setting in the 
27588 \family sans
27589 LyX\InsetSpace ~
27590 View
27591 \family default
27592  tab of the 
27593 \family sans
27594 External Material
27595 \family default
27596  dialog.
27597 \end_layout
27598
27599 \begin_layout Standard
27600 The 
27601 \family sans
27602 \emph on
27603 Customization
27604 \family default
27605 \emph default
27606  manual explains how you can define your own templates.
27607 \end_layout
27608
27609 \begin_layout Section
27610 Child Documents
27611 \begin_inset LatexCommand label
27612 name "sec:Child-Documents"
27613
27614 \end_inset
27615
27616
27617 \begin_inset LatexCommand index
27618 name "External Stuff ! Child Documents"
27619
27620 \end_inset
27621
27622
27623 \begin_inset LatexCommand index
27624 name "Files ! Include"
27625
27626 \end_inset
27627
27628
27629 \end_layout
27630
27631 \begin_layout Standard
27632 Child documents are used when you have a long document consisting of several
27633  larger parts or sections.
27634  For maintenance it is often useful and sometimes even required to split
27635  the document in several files that can be revised separately.
27636  The different documents are then the so called child documents and a master
27637  document connects them to print the full document or parts of it.
27638 \end_layout
27639
27640 \begin_layout Standard
27641 Included documents are displayed in LyX as a box like this: 
27642 \begin_inset Graphics
27643         filename clipart/ChildDocumentQt4.png
27644         scale 85
27645         scaleBeforeRotation
27646
27647 \end_inset
27648
27649  To include child documents to a master document use the menu 
27650 \family sans
27651 Insert\SpecialChar \menuseparator
27652 File\SpecialChar \menuseparator
27653 Child\InsetSpace ~
27654 Documents
27655 \family default
27656 .
27657  A dialog pops up where you can choose between four include methods:
27658 \end_layout
27659
27660 \begin_layout Description
27661 Include You can include LyX and LaTeX-documents.
27662  When you press the 
27663 \family sans
27664 Load
27665 \family default
27666  button in the 
27667 \family sans
27668 Child Document
27669 \family default
27670  dialog, the included documents will be opened in LyX in a new file tab
27671  so that you can modify it.
27672 \newline
27673
27674 \end_layout
27675
27676 \begin_layout Standard
27677 Here is a child document inserted using 
27678 \family sans
27679 Include
27680 \family default
27681
27682 \begin_inset Include \include{DummyDocument1.lyx}
27683 preview false
27684
27685 \end_inset
27686
27687
27688 \end_layout
27689
27690 \begin_layout Standard
27691 The section numbering includes the sections of the included files in the
27692  order they are inserted in the master document.
27693  The included example document has for example a subsection that is numbered
27694  as subsection of this section.
27695  Labels of included documents can be referenced: Subsection\InsetSpace ~
27696
27697 \begin_inset LatexCommand ref
27698 reference "sub:External-Subsection-1"
27699
27700 \end_inset
27701
27702
27703 \end_layout
27704
27705 \begin_layout Standard
27706 The preamble of the child document is ignored, only the preamble of the
27707  master document is used.
27708  Included documents are inserted starting on a new page and end with a pagebreak.
27709 \end_layout
27710
27711 \begin_layout Standard
27712 With the LaTeX-command 
27713 \series bold
27714
27715 \backslash
27716 includeonly 
27717 \series default
27718 you can specify which included child documents are processed when the output
27719  is generated.
27720  This is useful when you are perhaps only working on a certain chapter of
27721  your large document as this saves compiling time.
27722  
27723 \series bold
27724
27725 \backslash
27726 includeonly
27727 \series default
27728  is inserted to the master document preamble.
27729  It takes a comma-separated list of the filenames as argument, e.g.
27730 \end_layout
27731
27732 \begin_layout Standard
27733
27734 \series bold
27735
27736 \backslash
27737 includeonly{chapter1,chapter5}
27738 \end_layout
27739
27740 \begin_layout Standard
27741 will only process the included files named 
27742 \begin_inset Quotes eld
27743 \end_inset
27744
27745 chapter1.lyx
27746 \begin_inset Quotes erd
27747 \end_inset
27748
27749  (or 
27750 \begin_inset Quotes eld
27751 \end_inset
27752
27753 chapter1.tex
27754 \begin_inset Quotes erd
27755 \end_inset
27756
27757 ) and 
27758 \begin_inset Quotes eld
27759 \end_inset
27760
27761 chapter5.lyx
27762 \begin_inset Quotes erd
27763 \end_inset
27764
27765  .
27766 \end_layout
27767
27768 \begin_layout Standard
27769 \begin_inset Note Greyedout
27770 status open
27771
27772 \begin_layout Standard
27773
27774 \series bold
27775 Note:
27776 \series default
27777  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27778 w the document in case that the child document uses another document class
27779  than the master document as this will lead to unexpected outputs.
27780 \end_layout
27781
27782 \end_inset
27783
27784
27785 \end_layout
27786
27787 \begin_layout Description
27788 Input This method is very similar to the Include method.
27789  The differences are:
27790 \end_layout
27791
27792 \begin_deeper
27793 \begin_layout Itemize
27794 Input files don't start with a new page and don't end with a pagebreak.
27795 \end_layout
27796
27797 \begin_layout Itemize
27798 Input files can be previewed in LyX when 
27799 \family sans
27800 Instant\InsetSpace ~
27801 Preview
27802 \family default
27803  is enabled in LyX's preferences under 
27804 \family sans
27805 Look\InsetSpace ~
27806 and\InsetSpace ~
27807 feel\SpecialChar \menuseparator
27808 Graphics
27809 \family default
27810 .
27811 \end_layout
27812
27813 \begin_layout Itemize
27814 The LaTeX-command 
27815 \series bold
27816
27817 \backslash
27818 includeonly
27819 \series default
27820  cannot be used.
27821 \end_layout
27822
27823 \end_deeper
27824 \begin_layout Standard
27825 Here is a child document inserted using 
27826 \family sans
27827 Input
27828 \family default
27829
27830 \begin_inset Include \input{DummyDocument2.lyx}
27831 preview false
27832
27833 \end_inset
27834
27835
27836 \end_layout
27837
27838 \begin_layout Description
27839 Verbatim With this method every text file can be included.
27840  The file is shown in the output with its source code, no command used in
27841  the text is invoked.
27842  You can use the option 
27843 \family sans
27844 Mark spaces in output
27845 \family default
27846  that displays the character 
27847 \begin_inset Quotes eld
27848 \end_inset
27849
27850
27851 \begin_inset ERT
27852 status collapsed
27853
27854 \begin_layout Standard
27855
27856
27857 \backslash
27858 textvisiblespace 
27859 \end_layout
27860
27861 \end_inset
27862
27863
27864 \begin_inset Quotes erd
27865 \end_inset
27866
27867  for every space character in the source code.
27868  The difference to the method via the menu 
27869 \family sans
27870 Insert\SpecialChar \menuseparator
27871 File\SpecialChar \menuseparator
27872 Plain\InsetSpace ~
27873 Text
27874 \family default
27875  is that the document content is not shown in LyX.
27876 \end_layout
27877
27878 \begin_layout Standard
27879 Here is a child document inserted as Verbatim: 
27880 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27881 preview false
27882
27883 \end_inset
27884
27885
27886 \begin_inset VSpace bigskip
27887 \end_inset
27888
27889 Here is a child document inserted as Verbatim using the 
27890 \family sans
27891 Mark spaces in output
27892 \family default
27893  option: 
27894 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27895 preview false
27896
27897 \end_inset
27898
27899
27900 \end_layout
27901
27902 \begin_layout Standard
27903 \begin_inset VSpace bigskip
27904 \end_inset
27905
27906
27907 \end_layout
27908
27909 \begin_layout Standard
27910 \begin_inset Note Greyedout
27911 status open
27912
27913 \begin_layout Standard
27914
27915 \series bold
27916 Note:
27917 \series default
27918  As you can see in the examples above, the text of the documents included
27919  as 
27920 \family sans
27921 verbatim
27922 \family default
27923  is not broken at the end of the document lines.
27924 \end_layout
27925
27926 \end_inset
27927
27928
27929 \end_layout
27930
27931 \begin_layout Description
27932 Listings This type is described in chapter\InsetSpace ~
27933
27934 \begin_inset LatexCommand ref
27935 reference "cha:Program-Code-Listings"
27936
27937 \end_inset
27938
27939 .
27940 \end_layout
27941
27942 \begin_layout Standard
27943 \begin_inset Note Greyedout
27944 status open
27945
27946 \begin_layout Standard
27947
27948 \series bold
27949 Note:
27950 \series default
27951  Including the same document twice in a document using different methods
27952  could cause LaTeX-problems.
27953 \end_layout
27954
27955 \end_inset
27956
27957
27958 \end_layout
27959
27960 \begin_layout Chapter
27961 Program Code Listings
27962 \begin_inset LatexCommand label
27963 name "cha:Program-Code-Listings"
27964
27965 \end_inset
27966
27967
27968 \begin_inset LatexCommand index
27969 name "Listings"
27970
27971 \end_inset
27972
27973
27974 \begin_inset LatexCommand index
27975 name "Program Code"
27976
27977 \end_inset
27978
27979
27980 \begin_inset LatexCommand index
27981 name "Floats ! Listings"
27982
27983 \end_inset
27984
27985
27986 \end_layout
27987
27988 \begin_layout Standard
27989 To include and typeset program code you can use the 
27990 \family sans
27991 Listings
27992 \family default
27993  inset that can be inserted via the menu 
27994 \family sans
27995 Insert\SpecialChar \menuseparator
27996 Program Listing
27997 \family default
27998 .
27999  The LaTeX-package 
28000 \series bold
28001 listings
28002 \series default
28003
28004 \begin_inset LatexCommand index
28005 name "LaTeX-packages ! listings"
28006
28007 \end_inset
28008
28009  provides a powerful and flexible way to insert program source code to your
28010  document.
28011 \end_layout
28012
28013 \begin_layout Standard
28014 When right-clicking on a listings inset a dialog pops up where you can set
28015  the listings format.
28016 \end_layout
28017
28018 \begin_layout Standard
28019 By default, a listing starts a new paragraph in the output.
28020  The placement option 
28021 \family sans
28022 Inline\InsetSpace ~
28023 listing
28024 \family default
28025  prints the listing inline like this: 
28026 \begin_inset listings
28027 lstparams "language={C++}"
28028 inline true
28029 status open
28030
28031 \begin_layout Standard
28032
28033 int a=5;
28034 \end_layout
28035
28036 \end_inset
28037
28038
28039 \newline
28040 The option 
28041 \family sans
28042 Float
28043 \family default
28044  creates a listings float where you can specify the placement options 
28045 \begin_inset Quotes eld
28046 \end_inset
28047
28048
28049 \family sans
28050 h
28051 \family default
28052
28053 \begin_inset Quotes erd
28054 \end_inset
28055
28056
28057 \begin_inset Quotes eld
28058 \end_inset
28059
28060
28061 \family sans
28062 t
28063 \family default
28064
28065 \begin_inset Quotes erd
28066 \end_inset
28067
28068
28069 \begin_inset Quotes eld
28070 \end_inset
28071
28072
28073 \family sans
28074 b
28075 \family default
28076
28077 \begin_inset Quotes erd
28078 \end_inset
28079
28080 , and 
28081 \begin_inset Quotes eld
28082 \end_inset
28083
28084
28085 \family sans
28086 p
28087 \family default
28088
28089 \begin_inset Quotes erd
28090 \end_inset
28091
28092  corresponding to the float placement options described in section\InsetSpace ~
28093
28094 \begin_inset LatexCommand ref
28095 reference "sec:Float-Placement"
28096
28097 \end_inset
28098
28099 .
28100  The placement options can be mixed and are inserted without any separation,
28101  e.\InsetSpace \thinspace{}
28102 g.\InsetSpace ~
28103
28104 \begin_inset Quotes eld
28105 \end_inset
28106
28107
28108 \family sans
28109 htbp
28110 \family default
28111
28112 \begin_inset Quotes erd
28113 \end_inset
28114
28115 .
28116  The option 
28117 \begin_inset Quotes eld
28118 \end_inset
28119
28120 h
28121 \begin_inset Quotes erd
28122 \end_inset
28123
28124  has sometimes no effect, but you don't need to use the 
28125 \family sans
28126 Float
28127 \family default
28128  option in this case as also non-float listings can have captions and be
28129  referenced.
28130 \end_layout
28131
28132 \begin_layout Standard
28133 You can add captions to listings with the menu 
28134 \family sans
28135 Insert\SpecialChar \menuseparator
28136 Caption
28137 \family default
28138 .
28139  Listings can be referenced like floats: Listing\InsetSpace ~
28140
28141 \begin_inset LatexCommand ref
28142 reference "lst:Example-Listing"
28143
28144 \end_inset
28145
28146
28147 \end_layout
28148
28149 \begin_layout Standard
28150 \begin_inset listings
28151 lstparams "language=Python"
28152 inline false
28153 status open
28154
28155 \begin_layout Standard
28156
28157 \begin_inset Caption
28158
28159 \begin_layout Standard
28160 \begin_inset LatexCommand label
28161 name "lst:Example-Listing"
28162
28163 \end_inset
28164
28165 Example Listing float
28166 \end_layout
28167
28168 \end_inset
28169
28170 # Example listing float
28171 \end_layout
28172
28173 \begin_layout Standard
28174
28175 def func(param):
28176 \end_layout
28177
28178 \begin_layout Standard
28179
28180     'this is a python function'
28181 \end_layout
28182
28183 \begin_layout Standard
28184
28185     pass
28186 \end_layout
28187
28188 \end_inset
28189
28190
28191 \end_layout
28192
28193 \begin_layout Standard
28194 When you have set a programming language in the listings dialog, the keywords
28195  of this language will be recognized and specially typeset in the output.
28196  In the example listings the Python keyword 
28197 \begin_inset Quotes eld
28198 \end_inset
28199
28200 def
28201 \begin_inset Quotes erd
28202 \end_inset
28203
28204  is recognized and printed bold in the output.
28205 \end_layout
28206
28207 \begin_layout Standard
28208 In section 
28209 \family sans
28210 Line\InsetSpace ~
28211 numbering
28212 \family default
28213  of the listings dialog you can specify the line numbering style.
28214  You can insert a number to specify which lines are numbered to the field
28215  
28216 \family sans
28217 Step
28218 \family default
28219 .
28220  When you insert e.g.
28221  
28222 \begin_inset Quotes eld
28223 \end_inset
28224
28225 3
28226 \begin_inset Quotes erd
28227 \end_inset
28228
28229 , only every 3rd line will be numbered.
28230 \end_layout
28231
28232 \begin_layout Standard
28233 You can furthermore specify a range of lines, only these will then appear
28234  in the output.
28235  The option 
28236 \family sans
28237 Extended\InsetSpace ~
28238 chars
28239 \family default
28240  should be used when you use national characters like the German umlauts
28241  in the listing.
28242 \newline
28243 Here is an example listing with left line numbering, step
28244  
28245 \begin_inset Quotes eld
28246 \end_inset
28247
28248 3
28249 \begin_inset Quotes erd
28250 \end_inset
28251
28252 , language 
28253 \begin_inset Quotes eld
28254 \end_inset
28255
28256 Python
28257 \begin_inset Quotes erd
28258 \end_inset
28259
28260 , options 
28261 \begin_inset Quotes eld
28262 \end_inset
28263
28264 Extended\InsetSpace ~
28265 chars
28266 \begin_inset Quotes erd
28267 \end_inset
28268
28269  and 
28270 \begin_inset Quotes eld
28271 \end_inset
28272
28273 Space\InsetSpace ~
28274 as\InsetSpace ~
28275 Symbol
28276 \begin_inset Quotes erd
28277 \end_inset
28278
28279 , range lines 3\InsetSpace \thinspace{}
28280 -\InsetSpace \thinspace{}
28281 8:
28282 \end_layout
28283
28284 \begin_layout Standard
28285 \begin_inset listings
28286 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
28287 inline false
28288 status open
28289
28290 \begin_layout Standard
28291
28292 def func(param):
28293 \end_layout
28294
28295 \begin_layout Standard
28296
28297     'this is a python function'
28298 \end_layout
28299
28300 \begin_layout Standard
28301
28302     pass
28303 \end_layout
28304
28305 \begin_layout Standard
28306
28307 def func(param):
28308 \end_layout
28309
28310 \begin_layout Standard
28311
28312 'This is a German word: Tschüß'
28313 \end_layout
28314
28315 \begin_layout Standard
28316
28317 pass
28318 \end_layout
28319
28320 \begin_layout Standard
28321
28322 def func(param):
28323 \end_layout
28324
28325 \begin_layout Standard
28326
28327 'this is a python function'
28328 \end_layout
28329
28330 \begin_layout Standard
28331
28332 pass
28333 \end_layout
28334
28335 \end_inset
28336
28337
28338 \end_layout
28339
28340 \begin_layout Standard
28341 \begin_inset Note Greyedout
28342 status open
28343
28344 \begin_layout Standard
28345
28346 \series bold
28347 Note:
28348 \series default
28349  The line numbering is shifted by a line by every previous listing.
28350  That's the reason why the lines 2 and 5 are numbered in the above listing
28351  and not the lines 3 and 6.
28352 \end_layout
28353
28354 \end_inset
28355
28356
28357 \end_layout
28358
28359 \begin_layout Standard
28360 \begin_inset VSpace bigskip
28361 \end_inset
28362
28363
28364 \end_layout
28365
28366 \begin_layout Standard
28367 It is also possible to print lines from a file as listing.
28368  To do this, use the menu 
28369 \family sans
28370 Insert\SpecialChar \menuseparator
28371 File\SpecialChar \menuseparator
28372 Child Document
28373 \family default
28374  and choose the type 
28375 \family sans
28376 Listings
28377 \family default
28378 .
28379 \begin_inset Foot
28380 status collapsed
28381
28382 \begin_layout Standard
28383 The other child document types are described in section\InsetSpace ~
28384
28385 \begin_inset LatexCommand ref
28386 reference "sec:Child-Documents"
28387
28388 \end_inset
28389
28390 .
28391 \end_layout
28392
28393 \end_inset
28394
28395  In the child document dialog you can specify the listing parameters in
28396  a text box.
28397  To show a list of all available parameters, type in a question mark 
28398 \begin_inset Quotes eld
28399 \end_inset
28400
28401 ?
28402 \begin_inset Quotes erd
28403 \end_inset
28404
28405  in the text box.
28406 \end_layout
28407
28408 \begin_layout Standard
28409 To reference child document listings, write a label text into the corresponding
28410  field of the child document dialog.
28411  The label can then be referenced using the menu 
28412 \family sans
28413 Insert\SpecialChar \menuseparator
28414 Cross-Reference
28415 \family default
28416 .
28417 \end_layout
28418
28419 \begin_layout Standard
28420 Listing\InsetSpace ~
28421
28422 \begin_inset LatexCommand ref
28423 reference "lst:file-listing"
28424
28425 \end_inset
28426
28427  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
28428 -\InsetSpace \thinspace{}
28429 15 of this LyX
28430  file are listed.
28431 \end_layout
28432
28433 \begin_layout Standard
28434 \begin_inset Include \lstinputlisting{EmbeddedObjects.lyx}[breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15]
28435 preview false
28436
28437 \end_inset
28438
28439
28440 \end_layout
28441
28442 \begin_layout Standard
28443 \begin_inset VSpace bigskip
28444 \end_inset
28445
28446
28447 \end_layout
28448
28449 \begin_layout Standard
28450 Global listings settings can be set in the 
28451 \family sans
28452 Document\SpecialChar \menuseparator
28453 Settings\SpecialChar \menuseparator
28454 Text Layout
28455 \family default
28456  dialog.
28457  To get there a list of available options, type in a question mark 
28458 \begin_inset Quotes eld
28459 \end_inset
28460
28461 ?
28462 \begin_inset Quotes erd
28463 \end_inset
28464
28465  in the 
28466 \family sans
28467 Listings\InsetSpace ~
28468 settings
28469 \family default
28470  field.
28471 \end_layout
28472
28473 \begin_layout Standard
28474 For more information about the 
28475 \series bold
28476 listings
28477 \series default
28478  package, we refer to its documentation 
28479 \begin_inset LatexCommand cite
28480 key "listings"
28481
28482 \end_inset
28483
28484 .
28485 \end_layout
28486
28487 \begin_layout Standard
28488
28489 \newpage
28490
28491 \end_layout
28492
28493 \begin_layout Chapter
28494 \start_of_appendix
28495 Units available in 
28496 \begin_inset ERT
28497 status collapsed
28498
28499 \begin_layout Standard
28500
28501
28502 \backslash
28503 texorpdfstring{
28504 \end_layout
28505
28506 \end_inset
28507
28508 LyX
28509 \begin_inset ERT
28510 status collapsed
28511
28512 \begin_layout Standard
28513
28514 }{LyX}
28515 \end_layout
28516
28517 \end_inset
28518
28519
28520 \begin_inset LatexCommand index
28521 name "Units"
28522
28523 \end_inset
28524
28525
28526 \begin_inset LatexCommand label
28527 name "cha:Units-available-in"
28528
28529 \end_inset
28530
28531
28532 \begin_inset Note Note
28533 status collapsed
28534
28535 \begin_layout Standard
28536 The command 
28537 \backslash
28538 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
28539  are displayed wrongly in PDF-bookmarks.
28540  For more information about this, have a look at 
28541 \begin_inset LatexCommand cite
28542 key "hyperref"
28543
28544 \end_inset
28545
28546 .
28547 \end_layout
28548
28549 \end_inset
28550
28551
28552 \end_layout
28553
28554 \begin_layout Standard
28555 To understand the units described in this documentation, Table\InsetSpace ~
28556
28557 \begin_inset LatexCommand ref
28558 reference "tab:Units"
28559
28560 \end_inset
28561
28562  explains all units available in LyX.
28563 \end_layout
28564
28565 \begin_layout Standard
28566 \begin_inset Float table
28567 placement h
28568 wide false
28569 sideways false
28570 status open
28571
28572 \begin_layout Standard
28573 \begin_inset Caption
28574
28575 \begin_layout Standard
28576 \begin_inset LatexCommand label
28577 name "tab:Units"
28578
28579 \end_inset
28580
28581 Units
28582 \end_layout
28583
28584 \end_inset
28585
28586
28587 \end_layout
28588
28589 \begin_layout Standard
28590 \begin_inset VSpace medskip
28591 \end_inset
28592
28593
28594 \end_layout
28595
28596 \begin_layout Standard
28597 \align center
28598 \begin_inset Tabular
28599 <lyxtabular version="3" rows="20" columns="2">
28600 <features>
28601 <column alignment="center" valignment="top" leftline="true" width="0">
28602 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28603 <row topline="true" bottomline="true">
28604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28605 \begin_inset Text
28606
28607 \begin_layout Standard
28608 unit
28609 \end_layout
28610
28611 \end_inset
28612 </cell>
28613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28614 \begin_inset Text
28615
28616 \begin_layout Standard
28617 name/description
28618 \end_layout
28619
28620 \end_inset
28621 </cell>
28622 </row>
28623 <row topline="true">
28624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28625 \begin_inset Text
28626
28627 \begin_layout Standard
28628 mm
28629 \end_layout
28630
28631 \end_inset
28632 </cell>
28633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28634 \begin_inset Text
28635
28636 \begin_layout Standard
28637 millimeter
28638 \end_layout
28639
28640 \end_inset
28641 </cell>
28642 </row>
28643 <row topline="true">
28644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28645 \begin_inset Text
28646
28647 \begin_layout Standard
28648 cm
28649 \end_layout
28650
28651 \end_inset
28652 </cell>
28653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28654 \begin_inset Text
28655
28656 \begin_layout Standard
28657 centimeter
28658 \end_layout
28659
28660 \end_inset
28661 </cell>
28662 </row>
28663 <row topline="true">
28664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28665 \begin_inset Text
28666
28667 \begin_layout Standard
28668 in
28669 \end_layout
28670
28671 \end_inset
28672 </cell>
28673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28674 \begin_inset Text
28675
28676 \begin_layout Standard
28677 inch
28678 \end_layout
28679
28680 \end_inset
28681 </cell>
28682 </row>
28683 <row topline="true">
28684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28685 \begin_inset Text
28686
28687 \begin_layout Standard
28688 pt
28689 \end_layout
28690
28691 \end_inset
28692 </cell>
28693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28694 \begin_inset Text
28695
28696 \begin_layout Standard
28697 point (72.27\InsetSpace \thinspace{}
28698 pt = 1\InsetSpace \thinspace{}
28699 in)
28700 \end_layout
28701
28702 \end_inset
28703 </cell>
28704 </row>
28705 <row topline="true">
28706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28707 \begin_inset Text
28708
28709 \begin_layout Standard
28710 pc
28711 \end_layout
28712
28713 \end_inset
28714 </cell>
28715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28716 \begin_inset Text
28717
28718 \begin_layout Standard
28719 pica (1\InsetSpace \thinspace{}
28720 pc = 12\InsetSpace \thinspace{}
28721 pt)
28722 \end_layout
28723
28724 \end_inset
28725 </cell>
28726 </row>
28727 <row topline="true">
28728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28729 \begin_inset Text
28730
28731 \begin_layout Standard
28732 sp
28733 \end_layout
28734
28735 \end_inset
28736 </cell>
28737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28738 \begin_inset Text
28739
28740 \begin_layout Standard
28741 scaled point (65536\InsetSpace \thinspace{}
28742 sp = 1\InsetSpace \thinspace{}
28743 pt)
28744 \end_layout
28745
28746 \end_inset
28747 </cell>
28748 </row>
28749 <row topline="true">
28750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28751 \begin_inset Text
28752
28753 \begin_layout Standard
28754 bp
28755 \end_layout
28756
28757 \end_inset
28758 </cell>
28759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28760 \begin_inset Text
28761
28762 \begin_layout Standard
28763 big point (72\InsetSpace \thinspace{}
28764 bp = 1\InsetSpace \thinspace{}
28765 in)
28766 \end_layout
28767
28768 \end_inset
28769 </cell>
28770 </row>
28771 <row topline="true">
28772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28773 \begin_inset Text
28774
28775 \begin_layout Standard
28776 dd
28777 \end_layout
28778
28779 \end_inset
28780 </cell>
28781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28782 \begin_inset Text
28783
28784 \begin_layout Standard
28785 didot (1\InsetSpace \thinspace{}
28786 dd 
28787 \begin_inset Formula $\approx$
28788 \end_inset
28789
28790  0.376\InsetSpace \thinspace{}
28791 mm)
28792 \end_layout
28793
28794 \end_inset
28795 </cell>
28796 </row>
28797 <row topline="true">
28798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28799 \begin_inset Text
28800
28801 \begin_layout Standard
28802 cc
28803 \end_layout
28804
28805 \end_inset
28806 </cell>
28807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28808 \begin_inset Text
28809
28810 \begin_layout Standard
28811 cicero (1\InsetSpace \thinspace{}
28812 cc = 12\InsetSpace \thinspace{}
28813 dd)
28814 \end_layout
28815
28816 \end_inset
28817 </cell>
28818 </row>
28819 <row topline="true">
28820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28821 \begin_inset Text
28822
28823 \begin_layout Standard
28824 Scale%
28825 \end_layout
28826
28827 \end_inset
28828 </cell>
28829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28830 \begin_inset Text
28831
28832 \begin_layout Standard
28833 % of original image width
28834 \end_layout
28835
28836 \end_inset
28837 </cell>
28838 </row>
28839 <row topline="true">
28840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28841 \begin_inset Text
28842
28843 \begin_layout Standard
28844 text%
28845 \end_layout
28846
28847 \end_inset
28848 </cell>
28849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28850 \begin_inset Text
28851
28852 \begin_layout Standard
28853 % of text width
28854 \end_layout
28855
28856 \end_inset
28857 </cell>
28858 </row>
28859 <row topline="true">
28860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28861 \begin_inset Text
28862
28863 \begin_layout Standard
28864 col%
28865 \end_layout
28866
28867 \end_inset
28868 </cell>
28869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28870 \begin_inset Text
28871
28872 \begin_layout Standard
28873 % of column width
28874 \end_layout
28875
28876 \end_inset
28877 </cell>
28878 </row>
28879 <row topline="true">
28880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28881 \begin_inset Text
28882
28883 \begin_layout Standard
28884 page%
28885 \end_layout
28886
28887 \end_inset
28888 </cell>
28889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28890 \begin_inset Text
28891
28892 \begin_layout Standard
28893 % of paper width
28894 \end_layout
28895
28896 \end_inset
28897 </cell>
28898 </row>
28899 <row topline="true">
28900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28901 \begin_inset Text
28902
28903 \begin_layout Standard
28904 line%
28905 \end_layout
28906
28907 \end_inset
28908 </cell>
28909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28910 \begin_inset Text
28911
28912 \begin_layout Standard
28913 % of line width
28914 \end_layout
28915
28916 \end_inset
28917 </cell>
28918 </row>
28919 <row topline="true">
28920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28921 \begin_inset Text
28922
28923 \begin_layout Standard
28924 theight%
28925 \end_layout
28926
28927 \end_inset
28928 </cell>
28929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28930 \begin_inset Text
28931
28932 \begin_layout Standard
28933 % of text height
28934 \end_layout
28935
28936 \end_inset
28937 </cell>
28938 </row>
28939 <row topline="true">
28940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28941 \begin_inset Text
28942
28943 \begin_layout Standard
28944 pheight%
28945 \end_layout
28946
28947 \end_inset
28948 </cell>
28949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28950 \begin_inset Text
28951
28952 \begin_layout Standard
28953 % of paper height
28954 \end_layout
28955
28956 \end_inset
28957 </cell>
28958 </row>
28959 <row topline="true">
28960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28961 \begin_inset Text
28962
28963 \begin_layout Standard
28964 ex
28965 \end_layout
28966
28967 \end_inset
28968 </cell>
28969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28970 \begin_inset Text
28971
28972 \begin_layout Standard
28973 height of letter 
28974 \emph on
28975 x
28976 \emph default
28977  in current font
28978 \end_layout
28979
28980 \end_inset
28981 </cell>
28982 </row>
28983 <row topline="true">
28984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28985 \begin_inset Text
28986
28987 \begin_layout Standard
28988 em
28989 \end_layout
28990
28991 \end_inset
28992 </cell>
28993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28994 \begin_inset Text
28995
28996 \begin_layout Standard
28997 width of letter 
28998 \emph on
28999 M
29000 \emph default
29001  in current font
29002 \end_layout
29003
29004 \end_inset
29005 </cell>
29006 </row>
29007 <row topline="true" bottomline="true">
29008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29009 \begin_inset Text
29010
29011 \begin_layout Standard
29012 mu
29013 \end_layout
29014
29015 \end_inset
29016 </cell>
29017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29018 \begin_inset Text
29019
29020 \begin_layout Standard
29021 math unit (1\InsetSpace \thinspace{}
29022 mu = 1/18\InsetSpace \thinspace{}
29023 em)
29024 \end_layout
29025
29026 \end_inset
29027 </cell>
29028 </row>
29029 </lyxtabular>
29030
29031 \end_inset
29032
29033
29034 \end_layout
29035
29036 \end_inset
29037
29038
29039 \end_layout
29040
29041 \begin_layout Chapter
29042 Output File Formats with Graphics
29043 \begin_inset LatexCommand label
29044 name "cha:Output-File-Formats"
29045
29046 \end_inset
29047
29048
29049 \end_layout
29050
29051 \begin_layout Section
29052 DVI
29053 \begin_inset LatexCommand index
29054 name "File Formats ! DVI"
29055
29056 \end_inset
29057
29058
29059 \begin_inset LatexCommand index
29060 name "DVI|see{File Formats}"
29061
29062 \end_inset
29063
29064
29065 \end_layout
29066
29067 \begin_layout Standard
29068 This file type has the extension 
29069 \begin_inset Quotes eld
29070 \end_inset
29071
29072
29073 \family typewriter
29074 .dvi
29075 \family default
29076
29077 \begin_inset Quotes erd
29078 \end_inset
29079
29080 .
29081  It is called 
29082 \begin_inset Quotes eld
29083 \end_inset
29084
29085 device-independent
29086 \begin_inset Quotes erd
29087 \end_inset
29088
29089  (DVI), because it is completely portable; you can move them from one machine
29090  to another without needing to do any sort of conversion.
29091  At the time when this file-format was developed, this was no matter of
29092  course.
29093  DVIs are used for quick previews and as pre-stage for other output formats,
29094  like PostScript.
29095 \end_layout
29096
29097 \begin_layout Standard
29098 \begin_inset Note Greyedout
29099 status open
29100
29101 \begin_layout Standard
29102
29103 \series bold
29104 Note:
29105 \series default
29106  DVI-files doesn't contain images, they will only be a linked.
29107 \end_layout
29108
29109 \end_inset
29110
29111  So don't forget this, if you move your 
29112 \family typewriter
29113 .dvi
29114 \family default
29115  file to another computer.
29116  This property can also slow down your computer when you view the DVI.
29117  Because the DVI-viewer has to convert the image in the background to make
29118  it visible when you scroll in the DVI.
29119  So we recommend to use PDF for files with many images.
29120 \end_layout
29121
29122 \begin_layout Standard
29123 You can export your document to DVI by using the menu 
29124 \family sans
29125 File\SpecialChar \menuseparator
29126 Export\SpecialChar \menuseparator
29127 DVI
29128 \family default
29129 .
29130  You can view your document as DVI via the 
29131 \family sans
29132 View
29133 \family default
29134  menu or by using the toolbar button 
29135 \begin_inset Graphics
29136         filename ../images/buffer-view_dvi.xpm
29137         scale 85
29138         scaleBeforeRotation
29139
29140 \end_inset
29141
29142 .
29143 \end_layout
29144
29145 \begin_layout Section
29146 PostScript
29147 \begin_inset LatexCommand label
29148 name "sec:PostScript"
29149
29150 \end_inset
29151
29152
29153 \begin_inset LatexCommand index
29154 name "File Formats ! PostScript"
29155
29156 \end_inset
29157
29158
29159 \begin_inset LatexCommand index
29160 name "PostScript|see{File Formats}"
29161
29162 \end_inset
29163
29164
29165 \end_layout
29166
29167 \begin_layout Standard
29168 This file type has the extension 
29169 \begin_inset Quotes eld
29170 \end_inset
29171
29172
29173 \family typewriter
29174 .ps
29175 \family default
29176
29177 \begin_inset Quotes erd
29178 \end_inset
29179
29180 .
29181  PostScript was developed by the company 
29182 \family typewriter
29183 Adobe
29184 \family default
29185  as printer language.
29186  The file contains therefore commands that the printer uses to print the
29187  file.
29188  PostScript can be seen as 
29189 \begin_inset Quotes eld
29190 \end_inset
29191
29192 programming language
29193 \begin_inset Quotes erd
29194 \end_inset
29195
29196 ; you can calculate with it and draw diagrams and images
29197 \begin_inset Foot
29198 status collapsed
29199
29200 \begin_layout Standard
29201 If you are interested to learn more about this, have a look at the LaTeX-package
29202  
29203 \series bold
29204 PSTricks
29205 \series default
29206  
29207 \begin_inset LatexCommand cite
29208 key "pstricks"
29209
29210 \end_inset
29211
29212 .
29213 \end_layout
29214
29215 \end_inset
29216
29217 .
29218  Due to this ability, the files are often bigger than PDFs.
29219 \end_layout
29220
29221 \begin_layout Standard
29222 PostScript can only contain images in the format 
29223 \begin_inset Quotes eld
29224 \end_inset
29225
29226 Encapsulated PostScript
29227 \begin_inset Quotes erd
29228 \end_inset
29229
29230  (EPS, file extension 
29231 \begin_inset Quotes eld
29232 \end_inset
29233
29234
29235 \family typewriter
29236 .eps
29237 \family default
29238
29239 \begin_inset Quotes erd
29240 \end_inset
29241
29242 ).
29243  As LyX allows you to use any known image format in your document, it has
29244  to convert images in the background to EPS.
29245  If you have e.g 50 images in your document, LyX has to do 50 conversions
29246  whenever you view or export your document.
29247  This will slow down your work flow with LyX drastically.
29248  So if you plan to use PostScript, you can insert your images directly as
29249  EPS to avoid this problem.
29250 \end_layout
29251
29252 \begin_layout Standard
29253 You can export your document to PostScript using the menu 
29254 \family sans
29255 File\SpecialChar \menuseparator
29256 Export\SpecialChar \menuseparator
29257 Postscript
29258 \family default
29259 .
29260  You can view your document as PostScript via the 
29261 \family sans
29262 View
29263 \family default
29264  menu or by using the toolbar button 
29265 \begin_inset Graphics
29266         filename ../images/buffer-view_ps.xpm
29267         scale 85
29268         scaleBeforeRotation
29269
29270 \end_inset
29271
29272 .
29273 \end_layout
29274
29275 \begin_layout Section
29276 PDF
29277 \begin_inset LatexCommand label
29278 name "sec:PDF"
29279
29280 \end_inset
29281
29282
29283 \begin_inset LatexCommand index
29284 name "File Formats ! PDF"
29285
29286 \end_inset
29287
29288
29289 \begin_inset LatexCommand index
29290 name "PDF"
29291
29292 \end_inset
29293
29294
29295 \end_layout
29296
29297 \begin_layout Standard
29298 This file type has the extension 
29299 \begin_inset Quotes eld
29300 \end_inset
29301
29302
29303 \family typewriter
29304 .pdf
29305 \family default
29306
29307 \begin_inset Quotes erd
29308 \end_inset
29309
29310 .
29311  The 
29312 \begin_inset Quotes eld
29313 \end_inset
29314
29315 Portable Document Format
29316 \begin_inset Quotes erd
29317 \end_inset
29318
29319  (PDF) is developed by 
29320 \family typewriter
29321 Adobe
29322 \family default
29323  as derivative from PostScript.
29324  It is more compressed and it uses much less commands than PostScript.
29325  As the name 
29326 \begin_inset Quotes eld
29327 \end_inset
29328
29329 portable
29330 \begin_inset Quotes erd
29331 \end_inset
29332
29333  implies, it can be processed at any computer system and the printed output
29334  looks exactly the same.
29335 \end_layout
29336
29337 \begin_layout Standard
29338 PDF can contain images in its own PDF format, in the format 
29339 \begin_inset Quotes eld
29340 \end_inset
29341
29342 Joint Photographic Experts Group
29343 \begin_inset Quotes erd
29344 \end_inset
29345
29346  (JPG, file extension 
29347 \begin_inset Quotes eld
29348 \end_inset
29349
29350
29351 \family typewriter
29352 .jpg
29353 \family default
29354
29355 \begin_inset Quotes erd
29356 \end_inset
29357
29358  or 
29359 \begin_inset Quotes eld
29360 \end_inset
29361
29362
29363 \family typewriter
29364 .jpeg
29365 \family default
29366
29367 \begin_inset Quotes erd
29368 \end_inset
29369
29370 ), and in the format 
29371 \begin_inset Quotes eld
29372 \end_inset
29373
29374 Portable Network Graphics
29375 \begin_inset Quotes erd
29376 \end_inset
29377
29378  (PNG, file extension 
29379 \begin_inset Quotes eld
29380 \end_inset
29381
29382
29383 \family typewriter
29384 .png
29385 \family default
29386
29387 \begin_inset Quotes erd
29388 \end_inset
29389
29390 ).
29391  Nevertheless you can use any other image format, because LyX converts them
29392  in the background to one of these formats.
29393  But as described in the section about PostScript, the image conversion
29394  will slow down your work flow.
29395  So it is recommended to use images in one of the three mentioned formats.
29396 \end_layout
29397
29398 \begin_layout Standard
29399 You can export your document to PDF via the menu 
29400 \family sans
29401 File\SpecialChar \menuseparator
29402 Export
29403 \family default
29404  in three different ways:
29405 \end_layout
29406
29407 \begin_layout Description
29408 PDF\InsetSpace ~
29409 (ps2pdf) This uses the program 
29410 \family typewriter
29411 ps2pdf
29412 \family default
29413  that creates a PDF from a PostScript-version of your file.
29414  The PostScript-version is produced by the program 
29415 \family typewriter
29416 dvips
29417 \family default
29418  which uses a DVI-version as intermediate step.
29419  So this export variant consist of three conversions.
29420 \end_layout
29421
29422 \begin_layout Description
29423 PDF\InsetSpace ~
29424 (dvipdfm) This uses the program 
29425 \family typewriter
29426 dvipdfm
29427 \family default
29428  that converts your file in the background to DVI and in a second step to
29429  PDF.
29430 \end_layout
29431
29432 \begin_layout Description
29433 PDF\InsetSpace ~
29434 (pdflatex) This uses the program 
29435 \family typewriter
29436 pdftex
29437 \family default
29438  that converts your file directly to PDF.
29439 \end_layout
29440
29441 \begin_layout Standard
29442 It is recommended to use 
29443 \family sans
29444 PDF\InsetSpace ~
29445 (pdflatex)
29446 \family default
29447  because 
29448 \family typewriter
29449 pdftex
29450 \family default
29451  supports all features of actual PDF-versions, is quick and works stable
29452  without problems.
29453  The program 
29454 \family typewriter
29455 dvipdfm
29456 \family default
29457  is not under development and therefore a bit outdated.
29458 \end_layout
29459
29460 \begin_layout Standard
29461 You can view your document as PDF via the 
29462 \family sans
29463 View
29464 \family default
29465  menu or by using the toolbar button 
29466 \begin_inset Graphics
29467         filename ../images/buffer-view_pdf2.xpm
29468         scale 85
29469         scaleBeforeRotation
29470
29471 \end_inset
29472
29473  
29474 \family sans
29475 (
29476 \family default
29477 that uses 
29478 \family sans
29479 PDF\InsetSpace ~
29480 (pdflatex)
29481 \family default
29482 ).
29483 \end_layout
29484
29485 \begin_layout Chapter
29486 Explanation of Equation\InsetSpace ~
29487
29488 \begin_inset LatexCommand eqref
29489 reference "eq:Wgn"
29490
29491 \end_inset
29492
29493
29494 \begin_inset LatexCommand label
29495 name "cha:Explanation-of-Equation"
29496
29497 \end_inset
29498
29499
29500 \end_layout
29501
29502 \begin_layout Standard
29503 The total width of 
29504 \emph on
29505 n
29506 \emph default
29507  table cells 
29508 \begin_inset Formula $W_{\mathrm{tot\, n}}$
29509 \end_inset
29510
29511  can be calculated to
29512 \end_layout
29513
29514 \begin_layout Standard
29515 \begin_inset Formula \begin{equation}
29516 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
29517
29518 \end_inset
29519
29520
29521 \end_layout
29522
29523 \begin_layout Standard
29524 Where 
29525 \begin_inset Formula $W_{g\, n}$
29526 \end_inset
29527
29528  is the given width of all cells.
29529  
29530 \series bold
29531
29532 \backslash
29533 tabcolsep
29534 \series default
29535  is the LaTeX-length between the cell text and the cell border, its default
29536  value is 6\InsetSpace \thinspace{}
29537 pt.
29538  
29539 \series bold
29540
29541 \backslash
29542 arrayrulewidth
29543 \series default
29544  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
29545 pt.
29546 \end_layout
29547
29548 \begin_layout Standard
29549 Following equation\InsetSpace ~
29550
29551 \begin_inset LatexCommand eqref
29552 reference "eq:Wtot_n"
29553
29554 \end_inset
29555
29556 , the total width of a multicolumn 
29557 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
29558 \end_inset
29559
29560  is
29561 \end_layout
29562
29563 \begin_layout Standard
29564 \begin_inset Formula \begin{equation}
29565 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
29566
29567 \end_inset
29568
29569
29570 \end_layout
29571
29572 \begin_layout Standard
29573 By setting equation\InsetSpace ~
29574
29575 \begin_inset LatexCommand eqref
29576 reference "eq:Wtot_n"
29577
29578 \end_inset
29579
29580  and 
29581 \begin_inset LatexCommand eqref
29582 reference "eq:Wtot_mult"
29583
29584 \end_inset
29585
29586  equal we can calculate the needed given width 
29587 \begin_inset Formula $W_{g\, n}$
29588 \end_inset
29589
29590  when 
29591 \emph on
29592 n
29593 \emph default
29594  columns are spanned, so that each column has a total width of 
29595 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
29596 \end_inset
29597
29598 :
29599 \end_layout
29600
29601 \begin_layout Standard
29602 \begin_inset Formula \begin{equation}
29603 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
29604
29605 \end_inset
29606
29607
29608 \end_layout
29609
29610 \begin_layout Bibliography
29611 \begin_inset LatexCommand bibitem
29612 key "latexcompanion"
29613
29614 \end_inset
29615
29616 Frank Mittelbach and Michel Goossens: 
29617 \emph on
29618 The LaTeX Companion Second Edition.
29619
29620 \emph default
29621  Addison-Wesley, 2004
29622 \end_layout
29623
29624 \begin_layout Bibliography
29625 \begin_inset LatexCommand bibitem
29626 key "latexguide"
29627
29628 \end_inset
29629
29630 Helmut Kopka and Patrick W.
29631  Daly: 
29632 \emph on
29633 A Guide to LaTeX Fourth Edition.
29634
29635 \emph default
29636  Addison-Wesley, 2003
29637 \end_layout
29638
29639 \begin_layout Bibliography
29640 \begin_inset LatexCommand bibitem
29641 key "latexbook"
29642
29643 \end_inset
29644
29645 Leslie Lamport: 
29646 \emph on
29647 LaTeX: A Document Preparation System.
29648
29649 \emph default
29650  Addison-Wesley, second edition, 1994
29651 \end_layout
29652
29653 \begin_layout Bibliography
29654 \begin_inset LatexCommand bibitem
29655 key "booktabs"
29656
29657 \end_inset
29658
29659
29660 \begin_inset ERT
29661 status collapsed
29662
29663 \begin_layout Standard
29664
29665
29666 \backslash
29667 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
29668 {
29669 \end_layout
29670
29671 \end_inset
29672
29673 Documentation
29674 \begin_inset ERT
29675 status collapsed
29676
29677 \begin_layout Standard
29678
29679 }
29680 \end_layout
29681
29682 \end_inset
29683
29684  of the LaTeX-package 
29685 \series bold
29686 booktabs
29687 \series default
29688
29689 \begin_inset LatexCommand index
29690 name "LaTeX-packages ! booktabs"
29691
29692 \end_inset
29693
29694
29695 \end_layout
29696
29697 \begin_layout Bibliography
29698 \begin_inset LatexCommand bibitem
29699 key "caption"
29700
29701 \end_inset
29702
29703
29704 \begin_inset ERT
29705 status collapsed
29706
29707 \begin_layout Standard
29708
29709
29710 \backslash
29711 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29712 \end_layout
29713
29714 \end_inset
29715
29716 Documentation
29717 \begin_inset ERT
29718 status collapsed
29719
29720 \begin_layout Standard
29721
29722 }
29723 \end_layout
29724
29725 \end_inset
29726
29727  of the LaTeX-package 
29728 \series bold
29729 caption
29730 \series default
29731
29732 \begin_inset LatexCommand index
29733 name "LaTeX-packages ! caption"
29734
29735 \end_inset
29736
29737
29738 \end_layout
29739
29740 \begin_layout Bibliography
29741 \begin_inset LatexCommand bibitem
29742 key "caption-de"
29743
29744 \end_inset
29745
29746 German 
29747 \begin_inset ERT
29748 status collapsed
29749
29750 \begin_layout Standard
29751
29752
29753 \backslash
29754 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29755 {
29756 \end_layout
29757
29758 \end_inset
29759
29760 documentation
29761 \begin_inset ERT
29762 status collapsed
29763
29764 \begin_layout Standard
29765
29766 }
29767 \end_layout
29768
29769 \end_inset
29770
29771  of the LaTeX-package 
29772 \series bold
29773 caption
29774 \end_layout
29775
29776 \begin_layout Bibliography
29777 \begin_inset LatexCommand bibitem
29778 key "endfloat"
29779
29780 \end_inset
29781
29782
29783 \begin_inset ERT
29784 status collapsed
29785
29786 \begin_layout Standard
29787
29788
29789 \backslash
29790 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29791 {
29792 \end_layout
29793
29794 \end_inset
29795
29796 Documentation
29797 \begin_inset ERT
29798 status collapsed
29799
29800 \begin_layout Standard
29801
29802 }
29803 \end_layout
29804
29805 \end_inset
29806
29807  of the LaTeX-package 
29808 \series bold
29809 endf\SpecialChar \textcompwordmark{}
29810 loat
29811 \series default
29812
29813 \begin_inset LatexCommand index
29814 name "LaTeX-packages ! endfloat"
29815
29816 \end_inset
29817
29818
29819 \end_layout
29820
29821 \begin_layout Bibliography
29822 \begin_inset LatexCommand bibitem
29823 key "floatflt"
29824
29825 \end_inset
29826
29827
29828 \begin_inset ERT
29829 status collapsed
29830
29831 \begin_layout Standard
29832
29833
29834 \backslash
29835 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29836 {
29837 \end_layout
29838
29839 \end_inset
29840
29841 Documentation
29842 \begin_inset ERT
29843 status collapsed
29844
29845 \begin_layout Standard
29846
29847 }
29848 \end_layout
29849
29850 \end_inset
29851
29852  of the LaTeX-package 
29853 \series bold
29854 f\SpecialChar \textcompwordmark{}
29855 loatf\SpecialChar \textcompwordmark{}
29856 lt
29857 \series default
29858
29859 \begin_inset LatexCommand index
29860 name "LaTeX-packages ! floatflt"
29861
29862 \end_inset
29863
29864
29865 \end_layout
29866
29867 \begin_layout Bibliography
29868 \begin_inset LatexCommand bibitem
29869 key "footmisc"
29870
29871 \end_inset
29872
29873
29874 \begin_inset ERT
29875 status collapsed
29876
29877 \begin_layout Standard
29878
29879
29880 \backslash
29881 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29882 {
29883 \end_layout
29884
29885 \end_inset
29886
29887 Documentation
29888 \begin_inset ERT
29889 status collapsed
29890
29891 \begin_layout Standard
29892
29893 }
29894 \end_layout
29895
29896 \end_inset
29897
29898  of the LaTeX-package 
29899 \series bold
29900 footmisc
29901 \series default
29902
29903 \begin_inset LatexCommand index
29904 name "LaTeX-packages ! footmisc"
29905
29906 \end_inset
29907
29908
29909 \end_layout
29910
29911 \begin_layout Bibliography
29912 \begin_inset LatexCommand bibitem
29913 key "hypcap"
29914
29915 \end_inset
29916
29917
29918 \begin_inset ERT
29919 status collapsed
29920
29921 \begin_layout Standard
29922
29923
29924 \backslash
29925 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29926 \end_layout
29927
29928 \end_inset
29929
29930 Documentation
29931 \begin_inset ERT
29932 status collapsed
29933
29934 \begin_layout Standard
29935
29936 }
29937 \end_layout
29938
29939 \end_inset
29940
29941  of the LaTeX-package 
29942 \series bold
29943 hypcap
29944 \series default
29945
29946 \begin_inset LatexCommand index
29947 name "LaTeX-packages ! hyperref"
29948
29949 \end_inset
29950
29951
29952 \end_layout
29953
29954 \begin_layout Bibliography
29955 \begin_inset LatexCommand bibitem
29956 key "hyperref"
29957
29958 \end_inset
29959
29960
29961 \begin_inset ERT
29962 status collapsed
29963
29964 \begin_layout Standard
29965
29966
29967 \backslash
29968 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29969 {
29970 \end_layout
29971
29972 \end_inset
29973
29974 Documentation
29975 \begin_inset ERT
29976 status collapsed
29977
29978 \begin_layout Standard
29979
29980 }
29981 \end_layout
29982
29983 \end_inset
29984
29985  of the LaTeX-package 
29986 \series bold
29987 hyperref
29988 \series default
29989
29990 \begin_inset LatexCommand index
29991 name "LaTeX-packages ! hyperref"
29992
29993 \end_inset
29994
29995
29996 \end_layout
29997
29998 \begin_layout Bibliography
29999 \begin_inset LatexCommand bibitem
30000 key "koma-script"
30001
30002 \end_inset
30003
30004
30005 \begin_inset ERT
30006 status collapsed
30007
30008 \begin_layout Standard
30009
30010
30011 \backslash
30012 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
30013 df}{
30014 \end_layout
30015
30016 \end_inset
30017
30018 Documentation
30019 \begin_inset ERT
30020 status collapsed
30021
30022 \begin_layout Standard
30023
30024 }
30025 \end_layout
30026
30027 \end_inset
30028
30029  of the LaTeX-package 
30030 \series bold
30031 koma-script
30032 \series default
30033
30034 \begin_inset LatexCommand index
30035 name "LaTeX-packages ! koma-script"
30036
30037 \end_inset
30038
30039
30040 \end_layout
30041
30042 \begin_layout Bibliography
30043 \begin_inset LatexCommand bibitem
30044 key "koma-script-de"
30045
30046 \end_inset
30047
30048 German 
30049 \begin_inset ERT
30050 status collapsed
30051
30052 \begin_layout Standard
30053
30054
30055 \backslash
30056 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
30057 df}{
30058 \end_layout
30059
30060 \end_inset
30061
30062 documentation
30063 \begin_inset ERT
30064 status collapsed
30065
30066 \begin_layout Standard
30067
30068 }
30069 \end_layout
30070
30071 \end_inset
30072
30073  of the LaTeX-package 
30074 \series bold
30075 koma-script
30076 \series default
30077
30078 \begin_inset LatexCommand index
30079 name "LaTeX-packages ! koma-script"
30080
30081 \end_inset
30082
30083
30084 \end_layout
30085
30086 \begin_layout Bibliography
30087 \begin_inset LatexCommand bibitem
30088 key "listings"
30089
30090 \end_inset
30091
30092
30093 \begin_inset ERT
30094 status collapsed
30095
30096 \begin_layout Standard
30097
30098
30099 \backslash
30100 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
30101 {
30102 \end_layout
30103
30104 \end_inset
30105
30106 Documentation
30107 \begin_inset ERT
30108 status collapsed
30109
30110 \begin_layout Standard
30111
30112 }
30113 \end_layout
30114
30115 \end_inset
30116
30117  of the LaTeX-package 
30118 \series bold
30119 listings
30120 \series default
30121
30122 \begin_inset LatexCommand index
30123 name "LaTeX-packages ! listings"
30124
30125 \end_inset
30126
30127
30128 \end_layout
30129
30130 \begin_layout Bibliography
30131 \begin_inset LatexCommand bibitem
30132 key "marginnote"
30133
30134 \end_inset
30135
30136
30137 \begin_inset ERT
30138 status collapsed
30139
30140 \begin_layout Standard
30141
30142
30143 \backslash
30144 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
30145 pdf}{
30146 \end_layout
30147
30148 \end_inset
30149
30150 Documentation
30151 \begin_inset ERT
30152 status collapsed
30153
30154 \begin_layout Standard
30155
30156 }
30157 \end_layout
30158
30159 \end_inset
30160
30161  of the LaTeX-package 
30162 \series bold
30163 marginnote
30164 \series default
30165
30166 \begin_inset LatexCommand index
30167 name "LaTeX-packages ! marginnote"
30168
30169 \end_inset
30170
30171
30172 \end_layout
30173
30174 \begin_layout Bibliography
30175 \begin_inset LatexCommand bibitem
30176 key "pstricks"
30177
30178 \end_inset
30179
30180
30181 \begin_inset ERT
30182 status collapsed
30183
30184 \begin_layout Standard
30185
30186
30187 \backslash
30188 href{http://tug.org/PSTricks/main.cgi/}{
30189 \end_layout
30190
30191 \end_inset
30192
30193 Web page
30194 \begin_inset ERT
30195 status collapsed
30196
30197 \begin_layout Standard
30198
30199 }
30200 \end_layout
30201
30202 \end_inset
30203
30204  of the LaTeX-package 
30205 \series bold
30206 PSTricks
30207 \series default
30208
30209 \begin_inset LatexCommand index
30210 name "LaTeX-packages ! PSTricks"
30211
30212 \end_inset
30213
30214
30215 \end_layout
30216
30217 \begin_layout Bibliography
30218 \begin_inset LatexCommand bibitem
30219 key "sidecap"
30220
30221 \end_inset
30222
30223
30224 \begin_inset ERT
30225 status collapsed
30226
30227 \begin_layout Standard
30228
30229
30230 \backslash
30231 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
30232 \end_layout
30233
30234 \end_inset
30235
30236 Documentation
30237 \begin_inset ERT
30238 status collapsed
30239
30240 \begin_layout Standard
30241
30242 }
30243 \end_layout
30244
30245 \end_inset
30246
30247  of the LaTeX-package 
30248 \series bold
30249 sidecap
30250 \series default
30251
30252 \begin_inset LatexCommand index
30253 name "LaTeX-packages ! sidecap"
30254
30255 \end_inset
30256
30257
30258 \end_layout
30259
30260 \begin_layout Bibliography
30261 \begin_inset LatexCommand bibitem
30262 key "NewInLyX15"
30263
30264 \end_inset
30265
30266
30267 \begin_inset ERT
30268 status collapsed
30269
30270 \begin_layout Standard
30271
30272
30273 \backslash
30274 href{http://wiki.lyx.org/LyX/NewInLyX15}{
30275 \end_layout
30276
30277 \end_inset
30278
30279 Wiki page
30280 \begin_inset ERT
30281 status collapsed
30282
30283 \begin_layout Standard
30284
30285 }
30286 \end_layout
30287
30288 \end_inset
30289
30290  about new LyX-features planned for the release 
30291 \family sans
30292 LyX 1.5
30293 \family default
30294 .0.
30295 \end_layout
30296
30297 \begin_layout Standard
30298 \begin_inset LatexCommand printindex
30299
30300 \end_inset
30301
30302
30303 \end_layout
30304
30305 \begin_layout Standard
30306 \begin_inset FloatList figure
30307
30308 \end_inset
30309
30310
30311 \end_layout
30312
30313 \begin_layout Standard
30314 \begin_inset FloatList table
30315
30316 \end_inset
30317
30318
30319 \end_layout
30320
30321 \end_body
30322 \end_document