]> git.lyx.org Git - lyx.git/blob - autotests/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex.lyx
Revert "DocBook: eat a bit of that spaghetti code."
[lyx.git] / autotests / export / latex / lyxbugs / wrong_output_3059-rtl-tables-xetex.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 589
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin unavailable
7 \textclass article
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 %This preamble is designed to ensure that the document prints
12 % out as advertised. If you mess with this preamble,
13 % parts of the document may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 \usepackage{ifpdf} % part of the hyperref bundle
19 \ifpdf % if pdflatex is used
20
21 % XeTeX with Hebrew does not like this bookmark code
22 % so it is in the conditional.
23 % The pages of the TOC is numbered roman
24 % and a pdf-bookmark for the TOC is added
25 \pagenumbering{roman}
26 \let\myTOC\tableofcontents
27 \renewcommand\tableofcontents{%
28   \pdfbookmark[1]{\contentsname}{}
29   \myTOC
30   \cleardoublepage
31   \pagenumbering{arabic} }
32
33 \fi % end if pdflatex is used
34
35 %disable hyphenation (breaking words at end of line)
36 \usepackage[none]{hyphenat}
37
38 %disable double space after end-of-sentence period
39 \frenchspacing
40 \end_preamble
41 \use_default_options false
42 \maintain_unincluded_children false
43 \language hebrew
44 \language_package default
45 \inputencoding auto-legacy
46 \fontencoding auto
47 \font_roman "lmodern" "FreeSerif"
48 \font_sans "default" "FreeSans"
49 \font_typewriter "default" "FreeMono"
50 \font_math "auto" "auto"
51 \font_default_family default
52 \use_non_tex_fonts true
53 \font_sc false
54 \font_roman_osf false
55 \font_sans_osf false
56 \font_typewriter_osf false
57 \font_sf_scale 100 100
58 \font_tt_scale 100 100
59 \use_microtype false
60 \use_dash_ligatures false
61 \graphics default
62 \default_output_format pdf4
63 \output_sync 0
64 \bibtex_command default
65 \index_command default
66 \float_placement class
67 \float_alignment class
68 \paperfontsize 12
69 \spacing single
70 \use_hyperref false
71 \pdf_bookmarks false
72 \pdf_bookmarksnumbered false
73 \pdf_bookmarksopen false
74 \pdf_bookmarksopenlevel 1
75 \pdf_breaklinks false
76 \pdf_pdfborder false
77 \pdf_colorlinks false
78 \pdf_backref false
79 \pdf_pdfusetitle false
80 \papersize default
81 \use_geometry false
82 \use_package amsmath 1
83 \use_package amssymb 1
84 \use_package cancel 1
85 \use_package esint 1
86 \use_package mathdots 1
87 \use_package mathtools 1
88 \use_package mhchem 1
89 \use_package stackrel 1
90 \use_package stmaryrd 1
91 \use_package undertilde 1
92 \cite_engine basic
93 \cite_engine_type default
94 \biblio_style plain
95 \use_bibtopic false
96 \use_indices false
97 \paperorientation portrait
98 \suppress_date false
99 \justification true
100 \use_refstyle 0
101 \use_minted 0
102 \use_lineno 0
103 \index אינדקס
104 \shortcut idx
105 \color #008000
106 \end_index
107 \secnumdepth 3
108 \tocdepth 2
109 \paragraph_separation indent
110 \paragraph_indentation default
111 \is_math_indent 0
112 \math_numbering_side default
113 \quotes_style english
114 \dynamic_quotes 0
115 \papercolumns 1
116 \papersides 1
117 \paperpagestyle default
118 \tablestyle default
119 \tracking_changes false
120 \output_changes false
121 \html_math_output 0
122 \html_css_as_file 0
123 \html_be_strict false
124 \end_header
125
126 \begin_body
127
128 \begin_layout Standard
129
130 \lang english
131 In an right-to-left language document, tables should be output in the same
132  way as shown in the GUI.
133  If the table is set to a secondary language, the columns or text inside
134  it are switched with XeTeX.
135 \end_layout
136
137 \begin_layout Standard
138 \begin_inset Float table
139 placement t
140 alignment center
141 wide false
142 sideways false
143 status open
144
145 \begin_layout Plain Layout
146 \begin_inset Caption Standard
147
148 \begin_layout Plain Layout
149 יחידות מדידה
150 \begin_inset CommandInset label
151 LatexCommand label
152 name "tab:יחידות-מדידה"
153
154 \end_inset
155
156
157 \end_layout
158
159 \end_inset
160
161
162 \end_layout
163
164 \begin_layout Plain Layout
165 \begin_inset VSpace medskip
166 \end_inset
167
168
169 \end_layout
170
171 \begin_layout Plain Layout
172
173 \lang english
174 \begin_inset Tabular
175 <lyxtabular version="3" rows="3" columns="2">
176 <features tabularvalignment="middle">
177 <column alignment="center" valignment="top">
178 <column alignment="center" valignment="top">
179 <row>
180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
181 \begin_inset Text
182
183 \begin_layout Plain Layout
184 שם או תיאור
185 \end_layout
186
187 \end_inset
188 </cell>
189 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
190 \begin_inset Text
191
192 \begin_layout Plain Layout
193 יחידה
194 \end_layout
195
196 \end_inset
197 </cell>
198 </row>
199 <row>
200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
201 \begin_inset Text
202
203 \begin_layout Plain Layout
204 מילימטר
205 \end_layout
206
207 \end_inset
208 </cell>
209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
210 \begin_inset Text
211
212 \begin_layout Plain Layout
213
214 \lang english
215 mm
216 \end_layout
217
218 \end_inset
219 </cell>
220 </row>
221 <row>
222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
223 \begin_inset Text
224
225 \begin_layout Plain Layout
226
227 \lang english
228 cc
229 \end_layout
230
231 \end_inset
232 </cell>
233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
234 \begin_inset Text
235
236 \begin_layout Plain Layout
237
238 \lang english
239 cicero (1
240 \begin_inset Formula $\,$
241 \end_inset
242
243 cc = 12
244 \begin_inset Formula $\,$
245 \end_inset
246
247 dd)
248 \end_layout
249
250 \end_inset
251 </cell>
252 </row>
253 </lyxtabular>
254
255 \end_inset
256
257
258 \end_layout
259
260 \end_inset
261
262
263 \end_layout
264
265 \end_body
266 \end_document