]> git.lyx.org Git - features.git/blob - lib/examples/ja/Multilingual_Typesetting_with_platex.lyx
Centralize cancelation of export
[features.git] / lib / examples / ja / Multilingual_Typesetting_with_platex.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 600
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/ja/
7 \textclass bxjsarticle
8 \use_default_options true
9 \maintain_unincluded_children no
10 \language japanese
11 \language_package auto
12 \inputencoding utf8
13 \fontencoding auto
14 \font_roman "DejaVuSerif" "IPAexMincho"
15 \font_sans "DejaVuSans" "IPAexGothic"
16 \font_typewriter "DejaVuSansMono" "default"
17 \font_math "auto" "auto"
18 \font_default_family default
19 \use_non_tex_fonts false
20 \font_sc false
21 \font_sans_osf false
22 \font_typewriter_osf false
23 \font_roman_osf false
24 \font_sf_scale 100 100
25 \font_tt_scale 100 100
26 \use_microtype false
27 \use_dash_ligatures false
28 \graphics default
29 \default_output_format default
30 \output_sync 0
31 \bibtex_command default
32 \index_command default
33 \float_placement class
34 \float_alignment class
35 \paperfontsize default
36 \spacing single
37 \use_hyperref false
38 \papersize default
39 \use_geometry false
40 \use_package amsmath 1
41 \use_package amssymb 1
42 \use_package cancel 1
43 \use_package esint 1
44 \use_package mathdots 1
45 \use_package mathtools 1
46 \use_package mhchem 1
47 \use_package stackrel 1
48 \use_package stmaryrd 1
49 \use_package undertilde 1
50 \cite_engine basic
51 \cite_engine_type default
52 \biblio_style plain
53 \use_bibtopic false
54 \use_indices false
55 \paperorientation portrait
56 \suppress_date false
57 \justification true
58 \use_refstyle 0
59 \use_minted 0
60 \use_lineno 0
61 \index 索引
62 \shortcut idx
63 \color #008000
64 \end_index
65 \secnumdepth 3
66 \tocdepth 3
67 \paragraph_separation indent
68 \paragraph_indentation default
69 \is_math_indent 0
70 \math_numbering_side default
71 \quotes_style english
72 \dynamic_quotes 0
73 \papercolumns 1
74 \papersides 1
75 \paperpagestyle default
76 \tablestyle default
77 \tracking_changes false
78 \postpone_fragile_content false
79 \output_changes false
80 \html_math_output 0
81 \html_css_as_file 0
82 \html_be_strict false
83 \end_header
84
85 \begin_body
86
87 \begin_layout Title
88 \SpecialChar LyX
89 へようこそ!
90 \end_layout
91
92 \begin_layout Section*
93 \SpecialChar LyX
94 を使うために最初に知っておくべきことがら
95 \end_layout
96
97 \begin_layout Standard
98 You can write text in other scripts and languages inside Japanese documents.
99  With non-TeX fonts, make sure to use document classes that support XeTeX
100  or LuaTeX.
101  (e.g.
102  document classes 
103 \begin_inset Quotes eld
104 \end_inset
105
106 Japanese … (BXJS Class)
107 \begin_inset Quotes erd
108 \end_inset
109
110  or non-Japanese standard classes).
111 \end_layout
112
113 \begin_layout Subsection*
114 Examples
115 \end_layout
116
117 \begin_layout Standard
118 Text in Latin script:
119 \end_layout
120
121 \begin_layout Quotation
122 English: Hello Mr.
123  Sandman!
124 \end_layout
125
126 \begin_layout Quotation
127 Deutsch: Grüße aus Österreich!
128 \end_layout
129
130 \begin_layout Standard
131 Some Japanese fonts contain Greek and Cyrillic characters, however they
132  are considerabely wider than characters in Latin, Greek, and Cyrillic TeX
133  fonts.
134  
135 \end_layout
136
137 \begin_layout Itemize
138 With 
139 \emph on
140 TeX fonts
141 \emph default
142 , LyX converts them to LaTeX macros, so that the output matches other non-Japane
143 se text.
144 \end_layout
145
146 \begin_layout Itemize
147 With 
148 \emph on
149 non-TeX fonts 
150 \emph default
151 and
152 \emph on
153  Xe/LuaTeX
154 \emph default
155 , there is no native support for use of specific fonts for different scripts/lan
156 guages.
157  Some Unicode fonts provide a large range of characters, but quality is
158  not always best and 
159 \begin_inset Quotes eld
160 \end_inset
161
162 exotic
163 \begin_inset Quotes erd
164 \end_inset
165
166  characters (like accented Greek) lead to 
167 \emph on
168 missing character 
169 \emph default
170 errors.
171 \end_layout
172
173 \begin_layout Standard
174 Text in Cyrillic and Greek script:
175 \end_layout
176
177 \begin_layout Quotation
178 Russisch: Привет с 
179 \emph on
180 новым
181 \emph default
182  годом!
183 \end_layout
184
185 \begin_layout Quotation
186 \begin_inset ERT
187 status collapsed
188
189 \begin_layout Plain Layout
190
191
192 \backslash
193 ifdefined
194 \backslash
195 fontspec 
196 \end_layout
197
198 \end_inset
199
200 Griechisch: χαιρετισμος!
201 \end_layout
202
203 \begin_layout Quotation
204 \begin_inset ERT
205 status collapsed
206
207 \begin_layout Plain Layout
208
209
210 \backslash
211 else 
212 \end_layout
213
214 \end_inset
215
216 Griechisch: χαιρετισμός! 
217 \begin_inset ERT
218 status collapsed
219
220 \begin_layout Plain Layout
221
222
223 \backslash
224 fi
225 \end_layout
226
227 \end_inset
228
229
230 \end_layout
231
232 \begin_layout Standard
233 Text in some other languages with correct language setting (not all languages
234  supported by LyX are compatible with Japanese (you may try 
235 \begin_inset Quotes eld
236 \end_inset
237
238 japanese (CJK)
239 \begin_inset Quotes erd
240 \end_inset
241
242 ):
243 \end_layout
244
245 \begin_layout Standard
246
247 \lang english
248 English: Hello Mr.
249  Sandman!
250 \end_layout
251
252 \begin_layout Standard
253
254 \lang afrikaans
255 Afrikaans: Good dag minher.
256 \end_layout
257
258 \begin_layout Standard
259
260 \lang swedish
261 Swedish: Hej då.
262 \end_layout
263
264 \begin_layout Standard
265
266 \lang ngerman
267 Deutsch: Grüße aus Österreich! 
268 \end_layout
269
270 \begin_layout Standard
271
272 \lang french
273 French: «Bonsoir à vous.»
274 \end_layout
275
276 \begin_layout Standard
277
278 \lang afrikaans
279 Griechisch: χαιρετισμος!
280 \end_layout
281
282 \begin_layout Standard
283
284 \lang russian
285 Russisch: Привет с 
286 \emph on
287 новым
288 \emph default
289  годом!
290 \end_layout
291
292 \end_body
293 \end_document