]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/box-color-size-space-align.lyx.lyx
c17dd9d4348fea0feff8783c239d83500c37581b
[lyx.git] / src / tex2lyx / test / box-color-size-space-align.lyx.lyx
1 #LyX file created by tex2lyx 2.1.0svn
2 \lyxformat 433
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7
8 \setlength{\fboxsep}{3mm}
9
10 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
11
12 \color[rgb]{0,0,0}
13
14 \usepackage{ifpdf}% part of the hyperref bundle
15 \ifpdf % if pdflatex is used
16
17  % set fonts for nicer pdf view
18  \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
19
20  % link all cross references and URLs in pdf output
21  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
22   bookmarksopen, bookmarksopenlevel=2,
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={tex2lyx testcase},pdfsubject={tex2lyx},
28   pdfkeywords={LyX, tex2lyx}]{hyperref}
29  
30 \else % if dvi or ps is produced
31
32  % link all cross references and URLs in dvi output
33  \usepackage[ps2pdf]{hyperref}
34
35 \fi % end if pdflatex is used
36
37
38
39 \end_preamble
40 \options b4paper
41 \use_default_options false
42 \maintain_unincluded_children false
43 \language english
44 \language_package none
45 \inputencoding latin9
46 \fontencoding T1
47 \font_roman default
48 \font_sans default
49 \font_typewriter default
50 \font_default_family default
51 \use_non_tex_fonts false
52 \font_sc false
53 \font_osf false
54 \font_sf_scale 100
55 \font_tt_scale 100
56 \graphics default
57 \default_output_format default
58 \output_sync 0
59 \bibtex_command default
60 \index_command default
61 \paperfontsize 12
62 \spacing other 1.2
63 \use_hyperref 0
64 \papersize b4paper
65 \use_geometry true
66 \use_package amsmath 2
67 \use_package amssymb 0
68 \use_package esint 1
69 \use_package mathdots 0
70 \use_package mathtools 0
71 \use_package mhchem 0
72 \use_package undertilde 0
73 \cite_engine basic
74 \cite_engine_type numerical
75 \biblio_style plain
76 \use_bibtopic false
77 \use_indices false
78 \paperorientation landscape
79 \suppress_date false
80 \justification true
81 \use_refstyle 0
82 \notefontcolor #0000ff
83 \backgroundcolor #ff5500
84 \boxbgcolor #ffff00
85 \leftmargin 3cm
86 \topmargin 1cm
87 \rightmargin 4cm
88 \bottommargin 2cm
89 \headheight 6cm
90 \headsep 5cm
91 \footskip 7cm
92 \columnsep 8cm
93 \secnumdepth 3
94 \tocdepth 3
95 \paragraph_separation skip
96 \defskip 3mm
97 \quotes_language english
98 \papercolumns 2
99 \papersides 2
100 \paperpagestyle default
101 \tracking_changes false
102 \output_changes false
103 \html_math_output 0
104 \html_css_as_file 0
105 \html_be_strict false
106 \end_header
107
108 \begin_body
109
110 \begin_layout Standard
111
112
113 \begin_inset CommandInset toc
114 LatexCommand tableofcontents
115
116 \end_inset
117
118
119 \end_layout
120
121 \begin_layout Section
122
123 Boxes
124 \end_layout
125
126 \begin_layout Subsection
127
128 Frameless Boxes
129 \end_layout
130
131 \begin_layout Standard
132
133 blabla 
134 \begin_inset ERT
135 status collapsed
136
137 \begin_layout Standard
138
139
140 \backslash
141 mbox{
142 \end_layout
143
144 \end_inset
145
146 mbox
147 \begin_inset ERT
148 status collapsed
149
150 \begin_layout Standard
151
152 }
153 \end_layout
154
155 \end_inset
156
157  blabla
158 \end_layout
159
160 \begin_layout Standard
161
162 blabla 
163 \begin_inset Box Frameless
164 position "c"
165 hor_pos "c"
166 has_inner_box 1
167 inner_pos "c"
168 use_parbox 0
169 use_makebox 1
170 width "1in"
171 special "width"
172 height "1in"
173 height_special "totalheight"
174 status open
175
176
177 \begin_layout Plain Layout
178
179 makebox 1
180 \end_layout
181
182 \end_inset
183
184  blabla
185 \end_layout
186
187 \begin_layout Standard
188
189 blabla 
190 \begin_inset Box Frameless
191 position "t"
192 hor_pos "c"
193 has_inner_box 1
194 inner_pos "t"
195 use_parbox 0
196 use_makebox 1
197 width "3cm"
198 special "none"
199 height "1in"
200 height_special "totalheight"
201 status open
202
203
204 \begin_layout Plain Layout
205
206 makebox 2
207 \end_layout
208
209 \end_inset
210
211  blabla
212 \end_layout
213
214 \begin_layout Standard
215
216 blabla 
217 \begin_inset Box Frameless
218 position "t"
219 hor_pos "l"
220 has_inner_box 1
221 inner_pos "t"
222 use_parbox 0
223 use_makebox 1
224 width "3cm"
225 special "none"
226 height "1in"
227 height_special "totalheight"
228 status open
229
230
231 \begin_layout Plain Layout
232
233 makebox 3
234 \end_layout
235
236 \end_inset
237
238  blabla
239 \end_layout
240
241 \begin_layout Standard
242
243
244 \begin_inset Float figure
245 placement ht
246 wide false
247 sideways false
248 status open
249
250
251 \begin_layout Standard
252
253
254 \begin_inset ERT
255 status collapsed
256
257 \begin_layout Standard
258
259
260 \backslash
261 centering
262 \end_layout
263
264 \end_inset
265
266  
267 \begin_inset ERT
268 status collapsed
269
270 \begin_layout Standard
271
272
273 \backslash
274 setlength{
275 \backslash
276 unitlength}{.2in}
277 \end_layout
278
279 \end_inset
280
281
282 \end_layout
283
284 \begin_layout Standard
285
286
287 \begin_inset ERT
288 status collapsed
289
290 \begin_layout Standard
291
292
293 \backslash
294 begin{picture}
295 \end_layout
296
297 \end_inset
298
299 (8,6) 
300 \begin_inset ERT
301 status collapsed
302
303 \begin_layout Standard
304
305
306 \backslash
307 put
308 \end_layout
309
310 \end_inset
311
312 (0,0)
313 \begin_inset ERT
314 status collapsed
315
316 \begin_layout Standard
317
318 {
319 \end_layout
320
321 \end_inset
322
323
324 \begin_inset ERT
325 status collapsed
326
327 \begin_layout Standard
328
329
330 \backslash
331 makebox(0,0)[tr]{
332 \end_layout
333
334 \end_inset
335
336 AAA
337 \begin_inset ERT
338 status collapsed
339
340 \begin_layout Standard
341
342 }
343 \end_layout
344
345 \end_inset
346
347
348 \begin_inset ERT
349 status collapsed
350
351 \begin_layout Standard
352
353 }
354 \end_layout
355
356 \end_inset
357
358  
359 \begin_inset ERT
360 status collapsed
361
362 \begin_layout Standard
363
364
365 \backslash
366 put
367 \end_layout
368
369 \end_inset
370
371 (8,0)
372 \begin_inset ERT
373 status collapsed
374
375 \begin_layout Standard
376
377 {
378 \end_layout
379
380 \end_inset
381
382
383 \begin_inset ERT
384 status collapsed
385
386 \begin_layout Standard
387
388
389 \backslash
390 makebox(0,0){
391 \end_layout
392
393 \end_inset
394
395 BBB
396 \begin_inset ERT
397 status collapsed
398
399 \begin_layout Standard
400
401 }
402 \end_layout
403
404 \end_inset
405
406
407 \begin_inset ERT
408 status collapsed
409
410 \begin_layout Standard
411
412 }
413 \end_layout
414
415 \end_inset
416
417  
418 \begin_inset ERT
419 status collapsed
420
421 \begin_layout Standard
422
423
424 \backslash
425 put
426 \end_layout
427
428 \end_inset
429
430 (0,8)
431 \begin_inset ERT
432 status collapsed
433
434 \begin_layout Standard
435
436 {
437 \end_layout
438
439 \end_inset
440
441
442 \begin_inset ERT
443 status collapsed
444
445 \begin_layout Standard
446
447
448 \backslash
449 framebox(0,0){
450 \end_layout
451
452 \end_inset
453
454 x
455 \begin_inset ERT
456 status collapsed
457
458 \begin_layout Standard
459
460 }
461 \end_layout
462
463 \end_inset
464
465
466 \begin_inset ERT
467 status collapsed
468
469 \begin_layout Standard
470
471 }
472 \end_layout
473
474 \end_inset
475
476  
477 \begin_inset ERT
478 status collapsed
479
480 \begin_layout Standard
481
482
483 \backslash
484 put
485 \end_layout
486
487 \end_inset
488
489 (1,0)
490 \begin_inset ERT
491 status collapsed
492
493 \begin_layout Standard
494
495 {
496 \end_layout
497
498 \end_inset
499
500
501 \begin_inset ERT
502 status collapsed
503
504 \begin_layout Standard
505
506
507 \backslash
508 line
509 \end_layout
510
511 \end_inset
512
513 (1,0)
514 \begin_inset ERT
515 status collapsed
516
517 \begin_layout Standard
518
519 {
520 \end_layout
521
522 \end_inset
523
524 6
525 \begin_inset ERT
526 status collapsed
527
528 \begin_layout Standard
529
530 }
531 \end_layout
532
533 \end_inset
534
535
536 \begin_inset ERT
537 status collapsed
538
539 \begin_layout Standard
540
541 }
542 \end_layout
543
544 \end_inset
545
546  
547 \begin_inset ERT
548 status collapsed
549
550 \begin_layout Standard
551
552
553 \backslash
554 end{picture}
555 \end_layout
556
557 \end_inset
558
559
560 \end_layout
561
562 \end_inset
563
564
565 \end_layout
566
567 \begin_layout Standard
568
569
570 \begin_inset ERT
571 status collapsed
572
573 \begin_layout Standard
574
575
576 \backslash
577 raisebox{8.5mm}{
578 \end_layout
579
580 \end_inset
581
582 test
583 \begin_inset ERT
584 status collapsed
585
586 \begin_layout Standard
587
588 }
589 \end_layout
590
591 \end_inset
592
593
594 \begin_inset ERT
595 status collapsed
596
597 \begin_layout Standard
598
599
600 \backslash
601 raisebox{-6.5mm}{
602 \end_layout
603
604 \end_inset
605
606 tset
607 \begin_inset ERT
608 status collapsed
609
610 \begin_layout Standard
611
612 }
613 \end_layout
614
615 \end_inset
616
617
618 \end_layout
619
620 \begin_layout Subsection
621
622 Framed Boxes
623 \end_layout
624
625 \begin_layout Standard
626
627 blabla 
628 \begin_inset Box Framed
629 position "c"
630 hor_pos "c"
631 has_inner_box 0
632 inner_pos "c"
633 use_parbox 0
634 use_makebox 0
635 width "100col%"
636 special "none"
637 height "1in"
638 height_special "totalheight"
639 status open
640
641
642 \begin_layout Standard
643
644 framed
645 \end_layout
646
647 \end_inset
648
649 blabla
650 \end_layout
651
652 \begin_layout Standard
653
654 blabla 
655 \begin_inset Box Framed
656 position "c"
657 hor_pos "c"
658 has_inner_box 0
659 inner_pos "c"
660 use_parbox 0
661 use_makebox 0
662 width "100col%"
663 special "none"
664 height "1in"
665 height_special "totalheight"
666 status open
667
668
669 \begin_layout Standard
670
671
672 \begin_inset Box Framed
673 position "c"
674 hor_pos "c"
675 has_inner_box 0
676 inner_pos "c"
677 use_parbox 0
678 use_makebox 0
679 width "100col%"
680 special "none"
681 height "1in"
682 height_special "totalheight"
683 status open
684
685
686 \begin_layout Standard
687
688 nested framed
689 \end_layout
690
691 \end_inset
692
693
694 \end_layout
695
696 \end_inset
697
698 blabla
699 \end_layout
700
701 \begin_layout Standard
702
703 blabla 
704 \begin_inset ERT
705 status collapsed
706
707 \begin_layout Standard
708
709
710 \backslash
711 fbox{
712 \end_layout
713
714 \end_inset
715
716 fbox
717 \begin_inset ERT
718 status collapsed
719
720 \begin_layout Standard
721
722 }
723 \end_layout
724
725 \end_inset
726
727  blabla
728 \end_layout
729
730 \begin_layout Standard
731
732 blabla 
733 \begin_inset ERT
734 status collapsed
735
736 \begin_layout Standard
737
738
739 \backslash
740 framebox{
741 \end_layout
742
743 \end_inset
744
745 fr
746 \color blue
747 ame
748 \color inherit
749 box 1
750 \begin_inset ERT
751 status collapsed
752
753 \begin_layout Standard
754
755 }
756 \end_layout
757
758 \end_inset
759
760  blabla
761 \end_layout
762
763 \begin_layout Standard
764
765 blabla 
766 \begin_inset Box Boxed
767 position "c"
768 hor_pos "c"
769 has_inner_box 0
770 inner_pos "c"
771 use_parbox 0
772 use_makebox 0
773 width "3cm"
774 special "none"
775 height "1in"
776 height_special "totalheight"
777 status open
778
779
780 \begin_layout Standard
781
782 framebox 2
783 \end_layout
784
785 \end_inset
786
787  blabla
788 \end_layout
789
790 \begin_layout Standard
791
792 blabla 
793 \begin_inset Box Boxed
794 position "c"
795 hor_pos "l"
796 has_inner_box 0
797 inner_pos "c"
798 use_parbox 0
799 use_makebox 0
800 width "3cm"
801 special "none"
802 height "1in"
803 height_special "totalheight"
804 status open
805
806
807 \begin_layout Standard
808
809 framebox 3
810 \end_layout
811
812 \end_inset
813
814  blabla
815 \end_layout
816
817 \begin_layout Standard
818
819 This is an example text. 
820 \begin_inset ERT
821 status collapsed
822
823 \begin_layout Standard
824
825
826 \backslash
827 framebox{
828 \end_layout
829
830 \end_inset
831
832
833 \begin_inset Box Frameless
834 position "c"
835 hor_pos "c"
836 has_inner_box 1
837 inner_pos "s"
838 use_parbox 0
839 use_makebox 0
840 width "20col%"
841 special "none"
842 height "1in"
843 height_special "totalheight"
844 status open
845
846
847 \begin_layout Plain Layout
848 \align center
849
850 The box content 
851 \end_layout
852
853 \begin_layout Plain Layout
854 \align center
855
856 is evenly distributed 
857 \end_layout
858
859 \begin_layout Plain Layout
860 \align center
861
862 over the 
863 \end_layout
864
865 \begin_layout Plain Layout
866 \align center
867
868 box height. 
869 \end_layout
870
871 \end_inset
872
873
874 \begin_inset ERT
875 status collapsed
876
877 \begin_layout Standard
878
879 }
880 \end_layout
881
882 \end_inset
883
884  This is an example text.
885 \end_layout
886
887 \begin_layout Standard
888
889 blabla 
890 \begin_inset Box ovalbox
891 position "c"
892 hor_pos "c"
893 has_inner_box 0
894 inner_pos "c"
895 use_parbox 0
896 use_makebox 0
897 width "100col%"
898 special "none"
899 height "1in"
900 height_special "totalheight"
901 status open
902
903
904 \begin_layout Standard
905
906 ovalbox
907 \end_layout
908
909 \end_inset
910
911  blabla
912 \end_layout
913
914 \begin_layout Standard
915
916 blabla 
917 \begin_inset Box Ovalbox
918 position "c"
919 hor_pos "c"
920 has_inner_box 0
921 inner_pos "c"
922 use_parbox 0
923 use_makebox 0
924 width "100col%"
925 special "none"
926 height "1in"
927 height_special "totalheight"
928 status open
929
930
931 \begin_layout Standard
932
933 Ovalbox
934 \end_layout
935
936 \end_inset
937
938  blabla
939 \end_layout
940
941 \begin_layout Standard
942
943 blabla 
944 \begin_inset Box Shadowbox
945 position "c"
946 hor_pos "c"
947 has_inner_box 0
948 inner_pos "c"
949 use_parbox 0
950 use_makebox 0
951 width "100col%"
952 special "none"
953 height "1in"
954 height_special "totalheight"
955 status open
956
957
958 \begin_layout Standard
959
960 shadowbox
961 \end_layout
962
963 \end_inset
964
965  blabla
966 \end_layout
967
968 \begin_layout Standard
969
970 blabla 
971 \begin_inset Box Doublebox
972 position "c"
973 hor_pos "c"
974 has_inner_box 0
975 inner_pos "c"
976 use_parbox 0
977 use_makebox 0
978 width "100col%"
979 special "none"
980 height "1in"
981 height_special "totalheight"
982 status open
983
984
985 \begin_layout Standard
986
987 doublebox
988 \end_layout
989
990 \end_inset
991
992  blabla
993 \end_layout
994
995 \begin_layout Standard
996
997
998 \begin_inset Formula $\boxed{\int A=B}$
999 \end_inset
1000
1001
1002 \end_layout
1003
1004 \begin_layout Subsection
1005
1006
1007 \begin_inset ERT
1008 status collapsed
1009
1010 \begin_layout Standard
1011
1012 LyX
1013 \end_layout
1014
1015 \end_inset
1016
1017  Boxes
1018 \end_layout
1019
1020 \begin_layout Standard
1021
1022
1023 \begin_inset Note Greyedout
1024 status open
1025
1026 \begin_layout Standard
1027
1028
1029 \series bold
1030 Note:
1031 \series default
1032  Not all DVI-viewers are able to display rotations. 
1033 \end_layout
1034
1035 \end_inset
1036
1037
1038 \end_layout
1039
1040 \begin_layout Standard
1041
1042
1043 \begin_inset Box Shaded
1044 position "c"
1045 hor_pos "c"
1046 has_inner_box 0
1047 inner_pos "c"
1048 use_parbox 0
1049 use_makebox 0
1050 width "100col%"
1051 special "none"
1052 height "1in"
1053 height_special "totalheight"
1054 status open
1055
1056
1057 \begin_layout Standard
1058
1059 Shaded background box
1060 \end_layout
1061
1062 \end_inset
1063
1064
1065 \end_layout
1066
1067 \begin_layout Standard
1068
1069
1070 \begin_inset Box Shaded
1071 position "c"
1072 hor_pos "c"
1073 has_inner_box 1
1074 inner_pos "c"
1075 use_parbox 0
1076 use_makebox 0
1077 width "100col%"
1078 special "none"
1079 height "1in"
1080 height_special "totalheight"
1081 status open
1082
1083
1084 \begin_layout Plain Layout
1085
1086 Shaded background box, with inner minipage
1087 \end_layout
1088
1089 \end_inset
1090
1091
1092 \end_layout
1093
1094 \begin_layout Section
1095
1096 Colors
1097 \end_layout
1098
1099 \begin_layout Subsection
1100
1101 Predefined Colors
1102 \end_layout
1103
1104 \begin_layout Standard
1105
1106 test 
1107 \color blue
1108 blue
1109 \color inherit
1110  test 
1111 \color red
1112 red red red
1113 \color inherit
1114  test 
1115 \color green
1116 bla
1117 \color inherit
1118
1119 \color magenta
1120 blub
1121 \color inherit
1122  test 
1123 \color green
1124 c
1125 \color inherit
1126
1127 \color red
1128 o
1129 \color inherit
1130
1131 \color blue
1132 l
1133 \color inherit
1134
1135 \color green
1136 o
1137 \color inherit
1138
1139 \color red
1140 r
1141 \color inherit
1142
1143 \end_layout
1144
1145 \begin_layout Subsection
1146
1147 Custom Colors
1148 \end_layout
1149
1150 \begin_layout Standard
1151
1152 test 
1153 \begin_inset ERT
1154 status collapsed
1155
1156 \begin_layout Standard
1157
1158
1159 \backslash
1160 textcolor{darkgreen}
1161 \end_layout
1162
1163 \end_inset
1164
1165
1166 \begin_inset ERT
1167 status collapsed
1168
1169 \begin_layout Standard
1170
1171 {
1172 \end_layout
1173
1174 \end_inset
1175
1176 dark green
1177 \begin_inset ERT
1178 status collapsed
1179
1180 \begin_layout Standard
1181
1182 }
1183 \end_layout
1184
1185 \end_inset
1186
1187  test
1188 \end_layout
1189
1190 \begin_layout Standard
1191
1192
1193 \begin_inset ERT
1194 status collapsed
1195
1196 \begin_layout Standard
1197
1198
1199 \backslash
1200 definecolor{violet}{rgb}{0.5, 0, 1}
1201 \end_layout
1202
1203 \end_inset
1204
1205
1206 \end_layout
1207
1208 \begin_layout Standard
1209
1210 test 
1211 \begin_inset ERT
1212 status collapsed
1213
1214 \begin_layout Standard
1215
1216
1217 \backslash
1218 textcolor{violet}
1219 \end_layout
1220
1221 \end_inset
1222
1223
1224 \begin_inset ERT
1225 status collapsed
1226
1227 \begin_layout Standard
1228
1229 {
1230 \end_layout
1231
1232 \end_inset
1233
1234 violet
1235 \begin_inset ERT
1236 status collapsed
1237
1238 \begin_layout Standard
1239
1240 }
1241 \end_layout
1242
1243 \end_inset
1244
1245  test
1246 \end_layout
1247
1248 \begin_layout Section
1249
1250 Font sizes
1251 \end_layout
1252
1253 \begin_layout Standard
1254
1255
1256 \size giant
1257 Huge text
1258 \end_layout
1259
1260 \begin_layout Standard
1261
1262 \size giant
1263
1264
1265 \size huge
1266 huge text
1267 \end_layout
1268
1269 \begin_layout Standard
1270
1271 \size huge
1272
1273
1274 \size largest
1275 LARGE text
1276 \end_layout
1277
1278 \begin_layout Standard
1279
1280 \size largest
1281
1282
1283 \size larger
1284 Large text
1285 \end_layout
1286
1287 \begin_layout Standard
1288
1289 \size larger
1290
1291
1292 \size large
1293 large text
1294 \end_layout
1295
1296 \begin_layout Standard
1297
1298 \size large
1299
1300
1301 \size normal
1302 normalsize text
1303 \end_layout
1304
1305 \begin_layout Standard
1306
1307 \size normal
1308
1309
1310 \size small
1311 small text
1312 \end_layout
1313
1314 \begin_layout Standard
1315
1316 \size small
1317
1318
1319 \size footnotesize
1320 footnotesize text
1321 \end_layout
1322
1323 \begin_layout Standard
1324
1325 \size footnotesize
1326
1327
1328 \size scriptsize
1329 scriptsize text
1330 \end_layout
1331
1332 \begin_layout Standard
1333
1334 \size scriptsize
1335
1336
1337 \size tiny
1338 tiny text
1339 \end_layout
1340
1341 \begin_layout Standard
1342
1343 \size tiny
1344
1345
1346 \size giant
1347 Huge text 
1348 \size huge
1349 huge text 
1350 \size largest
1351 LARGE text 
1352 \size larger
1353 Large text 
1354 \size large
1355 large text 
1356 \size normal
1357 normalsize text 
1358 \size small
1359 small text 
1360 \size footnotesize
1361 footnotesize text 
1362 \size scriptsize
1363 scriptsize text 
1364 \size tiny
1365 tiny text
1366 \end_layout
1367
1368 \begin_layout Standard
1369
1370 \size tiny
1371
1372
1373 \size normal
1374 Font size switches don't affect section headings!
1375 \end_layout
1376
1377 \begin_layout Standard
1378
1379 \size normal
1380
1381
1382 \size scriptsize
1383 bla blub
1384 \end_layout
1385
1386 \begin_layout Section
1387
1388 Font size dummy 1
1389 \end_layout
1390
1391 \begin_layout Standard
1392
1393 \size scriptsize
1394
1395 bla blub
1396 \end_layout
1397
1398 \begin_layout Standard
1399
1400 \size scriptsize
1401
1402 bla blub
1403 \end_layout
1404
1405 \begin_layout Section*
1406
1407 Font size dummy 2
1408 \end_layout
1409
1410 \begin_layout Standard
1411
1412 \size scriptsize
1413
1414 bla blub 
1415 \size normal
1416
1417 \end_layout
1418
1419 \begin_layout Section
1420
1421 Strikeout, underlined etc.
1422 \end_layout
1423
1424 \begin_layout Standard
1425
1426 \size normal
1427
1428 Emphasized: 
1429 \emph on
1430 test
1431 \emph default
1432
1433 \end_layout
1434
1435 \begin_layout Standard
1436
1437 \size normal
1438
1439 Underbar: 
1440 \bar under
1441 test
1442 \bar default
1443
1444 \end_layout
1445
1446 \begin_layout Standard
1447
1448 \size normal
1449
1450 Double underbar: 
1451 \uuline on
1452 test
1453 \uuline default
1454
1455 \end_layout
1456
1457 \begin_layout Standard
1458
1459 \size normal
1460
1461 Wavy underbar: 
1462 \uwave on
1463 test
1464 \uwave default
1465
1466 \end_layout
1467
1468 \begin_layout Standard
1469
1470 \size normal
1471
1472 Strike out: 
1473 \strikeout on
1474 test
1475 \strikeout default
1476
1477 \end_layout
1478
1479 \begin_layout Standard
1480
1481 \size normal
1482
1483 Crossed out: 
1484 \begin_inset ERT
1485 status collapsed
1486
1487 \begin_layout Standard
1488
1489
1490 \backslash
1491 xout
1492 \end_layout
1493
1494 \end_inset
1495
1496
1497 \begin_inset ERT
1498 status collapsed
1499
1500 \begin_layout Standard
1501
1502 {
1503 \end_layout
1504
1505 \end_inset
1506
1507 test
1508 \begin_inset ERT
1509 status collapsed
1510
1511 \begin_layout Standard
1512
1513 }
1514 \end_layout
1515
1516 \end_inset
1517
1518
1519 \end_layout
1520
1521 \begin_layout Standard
1522
1523 \size normal
1524
1525 Noun: 
1526 \noun on
1527 test
1528 \noun default
1529
1530 \end_layout
1531
1532 \begin_layout Standard
1533
1534 \size normal
1535
1536 Underbar, emphasized, strikeout: 
1537 \emph on
1538
1539 \bar under
1540
1541 \strikeout on
1542 test
1543 \strikeout default
1544
1545 \bar default
1546
1547 \emph default
1548
1549 \end_layout
1550
1551 \begin_layout Section
1552
1553 Paragraph spacing
1554 \end_layout
1555
1556 \begin_layout Standard
1557
1558 \size normal
1559
1560 bla
1561 \end_layout
1562
1563 \begin_layout Standard
1564 \paragraph_spacing single
1565
1566 \size normal
1567
1568 singlespace single singlespace single singlespace single singlespace single singlespace single singlespace single singlespace single singlespace single 
1569 \end_layout
1570
1571 \begin_layout Standard
1572 \paragraph_spacing onehalf
1573
1574 \size normal
1575
1576 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1 onehalfspace 1
1577 \end_layout
1578
1579 \begin_layout Standard
1580 \paragraph_spacing onehalf
1581
1582 \size normal
1583
1584 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 onehalfspace 2 
1585 \end_layout
1586
1587 \begin_layout Standard
1588
1589 \size normal
1590
1591 blub
1592 \end_layout
1593
1594 \begin_layout Standard
1595 \paragraph_spacing onehalf
1596
1597 \size normal
1598
1599 onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single onehalfspace single 
1600 \end_layout
1601
1602 \begin_layout Standard
1603
1604 \size normal
1605
1606 blablub
1607 \end_layout
1608
1609 \begin_layout Standard
1610 \paragraph_spacing double
1611
1612 \size normal
1613
1614 doublespace single doublespace single doublespace single doublespace single doublespace single doublespace single doublespace single doublespace single 
1615 \end_layout
1616
1617 \begin_layout Standard
1618 \paragraph_spacing other 1.2
1619
1620 \size normal
1621
1622  1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 1.2 spacing single 
1623 \end_layout
1624
1625 \begin_layout Section
1626
1627 Paragraph alignment
1628 \end_layout
1629
1630 \begin_layout Standard
1631
1632 \size normal
1633
1634 bla
1635 \end_layout
1636
1637 \begin_layout Standard
1638 \align center
1639
1640 \size normal
1641
1642 center single center single center single center single center single center single center single center single center single center single 
1643 \end_layout
1644
1645 \begin_layout Standard
1646
1647 \size normal
1648
1649 blabla
1650 \end_layout
1651
1652 \begin_layout Standard
1653 \align left
1654
1655 \size normal
1656
1657 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1 flushleft 1
1658 \end_layout
1659
1660 \begin_layout Standard
1661 \align left
1662
1663 \size normal
1664
1665 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 flushleft 2 
1666 \end_layout
1667
1668 \begin_layout Standard
1669
1670 \size normal
1671
1672 blub
1673 \end_layout
1674
1675 \begin_layout Standard
1676 \align left
1677
1678 \size normal
1679
1680 flushleft single flushleft single flushleft single flushleft single flushleft single flushleft single flushleft single flushleft single 
1681 \end_layout
1682
1683 \begin_layout Standard
1684
1685 \size normal
1686
1687 blablub
1688 \end_layout
1689
1690 \begin_layout Standard
1691 \align right
1692
1693 \size normal
1694
1695 flushright single flushright single flushright single flushright single flushright single flushright single flushright single flushright single 
1696 \end_layout
1697
1698 \begin_layout Standard
1699
1700 \size normal
1701
1702 bla
1703 \end_layout
1704
1705 \begin_layout Standard
1706
1707 \size normal
1708
1709
1710 \begin_inset ERT
1711 status collapsed
1712
1713 \begin_layout Standard
1714
1715
1716 \backslash
1717 centering
1718 \end_layout
1719
1720 \end_inset
1721
1722  centering single centering single centering single centering single centering single centering single centering single centering single
1723 \end_layout
1724
1725 \begin_layout Standard
1726
1727 \size normal
1728
1729 blabla
1730 \end_layout
1731
1732 \begin_layout Standard
1733
1734 \size normal
1735
1736
1737 \begin_inset ERT
1738 status collapsed
1739
1740 \begin_layout Standard
1741
1742
1743 \backslash
1744 raggedright
1745 \end_layout
1746
1747 \end_inset
1748
1749  raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1 raggedright 1
1750 \end_layout
1751
1752 \begin_layout Standard
1753
1754 \size normal
1755
1756 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2 raggedright 2
1757 \end_layout
1758
1759 \begin_layout Standard
1760
1761 \size normal
1762
1763
1764 \begin_inset ERT
1765 status collapsed
1766
1767 \begin_layout Standard
1768
1769
1770 \backslash
1771 raggedleft
1772 \end_layout
1773
1774 \end_inset
1775
1776  raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1 raggedleft 1
1777 \end_layout
1778
1779 \begin_layout Standard
1780
1781 \size normal
1782
1783 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2 raggedleft 2
1784 \end_layout
1785
1786 \begin_layout Standard
1787
1788 \size normal
1789
1790
1791 \begin_inset ERT
1792 status collapsed
1793
1794 \begin_layout Standard
1795
1796 %set back to justified
1797 \end_layout
1798
1799 \begin_layout Standard
1800
1801
1802 \end_layout
1803
1804 \end_inset
1805
1806
1807 \begin_inset ERT
1808 status collapsed
1809
1810 \begin_layout Standard
1811
1812
1813 \backslash
1814 raggedright
1815 \end_layout
1816
1817 \end_inset
1818
1819
1820 \begin_inset ERT
1821 status collapsed
1822
1823 \begin_layout Standard
1824
1825 {}
1826 \end_layout
1827
1828 \end_inset
1829
1830
1831 \end_layout
1832
1833 \begin_layout Subsection
1834
1835 Horizontal spaces
1836 \end_layout
1837
1838 \begin_layout Standard
1839
1840 \size normal
1841
1842 Lines can have an hfill 
1843 \begin_inset space \hfill{}
1844
1845 \end_inset
1846
1847 in the middle. Lines can have an hfill 
1848 \begin_inset space \hfill{}
1849 \end_inset
1850
1851  in the middle. Lines can have a protected hfill 
1852 \begin_inset space \hspace*{\fill}
1853 \end_inset
1854
1855  in the middle. Lines can have a dotted fill 
1856 \begin_inset space \dotfill{}
1857
1858 \end_inset
1859
1860 in the middle. Lines can have a rule fill 
1861 \begin_inset space \hrulefill{}
1862
1863 \end_inset
1864
1865 in the middle. Lines can have a left arrow fill 
1866 \begin_inset space \leftarrowfill{}
1867
1868 \end_inset
1869
1870 in the middle. Lines can have a right arrow fill 
1871 \begin_inset space \rightarrowfill{}
1872
1873 \end_inset
1874
1875 in the middle. Lines can have a upbrace fill 
1876 \begin_inset space \upbracefill{}
1877
1878 \end_inset
1879
1880 in the middle. Lines can have a downbrace fill 
1881 \begin_inset space \downbracefill{}
1882
1883 \end_inset
1884
1885 in the middle. Lines can have space 
1886 \begin_inset space \hspace{}
1887 \length 2cm
1888 \end_inset
1889
1890  in the middle. Lines can have protected space 
1891 \begin_inset space \hspace*{}
1892 \length 2cm
1893 \end_inset
1894
1895  in the middle.
1896 \end_layout
1897
1898 \begin_layout Standard
1899
1900 \size normal
1901
1902 We also handle defined spaces:
1903 \end_layout
1904
1905 \begin_layout Standard
1906
1907 \size normal
1908
1909 Interword
1910 \begin_inset space \space{}
1911
1912 \end_inset
1913
1914 a
1915 \end_layout
1916
1917 \begin_layout Standard
1918
1919 \size normal
1920
1921 Visible
1922 \begin_inset space \textvisiblespace{}
1923
1924 \end_inset
1925
1926 a
1927 \end_layout
1928
1929 \begin_layout Standard
1930
1931 \size normal
1932
1933 Thin
1934 \begin_inset space \thinspace{}
1935
1936 \end_inset
1937
1938 a
1939 \end_layout
1940
1941 \begin_layout Standard
1942
1943 \size normal
1944
1945 NegThin
1946 \begin_inset space \negthinspace{}
1947
1948 \end_inset
1949
1950 a
1951 \end_layout
1952
1953 \begin_layout Standard
1954
1955 \size normal
1956
1957 NegMed
1958 \begin_inset space \negmedspace{}
1959
1960 \end_inset
1961
1962 a
1963 \end_layout
1964
1965 \begin_layout Standard
1966
1967 \size normal
1968
1969 NegThick
1970 \begin_inset space \negthickspace{}
1971
1972 \end_inset
1973
1974 a
1975 \end_layout
1976
1977 \begin_layout Standard
1978
1979 \size normal
1980
1981 enspace
1982 \begin_inset space \enspace{}
1983
1984 \end_inset
1985
1986 a
1987 \end_layout
1988
1989 \begin_layout Standard
1990
1991 \size normal
1992
1993 enskip
1994 \begin_inset space \enskip{}
1995
1996 \end_inset
1997
1998 a
1999 \end_layout
2000
2001 \begin_layout Standard
2002
2003 \size normal
2004
2005 quad
2006 \begin_inset space \quad{}
2007
2008 \end_inset
2009
2010 a
2011 \end_layout
2012
2013 \begin_layout Standard
2014
2015 \size normal
2016
2017 qquad
2018 \begin_inset space \qquad{}
2019
2020 \end_inset
2021
2022 a
2023 \end_layout
2024
2025 \begin_layout Subsubsection*
2026
2027 now in math:
2028 \end_layout
2029
2030 \begin_layout Standard
2031
2032 \size normal
2033
2034 fill: 
2035 \begin_inset Formula $a\hfill b$
2036 \end_inset
2037
2038
2039 \end_layout
2040
2041 \begin_layout Standard
2042
2043 \size normal
2044
2045 protected fill: 
2046 \begin_inset Formula $a\hspace*{\fill} b$
2047 \end_inset
2048
2049
2050 \end_layout
2051
2052 \begin_layout Standard
2053
2054 \size normal
2055
2056 2
2057 \begin_inset space \thinspace{}
2058
2059 \end_inset
2060
2061 cm: 
2062 \begin_inset Formula $a\hspace*{2cm}b$
2063 \end_inset
2064
2065
2066 \end_layout
2067
2068 \begin_layout Standard
2069
2070 \size normal
2071
2072 protected 2
2073 \begin_inset space \thinspace{}
2074
2075 \end_inset
2076
2077 cm: 
2078 \begin_inset Formula $a\hspace{1cm}b$
2079 \end_inset
2080
2081
2082 \end_layout
2083
2084 \begin_layout Standard
2085
2086 \size normal
2087
2088 enskip: 
2089 \begin_inset Formula $a\enskip b$
2090 \end_inset
2091
2092
2093 \end_layout
2094
2095 \begin_layout Standard
2096
2097 \size normal
2098
2099 enspace: 
2100 \begin_inset Formula $a\enspace b$
2101 \end_inset
2102
2103
2104 \end_layout
2105
2106 \begin_layout Standard
2107
2108 \size normal
2109
2110 thin: 
2111 \begin_inset Formula $a\, b$
2112 \end_inset
2113
2114
2115 \end_layout
2116
2117 \begin_layout Standard
2118
2119 \size normal
2120
2121 medium: 
2122 \begin_inset Formula $a\: b$
2123 \end_inset
2124
2125
2126 \end_layout
2127
2128 \begin_layout Standard
2129
2130 \size normal
2131
2132 thick: 
2133 \begin_inset Formula $a\; b$
2134 \end_inset
2135
2136
2137 \end_layout
2138
2139 \begin_layout Standard
2140
2141 \size normal
2142
2143 negative thin: 
2144 \begin_inset Formula $a\negthinspace b$
2145 \end_inset
2146
2147
2148 \end_layout
2149
2150 \begin_layout Standard
2151
2152 \size normal
2153
2154 negative medium: 
2155 \begin_inset Formula $a\negmedspace b$
2156 \end_inset
2157
2158
2159 \end_layout
2160
2161 \begin_layout Standard
2162
2163 \size normal
2164
2165 negative thick: 
2166 \begin_inset Formula $a\negthickspace b$
2167 \end_inset
2168
2169
2170 \end_layout
2171
2172 \begin_layout Standard
2173
2174 \size normal
2175
2176 quad: 
2177 \begin_inset Formula $a\quad b$
2178 \end_inset
2179
2180
2181 \end_layout
2182
2183 \begin_layout Standard
2184
2185 \size normal
2186
2187 qquad: 
2188 \begin_inset Formula $a\qquad b$
2189 \end_inset
2190
2191
2192 \end_layout
2193
2194 \begin_layout Standard
2195
2196 \size normal
2197
2198 interword: 
2199 \begin_inset Formula $a\ b$
2200 \end_inset
2201
2202
2203 \end_layout
2204
2205 \begin_layout Subsection
2206
2207 Vertical spaces
2208 \end_layout
2209
2210 \begin_layout Standard
2211
2212 \size normal
2213
2214 Lines can have a vfill 
2215 \begin_inset VSpace vfill
2216 \end_inset
2217
2218 in the middle. Lines can have a vfill 
2219 \begin_inset VSpace vfill
2220 \end_inset
2221
2222  in the middle. Lines can have a protected vfill 
2223 \begin_inset VSpace vfill*
2224 \end_inset
2225
2226  in the middle. Lines can have vertical space 
2227 \begin_inset VSpace 2cm
2228 \end_inset
2229
2230  in the middle. Lines can have protected vertical space 
2231 \begin_inset VSpace 2cm*
2232 \end_inset
2233
2234  in the middle.
2235 \end_layout
2236
2237 \begin_layout Standard
2238
2239 \size normal
2240
2241 We also handle skips:
2242 \end_layout
2243
2244 \begin_layout Standard
2245
2246 \size normal
2247
2248 bigskip 1:
2249 \begin_inset VSpace bigskip
2250 \end_inset
2251
2252
2253 \end_layout
2254
2255 \begin_layout Standard
2256
2257 \size normal
2258
2259 bigskip 2:
2260 \begin_inset VSpace bigskip
2261 \end_inset
2262
2263
2264 \end_layout
2265
2266 \begin_layout Standard
2267
2268 \size normal
2269
2270 medskip 1:
2271 \begin_inset VSpace medskip
2272 \end_inset
2273
2274
2275 \end_layout
2276
2277 \begin_layout Standard
2278
2279 \size normal
2280
2281 medskip 2:
2282 \begin_inset VSpace medskip
2283 \end_inset
2284
2285
2286 \end_layout
2287
2288 \begin_layout Standard
2289
2290 \size normal
2291
2292 smallskip 1:
2293 \begin_inset VSpace smallskip
2294 \end_inset
2295
2296
2297 \end_layout
2298
2299 \begin_layout Standard
2300
2301 \size normal
2302
2303 smallskip 2:
2304 \begin_inset VSpace smallskip
2305 \end_inset
2306
2307
2308 \end_layout
2309
2310 \end_body
2311 \end_document