]> git.lyx.org Git - features.git/blob - lib/doc/ja/Customization.lyx
10955a2cff3c0179c50d537e3eeab50765591b4b
[features.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/ja/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that this document prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this 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 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
22   \frontmatter
23   \pdfbookmark[1]{\contentsname}{}
24   \myTOC
25   \mainmatter }
26
27 % Added only for Japanese translation
28 % This is needed to use \textquotedbl (this doesn't exist in OT1 encoding)
29 \usepackage[T1]{fontenc}
30 \end_preamble
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
33 \begin_modules
34 logicalmkup
35 \end_modules
36 \maintain_unincluded_children false
37 \begin_local_layout
38 Format 57
39 InsetLayout Flex:MenuItem
40 LyxType               charstyle
41 LabelString           menu
42 LatexType             command
43 LatexName             menuitem
44 Font
45 Family              Sans
46 EndFont
47 Preamble
48 \newcommand*{\menuitem}[1]{{\sffamily #1}}
49 EndPreamble
50 ResetsFont true
51 End
52 # In case we need to do with sans...
53 #InsetLayout CharStyle:Code
54 #Font
55 #Family              Sans
56 #EndFont
57 #Preamble
58 #\renewcommand{\code}[1]{{\sffamily #1}}
59 #EndPreamble
60 #End
61 InsetLayout             Flex:Ruby
62 LyxType         charstyle
63 LatexType               command
64 LatexName               ruby
65 BgColor         none
66 LabelString             "ルビ"
67 Decoration              Conglomerate
68 Argument post:1
69 LabelString     "ルビ文"
70 MenuString      "ルビ文(S)|S"
71 Decoration      Conglomerate
72 Font
73 Size            tiny
74 EndFont
75 LabelFont
76 Size            tiny
77 EndFont
78 Mandatory       1
79 EndArgument
80 Preamble
81 \IfFileExists{okumacro.sty}
82 {\usepackage{okumacro}}
83 {\newcommand{\ruby}[2]{#2}}
84 EndPreamble
85 ResetsFont true
86 End
87 \end_local_layout
88 \language japanese
89 \language_package default
90 \inputencoding auto
91 \fontencoding global
92 \font_roman "default" "default"
93 \font_sans "default" "default"
94 \font_typewriter "default" "default"
95 \font_math "auto" "auto"
96 \font_default_family default
97 \use_non_tex_fonts false
98 \font_sc false
99 \font_osf false
100 \font_sf_scale 100 100
101 \font_tt_scale 100 100
102 \use_microtype false
103 \use_dash_ligatures false
104 \graphics default
105 \default_output_format pdf3
106 \output_sync 0
107 \bibtex_command default
108 \index_command default
109 \paperfontsize 12
110 \spacing single
111 \use_hyperref true
112 \pdf_title "LyX Configuration Manual"
113 \pdf_author "LyX Team"
114 \pdf_subject "LyX-Documentation Customization"
115 \pdf_keywords "LyX, documentation, customization"
116 \pdf_bookmarks false
117 \pdf_bookmarksnumbered true
118 \pdf_bookmarksopen true
119 \pdf_bookmarksopenlevel 1
120 \pdf_breaklinks false
121 \pdf_pdfborder false
122 \pdf_colorlinks true
123 \pdf_backref false
124 \pdf_pdfusetitle false
125 \pdf_quoted_options "driverfallback=dvipdfmx, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
126 \papersize default
127 \use_geometry false
128 \use_package amsmath 0
129 \use_package amssymb 0
130 \use_package cancel 0
131 \use_package esint 0
132 \use_package mathdots 0
133 \use_package mathtools 0
134 \use_package mhchem 0
135 \use_package stackrel 0
136 \use_package stmaryrd 0
137 \use_package undertilde 0
138 \cite_engine basic
139 \cite_engine_type default
140 \biblio_style plain
141 \use_bibtopic false
142 \use_indices false
143 \paperorientation portrait
144 \suppress_date false
145 \justification false
146 \use_refstyle 0
147 \use_minted 0
148 \notefontcolor #0000ff
149 \branch OutDated
150 \selected 0
151 \filename_suffix 0
152 \color #f5fae7
153 \end_branch
154 \index 索引
155 \shortcut idx
156 \color #008000
157 \end_index
158 \secnumdepth 3
159 \tocdepth 3
160 \paragraph_separation indent
161 \paragraph_indentation default
162 \is_math_indent 1
163 \math_indentation default
164 \math_numbering_side default
165 \quotes_style english
166 \dynamic_quotes 0
167 \papercolumns 1
168 \papersides 2
169 \paperpagestyle headings
170 \tracking_changes false
171 \output_changes false
172 \html_math_output 0
173 \html_css_as_file 0
174 \html_be_strict true
175 \end_header
176
177 \begin_body
178
179 \begin_layout Title
180 \SpecialChar LyX
181 の高度設定
182 \begin_inset Newline newline
183 \end_inset
184
185 熟練ユーザのための各機能
186 \end_layout
187
188 \begin_layout Author
189 \SpecialChar LyX
190 開発チーム
191 \begin_inset Foot
192 status collapsed
193
194 \begin_layout Plain Layout
195 \noindent
196 もしコメントや誤りの修正をお持ちでしたら,\SpecialChar LyX
197 文書化メーリングリスト
198 \begin_inset CommandInset href
199 LatexCommand href
200 target "lyx-docs@lists.lyx.org"
201 type "mailto:"
202 literal "false"
203
204 \end_inset
205
206 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,このファイルの現在のメンテナRichard Heck <rgheck@comc
207 ast.net>をccにして送ってください.
208 \end_layout
209
210 \end_inset
211
212
213 \begin_inset Newline newline
214 \end_inset
215
216
217 \begin_inset Newline newline
218 \end_inset
219
220 第2.3.x版 
221 \end_layout
222
223 \begin_layout Standard
224 \begin_inset CommandInset toc
225 LatexCommand tableofcontents
226
227 \end_inset
228
229
230 \begin_inset Note Note
231 status open
232
233 \begin_layout Plain Layout
234 本文書を修正する際には,変更追跡機能を使用してください.これによって,
235 \end_layout
236
237 \begin_layout Plain Layout
238 \SpecialChar LyX
239 翻訳者陣が変更点を認識しやすくなり,メンテナが最新の状態を維持することが容易になります.
240 \end_layout
241
242 \end_inset
243
244
245 \end_layout
246
247 \begin_layout Chapter
248 はじめに
249 \end_layout
250
251 \begin_layout Standard
252 この取扱説明書は,\SpecialChar LyX
253 に備わっている高度設定機能を取り扱います.ここでは,
254 \begin_inset Flex Ruby
255 status collapsed
256
257 \begin_layout Plain Layout
258 捷径
259 \begin_inset Argument post:1
260 status collapsed
261
262 \begin_layout Plain Layout
263 ショートカット
264 \end_layout
265
266 \end_inset
267
268
269 \end_layout
270
271 \end_inset
272
273 や画面プレビューオプション,プリンタオプション,\SpecialChar LyX
274 サーバ経由での\SpecialChar LyX
275 へのコマンド送信,国際化,新しい\SpecialChar LaTeX
276 クラスや\SpecialChar LyX
277 レイアウトの導入などの題材について論じます.おそらくは変更
278 可能なことすべてについて触れることは無理でしょうが—私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—,もっとも一般的な高
279 度設定については説明を行い,わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
280 \end_layout
281
282 \begin_layout Standard
283 \begin_inset Branch OutDated
284 inverted 0
285 status collapsed
286
287 \begin_layout Standard
288 Information from previous versions of this document that now seems to be
289  outdated is contained in the OutDated branch of this document.
290  By default, this information will not appear in the \SpecialChar LaTeX
291  output.
292 \end_layout
293
294 \end_inset
295
296
297 \end_layout
298
299 \begin_layout Chapter
300 \SpecialChar LyX
301 設定ファイル
302 \end_layout
303
304 \begin_layout Standard
305 本章の目的は,\SpecialChar LyX
306 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
307 \begin_inset Flex MenuItem
308 status collapsed
309
310 \begin_layout Plain Layout
311 ヘルプ\SpecialChar menuseparator
312 LyXについて
313 \end_layout
314
315 \end_inset
316
317 を使って,\SpecialChar LyX
318 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,\SpecialChar LyX
319 がシステム全体の設定ファイルを置いておくところです.一
320 方,ユーザディレクトリは,自身がそれを修正した版を置いておくところです.私たちは,本書の以下の部分で,前者を
321 \begin_inset Flex Code
322 status collapsed
323
324 \begin_layout Plain Layout
325 LyXDir
326 \end_layout
327
328 \end_inset
329
330 と呼び,後者を
331 \begin_inset Flex MenuItem
332 status collapsed
333
334 \begin_layout Plain Layout
335 UserDir
336 \end_layout
337
338 \end_inset
339
340 と呼ぶことにします.
341 \end_layout
342
343 \begin_layout Section
344 \begin_inset Flex Code
345 status collapsed
346
347 \begin_layout Plain Layout
348 LyXDir
349 \end_layout
350
351 \end_inset
352
353 にはなにがあるの?
354 \end_layout
355
356 \begin_layout Standard
357 \begin_inset Flex Code
358 status collapsed
359
360 \begin_layout Plain Layout
361 LyXDir
362 \end_layout
363
364 \end_inset
365
366 とそのサブディレクトリには,多くのファイルがあり,\SpecialChar LyX
367 の挙動を高度設定するのに使用されます.これらのファイルの多くは,\SpecialChar LyX
368 内の
369 \begin_inset Flex MenuItem
370 status collapsed
371
372 \begin_layout Plain Layout
373 ツール\SpecialChar menuseparator
374 設定
375 \end_layout
376
377 \end_inset
378
379 ダイアログから変更することができます.\SpecialChar LyX
380 中で行いたいと思うような高度設定は,ほとんどこのダイアログから行うことができるようになっています.しかしながら,LyXの他
381 の多くの内部動作は,
382 \begin_inset Flex Code
383 status collapsed
384
385 \begin_layout Plain Layout
386 LyXDir
387 \end_layout
388
389 \end_inset
390
391 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,以下の各小節で説明します.
392 \end_layout
393
394 \begin_layout Subsection
395 自動的に生成されるファイル
396 \end_layout
397
398 \begin_layout Standard
399 \begin_inset Flex MenuItem
400 status collapsed
401
402 \begin_layout Plain Layout
403 UserDir
404 \end_layout
405
406 \end_inset
407
408 にある各ファイルは,\SpecialChar LyX
409 が自動設定を行ったときに生成されます.これらのファイルは,内部調査中に推測された様々な既定値が置かれています.これらは,随時上書きされてしま
410 うので,一般的には修正しないことが望まれます.
411 \end_layout
412
413 \begin_layout Labeling
414 \labelwidthstring 00.00.0000
415 \begin_inset Flex Code
416 status collapsed
417
418 \begin_layout Plain Layout
419 lyxrc.defaults
420 \end_layout
421
422 \end_inset
423
424  このファイルには,様々な既定コマンドが置かれています.
425 \end_layout
426
427 \begin_layout Labeling
428 \labelwidthstring 00.00.0000
429 \begin_inset Flex Code
430 status collapsed
431
432 \begin_layout Plain Layout
433 packages.lst
434 \end_layout
435
436 \end_inset
437
438  このファイルには,\SpecialChar LyX
439 が認識したパッケージの一覧が収められています.現在のところ,これは\SpecialChar LyX
440 プログラム自体には使用されていませんが,抽出された情報その他は,
441 \begin_inset Flex MenuItem
442 status collapsed
443
444 \begin_layout Plain Layout
445 ヘルプ\SpecialChar menuseparator
446 LaTeXの設定
447 \end_layout
448
449 \end_inset
450
451 で見ることができます.
452 \end_layout
453
454 \begin_layout Labeling
455 \labelwidthstring 00.00.0000
456 \begin_inset Flex Code
457 status collapsed
458
459 \begin_layout Plain Layout
460 textclass.lst
461 \end_layout
462
463 \end_inset
464
465  ユーザの
466 \begin_inset Flex Code
467 status collapsed
468
469 \begin_layout Plain Layout
470 Plain L
471 \end_layout
472
473 \end_inset
474
475 ディレクトリで検出されたテキストクラスと,関連した\SpecialChar LaTeX
476 文書クラスおよびその説明の一覧です.
477 \end_layout
478
479 \begin_layout Labeling
480 \labelwidthstring 00.00.0000
481 \begin_inset Flex Code
482 status collapsed
483
484 \begin_layout Plain Layout
485 lyxmodules.lst
486 \end_layout
487
488 \end_inset
489
490  ユーザの
491 \begin_inset Flex Code
492 status collapsed
493
494 \begin_layout Plain Layout
495 layout/
496 \end_layout
497
498 \end_inset
499
500 ディレクトリで検出されたレイアウトモジュールの一覧です.
501 \end_layout
502
503 \begin_layout Labeling
504 \labelwidthstring 00.00.0000
505 \begin_inset Flex Code
506 status collapsed
507
508 \begin_layout Plain Layout
509 *files.lst
510 \end_layout
511
512 \end_inset
513
514  ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
515 関連ファイルの一覧です.
516 \end_layout
517
518 \begin_layout Labeling
519 \labelwidthstring 00.00.0000
520 \begin_inset Flex Code
521 status collapsed
522
523 \begin_layout Plain Layout
524 doc/LaTeXConfig.lyx
525 \end_layout
526
527 \end_inset
528
529  このファイルは,自動設定中に
530 \begin_inset Flex Code
531 status collapsed
532
533 \begin_layout Plain Layout
534 LaTeXConfig.lyx.in
535 \end_layout
536
537 \end_inset
538
539 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
540 の設定に関する情報が納められています.
541 \end_layout
542
543 \begin_layout Subsection
544 ディレクトリ
545 \end_layout
546
547 \begin_layout Standard
548 以下の各ディレクトリは,
549 \begin_inset Flex Code
550 status collapsed
551
552 \begin_layout Plain Layout
553 LyXDir
554 \end_layout
555
556 \end_inset
557
558
559 \begin_inset Flex Code
560 status collapsed
561
562 \begin_layout Plain Layout
563 UserDir
564 \end_layout
565
566 \end_inset
567
568 に重複して存在します.特定のファイルが両方の場所にある場合には,
569 \begin_inset Flex Code
570 status collapsed
571
572 \begin_layout Plain Layout
573 UserDir
574 \end_layout
575
576 \end_inset
577
578 の方にあるものが使用されます.
579 \end_layout
580
581 \begin_layout Labeling
582 \labelwidthstring 00.00.0000
583 \begin_inset Flex Code
584 status collapsed
585
586 \begin_layout Plain Layout
587 bind/
588 \end_layout
589
590 \end_inset
591
592  このディレクトリには,\SpecialChar LyX
593 で使用されるキー割当を定義している,拡張子が
594 \begin_inset Flex Code
595 status collapsed
596
597 \begin_layout Plain Layout
598 .bind
599 \end_layout
600
601 \end_inset
602
603 のファイルが置かれています.
604 \begin_inset Flex Code
605 status collapsed
606
607 \begin_layout Plain Layout
608 $LANG_xxx.bind
609 \end_layout
610
611 \end_inset
612
613 という名称の割当ファイルの各国語版がある場合には,そちらが用いられます.
614 \end_layout
615
616 \begin_layout Labeling
617 \labelwidthstring 00.00.0000
618
619 \lang english
620 \begin_inset Flex Code
621 status collapsed
622
623 \begin_layout Plain Layout
624
625 \lang english
626 citeengines/
627 \end_layout
628
629 \end_inset
630
631  contains files with the extension 
632 \begin_inset Flex Code
633 status collapsed
634
635 \begin_layout Plain Layout
636
637 \lang english
638 .citeengine
639 \end_layout
640
641 \end_inset
642
643  which define the diverse citation possibilities (natbib, biblatex etc.).
644  See 
645 \begin_inset CommandInset ref
646 LatexCommand ref
647 reference "subsec:Cite-Engine-Files"
648 plural "false"
649 caps "false"
650 noprefix "false"
651
652 \end_inset
653
654  for details.
655 \end_layout
656
657 \begin_layout Labeling
658 \labelwidthstring 00.00.0000
659 \begin_inset Flex Code
660 status collapsed
661
662 \begin_layout Plain Layout
663 clipart/
664 \end_layout
665
666 \end_inset
667
668  このディレクトリには,文書に取り込むことのできる画像ファイルが納められています.
669 \end_layout
670
671 \begin_layout Labeling
672 \labelwidthstring 00.00.0000
673 \begin_inset Flex Code
674 status collapsed
675
676 \begin_layout Plain Layout
677 doc/
678 \end_layout
679
680 \end_inset
681
682  このディレクトリには,\SpecialChar LyX
683 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
684 \begin_inset Flex Code
685 status collapsed
686
687 \begin_layout Plain Layout
688 LaTeXConfig.lyx
689 \end_layout
690
691 \end_inset
692
693 ファイルは特に注目に値します.各国語版のヘルプ文書は,
694 \begin_inset Flex Code
695 status collapsed
696
697 \begin_layout Plain Layout
698 doc/xx
699 \end_layout
700
701 \end_inset
702
703 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
704 \begin_inset CommandInset ref
705 LatexCommand ref
706 reference "cha:LyXの各国語対応"
707
708 \end_inset
709
710 をご覧ください.
711 \end_layout
712
713 \begin_layout Labeling
714 \labelwidthstring 00.00.0000
715 \begin_inset Flex Code
716 status collapsed
717
718 \begin_layout Plain Layout
719 examples/
720 \end_layout
721
722 \end_inset
723
724  このディレクトリには,何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
725 \begin_inset Flex MenuItem
726 status collapsed
727
728 \begin_layout Plain Layout
729 用例
730 \end_layout
731
732 \end_inset
733
734 ボタンを押すと,このディレクトリが表示されます.
735 \end_layout
736
737 \begin_layout Labeling
738 \labelwidthstring 00.00.0000
739 \begin_inset Flex Code
740 status collapsed
741
742 \begin_layout Plain Layout
743 images/
744 \end_layout
745
746 \end_inset
747
748  このディレクトリには,
749 \begin_inset Flex MenuItem
750 status collapsed
751
752 \begin_layout Plain Layout
753 文書
754 \end_layout
755
756 \end_inset
757
758 ダイアログで使用される画像ファイルが納められています.さらに,ツールバーの各アイコンや,\SpecialChar LyX
759 を起動したときに現れるバナーも納められています.
760 \end_layout
761
762 \begin_layout Labeling
763 \labelwidthstring 00.00.0000
764 \begin_inset Flex Code
765 status collapsed
766
767 \begin_layout Plain Layout
768 kbd/
769 \end_layout
770
771 \end_inset
772
773  このディレクトリには,キーボードのキー割当ファイルが納められています.詳細については,
774 \begin_inset CommandInset ref
775 LatexCommand ref
776 reference "sec:国際キー配列"
777
778 \end_inset
779
780 をご覧ください.
781 \end_layout
782
783 \begin_layout Labeling
784 \labelwidthstring 00.00.0000
785 \begin_inset Flex Code
786 status collapsed
787
788 \begin_layout Plain Layout
789 layouts/
790 \end_layout
791
792 \end_inset
793
794  このディレクトリには,
795 \begin_inset CommandInset ref
796 LatexCommand ref
797 reference "cha:新規文書を導入"
798
799 \end_inset
800
801 に述べられているテキストクラスおよびモジュールのファイルが納められています.
802 \end_layout
803
804 \begin_layout Labeling
805 \labelwidthstring 00.00.0000
806 \begin_inset Flex Code
807 status collapsed
808
809 \begin_layout Plain Layout
810 lyx2lyx
811 \end_layout
812
813 \end_inset
814
815  このディレクトリには,\SpecialChar LyX
816 の各バージョン間の変換に使用される
817 \begin_inset Flex Code
818 status collapsed
819
820 \begin_layout Plain Layout
821 lyx2lyx
822 \end_layout
823
824 \end_inset
825
826  Pythonスクリプトが納められています.たとえば,複数のファイルの変換をバッチ処理したい場合には,これらをコマンドラインから実行することもできます.
827 \end_layout
828
829 \begin_layout Labeling
830 \labelwidthstring 00.00.0000
831 \begin_inset Flex Code
832 status collapsed
833
834 \begin_layout Plain Layout
835 scripts/
836 \end_layout
837
838 \end_inset
839
840  このディレクトリには,
841 \begin_inset Flex MenuItem
842 status collapsed
843
844 \begin_layout Plain Layout
845 外用ひな型
846 \end_layout
847
848 \end_inset
849
850 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
851 自身が使用するスクリプトもいくつか収められています.
852 \end_layout
853
854 \begin_layout Labeling
855 \labelwidthstring 00.00.0000
856 \begin_inset Flex Code
857 status collapsed
858
859 \begin_layout Plain Layout
860 templates/
861 \end_layout
862
863 \end_inset
864
865  このディレクトリには,
866 \begin_inset CommandInset ref
867 LatexCommand ref
868 reference "sec:ひな型を作成する"
869
870 \end_inset
871
872 で述べられている標準の\SpecialChar LyX
873 ひな型ファイルが納められています.
874 \end_layout
875
876 \begin_layout Labeling
877 \labelwidthstring 00.00.0000
878 \begin_inset Flex Code
879 status collapsed
880
881 \begin_layout Plain Layout
882 ui/
883 \end_layout
884
885 \end_inset
886
887  このディレクトリには,\SpecialChar LyX
888 の操作画面を定義する拡張子
889 \begin_inset Flex Code
890 status collapsed
891
892 \begin_layout Plain Layout
893 .ui
894 \end_layout
895
896 \end_inset
897
898 のファイルが納められています.つまり,これらのファイルは,どのメニュー項目がどのメニューに現れるかを定義し,どの項目がツールバーに現れるかを定義しています.
899 \end_layout
900
901 \begin_layout Labeling
902 \labelwidthstring 00.00.0000
903
904 \lang english
905 \begin_inset Flex Code
906 status collapsed
907
908 \begin_layout Plain Layout
909
910 \lang english
911 xtemplates/
912 \end_layout
913
914 \end_inset
915
916  contains files with the extension 
917 \begin_inset Flex Code
918 status collapsed
919
920 \begin_layout Plain Layout
921
922 \lang english
923 .xtemplate
924 \end_layout
925
926 \end_inset
927
928  which define the templates for the insertion of external material to a
929  \SpecialChar LyX
930  document; see 
931 \begin_inset CommandInset ref
932 LatexCommand ref
933 reference "chap:Including-External-Material"
934
935 \end_inset
936
937 .
938 \end_layout
939
940 \begin_layout Subsection
941 変更を加えない方がよいファイル
942 \end_layout
943
944 \begin_layout Standard
945 これらのファイルは\SpecialChar LyX
946 が内部的に使用するもので,あなたが開発者でない限りは,凡そこれらに変更を加える必要はありません.
947 \end_layout
948
949 \begin_layout Labeling
950 \labelwidthstring 00.00.0000
951 \begin_inset Flex Code
952 status collapsed
953
954 \begin_layout Plain Layout
955 CREDITS
956 \end_layout
957
958 \end_inset
959
960  このファイルは,\SpecialChar LyX
961 開発陣の名簿です.この内容は,メニュー項目
962 \begin_inset Flex MenuItem
963 status collapsed
964
965 \begin_layout Plain Layout
966 ヘルプ\SpecialChar menuseparator
967 LyXについて
968 \end_layout
969
970 \end_inset
971
972 で表示されます.
973 \end_layout
974
975 \begin_layout Labeling
976 \labelwidthstring 00.00.0000
977 \begin_inset Flex Code
978 status collapsed
979
980 \begin_layout Plain Layout
981 chkconfig.ltx
982 \end_layout
983
984 \end_inset
985
986  これは,自動設定プロセスによって使用される\SpecialChar LaTeX
987 スクリプトです.直接実行しないでください.
988 \end_layout
989
990 \begin_layout Labeling
991 \labelwidthstring 00.00.0000
992 \begin_inset Flex Code
993 status collapsed
994
995 \begin_layout Plain Layout
996 configure.py
997 \end_layout
998
999 \end_inset
1000
1001  これは,\SpecialChar LyX
1002 の環境構成によって使用されるスクリプトです.これは,このスクリプトを実行したディレクトリに設定ファイルを生成します.
1003 \end_layout
1004
1005 \begin_layout Subsection
1006 ひとこと必要なファイル群
1007 \end_layout
1008
1009 \begin_layout Labeling
1010 \labelwidthstring 00.00.0000
1011 \begin_inset Flex Code
1012 status collapsed
1013
1014 \begin_layout Plain Layout
1015 encodings
1016 \end_layout
1017
1018 \end_inset
1019
1020  このファイルには,各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
1021 \end_layout
1022
1023 \begin_layout Labeling
1024 \labelwidthstring 00.00.0000
1025 \begin_inset Flex Code
1026 status collapsed
1027
1028 \begin_layout Plain Layout
1029 languages
1030 \end_layout
1031
1032 \end_inset
1033
1034  このファイルには,現在\SpecialChar LyX
1035 がサポートしている言語の全一覧が載っています.
1036 \end_layout
1037
1038 \begin_layout Labeling
1039 \labelwidthstring 00.00.0000
1040 \begin_inset Flex Code
1041 status collapsed
1042
1043 \begin_layout Plain Layout
1044 latexfonts
1045 \end_layout
1046
1047 \end_inset
1048
1049  サポートされているフォントに関する情報が掲載されています.
1050 \end_layout
1051
1052 \begin_layout Labeling
1053 \labelwidthstring 00.00.0000
1054 \begin_inset Flex Code
1055 status collapsed
1056
1057 \begin_layout Plain Layout
1058 layouttranslations
1059 \end_layout
1060
1061 \end_inset
1062
1063  このファイルは,国際化された段落様式の翻訳が収録されています(
1064 \begin_inset CommandInset ref
1065 LatexCommand ref
1066 reference "subsec:段落様式の国際化"
1067
1068 \end_inset
1069
1070 参照).
1071 \end_layout
1072
1073 \begin_layout Labeling
1074 \labelwidthstring 00.00.0000
1075 \begin_inset Flex Code
1076 status collapsed
1077
1078 \begin_layout Plain Layout
1079 unicodesymbols
1080 \end_layout
1081
1082 \end_inset
1083
1084  このファイルは,unicodeエンコーディングされたグリフに関する情報と,\SpecialChar LyX
1085 が\SpecialChar LaTeX
1086 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1087 \end_layout
1088
1089 \begin_layout Section
1090 ユーザのローカル設定ディレクトリ
1091 \end_layout
1092
1093 \begin_layout Standard
1094 \SpecialChar LyX
1095 を非特権ユーザとして利用している場合でも,自分自身で使うために,\SpecialChar LyX
1096 の設定を変更したいと思うかもしれません.
1097 \begin_inset Flex Code
1098 status collapsed
1099
1100 \begin_layout Plain Layout
1101 UserDir
1102 \end_layout
1103
1104 \end_inset
1105
1106 ディレクトリには,すべての個人設定ファイルが収められています.これは,
1107 \begin_inset Flex MenuItem
1108 status collapsed
1109
1110 \begin_layout Plain Layout
1111 ヘルプ\SpecialChar menuseparator
1112 LyXについて
1113 \end_layout
1114
1115 \end_inset
1116
1117 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1118 \begin_inset Flex Code
1119 status collapsed
1120
1121 \begin_layout Plain Layout
1122 LyXDir
1123 \end_layout
1124
1125 \end_inset
1126
1127 のミラーとして使用されており,これは
1128 \begin_inset Flex Code
1129 status collapsed
1130
1131 \begin_layout Plain Layout
1132 UserDir
1133 \end_layout
1134
1135 \end_inset
1136
1137 内のすべてのファイルが,
1138 \begin_inset Flex Code
1139 status collapsed
1140
1141 \begin_layout Plain Layout
1142 LyXDir
1143 \end_layout
1144
1145 \end_inset
1146
1147 すし,自分自身で使うために個人のローカルディレクトリに置くこともできます.
1148 \end_layout
1149
1150 \begin_layout Standard
1151 わかりやすくするために,いくつか例を挙げましょう.
1152 \end_layout
1153
1154 \begin_layout Itemize
1155 \begin_inset Flex MenuItem
1156 status collapsed
1157
1158 \begin_layout Plain Layout
1159 ツール\SpecialChar menuseparator
1160 設定
1161 \end_layout
1162
1163 \end_inset
1164
1165 ダイアログで設定されるユーザ設定は,
1166 \begin_inset Flex Code
1167 status collapsed
1168
1169 \begin_layout Plain Layout
1170 UserDir
1171 \end_layout
1172
1173 \end_inset
1174
1175 中の
1176 \begin_inset Flex Code
1177 status collapsed
1178
1179 \begin_layout Plain Layout
1180 preferences
1181 \end_layout
1182
1183 \end_inset
1184
1185 ファイルに保存されます.
1186 \end_layout
1187
1188 \begin_layout Itemize
1189 \begin_inset Flex MenuItem
1190 status collapsed
1191
1192 \begin_layout Plain Layout
1193 ツール\SpecialChar menuseparator
1194 環境構成
1195 \end_layout
1196
1197 \end_inset
1198
1199 を使用して環境構成を行うと,\SpecialChar LyX
1200
1201 \begin_inset Flex Code
1202 status collapsed
1203
1204 \begin_layout Plain Layout
1205 configure.py
1206 \end_layout
1207
1208 \end_inset
1209
1210 スクリプトを実行し,その結果のファイルは,ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1211 \begin_inset Flex Code
1212 status collapsed
1213
1214 \begin_layout Plain Layout
1215 UserDir/layouts
1216 \end_layout
1217
1218 \end_inset
1219
1220 にご自身で追加したテキストファイルは,
1221 \begin_inset Flex MenuItem
1222 status collapsed
1223
1224 \begin_layout Plain Layout
1225 文書\SpecialChar menuseparator
1226 設定
1227 \end_layout
1228
1229 \end_inset
1230
1231 ダイアログのクラス一覧に表示されるようになることを意味します.
1232 \end_layout
1233
1234 \begin_layout Itemize
1235 たとえば,\SpecialChar LyX
1236 のFTPサイトから最新の取扱説明書をとってきたものの,使用中のシステム上で管理者権限がないために,それをインストールすることができなかったとしても,そ
1237 れらのファイルを
1238 \begin_inset Flex Code
1239 status collapsed
1240
1241 \begin_layout Plain Layout
1242 UserDir/doc/
1243 \end_layout
1244
1245 \end_inset
1246
1247 ディレクトリにコピーすれば,
1248 \begin_inset Flex MenuItem
1249 status collapsed
1250
1251 \begin_layout Plain Layout
1252 ヘルプ
1253 \end_layout
1254
1255 \end_inset
1256
1257 メニュー項目はこれらを開くようになります!
1258 \end_layout
1259
1260 \begin_layout Section
1261 \SpecialChar LyX
1262 を複数の設定を使って実行するには
1263 \end_layout
1264
1265 \begin_layout Standard
1266 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,使用する度に異なる
1267 キー割当を使用したり,異なるプリンタ設定を使用したいことがあるかもしれません.これは,複数の設定ディレクトリを作ることで実現することができます.そして,実行時に
1268 どのディレクトリを使用するか指定するのです.
1269 \end_layout
1270
1271 \begin_layout Standard
1272 \SpecialChar LyX
1273 をコマンドラインスイッチ
1274 \begin_inset Flex Code
1275 status collapsed
1276
1277 \begin_layout Plain Layout
1278 -userdir
1279 \end_layout
1280
1281 \end_inset
1282
1283 P
1284 \emph on
1285 <ディレクトリ名>
1286 \emph default
1287 と共に起動すると,設定を既定のディレクトリではなく,指定したディレクトリから読み込むように,指示することになります(\SpecialChar LyX
1288
1289 \begin_inset Flex Code
1290 status collapsed
1291
1292 \begin_layout Plain Layout
1293 -userdir
1294 \end_layout
1295
1296 \end_inset
1297
1298 スイッチなしで実行すれば,既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,\SpecialChar LyX
1299 は,初めて\SpecialChar LyX
1300 を実行したときに既定ディレクトリを訊い
1301 てくるのと同様に,そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,既定ディレクトリで行うのと全く同じように設定オプションを修正す
1302 ることができます.これらのディレクトリは完全に独立しています(が,読み進めてください).また,環境変数
1303 \begin_inset Flex Code
1304 status collapsed
1305
1306 \begin_layout Plain Layout
1307 LYX_USERDIR_20x
1308 \end_layout
1309
1310 \end_inset
1311
1312 を特定の値に設定しても,全く同じ効果があります.
1313 \end_layout
1314
1315 \begin_layout Standard
1316 複数の設定を持つことはまた,維持の手間も増えるということです.もし新しいレイアウトを
1317 \begin_inset Flex Code
1318 status collapsed
1319
1320 \begin_layout Plain Layout
1321 NewUserDir/layouts
1322 \end_layout
1323
1324 \end_inset
1325
1326 に加えて,これをすべての設定で利用できるようにしたいならば,これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,次のようなトリッ
1327 クを使用してください.\SpecialChar LyX
1328 が新しい設定ディレクトリを生成すると,そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1329 空のサブディレクトリを,既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1330 \begin_inset Flex Code
1331 status collapsed
1332
1333 \begin_layout Plain Layout
1334 doc/
1335 \end_layout
1336
1337 \end_inset
1338
1339 サブディレクトリには,設定スクリプト(
1340 \begin_inset Flex MenuItem
1341 status collapsed
1342
1343 \begin_layout Plain Layout
1344 ツール\SpecialChar menuseparator
1345 環境構成
1346 \end_layout
1347
1348 \end_inset
1349
1350 で使用可能)が書き出した,設定毎に異なるファイルが含まれていますので,注意を払ってください.
1351 \end_layout
1352
1353 \begin_layout Chapter
1354 設定ダイアログ
1355 \end_layout
1356
1357 \begin_layout Standard
1358 設定ダイアログのオプションのすべては,
1359 \emph on
1360 ユーザーの手引き
1361 \emph default
1362 の付録
1363 \emph on
1364 設定ダイアログ
1365 \emph default
1366 に述べられています.オプションのうちいくつかについて,ここでさらに詳細に説明します.
1367 \end_layout
1368
1369 \begin_layout Section
1370 ファイル形式
1371 \begin_inset CommandInset label
1372 LatexCommand label
1373 name "sec:ファイル形式"
1374
1375 \end_inset
1376
1377
1378 \end_layout
1379
1380 \begin_layout Standard
1381 ファイル形式が定義されていない場合,はじめの一歩は,使いたいと思うファイル形式を定義することです.それには,
1382 \begin_inset Flex MenuItem
1383 status collapsed
1384
1385 \begin_layout Plain Layout
1386 ツール\SpecialChar menuseparator
1387 設定
1388 \end_layout
1389
1390 \end_inset
1391
1392 ダイアログを開いてください.
1393 \begin_inset Flex MenuItem
1394 status collapsed
1395
1396 \begin_layout Plain Layout
1397 ファイル処理\SpecialChar menuseparator
1398 ファイル形式
1399 \end_layout
1400
1401 \end_inset
1402
1403 の中で
1404 \begin_inset Flex MenuItem
1405 status collapsed
1406
1407 \begin_layout Plain Layout
1408 新規\SpecialChar ldots
1409
1410 \end_layout
1411
1412 \end_inset
1413
1414 ボタンを押して,登録する新しい形式を定義してください.
1415 \begin_inset Flex MenuItem
1416 status collapsed
1417
1418 \begin_layout Plain Layout
1419 形式
1420 \end_layout
1421
1422 \end_inset
1423
1424 フィールドは,GUI中で形式を認識するために用いられる名称です.
1425 \begin_inset Flex MenuItem
1426 status collapsed
1427
1428 \begin_layout Plain Layout
1429 短縮名
1430 \end_layout
1431
1432 \end_inset
1433
1434 は,形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1435 \begin_inset Flex MenuItem
1436 status collapsed
1437
1438 \begin_layout Plain Layout
1439 捷径
1440 \end_layout
1441
1442 \end_inset
1443
1444 フィールドは,メニュー中で
1445 \begin_inset Flex Ruby
1446 status collapsed
1447
1448 \begin_layout Plain Layout
1449 捷径
1450 \begin_inset Argument post:1
1451 status collapsed
1452
1453 \begin_layout Plain Layout
1454 ショートカット
1455 \end_layout
1456
1457 \end_inset
1458
1459
1460 \end_layout
1461
1462 \end_inset
1463
1464 を提供するのに使用されます(たとえば,
1465 \begin_inset Flex MenuItem
1466 status collapsed
1467
1468 \begin_layout Plain Layout
1469 Ctrl+D
1470 \end_layout
1471
1472 \end_inset
1473
1474 を押すと
1475 \begin_inset Flex MenuItem
1476 status collapsed
1477
1478 \begin_layout Plain Layout
1479 表示\SpecialChar menuseparator
1480 DVI
1481 \end_layout
1482
1483 \end_inset
1484
1485 となります).
1486 \end_layout
1487
1488 \begin_layout Standard
1489 形式には,
1490 \begin_inset Flex MenuItem
1491 status collapsed
1492
1493 \begin_layout Plain Layout
1494 閲覧プログラム
1495 \end_layout
1496
1497 \end_inset
1498
1499
1500 \begin_inset Flex MenuItem
1501 status collapsed
1502
1503 \begin_layout Plain Layout
1504 編集プログラム
1505 \end_layout
1506
1507 \end_inset
1508
1509 を関連づけることができます.たとえば,PostScriptファイルを閲覧するのに
1510 \begin_inset Flex MenuItem
1511 status collapsed
1512
1513 \begin_layout Plain Layout
1514 Ghostview
1515 \end_layout
1516
1517 \end_inset
1518
1519 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,コマンドを定義するのに,次節に掲げる4つの変数を用
1520 いることができます.この閲覧プログラムは,\SpecialChar LyX
1521 中で画像を閲覧したり
1522 \begin_inset Flex MenuItem
1523 status collapsed
1524
1525 \begin_layout Plain Layout
1526 表示
1527 \end_layout
1528
1529 \end_inset
1530
1531 メニューを使用したときに起動されます.一方,編集プログラムは,たとえば,画像を右クリックして現れるコンテクストメニューで
1532 \begin_inset Flex MenuItem
1533 status collapsed
1534
1535 \begin_layout Plain Layout
1536 外部で編集
1537 \end_layout
1538
1539 \end_inset
1540
1541 を選択したときに起動します.
1542 \end_layout
1543
1544 \begin_layout Standard
1545 ファイル形式の
1546 \begin_inset Flex MenuItem
1547 status collapsed
1548
1549 \begin_layout Plain Layout
1550 MIME
1551 \end_layout
1552
1553 \end_inset
1554
1555 型は必須ではありませんが,指定するときには,すべての形式の中で一意的なものでなくてはなりません.これは,この形式のファイルをファイル内容から検出するのに用いられ
1556 ます.重要なファイル形式のうちには,
1557 \begin_inset CommandInset href
1558 LatexCommand href
1559 name "IANA"
1560 target "http://www.iana.org/assignments/media-types/"
1561 literal "false"
1562
1563 \end_inset
1564
1565 に公式に登録されたMIME型がないものがあります.そこで,\SpecialChar LyX
1566 は,
1567 \begin_inset CommandInset href
1568 LatexCommand href
1569 name "freedesktop.org"
1570 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1571 literal "false"
1572
1573 \end_inset
1574
1575 で指定されているMIME型拡張表を使用しています.
1576 \end_layout
1577
1578 \begin_layout Standard
1579 \begin_inset Flex MenuItem
1580 status collapsed
1581
1582 \begin_layout Plain Layout
1583 文書形式
1584 \end_layout
1585
1586 \end_inset
1587
1588 オプションは,\SpecialChar LyX
1589 に,この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,適切な変換経路が存在する場合には(第
1590 \begin_inset CommandInset ref
1591 LatexCommand ref
1592 reference "sec:変換子"
1593
1594 \end_inset
1595
1596 節を参照),この形式が
1597 \begin_inset Flex MenuItem
1598 status collapsed
1599
1600 \begin_layout Plain Layout
1601 ファイル\SpecialChar menuseparator
1602 書き出し
1603 \end_layout
1604
1605 \end_inset
1606
1607
1608 \begin_inset Flex MenuItem
1609 status collapsed
1610
1611 \begin_layout Plain Layout
1612 表示
1613 \end_layout
1614
1615 \end_inset
1616
1617 footlabel Label color for footnotす.
1618 \begin_inset Flex Code
1619 status collapsed
1620
1621 \begin_layout Plain Layout
1622 png
1623 \end_layout
1624
1625 \end_inset
1626
1627 のような純粋な画像形式は,このオプションを有効にしてはいけません.
1628 \begin_inset Flex Code
1629 status collapsed
1630
1631 \begin_layout Plain Layout
1632 pdf
1633 \end_layout
1634
1635 \end_inset
1636
1637 のようにベクター画像であると同時に文書でもあるような形式は,これを有効にします.
1638 \end_layout
1639
1640 \begin_layout Standard
1641 \begin_inset Flex MenuItem
1642 status collapsed
1643
1644 \begin_layout Plain Layout
1645 ベクター画像形式
1646 \end_layout
1647
1648 \end_inset
1649
1650 オプションは,\SpecialChar LyX
1651 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1652 \begin_inset Flex MenuItem
1653 status collapsed
1654
1655 \begin_layout Plain Layout
1656 pdflatex
1657 \end_layout
1658
1659 \end_inset
1660
1661 を書き出す際に,内包されている画像をどの形式に変換するかを決定するのに使用されます.
1662 \begin_inset Flex MenuItem
1663 status collapsed
1664
1665 \begin_layout Plain Layout
1666 pdflatex
1667 \end_layout
1668
1669 \end_inset
1670
1671 は,
1672 \begin_inset Flex MenuItem
1673 status collapsed
1674
1675 \begin_layout Plain Layout
1676 pdf
1677 \end_layout
1678
1679 \end_inset
1680
1681
1682 \begin_inset Flex MenuItem
1683 status collapsed
1684
1685 \begin_layout Plain Layout
1686 png
1687 \end_layout
1688
1689 \end_inset
1690
1691
1692 \begin_inset Flex MenuItem
1693 status collapsed
1694
1695 \begin_layout Plain Layout
1696 Des
1697 \end_layout
1698
1699 \end_inset
1700
1701 以外の画像形式を取り扱うことができないので,内包されている画像は,これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1702 \begin_inset Flex MenuItem
1703 status collapsed
1704
1705 \begin_layout Plain Layout
1706 pdf
1707 \end_layout
1708
1709 \end_inset
1710
1711
1712 \begin_inset Flex MenuItem
1713 status collapsed
1714
1715 \begin_layout Plain Layout
1716 png
1717 \end_layout
1718
1719 \end_inset
1720
1721
1722 \begin_inset Flex MenuItem
1723 status collapsed
1724
1725 \begin_layout Plain Layout
1726 jpg
1727 \end_layout
1728
1729 \end_inset
1730
1731 のいずれかになっていない場合には,ベクター画像形式オプションが有効になっている場合には
1732 \begin_inset Flex MenuItem
1733 status collapsed
1734
1735 \begin_layout Plain Layout
1736 pdf
1737 \end_layout
1738
1739 \end_inset
1740
1741 に変換され,そうでない場合には
1742 \begin_inset Flex MenuItem
1743 status collapsed
1744
1745 \begin_layout Plain Layout
1746 png
1747 \end_layout
1748
1749 \end_inset
1750
1751 に変換されます.
1752 \end_layout
1753
1754 \begin_layout Section
1755 複写子
1756 \end_layout
1757
1758 \begin_layout Standard
1759 形式の変換はすべて,\SpecialChar LyX
1760 の一時ディレクトリで行われるため,変換用にファイルを一時ディレクトリにコピーする前段階で,ファイルに変更を加える必要のあることがあります
1761 \begin_inset Foot
1762 status collapsed
1763
1764 \begin_layout Plain Layout
1765 たとえば,ファイルが他のファイル—たとえば画像—を,相対ファイル名を用いて参照している場合,このファイルが一時ディレクトリにコピーされると参照が無効になる場合が
1766 あります.
1767 \end_layout
1768
1769 \end_inset
1770
1771 .これは複写子によって取り扱われ,複写子は,ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,その過程でファイルに変更を加えます.
1772 \end_layout
1773
1774 \begin_layout Standard
1775 複写子の定義においては,以下の8つの変数を用いることができます.
1776 \end_layout
1777
1778 \begin_layout Labeling
1779 \labelwidthstring 00.00.0000
1780 \begin_inset Flex Code
1781 status collapsed
1782
1783 \begin_layout Plain Layout
1784 $$s
1785 \end_layout
1786
1787 \end_inset
1788
1789  \SpecialChar LyX
1790 のシステムディレクトリ(例:
1791 \begin_inset Flex MenuItem
1792 status collapsed
1793
1794 \begin_layout Plain Layout
1795 /usr/share/lyx
1796 \end_layout
1797
1798 \end_inset
1799
1800
1801 \end_layout
1802
1803 \begin_layout Labeling
1804 \labelwidthstring 00.00.0000
1805 \begin_inset Flex Code
1806 status collapsed
1807
1808 \begin_layout Plain Layout
1809 $$i
1810 \end_layout
1811
1812 \end_inset
1813
1814  入力ファイル
1815 \end_layout
1816
1817 \begin_layout Labeling
1818 \labelwidthstring 00.00.0000
1819 \begin_inset Flex Code
1820 status collapsed
1821
1822 \begin_layout Plain Layout
1823 $$o
1824 \end_layout
1825
1826 \end_inset
1827
1828  出力ファイル
1829 \end_layout
1830
1831 \begin_layout Labeling
1832 \labelwidthstring 00.00.0000
1833 \begin_inset Flex Code
1834 status collapsed
1835
1836 \begin_layout Plain Layout
1837 $$b
1838 \end_layout
1839
1840 \end_inset
1841
1842  \SpecialChar LyX
1843 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1844 \end_layout
1845
1846 \begin_layout Labeling
1847 \labelwidthstring 00.00.0000
1848 \begin_inset Flex Code
1849 status collapsed
1850
1851 \begin_layout Plain Layout
1852 $$p
1853 \end_layout
1854
1855 \end_inset
1856
1857  \SpecialChar LyX
1858 一時ディレクトリのフルパス名
1859 \end_layout
1860
1861 \begin_layout Labeling
1862 \labelwidthstring 00.00.0000
1863 \begin_inset Flex Code
1864 status collapsed
1865
1866 \begin_layout Plain Layout
1867 $$r
1868 \end_layout
1869
1870 \end_inset
1871
1872  処理されている元の\SpecialChar LyX
1873 ファイルのフルパス名
1874 \end_layout
1875
1876 \begin_layout Labeling
1877 \labelwidthstring 00.00.0000
1878 \begin_inset Flex Code
1879 status collapsed
1880
1881 \begin_layout Plain Layout
1882 $$f
1883 \end_layout
1884
1885 \end_inset
1886
1887  \SpecialChar LyX
1888 ファイルのファイル名(ディレクトリパスなし)
1889 \end_layout
1890
1891 \begin_layout Labeling
1892 \labelwidthstring 00.00.0000
1893 \begin_inset Flex Code
1894 status collapsed
1895
1896 \begin_layout Plain Layout
1897 $$l
1898 \end_layout
1899
1900 \end_inset
1901
1902  「\SpecialChar LaTeX
1903 名」
1904 \end_layout
1905
1906 \begin_layout Standard
1907 最後の変数は,\SpecialChar LaTeX
1908
1909 \series bold
1910
1911 \backslash
1912 include
1913 \series default
1914 コマンドで使用されるのと同形式のファイル名です.これは,書き出すファイルがそのようなインクルードに適している場合のみ,使用さるべきものです.
1915 \end_layout
1916
1917 \begin_layout Standard
1918 複写子は,出力ファイルに関する操作であれば,ほとんどすべてに対応することができます.たとえば,生成したPDFファイルを,
1919 \begin_inset Flex Code
1920 status collapsed
1921
1922 \begin_layout Plain Layout
1923 /home/you/pdf/
1924 \end_layout
1925
1926 \end_inset
1927
1928 という特別なディレクトリにコピーしたいものとしましょう.その場合には,以下のようなシェルスクリプトを書きます.
1929 \end_layout
1930
1931 \begin_layout Standard
1932 \begin_inset listings
1933 inline false
1934 status open
1935
1936 \begin_layout Plain Layout
1937
1938 #!/bin/bash
1939 \end_layout
1940
1941 \begin_layout Plain Layout
1942
1943 FROMFILE=$1
1944 \end_layout
1945
1946 \begin_layout Plain Layout
1947
1948 TOFILE=`basename $2`
1949 \end_layout
1950
1951 \begin_layout Plain Layout
1952
1953 DescriptionE /home/you/pdf/$TOFILE
1954 \end_layout
1955
1956 \end_inset
1957
1958 これを,例えば
1959 \begin_inset Flex Code
1960 status collapsed
1961
1962 \begin_layout Plain Layout
1963 /home/you/.lyx/scripts/pdfcopier.sh
1964 \end_layout
1965
1966 \end_inset
1967
1968 のような,自身のローカル\SpecialChar LyX
1969 ディレクトリに保存し,お使いのプラットフォームが必要とするならば,実行可能属性を付与します.それから,
1970 \begin_inset Flex MenuItem
1971 status collapsed
1972
1973 \begin_layout Plain Layout
1974 ツール\SpecialChar menuseparator
1975 設定
1976 \end_layout
1977
1978 \end_inset
1979
1980 ダイアログの
1981 \begin_inset Flex MenuItem
1982 status collapsed
1983
1984 \begin_layout Plain Layout
1985 ファイル処理\SpecialChar menuseparator
1986 ファイル形式
1987 \end_layout
1988
1989 \end_inset
1990
1991 の中で,
1992 \begin_inset Flex MenuItem
1993 status collapsed
1994
1995 \begin_layout Plain Layout
1996 PDF(pdflatex)
1997 \end_layout
1998
1999 \end_inset
2000
2001 形式—あるいは他のPDF形式のうちどれか—を選択し,
2002 \begin_inset Flex MenuItem
2003 status collapsed
2004
2005 \begin_layout Plain Layout
2006 複写子
2007 \end_layout
2008
2009 \end_inset
2010
2011 フィールドに
2012 \begin_inset Flex Code
2013 status collapsed
2014
2015 \begin_layout Plain Layout
2016 pdfcopier.sh $$i $$o
2017 \end_layout
2018
2019 \end_inset
2020
2021 と入力します.
2022 \end_layout
2023
2024 \begin_layout Standard
2025 複写子は,\SpecialChar LyX
2026 自身が様々な変換に使用します.たとえば,適切なプログラムが検出された場合,\SpecialChar LyX
2027 は自動的に
2028 \begin_inset Flex MenuItem
2029 status collapsed
2030
2031 \begin_layout Plain Layout
2032 HTML
2033 \end_layout
2034
2035 \end_inset
2036
2037 形式と
2038 \begin_inset Flex MenuItem
2039 status collapsed
2040
2041 \begin_layout Plain Layout
2042 HTML
2043 \begin_inset space ~
2044 \end_inset
2045
2046 (MS Word)
2047 \end_layout
2048
2049 \end_inset
2050
2051 形式の複写子を導入します.これらの形式を書き出す際,複写子は,本体のHTMLファイルだけでなく,関連した様々なファイル(スタイルファイルや画像など)もコピーされ
2052 るように手配します.これらのファイルはすべて,元の\SpecialChar LyX
2053 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2054 \begin_inset Foot
2055 status collapsed
2056
2057 \begin_layout Plain Layout
2058 この複写子の挙動は調整することができます.非必須の「-e」オプションは,コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,す
2059 べてのファイルがコピーされます.「-t」引数は,生成したディレクトリに書き加える拡張子を指定するものです.既定値では,これは「
2060 \begin_inset Flex MenuItem
2061 status collapsed
2062
2063 \begin_layout Plain Layout
2064 LyXconv
2065 \end_layout
2066
2067 \end_inset
2068
2069 」となっているので,
2070 \begin_inset Flex MenuItem
2071 status collapsed
2072
2073 \begin_layout Plain Layout
2074 /path/to/filename.lyx
2075 \end_layout
2076
2077 \end_inset
2078
2079 から生成されたHTMLファイルは,
2080 \begin_inset Flex MenuItem
2081 status collapsed
2082
2083 \begin_layout Plain Layout
2084 /path/to/filename.html.LyXconv
2085 \end_layout
2086
2087 \end_inset
2088
2089 となります..
2090  
2091 \end_layout
2092
2093 \end_inset
2094
2095
2096 \end_layout
2097
2098 \begin_layout Section
2099 変換子
2100 \begin_inset CommandInset label
2101 LatexCommand label
2102 name "sec:変換子"
2103
2104 \end_inset
2105
2106
2107 \end_layout
2108
2109 \begin_layout Standard
2110 各形式間でファイルを変換するために,ご自身の変換子を定義することができます.これは,
2111 \begin_inset Flex MenuItem
2112 status collapsed
2113
2114 \begin_layout Plain Layout
2115 ツール\SpecialChar menuseparator
2116 設定\SpecialChar menuseparator
2117 ファイル処理\SpecialChar menuseparator
2118 変換子
2119 \end_layout
2120
2121 \end_inset
2122
2123 ダイアログで行います.
2124 \end_layout
2125
2126 \begin_layout Standard
2127 新規に変換子を定義するには,ドロップダウンリストから
2128 \begin_inset Flex MenuItem
2129 status collapsed
2130
2131 \begin_layout Plain Layout
2132 変換元の形式
2133 \end_layout
2134
2135 \end_inset
2136
2137
2138 \begin_inset Flex MenuItem
2139 status collapsed
2140
2141 \begin_layout Plain Layout
2142 変換先の形式
2143 \end_layout
2144
2145 \end_inset
2146
2147 を選択し,変換に必要なコマンドを入力してから
2148 \begin_inset Flex MenuItem
2149 status collapsed
2150
2151 \begin_layout Plain Layout
2152 追加
2153 \end_layout
2154
2155 \end_inset
2156
2157 ボタンを押してください.変換子の定義には,以下のような変数を使用することができます.
2158 \end_layout
2159
2160 \begin_layout Labeling
2161 \labelwidthstring 00.00.0000
2162 \begin_inset Flex Code
2163 status collapsed
2164
2165 \begin_layout Plain Layout
2166 $$s
2167 \end_layout
2168
2169 \end_inset
2170
2171  \SpecialChar LyX
2172 システムディレクトリ
2173 \end_layout
2174
2175 \begin_layout Labeling
2176 \labelwidthstring 00.00.0000
2177 \begin_inset Flex Code
2178 status collapsed
2179
2180 \begin_layout Plain Layout
2181 $$i
2182 \end_layout
2183
2184 \end_inset
2185
2186  入力ファイル
2187 \end_layout
2188
2189 \begin_layout Labeling
2190 \labelwidthstring 00.00.0000
2191 \begin_inset Flex Code
2192 status collapsed
2193
2194 \begin_layout Plain Layout
2195 $$o
2196 \end_layout
2197
2198 \end_inset
2199
2200  出力ファイル
2201 \end_layout
2202
2203 \begin_layout Labeling
2204 \labelwidthstring 00.00.0000
2205 \begin_inset Flex Code
2206 status collapsed
2207
2208 \begin_layout Plain Layout
2209 $$b
2210 \end_layout
2211
2212 \end_inset
2213
2214  入力ファイルのベースファイル名(拡張子をとった部分)
2215 \end_layout
2216
2217 \begin_layout Labeling
2218 \labelwidthstring 00.00.0000
2219 \begin_inset Flex Code
2220 status collapsed
2221
2222 \begin_layout Plain Layout
2223 $$p
2224 \end_layout
2225
2226 \end_inset
2227
2228  入力ファイルのパス
2229 \end_layout
2230
2231 \begin_layout Labeling
2232 \labelwidthstring 00.00.0000
2233 \begin_inset Flex Code
2234 status collapsed
2235
2236 \begin_layout Plain Layout
2237 $$r
2238 \end_layout
2239
2240 \end_inset
2241
2242  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2243 \end_layout
2244
2245 \begin_layout Labeling
2246 \labelwidthstring 00.00.0000
2247 \begin_inset Flex Code
2248 status collapsed
2249
2250 \begin_layout Plain Layout
2251 $$e
2252 \end_layout
2253
2254 \end_inset
2255
2256  文書エンコーディングのiconv名
2257 \end_layout
2258
2259 \begin_layout Standard
2260 \begin_inset Flex MenuItem
2261 status collapsed
2262
2263 \begin_layout Plain Layout
2264 追加フラグ
2265 \end_layout
2266
2267 \end_inset
2268
2269 フィールドには,以下のフラグをコンマで区切って入力することができます.
2270 \end_layout
2271
2272 \begin_layout Labeling
2273 \labelwidthstring 00.00.0000
2274 \begin_inset Flex Code
2275 status collapsed
2276
2277 \begin_layout Plain Layout
2278 latex
2279 \end_layout
2280
2281 \end_inset
2282
2283  この変換子が\SpecialChar LaTeX
2284 の一種を実行することを示します.これによって,\SpecialChar LyX
2285 の\SpecialChar LaTeX
2286 エラーログに記録を残せるようになります.
2287 \end_layout
2288
2289 \begin_layout Labeling
2290 \labelwidthstring 00.00.0000
2291 \begin_inset Flex Code
2292 status collapsed
2293
2294 \begin_layout Plain Layout
2295 needaux
2296 \end_layout
2297
2298 \end_inset
2299
2300  変換に\SpecialChar LaTeX
2301
2302 \begin_inset Flex MenuItem
2303 status collapsed
2304
2305 \begin_layout Plain Layout
2306 .aux
2307 \end_layout
2308
2309 \end_inset
2310
2311 ファイルが必要であることを示します.
2312 \end_layout
2313
2314 \begin_layout Labeling
2315 \labelwidthstring 00.00.0000
2316 \begin_inset Flex Code
2317 status collapsed
2318
2319 \begin_layout Plain Layout
2320 nice
2321 \end_layout
2322
2323 \end_inset
2324
2325  バックエンドからの
2326 \begin_inset Quotes erd
2327 \end_inset
2328
2329 nice
2330 \begin_inset Quotes erd
2331 \end_inset
2332
2333 なファイル,つまり\SpecialChar LyX
2334 が書き出す\SpecialChar LaTeX
2335 ファイルのように,
2336 \begin_inset Flex Code
2337 status open
2338
2339 \begin_layout Plain Layout
2340 input@path
2341 \end_layout
2342
2343 \end_inset
2344
2345 のない\SpecialChar LaTeX
2346 ファイルを必要とします.
2347 \end_layout
2348
2349 \begin_layout Labeling
2350 \labelwidthstring 00.00.0000
2351 \begin_inset Flex Code
2352 status collapsed
2353
2354 \begin_layout Plain Layout
2355 xml
2356 \end_layout
2357
2358 \end_inset
2359
2360  出力がXMLであることを示します.
2361 \end_layout
2362
2363 \begin_layout Standard
2364 以下の3つのフラグは 
2365 \begin_inset Flex MenuItem
2366 status collapsed
2367
2368 \begin_layout Plain Layout
2369 key
2370 \begin_inset space ~
2371 \end_inset
2372
2373 =
2374 \begin_inset space ~
2375 \end_inset
2376
2377 value
2378 \end_layout
2379
2380 \end_inset
2381
2382 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2383 \end_layout
2384
2385 \begin_layout Labeling
2386 \labelwidthstring 00.00.0000
2387 \begin_inset Flex Code
2388 status collapsed
2389
2390 \begin_layout Plain Layout
2391 parselog
2392 \end_layout
2393
2394 \end_inset
2395
2396  これを指定すると,変換子の標準エラーが
2397 \begin_inset Flex Code
2398 status collapsed
2399
2400 \begin_layout Plain Layout
2401 infile.out
2402 \end_layout
2403
2404 \end_inset
2405
2406 ファイルにリダイレクトされ,引数に指定されたスクリプトが
2407 \begin_inset Flex Code
2408 status collapsed
2409
2410 \begin_layout Plain Layout
2411 script < infile.out > infile.log
2412 \end_layout
2413
2414 \end_inset
2415
2416 の形で実行されるようになります.引数には
2417 \begin_inset Flex Code
2418 status collapsed
2419
2420 \begin_layout Plain Layout
2421 $$s
2422 \end_layout
2423
2424 \end_inset
2425
2426 を指定することができます.
2427 \end_layout
2428
2429 \begin_layout Labeling
2430 \labelwidthstring 00.00.0000
2431 \begin_inset Flex Code
2432 status collapsed
2433
2434 \begin_layout Plain Layout
2435 resultdir
2436 \end_layout
2437
2438 \end_inset
2439
2440  これには,変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2441 はこのディレクトリを作成せず,ここに何もコピーしませんが,このディレクトリを宛先にコ
2442 ピーします.引数には,
2443 \begin_inset Flex Code
2444 status collapsed
2445
2446 \begin_layout Plain Layout
2447 $$b
2448 \end_layout
2449
2450 \end_inset
2451
2452 を使用することができ,これはディレクトリがコピーされる際に,入力ファイルおよび出力ファイルのベース名で置換されます.
2453 \begin_inset Newline newline
2454 \end_inset
2455
2456 resultdirとusetempdirは,同時に用いることはできませんのでご注意ください.前者が指定されているときには,後者は無視されます.
2457 \end_layout
2458
2459 \begin_layout Labeling
2460 \labelwidthstring 00.00.0000
2461 \begin_inset Flex Code
2462 status collapsed
2463
2464 \begin_layout Plain Layout
2465 resultfile
2466 \end_layout
2467
2468 \end_inset
2469
2470  これは出力ファイル名を指定するもので,
2471 \begin_inset Flex Code
2472 status collapsed
2473
2474 \begin_layout Plain Layout
2475 $$b
2476 \end_layout
2477
2478 \end_inset
2479
2480 を使用することができます.resultdirが指定されているときのみ有効で,必ず用いる必要はありません.指定されていなければ,既定値は「index」です.
2481 \end_layout
2482
2483 \begin_layout Standard
2484 最後の3つは,\SpecialChar LyX
2485 とともに導入される変換子には,現在いずれも使用されておりません.
2486 \end_layout
2487
2488 \begin_layout Standard
2489 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,「\SpecialChar LyX
2490 からPostScript」変換子が定義されていないのに,\SpecialChar LyX
2491 はPostScrip
2492 tを書き出していることに気づかれることでしょう.これは,まず\SpecialChar LaTeX
2493 ファイルを生成した後に(これには変換子を定義する必要はありません),「LaTeXからDVI」変換子を
2494 使用してDVIに変換し,最後に,得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2495 はこのような変換子の「連鎖」を自動的に見つけ,つねに最
2496 も短い連鎖を選択します.しかしながら,なお形式間に複数の変換方法を定義することも可能です.たとえば,標準的な\SpecialChar LyX
2497 設定は,\SpecialChar LaTeX
2498 からPDFへ変換するのに,以下の3つの方法を
2499 用意しています.
2500 \end_layout
2501
2502 \begin_layout Enumerate
2503 直接
2504 \begin_inset Flex MenuItem
2505 status collapsed
2506
2507 \begin_layout Plain Layout
2508 pdflatex
2509 \end_layout
2510
2511 \end_inset
2512
2513 を使用するもの
2514 \end_layout
2515
2516 \begin_layout Enumerate
2517 (DVIと)PostScriptを経由して
2518 \begin_inset Flex MenuItem
2519 status collapsed
2520
2521 \begin_layout Plain Layout
2522 ps2pdf
2523 \end_layout
2524
2525 \end_inset
2526
2527 を使用するもの
2528 \end_layout
2529
2530 \begin_layout Enumerate
2531 DVI経由で
2532 \begin_inset Flex MenuItem
2533 status collapsed
2534
2535 \begin_layout Plain Layout
2536 dvipdfm
2537 \end_layout
2538
2539 \end_inset
2540
2541 を使用するもの
2542 \end_layout
2543
2544 \begin_layout Enumerate
2545 直接
2546 \begin_inset Flex MenuItem
2547 status collapsed
2548
2549 \begin_layout Plain Layout
2550 Xe\SpecialChar TeX
2551
2552 \end_layout
2553
2554 \end_inset
2555
2556 を使用するもの
2557 \end_layout
2558
2559 \begin_layout Enumerate
2560 直接
2561 \begin_inset Flex MenuItem
2562 status collapsed
2563
2564 \begin_layout Plain Layout
2565 Lua\SpecialChar TeX
2566
2567 \end_layout
2568
2569 \end_inset
2570
2571 を使用するもの
2572 \end_layout
2573
2574 \begin_layout Standard
2575 このように代替連鎖を定義するには,第
2576 \begin_inset CommandInset ref
2577 LatexCommand ref
2578 reference "sec:ファイル形式"
2579
2580 \end_inset
2581
2582 節に述べられているように,ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,標準設定では,
2583 \begin_inset Flex MenuItem
2584 status collapsed
2585
2586 \begin_layout Plain Layout
2587 pdf
2588 \end_layout
2589
2590 \end_inset
2591
2592 (
2593 \begin_inset Flex MenuItem
2594 status collapsed
2595
2596 \begin_layout Plain Layout
2597 ps2pdf
2598 \end_layout
2599
2600 \end_inset
2601
2602 用)・
2603 \begin_inset Flex MenuItem
2604 status collapsed
2605
2606 \begin_layout Plain Layout
2607 pdf2
2608 \end_layout
2609
2610 \end_inset
2611
2612 (
2613 \begin_inset Flex MenuItem
2614 status collapsed
2615
2616 \begin_layout Plain Layout
2617 pdflatex
2618 \end_layout
2619
2620 \end_inset
2621
2622 用)・
2623 \begin_inset Flex MenuItem
2624 status collapsed
2625
2626 \begin_layout Plain Layout
2627 pdf3
2628 \end_layout
2629
2630 \end_inset
2631
2632 (
2633 \begin_inset Flex MenuItem
2634 status collapsed
2635
2636 \begin_layout Plain Layout
2637 dvipdfm
2638 \end_layout
2639
2640 \end_inset
2641
2642 用)・
2643 \begin_inset Flex MenuItem
2644 status collapsed
2645
2646 \begin_layout Plain Layout
2647 pdf4
2648 \end_layout
2649
2650 \end_inset
2651
2652 (
2653 \begin_inset Flex MenuItem
2654 status collapsed
2655
2656 \begin_layout Plain Layout
2657 Xe\SpecialChar TeX
2658
2659 \end_layout
2660
2661 \end_inset
2662
2663 用)・
2664 \begin_inset Flex MenuItem
2665 status collapsed
2666
2667 \begin_layout Plain Layout
2668 pdf5
2669 \end_layout
2670
2671 \end_inset
2672
2673 (
2674 \begin_inset Flex MenuItem
2675 status collapsed
2676
2677 \begin_layout Plain Layout
2678 Lua\SpecialChar TeX
2679
2680 \end_layout
2681
2682 \end_inset
2683
2684 用\SpecialChar softhyphen
2685 ) と命名された形式が定義されていて,すべて共通の拡張子
2686 \begin_inset Flex MenuItem
2687 status collapsed
2688
2689 \begin_layout Plain Layout
2690 .pdf
2691 \end_layout
2692
2693 \end_inset
2694
2695 を持ち,上記で言及した各変換方法に対応しています.
2696 \end_layout
2697
2698 \begin_layout Chapter
2699 \SpecialChar LyX
2700 の各国語対応
2701 \begin_inset CommandInset label
2702 LatexCommand label
2703 name "cha:LyXの各国語対応"
2704
2705 \end_inset
2706
2707
2708 \end_layout
2709
2710 \begin_layout Standard
2711 \SpecialChar LyX
2712 は,翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,\SpecialChar LyX
2713 は30言語の翻訳を提供しています.選択した言語は,使用する
2714 \emph on
2715 ロケール
2716 \emph default
2717 と呼ばれます(ロケール設定についての詳しい資料は,お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,マニュアルページの
2718 \begin_inset Flex Code
2719 status collapsed
2720
2721 \begin_layout Plain Layout
2722 locale(5)
2723 \end_layout
2724
2725 \end_inset
2726
2727 から見ると良いかもしれません).
2728 \end_layout
2729
2730 \begin_layout Standard
2731 これらの翻訳は適切に機能しますが,欠点もいくつかあることに注意してください.たとえば,ダイアログはすべて英文を念頭にデザインされているため,翻訳文の一部は,割り
2732 当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,他の障害は引き起こしません.また,翻訳によっては,すべての
2733 \begin_inset Flex Ruby
2734 status collapsed
2735
2736 \begin_layout Plain Layout
2737 捷径
2738 \begin_inset Argument post:1
2739 status collapsed
2740
2741 \begin_layout Plain Layout
2742 ショートカット
2743 \end_layout
2744
2745 \end_inset
2746
2747
2748 \end_layout
2749
2750 \end_inset
2751
2752 が定義されていないことに気づかれるでしょう.捷径のために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだ捷径を定義していないこともあるでしょう.も
2753 ちろん,私たちの各国語対応チーム—あなたも参加したいと思われるかもしれません
2754 \begin_inset Foot
2755 status collapsed
2756
2757 \begin_layout Plain Layout
2758 もしあなたが英語以外の言語を流暢に操れるならば,これらのチームに参加することは,\SpecialChar LyX
2759 コミュニティに報いるたいへん素晴らしい方法です!
2760 \end_layout
2761
2762 \end_inset
2763
2764 —は,\SpecialChar LyX
2765 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
2766 \end_layout
2767
2768 \begin_layout Section
2769 \SpecialChar LyX
2770 を翻訳する
2771 \end_layout
2772
2773 \begin_layout Subsection
2774 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
2775 \begin_inset Argument 1
2776 status collapsed
2777
2778 \begin_layout Plain Layout
2779 GUI(テキストメッセージ)を翻訳する
2780 \end_layout
2781
2782 \end_inset
2783
2784
2785 \end_layout
2786
2787 \begin_layout Standard
2788 \SpecialChar LyX
2789 は,操作画面の国際化対応にGNU 
2790 \begin_inset Flex Code
2791 status collapsed
2792
2793 \begin_layout Plain Layout
2794 gettext
2795 \end_layout
2796
2797 \end_inset
2798
2799 ライブラリを使用します.\SpecialChar LyX
2800 のすべてのメニューやダイアログでお好みの言語を話させたいときには,その言語の
2801 \begin_inset Flex Code
2802 status collapsed
2803
2804 \begin_layout Plain Layout
2805 po
2806 \end_layout
2807
2808 \end_inset
2809
2810 ファイルが必要です.このファイルが利用可能であれば,そこから
2811 \begin_inset Flex Code
2812 status collapsed
2813
2814 \begin_layout Plain Layout
2815 mo
2816 \end_layout
2817
2818 \end_inset
2819
2820 ファイルを生成して,この
2821 \begin_inset Flex Code
2822 status collapsed
2823
2824 \begin_layout Plain Layout
2825 mo
2826 \end_layout
2827
2828 \end_inset
2829
2830 ファイルをインストールしなくてはなりません.この全過程は,GNU 
2831 \begin_inset Flex Code
2832 status collapsed
2833
2834 \begin_layout Plain Layout
2835 gettext
2836 \end_layout
2837
2838 \end_inset
2839
2840 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,もしせっかくするのであれば,あなたの骨折りの結果を\SpecialChar LyX
2841 コミュニティの他の人々と分かち
2842 合いませんか.どのように段取りを進めればよいか,詳しくは\SpecialChar LyX
2843 開発者メーリングリストにメールを送ってください.
2844 \end_layout
2845
2846 \begin_layout Standard
2847 要約すれば,以下のように行います(xxは言語コードを表します).
2848 \end_layout
2849
2850 \begin_layout Itemize
2851 \SpecialChar LyX
2852 ソースコードをチェックアウトしてください(
2853 \begin_inset CommandInset href
2854 LatexCommand href
2855 name "ウェブ上の情報"
2856 target "http://www.lyx.org/HowToUseGIT"
2857 literal "false"
2858
2859 \end_inset
2860
2861 参照).
2862 \end_layout
2863
2864 \begin_layout Itemize
2865 \begin_inset Flex Code
2866 status collapsed
2867
2868 \begin_layout Plain Layout
2869 lyx.pot
2870 \end_layout
2871
2872 \end_inset
2873
2874 ファイルを
2875 \begin_inset Flex Code
2876 status collapsed
2877
2878 \begin_layout Plain Layout
2879 **.po
2880 \end_layout
2881
2882 \end_inset
2883
2884 ファイルのあるフォルダにコピーして,
2885 \begin_inset Flex Code
2886 status collapsed
2887
2888 \begin_layout Plain Layout
2889 xx.po
2890 \end_layout
2891
2892 \end_inset
2893
2894 に名前を付け替えてください(
2895 \begin_inset Flex Code
2896 status collapsed
2897
2898 \begin_layout Plain Layout
2899 lyx.pot
2900 \end_layout
2901
2902 \end_inset
2903
2904 がどこにもない場合には,コンソールからそのディレクトリで
2905 \begin_inset Flex Code
2906 status collapsed
2907
2908 \begin_layout Plain Layout
2909 make lyx.pot
2910 \end_layout
2911
2912 \end_inset
2913
2914 コマンドを実行し,作成し直すか,他言語の既存のpoファイルをひな型として使用することができます).
2915 \end_layout
2916
2917 \begin_layout Itemize
2918 \begin_inset Flex Code
2919 status collapsed
2920
2921 \begin_layout Plain Layout
2922 xx.po
2923 \end_layout
2924
2925 \end_inset
2926
2927 を編集します.
2928 \begin_inset Foot
2929 status collapsed
2930
2931 \begin_layout Plain Layout
2932 これは単なるテキストファイルなので,どのテキストエディタでも編集できます.しかし,
2933 \family typewriter
2934 Poedit
2935 \family default
2936 (全プラットフォーム用)や
2937 \family typewriter
2938 KBabel
2939 \family default
2940 (KDE用)のように,この目的の編集をサポートする特別なプログラムがあります.
2941 \family typewriter
2942 Emacs
2943 \family default
2944 にも
2945 \begin_inset Flex Code
2946 status collapsed
2947
2948 \begin_layout Plain Layout
2949 po
2950 \end_layout
2951
2952 \end_inset
2953
2954 ファイルを編集するための「モード」があります,第
2955 \begin_inset Flex URL
2956 status open
2957
2958 \begin_layout Plain Layout
2959
2960 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html
2961 \backslash
2962 #PO-Mode
2963 \end_layout
2964
2965 \end_inset
2966
2967
2968 \end_layout
2969
2970 \end_inset
2971
2972 メニューラベルやウィジェットラベルのうちには,翻訳しなくてはならない
2973 \begin_inset Flex Ruby
2974 status collapsed
2975
2976 \begin_layout Plain Layout
2977 捷径
2978 \begin_inset Argument post:1
2979 status collapsed
2980
2981 \begin_layout Plain Layout
2982 ショートカット
2983 \end_layout
2984
2985 \end_inset
2986
2987
2988 \end_layout
2989
2990 \end_inset
2991
2992 がある場合があります.これらのキーは「|」の後に記されており,当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,新しい
2993 \begin_inset Flex Code
2994 status collapsed
2995
2996 \begin_layout Plain Layout
2997 po
2998 \end_layout
2999
3000 \end_inset
3001
3002 ファイルの冒頭に,あなたの電子メールアドレスなどの情報も書き加えて,人々があなたに提案や,滑稽な怒りのメッセージを届けることができるようにしてください.
3003 \end_layout
3004
3005 \begin_layout Standard
3006 もし,あなたがこれを自身のためだけに行っているのであれば,
3007 \end_layout
3008
3009 \begin_layout Itemize
3010 \begin_inset Flex Code
3011 status collapsed
3012
3013 \begin_layout Plain Layout
3014 xx.mo
3015 \end_layout
3016
3017 \end_inset
3018
3019 を生成してください.これは
3020 \begin_inset Flex Code
3021 status collapsed
3022
3023 \begin_layout Plain Layout
3024 msgfmt -o xx.mo < xx.po
3025 \end_layout
3026
3027 \end_inset
3028
3029 でできます.
3030 \end_layout
3031
3032 \begin_layout Itemize
3033 この
3034 \begin_inset Flex Code
3035 status collapsed
3036
3037 \begin_layout Plain Layout
3038 mo
3039 \end_layout
3040
3041 \end_inset
3042
3043 ファイルを,お使いのロケールツリー中,言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3044 \begin_inset Flex Code
3045 status collapsed
3046
3047 \begin_layout Plain Layout
3048 lyx.mo
3049 \end_layout
3050
3051 \end_inset
3052
3053 という名称にしてください(例:
3054 \begin_inset Flex Code
3055 status collapsed
3056
3057 \begin_layout Plain Layout
3058 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3059 \end_layout
3060
3061 \end_inset
3062
3063 ).
3064 \end_layout
3065
3066 \begin_layout Standard
3067 しかしながら前述のように,この新しい
3068 \begin_inset Flex Code
3069 status collapsed
3070
3071 \begin_layout Plain Layout
3072 po
3073 \end_layout
3074
3075 \end_inset
3076
3077 ファイルを他の人たちが使用できるよう,\SpecialChar LyX
3078 頒布版に追加できることが最善です.これを追加するには,\SpecialChar LyX
3079 に変更を加える必要がありますので,もしその気があれば,開発者メーリン
3080 グリストに電子メールを送ってください.
3081 \end_layout
3082
3083 \begin_layout Subsubsection
3084 多義訳語メッセージ
3085 \end_layout
3086
3087 \begin_layout Standard
3088 時には,一つの英語のメッセージが,翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3089 \begin_inset Flex Code
3090 status collapsed
3091
3092 \begin_layout Plain Layout
3093 To
3094 \end_layout
3095
3096 \end_inset
3097
3098 というメッセージで,これは英語で「to」がどういう意味を持っているかによって,独語ではNachと訳されたりBisと訳されたりします.GNU 
3099 \begin_inset Flex Code
3100 status collapsed
3101
3102 \begin_layout Plain Layout
3103 gettext
3104 \end_layout
3105
3106 \end_inset
3107
3108 は,このような多義訳語を
3109 \begin_inset Flex Code
3110 status collapsed
3111
3112 \begin_layout Plain Layout
3113 To
3114 \end_layout
3115
3116 \end_inset
3117
3118 の代わりに,
3119 \begin_inset Flex Code
3120 status collapsed
3121
3122 \begin_layout Plain Layout
3123 To[[as in 'From format x to format y']]
3124 \end_layout
3125
3126 \end_inset
3127
3128
3129 \begin_inset Flex Code
3130 status collapsed
3131
3132 \begin_layout Plain Layout
3133 To[[as in 'From page x to page y']]
3134 \end_layout
3135
3136 \end_inset
3137
3138 としなくてはなりません.これによって,これら2つの
3139 \begin_inset Flex Code
3140 status collapsed
3141
3142 \begin_layout Plain Layout
3143 To
3144 \end_layout
3145
3146 \end_inset
3147
3148 は,
3149 \begin_inset Flex Code
3150 status collapsed
3151
3152 \begin_layout Plain Layout
3153 gettext
3154 \end_layout
3155
3156 \end_inset
3157
3158 には別物と解釈され,それぞれ正しくNachとBisに訳すことができるようになります.
3159 \end_layout
3160
3161 \begin_layout Standard
3162 もちろん,この文脈情報は,翻訳が存在しないときには取り去られる必要がありますので,メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3163 の翻訳機構
3164 では,メッセージの終わりに二重大括弧で囲われているものはすべて,メッセージを表示する前に取り去るようにされています.
3165 \end_layout
3166
3167 \begin_layout Subsection
3168 説明書を翻訳する
3169 \end_layout
3170
3171 \begin_layout Standard
3172
3173 \begin_inset Flex MenuItem
3174 status collapsed
3175
3176 \begin_layout Plain Layout
3177 Help
3178 \end_layout
3179
3180 \end_inset
3181
3182 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!).説明書の翻訳版が利用可能であり
3183 \begin_inset Foot
3184 status collapsed
3185
3186 \begin_layout Plain Layout
3187 2008年3月現在,説明書の少なくとも一部が翻訳されている言語は14言語に上り,入門編が訳されているものはさらにいくつかあります.
3188 \end_layout
3189
3190 \end_inset
3191
3192 ,ロケールがその言語に設定されている場合,\SpecialChar LyX
3193 はこれを自動的に使用します.\SpecialChar LyX
3194 は,翻訳版を
3195 \begin_inset Flex Code
3196 status collapsed
3197
3198 \begin_layout Plain Layout
3199 LyXDir/doc/xx/DocName.lyx
3200 \end_layout
3201
3202 \end_inset
3203
3204
3205 \begin_inset Flex Code
3206 status collapsed
3207
3208 \begin_layout Plain Layout
3209 xx
3210 \end_layout
3211
3212 \end_inset
3213
3214 は現在使用している言語コード)で探します.翻訳文書がない場合には,既定の英語版が表示されます.翻訳版は,原典と同じファイル名(上述の
3215 \begin_inset Flex Code
3216 status collapsed
3217
3218 \begin_layout Plain Layout
3219 DocName
3220 \end_layout
3221
3222 \end_inset
3223
3224 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!),以下のような点をすぐに行
3225 うべきです.
3226 \end_layout
3227
3228 \begin_layout Itemize
3229 説明書翻訳ウェブページ
3230 \begin_inset CommandInset href
3231 LatexCommand href
3232 name "http://www.lyx.org/Translation"
3233 target "http://www.lyx.org/Translation"
3234 literal "false"
3235
3236 \end_inset
3237
3238 を確認してください.ここで,どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,説明書をお使いの言語に翻訳する作業の面倒を
3239 見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,私たちにあなたが興味をお持ちであることを知らせてください.
3240 \end_layout
3241
3242 \begin_layout Standard
3243 いったん実際の翻訳の仕事に取りかかったならば,トラブルを回避するいくつかのヒントがあります.
3244 \end_layout
3245
3246 \begin_layout Itemize
3247 文書化チームに所属してください!そのための情報が
3248 \begin_inset Flex Code
3249 status collapsed
3250
3251 \begin_layout Plain Layout
3252 Intro.lyx
3253 \end_layout
3254
3255 \end_inset
3256
3257
3258 \begin_inset Flex MenuItem
3259 status collapsed
3260
3261 \begin_layout Plain Layout
3262 ヘルプ\SpecialChar menuseparator
3263 はじめの一歩
3264 \end_layout
3265
3266 \end_inset
3267
3268 )にあります.また,この
3269 \begin_inset Flex Code
3270 status collapsed
3271
3272 \begin_layout Plain Layout
3273 Intro.lyx
3274 \end_layout
3275
3276 \end_inset
3277
3278 が最初に訳すべき文書です.
3279 \end_layout
3280
3281 \begin_layout Itemize
3282 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,何世紀にもわたって世界の至る所で,様々な慣行を発達させてきました.また,あなたの国
3283 で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3284 \emph on
3285 警告!活版技術は病みつきになる可能性があるので注意してくさい!
3286 \emph default
3287
3288 \end_layout
3289
3290 \begin_layout Itemize
3291 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3292 \begin_inset Flex Code
3293 status collapsed
3294
3295 \begin_layout Plain Layout
3296 UserDir/doc/xx/
3297 \end_layout
3298
3299 \end_inset
3300
3301 ディレクトリにコピーすれば,個人用の翻訳ヘルプファイルとして使用することができます.
3302 \begin_inset Newline newline
3303 \end_inset
3304
3305
3306 \begin_inset Note Greyedout
3307 status open
3308
3309 \begin_layout Plain Layout
3310
3311 \series bold
3312 【註】
3313 \series default
3314 外部素材(画像など)のある複雑な文書の場合,例えば一時ディレクトリなどにコピーを作ると,文書を別の場所に移したとき,外部素材へのリンクは壊れてしまうかもしれない
3315 ことに注意してください.最も良い方法は,LyXツリーをgit (
3316 \begin_inset Flex URL
3317 status collapsed
3318
3319 \begin_layout Plain Layout
3320
3321 http://www.lyx.org/HowToUseGIT
3322 \end_layout
3323
3324 \end_inset
3325
3326 参照)からとってきて,そのdocファイルを直接編集するのが良いでしょう.
3327 \end_layout
3328
3329 \end_inset
3330
3331
3332 \end_layout
3333
3334 \begin_layout Itemize
3335 (\SpecialChar LyX
3336 チームが維持している)原典の説明書は,時折更新されます.変更点については,
3337 \begin_inset CommandInset href
3338 LatexCommand href
3339 name "http://www.lyx.org/trac/timeline"
3340 target "http://www.lyx.org/trac/timeline"
3341 literal "false"
3342
3343 \end_inset
3344
3345 のソースビューアでご覧ください.この方法で,翻訳文書のどの部分を更新しなくてはならないか,たやすく見つけることができます.
3346 \end_layout
3347
3348 \begin_layout Standard
3349 もし原典に誤りを見つけたならば,修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3350 \end_layout
3351
3352 \begin_layout Standard
3353 \begin_inset Branch OutDated
3354 inverted 0
3355 status collapsed
3356
3357 \begin_layout Section
3358 International Keyboard Support
3359 \end_layout
3360
3361 \begin_layout Standard
3362
3363 \emph on
3364 [Editor's Note: The following section is by
3365 \emph default
3366  
3367 \shape smallcaps
3368 \emph on
3369 Ivan Schreter
3370 \shape default
3371 .
3372  It needs to be fixed to conform to the new Documentation Style sheet and
3373  to make use of the new v1.0 features.
3374  The whole thing also needs to be merged with the section following it.-jw
3375  It may also be badly out of date.-rh (2008)]
3376 \end_layout
3377
3378 \begin_layout Subsection
3379 Defining Own Keymaps: Keymap File Format
3380 \end_layout
3381
3382 \begin_layout Standard
3383 Let's look at a keyboard definition file a little closer.
3384  It is a plain text file defining
3385 \end_layout
3386
3387 \begin_layout Itemize
3388 key-to-key or key-to-string translations
3389 \end_layout
3390
3391 \begin_layout Itemize
3392 dead keys
3393 \end_layout
3394
3395 \begin_layout Itemize
3396 dead keys exceptions
3397 \end_layout
3398
3399 \begin_layout Standard
3400 To define key-to-key or key-to-string translation, use this command:
3401 \end_layout
3402
3403 \begin_layout Quotation
3404 \begin_inset Flex Code
3405 status collapsed
3406
3407 \begin_layout Plain Layout
3408
3409 \backslash
3410 kmap
3411 \end_layout
3412
3413 \end_inset
3414
3415  
3416 \begin_inset Flex Code
3417 status collapsed
3418
3419 \begin_layout Plain Layout
3420 key
3421 \end_layout
3422
3423 \end_inset
3424
3425  outstring 
3426 \end_layout
3427
3428 \begin_layout Standard
3429 where 
3430 \begin_inset Flex Code
3431 status collapsed
3432
3433 \begin_layout Plain Layout
3434 key
3435 \end_layout
3436
3437 \end_inset
3438
3439  is the key to be translated and 
3440 \begin_inset Flex Code
3441 status collapsed
3442
3443 \begin_layout Plain Layout
3444 outstring
3445 \end_layout
3446
3447 \end_inset
3448
3449  is the string to be inserted into the document.
3450  To define dead keys, use:
3451 \end_layout
3452
3453 \begin_layout Quotation
3454 \begin_inset Flex Code
3455 status collapsed
3456
3457 \begin_layout Plain Layout
3458
3459 \backslash
3460 kmod
3461 \end_layout
3462
3463 \end_inset
3464
3465  
3466 \begin_inset Flex Code
3467 status collapsed
3468
3469 \begin_layout Plain Layout
3470 key
3471 \end_layout
3472
3473 \end_inset
3474
3475  deadkey
3476 \end_layout
3477
3478 \begin_layout Standard
3479 where 
3480 \begin_inset Flex Code
3481 status collapsed
3482
3483 \begin_layout Plain Layout
3484 key
3485 \end_layout
3486
3487 \end_inset
3488
3489  is a keyboard key and 
3490 \begin_inset Flex Code
3491 status collapsed
3492
3493 \begin_layout Plain Layout
3494 deadkey
3495 \end_layout
3496
3497 \end_inset
3498
3499  is dead key name.
3500  The following dead keys are supported (shortcut name is in parentheses):
3501 \end_layout
3502
3503 \begin_layout Quotation
3504
3505 \emph on
3506 Name
3507 \begin_inset space \hfill{}
3508 \end_inset
3509
3510 Example
3511 \end_layout
3512
3513 \begin_layout Quotation
3514 acute (acu)
3515 \begin_inset space \hfill{}
3516 \end_inset
3517
3518
3519 \lang english
3520 áéíóú
3521 \end_layout
3522
3523 \begin_layout Quotation
3524 grave (gra)
3525 \begin_inset space \hfill{}
3526 \end_inset
3527
3528
3529 \lang english
3530 àèìòù
3531 \end_layout
3532
3533 \begin_layout Quotation
3534 macron (mac)
3535 \begin_inset space \hfill{}
3536 \end_inset
3537
3538
3539 \lang english
3540  ō
3541 \end_layout
3542
3543 \begin_layout Quotation
3544 tilde (til)
3545 \begin_inset space \hfill{}
3546 \end_inset
3547
3548
3549 \lang english
3550 ñÑ
3551 \end_layout
3552
3553 \begin_layout Quotation
3554 underbar (underb)
3555 \begin_inset space \hfill{}
3556 \end_inset
3557
3558
3559 \begin_inset ERT
3560 status open
3561
3562 \begin_layout Plain Layout
3563
3564
3565 \backslash
3566 b o
3567 \end_layout
3568
3569 \end_inset
3570
3571
3572 \end_layout
3573
3574 \begin_layout Quotation
3575 cedilla (ced)
3576 \begin_inset space \hfill{}
3577 \end_inset
3578
3579
3580 \lang english
3581 çÇ
3582 \end_layout
3583
3584 \begin_layout Quotation
3585 underdot (underd)
3586 \begin_inset space \hfill{}
3587 \end_inset
3588
3589
3590 \begin_inset ERT
3591 status open
3592
3593 \begin_layout Plain Layout
3594
3595
3596 \backslash
3597 d o
3598 \end_layout
3599
3600 \end_inset
3601
3602
3603 \end_layout
3604
3605 \begin_layout Quotation
3606 circumflex (circu)
3607 \begin_inset space \hfill{}
3608 \end_inset
3609
3610
3611 \lang english
3612 âêîôû
3613 \end_layout
3614
3615 \begin_layout Quotation
3616 circle (circl)
3617 \begin_inset space \hfill{}
3618 \end_inset
3619
3620
3621 \lang english
3622 ÅůŮ
3623 \end_layout
3624
3625 \begin_layout Quotation
3626 tie (tie)
3627 \begin_inset space \hfill{}
3628 \end_inset
3629
3630
3631 \begin_inset ERT
3632 status open
3633
3634 \begin_layout Plain Layout
3635
3636
3637 \backslash
3638 t o
3639 \end_layout
3640
3641 \end_inset
3642
3643
3644 \end_layout
3645
3646 \begin_layout Quotation
3647 breve (bre)
3648 \begin_inset space \hfill{}
3649 \end_inset
3650
3651
3652 \lang english
3653 ă
3654 \lang japanese
3655
3656 \begin_inset ERT
3657 status open
3658
3659 \begin_layout Plain Layout
3660
3661
3662 \backslash
3663 u o
3664 \end_layout
3665
3666 \end_inset
3667
3668
3669 \end_layout
3670
3671 \begin_layout Quotation
3672 caron (car)
3673 \begin_inset space \hfill{}
3674 \end_inset
3675
3676
3677 \lang english
3678 čšž
3679 \end_layout
3680
3681 \begin_layout Quotation
3682 hungarian umlaut (hug)
3683 \begin_inset space \hfill{}
3684 \end_inset
3685
3686
3687 \lang english
3688 őű
3689 \end_layout
3690
3691 \begin_layout Quotation
3692 umlaut (uml)
3693 \begin_inset space \hfill{}
3694 \end_inset
3695
3696
3697 \lang english
3698 äöü
3699 \end_layout
3700
3701 \begin_layout Quotation
3702 dot (dot)
3703 \begin_inset space \hfill{}
3704 \end_inset
3705
3706
3707 \lang english
3708 ż
3709 \lang japanese
3710
3711 \begin_inset ERT
3712 status open
3713
3714 \begin_layout Plain Layout
3715
3716
3717 \backslash
3718 .s
3719 \end_layout
3720
3721 \end_inset
3722
3723
3724 \end_layout
3725
3726 \begin_layout Standard
3727 Since in many international keyboards there are exceptions to what some
3728  dead keys should do, you can define them using
3729 \end_layout
3730
3731 \begin_layout Quotation
3732 \begin_inset Flex Code
3733 status collapsed
3734
3735 \begin_layout Plain Layout
3736
3737 \backslash
3738 kxmod
3739 \end_layout
3740
3741 \end_inset
3742
3743  deadkey key outstring
3744 \end_layout
3745
3746 \begin_layout Standard
3747 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3748 , so you put in
3749 \end_layout
3750
3751 \begin_layout Quotation
3752 \begin_inset Flex Code
3753 status collapsed
3754
3755 \begin_layout Plain Layout
3756
3757 \backslash
3758 kxmod
3759 \end_layout
3760
3761 \end_inset
3762
3763  caron o "
3764 \backslash
3765 ^o"
3766 \end_layout
3767
3768 \begin_layout Standard
3769 to make it work correctly.
3770  Also, you have to define as exceptions dead keys over i and j, to remove
3771  the dot from them before inserting an accent mark.
3772  I will change this when the time comes, but so far I haven't had time.
3773 \end_layout
3774
3775 \begin_layout Standard
3776 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3777  double backslash.
3778  Also, quotes and 
3779 \begin_inset Flex Code
3780 status collapsed
3781
3782 \begin_layout Plain Layout
3783 #
3784 \end_layout
3785
3786 \end_inset
3787
3788  have different meaning.
3789  
3790 \begin_inset Flex Code
3791 status collapsed
3792
3793 \begin_layout Plain Layout
3794 #
3795 \end_layout
3796
3797 \end_inset
3798
3799  marks comments, quotes start and end \SpecialChar LaTeX
3800 -style commands.
3801  To enter quote, you'll need to use 
3802 \begin_inset Flex Code
3803 status collapsed
3804
3805 \begin_layout Plain Layout
3806
3807 \backslash
3808 "
3809 \end_layout
3810
3811 \end_inset
3812
3813 , to enter 
3814 \begin_inset Flex Code
3815 status collapsed
3816
3817 \begin_layout Plain Layout
3818 #
3819 \end_layout
3820
3821 \end_inset
3822
3823 , use 
3824 \begin_inset Flex Code
3825 status collapsed
3826
3827 \begin_layout Plain Layout
3828
3829 \backslash
3830 #
3831 \end_layout
3832
3833 \end_inset
3834
3835 .
3836 \end_layout
3837
3838 \begin_layout Standard
3839 If you make a keyboard description file that works for your language, please
3840  mail it to me, so I can include it in the next keymap distribution.
3841 \end_layout
3842
3843 \begin_layout Standard
3844 More keywords will be supported in keymap configuration file in future,
3845  like
3846 \end_layout
3847
3848 \begin_layout Itemize
3849 \begin_inset Flex Code
3850 status collapsed
3851
3852 \begin_layout Plain Layout
3853
3854 \backslash
3855 kinclude filename
3856 \end_layout
3857
3858 \end_inset
3859
3860
3861 \emph on
3862
3863 \begin_inset space \hfill{}
3864 \end_inset
3865
3866
3867 \begin_inset Flex Code
3868 status collapsed
3869
3870 \begin_layout Plain Layout
3871 include
3872 \end_layout
3873
3874 \end_inset
3875
3876  another file
3877 \end_layout
3878
3879 \begin_layout Itemize
3880 \begin_inset Flex Code
3881 status collapsed
3882
3883 \begin_layout Plain Layout
3884
3885 \backslash
3886 kprog program
3887 \end_layout
3888
3889 \end_inset
3890
3891
3892 \emph on
3893
3894 \begin_inset space \hfill{}
3895 \end_inset
3896
3897
3898 \begin_inset Flex Code
3899 status collapsed
3900
3901 \begin_layout Plain Layout
3902 define
3903 \end_layout
3904
3905 \end_inset
3906
3907  an external keymap translation program 
3908 \end_layout
3909
3910 \begin_layout Standard
3911 Also, it should look into 
3912 \begin_inset Flex Code
3913 status collapsed
3914
3915 \begin_layout Plain Layout
3916 lyxrc
3917 \end_layout
3918
3919 \end_inset
3920
3921  file for defaults, too (for example, a 
3922 \begin_inset Flex Code
3923 status collapsed
3924
3925 \begin_layout Plain Layout
3926
3927 \backslash
3928 kinclude
3929 \end_layout
3930
3931 \end_inset
3932
3933  option to include default keyboard).
3934 \end_layout
3935
3936 \end_inset
3937
3938
3939 \end_layout
3940
3941 \begin_layout Section
3942 国際キー配列
3943 \begin_inset CommandInset label
3944 LatexCommand label
3945 name "sec:国際キー配列"
3946
3947 \end_inset
3948
3949
3950 \end_layout
3951
3952 \begin_layout Standard
3953 \begin_inset Note Note
3954 status open
3955
3956 \begin_layout Plain Layout
3957 2008年3月にこの文書を改訂するに当たって,改訂者が本節の内容に詳しくなかったために,本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
3958 \end_layout
3959
3960 \begin_layout Plain Layout
3961 (RH)
3962 \end_layout
3963
3964 \end_inset
3965
3966
3967 \end_layout
3968
3969 \begin_layout Standard
3970 以下の2節では,
3971 \begin_inset Flex Code
3972 status collapsed
3973
3974 \begin_layout Plain Layout
3975 .kmap
3976 \end_layout
3977
3978 \end_inset
3979
3980 および
3981 \begin_inset Flex Code
3982 status collapsed
3983
3984 \begin_layout Plain Layout
3985 .cdef
3986 \end_layout
3987
3988 \end_inset
3989
3990 ファイルの文法を詳細に解説します.これらの節は,提供されているキー配列があなたのニーズに合わない場合に,自身用のキー配列をデザインする手助けとなるでしょう.
3991 \end_layout
3992
3993 \begin_layout Subsection
3994 .kmapファイル
3995 \end_layout
3996
3997 \begin_layout Standard
3998 \begin_inset Flex Code
3999 status collapsed
4000
4001 \begin_layout Plain Layout
4002 .kmap
4003 \end_layout
4004
4005 \end_inset
4006
4007 ファイルは,打鍵したものを文字や文字列に割り当てます.名前が示唆するように,これはキーボード配列表を定義します.
4008 \begin_inset Flex Code
4009 status collapsed
4010
4011 \begin_layout Plain Layout
4012 .kmap
4013 \end_layout
4014
4015 \end_inset
4016
4017 ファイルは,以下の各項で説明するように,
4018 \begin_inset Flex Code
4019 status collapsed
4020
4021 \begin_layout Plain Layout
4022 kmap
4023 \end_layout
4024
4025 \end_inset
4026
4027
4028 \begin_inset Flex Code
4029 status collapsed
4030
4031 \begin_layout Plain Layout
4032 kmod
4033 \end_layout
4034
4035 \end_inset
4036
4037
4038 \begin_inset Flex Code
4039 status collapsed
4040
4041 \begin_layout Plain Layout
4042 ksmod
4043 \end_layout
4044
4045 \end_inset
4046
4047
4048 \begin_inset Flex Code
4049 status collapsed
4050
4051 \begin_layout Plain Layout
4052 kcomb
4053 \end_layout
4054
4055 \end_inset
4056
4057 のキーワードを定義します.
4058 \end_layout
4059
4060 \begin_layout Labeling
4061 \labelwidthstring 00.00.0000
4062 \begin_inset Flex Code
4063 status collapsed
4064
4065 \begin_layout Plain Layout
4066 kmap
4067 \end_layout
4068
4069 \end_inset
4070
4071  文字を文字列に割り当てる
4072 \end_layout
4073
4074 \begin_layout LyX-Code
4075
4076 \backslash
4077 kmap 
4078 \family roman
4079 \emph on
4080 文字
4081 \family default
4082 \emph default
4083  
4084 \family roman
4085 \emph on
4086 文字列
4087 \end_layout
4088
4089 \begin_layout Standard
4090 これは,
4091 \emph on
4092 文字
4093 \emph default
4094
4095 \emph on
4096 文字列
4097 \emph default
4098 に割り当てます.
4099 \emph on
4100 文字列
4101 \emph default
4102 中では,二重引用符(")とバックスラッシュ(
4103 \backslash
4104 )は,前にバックスラッシュ(
4105 \backslash
4106 )を付けてエスケープしなくてはならないことに注意してください.
4107 \end_layout
4108
4109 \begin_layout Standard
4110 \begin_inset Flex MenuItem
4111 status collapsed
4112
4113 \begin_layout Plain Layout
4114 &
4115 \end_layout
4116
4117 \end_inset
4118
4119 を打鍵すると
4120 \begin_inset Flex MenuItem
4121 status collapsed
4122
4123 \begin_layout Plain Layout
4124 /
4125 \end_layout
4126
4127 \end_inset
4128
4129 記号が出力される
4130 \begin_inset Flex MenuItem
4131 status collapsed
4132
4133 \begin_layout Plain Layout
4134 kmap
4135 \end_layout
4136
4137 \end_inset
4138
4139 ステートメントを,一例としてあげると,
4140 \end_layout
4141
4142 \begin_layout LyX-Code
4143
4144 \backslash
4145 kmap & /
4146 \end_layout
4147
4148 \begin_layout Standard
4149 のようになります.
4150 \end_layout
4151
4152 \begin_layout Labeling
4153 \labelwidthstring 00.00.0000
4154 \begin_inset Flex Code
4155 status collapsed
4156
4157 \begin_layout Plain Layout
4158 kmod
4159 \end_layout
4160
4161 \end_inset
4162
4163  アクセント文字を指定する
4164 \end_layout
4165
4166 \begin_layout LyX-Code
4167
4168 \backslash
4169 kmod 
4170 \family roman
4171 \emph on
4172 文字 アクセント 許可文字
4173 \end_layout
4174
4175 \begin_layout Standard
4176 これは
4177 \emph on
4178 文字
4179 \emph default
4180
4181 \emph on
4182 許可文字
4183 \emph default
4184 のアクセントとするものです.これはデッドキー
4185 \begin_inset Foot
4186 status collapsed
4187
4188 \begin_layout Plain Layout
4189
4190 \emph on
4191 デッドキー
4192 \emph default
4193 という用語は,それ自身で文字を出力しないけれども,別のキーを続けて打つと,望んだアクセント文字を出力するキーのことを指し示します.たとえば,独語で
4194 \emph on
4195 ä
4196 \emph default
4197 のようなウムラウトのついた文字は,このようにして出すことができます.
4198 \end_layout
4199
4200 \end_inset
4201
4202 機構です.
4203 \end_layout
4204
4205 \begin_layout Standard
4206
4207 \emph on
4208 文字
4209 \emph default
4210 を打鍵してから
4211 \emph on
4212 許可文字
4213 \emph default
4214 にないキーを打鍵すると,
4215 \emph on
4216 文字
4217 \emph default
4218 の後に許可文字ではないその文字が出力として表示されます.
4219 \begin_inset Flex MenuItem
4220 status collapsed
4221
4222 \begin_layout Plain Layout
4223 Backspace
4224 \end_layout
4225
4226 \end_inset
4227
4228 はデッドキーを取り消しますので,
4229 \emph on
4230 文字
4231 \emph default
4232
4233 \begin_inset Flex MenuItem
4234 status collapsed
4235
4236 \begin_layout Plain Layout
4237 Backspace
4238 \end_layout
4239
4240 \end_inset
4241
4242 と打鍵すると,カーソルは一文字戻ることなく,文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4243 \end_layout
4244
4245 \begin_layout Standard
4246 以下の例は,'文字をacuteアクセントとして,a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4247 \end_layout
4248
4249 \begin_layout LyX-Code
4250
4251 \backslash
4252 kmod ' acute aeiouAEIOU
4253 \end_layout
4254
4255 \begin_layout Labeling
4256 \labelwidthstring 00.00.0000
4257 \begin_inset Flex Code
4258 status collapsed
4259
4260 \begin_layout Plain Layout
4261 ksmod
4262 \end_layout
4263
4264 \end_inset
4265
4266  アクセント文字に例外を指定する
4267 \end_layout
4268
4269 \begin_layout LyX-Code
4270
4271 \backslash
4272 kxmod  
4273 \family roman
4274 \emph on
4275 アクセント 文字 結果
4276 \end_layout
4277
4278 \begin_layout Standard
4279 これは
4280 \emph on
4281 文字
4282 \emph default
4283 上の
4284 \emph on
4285 アクセント
4286 \emph default
4287 について例外を指定するものです.ここで
4288 \emph on
4289 アクセント
4290 \emph default
4291 には,前出の
4292 \begin_inset Flex Code
4293 status collapsed
4294
4295 \begin_layout Plain Layout
4296
4297 \backslash
4298 kmod
4299 \end_layout
4300
4301 \end_inset
4302
4303 宣言で打鍵キーを既に割り当てられてなくてはならず,
4304 \emph on
4305 文字
4306 \emph default
4307
4308 \emph on
4309 アクセント
4310 \emph default
4311
4312 \emph on
4313 許可文字
4314 \emph default
4315 の集合に属していてはなりません.こうして
4316 \emph on
4317 アクセント
4318 \emph default
4319
4320 \emph on
4321 文字
4322 \emph default
4323 の順に入力すると,
4324 \emph on
4325 結果
4326 \emph default
4327 が出力されるようになります.
4328 \begin_inset Flex Code
4329 status collapsed
4330
4331 \begin_layout Plain Layout
4332 .kmap
4333 \end_layout
4334
4335 \end_inset
4336
4337 ファイルにこの宣言がない場合には,
4338 \emph on
4339 アクセント
4340 \emph default
4341
4342 \emph on
4343 文字
4344 \emph default
4345 と入力すると,
4346 \emph on
4347 アクセントキー
4348 \emph default
4349
4350 \emph on
4351 文字
4352 \emph default
4353
4354 \emph on
4355 アクセントキー
4356 \emph default
4357
4358 \begin_inset Flex Code
4359 status collapsed
4360
4361 \begin_layout Plain Layout
4362
4363 \backslash
4364 kmod
4365 \end_layout
4366
4367 \end_inset
4368
4369 宣言の最初の変数)と出力されます.
4370 \end_layout
4371
4372 \begin_layout Standard
4373 以下のコマンドを用いると,acute-i('i)と入力した場合,äiと出力されるようになります.
4374 \end_layout
4375
4376 \begin_layout LyX-Code
4377
4378 \backslash
4379 kxmod acute i "
4380 \backslash
4381
4382 \backslash
4383 '{
4384 \backslash
4385
4386 \backslash
4387 i}"
4388 \end_layout
4389
4390 \begin_layout Labeling
4391 \labelwidthstring 00.00.0000
4392 \begin_inset Flex Code
4393 status collapsed
4394
4395 \begin_layout Plain Layout
4396 kcomb
4397 \end_layout
4398
4399 \end_inset
4400
4401  2つのアクセント文字を結合する
4402 \end_layout
4403
4404 \begin_layout LyX-Code
4405
4406 \backslash
4407 kcomb 
4408 \family roman
4409 \emph on
4410 アクセント1 アクセント2 許可文字
4411 \end_layout
4412
4413 \begin_layout Standard
4414 これはなかなか難解になってきます.これは
4415 \emph on
4416 アクセント1
4417 \emph default
4418
4419 \emph on
4420 アクセント2
4421 \emph default
4422 を(この順番で)結びつけて,
4423 \emph on
4424 許可文字
4425 \emph default
4426 に効果を及ぼすようにします.
4427 \emph on
4428 アクセント1
4429 \emph default
4430
4431 \emph on
4432 アクセント2
4433 \emph default
4434 の打鍵キーは,ファイル内のこのコマンド
4435 \emph on
4436 よりも前に
4437 \emph default
4438
4439 \begin_inset Flex Code
4440 status collapsed
4441
4442 \begin_layout Plain Layout
4443
4444 \backslash
4445 kmod
4446 \end_layout
4447
4448 \end_inset
4449
4450 コマンドで設定されていなくてはなりません.
4451 \end_layout
4452
4453 \begin_layout Standard
4454 \begin_inset Flex Code
4455 status collapsed
4456
4457 \begin_layout Plain Layout
4458 greek.kmap
4459 \end_layout
4460
4461 \end_inset
4462
4463 ファイル上にある例をとってみましょう.
4464 \end_layout
4465
4466 \begin_layout LyX-Code
4467
4468 \backslash
4469 kmod ; acute aeioyvhAEIOYVH 
4470 \backslash
4471 kmod : umlaut iyIY 
4472 \backslash
4473 kcomb acute umlaut iyIY
4474 \end_layout
4475
4476 \begin_layout Standard
4477 これは
4478 \begin_inset Flex MenuItem
4479 status collapsed
4480
4481 \begin_layout Plain Layout
4482 ;:i
4483 \end_layout
4484
4485 \end_inset
4486
4487 を押すと
4488 \begin_inset Flex Code
4489 status collapsed
4490
4491 \begin_layout Plain Layout
4492
4493 \backslash
4494 '{
4495 \backslash
4496 "{i}}
4497 \end_layout
4498
4499 \end_inset
4500
4501 という効果を得るようにするものです.この場合のバックスペースは,最後のデッドキーを取り消すので,
4502 \begin_inset Flex MenuItem
4503 status collapsed
4504
4505 \begin_layout Plain Layout
4506 ;: Backspace i
4507 \end_layout
4508
4509 \end_inset
4510
4511 と押した場合には,
4512 \begin_inset Flex Code
4513 status collapsed
4514
4515 \begin_layout Plain Layout
4516
4517 \backslash
4518 '{i}
4519 \end_layout
4520
4521 \end_inset
4522
4523 となります.
4524 \end_layout
4525
4526 \begin_layout Subsection
4527 .cdefファイル
4528 \end_layout
4529
4530 \begin_layout Standard
4531 \begin_inset Flex Code
4532 status collapsed
4533
4534 \begin_layout Plain Layout
4535 .kmap
4536 \end_layout
4537
4538 \end_inset
4539
4540 による割り当てが行われた後,
4541 \begin_inset Flex Code
4542 status collapsed
4543
4544 \begin_layout Plain Layout
4545 .cdef
4546 \end_layout
4547
4548 \end_inset
4549
4550 ファイルは,記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
4551 頒布版には,現在のところ,少なくとも
4552 \begin_inset Flex Code
4553 status collapsed
4554
4555 \begin_layout Plain Layout
4556 iso8859-1.cdef
4557 \end_layout
4558
4559 \end_inset
4560
4561 ファイルと
4562 \begin_inset Flex Code
4563 status collapsed
4564
4565 \begin_layout Plain Layout
4566 iso8859-2.cdef
4567 \end_layout
4568
4569 \end_inset
4570
4571 ファイルが含まれています.
4572 \end_layout
4573
4574 \begin_layout Standard
4575 一般的に
4576 \begin_inset Flex Code
4577 status collapsed
4578
4579 \begin_layout Plain Layout
4580 .cdef
4581 \end_layout
4582
4583 \end_inset
4584
4585 ファイルは,
4586 \end_layout
4587
4588 \begin_layout LyX-Code
4589
4590 \family roman
4591 \emph on
4592 セット中の文字番号
4593 \family default
4594 \emph default
4595  
4596 \family roman
4597 \emph on
4598  文字列
4599 \end_layout
4600
4601 \begin_layout Standard
4602 という形の宣言の羅列です.たとえば,
4603 \begin_inset Flex MenuItem
4604 status collapsed
4605
4606 \begin_layout Plain Layout
4607
4608 \backslash
4609 '{e}
4610 \end_layout
4611
4612 \end_inset
4613
4614 をiso-8859-1セットの対応する文字(233)に割り当てるには,以下の宣言を用います.
4615 \end_layout
4616
4617 \begin_layout LyX-Code
4618 233 "
4619 \backslash
4620
4621 \backslash
4622 '{e}"
4623 \end_layout
4624
4625 \begin_layout Standard
4626 ここで,
4627 \emph on
4628 文字列
4629 \emph default
4630 中の
4631 \begin_inset Flex Code
4632 status collapsed
4633
4634 \begin_layout Plain Layout
4635
4636 \backslash
4637
4638 \end_layout
4639
4640 \end_inset
4641
4642
4643 \begin_inset Flex Code
4644 status collapsed
4645
4646 \begin_layout Plain Layout
4647 "
4648 \end_layout
4649
4650 \end_inset
4651
4652 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
4653 \begin_inset Flex Code
4654 status collapsed
4655
4656 \begin_layout Plain Layout
4657 iso-8859-7.cdef
4658 \end_layout
4659
4660 \end_inset
4661
4662 ファイルには,
4663 \end_layout
4664
4665 \begin_layout LyX-Code
4666 192 "
4667 \backslash
4668
4669 \backslash
4670 '{
4671 \backslash
4672
4673 \backslash
4674
4675 \backslash
4676 "{i}}"
4677 \begin_inset Newline newline
4678 \end_inset
4679
4680 192 "
4681 \backslash
4682
4683 \backslash
4684
4685 \backslash
4686 "{
4687 \backslash
4688
4689 \backslash
4690 '{i}}"
4691 \end_layout
4692
4693 \begin_layout Standard
4694 という例があります.\SpecialChar LyX
4695 は,キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,それがアクセント付き文字のように解釈ができない
4696 かどうかチェックして,画面上の文字にアクセントを引くことを試みます.
4697 \end_layout
4698
4699 \begin_layout Subsection
4700 デッドキー
4701 \end_layout
4702
4703 \begin_layout Standard
4704 国際文字のサポートを追加する第2の方法として,いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,アクセント付き文字を生成します.ここではそ
4705 の機能を説明するために,きわめて単純なデッドキーの作り方を説明します.
4706 \end_layout
4707
4708 \begin_layout Standard
4709 仮に,曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,自身の
4710 \begin_inset Flex Code
4711 status collapsed
4712
4713 \begin_layout Plain Layout
4714 lyxrc
4715 \end_layout
4716
4717 \end_inset
4718
4719 ファイル中で,
4720 \begin_inset Flex MenuItem
4721 status collapsed
4722
4723 \begin_layout Plain Layout
4724 ^
4725 \end_layout
4726
4727 \end_inset
4728
4729 キー(すなわち
4730 \begin_inset Flex MenuItem
4731 status collapsed
4732
4733 \begin_layout Plain Layout
4734 Shift-6
4735 \end_layout
4736
4737 \end_inset
4738
4739 キー)を,\SpecialChar LyX
4740 コマンドの
4741 \begin_inset Flex Code
4742 status collapsed
4743
4744 \begin_layout Plain Layout
4745 accent-circumflex
4746 \end_layout
4747
4748 \end_inset
4749
4750 に結びつけることができます.すると
4751 \begin_inset Flex MenuItem
4752 status collapsed
4753
4754 \begin_layout Plain Layout
4755 ^
4756 \end_layout
4757
4758 \end_inset
4759
4760 キーの後に文字を打ったときはいつでも,この文字上に曲折アクセントが付けられるようになります.たとえば「
4761 \begin_inset Flex MenuItem
4762 status collapsed
4763
4764 \begin_layout Plain Layout
4765 ^e
4766 \end_layout
4767
4768 \end_inset
4769
4770 」という打鍵順は「ê」という文字を生成します.しかしながら,もし「
4771 \begin_inset Flex MenuItem
4772 status collapsed
4773
4774 \begin_layout Plain Layout
4775 ^t
4776 \end_layout
4777
4778 \end_inset
4779
4780 」と打鍵したならば,「
4781 \begin_inset Flex MenuItem
4782 status collapsed
4783
4784 \begin_layout Plain Layout
4785 t
4786 \end_layout
4787
4788 \end_inset
4789
4790 」は曲折アクセントをとることは決してないために,\SpecialChar LyX
4791 はビープを鳴らして文句を付けます.デッドキーの後に
4792 \begin_inset Flex MenuItem
4793 status collapsed
4794
4795 \begin_layout Plain Layout
4796 スペース
4797 \end_layout
4798
4799 \end_inset
4800
4801 を打つと,アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,このキー上の文字を別のキーに割り当て直す必要が
4802 あります.たとえば,
4803 \begin_inset Flex MenuItem
4804 status collapsed
4805
4806 \begin_layout Plain Layout
4807 ,キー
4808 \end_layout
4809
4810 \end_inset
4811
4812 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
4813 \end_layout
4814
4815 \begin_layout Standard
4816 デッドキーを割り当てるのによく用いられる方法は,
4817 \begin_inset Flex MenuItem
4818 status collapsed
4819
4820 \begin_layout Plain Layout
4821 Meta-
4822 \end_layout
4823
4824 \end_inset
4825
4826
4827 \begin_inset Flex MenuItem
4828 status collapsed
4829
4830 \begin_layout Plain Layout
4831 Ctrl-
4832 \end_layout
4833
4834 \end_inset
4835
4836
4837 \begin_inset Flex MenuItem
4838 status collapsed
4839
4840 \begin_layout Plain Layout
4841 Shift-
4842 \end_layout
4843
4844 \end_inset
4845
4846 キーを,「
4847 \begin_inset Flex MenuItem
4848 status collapsed
4849
4850 \begin_layout Plain Layout
4851 ~
4852 \end_layout
4853
4854 \end_inset
4855
4856 」・「
4857 \begin_inset Flex MenuItem
4858 status collapsed
4859
4860 \begin_layout Plain Layout
4861 ,
4862 \end_layout
4863
4864 \end_inset
4865
4866 」・「
4867 \begin_inset Flex MenuItem
4868 status collapsed
4869
4870 \begin_layout Plain Layout
4871 ^
4872 \end_layout
4873
4874 \end_inset
4875
4876 」のようなアクセントと一緒に用いる方法です.また,
4877 \begin_inset Flex Code
4878 status collapsed
4879
4880 \begin_layout Plain Layout
4881 xmodmap
4882 \end_layout
4883
4884 \end_inset
4885
4886
4887 \begin_inset Flex Code
4888 status collapsed
4889
4890 \begin_layout Plain Layout
4891 xkeycaps
4892 \end_layout
4893
4894 \end_inset
4895
4896 を使って,特別な
4897 \begin_inset Flex Code
4898 status collapsed
4899
4900 \begin_layout Plain Layout
4901 Mode_Switch
4902 \end_layout
4903
4904 \end_inset
4905
4906 キーを設定する方法もあります.
4907 \begin_inset Flex Code
4908 status collapsed
4909
4910 \begin_layout Plain Layout
4911 Mode_Switch
4912 \end_layout
4913
4914 \end_inset
4915
4916 キーは,ちょうど
4917 \begin_inset Flex MenuItem
4918 status collapsed
4919
4920 \begin_layout Plain Layout
4921 Shift
4922 \end_layout
4923
4924 \end_inset
4925
4926 キーのように機能するので,アクセント文字を割り当てるのに使用できます.また,特定のキーを
4927 \begin_inset Flex Code
4928 status collapsed
4929
4930 \begin_layout Plain Layout
4931 usldead_cedilla
4932 \end_layout
4933
4934 \end_inset
4935
4936 などに割り当てることで,これらのキーをデッドキーに仕立て,このシンボリックキーを対応する\SpecialChar LyX
4937 コマンドに割り当てることもできます
4938 \begin_inset Foot
4939 status collapsed
4940
4941 \begin_layout Plain Layout
4942
4943 \noun on
4944 John Weiss
4945 \noun default
4946 からの註:これはまさに私が,自分の
4947 \begin_inset Flex Code
4948 status collapsed
4949
4950 \begin_layout Plain Layout
4951 ~/.lyx/lyxrc
4952 \end_layout
4953
4954 \end_inset
4955
4956
4957 \begin_inset Flex Code
4958 status collapsed
4959
4960 \begin_layout Plain Layout
4961 ~/.xmodmap
4962 \end_layout
4963
4964 \end_inset
4965
4966 で行っていることです.私は,
4967 \begin_inset Flex MenuItem
4968 status collapsed
4969
4970 \begin_layout Plain Layout
4971 Scroll
4972 \begin_inset space ~
4973 \end_inset
4974
4975 Lock
4976 \end_layout
4977
4978 \end_inset
4979
4980 キーを
4981 \begin_inset Flex Code
4982 status collapsed
4983
4984 \begin_layout Plain Layout
4985 Mode_Shift
4986 \end_layout
4987
4988 \end_inset
4989
4990 に仕立てて,多数の
4991 \begin_inset Flex Code
4992 status collapsed
4993
4994 \begin_layout Plain Layout
4995 usldead_*
4996 \end_layout
4997
4998 \end_inset
4999
5000 シンボリックキーを
5001 \begin_inset Flex MenuItem
5002 status collapsed
5003
5004 \begin_layout Plain Layout
5005 Scroll
5006 \begin_inset space ~
5007 \end_inset
5008
5009 Lock-^
5010 \end_layout
5011
5012 \end_inset
5013
5014
5015 \begin_inset Flex MenuItem
5016 status collapsed
5017
5018 \begin_layout Plain Layout
5019 Scroll
5020 \begin_inset space ~
5021 \end_inset
5022
5023 Lock-~
5024 \end_layout
5025
5026 \end_inset
5027
5028 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5029 \end_layout
5030
5031 \end_inset
5032
5033 .この
5034 \begin_inset Flex Code
5035 status collapsed
5036
5037 \begin_layout Plain Layout
5038 Mode_Switch
5039 \end_layout
5040
5041 \end_inset
5042
5043 キーには,
5044 \begin_inset Flex MenuItem
5045 status collapsed
5046
5047 \begin_layout Plain Layout
5048 Ctrl-
5049 \end_layout
5050
5051 \end_inset
5052
5053 キーの片方や使われていないファンクションキーなど,ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5054 コマンドについては,
5055 \emph on
5056 \SpecialChar LyX
5057 関数説明書
5058 \emph default
5059
5060 \begin_inset Flex Code
5061 status collapsed
5062
5063 \begin_layout Plain Layout
5064 LFUN_ACCENT_*
5065 \end_layout
5066
5067 \end_inset
5068
5069 の項をご覧ください.ここには完備した一覧があります.
5070 \end_layout
5071
5072 \begin_layout Subsection
5073 自分の言語設定を保存する
5074 \end_layout
5075
5076 \begin_layout Standard
5077 \begin_inset Flex MenuItem
5078 status collapsed
5079
5080 \begin_layout Plain Layout
5081 ツール\SpecialChar menuseparator
5082 設定
5083 \end_layout
5084
5085 \end_inset
5086
5087 ダイアログを使えば,\SpecialChar LyX
5088 を起動したときに,ご希望の言語環境に自動的に設定されるように,設定を編集することができます.
5089 \end_layout
5090
5091 \begin_layout Chapter
5092 文書クラス・レイアウト・ひな型の新規導入
5093 \begin_inset CommandInset label
5094 LatexCommand label
5095 name "cha:新規文書を導入"
5096
5097 \end_inset
5098
5099
5100 \begin_inset Argument 1
5101 status collapsed
5102
5103 \begin_layout Plain Layout
5104 文書クラスを新規に導入する
5105 \end_layout
5106
5107 \end_inset
5108
5109
5110 \end_layout
5111
5112 \begin_layout Standard
5113 この章では,新しく\SpecialChar LyX
5114 のレイアウトファイルやひな型ファイルを作成して,導入する手順を説明すると共に,新規に\SpecialChar LaTeX
5115 文書クラス(ドキュメントクラス)を正しく導入する方法を復習
5116 します.
5117 \end_layout
5118
5119 \begin_layout Standard
5120 まず,\SpecialChar LyX
5121 と\SpecialChar LaTeX
5122 の間の関係をどのように考えるべきか,若干の註釈を加えておくことにしましょう.理解していただきたいことは,ある意味において,\SpecialChar LyX
5123 は,La\SpecialChar TeX
5124 について何も知らないと
5125 云うことです.実際のところ,\SpecialChar LyX
5126 の観点からは,\SpecialChar LaTeX
5127 は,\SpecialChar LyX
5128 が出力を生成することができる,複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形
5129 式には,DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5130 は,とくに重要な形式ですが,\SpecialChar LyX
5131 がLa\SpecialChar TeX
5132 について持っている情報のほとんどは,実はプログラム本体には含まれて
5133 いないのです
5134 \begin_inset Foot
5135 status collapsed
5136
5137 \begin_layout Plain Layout
5138 過度に複雑なため,\SpecialChar LyX
5139 に「ハードコード化」されているコマンドもありますが,一般的に開発者は,これを「わるいこと」とみなしています.
5140 \end_layout
5141
5142 \end_inset
5143
5144 .このような情報は,
5145 \begin_inset Flex Code
5146 status collapsed
5147
5148 \begin_layout Plain Layout
5149 article.cls
5150 \end_layout
5151
5152 \end_inset
5153
5154 のような標準クラスでも,「レイアウトファイル」に保管されています.同様に,\SpecialChar LyX
5155 は,DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5156 が知っていることは,レイア
5157 ウトファイルの中にあります.
5158 \end_layout
5159
5160 \begin_layout Standard
5161 文書クラス用のレイアウトファイルは,\SpecialChar LyX
5162 構成体—対応する様式や何らかの差込枠などを有する段落群—と,それに対応する\SpecialChar LaTeX
5163 構成体・DocBook構成体・XHTML構成体との
5164 間の翻訳指南書のようなものです.たとえば,\SpecialChar LyX
5165
5166 \begin_inset Flex Code
5167 status collapsed
5168
5169 \begin_layout Plain Layout
5170 article.cls
5171 \end_layout
5172
5173 \end_inset
5174
5175 について知っていることのほとんど総ては,
5176 \begin_inset Flex Code
5177 status collapsed
5178
5179 \begin_layout Plain Layout
5180 article.layout
5181 \end_layout
5182
5183 \end_inset
5184
5185 と,それが呼び出す他の様々なファイルに書き込まれています.このことから,レイアウトファイルを書こうとする人は,既存のファイルを研究することを勧めます.とっかかり
5186 としては,
5187 \begin_inset Flex Code
5188 status collapsed
5189
5190 \begin_layout Plain Layout
5191 article.layout
5192 \end_layout
5193
5194 \end_inset
5195
5196
5197 \begin_inset Flex Code
5198 status collapsed
5199
5200 \begin_layout Plain Layout
5201 book.layout
5202 \end_layout
5203
5204 \end_inset
5205
5206 や,文書クラス用の他のレイアウトファイルに取り込まれている
5207 \begin_inset Flex Code
5208 status collapsed
5209
5210 \begin_layout Plain Layout
5211 stdsections.inc
5212 \end_layout
5213
5214 \end_inset
5215
5216 から見始めるのがよいでしょう.このファイルは,節などの定義が為されている場所です.
5217 \begin_inset Flex Code
5218 status collapsed
5219
5220 \begin_layout Plain Layout
5221 stdsections.inc
5222 \end_layout
5223
5224 \end_inset
5225
5226 は,節様式や小節様式などとしてマークされている段落を,対応する\SpecialChar LaTeX
5227 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5228 に知らせるものです.基本的に
5229 \begin_inset Flex Code
5230 status collapsed
5231
5232 \begin_layout Plain Layout
5233 article.layout
5234 \end_layout
5235
5236 \end_inset
5237
5238 ファイルは,これらの
5239 \begin_inset Flex Code
5240 status collapsed
5241
5242 \begin_layout Plain Layout
5243 std*.inc
5244 \end_layout
5245
5246 \end_inset
5247
5248 ファイルを取り込んでいるだけのものです.
5249 \end_layout
5250
5251 \begin_layout Standard
5252 しかしながら,\SpecialChar LyX
5253 –\SpecialChar LaTeX
5254 間の対応を定義するだけが,レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,\SpecialChar LyX
5255 構成体自身が画面上にどのように表
5256 示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,レイアウトファイルが2つの仕事を行うという事実は,しばしば混乱を引き起こす元となり
5257 ます.ある段落様式を\SpecialChar LaTeX
5258 に翻訳する仕方を\SpecialChar LyX
5259 に指示することは,その表示の仕方を\SpecialChar LyX
5260 に指示するものではありません.逆に,ある段落様式の表示の仕方を\SpecialChar LyX
5261 に指示することは,その段落様
5262 式をどのように\SpecialChar LaTeX
5263 に翻訳するかを\SpecialChar LyX
5264 に指示するものではありません(ましてや\SpecialChar LaTeX
5265 に表示の仕方を指示するものではありません).つまり,一般的に,新しい\SpecialChar LyX
5266 構成体を定義する際には,(
5267 i)
5268 \begin_inset space ~
5269 \end_inset
5270
5271 \SpecialChar LaTeX
5272 にどのように翻訳するかを\SpecialChar LyX
5273 に指示する,(ii)
5274 \begin_inset space ~
5275 \end_inset
5276
5277 それをどのように表示するかを\SpecialChar LyX
5278 に指示する,という,二つのかなり異なることを行わなくてはならないのです.
5279 \end_layout
5280
5281 \begin_layout Standard
5282 もちろん,\SpecialChar LyX
5283 の他のバックエンド形式に関しても,ほぼ同じことが言えますが,XHTMLの場合には若干事情が異なり,\SpecialChar LyX
5284 が,ブラウザ中での段落の表示方法を(CSSの形で)出
5285 力するにあたって,当該段落を\SpecialChar LyX
5286 が画面上に出力する仕方の情報を,ある程度利用することができます.しかし,この場合でも,\SpecialChar LyX
5287 が内部的に行うことと,外部的に行う物事の間の区
5288 別は,依然として有効であり,この2つは独立して制御することができます.詳細に関しては,第
5289 \begin_inset CommandInset ref
5290 LatexCommand ref
5291 reference "sec:XHTML出力のタグ"
5292
5293 \end_inset
5294
5295 節をご覧ください.
5296 \end_layout
5297
5298 \begin_layout Section
5299 新しい\SpecialChar LaTeX
5300 ファイルの導入
5301 \end_layout
5302
5303 \begin_layout Standard
5304 頒布版によっては,\SpecialChar LyX
5305 で使いたい\SpecialChar LaTeX
5306 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,オーバーヘッドプロジェクタ用のスライドを準備するための
5307 パッケージである,Foil\SpecialChar TeX
5308 がないかもしれません.\SpecialChar TeX
5309 Live(2008年以降)やMiK\SpecialChar TeX
5310 のような最近の\SpecialChar LaTeX
5311 頒布版には,これらのパッケージを導入するためのユーザーインタフェ
5312 ースが用意されています.たとえば,MiK\SpecialChar TeX
5313 では,付属の「Package
5314 \begin_inset space ~
5315 \end_inset
5316
5317 Manager」プログラムを起動すると,利用できるパッケージの一覧を得ることができます.どれかを導入するには,その上で右クリックするかツールバーボタンを押してく
5318 ださい.
5319 \end_layout
5320
5321 \begin_layout Standard
5322 お使いの\SpecialChar LaTeX
5323 頒布版がこのような「パッケージマネジャー」を提供していなかったり,使用中の頒布版にそのパッケージが入っていない場合には,以下のステップに従って手動で導入
5324 してください.
5325 \end_layout
5326
5327 \begin_layout Enumerate
5328 \begin_inset CommandInset href
5329 LatexCommand href
5330 name "CTAN"
5331 target "http://www.ctan.org/"
5332 literal "false"
5333
5334 \end_inset
5335
5336 などから欲しいパッケージを入手してください.
5337 \end_layout
5338
5339 \begin_layout Enumerate
5340 パッケージに「
5341 \begin_inset Flex Code
5342 status collapsed
5343
5344 \begin_layout Plain Layout
5345 .ins
5346 \end_layout
5347
5348 \end_inset
5349
5350 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5351 がその一例です)は,コンソールを開いて,このファイルのフォルダに移動し,コマンド
5352 \begin_inset Flex Code
5353 status collapsed
5354
5355 \begin_layout Plain Layout
5356 latex foiltex.ins
5357 \end_layout
5358
5359 \end_inset
5360
5361 を実行してください.すると,パッケージが解凍されて,導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5362 パッケージは圧縮されていないので,このステップは飛ばすこ
5363 とができます.
5364 \end_layout
5365
5366 \begin_layout Enumerate
5367 ここで,パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5368 \end_layout
5369
5370 \begin_deeper
5371 \begin_layout Enumerate
5372 (Linux・OSXなどの)*nix系システムでは,システム上の全ユーザーに新パッケージを利用可能にしたければ,「ローカル」\SpecialChar TeX
5373 ツリーに導入し,そうでなければ「ユー
5374 ザー」\SpecialChar TeX
5375 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,お使いのシステムに依存します.これを見いだすには,
5376 \begin_inset Flex Code
5377 status collapsed
5378
5379 \begin_layout Plain Layout
5380 texmf.cnf
5381 \end_layout
5382
5383 \end_inset
5384
5385 ファイルを参照してください
5386 \begin_inset Foot
5387 status collapsed
5388
5389 \begin_layout Plain Layout
5390 このファイルは,通常
5391 \family sans
5392 $TEXMF/web2c
5393 \family default
5394 ディレクトリにありますが,コマンド
5395 \begin_inset Flex Code
5396 status collapsed
5397
5398 \begin_layout Plain Layout
5399 kpsewhich texmf.cnf
5400 \end_layout
5401
5402 \end_inset
5403
5404 を実行してその場所を見つけることもできます.
5405 \end_layout
5406
5407 \end_inset
5408
5409 .「ローカル」\SpecialChar TeX
5410 ツリーの場所は,
5411 \begin_inset Flex Code
5412 status collapsed
5413
5414 \begin_layout Plain Layout
5415 TEXMFLOCAL
5416 \end_layout
5417
5418 \end_inset
5419
5420 変数で定義されており,通常は
5421 \begin_inset Flex Code
5422 status collapsed
5423
5424 \begin_layout Plain Layout
5425 /usr/local/share/texmf/
5426 \end_layout
5427
5428 \end_inset
5429
5430
5431 \begin_inset Flex Code
5432 status collapsed
5433
5434 \begin_layout Plain Layout
5435 /usr/local/texlive/XXXX
5436 \end_layout
5437
5438 \end_inset
5439
5440  (XXXXは導入されている\SpecialChar TeX
5441 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
5442 ツリーの場所は,
5443 \begin_inset Flex Code
5444 status collapsed
5445
5446 \begin_layout Plain Layout
5447 TEXMFHOME
5448 \end_layout
5449
5450 \end_inset
5451
5452 で定義されており,通常は
5453 \begin_inset Flex Code
5454 status collapsed
5455
5456 \begin_layout Plain Layout
5457 $HOME/texmf/
5458 \end_layout
5459
5460 \end_inset
5461
5462
5463 \begin_inset Flex Code
5464 status collapsed
5465
5466 \begin_layout Plain Layout
5467 $HOME/.texliveXXXX
5468 \end_layout
5469
5470 \end_inset
5471
5472 です(もしこれらの変数が事前定義されていなければ,定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,おそらくroot権限が必要ですが
5473 ,「ユーザー」ツリーにはこのような制限はありません.
5474 \begin_inset Newline newline
5475 \end_inset
5476
5477 一般的に,システムをアップグレードした際に,ユーザーが修正されたり上書きされたりということが起こらないので,ユーザーツリーに導入することが推奨されます.こうする
5478 と,自分のホームディレクトリをバックアップする際に,パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
5479 \end_layout
5480
5481 \begin_layout Enumerate
5482 Windowで,システム上の全ユーザーに新パッケージを利用可能にしたい場合には,\SpecialChar LaTeX
5483 の導入されているフォルダのサブフォルダ
5484 \begin_inset Flex Code
5485 status collapsed
5486
5487 \begin_layout Plain Layout
5488 ~
5489 \backslash
5490 tex
5491 \backslash
5492 latex
5493 \end_layout
5494
5495 \end_inset
5496
5497 に移動します(MiK\SpecialChar TeX
5498 の既定値では,これは
5499 \begin_inset Flex Code
5500 status collapsed
5501
5502 \begin_layout Plain Layout
5503 ~:Programs
5504 \backslash
5505 MiKTeX
5506 \backslash
5507 tex
5508 \backslash
5509 latex
5510 \end_layout
5511
5512 \end_inset
5513
5514 です)
5515 \begin_inset Foot
5516 status open
5517
5518 \begin_layout Plain Layout
5519 これは,英語版でのみ正しいパスになっています.独語版では
5520 \begin_inset Flex Code
5521 status collapsed
5522
5523 \begin_layout Plain Layout
5524 ~:Programme
5525 \backslash
5526 MiKTeX
5527 \backslash
5528 tex
5529 \backslash
5530 latex
5531 \end_layout
5532
5533 \end_inset
5534
5535 となり,他の言語でも同様です.
5536 \end_layout
5537
5538 \end_inset
5539
5540 .ここに新規フォルダ
5541 \begin_inset Flex Code
5542 status collapsed
5543
5544 \begin_layout Plain Layout
5545 foiltex
5546 \end_layout
5547
5548 \end_inset
5549
5550 を作成し,パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,admin権限を持っていない場合には,ローカル\SpecialChar LaTeX
5551 フォルダで同じ
5552 ことを行います.たとえばMiK\SpecialChar TeX
5553
5554 \begin_inset space ~
5555 \end_inset
5556
5557 2.8では,これはWinXP上では
5558 \begin_inset Newline newline
5559 \end_inset
5560
5561
5562 \begin_inset Flex Code
5563 status collapsed
5564
5565 \begin_layout Plain Layout
5566 ~:
5567 \backslash
5568 Documents and Settings
5569 \backslash
5570 <ユーザー名>
5571 \backslash
5572 Application Data
5573 \backslash
5574
5575 \end_layout
5576
5577 \end_inset
5578
5579
5580 \begin_inset Newline newline
5581 \end_inset
5582
5583
5584 \begin_inset Phantom HPhantom
5585 status open
5586
5587 \begin_layout Plain Layout
5588
5589 \family typewriter
5590 ~:
5591 \backslash
5592
5593 \end_layout
5594
5595 \end_inset
5596
5597
5598 \begin_inset Flex Code
5599 status collapsed
5600
5601 \begin_layout Plain Layout
5602 MiKTeX
5603 \backslash
5604 2.8
5605 \backslash
5606 tex
5607 \backslash
5608 latex
5609 \end_layout
5610
5611 \end_inset
5612
5613
5614 \begin_inset Newline newline
5615 \end_inset
5616
5617 フォルダ,WinVista上では
5618 \begin_inset Newline newline
5619 \end_inset
5620
5621
5622 \begin_inset Flex Code
5623 status collapsed
5624
5625 \begin_layout Plain Layout
5626 ~:
5627 \backslash
5628 Users
5629 \backslash
5630 <ユーザー名>
5631 \backslash
5632 AppData
5633 \backslash
5634 Roaming
5635 \backslash
5636 2.8
5637 \backslash
5638 MiKTeX
5639 \backslash
5640 tex
5641 \backslash
5642 latex
5643 \end_layout
5644
5645 \end_inset
5646
5647
5648 \begin_inset Newline newline
5649 \end_inset
5650
5651 フォルダになります.
5652 \end_layout
5653
5654 \end_deeper
5655 \begin_layout Enumerate
5656 ここまで来れば,あとは\SpecialChar LaTeX
5657 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
5658 頒布版に依存します.
5659 \end_layout
5660
5661 \begin_deeper
5662 \begin_layout Enumerate
5663 \SpecialChar TeX
5664 Liveの場合には,コンソールから
5665 \begin_inset Flex Code
5666 status collapsed
5667
5668 \begin_layout Plain Layout
5669 texhash
5670 \end_layout
5671
5672 \end_inset
5673
5674 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,おそらくroot権限で行う必要があります.
5675 \end_layout
5676
5677 \begin_layout Enumerate
5678 MiK\SpecialChar TeX
5679 では,パッケージを全ユーザー用に導入した場合には,「Settings
5680 \begin_inset space ~
5681 \end_inset
5682
5683 (Admin)」を起動し,「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,「Settings」を起動して同様に行ってください
5684
5685 \end_layout
5686
5687 \end_deeper
5688 \begin_layout Enumerate
5689 最後に,\SpecialChar LyX
5690 に新しいパッケージがあることを告げなくてはなりません.そこで,\SpecialChar LyX
5691 からツール\SpecialChar menuseparator
5692 環境構成メニューを実行して,\SpecialChar LyX
5693 を再起動します.
5694 \end_layout
5695
5696 \begin_layout Standard
5697 これでパッケージが導入されました.この例では,文書クラス
5698 \begin_inset Flex Code
5699 status collapsed
5700
5701 \begin_layout Plain Layout
5702 Slides
5703 \begin_inset space ~
5704 \end_inset
5705
5706 (FoilTeX)
5707 \end_layout
5708
5709 \end_inset
5710
5711
5712 \begin_inset Flex MenuItem
5713 status collapsed
5714
5715 \begin_layout Plain Layout
5716 文書\SpecialChar menuseparator
5717 設定\SpecialChar menuseparator
5718 文書クラス
5719 \end_layout
5720
5721 \end_inset
5722
5723 で利用可能になっているはずです.
5724 \end_layout
5725
5726 \begin_layout Standard
5727 \begin_inset Flex MenuItem
5728 status collapsed
5729
5730 \begin_layout Plain Layout
5731 文書\SpecialChar menuseparator
5732 設定\SpecialChar menuseparator
5733 文書クラス
5734 \end_layout
5735
5736 \end_inset
5737
5738 メニューに列挙されてもいない\SpecialChar LaTeX
5739 文書クラスを使用したい場合には,その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
5740 \end_layout
5741
5742 \begin_layout Section
5743 レイアウトファイルの型
5744 \end_layout
5745
5746 \begin_layout Standard
5747 この節は,レイアウト情報を含む各種\SpecialChar LyX
5748 ファイルについて述べます.これらのファイルは,各種段落様式や文字様式についての記述がされているものであり,\SpecialChar LyX
5749 がそれらをどのように
5750 表示すべきなのか,また,それらをどのように\SpecialChar LaTeX
5751 やDocBook,XHTMLその他の出力形式に翻訳すればよいのかが記されています.
5752 \end_layout
5753
5754 \begin_layout Standard
5755 ここでは,レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,\SpecialChar LaTeX
5756 クラスだけでもサポートする文書の種類があまりにたくさんあるので,読者が出会いうるケース
5757 や問題をすべてカバーすることはとても望めません.\SpecialChar LyX
5758 ユーザーメーリングリストには,自身の経験を人々と分かち合いたいと望む,レイアウトデザインの経験豊かな人々がよく顔
5759 を出していますので,気軽に質問を投げかけてみてください.
5760 \end_layout
5761
5762 \begin_layout Standard
5763 新しいレイアウトを準備するに当たっては,\SpecialChar LyX
5764 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
5765 文書クラス用の\SpecialChar LyX
5766 レイアウトを作ったり,
5767 他の人々にも有用なモジュールをお書きになった場合には,
5768 \begin_inset CommandInset href
5769 LatexCommand href
5770 name "LyX Wikiのレイアウトに関する節"
5771 target "http://wiki.lyx.org/Layouts/Layouts"
5772 literal "false"
5773
5774 \end_inset
5775
5776 か,\SpecialChar LyX
5777 開発者メーリングリストに投稿して,\SpecialChar LyX
5778 頒布版に同梱することができるようにしてください
5779 \begin_inset Foot
5780 status collapsed
5781
5782 \begin_layout Plain Layout
5783 \SpecialChar LyX
5784 はGeneral Public Licenseの下でライセンスされていますので,\SpecialChar LyX
5785 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
5786 \end_layout
5787
5788 \end_inset
5789
5790
5791 \end_layout
5792
5793 \begin_layout Subsection
5794 レイアウトモジュール
5795 \begin_inset CommandInset label
5796 LatexCommand label
5797 name "subsec:レイアウトモジュール"
5798
5799 \end_inset
5800
5801
5802 \end_layout
5803
5804 \begin_layout Standard
5805 ここまで,「レイアウトファイル」についてお話してきました.しかし,レイアウト情報を含むものには,他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき
5806 ,それは
5807 \begin_inset Flex Code
5808 status collapsed
5809
5810 \begin_layout Plain Layout
5811 .layout
5812 \end_layout
5813
5814 \end_inset
5815
5816 拡張子を持ち,文書クラスに関する情報を\SpecialChar LyX
5817 に提供するものを指します.しかしながら,\SpecialChar LyX
5818  1.6以降,レイアウト情報は,拡張子が
5819 \begin_inset Flex Code
5820 status collapsed
5821
5822 \begin_layout Plain Layout
5823 .module
5824 \end_layout
5825
5826 \end_inset
5827
5828 のレイアウト
5829 \emph on
5830 モジュール
5831 \emph default
5832 にも含めることができます.レイアウトが\SpecialChar LaTeX
5833 クラスに対応しているように,モジュールは\SpecialChar LaTeX
5834 パッケージに対応するものであり,
5835 \begin_inset Flex Code
5836 status collapsed
5837
5838 \begin_layout Plain Layout
5839 endnotes
5840 \end_layout
5841
5842 \end_inset
5843
5844 モジュールのように,特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,特定の文書レイアウトに特化したものではなく,多くのレ
5845 イアウトで使用できるという意味において,一面,
5846 \begin_inset Flex Code
5847 status collapsed
5848
5849 \begin_layout Plain Layout
5850 stdsections.inc
5851 \end_layout
5852
5853 \end_inset
5854
5855 等のインクルードファイル
5856 \begin_inset Foot
5857 status collapsed
5858
5859 \begin_layout Plain Layout
5860 これらは任意の拡張子をつけることができますが,慣習的に
5861 \begin_inset Flex Code
5862 status collapsed
5863
5864 \begin_layout Plain Layout
5865 .inc
5866 \end_layout
5867
5868 \end_inset
5869
5870 拡張子が用いられます.
5871 \end_layout
5872
5873 \end_inset
5874
5875 のようなものです.相異なる点といえば,
5876 \begin_inset Flex Code
5877 status collapsed
5878
5879 \begin_layout Plain Layout
5880 article.cls
5881 \end_layout
5882
5883 \end_inset
5884
5885 でインクルードファイルを使用するには,そのファイルを編集しなくてはなりませんが,モジュールの場合は,
5886 \begin_inset Flex MenuItem
5887 status collapsed
5888
5889 \begin_layout Plain Layout
5890 文書\SpecialChar menuseparator
5891 設定
5892 \end_layout
5893
5894 \end_inset
5895
5896 ダイアログで選択するだけですみます.
5897 \end_layout
5898
5899 \begin_layout Standard
5900 モジュール作成は,新しく段落様式を一つ加えたり,自由差込枠を加えたりするだけで済むことも多いので,レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的に
5901 は,レイアウトファイルに入れることのできるものはすべて入れることができます.
5902 \end_layout
5903
5904 \begin_layout Standard
5905 新しいモジュールを作成し,それを
5906 \begin_inset Flex Code
5907 status collapsed
5908
5909 \begin_layout Plain Layout
5910 layout/
5911 \end_layout
5912
5913 \end_inset
5914
5915 フォルダにコピーした後,モジュールがメニューに現れるようにするためには,\SpecialChar LyX
5916 の環境構成を行って再起動しなくてはなりません.しかしながら,モジュールの修正の場合には,
5917 \begin_inset Flex MenuItem
5918 status collapsed
5919
5920 \begin_layout Plain Layout
5921 文書\SpecialChar menuseparator
5922 設定
5923 \end_layout
5924
5925 \end_inset
5926
5927 を開いてどれかを選択し「OK」を押せば,直ちに反映されます.
5928 \emph on
5929 これを実行する前に,作業中の文書を保存しておくことを強く勧めます
5930 \emph default
5931 .もっと言えば,
5932 \emph on
5933 実際の文書で作業しているときに,同時にモジュールの編集をしようとしないことを強く勧めます
5934 \emph default
5935 .もちろん開発陣は,そのような場合でも\SpecialChar LyX
5936 が安定性を維持するように努力していますが,あなたが作成したモジュール中の文法エラー等によって,奇妙な挙動が引き起こされるこ
5937 とがあるからです.
5938 \end_layout
5939
5940 \begin_layout Subsubsection
5941 ローカルレイアウト
5942 \end_layout
5943
5944 \begin_layout Standard
5945 \SpecialChar LyX
5946 に於けるモジュールは,\SpecialChar LaTeX
5947 に於けるパッケージに当たります.しかしながら,特定の差込枠や文字様式を,ひとつの文書のためだけに作りたいこともあるでしょうから,そのような
5948 場合に,他の文書でも利用できるようなモジュールをわざわざ書くことには,あまり意味がありません.このような場合に必要となるのが,「ローカルレイアウト」なのです.
5949 \end_layout
5950
5951 \begin_layout Standard
5952 これは,
5953 \family sans
5954 文書\SpecialChar menuseparator
5955 設定\SpecialChar menuseparator
5956 ローカルのレイアウト
5957 \family default
5958 にあります.そこにある大きなテキストボックスは,本来ならレイアウトファイルやモジュールに入力すべきものを,入力するためのものです.特定の文書のローカルレイアウト
5959 は,その文書専属のモジュールだと考えることができます.したがって,
5960 \begin_inset Flex Code
5961 status collapsed
5962
5963 \begin_layout Plain Layout
5964 Format
5965 \end_layout
5966
5967 \end_inset
5968
5969 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
5970  2.2では,最新書式は60です)
5971 \end_layout
5972
5973 \begin_layout Standard
5974 \begin_inset Flex Code
5975 status collapsed
5976
5977 \begin_layout Plain Layout
5978 ローカルのレイアウト
5979 \end_layout
5980
5981 \end_inset
5982
5983 面に何かを入力すると,下部にある「検証」ボタンが有効になります.このボタンを押すと,ユーザーの入力したものが,指定された書式に沿って,有効なレイアウト情報になっ
5984 ているかどうかが検証されます.すると,\SpecialChar LyX
5985 がその結果を返しますが,残念ながら,エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,\SpecialChar LyX
5986 をターミナル(
5987 擬似端末)から起動した場合には,そのエラーがターミナルに返されます.ローカルレイアウトは,正しい書式で入力されないうちは,保存することができません.
5988 \end_layout
5989
5990 \begin_layout Standard
5991 ここで,前節と同じ警告があります.ローカルレイアウトは,作業中の文書上で,特に保存していない文書上ではいじらないでください.それに注意すれば,テスト用文書上でロ
5992 ーカルレイアウトを用いるのは,レイアウトのアイディアを試すのに便利ですし,モジュール開発の第一歩としても便利です.
5993 \end_layout
5994
5995 \begin_layout Subsection
5996 \begin_inset Flex MenuItem
5997 status collapsed
5998
5999 \begin_layout Plain Layout
6000 .sty
6001 \end_layout
6002
6003 \end_inset
6004
6005 ファイル用のレイアウト
6006 \end_layout
6007
6008 \begin_layout Standard
6009 新しく\SpecialChar LaTeX
6010 文書クラスをサポートしようとするとき,\SpecialChar LaTeX2e
6011 クラス(
6012 \begin_inset Flex Code
6013 status collapsed
6014
6015 \begin_layout Plain Layout
6016 .cls
6017 \end_layout
6018
6019 \end_inset
6020
6021 )ファイルが絡む場合と,スタイル(
6022 \begin_inset Flex Code
6023 status collapsed
6024
6025 \begin_layout Plain Layout
6026 .sty
6027 \end_layout
6028
6029 \end_inset
6030
6031 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,通常は,かなり容易ですが,新しくクラスファイルをサポートすることは,もう少し難しくな
6032 ります.この節では,前者について述べることとし,後者については次節に譲ります.当然のことながら,新しくDocBook DTDをサポートしたい場合にも,同様の所見
6033 が当てはまります.
6034 \end_layout
6035
6036 \begin_layout Standard
6037 この易しい方の場合では,新しい文書クラスは,既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,スタイルファイルは
6038 \begin_inset Flex MenuItem
6039 status collapsed
6040
6041 \begin_layout Plain Layout
6042 myclass.sty
6043 \end_layout
6044
6045 \end_inset
6046
6047 という名称で,標準的なクラスである
6048 \begin_inset Flex MenuItem
6049 status collapsed
6050
6051 \begin_layout Plain Layout
6052 report.cls
6053 \end_layout
6054
6055 \end_inset
6056
6057 と共に用いられるものと仮定しましょう.
6058 \end_layout
6059
6060 \begin_layout Standard
6061 既存の文書クラスのレイアウトファイルを,以下のように,お使いのローカルディレクトリにコピーすることから始めてください
6062 \begin_inset Foot
6063 status collapsed
6064
6065 \begin_layout Plain Layout
6066 もちろん,どのディレクトリがローカルディレクトリとなるかは,プラットフォームに依存します.\SpecialChar LyX
6067 では,起動時に
6068 \begin_inset Flex MenuItem
6069 status collapsed
6070
6071 \begin_layout Plain Layout
6072 -userdir
6073 \end_layout
6074
6075 \end_inset
6076
6077 オプションを指定することによって,ローカルディレクトリを指定することも可能です.
6078 \end_layout
6079
6080 \end_inset
6081
6082
6083 \end_layout
6084
6085 \begin_layout LyX-Code
6086 cp report.layout ~/.lyx/layouts/myclass.layout
6087 \end_layout
6088
6089 \begin_layout Standard
6090 それから,
6091 \begin_inset Flex Code
6092 status collapsed
6093
6094 \begin_layout Plain Layout
6095 myclass.layout
6096 \end_layout
6097
6098 \end_inset
6099
6100 を編集して,
6101 \end_layout
6102
6103 \begin_layout LyX-Code
6104
6105 \backslash
6106 DeclareLaTeXClass{report}
6107 \end_layout
6108
6109 \begin_layout Standard
6110 という行を
6111 \end_layout
6112
6113 \begin_layout LyX-Code
6114
6115 \backslash
6116 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6117 \end_layout
6118
6119 \begin_layout Standard
6120 のように変更してください.それから,ファイル冒頭辺りに
6121 \end_layout
6122
6123 \begin_layout LyX-Code
6124 Preamble 
6125 \begin_inset Newline newline
6126 \end_inset
6127
6128     
6129 \backslash
6130 usepackage{myclass}
6131 \begin_inset Newline newline
6132 \end_inset
6133
6134 EndPreamble
6135 \end_layout
6136
6137 \begin_layout Standard
6138 と書き加えてください.
6139 \end_layout
6140
6141 \begin_layout Standard
6142 \SpecialChar LyX
6143 を起動して
6144 \begin_inset Flex MenuItem
6145 status collapsed
6146
6147 \begin_layout Plain Layout
6148 ツール\SpecialChar menuseparator
6149 環境構成
6150 \end_layout
6151
6152 \end_inset
6153
6154 を選択してください.それから\SpecialChar LyX
6155 を再起動し,新規文書を作成してみてください.すると,
6156 \begin_inset Flex MenuItem
6157 status collapsed
6158
6159 \begin_layout Plain Layout
6160 文書\SpecialChar menuseparator
6161 設定
6162 \end_layout
6163
6164 \end_inset
6165
6166 ダイアログの文書クラスオプションに「
6167 \begin_inset Flex MenuItem
6168 status collapsed
6169
6170 \begin_layout Plain Layout
6171 report (myclass)
6172 \end_layout
6173
6174 \end_inset
6175
6176 」が現れるはずです.新しいクラスにおいて,節区切り用コマンドなどの一部が,基礎となったクラス—この例では
6177 \begin_inset Flex Code
6178 status collapsed
6179
6180 \begin_layout Plain Layout
6181 report
6182 \end_layout
6183
6184 \end_inset
6185
6186 —とは違う挙動をすることはよくありますので,希望に応じて,各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6187 \begin_inset Flex Code
6188 status collapsed
6189
6190 \begin_layout Plain Layout
6191 stdsections.inc
6192 \end_layout
6193
6194 \end_inset
6195
6196 に含まれていますが,このファイルをコピーしたり変更したりする必要はありません.代わりに,自身のレイアウトファイル中,
6197 \begin_inset Flex Code
6198 status collapsed
6199
6200 \begin_layout Plain Layout
6201 stdsections.inc
6202 \end_layout
6203
6204 \end_inset
6205
6206 も取り込む
6207 \begin_inset Flex Code
6208 status collapsed
6209
6210 \begin_layout Plain Layout
6211 Input stdclass.inc
6212 \end_layout
6213
6214 \end_inset
6215
6216 の後に変更を加えるだけです.たとえば,章見だしのフォントをサンセリフ体に変更するには,以下のような行を加えます.
6217 \end_layout
6218
6219 \begin_layout LyX-Code
6220 Style Chapter
6221 \end_layout
6222
6223 \begin_layout LyX-Code
6224     Font
6225 \end_layout
6226
6227 \begin_layout LyX-Code
6228         Family Sans
6229 \end_layout
6230
6231 \begin_layout LyX-Code
6232     EndFont
6233 \end_layout
6234
6235 \begin_layout LyX-Code
6236 End
6237 \end_layout
6238
6239 \begin_layout Standard
6240 これは,既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6241 \end_layout
6242
6243 \begin_layout Standard
6244 新しいパッケージでは,基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,これらをレイアウトファイルに加えます.そのやり方につ
6245 いては,第
6246 \begin_inset CommandInset ref
6247 LatexCommand ref
6248 reference "sec:テキストクラス"
6249
6250 \end_inset
6251
6252 節の情報を参照してください.
6253 \end_layout
6254
6255 \begin_layout Standard
6256 もし
6257 \begin_inset Flex Code
6258 status collapsed
6259
6260 \begin_layout Plain Layout
6261 myclass.sty
6262 \end_layout
6263
6264 \end_inset
6265
6266 が他の文書クラスで使用することができたり,あるいはできない場合でも,基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょ
6267 う.最も簡単なモジュールの例としては,以下のようなものになります.
6268 \end_layout
6269
6270 \begin_layout LyX-Code
6271 #
6272 \backslash
6273 DeclareLyXModule{My Package}
6274 \end_layout
6275
6276 \begin_layout LyX-Code
6277 #DescriptionBegin
6278 \end_layout
6279
6280 \begin_layout LyX-Code
6281 #Support for mypkg.sty.
6282 \end_layout
6283
6284 \begin_layout LyX-Code
6285 #DescriptionEnd
6286 \begin_inset Newline newline
6287 \end_inset
6288
6289
6290 \end_layout
6291
6292 \begin_layout LyX-Code
6293 Format 60
6294 \begin_inset Newline newline
6295 \end_inset
6296
6297
6298 \end_layout
6299
6300 \begin_layout LyX-Code
6301 Preamble
6302 \begin_inset Newline newline
6303 \end_inset
6304
6305     
6306 \backslash
6307 usepackage{mypkg}
6308 \begin_inset Newline newline
6309 \end_inset
6310
6311 EndPreamble
6312 \end_layout
6313
6314 \begin_layout Standard
6315 もう少し複雑なモジュールでは,既存の構成物の挙動を修正したり,新しい構成物を定義したりすることになるでしょう.この辺りの議論については,第
6316 \begin_inset CommandInset ref
6317 LatexCommand ref
6318 reference "sec:テキストクラス"
6319
6320 \end_inset
6321
6322 節を参照してください.
6323 \end_layout
6324
6325 \begin_layout Subsection
6326 \begin_inset Flex MenuItem
6327 status collapsed
6328
6329 \begin_layout Plain Layout
6330 .cls
6331 \end_layout
6332
6333 \end_inset
6334
6335 ファイル用のレイアウト
6336 \end_layout
6337
6338 \begin_layout Standard
6339 これには2つのケースがありえます.ひとつは,クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,多くの学位論文用クラスは
6340 \begin_inset Flex MenuItem
6341 status collapsed
6342
6343 \begin_layout Plain Layout
6344 book.cls
6345 \end_layout
6346
6347 \end_inset
6348
6349 に基づいています.お使いのものがどうであるかを見るには,クラスファイル中に
6350 \end_layout
6351
6352 \begin_layout LyX-Code
6353
6354 \backslash
6355 LoadClass{book}
6356 \end_layout
6357
6358 \begin_layout Standard
6359 という行がないかどうか探してください.もしこれがあれば,
6360 \begin_inset Flex Code
6361 status collapsed
6362
6363 \begin_layout Plain Layout
6364 Declare\SpecialChar LaTeX
6365 Class
6366 \end_layout
6367
6368 \end_inset
6369
6370 行は異なりますが,おおよそ前節のように進めることができます.あなたが新しく作るクラスが
6371 \begin_inset Flex Code
6372 status collapsed
6373
6374 \begin_layout Plain Layout
6375 thesis
6376 \end_layout
6377
6378 \end_inset
6379
6380 であり,
6381 \begin_inset Flex Code
6382 status collapsed
6383
6384 \begin_layout Plain Layout
6385 book
6386 \end_layout
6387
6388 \end_inset
6389
6390 クラスに基づいていれば,
6391 \begin_inset Flex Code
6392 status collapsed
6393
6394 \begin_layout Plain Layout
6395 Declare\SpecialChar LaTeX
6396 Class
6397 \end_layout
6398
6399 \end_inset
6400
6401 行は以下のようにします
6402 \begin_inset Foot
6403 status collapsed
6404
6405 \begin_layout Plain Layout
6406 さらに\SpecialChar LyX
6407 は,文書クラス名がレイアウトファイル名と同じだと仮定するので,クラスファイルを
6408 \begin_inset Flex Code
6409 status collapsed
6410
6411 \begin_layout Plain Layout
6412 thesis.layout
6413 \end_layout
6414
6415 \end_inset
6416
6417 という名前で保存するのが最も簡単です. 
6418 \end_layout
6419
6420 \end_inset
6421
6422
6423 \end_layout
6424
6425 \begin_layout LyX-Code
6426
6427 \backslash
6428 DeclareLaTeXClass[thesis,book]{thesis}
6429 \end_layout
6430
6431 \begin_layout Standard
6432 他方,新しいクラスが既存のクラスに基づいていない場合には,おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,類似した\SpecialChar LaTeX
6433 クラスを使用してい
6434 る既存のレイアウトファイルをコピーして,それに修正を加えるようにすることを強くお勧めします.少なくとも,どの項目を考慮すべきかがわかるように,既存のファイルを作
6435 業の開始点としてください.
6436 \end_layout
6437
6438 \begin_layout Subsection
6439 ひな型を作成する
6440 \begin_inset CommandInset label
6441 LatexCommand label
6442 name "sec:ひな型を作成する"
6443
6444 \end_inset
6445
6446
6447 \end_layout
6448
6449 \begin_layout Standard
6450 新しい文書クラス用のレイアウトファイルを書いたならば,そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,内容はダミーですが,レイアウトの使
6451 い方を示す一種のチュートリアルとして動作します.もちろん,イメージを得るために,\SpecialChar LyX
6452 添付のひな型をあれこれ見てみるのもよいでしょう.
6453 \end_layout
6454
6455 \begin_layout Standard
6456 ひな型は,通常の文書と同様,\SpecialChar LyX
6457 を使って作成することができます.唯一違う点は,通常の文書では,フォント構成や用紙寸法を含め,すべてのあり得る設定が為されている点です
6458 .これらの場合,通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,ひな型の設計者は,
6459 \begin_inset Flex Code
6460 status collapsed
6461
6462 \begin_layout Plain Layout
6463
6464 \backslash
6465 fontscheme
6466 \end_layout
6467
6468 \end_inset
6469
6470
6471 \begin_inset Flex Code
6472 status collapsed
6473
6474 \begin_layout Plain Layout
6475
6476 \backslash
6477 papersize
6478 \end_layout
6479
6480 \end_inset
6481
6482 などの対応するコマンドをひな型\SpecialChar LyX
6483 ファイルから取り除く必要があります.これは,たとえば
6484 \begin_inset Flex Code
6485 status collapsed
6486
6487 \begin_layout Plain Layout
6488 vi
6489 \end_layout
6490
6491 \end_inset
6492
6493
6494 \begin_inset Flex Code
6495 status collapsed
6496
6497 \begin_layout Plain Layout
6498 notepad
6499 \end_layout
6500
6501 \end_inset
6502
6503 のような,どの軽いテキストエディタでも行うことができます.
6504 \end_layout
6505
6506 \begin_layout Standard
6507 編集したひな型を
6508 \begin_inset Flex Code
6509 status collapsed
6510
6511 \begin_layout Plain Layout
6512 UserDir/templates/
6513 \end_layout
6514
6515 \end_inset
6516
6517 に置き,グローバルなひな型ディレクトリ
6518 \begin_inset Flex Code
6519 status collapsed
6520
6521 \begin_layout Plain Layout
6522 LyXDir/templates/
6523 \end_layout
6524
6525 \end_inset
6526
6527 から使用したいものを同じ場所にコピーし,
6528 \begin_inset Flex MenuItem
6529 status collapsed
6530
6531 \begin_layout Plain Layout
6532 ツール\SpecialChar menuseparator
6533 設定\SpecialChar menuseparator
6534 パス
6535 \end_layout
6536
6537 \end_inset
6538
6539 ダイアログのひな型パスを再定義してください.
6540 \end_layout
6541
6542 \begin_layout Standard
6543 ところで,特別な意味を持つひな型
6544 \begin_inset Flex Code
6545 status collapsed
6546
6547 \begin_layout Plain Layout
6548 defaults.lyx
6549 \end_layout
6550
6551 \end_inset
6552
6553 があることに注意してください.このひな型は,
6554 \begin_inset Flex MenuItem
6555 status collapsed
6556
6557 \begin_layout Plain Layout
6558 ファイル\SpecialChar menuseparator
6559 新規
6560 \end_layout
6561
6562 \end_inset
6563
6564 を使って新規文書を作成する際,便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
6565 内部から作成するのにしなくてはならないことは,対応する設定を持つ文書を
6566 開き,
6567 \begin_inset Flex MenuItem
6568 status collapsed
6569
6570 \begin_layout Plain Layout
6571 文書既定値として保存
6572 \end_layout
6573
6574 \end_inset
6575
6576 ボタンを押すことです.
6577 \end_layout
6578
6579 \begin_layout Subsection
6580 旧レイアウトファイルの更新
6581 \end_layout
6582
6583 \begin_layout Standard
6584 レイアウトファイルの書式は,\SpecialChar LyX
6585 のリリース毎に変更されますので,古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
6586 が古い書式のレイアウトファイルを読み込むと,\SpecialChar LyX
6587 は,
6588 自動的に変換ツール
6589 \begin_inset Flex Code
6590 status collapsed
6591
6592 \begin_layout Plain Layout
6593 \SpecialChar LyX
6594 Dir/scripts/layout2layout.py
6595 \end_layout
6596
6597 \end_inset
6598
6599 を呼び出し,それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,\SpecialChar LyX
6600 がこれを毎回行な
6601 わくて済むように,レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,以下のように変換子を手動で呼び出してください.
6602 \end_layout
6603
6604 \begin_layout Enumerate
6605 ファイル
6606 \begin_inset Flex Code
6607 status collapsed
6608
6609 \begin_layout Plain Layout
6610 myclass.layout
6611 \end_layout
6612
6613 \end_inset
6614
6615
6616 \begin_inset Flex Code
6617 status collapsed
6618
6619 \begin_layout Plain Layout
6620 myclass.old
6621 \end_layout
6622
6623 \end_inset
6624
6625 に改称
6626 \end_layout
6627
6628 \begin_layout Enumerate
6629 以下のコマンドをコール
6630 \begin_inset Newline newline
6631 \end_inset
6632
6633
6634 \begin_inset Flex Code
6635 status collapsed
6636
6637 \begin_layout Plain Layout
6638 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6639 \end_layout
6640
6641 \end_inset
6642
6643
6644 \begin_inset Newline newline
6645 \end_inset
6646
6647 ここで
6648 \begin_inset Flex Code
6649 status collapsed
6650
6651 \begin_layout Plain Layout
6652 LyXDir
6653 \end_layout
6654
6655 \end_inset
6656
6657 は\SpecialChar LyX
6658 システムディレクトリの名前です.
6659 \end_layout
6660
6661 \begin_layout Standard
6662 手動変換は,インクルードされているファイル内部の変更までは取り扱いませんので,それらのファイルは別に変換されなくてはなりません.
6663 \end_layout
6664
6665 \begin_layout Subsection
6666
6667 \lang english
6668 \begin_inset CommandInset label
6669 LatexCommand label
6670 name "subsec:Cite-Engine-Files"
6671
6672 \end_inset
6673
6674 Cite engine files
6675 \end_layout
6676
6677 \begin_layout Standard
6678
6679 \lang english
6680 A specific form of layout files are the so-called 
6681 \begin_inset Flex Code
6682 status collapsed
6683
6684 \begin_layout Plain Layout
6685
6686 \lang english
6687 *.citeengine
6688 \end_layout
6689
6690 \end_inset
6691
6692  files that are located in the 
6693 \begin_inset Flex Code
6694 status collapsed
6695
6696 \begin_layout Plain Layout
6697
6698 \lang english
6699 citeengines/
6700 \end_layout
6701
6702 \end_inset
6703
6704  sub-directory.
6705  Their purpose is to define the specifics of \SpecialChar LaTeX
6706  packages aimed at bibliography
6707  generation, such as 
6708 \family sans
6709 natbib
6710 \family default
6711 ,
6712 \family sans
6713  jurabib
6714 \family default
6715  or 
6716 \family sans
6717 biblatex
6718 \family default
6719 , but also the way how normal Bib\SpecialChar TeX
6720  citations (without additional packages)
6721  are handled in \SpecialChar LyX
6722  is defined in such a file.
6723  
6724 \end_layout
6725
6726 \begin_layout Standard
6727
6728 \lang english
6729 More specifically, it is defined which packages \SpecialChar LyX
6730  needs to load, which citation
6731  commands are available, how these are to be displayed in \SpecialChar LyX
6732  (in the workarea,
6733  the dialogs, the context menus) as well as in the XHTML and plain text
6734  output.
6735  Furthermore, the files specify available style variants (author-year, numerical
6736 , etc.) and their specifics.
6737  The cite engine files are also used to generate the options that are available
6738  in 
6739 \family sans
6740 Document\SpecialChar menuseparator
6741 Settings\SpecialChar ldots
6742 \SpecialChar menuseparator
6743 Bibliography\SpecialChar menuseparator
6744 Style engine
6745 \family default
6746 .
6747 \end_layout
6748
6749 \begin_layout Standard
6750
6751 \lang english
6752 Even though a cite engine file is essentially a normal layout file that
6753  could theoretically include any layout information, it usually primarily
6754  includes some specific parameters such as 
6755 \begin_inset Flex Code
6756 status collapsed
6757
6758 \begin_layout Plain Layout
6759
6760 \lang english
6761 MaxCiteNames
6762 \end_layout
6763
6764 \end_inset
6765
6766
6767 \begin_inset Flex Code
6768 status collapsed
6769
6770 \begin_layout Plain Layout
6771
6772 \lang english
6773 CiteFramework
6774 \end_layout
6775
6776 \end_inset
6777
6778
6779 \begin_inset Flex Code
6780 status collapsed
6781
6782 \begin_layout Plain Layout
6783
6784 \lang english
6785 CiteEngine
6786 \end_layout
6787
6788 \end_inset
6789
6790  and 
6791 \begin_inset Flex Code
6792 status collapsed
6793
6794 \begin_layout Plain Layout
6795
6796 \lang english
6797 CiteFormat
6798 \end_layout
6799
6800 \end_inset
6801
6802  blocks.
6803  The syntax of the latter two is described in 
6804 \begin_inset CommandInset ref
6805 LatexCommand ref
6806 reference "subsec:Citation-engine-description"
6807 plural "false"
6808 caps "false"
6809 noprefix "false"
6810
6811 \end_inset
6812
6813  and 
6814 \begin_inset CommandInset ref
6815 LatexCommand ref
6816 reference "subsec:Citation-format-description"
6817
6818 \end_inset
6819
6820 , as well as in the files themselves.
6821 \end_layout
6822
6823 \begin_layout Section
6824 \begin_inset CommandInset label
6825 LatexCommand label
6826 name "sec:テキストクラス"
6827
6828 \end_inset
6829
6830 レイアウトファイルの書式
6831 \end_layout
6832
6833 \begin_layout Standard
6834 以下の各節では,いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,直面することの説明を行います.私たちからのアドバイスとしては
6835 ,ゆっくりと進めるようにして,ちょっと進むごとに保存やテストを行い,心休まる音楽を聴き,好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰ま
6836 ってしまったときにはそうです.実際にはそんなに難しいことではないのですが,特に一度に多くのことをやろうとすると,選択肢が多くありすぎて圧倒されてしまうのです.さ
6837 て,もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
6838 の既存のレイアウトを例や参考に使ったり,既存のレイアウトを自身の目的に合わせて修正したりすると,作業が容易になります.
6839 \end_layout
6840
6841 \begin_layout Standard
6842 この章で述べられているタグは,すべて大文字小文字を区別しません.つまり,
6843 \begin_inset Flex Code
6844 status collapsed
6845
6846 \begin_layout Plain Layout
6847 Style
6848 \end_layout
6849
6850 \end_inset
6851
6852
6853 \begin_inset Flex Code
6854 status collapsed
6855
6856 \begin_layout Plain Layout
6857 style
6858 \end_layout
6859
6860 \end_inset
6861
6862
6863 \begin_inset Flex Code
6864 status collapsed
6865
6866 \begin_layout Plain Layout
6867 StYlE
6868 \end_layout
6869
6870 \end_inset
6871
6872 は同じコマンドとなります.機能名の後にある角括弧は,その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,既定値は
6873 \begin_inset Flex Code
6874 status collapsed
6875
6876 \begin_layout Plain Layout
6877
6878 \emph on
6879 強調
6880 \end_layout
6881
6882 \end_inset
6883
6884 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,既定値は
6885 \begin_inset Flex Code
6886 status collapsed
6887
6888 \begin_layout Plain Layout
6889 浮動小数点型=
6890 \emph on
6891 既定値
6892 \end_layout
6893
6894 \end_inset
6895
6896 のように表示されます.
6897 \end_layout
6898
6899 \begin_layout Subsection
6900 文書クラス宣言と分類
6901 \end_layout
6902
6903 \begin_layout Standard
6904 レイアウトファイル中の
6905 \begin_inset Flex Code
6906 status collapsed
6907
6908 \begin_layout Plain Layout
6909 #
6910 \end_layout
6911
6912 \end_inset
6913
6914 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
6915 \begin_inset Flex Code
6916 status collapsed
6917
6918 \begin_layout Plain Layout
6919 *.layout
6920 \end_layout
6921
6922 \end_inset
6923
6924 ファイルは,以下のような行で始めなくてはならないのです.
6925 \end_layout
6926
6927 \begin_layout LyX-Code
6928
6929 \size small
6930 #% Do not delete the line below; configure depends on this
6931 \end_layout
6932
6933 \begin_layout LyX-Code
6934
6935 \size small
6936 #  
6937 \backslash
6938 DeclareLaTeXClass{Article (Standard Class)}
6939 \end_layout
6940
6941 \begin_layout LyX-Code
6942
6943 \size small
6944 #  
6945 \backslash
6946 DeclareCategory{Articles}
6947 \end_layout
6948
6949 \begin_layout Standard
6950 2行目と3行目は,\SpecialChar LyX
6951 が環境構成を行う際に用いられます.このレイアウトファイルは,\SpecialChar LaTeX
6952 スクリプト
6953 \begin_inset Flex Code
6954 status collapsed
6955
6956 \begin_layout Plain Layout
6957 chkconfig.ltx
6958 \end_layout
6959
6960 \end_inset
6961
6962 が,
6963 \begin_inset Flex Code
6964 status collapsed
6965
6966 \begin_layout Plain Layout
6967 #
6968 \end_layout
6969
6970 \end_inset
6971
6972 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
6973 コメントですが,2行目にはテキストクラスの宣言が,3行目にはクラスの分類(非必須)が書かれています.これらの
6974 行が
6975 \begin_inset Flex Code
6976 status collapsed
6977
6978 \begin_layout Plain Layout
6979 article.layout
6980 \end_layout
6981
6982 \end_inset
6983
6984 と名付けられたファイルにあると,
6985 \begin_inset Flex Code
6986 status collapsed
6987
6988 \begin_layout Plain Layout
6989 article
6990 \end_layout
6991
6992 \end_inset
6993
6994 (レイアウトファイル名)という名称のテキストクラスを定義し,\SpecialChar LaTeX
6995 文書クラス
6996 \begin_inset Flex Code
6997 status collapsed
6998
6999 \begin_layout Plain Layout
7000 article.cls
7001 \end_layout
7002
7003 \end_inset
7004
7005 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
7006 \begin_inset Flex MenuItem
7007 status collapsed
7008
7009 \begin_layout Plain Layout
7010 文書\SpecialChar menuseparator
7011 設定
7012 \end_layout
7013
7014 \end_inset
7015
7016 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
7017 \begin_inset Flex MenuItem
7018 status collapsed
7019
7020 \begin_layout Plain Layout
7021 文書\SpecialChar menuseparator
7022 設定
7023 \end_layout
7024
7025 \end_inset
7026
7027 ダイアログで使用され,文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,典型的なものには,「Articles」「Books」「Repor
7028 ts」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,このクラスは「Uncatego
7029 rized」グループに属することになります.
7030 \end_layout
7031
7032 \begin_layout Standard
7033 節見出し表示に変更を加えた,
7034 \begin_inset Flex Code
7035 status collapsed
7036
7037 \begin_layout Plain Layout
7038 article.cls
7039 \end_layout
7040
7041 \end_inset
7042
7043 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7044 \begin_inset Flex Code
7045 status collapsed
7046
7047 \begin_layout Plain Layout
7048 myarticle.layout
7049 \end_layout
7050
7051 \end_inset
7052
7053 というファイルに置いたとすると,このファイルのヘッダは以下のようになります.
7054 \end_layout
7055
7056 \begin_layout LyX-Code
7057
7058 \size small
7059 #% Do not delete the line below; configure depends on this 
7060 \end_layout
7061
7062 \begin_layout LyX-Code
7063
7064 \size small
7065 #  
7066 \backslash
7067 DeclareLaTeXClass[article]{article (with My Own Headings)}
7068 \end_layout
7069
7070 \begin_layout LyX-Code
7071
7072 \size small
7073 #  
7074 \backslash
7075 DeclareCategory{Articles}
7076 \end_layout
7077
7078 \begin_layout Standard
7079 これは,\SpecialChar LaTeX
7080 文書クラス
7081 \begin_inset Flex Code
7082 status collapsed
7083
7084 \begin_layout Plain Layout
7085 article.cls
7086 \end_layout
7087
7088 \end_inset
7089
7090 に関連づけられ,「Article (with My Own Headings)」と表示される,
7091 \begin_inset Flex Code
7092 status collapsed
7093
7094 \begin_layout Plain Layout
7095 myarticle
7096 \end_layout
7097
7098 \end_inset
7099
7100 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,以下のように宣言すると良いでしょう.
7101 \end_layout
7102
7103 \begin_layout LyX-Code
7104
7105 \size small
7106 #% Do not delete the line below; configure depends on this 
7107 \end_layout
7108
7109 \begin_layout LyX-Code
7110
7111 \size small
7112 #  
7113 \backslash
7114 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7115 \end_layout
7116
7117 \begin_layout LyX-Code
7118
7119 \size small
7120 #  
7121 \backslash
7122 DeclareCategory{Articles}
7123 \end_layout
7124
7125 \begin_layout Standard
7126 これは,このテキストクラスが
7127 \begin_inset Flex Code
7128 status collapsed
7129
7130 \begin_layout Plain Layout
7131 foo.sty
7132 \end_layout
7133
7134 \end_inset
7135
7136 パッケージを使用することを示しています.最後に,DocBookコード向けのクラスを宣言することもできることを見ます.典型的な宣言は以下のようになります.
7137 \end_layout
7138
7139 \begin_layout LyX-Code
7140
7141 \size small
7142 #% Do not delete the line below; configure depends on this 
7143 \end_layout
7144
7145 \begin_layout LyX-Code
7146
7147 \size small
7148
7149 \backslash
7150 DeclareDocBookClass[article]{SGML (DocBook article)}
7151 \end_layout
7152
7153 \begin_layout LyX-Code
7154
7155 \size small
7156 #  
7157 \backslash
7158 DeclareCategory{Articles}
7159 \end_layout
7160
7161 \begin_layout Standard
7162 これらの宣言には,文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7163 \end_layout
7164
7165 \begin_layout Standard
7166 できる限り明示的に要約すると,レイアウト宣言は以下の形をとります.
7167 \end_layout
7168
7169 \begin_layout LyX-Code
7170
7171 \size small
7172 #  
7173 \backslash
7174 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7175 \end_layout
7176
7177 \begin_layout LyX-Code
7178
7179 \size small
7180 #  
7181 \backslash
7182 DeclareCategory{分類}
7183 \end_layout
7184
7185 \begin_layout Standard
7186 ここで「クラス」は,\SpecialChar LaTeX
7187 クラスファイル名とレイアウトファイル名が異なるときのみ,指定する必要があります.クラスファイル名が指定されなければ,\SpecialChar LyX
7188 は単純に,クラスファイル
7189 名がレイアウトファイル名と同じであると仮定します.
7190 \end_layout
7191
7192 \begin_layout Standard
7193 テキストクラスがあなたの嗜好に合うように修正できたならば,他にしなくてはならないことは,それを
7194 \begin_inset Flex Code
7195 status collapsed
7196
7197 \begin_layout Plain Layout
7198 LyXDir/layouts/
7199 \end_layout
7200
7201 \end_inset
7202
7203
7204 \begin_inset Flex Code
7205 status collapsed
7206
7207 \begin_layout Plain Layout
7208 UserDir/layouts
7209 \end_layout
7210
7211 \end_inset
7212
7213 にコピーし,
7214 \begin_inset Flex MenuItem
7215 status collapsed
7216
7217 \begin_layout Plain Layout
7218 ツール\SpecialChar menuseparator
7219 環境構成
7220 \end_layout
7221
7222 \end_inset
7223
7224 を実行し,\SpecialChar LyX
7225 を終了して再起動するだけです.そうすれば,この新しいテキストクラスが,他のテキストクラスと同様に使用できるようになります.
7226 \end_layout
7227
7228 \begin_layout Standard
7229 レイアウトファイルが導入されたならば,これを編集して,環境構成したり\SpecialChar LyX
7230 を再起動したりすることなく,その変更を確認することができます
7231 \begin_inset Foot
7232 status collapsed
7233
7234 \begin_layout Plain Layout
7235 第1.6版よりも前の\SpecialChar LyX
7236 では,これを行うことはできませんでした.その結果,レイアウトファイルに加えた変更を反映させるには,その度に\SpecialChar LyX
7237 を再起動しなくてはならなかったので,
7238 レイアウトファイルを編集する作業は,たいへん時間を浪費する作業だったのです.
7239 \end_layout
7240
7241 \end_inset
7242
7243 .\SpecialChar LyX
7244 関数
7245 \begin_inset Flex MenuItem
7246 status collapsed
7247
7248 \begin_layout Plain Layout
7249 layout-reload
7250 \end_layout
7251
7252 \end_inset
7253
7254 を使用すれば,現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—もちろん自分でどれかのキーに割り当て
7255 ることもできますが—.しかし,通常は,この関数を使用する場合は,これをミニバッファに入力します.
7256 \end_layout
7257
7258 \begin_layout Standard
7259
7260 \emph on
7261 注意
7262 \emph default
7263
7264 \begin_inset Flex MenuItem
7265 status collapsed
7266
7267 \begin_layout Plain Layout
7268 layout-reload
7269 \end_layout
7270
7271 \end_inset
7272
7273 はかなり「高度な機能」です.この機能を利用する前に,作業中の文書を保存しておくことを
7274 \emph on
7275 強く
7276 \emph default
7277 勧めます.もっと言えば,大事な文書の作業をしているときに,同時にレイアウト情報の編集をしようとしないことを
7278 \emph on
7279 強く
7280 \emph default
7281 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,そのようなエラーが起こると,\SpecialChar LyX
7282 は現在の
7283 レイアウトが無効であるものと判断して,別のレイアウトに切り替えようとする可能性があります
7284 \begin_inset Foot
7285 status collapsed
7286
7287 \begin_layout Plain Layout
7288 非常に悪質な文法エラーの場合には,\SpecialChar LyX
7289 が終了してしまうことさえあります.これは,ある種のエラーでは,\SpecialChar LyX
7290 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意く
7291 ださい.
7292 \end_layout
7293
7294 \end_inset
7295
7296 .\SpecialChar LyX
7297 開発陣は,このような状況下でも安定性を保つよう努力していますが,後悔よりも安心の方が良いでしょう
7298 \begin_inset Foot
7299 status collapsed
7300
7301 \begin_layout Plain Layout
7302 重ねての助言ですが,つねにバックアップを取ってください.それから,お母さんのお片づけに注意.
7303 \end_layout
7304
7305 \end_inset
7306
7307
7308 \end_layout
7309
7310 \begin_layout Subsection
7311 モジュール宣言
7312 \end_layout
7313
7314 \begin_layout Standard
7315 モジュールは,以下のような行で始まらなくてはなりません.
7316 \end_layout
7317
7318 \begin_layout LyX-Code
7319 #
7320 \backslash
7321 DeclareLyXModule[endnotes.sty]{Endnotes} 
7322 \end_layout
7323
7324 \begin_layout Standard
7325 波括弧内に入っている必須引数はモジュール名で,これは
7326 \begin_inset Flex MenuItem
7327 status collapsed
7328
7329 \begin_layout Plain Layout
7330 文書\SpecialChar menuseparator
7331 設定
7332 \end_layout
7333
7334 \end_inset
7335
7336 内に表示されます.角括弧内の引数は非必須です.これは,モジュールが依存する\SpecialChar LaTeX
7337 パッケージをすべて宣言します.また,非必須引数として,
7338 \begin_inset Flex Code
7339 status collapsed
7340
7341 \begin_layout Plain Layout
7342 変換元->変換先
7343 \end_layout
7344
7345 \end_inset
7346
7347 の形を使用することができます.これは,
7348 \begin_inset Flex Code
7349 status collapsed
7350
7351 \begin_layout Plain Layout
7352 変換元
7353 \end_layout
7354
7355 \end_inset
7356
7357 形式から
7358 \begin_inset Flex Code
7359 status collapsed
7360
7361 \begin_layout Plain Layout
7362 変換先
7363 \end_layout
7364
7365 \end_inset
7366
7367 形式への変換鎖が存在するときのみ,このモジュールを使用できることを宣言するものです.
7368 \end_layout
7369
7370 \begin_layout Standard
7371 それから,以下のようなモジュール宣言を行います
7372 \begin_inset Foot
7373 status collapsed
7374
7375 \begin_layout Plain Layout
7376 モジュールを\SpecialChar LyX
7377 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,次回のインタフェースの更新時に翻訳されることになります.
7378 \end_layout
7379
7380 \end_inset
7381
7382
7383 \end_layout
7384
7385 \begin_layout LyX-Code
7386 #DescriptionBegin 
7387 \end_layout
7388
7389 \begin_layout LyX-Code
7390 #Adds an endnote command, in addition to footnotes.
7391  
7392 \end_layout
7393
7394 \begin_layout LyX-Code
7395 #You will need to add  
7396 \backslash
7397 theendnotes in TeX code where you 
7398 \end_layout
7399
7400 \begin_layout LyX-Code
7401 #want the endnotes to appear.
7402  
7403 \end_layout
7404
7405 \begin_layout LyX-Code
7406 #DescriptionEnd 
7407 \end_layout
7408
7409 \begin_layout LyX-Code
7410 #Requires: somemodule | othermodule
7411 \end_layout
7412
7413 \begin_layout LyX-Code
7414 #Excludes: badmodule
7415 \end_layout
7416
7417 \begin_layout Standard
7418 ここで説明(Description)は,
7419 \begin_inset Flex MenuItem
7420 status collapsed
7421
7422 \begin_layout Plain Layout
7423 文書\SpecialChar menuseparator
7424 設定
7425 \end_layout
7426
7427 \end_inset
7428
7429 でこのモジュールが何をするものか,ユーザに情報を与えるために使用されます.
7430 \begin_inset Flex Code
7431 status collapsed
7432
7433 \begin_layout Plain Layout
7434 Requires
7435 \end_layout
7436
7437 \end_inset
7438
7439 行は,このモジュールが共に使用する必要がある,他のモジュールを特定するのに用いられます.一方,
7440 \begin_inset Flex Code
7441 status collapsed
7442
7443 \begin_layout Plain Layout
7444 Excludes
7445 \end_layout
7446
7447 \end_inset
7448
7449 行は,このモジュールが共に使用してはならない,他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,上記のようにモジュールが複数ある場合には,パ
7450 イプ記号「|」で区切らなくてはなりません.
7451 \begin_inset Flex Code
7452 status collapsed
7453
7454 \begin_layout Plain Layout
7455 Requires
7456 \end_layout
7457
7458 \end_inset
7459
7460 に指定されたモジュールは,選言的に取り扱われることに注意してください.つまり,
7461 \begin_inset Flex Code
7462 status collapsed
7463
7464 \begin_layout Plain Layout
7465 Requires
7466 \end_layout
7467
7468 \end_inset
7469
7470 に指定されたモジュールのうち,
7471 \emph on
7472 少なくとも一つ
7473 \emph default
7474 が使用されていればよいということです.同様に,
7475 \begin_inset Flex Code
7476 status collapsed
7477
7478 \begin_layout Plain Layout
7479 Excludes
7480 \end_layout
7481
7482 \end_inset
7483
7484 に指定されたモジュールは,一つも使用されてはなりません.ここでモジュールは,
7485 \begin_inset Flex Code
7486 status collapsed
7487
7488 \begin_layout Plain Layout
7489 .module
7490 \end_layout
7491
7492 \end_inset
7493
7494 拡張子を除いたファイル名で認識されることに注意してください.つまり
7495 \begin_inset Flex Code
7496 status collapsed
7497
7498 \begin_layout Plain Layout
7499 somemodule
7500 \end_layout
7501
7502 \end_inset
7503
7504 とは,実のところ
7505 \begin_inset Flex Code
7506 status collapsed
7507
7508 \begin_layout Plain Layout
7509 somemodule.module
7510 \end_layout
7511
7512 \end_inset
7513
7514 のこ
7515 \end_layout
7516
7517 \begin_layout Subsection
7518
7519 \lang english
7520 The CiteEngine file declaration
7521 \end_layout
7522
7523 \begin_layout Standard
7524
7525 \lang english
7526 A cite engine file must begin with a line like the following:
7527 \end_layout
7528
7529 \begin_layout LyX-Code
7530
7531 \lang english
7532 #
7533 \backslash
7534 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
7535 \end_layout
7536
7537 \begin_layout Standard
7538
7539 \lang english
7540 The mandatory argument, in curly brackets, is the name of the module, as
7541  it should appear in 
7542 \begin_inset Flex Noun
7543 status collapsed
7544
7545 \begin_layout Plain Layout
7546
7547 \lang english
7548 Document\SpecialChar menuseparator
7549 Settings\SpecialChar menuseparator
7550 Bibliography
7551 \end_layout
7552
7553 \end_inset
7554
7555 .
7556  The argument in square brackets is optional: It declares any \SpecialChar LaTeX
7557  packages
7558  on which the cite engine depends.
7559 \end_layout
7560
7561 \begin_layout Standard
7562
7563 \lang english
7564 The cite engine declaration should then be followed by lines like the following
7565 \begin_inset Foot
7566 status collapsed
7567
7568 \begin_layout Plain Layout
7569
7570 \lang english
7571 Preferably in English if the module should be published with \SpecialChar LyX
7572 .
7573  This description will appear in the list of messages to be translated and
7574  will be thus translated with the next interface update.
7575 \end_layout
7576
7577 \end_inset
7578
7579 :
7580 \end_layout
7581
7582 \begin_layout LyX-Code
7583
7584 \lang english
7585 # DescriptionBegin
7586 \end_layout
7587
7588 \begin_layout LyX-Code
7589
7590 \lang english
7591 #   Biblatex supports many author-year and numerical styles.
7592 \end_layout
7593
7594 \begin_layout LyX-Code
7595
7596 \lang english
7597 #   It is mainly aimed at the Humanities.
7598  It is highly
7599 \end_layout
7600
7601 \begin_layout LyX-Code
7602
7603 \lang english
7604 #   customizable, fully localized and provides many features
7605 \end_layout
7606
7607 \begin_layout LyX-Code
7608
7609 \lang english
7610 #   that are not possible with BibTeX.
7611  The use of 'biber' as
7612 \end_layout
7613
7614 \begin_layout LyX-Code
7615
7616 \lang english
7617 #   bibliography processor is advised.
7618 \end_layout
7619
7620 \begin_layout LyX-Code
7621
7622 \lang english
7623 # DescriptionEnd
7624 \end_layout
7625
7626 \begin_layout Standard
7627
7628 \lang english
7629 The description is used in 
7630 \begin_inset Flex Noun
7631 status collapsed
7632
7633 \begin_layout Plain Layout
7634
7635 \lang english
7636 Document\SpecialChar menuseparator
7637 Settings\SpecialChar menuseparator
7638 Bibliography
7639 \end_layout
7640
7641 \end_inset
7642
7643  to provide the user with information about the cite engine.
7644 \lang japanese
7645 とです.
7646 \end_layout
7647
7648 \begin_layout Subsection
7649 書式番号
7650 \end_layout
7651
7652 \begin_layout Standard
7653 レイアウトファイルやインクルードされたファイル,またはモジュールの最初の非コメント行には,以下のように,かならずファイル形式番号が記されていなくてはなりません.
7654 \end_layout
7655
7656 \begin_layout Description
7657 \begin_inset Flex Code
7658 status collapsed
7659
7660 \begin_layout Plain Layout
7661 Format
7662 \end_layout
7663
7664 \end_inset
7665
7666  [
7667 \begin_inset Flex Code
7668 status collapsed
7669
7670 \begin_layout Plain Layout
7671 整数型
7672 \end_layout
7673
7674 \end_inset
7675
7676 ] このレイアウトファイルの書式
7677 \end_layout
7678
7679 \begin_layout Standard
7680 このタグは\SpecialChar LyX
7681
7682 \begin_inset space ~
7683 \end_inset
7684
7685 1.4.0で導入されました.\SpecialChar LyX
7686
7687 \begin_inset space ~
7688 \end_inset
7689
7690 1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
7691 現行版のファイル形式は,書式60です.しかし,\SpecialChar LyX
7692 の各版は,旧版の\SpecialChar LyX
7693 で作成さ
7694 れたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法はありません.
7695 \end_layout
7696
7697 \begin_layout Subsection
7698 \begin_inset CommandInset label
7699 LatexCommand label
7700 name "subsec:汎用テキストクラスパラメータ"
7701
7702 \end_inset
7703
7704 汎用テキストクラスパラメータ
7705 \end_layout
7706
7707 \begin_layout Standard
7708 以下は,文書クラス全体の挙動を決定する汎用パラメータです(これは,
7709 \begin_inset Flex Code
7710 status collapsed
7711
7712 \begin_layout Plain Layout
7713 .layout
7714 \end_layout
7715
7716 \end_inset
7717
7718 ファイルのみに使用されるべきで,モジュールでは使ってはならない,ということを意味するものでは
7719 \emph on
7720 ありません
7721 \emph default
7722 .モジュールには,すべてのレイアウトタグを使用することができます).
7723 \end_layout
7724
7725 \begin_layout Description
7726 \begin_inset Flex Code
7727 status collapsed
7728
7729 \begin_layout Plain Layout
7730 AddToHTMLPreamble
7731 \end_layout
7732
7733 \end_inset
7734
7735  この文書クラスがXHTMLに出力されるときに,
7736 \begin_inset Flex Code
7737 status collapsed
7738
7739 \begin_layout Plain Layout
7740 <head>
7741 \end_layout
7742
7743 \end_inset
7744
7745 ブロックに追加出力される情報です.典型的には,これはCSSスタイル情報を出力するのに用いられますが,
7746 \begin_inset Flex Code
7747 status collapsed
7748
7749 \begin_layout Plain Layout
7750 <head>
7751 \end_layout
7752
7753 \end_inset
7754
7755 に出力するものであれば,何でも使用することができます.「
7756 \begin_inset Flex Code
7757 status collapsed
7758
7759 \begin_layout Plain Layout
7760 EndPreamble
7761 \end_layout
7762
7763 \end_inset
7764
7765 」で閉じる必要があります.
7766 \end_layout
7767
7768 \begin_layout Description
7769 \begin_inset Flex Code
7770 status collapsed
7771
7772 \begin_layout Plain Layout
7773 AddToPreamble
7774 \end_layout
7775
7776 \end_inset
7777
7778  文書プリアンブルに書き加えられる情報です.「
7779 \begin_inset Flex Code
7780 status collapsed
7781
7782 \begin_layout Plain Layout
7783 EndPreamble
7784 \end_layout
7785
7786 \end_inset
7787
7788 」で閉じる必要があります.
7789 \end_layout
7790
7791 \begin_layout Description
7792
7793 \lang english
7794 \begin_inset Flex Code
7795 status collapsed
7796
7797 \begin_layout Plain Layout
7798
7799 \lang english
7800 CiteEngine <engine>
7801 \end_layout
7802
7803 \end_inset
7804
7805  Defines the possibilities for displaying citation references.
7806  See 
7807 \begin_inset CommandInset ref
7808 LatexCommand ref
7809 reference "subsec:Citation-engine-description"
7810 plural "false"
7811 caps "false"
7812 noprefix "false"
7813
7814 \end_inset
7815
7816  for details.
7817  Must end with 
7818 \begin_inset Quotes eld
7819 \end_inset
7820
7821
7822 \begin_inset Flex Code
7823 status collapsed
7824
7825 \begin_layout Plain Layout
7826
7827 \lang english
7828 End
7829 \end_layout
7830
7831 \end_inset
7832
7833
7834 \begin_inset Quotes erd
7835 \end_inset
7836
7837 .
7838  Primarily used in cite engine files (see 
7839 \begin_inset CommandInset ref
7840 LatexCommand ref
7841 reference "subsec:Cite-Engine-Files"
7842 plural "false"
7843 caps "false"
7844 noprefix "false"
7845
7846 \end_inset
7847
7848 ).
7849 \end_layout
7850
7851 \begin_layout Description
7852 \begin_inset Flex Code
7853 status collapsed
7854
7855 \begin_layout Plain Layout
7856 CiteFormat
7857 \end_layout
7858
7859 \end_inset
7860
7861  書誌情報の表示に使う書式を定義します.詳細については,
7862 \begin_inset CommandInset ref
7863 LatexCommand ref
7864 reference "subsec:引用書式指定"
7865
7866 \end_inset
7867
7868 をご覧ください.「
7869 \begin_inset Flex Code
7870 status collapsed
7871
7872 \begin_layout Plain Layout
7873 End
7874 \end_layout
7875
7876 \end_inset
7877
7878 」で閉じる必要があります.
7879 \lang english
7880  Primarily used in cite engine files (see 
7881 \begin_inset CommandInset ref
7882 LatexCommand ref
7883 reference "subsec:Cite-Engine-Files"
7884 plural "false"
7885 caps "false"
7886 noprefix "false"
7887
7888 \end_inset
7889
7890 ).
7891 \end_layout
7892
7893 \begin_layout Description
7894
7895 \lang english
7896 \begin_inset Flex Code
7897 status collapsed
7898
7899 \begin_layout Plain Layout
7900
7901 \lang english
7902 CiteFramework
7903 \end_layout
7904
7905 \end_inset
7906
7907  [
7908 \begin_inset Flex Code
7909 status collapsed
7910
7911 \begin_layout Plain Layout
7912
7913 \emph on
7914 \lang english
7915 bibtex
7916 \end_layout
7917
7918 \end_inset
7919
7920 ,
7921 \begin_inset Flex Code
7922 status collapsed
7923
7924 \begin_layout Plain Layout
7925
7926 \lang english
7927 biblatex
7928 \end_layout
7929
7930 \end_inset
7931
7932 ] Determines whether 
7933 \family sans
7934 Biblatex
7935 \family default
7936  or Bib\SpecialChar TeX
7937  is used to generate a Bibliography.
7938  Primarily used in cite engine files (see 
7939 \begin_inset CommandInset ref
7940 LatexCommand ref
7941 reference "subsec:Cite-Engine-Files"
7942 plural "false"
7943 caps "false"
7944 noprefix "false"
7945
7946 \end_inset
7947
7948 ).
7949 \end_layout
7950
7951 \begin_layout Description
7952 \begin_inset Flex Code
7953 status collapsed
7954
7955 \begin_layout Plain Layout
7956 ClassOptions
7957 \end_layout
7958
7959 \end_inset
7960
7961  文書クラスがサポートする様々な大域オプションを記します.説明は,
7962 \begin_inset CommandInset ref
7963 LatexCommand ref
7964 reference "subsec:ClassOptions"
7965
7966 \end_inset
7967
7968 を参照してください.「
7969 \begin_inset Flex Code
7970 status collapsed
7971
7972 \begin_layout Plain Layout
7973 End
7974 \end_layout
7975
7976 \end_inset
7977
7978 」で閉じる必要があります.
7979 \end_layout
7980
7981 \begin_layout Description
7982 \begin_inset Flex Code
7983 status collapsed
7984
7985 \begin_layout Plain Layout
7986 Columns
7987 \end_layout
7988
7989 \end_inset
7990
7991  [
7992 \begin_inset Flex Code
7993 status collapsed
7994
7995 \begin_layout Plain Layout
7996
7997 \emph on
7998 1
7999 \end_layout
8000
8001 \end_inset
8002
8003 ,
8004 \begin_inset space \thinspace{}
8005 \end_inset
8006
8007
8008 \begin_inset Flex Code
8009 status collapsed
8010
8011 \begin_layout Plain Layout
8012 2
8013 \end_layout
8014
8015 \end_inset
8016
8017 ] 文書クラスが既定で1段組か2段組かを指定します.
8018 \begin_inset Flex MenuItem
8019 status collapsed
8020
8021 \begin_layout Plain Layout
8022 文書\SpecialChar menuseparator
8023 設定
8024 \end_layout
8025
8026 \end_inset
8027
8028 ダイアログで変更することができます.
8029 \end_layout
8030
8031 \begin_layout Description
8032 \begin_inset Flex Code
8033 status collapsed
8034
8035 \begin_layout Plain Layout
8036 Counter
8037 \end_layout
8038
8039 \end_inset
8040
8041  [
8042 \begin_inset Flex Code
8043 status collapsed
8044
8045 \begin_layout Plain Layout
8046 文字列
8047 \end_layout
8048
8049 \end_inset
8050
8051 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,生成されます.もし存在しなければ修正されます.「
8052 \begin_inset Flex Code
8053 status collapsed
8054
8055 \begin_layout Plain Layout
8056 End
8057 \end_layout
8058
8059 \end_inset
8060
8061 」で閉じる必要があります.
8062 \begin_inset Newline newline
8063 \end_inset
8064
8065 カウンタについての詳細は,
8066 \begin_inset CommandInset ref
8067 LatexCommand ref
8068 reference "subsec:カウンタ"
8069
8070 \end_inset
8071
8072 を参照してください.
8073 \end_layout
8074
8075 \begin_layout Description
8076 \begin_inset Flex Code
8077 status collapsed
8078
8079 \begin_layout Plain Layout
8080 DefaultFont
8081 \end_layout
8082
8083 \end_inset
8084
8085  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,
8086 \begin_inset CommandInset ref
8087 LatexCommand ref
8088 reference "subsec:フォント指定"
8089
8090 \end_inset
8091
8092 を参照してください.「
8093 \begin_inset Flex Code
8094 status collapsed
8095
8096 \begin_layout Plain Layout
8097 EndFont
8098 \end_layout
8099
8100 \end_inset
8101
8102 」で閉じる必要があります.
8103 \end_layout
8104
8105 \begin_layout Description
8106 \begin_inset Flex Code
8107 status collapsed
8108
8109 \begin_layout Plain Layout
8110 DefaultModule
8111 \end_layout
8112
8113 \end_inset
8114
8115  [
8116 \begin_inset Flex Code
8117 status collapsed
8118
8119 \begin_layout Plain Layout
8120 <モジュール>
8121 \end_layout
8122
8123 \end_inset
8124
8125 ] この文書クラスに,既定で取り込むモジュールを指定します.モジュールは,
8126 \begin_inset Flex Code
8127 status collapsed
8128
8129 \begin_layout Plain Layout
8130 .module
8131 \end_layout
8132
8133 \end_inset
8134
8135 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,当初は有効の状態になっています(これは新しいファイルが作成されたときや,
8136 既存の文書にこの文書クラスが選択したときのみ該当します).
8137 \end_layout
8138
8139 \begin_layout Description
8140 \begin_inset Flex Code
8141 status collapsed
8142
8143 \begin_layout Plain Layout
8144 DefaultStyle
8145 \end_layout
8146
8147 \end_inset
8148
8149  [
8150 \begin_inset Flex Code
8151 status collapsed
8152
8153 \begin_layout Plain Layout
8154 <様式>
8155 \end_layout
8156
8157 \end_inset
8158
8159 ]
8160 \lang english
8161  
8162 \lang japanese
8163 これは新規段落に割り当てられる様式であり,通常は
8164 \begin_inset Flex MenuItem
8165 status collapsed
8166
8167 \begin_layout Plain Layout
8168 標準
8169 \end_layout
8170
8171 \end_inset
8172
8173 です.もしこれを指定しなければ,最初に定義される様式がこれに割り当てられるようにはなっていますが,このディレクティブを使用することが推奨されます.
8174 \end_layout
8175
8176 \begin_layout Description
8177 \begin_inset Flex Code
8178 status collapsed
8179
8180 \begin_layout Plain Layout
8181 ExcludesModule
8182 \end_layout
8183
8184 \end_inset
8185
8186  [
8187 \begin_inset Flex Code
8188 status collapsed
8189
8190 \begin_layout Plain Layout
8191 <モジュール>
8192 \end_layout
8193
8194 \end_inset
8195
8196 ] このタグは,指定されたモジュール—
8197 \begin_inset Flex Code
8198 status collapsed
8199
8200 \begin_layout Plain Layout
8201 .module
8202 \end_layout
8203
8204 \end_inset
8205
8206 拡張子を除いたファイル名で指定します—が,この文書クラスでは使用できないように設定します.これはたとえば,特定の学術誌用レイアウトファイルの中で,定理番号を節毎
8207 に振る
8208 \begin_inset Flex Code
8209 status collapsed
8210
8211 \begin_layout Plain Layout
8212 theorems-sec
8213 \end_layout
8214
8215 \end_inset
8216
8217 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,モジュール内で
8218 \emph on
8219 使用してはいけません
8220 \emph default
8221 .モジュールは,他のモジュールを排除する独自の枠組みがあります(
8222 \begin_inset CommandInset ref
8223 LatexCommand ref
8224 reference "subsec:レイアウトモジュール"
8225
8226 \end_inset
8227
8228 参照).
8229 \end_layout
8230
8231 \begin_layout Description
8232 \begin_inset Flex Code
8233 status collapsed
8234
8235 \begin_layout Plain Layout
8236 Float
8237 \end_layout
8238
8239 \end_inset
8240
8241  フロートを新規に定義します.詳細は,
8242 \begin_inset CommandInset ref
8243 LatexCommand ref
8244 reference "subsec:フロート"
8245
8246 \end_inset
8247
8248 を参照してください.「
8249 \begin_inset Flex Code
8250 status collapsed
8251
8252 \begin_layout Plain Layout
8253 End
8254 \end_layout
8255
8256 \end_inset
8257
8258 」で閉じる必要があります.
8259 \end_layout
8260
8261 \begin_layout Description
8262 \begin_inset Flex Code
8263 status collapsed
8264
8265 \begin_layout Plain Layout
8266 HTMLPreamble
8267 \end_layout
8268
8269 \end_inset
8270
8271  この文書クラスがXHTMLに出力されるときに,
8272 \begin_inset Flex Code
8273 status collapsed
8274
8275 \begin_layout Plain Layout
8276 <head>
8277 \end_layout
8278
8279 \end_inset
8280
8281 ブロックに出力される情報です.これより前に出現した
8282 \begin_inset Flex Code
8283 status collapsed
8284
8285 \begin_layout Plain Layout
8286 HTMLPreamble
8287 \end_layout
8288
8289 \end_inset
8290
8291
8292 \begin_inset Flex Code
8293 status collapsed
8294
8295 \begin_layout Plain Layout
8296 AddToHTMLPreamble
8297 \end_layout
8298
8299 \end_inset
8300
8301 宣言は,すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
8302 \begin_inset Flex Code
8303 status collapsed
8304
8305 \begin_layout Plain Layout
8306 AddToHTMLPreamble
8307 \end_layout
8308
8309 \end_inset
8310
8311 を使用してください).これは「
8312 \begin_inset Flex Code
8313 status collapsed
8314
8315 \begin_layout Plain Layout
8316 EndPreamble
8317 \end_layout
8318
8319 \end_inset
8320
8321 」で閉じる必要があります.
8322 \end_layout
8323
8324 \begin_layout Description
8325 \begin_inset Flex Code
8326 status collapsed
8327
8328 \begin_layout Plain Layout
8329 HTMLTOCSection
8330 \end_layout
8331
8332 \end_inset
8333
8334  [
8335 \begin_inset Flex Code
8336 status collapsed
8337
8338 \begin_layout Plain Layout
8339 <様式>
8340 \end_layout
8341
8342 \end_inset
8343
8344 ] 文書がHTMLに出力されるときに,目次や書誌情報などに使用されるレイアウトです.articleの場合には,これは通常「節」であり,bookの場合は「章」です
8345 .これを指定しない場合には,\SpecialChar LyX
8346 はどのレイアウトを使用するべきか,解析しようと試みます.
8347 \end_layout
8348
8349 \begin_layout Description
8350 \begin_inset Flex Code
8351 status collapsed
8352
8353 \begin_layout Plain Layout
8354 IfCounter 
8355 \end_layout
8356
8357 \end_inset
8358
8359  [
8360 \begin_inset Flex Code
8361 status collapsed
8362
8363 \begin_layout Plain Layout
8364 <カウンタ>
8365 \end_layout
8366
8367 \end_inset
8368
8369 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,この節は無視されます.「
8370 \begin_inset Flex Code
8371 status collapsed
8372
8373 \begin_layout Plain Layout
8374 End
8375 \end_layout
8376
8377 \end_inset
8378
8379 」で閉じる必要があります.
8380 \begin_inset Newline newline
8381 \end_inset
8382
8383 カウンタについての詳細は,
8384 \begin_inset CommandInset ref
8385 LatexCommand ref
8386 reference "subsec:カウンタ"
8387
8388 \end_inset
8389
8390 をご覧ください.
8391 \end_layout
8392
8393 \begin_layout Description
8394 \begin_inset Flex Code
8395 status collapsed
8396
8397 \begin_layout Plain Layout
8398 IfStyle
8399 \end_layout
8400
8401 \end_inset
8402
8403  [
8404 \begin_inset Flex Code
8405 status collapsed
8406
8407 \begin_layout Plain Layout
8408 <様式>
8409 \end_layout
8410
8411 \end_inset
8412
8413 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,この節は無視されます.「
8414 \begin_inset Flex Code
8415 status collapsed
8416
8417 \begin_layout Plain Layout
8418 End
8419 \end_layout
8420
8421 \end_inset
8422
8423 」で閉じる必要があります.
8424 \end_layout
8425
8426 \begin_layout Description
8427 \begin_inset Flex Code
8428 status collapsed
8429
8430 \begin_layout Plain Layout
8431 Input
8432 \end_layout
8433
8434 \end_inset
8435
8436  [
8437 \begin_inset Flex Code
8438 status collapsed
8439
8440 \begin_layout Plain Layout
8441 <ファイル名>
8442 \end_layout
8443
8444 \end_inset
8445
8446 ]
8447 \lang english
8448  
8449 \lang japanese
8450 名称の指し示すように,このコマンドは,同じコマンドを何度も指定せずに済むように,別のレイアウト定義ファイルを取り込ませます.よく使われる例は,基本的なレイアウト
8451 のほとんどを収録している
8452 \begin_inset Flex Code
8453 status collapsed
8454
8455 \begin_layout Plain Layout
8456 stdclass.inc
8457 \end_layout
8458
8459 \end_inset
8460
8461 のような標準レイアウトファイルです.
8462 \end_layout
8463
8464 \begin_layout Description
8465 \begin_inset Flex Code
8466 status collapsed
8467
8468 \begin_layout Plain Layout
8469 InsetLayout
8470 \end_layout
8471
8472 \end_inset
8473
8474  [
8475 \begin_inset Flex Code
8476 status collapsed
8477
8478 \begin_layout Plain Layout
8479 <型>
8480 \end_layout
8481
8482 \end_inset
8483
8484 ]
8485 \lang english
8486  
8487 \lang japanese
8488 このセクションは,差込枠のレイアウトを定義(再定義)します.これは,既存の差込枠にも,新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
8489 \begin_inset Flex Code
8490 status collapsed
8491
8492 \begin_layout Plain Layout
8493 End
8494 \end_layout
8495
8496 \end_inset
8497
8498 」で閉じる必要があります.
8499 \begin_inset Newline newline
8500 \end_inset
8501
8502 詳しい情報は,
8503 \begin_inset CommandInset ref
8504 LatexCommand ref
8505 reference "subsec:任意設定差込枠"
8506
8507 \end_inset
8508
8509 をご覧ください.
8510 \end_layout
8511
8512 \begin_layout Description
8513 \begin_inset Flex Code
8514 status collapsed
8515
8516 \begin_layout Plain Layout
8517 LeftMargin
8518 \end_layout
8519
8520 \end_inset
8521
8522  [
8523 \begin_inset Flex Code
8524 status collapsed
8525
8526 \begin_layout Plain Layout
8527 文字列
8528 \end_layout
8529
8530 \end_inset
8531
8532 ] 画面上の左余白の幅を指示する文字列.例:「
8533 \begin_inset Flex Code
8534 status collapsed
8535
8536 \begin_layout Plain Layout
8537 MMMMM
8538 \end_layout
8539
8540 \end_inset
8541
8542 」.(これは,「2ex」のような「長さ」ではないことに注意してください.)
8543 \end_layout
8544
8545 \begin_layout Description
8546
8547 \lang english
8548 \begin_inset Flex Code
8549 status collapsed
8550
8551 \begin_layout Plain Layout
8552
8553 \lang english
8554 MaxCiteNames
8555 \end_layout
8556
8557 \end_inset
8558
8559  [
8560 \begin_inset Flex Code
8561 status collapsed
8562
8563 \begin_layout Plain Layout
8564
8565 \lang english
8566 integer
8567 \end_layout
8568
8569 \end_inset
8570
8571 ] An integer that determines the maximal number of names displayed in an
8572  author-year citation before the citation switches to 
8573 \begin_inset Quotes eld
8574 \end_inset
8575
8576 FirstAuthor et al.
8577 \begin_inset Quotes erd
8578 \end_inset
8579
8580 .
8581  Primarily used in cite engine files (see 
8582 \begin_inset CommandInset ref
8583 LatexCommand ref
8584 reference "subsec:Cite-Engine-Files"
8585 plural "false"
8586 caps "false"
8587 noprefix "false"
8588
8589 \end_inset
8590
8591 ).
8592 \end_layout
8593
8594 \begin_layout Description
8595 \begin_inset Flex Code
8596 status collapsed
8597
8598 \begin_layout Plain Layout
8599 NoCounter
8600 \end_layout
8601
8602 \end_inset
8603
8604  [
8605 \begin_inset Flex Code
8606 status collapsed
8607
8608 \begin_layout Plain Layout
8609 <カウンタ>
8610 \end_layout
8611
8612 \end_inset
8613
8614 ] このコマンドは,既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
8615 \end_layout
8616
8617 \begin_layout Description
8618 \begin_inset Flex Code
8619 status collapsed
8620
8621 \begin_layout Plain Layout
8622 NoFloat
8623 \end_layout
8624
8625 \end_inset
8626
8627  [
8628 \begin_inset Flex Code
8629 status collapsed
8630
8631 \begin_layout Plain Layout
8632 <フロート>
8633 \end_layout
8634
8635 \end_inset
8636
8637 ] このコマンドは既存のフロートを削除します.これは特に,Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
8638 \end_layout
8639
8640 \begin_layout Description
8641 \begin_inset Flex Code
8642 status collapsed
8643
8644 \begin_layout Plain Layout
8645 NoStyle
8646 \end_layout
8647
8648 \end_inset
8649
8650  [
8651 \begin_inset Flex Code
8652 status collapsed
8653
8654 \begin_layout Plain Layout
8655 <様式>
8656 \end_layout
8657
8658 \end_inset
8659
8660 ] このコマンドは既存の様式を削除します.これは特に,Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
8661 \end_layout
8662
8663 \begin_layout Description
8664
8665 \lang english
8666 \begin_inset Flex Code
8667 status collapsed
8668
8669 \begin_layout Plain Layout
8670
8671 \lang english
8672 OutlinerName
8673 \end_layout
8674
8675 \end_inset
8676
8677  [
8678 \begin_inset Flex Code
8679 status collapsed
8680
8681 \begin_layout Plain Layout
8682
8683 \lang english
8684 <type>
8685 \end_layout
8686
8687 \end_inset
8688
8689 ] [
8690 \begin_inset Flex Code
8691 status collapsed
8692
8693 \begin_layout Plain Layout
8694
8695 \lang english
8696 <string>
8697 \end_layout
8698
8699 \end_inset
8700
8701 ] Define a new table of contents with type 
8702 \begin_inset Flex Code
8703 status collapsed
8704
8705 \begin_layout Plain Layout
8706
8707 \lang english
8708 <type>
8709 \end_layout
8710
8711 \end_inset
8712
8713  and name 
8714 \begin_inset Flex Code
8715 status collapsed
8716
8717 \begin_layout Plain Layout
8718
8719 \lang english
8720 <string>
8721 \end_layout
8722
8723 \end_inset
8724
8725 .
8726  See also the AddToToc commands.
8727 \end_layout
8728
8729 \begin_layout Description
8730 \begin_inset Flex Code
8731 status collapsed
8732
8733 \begin_layout Plain Layout
8734 OutputFormat
8735 \end_layout
8736
8737 \end_inset
8738
8739  [
8740 \begin_inset Flex Code
8741 status collapsed
8742
8743 \begin_layout Plain Layout
8744 <形式>
8745 \end_layout
8746
8747 \end_inset
8748
8749 ] このクラスによって生成されるファイル形式を示す文字列(
8750 \family sans
8751 設定
8752 \family default
8753 ダイアログで定義される形のもの).おもに,
8754 \begin_inset Flex Code
8755 status collapsed
8756
8757 \begin_layout Plain Layout
8758 OutputType
8759 \end_layout
8760
8761 \end_inset
8762
8763
8764 \begin_inset Flex Code
8765 status collapsed
8766
8767 \begin_layout Plain Layout
8768 literate
8769 \end_layout
8770
8771 \end_inset
8772
8773 になっていて,新しい型のliterate文書を定義したい時に便利です.対応する
8774 \begin_inset Flex Code
8775 status collapsed
8776
8777 \begin_layout Plain Layout
8778 OutputType
8779 \end_layout
8780
8781 \end_inset
8782
8783 パラメーターに遭遇したときには,この文字列は,「
8784 \begin_inset Flex Code
8785 status collapsed
8786
8787 \begin_layout Plain Layout
8788 docbook
8789 \end_layout
8790
8791 \end_inset
8792
8793 」・「
8794 \begin_inset Flex Code
8795 status collapsed
8796
8797 \begin_layout Plain Layout
8798 lat
8799 \emph on
8800 ex
8801 \end_layout
8802
8803 \end_inset
8804
8805 」のいずれかにリセットされます.
8806 \end_layout
8807
8808 \begin_layout Description
8809 \begin_inset Flex Code
8810 status collapsed
8811
8812 \begin_layout Plain Layout
8813 OutputType
8814 \end_layout
8815
8816 \end_inset
8817
8818  [
8819 \begin_inset Flex Code
8820 status collapsed
8821
8822 \begin_layout Plain Layout
8823
8824 \emph on
8825 lat
8826 \emph default
8827 ex
8828 \end_layout
8829
8830 \end_inset
8831
8832
8833 \begin_inset Flex Code
8834 status collapsed
8835
8836 \begin_layout Plain Layout
8837 docbook
8838 \end_layout
8839
8840 \end_inset
8841
8842
8843 \begin_inset Flex Code
8844 status collapsed
8845
8846 \begin_layout Plain Layout
8847 literate
8848 \end_layout
8849
8850 \end_inset
8851
8852 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,取り得る値は「docbook」・「latex」・「literate」です.
8853 \end_layout
8854
8855 \begin_layout Description
8856 \begin_inset Flex Code
8857 status collapsed
8858
8859 \begin_layout Plain Layout
8860 PackageOptions
8861 \end_layout
8862
8863 \end_inset
8864
8865  [
8866 \begin_inset Flex Code
8867 status collapsed
8868
8869 \begin_layout Plain Layout
8870 文字列
8871 \end_layout
8872
8873 \end_inset
8874
8875  
8876 \begin_inset Flex Code
8877 status collapsed
8878
8879 \begin_layout Plain Layout
8880 文字列
8881 \end_layout
8882
8883 \end_inset
8884
8885 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,「
8886 \begin_inset Flex Code
8887 status collapsed
8888
8889 \begin_layout Plain Layout
8890 PackageOptions natbib square
8891 \end_layout
8892
8893 \end_inset
8894
8895 」とすると,
8896 \begin_inset Flex Code
8897 status collapsed
8898
8899 \begin_layout Plain Layout
8900 natbib
8901 \end_layout
8902
8903 \end_inset
8904
8905
8906 \begin_inset Flex Code
8907 status collapsed
8908
8909 \begin_layout Plain Layout
8910 square
8911 \end_layout
8912
8913 \end_inset
8914
8915 オプションとともに読み込みます(\SpecialChar TeX
8916 perts向けに述べると,これは,
8917 \begin_inset Flex Code
8918 status collapsed
8919
8920 \begin_layout Plain Layout
8921 natbib
8922 \end_layout
8923
8924 \end_inset
8925
8926 を読み込む前に,\SpecialChar LyX
8927
8928 \begin_inset Flex Code
8929 status collapsed
8930
8931 \begin_layout Plain Layout
8932
8933 \backslash
8934 PassOptionsToPackage{natbib}{square}
8935 \end_layout
8936
8937 \end_inset
8938
8939 を出力させます).
8940 \end_layout
8941
8942 \begin_layout Description
8943 \begin_inset Flex Code
8944 status collapsed
8945
8946 \begin_layout Plain Layout
8947 PageStyle
8948 \end_layout
8949
8950 \end_inset
8951
8952  [
8953 \emph on
8954
8955 \begin_inset Flex Code
8956 status collapsed
8957
8958 \begin_layout Plain Layout
8959 plain
8960 \end_layout
8961
8962 \end_inset
8963
8964
8965 \emph default
8966
8967 \begin_inset Flex Code
8968 status collapsed
8969
8970 \begin_layout Plain Layout
8971 empty
8972 \end_layout
8973
8974 \end_inset
8975
8976
8977 \begin_inset Flex Code
8978 status collapsed
8979
8980 \begin_layout Plain Layout
8981 headings
8982 \end_layout
8983
8984 \end_inset
8985
8986 ] 既定ページ様式.
8987 \begin_inset Flex MenuItem
8988 status collapsed
8989
8990 \begin_layout Plain Layout
8991 文書\SpecialChar menuseparator
8992 設定
8993 \end_layout
8994
8995 \end_inset
8996
8997 ダイアログで変更することができます.
8998 \end_layout
8999
9000 \begin_layout Description
9001 \begin_inset Flex Code
9002 status collapsed
9003
9004 \begin_layout Plain Layout
9005 Preamble
9006 \end_layout
9007
9008 \end_inset
9009
9010  \SpecialChar LaTeX
9011 文書のプリアンブルを設定します.前に行った
9012 \begin_inset Flex Code
9013 status collapsed
9014
9015 \begin_layout Plain Layout
9016 Preamble
9017 \end_layout
9018
9019 \end_inset
9020
9021 宣言や
9022 \begin_inset Flex Code
9023 status collapsed
9024
9025 \begin_layout Plain Layout
9026 AddToPreamble
9027 \end_layout
9028
9029 \end_inset
9030
9031 宣言は,すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
9032 \begin_inset Flex Code
9033 status collapsed
9034
9035 \begin_layout Plain Layout
9036 AddToPreamble
9037 \end_layout
9038
9039 \end_inset
9040
9041 を使用してください.)「
9042 \begin_inset Flex Code
9043 status collapsed
9044
9045 \begin_layout Plain Layout
9046 EndPreamble
9047 \end_layout
9048
9049 \end_inset
9050
9051 」で閉じる必要があります.
9052 \end_layout
9053
9054 \begin_layout Description
9055 \begin_inset Flex Code
9056 status collapsed
9057
9058 \begin_layout Plain Layout
9059 Provides
9060 \end_layout
9061
9062 \end_inset
9063
9064  [
9065 \begin_inset Flex Code
9066 status collapsed
9067
9068 \begin_layout Plain Layout
9069 文字列
9070 \end_layout
9071
9072 \end_inset
9073
9074 ] [
9075 \begin_inset Flex Code
9076 status collapsed
9077
9078 \begin_layout Plain Layout
9079
9080 \emph on
9081 0
9082 \end_layout
9083
9084 \end_inset
9085
9086
9087 \begin_inset Flex Code
9088 status collapsed
9089
9090 \begin_layout Plain Layout
9091 1
9092 \end_layout
9093
9094 \end_inset
9095
9096 ] このクラスが
9097 \begin_inset Flex Code
9098 status collapsed
9099
9100 \begin_layout Plain Layout
9101 文字列
9102 \end_layout
9103
9104 \end_inset
9105
9106 で示される機能を既に提供しているかどうかを示します.機能は,一般的にパッケージ名(
9107 \begin_inset Flex Code
9108 status collapsed
9109
9110 \begin_layout Plain Layout
9111 amsmath
9112 \end_layout
9113
9114 \end_inset
9115
9116
9117 \begin_inset Flex Code
9118 status collapsed
9119
9120 \begin_layout Plain Layout
9121 makeidx
9122 \end_layout
9123
9124 \end_inset
9125
9126 ・\SpecialChar ldots
9127 )やマクロ名(
9128 \begin_inset Flex Code
9129 status collapsed
9130
9131 \begin_layout Plain Layout
9132 url
9133 \end_layout
9134
9135 \end_inset
9136
9137
9138 \begin_inset Flex Code
9139 status collapsed
9140
9141 \begin_layout Plain Layout
9142 boldsymbol
9143 \end_layout
9144
9145 \end_inset
9146
9147 ・\SpecialChar ldots
9148 )です.機能一覧については,
9149 \begin_inset CommandInset ref
9150 LatexCommand ref
9151 reference "chap:関数一覧"
9152
9153 \end_inset
9154
9155 を参照.
9156 \end_layout
9157
9158 \begin_layout Description
9159 \begin_inset Flex Code
9160 status collapsed
9161
9162 \begin_layout Plain Layout
9163 ProvidesModule
9164 \end_layout
9165
9166 \end_inset
9167
9168  [
9169 \begin_inset Flex Code
9170 status collapsed
9171
9172 \begin_layout Plain Layout
9173 文字列
9174 \end_layout
9175
9176 \end_inset
9177
9178 ] このレイアウトが
9179 \begin_inset Flex Code
9180 status collapsed
9181
9182 \begin_layout Plain Layout
9183 文字列
9184 \end_layout
9185
9186 \end_inset
9187
9188 で表されているモジュールの機能を提供することを示し,
9189 \begin_inset Flex Code
9190 status collapsed
9191
9192 \begin_layout Plain Layout
9193 .module
9194 \end_layout
9195
9196 \end_inset
9197
9198 拡張子を除いたファイル名で指定します.
9199 \begin_inset Flex Code
9200 status collapsed
9201
9202 \begin_layout Plain Layout
9203 DefaultModule
9204 \end_layout
9205
9206 \end_inset
9207
9208 タグを使用すると,モジュールを使用しなくてはならないことを示しますが,このタグは主に,このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いら
9209 れます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
9210 \end_layout
9211
9212 \begin_layout Description
9213 \begin_inset Flex Code
9214 status collapsed
9215
9216 \begin_layout Plain Layout
9217 Requires
9218 \end_layout
9219
9220 \end_inset
9221
9222  [
9223 \begin_inset Flex Code
9224 status collapsed
9225
9226 \begin_layout Plain Layout
9227 文字列
9228 \end_layout
9229
9230 \end_inset
9231
9232 ] このクラスが
9233 \begin_inset Flex Code
9234 status collapsed
9235
9236 \begin_layout Plain Layout
9237 文字列
9238 \end_layout
9239
9240 \end_inset
9241
9242 で表されている機能を要求することを示します.機能が複数ある場合には,コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してくだ
9243 さい(機能一覧については
9244 \begin_inset CommandInset ref
9245 LatexCommand ref
9246 reference "chap:関数一覧"
9247
9248 \end_inset
9249
9250 を参照).特定のオプションをとるパッケージを要求する場合,
9251 \begin_inset Flex Code
9252 status collapsed
9253
9254 \begin_layout Plain Layout
9255 PackageOptions
9256 \end_layout
9257
9258 \end_inset
9259
9260 を追加して使うことができます.
9261 \end_layout
9262
9263 \begin_layout Description
9264 \begin_inset Flex Code
9265 status collapsed
9266
9267 \begin_layout Plain Layout
9268 RightMargin
9269 \end_layout
9270
9271 \end_inset
9272
9273  [
9274 \begin_inset Flex Code
9275 status collapsed
9276
9277 \begin_layout Plain Layout
9278 文字列
9279 \end_layout
9280
9281 \end_inset
9282
9283 ] 画面上の右余白の幅を指示する文字列.例:「
9284 \begin_inset Flex Code
9285 status collapsed
9286
9287 \begin_layout Plain Layout
9288 MMMMM
9289 \end_layout
9290
9291 \end_inset
9292
9293 」.
9294 \end_layout
9295
9296 \begin_layout Description
9297 \begin_inset Flex Code
9298 status collapsed
9299
9300 \begin_layout Plain Layout
9301 SecNumDepth
9302 \end_layout
9303
9304 \end_inset
9305
9306  [
9307 \begin_inset Flex Code
9308 status collapsed
9309
9310 \begin_layout Plain Layout
9311 int=3
9312 \end_layout
9313
9314 \end_inset
9315
9316 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
9317 における
9318 \begin_inset Flex Code
9319 status collapsed
9320
9321 \begin_layout Plain Layout
9322 secnumdepth
9323 \end_layout
9324
9325 \end_inset
9326
9327 カウンタに対応します.
9328 \end_layout
9329
9330 \begin_layout Description
9331 \begin_inset Flex Code
9332 status collapsed
9333
9334 \begin_layout Plain Layout
9335 Sides
9336 \end_layout
9337
9338 \end_inset
9339
9340  [
9341 \emph on
9342
9343 \begin_inset Flex Code
9344 status collapsed
9345
9346 \begin_layout Plain Layout
9347 1
9348 \end_layout
9349
9350 \end_inset
9351
9352
9353 \emph default
9354 ,
9355 \begin_inset space \thinspace{}
9356 \end_inset
9357
9358
9359 \begin_inset Flex Code
9360 status collapsed
9361
9362 \begin_layout Plain Layout
9363 2
9364 \end_layout
9365
9366 \end_inset
9367
9368 ] クラスの既定値として,用紙の片面に印字するか両面に印字するかを指定します.
9369 \begin_inset Flex MenuItem
9370 status collapsed
9371
9372 \begin_layout Plain Layout
9373 文書\SpecialChar menuseparator
9374 設定
9375 \end_layout
9376
9377 \end_inset
9378
9379 ダイアログで変更することができます.
9380 \end_layout
9381
9382 \begin_layout Description
9383 \begin_inset Flex Code
9384 status collapsed
9385
9386 \begin_layout Plain Layout
9387 Style
9388 \end_layout
9389
9390 \end_inset
9391
9392  [
9393 \begin_inset Flex Code
9394 status collapsed
9395
9396 \begin_layout Plain Layout
9397 <名称>
9398 \end_layout
9399
9400 \end_inset
9401
9402 ]
9403 \lang english
9404  
9405 \lang japanese
9406 この部分は段落様式を定義します.様式がまだ存在していなければ,生成されます.既に存在していれば,そのパラメータが修正されます.「
9407 \begin_inset Flex Code
9408 status collapsed
9409
9410 \begin_layout Plain Layout
9411 End
9412 \end_layout
9413
9414 \end_inset
9415
9416 」で閉じる必要があります.
9417 \begin_inset Newline newline
9418 \end_inset
9419
9420 段落様式に関する詳細は,
9421 \begin_inset CommandInset ref
9422 LatexCommand ref
9423 reference "subsec:段落様式-XHTML"
9424
9425 \end_inset
9426
9427 をご覧ください.
9428 \end_layout
9429
9430 \begin_layout Description
9431 \begin_inset Flex Code
9432 status collapsed
9433
9434 \begin_layout Plain Layout
9435 TitleLatexName
9436 \end_layout
9437
9438 \end_inset
9439
9440  [
9441 \begin_inset Flex Code
9442 status collapsed
9443
9444 \begin_layout Plain Layout
9445 文字列="maketitle"
9446 \end_layout
9447
9448 \end_inset
9449
9450
9451 \begin_inset Flex Code
9452 status collapsed
9453
9454 \begin_layout Plain Layout
9455 TitleLatexType
9456 \end_layout
9457
9458 \end_inset
9459
9460 で使用すべきコマンド名あるいは環境名.The name of the command or environment to be used with
9461  
9462 \begin_inset Flex Code
9463 status collapsed
9464
9465 \begin_layout Plain Layout
9466 TitleLatexType
9467 \end_layout
9468
9469 \end_inset
9470
9471 .
9472 \end_layout
9473
9474 \begin_layout Description
9475 \begin_inset Flex Code
9476 status collapsed
9477
9478 \begin_layout Plain Layout
9479 TitleLatexType
9480 \end_layout
9481
9482 \end_inset
9483
9484  [
9485 \begin_inset Flex Code
9486 status collapsed
9487
9488 \begin_layout Plain Layout
9489
9490 \emph on
9491 CommandAfter
9492 \end_layout
9493
9494 \end_inset
9495
9496
9497 \begin_inset Flex Code
9498 status collapsed
9499
9500 \begin_layout Plain Layout
9501 Environment
9502 \end_layout
9503
9504 \end_inset
9505
9506 ] 文書のタイトルを定義するのに,どのようなマークアップを使用するのかを示します.
9507 \begin_inset Flex Code
9508 status collapsed
9509
9510 \begin_layout Plain Layout
9511 CommandAfter
9512 \end_layout
9513
9514 \end_inset
9515
9516 は,「
9517 \begin_inset Flex Code
9518 status collapsed
9519
9520 \begin_layout Plain Layout
9521 InTitle
9522 \begin_inset space ~
9523 \end_inset
9524
9525 1
9526 \end_layout
9527
9528 \end_inset
9529
9530 」が指定されている最後のレイアウトの後に,
9531 \begin_inset Flex Code
9532 status collapsed
9533
9534 \begin_layout Plain Layout
9535 TitleLatexName
9536 \end_layout
9537
9538 \end_inset
9539
9540 で指定したマクロ名を挿入することを意味します.
9541 \begin_inset Flex Code
9542 status collapsed
9543
9544 \begin_layout Plain Layout
9545 Environment
9546 \end_layout
9547
9548 \end_inset
9549
9550 は,「
9551 \begin_inset Flex Code
9552 status collapsed
9553
9554 \begin_layout Plain Layout
9555 InTitle
9556 \begin_inset space ~
9557 \end_inset
9558
9559 1
9560 \end_layout
9561
9562 \end_inset
9563
9564 」を持つ段落群を
9565 \begin_inset Flex Code
9566 status collapsed
9567
9568 \begin_layout Plain Layout
9569 TitleLatexName
9570 \end_layout
9571
9572 \end_inset
9573
9574 で指定した環境でくるむ場合に対応します.
9575 \end_layout
9576
9577 \begin_layout Description
9578 \begin_inset Flex Code
9579 status collapsed
9580
9581 \begin_layout Plain Layout
9582 TocDepth
9583 \end_layout
9584
9585 \end_inset
9586
9587  [
9588 \begin_inset Flex Code
9589 status collapsed
9590
9591 \begin_layout Plain Layout
9592 int=3
9593 \end_layout
9594
9595 \end_inset
9596
9597 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
9598
9599 \begin_inset Flex Code
9600 status collapsed
9601
9602 \begin_layout Plain Layout
9603 tocdepth
9604 \end_layout
9605
9606 \end_inset
9607
9608 カウンタに対応します.
9609 \end_layout
9610
9611 \begin_layout Subsection
9612 \begin_inset Flex Code
9613 status collapsed
9614
9615 \begin_layout Plain Layout
9616 ClassOptions
9617 \end_layout
9618
9619 \end_inset
9620
9621
9622 \begin_inset CommandInset label
9623 LatexCommand label
9624 name "subsec:ClassOptions"
9625
9626 \end_inset
9627
9628
9629 \end_layout
9630
9631 \begin_layout Standard
9632 \begin_inset Flex Code
9633 status collapsed
9634
9635 \begin_layout Plain Layout
9636 ClassOptions
9637 \end_layout
9638
9639 \end_inset
9640
9641 部は,以下の項目を取り得ます.
9642 \end_layout
9643
9644 \begin_layout Description
9645 \begin_inset Flex Code
9646 status collapsed
9647
9648 \begin_layout Plain Layout
9649 FontSize
9650 \end_layout
9651
9652 \end_inset
9653
9654  [
9655 \begin_inset Flex Code
9656 status collapsed
9657
9658 \begin_layout Plain Layout
9659 文字列="10|11|12"
9660 \end_layout
9661
9662 \end_inset
9663
9664 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
9665 \begin_inset Flex Code
9666 status collapsed
9667
9668 \begin_layout Plain Layout
9669 |
9670 \end_layout
9671
9672 \end_inset
9673
9674 」で区切ります.
9675 \end_layout
9676
9677 \begin_layout Description
9678 \begin_inset Flex Code
9679 status collapsed
9680
9681 \begin_layout Plain Layout
9682 Header
9683 \end_layout
9684
9685 \end_inset
9686
9687  XMLベースの出力クラスで,DTD行を設定するのに使用されます.例:PUBLIC 
9688 \begin_inset Quotes eld
9689 \end_inset
9690
9691 -//OASIS//DTD DocBook V4.2//EN
9692 \begin_inset Quotes erd
9693 \end_inset
9694
9695
9696 \end_layout
9697
9698 \begin_layout Description
9699 \begin_inset Flex Code
9700 status collapsed
9701
9702 \begin_layout Plain Layout
9703 PageStyle
9704 \end_layout
9705
9706 \end_inset
9707
9708  [
9709 \begin_inset Flex Code
9710 status collapsed
9711
9712 \begin_layout Plain Layout
9713 文字列="empty|plain|headings|fancy"
9714 \end_layout
9715
9716 \end_inset
9717
9718 ] 使用できるページ様式の一覧です.「
9719 \begin_inset Flex Code
9720 status collapsed
9721
9722 \begin_layout Plain Layout
9723 |
9724 \end_layout
9725
9726 \end_inset
9727
9728 」で区切ります.
9729 \end_layout
9730
9731 \begin_layout Description
9732 \begin_inset Flex Code
9733 status collapsed
9734
9735 \begin_layout Plain Layout
9736 Other
9737 \end_layout
9738
9739 \end_inset
9740
9741  [
9742 \begin_inset Flex Code
9743 status collapsed
9744
9745 \begin_layout Plain Layout
9746 文字列=""
9747 \end_layout
9748
9749 \end_inset
9750
9751
9752 \begin_inset Flex Code
9753 status collapsed
9754
9755 \begin_layout Plain Layout
9756
9757 \backslash
9758 documentclass
9759 \end_layout
9760
9761 \end_inset
9762
9763 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
9764 \end_layout
9765
9766 \begin_layout Standard
9767 \begin_inset Flex Code
9768 status collapsed
9769
9770 \begin_layout Plain Layout
9771 ClassOptions
9772 \end_layout
9773
9774 \end_inset
9775
9776 部は「
9777 \begin_inset Flex Code
9778 status collapsed
9779
9780 \begin_layout Plain Layout
9781 End
9782 \end_layout
9783
9784 \end_inset
9785
9786 」で閉じる必要があります.
9787 \end_layout
9788
9789 \begin_layout Subsection
9790 段落様式
9791 \begin_inset CommandInset label
9792 LatexCommand label
9793 name "subsec:段落様式"
9794
9795 \end_inset
9796
9797
9798 \end_layout
9799
9800 \begin_layout Standard
9801 段落様式の記述は,以下のようになります
9802 \begin_inset Foot
9803 status collapsed
9804
9805 \begin_layout Plain Layout
9806 これは新しいレイアウトを定義するか,既存のレイアウトを修正することになることに注意してください.
9807 \end_layout
9808
9809 \end_inset
9810
9811
9812 \end_layout
9813
9814 \begin_layout LyX-Code
9815 Style 
9816 \family roman
9817 \emph on
9818 名称
9819 \end_layout
9820
9821 \begin_layout LyX-Code
9822  ...
9823 \end_layout
9824
9825 \begin_layout LyX-Code
9826 End
9827 \end_layout
9828
9829 \begin_layout Standard
9830 ここでは,以下のコマンドを使用することができます.
9831 \end_layout
9832
9833 \begin_layout Description
9834
9835 \lang english
9836 \begin_inset Flex Code
9837 status collapsed
9838
9839 \begin_layout Plain Layout
9840
9841 \lang english
9842 AddToToc
9843 \end_layout
9844
9845 \end_inset
9846
9847  [
9848 \begin_inset Flex Code
9849 status collapsed
9850
9851 \begin_layout Plain Layout
9852
9853 \lang english
9854 string
9855 \end_layout
9856
9857 \end_inset
9858
9859 =""] This paragraph will appear in the table of contents of the given type.
9860  An empty string disables.
9861  See also the OutlinerName and the IsTocCaption commands.
9862  Default: disabled.
9863 \end_layout
9864
9865 \begin_layout Description
9866 \begin_inset Flex Code
9867 status collapsed
9868
9869 \begin_layout Plain Layout
9870 Align
9871 \end_layout
9872
9873 \end_inset
9874
9875  [
9876 \begin_inset Flex Code
9877 status collapsed
9878
9879 \begin_layout Plain Layout
9880
9881 \emph on
9882 block
9883 \emph default
9884 , left, right, center
9885 \end_layout
9886
9887 \end_inset
9888
9889 ] 段落の揃え.
9890 \end_layout
9891
9892 \begin_layout Description
9893 \begin_inset Flex Code
9894 status collapsed
9895
9896 \begin_layout Plain Layout
9897 AlignPossible
9898 \end_layout
9899
9900 \end_inset
9901
9902  [
9903 \begin_inset Flex Code
9904 status collapsed
9905
9906 \begin_layout Plain Layout
9907
9908 \emph on
9909 block
9910 \emph default
9911 , left, right, center
9912 \end_layout
9913
9914 \end_inset
9915
9916 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
9917 スタイルには,意味を成さない一部の揃えが禁じられているものがあります.たとえば,連番箇条書きを右揃えや中央揃えにすること
9918 はできません).
9919 \end_layout
9920
9921 \begin_layout Description
9922 \begin_inset Flex Code
9923 status collapsed
9924
9925 \begin_layout Plain Layout
9926 Argument
9927 \end_layout
9928
9929 \end_inset
9930
9931  [
9932 \begin_inset Flex Code
9933 status collapsed
9934
9935 \begin_layout Plain Layout
9936 整数
9937 \end_layout
9938
9939 \end_inset
9940
9941 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.これは,節見出しのようなものに便利で,また\SpecialChar LaTeX
9942 でのみ意味を持ちます.コマンドまたは環
9943 境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,必須・非必須を問わず–,別の場所で定義され,引数番号はその順序を表します.定義は
9944 \begin_inset Flex Code
9945 status collapsed
9946
9947 \begin_layout Plain Layout
9948 EndArgument
9949 \end_layout
9950
9951 \end_inset
9952
9953 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,以下のようになります.
9954 \end_layout
9955
9956 \begin_deeper
9957 \begin_layout Quote
9958
9959 \family typewriter
9960 Argument 1
9961 \end_layout
9962
9963 \begin_layout Quote
9964
9965 \family typewriter
9966 ...
9967 \end_layout
9968
9969 \begin_layout Quote
9970
9971 \family typewriter
9972 EndArgument
9973 \end_layout
9974
9975 \begin_layout Quote
9976
9977 \family typewriter
9978 Argument 2
9979 \end_layout
9980
9981 \begin_layout Quote
9982
9983 \family typewriter
9984 ...
9985 \end_layout
9986
9987 \begin_layout Quote
9988
9989 \family typewriter
9990 EndArgument
9991 \end_layout
9992
9993 \begin_layout Standard
9994 \begin_inset Flex Code
9995 status collapsed
9996
9997 \begin_layout Plain Layout
9998 Argument
9999 \end_layout
10000
10001 \end_inset
10002
10003 定義内部では,以下の指定をすることができます.
10004 \end_layout
10005
10006 \begin_layout Itemize
10007 \begin_inset Flex Code
10008 status collapsed
10009
10010 \begin_layout Plain Layout
10011 LabelString
10012 \end_layout
10013
10014 \end_inset
10015
10016  
10017 \begin_inset Flex Code
10018 status collapsed
10019
10020 \begin_layout Plain Layout
10021 [文字列]
10022 \end_layout
10023
10024 \end_inset
10025
10026  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
10027 \begin_inset Flex Code
10028 status collapsed
10029
10030 \begin_layout Plain Layout
10031 MenuString
10032 \end_layout
10033
10034 \end_inset
10035
10036 を指定した場合を除く).メニューには,後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
10037 \begin_inset space \space{}
10038 \end_inset
10039
10040
10041 \begin_inset Quotes eld
10042 \end_inset
10043
10044
10045 \begin_inset Flex Code
10046 status collapsed
10047
10048 \begin_layout Plain Layout
10049 Short Title|S
10050 \end_layout
10051
10052 \end_inset
10053
10054
10055 \begin_inset Quotes erd
10056 \end_inset
10057
10058 ).
10059 \end_layout
10060
10061 \begin_layout Itemize
10062 \begin_inset Flex Code
10063 status collapsed
10064
10065 \begin_layout Plain Layout
10066 MenuString
10067 \end_layout
10068
10069 \end_inset
10070
10071  
10072 \begin_inset Flex Code
10073 status collapsed
10074
10075 \begin_layout Plain Layout
10076 [文字列]
10077 \end_layout
10078
10079 \end_inset
10080
10081  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
10082 \begin_inset space \space{}
10083 \end_inset
10084
10085
10086 \begin_inset Quotes eld
10087 \end_inset
10088
10089
10090 \begin_inset Flex Code
10091 status collapsed
10092
10093 \begin_layout Plain Layout
10094 Short Title|S
10095 \end_layout
10096
10097 \end_inset
10098
10099
10100 \begin_inset Quotes erd
10101 \end_inset
10102
10103 ).この指定は必須ではありません.指定しない場合には,代わりに
10104 \begin_inset Flex Code
10105 status collapsed
10106
10107 \begin_layout Plain Layout
10108 LabelString
10109 \end_layout
10110
10111 \end_inset
10112
10113 がメニューに用いられます.
10114 \end_layout
10115
10116 \begin_layout Itemize
10117 \begin_inset Flex Code
10118 status collapsed
10119
10120 \begin_layout Plain Layout
10121 Tooltip
10122 \end_layout
10123
10124 \end_inset
10125
10126  
10127 \begin_inset Flex Code
10128 status collapsed
10129
10130 \begin_layout Plain Layout
10131 [文字列]
10132 \end_layout
10133
10134 \end_inset
10135
10136  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
10137 \end_layout
10138
10139 \begin_layout Itemize
10140 \begin_inset Flex Code
10141 status collapsed
10142
10143 \begin_layout Plain Layout
10144 Mandatory
10145 \end_layout
10146
10147 \end_inset
10148
10149  [
10150 \begin_inset Flex Code
10151 status collapsed
10152
10153 \begin_layout Plain Layout
10154
10155 \emph on
10156 0
10157 \end_layout
10158
10159 \end_inset
10160
10161 ,
10162 \begin_inset space \thinspace{}
10163 \end_inset
10164
10165
10166 \begin_inset Flex Code
10167 status collapsed
10168
10169 \begin_layout Plain Layout
10170 1
10171 \end_layout
10172
10173 \end_inset
10174
10175 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,与えられなければ空の出力を行いますが,非必須引数の場合はそもそも出力されません
10176 .既定では,必須引数は
10177 \begin_inset Flex Code
10178 status collapsed
10179
10180 \begin_layout Plain Layout
10181 {...}
10182 \end_layout
10183
10184 \end_inset
10185
10186 で区切られ,非必須引数は
10187 \begin_inset Flex Code
10188 status collapsed
10189
10190 \begin_layout Plain Layout
10191 [...]
10192 \end_layout
10193
10194 \end_inset
10195
10196 で区切られます.
10197 \end_layout
10198
10199 \begin_layout Itemize
10200 \begin_inset Flex Code
10201 status collapsed
10202
10203 \begin_layout Plain Layout
10204 Requires
10205 \end_layout
10206
10207 \end_inset
10208
10209  
10210 \begin_inset Flex Code
10211 status collapsed
10212
10213 \begin_layout Plain Layout
10214 [整数=0]
10215 \end_layout
10216
10217 \end_inset
10218
10219  この引数が出力されるとき,必要となる別の引数を(番号によって)指定します.例えば,\SpecialChar LaTeX
10220 コマンドでは,
10221 \begin_inset Flex Code
10222 status collapsed
10223
10224 \begin_layout Plain Layout
10225
10226 \backslash
10227 command[][引数]{文字列}
10228 \end_layout
10229
10230 \end_inset
10231
10232 のように,前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
10233 \begin_inset Flex Code
10234 status collapsed
10235
10236 \begin_layout Plain Layout
10237 Argument 2
10238 \end_layout
10239
10240 \end_inset
10241
10242 中に
10243 \begin_inset Flex Code
10244 status collapsed
10245
10246 \begin_layout Plain Layout
10247 Requires 1
10248 \end_layout
10249
10250 \end_inset
10251
10252 ステートメントを置くことで実現できます.
10253 \end_layout
10254
10255 \begin_layout Itemize
10256 \begin_inset Flex Code
10257 status collapsed
10258
10259 \begin_layout Plain Layout
10260 LeftDelim
10261 \end_layout
10262
10263 \end_inset
10264
10265  
10266 \begin_inset Flex Code
10267 status collapsed
10268
10269 \begin_layout Plain Layout
10270 [文字列]
10271 \end_layout
10272
10273 \end_inset
10274
10275  (
10276 \begin_inset Flex Code
10277 status collapsed
10278
10279 \begin_layout Plain Layout
10280 {
10281 \end_layout
10282
10283 \end_inset
10284
10285
10286 \begin_inset Flex Code
10287 status collapsed
10288
10289 \begin_layout Plain Layout
10290 [
10291 \end_layout
10292
10293 \end_inset
10294
10295 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
10296 \begin_inset Flex Code
10297 status collapsed
10298
10299 \begin_layout Plain Layout
10300 <br/>
10301 \end_layout
10302
10303 \end_inset
10304
10305 で指示できます.
10306 \end_layout
10307
10308 \begin_layout Itemize
10309 \begin_inset Flex Code
10310 status collapsed
10311
10312 \begin_layout Plain Layout
10313 RightDelim
10314 \end_layout
10315
10316 \end_inset
10317
10318  
10319 \begin_inset Flex Code
10320 status collapsed
10321
10322 \begin_layout Plain Layout
10323 [文字列]
10324 \end_layout
10325
10326 \end_inset
10327
10328  (
10329 \begin_inset Flex Code
10330 status collapsed
10331
10332 \begin_layout Plain Layout
10333 }
10334 \end_layout
10335
10336 \end_inset
10337
10338
10339 \begin_inset Flex Code
10340 status collapsed
10341
10342 \begin_layout Plain Layout
10343 ]
10344 \end_layout
10345
10346 \end_inset
10347
10348 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
10349 \begin_inset Flex Code
10350 status collapsed
10351
10352 \begin_layout Plain Layout
10353 <br/>
10354 \end_layout
10355
10356 \end_inset
10357
10358 で指示できます.
10359 \end_layout
10360
10361 \begin_layout Itemize
10362 \begin_inset Flex Code
10363 status collapsed
10364
10365 \begin_layout Plain Layout
10366 DefaultArg
10367 \end_layout
10368
10369 \end_inset
10370
10371  
10372 \begin_inset Flex Code
10373 status collapsed
10374
10375 \begin_layout Plain Layout
10376 [文字列]
10377 \end_layout
10378
10379 \end_inset
10380
10381  ユーザー指定引数が与えられなかったとき,すなわち引数差込枠が挿入されなかったときに限り,挿入される引数を定義します(空の引数差込枠が挿入されてもDefault
10382 Argは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
10383 \end_layout
10384
10385 \begin_layout Itemize
10386 \begin_inset Flex Code
10387 status collapsed
10388
10389 \begin_layout Plain Layout
10390 PresetArg
10391 \end_layout
10392
10393 \end_inset
10394
10395  
10396 \begin_inset Flex Code
10397 status collapsed
10398
10399 \begin_layout Plain Layout
10400 [文字列]
10401 \end_layout
10402
10403 \end_inset
10404
10405  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
10406 \end_layout
10407
10408 \begin_layout Itemize
10409 \begin_inset Flex Code
10410 status collapsed
10411
10412 \begin_layout Plain Layout
10413 Font
10414 \end_layout
10415
10416 \end_inset
10417
10418  引数の内容に用いられるフォント.
10419 \begin_inset CommandInset ref
10420 LatexCommand ref
10421 reference "subsec:フォント指定"
10422
10423 \end_inset
10424
10425 参照.
10426 \end_layout
10427
10428 \begin_layout Itemize
10429 \begin_inset Flex Code
10430 status collapsed
10431
10432 \begin_layout Plain Layout
10433 LabelFont
10434 \end_layout
10435
10436 \end_inset
10437
10438  ラベルに用いられるフォント.
10439 \begin_inset CommandInset ref
10440 LatexCommand ref
10441 reference "subsec:フォント指定"
10442
10443 \end_inset
10444
10445 参照.
10446 \end_layout
10447
10448 \begin_layout Itemize
10449 \begin_inset Flex Code
10450 status collapsed
10451
10452 \begin_layout Plain Layout
10453 Decoration
10454 \end_layout
10455
10456 \end_inset
10457
10458  [
10459 \begin_inset Flex Code
10460 status collapsed
10461
10462 \begin_layout Plain Layout
10463
10464 \emph on
10465 Classic
10466 \emph default
10467 , Minimalistic, Conglomerate
10468 \end_layout
10469
10470 \end_inset
10471
10472 ] 差込枠の枠とボタンに用いられる装飾様式.
10473 \end_layout
10474
10475 \begin_layout Itemize
10476 \begin_inset Flex Code
10477 status collapsed
10478
10479 \begin_layout Plain Layout
10480 AutoInsert
10481 \end_layout
10482
10483 \end_inset
10484
10485  
10486 \begin_inset Flex Code
10487 status collapsed
10488
10489 \begin_layout Plain Layout
10490 [整数=0]
10491 \end_layout
10492
10493 \end_inset
10494
10495  これが
10496 \begin_inset Flex Code
10497 status collapsed
10498
10499 \begin_layout Plain Layout
10500 1
10501 \end_layout
10502
10503 \end_inset
10504
10505 に設定されると,各様式が選択されたときに,この引数が自動的に挿入されます.現在のところ,様式・レイアウト毎に1変数のみ自動挿入することができます.
10506 \end_layout
10507
10508 \begin_layout Itemize
10509 \begin_inset Flex Code
10510 status collapsed
10511
10512 \begin_layout Plain Layout
10513 InsertCotext
10514 \end_layout
10515
10516 \end_inset
10517
10518  
10519 \begin_inset Flex Code
10520 status collapsed
10521
10522 \begin_layout Plain Layout
10523 [整数=0]
10524 \end_layout
10525
10526 \end_inset
10527
10528  これが
10529 \begin_inset Flex Code
10530 status collapsed
10531
10532 \begin_layout Plain Layout
10533 1
10534 \end_layout
10535
10536 \end_inset
10537
10538 に設定されると,この引数は,副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
10539 \end_layout
10540
10541 \begin_layout Itemize
10542
10543 \lang english
10544 \begin_inset Flex Code
10545 status collapsed
10546
10547 \begin_layout Plain Layout
10548
10549 \lang english
10550 PassThru
10551 \end_layout
10552
10553 \end_inset
10554
10555  [
10556 \begin_inset Flex Code
10557 status collapsed
10558
10559 \begin_layout Plain Layout
10560
10561 \emph on
10562 \lang english
10563 inherited
10564 \emph default
10565 , true, false
10566 \end_layout
10567
10568 \end_inset
10569
10570 ] Whether the contents of this argument should be output in raw form, meaning
10571  without special translations that \SpecialChar LaTeX
10572  would require.
10573  By default, the 
10574 \begin_inset Flex Code
10575 status collapsed
10576
10577 \begin_layout Plain Layout
10578
10579 \lang english
10580 PassThru
10581 \end_layout
10582
10583 \end_inset
10584
10585  status is inherited by the inset or paragraph layout the argument belongs
10586  to, true and false change the status for the given argument only.
10587 \end_layout
10588
10589 \begin_layout Itemize
10590 \begin_inset Flex Code
10591 status collapsed
10592
10593 \begin_layout Plain Layout
10594 PassThruChars
10595 \end_layout
10596
10597 \end_inset
10598
10599  [
10600 \begin_inset Flex Code
10601 status collapsed
10602
10603 \begin_layout Plain Layout
10604 文字列
10605 \end_layout
10606
10607 \end_inset
10608
10609 ]
10610 \family typewriter
10611  
10612 \family default
10613 \SpecialChar LaTeX
10614 が要求する特別な翻訳は抜きにして,生の形で出力されるべき各文字を定義します.PassThruとは違って,引数用に,これは明示的に定義されなくてはなりません.つま
10615 り,引数は,親差込枠や親レイアウトからPassThruCharsを継承しません.
10616 \end_layout
10617
10618 \begin_layout Itemize
10619
10620 \lang english
10621 \begin_inset Flex Code
10622 status collapsed
10623
10624 \begin_layout Plain Layout
10625
10626 \lang english
10627 IsTocCaption
10628 \end_layout
10629
10630 \end_inset
10631
10632  [
10633 \begin_inset Flex Code
10634 status collapsed
10635
10636 \begin_layout Plain Layout
10637
10638 \emph on
10639 \lang english
10640 0
10641 \end_layout
10642
10643 \end_inset
10644
10645 ,
10646 \begin_inset space \thinspace{}
10647 \end_inset
10648
10649
10650 \begin_inset Flex Code
10651 status collapsed
10652
10653 \begin_layout Plain Layout
10654
10655 \lang english
10656 1
10657 \end_layout
10658
10659 \end_inset
10660
10661 ] If this is set to 1, the argument will output its content in the corresponding
10662  item in the table of contents.
10663  See AddToToc.
10664 \end_layout
10665
10666 \begin_layout Standard
10667 既定では,
10668 \begin_inset Flex Code
10669 status collapsed
10670
10671 \begin_layout Plain Layout
10672 LatexType
10673 \end_layout
10674
10675 \end_inset
10676
10677
10678 \begin_inset Flex Code
10679 status collapsed
10680
10681 \begin_layout Plain Layout
10682 Command
10683 \end_layout
10684
10685 \end_inset
10686
10687 のとき,各レイアウトで\SpecialChar LyX
10688 作業領域に入力した文字列は,コマンドの最後の(必須)引数になります.しかしながら,前置句
10689 \begin_inset Flex Code
10690 status collapsed
10691
10692 \begin_layout Plain Layout
10693 post:
10694 \end_layout
10695
10696 \end_inset
10697
10698 を付けた文字列は,この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,作業領域引数の後の最初の引数は
10699 \begin_inset Flex Code
10700 status collapsed
10701
10702 \begin_layout Plain Layout
10703 post:1
10704 \end_layout
10705
10706 \end_inset
10707
10708 となります.後置引数は,
10709 \begin_inset Flex Code
10710 status collapsed
10711
10712 \begin_layout Plain Layout
10713 Command
10714 \end_layout
10715
10716 \end_inset
10717
10718 以外の
10719 \begin_inset Flex Code
10720 status collapsed
10721
10722 \begin_layout Plain Layout
10723 LatexType
10724 \end_layout
10725
10726 \end_inset
10727
10728 では無視されます.
10729 \end_layout
10730
10731 \begin_layout Standard
10732 (
10733 \begin_inset Flex Code
10734 status collapsed
10735
10736 \begin_layout Plain Layout
10737
10738 \backslash
10739 item[foo]
10740 \end_layout
10741
10742 \end_inset
10743
10744 のような)箇条書き
10745 \begin_inset Flex Code
10746 status collapsed
10747
10748 \begin_layout Plain Layout
10749
10750 \backslash
10751 item
10752 \end_layout
10753
10754 \end_inset
10755
10756 の引数は,前置句
10757 \begin_inset Flex Code
10758 status collapsed
10759
10760 \begin_layout Plain Layout
10761 item:
10762 \end_layout
10763
10764 \end_inset
10765
10766 の後に番号を付けます(例:
10767 \begin_inset Flex Code
10768 status collapsed
10769
10770 \begin_layout Plain Layout
10771 Argument item:1
10772 \end_layout
10773
10774 \end_inset
10775
10776 ).
10777 \end_layout
10778
10779 \end_deeper
10780 \begin_layout Description
10781 \begin_inset Flex Code
10782 status collapsed
10783
10784 \begin_layout Plain Layout
10785 BabelPreamble
10786 \end_layout
10787
10788 \end_inset
10789
10790  これは,前に現れたこの様式の
10791 \begin_inset Flex Code
10792 status collapsed
10793
10794 \begin_layout Plain Layout
10795 BabelPreamble
10796 \end_layout
10797
10798 \end_inset
10799
10800 宣言をすべて,完全に上書きしますので注意してください.「
10801 \begin_inset Flex Code
10802 status collapsed
10803
10804 \begin_layout Plain Layout
10805 EndBabelPreamble
10806 \end_layout
10807
10808 \end_inset
10809
10810 」で閉じる必要があります.これの利用法についての詳細は,第
10811 \begin_inset CommandInset ref
10812 LatexCommand ref
10813 reference "subsec:段落様式の国際化"
10814
10815 \end_inset
10816
10817 節をご覧ください.
10818 \end_layout
10819
10820 \begin_layout Description
10821 \begin_inset Flex Code
10822 status collapsed
10823
10824 \begin_layout Plain Layout
10825 BottomSep
10826 \end_layout
10827
10828 \end_inset
10829
10830  [
10831 \begin_inset Flex Code
10832 status collapsed
10833
10834 \begin_layout Plain Layout
10835 浮動小数点型=0
10836 \end_layout
10837
10838 \end_inset
10839
10840 ]
10841 \begin_inset Foot
10842 status collapsed
10843
10844 \begin_layout Plain Layout
10845 ここで「浮動小数点型」とは1.5のような実数を指します.
10846 \end_layout
10847
10848 \end_inset
10849
10850  このレイアウト型の段落塊の最後の段落と,次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,分離幅は足し上げられるのではなく,最大値がとられま
10851 す.
10852 \end_layout
10853
10854 \begin_layout Description
10855 \begin_inset Flex Code
10856 status collapsed
10857
10858 \begin_layout Plain Layout
10859 Category
10860 \end_layout
10861
10862 \end_inset
10863
10864  [
10865 \begin_inset Flex Code
10866 status collapsed
10867
10868 \begin_layout Plain Layout
10869 文字列
10870 \end_layout
10871
10872 \end_inset
10873
10874 ] この様式のカテゴリです.これは,ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが
10875 ,作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
10876 \end_layout
10877
10878 \begin_layout Description
10879 \begin_inset Flex Code
10880 status collapsed
10881
10882 \begin_layout Plain Layout
10883 CommandDepth
10884 \end_layout
10885
10886 \end_inset
10887
10888  XMLコマンドの深度.XML型の書式でのみ使用されます.
10889 \end_layout
10890
10891 \begin_layout Description
10892 \begin_inset Flex Code
10893 status collapsed
10894
10895 \begin_layout Plain Layout
10896 CopyStyle
10897 \end_layout
10898
10899 \end_inset
10900
10901  [
10902 \begin_inset Flex Code
10903 status collapsed
10904
10905 \begin_layout Plain Layout
10906 文字列
10907 \end_layout
10908
10909 \end_inset
10910
10911 ] 既存の様式から,すべての機能を現在の様式にコピーします.
10912 \end_layout
10913
10914 \begin_layout Description
10915 \begin_inset Flex Code
10916 status collapsed
10917
10918 \begin_layout Plain Layout
10919 DependsOn
10920 \end_layout
10921
10922 \end_inset
10923
10924  [
10925 \begin_inset Flex Code
10926 status collapsed
10927
10928 \begin_layout Plain Layout
10929 <名称>
10930 \end_layout
10931
10932 \end_inset
10933
10934 ]
10935 \lang english
10936  
10937 \lang japanese
10938 この
10939 \emph on
10940 前に
10941 \emph default
10942 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,プリアンブルの断片の順序を確実にするためのものです
10943 \begin_inset Foot
10944 status collapsed
10945
10946 \begin_layout Plain Layout
10947 この機能以外には,プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
10948 の特定のバージョンで観察された順序は,将来のバージョンで警告なしに変わる可能性が
10949 あります.
10950 \end_layout
10951
10952 \end_inset
10953
10954
10955 \end_layout
10956
10957 \begin_layout Description
10958 \begin_inset Flex Code
10959 status collapsed
10960
10961 \begin_layout Plain Layout
10962 EndLabeltype
10963 \end_layout
10964
10965 \end_inset
10966
10967  [
10968 \begin_inset Flex Code
10969 status collapsed
10970
10971 \begin_layout Plain Layout
10972
10973 \emph on
10974 No_Label
10975 \emph default
10976 , Box, Filled_Box, Static
10977 \end_layout
10978
10979 \end_inset
10980
10981 ] 段落の最後(あるいは
10982 \begin_inset Flex Code
10983 status collapsed
10984
10985 \begin_layout Plain Layout
10986 LatexType
10987 \end_layout
10988
10989 \end_inset
10990
10991 が,
10992 \begin_inset Flex Code
10993 status collapsed
10994
10995 \begin_layout Plain Layout
10996 Environment
10997 \end_layout
10998
10999 \end_inset
11000
11001
11002 \begin_inset Flex Code
11003 status collapsed
11004
11005 \begin_layout Plain Layout
11006 Item_Environment
11007 \end_layout
11008
11009 \end_inset
11010
11011
11012 \begin_inset Flex Code
11013 status collapsed
11014
11015 \begin_layout Plain Layout
11016 List_Environment
11017 \end_layout
11018
11019 \end_inset
11020
11021 のいずれかの場合は,段落群の最後)に置くラベル.
11022 \begin_inset Flex Code
11023 status collapsed
11024
11025 \begin_layout Plain Layout
11026 No_Label
11027 \end_layout
11028
11029 \end_inset
11030
11031 の場合は「何もない」ことを指し,
11032 \begin_inset Flex Code
11033 status collapsed
11034
11035 \begin_layout Plain Layout
11036 Box
11037 \end_layout
11038
11039 \end_inset
11040
11041 (あるいは
11042 \begin_inset Flex Code
11043 status collapsed
11044
11045 \begin_layout Plain Layout
11046 Filled_Box
11047 \end_layout
11048
11049 \end_inset
11050
11051 )の場合は,証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
11052 \begin_inset Flex Code
11053 status collapsed
11054
11055 \begin_layout Plain Layout
11056 Static
11057 \end_layout
11058
11059 \end_inset
11060
11061 は明示したテキスト文字列を指します.
11062 \end_layout
11063
11064 \begin_layout Description
11065 \begin_inset Flex Code
11066 status collapsed
11067
11068 \begin_layout Plain Layout
11069 EndLabelString
11070 \end_layout
11071
11072 \end_inset
11073
11074  [
11075 \begin_inset Flex Code
11076 status collapsed
11077
11078 \begin_layout Plain Layout
11079 文字列=""
11080 \end_layout
11081
11082 \end_inset
11083
11084
11085 \begin_inset Flex Code
11086 status collapsed
11087
11088 \begin_layout Plain Layout
11089 Static
11090 \end_layout
11091
11092 \end_inset
11093
11094
11095 \begin_inset Flex Code
11096 status collapsed
11097
11098 \begin_layout Plain Layout
11099 EndLabelType
11100 \end_layout
11101
11102 \end_inset
11103
11104 のラベルで用いる文字列.
11105 \end_layout
11106
11107 \begin_layout Description
11108 \begin_inset Flex Code
11109 status collapsed
11110
11111 \begin_layout Plain Layout
11112 Font
11113 \end_layout
11114
11115 \end_inset
11116
11117  本文テキストとラベルの
11118 \emph on
11119 両方で
11120 \emph default
11121 用いられるフォント.第
11122 \begin_inset CommandInset ref
11123 LatexCommand ref
11124 reference "subsec:フォント指定"
11125
11126 \end_inset
11127
11128 節を参照.このフォントを定義すると,自動的に
11129 \begin_inset Flex Code
11130 status collapsed
11131
11132 \begin_layout Plain Layout
11133 LabelFont
11134 \end_layout
11135
11136 \end_inset
11137
11138 も同じ値で定義されることに注意してください.したがって,
11139 \begin_inset Flex Code
11140 status collapsed
11141
11142 \begin_layout Plain Layout
11143 LabelFont
11144 \end_layout
11145
11146 \end_inset
11147
11148 も同時に定義したい場合には,これを先に定義してください.
11149 \end_layout
11150
11151 \begin_layout Description
11152 \begin_inset Flex Code
11153 status collapsed
11154
11155 \begin_layout Plain Layout
11156 ForceLocal
11157 \end_layout
11158
11159 \end_inset
11160
11161  [
11162 \begin_inset Flex Code
11163 status collapsed
11164
11165 \begin_layout Plain Layout
11166 int=0
11167 \end_layout
11168
11169 \end_inset
11170
11171 ] 新しい様式を\SpecialChar LyX
11172 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11173  2.1.0です.引数は数字で,0・-1・1以上の任意の数をとることが
11174 できます.様式の
11175 \begin_inset Flex Code
11176 status collapsed
11177
11178 \begin_layout Plain Layout
11179 ForceLocal
11180 \end_layout
11181
11182 \end_inset
11183
11184 フラグが1以上ならば,これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,文書ヘッダからの様式定義が文書クラスに追加されます.したがって,古い
11185 版の\SpecialChar LyX
11186 もこの様式を取り扱えるようになります.
11187 \begin_inset Flex Code
11188 status collapsed
11189
11190 \begin_layout Plain Layout
11191 ForceLocal
11192 \end_layout
11193
11194 \end_inset
11195
11196 の引数は版数です.様式が読み込まれたときに,文書クラス中の既存の様式の版数よりも小さいと,新しい様式は無視されます.版数が大きいと,既存の様式に代わって新しい様
11197 式が用いられます.値-1は無限大の版数を意味し,この様式が常に用いられることになります.
11198 \end_layout
11199
11200 \begin_layout Description
11201 \begin_inset Flex Code
11202 status collapsed
11203
11204 \begin_layout Plain Layout
11205 FreeSpacing
11206 \end_layout
11207
11208 \end_inset
11209
11210  [
11211 \emph on
11212
11213 \begin_inset Flex Code
11214 status collapsed
11215
11216 \begin_layout Plain Layout
11217 0
11218 \end_layout
11219
11220 \end_inset
11221
11222
11223 \emph default
11224 ,
11225 \begin_inset space \thinspace{}
11226 \end_inset
11227
11228
11229 \begin_inset Flex Code
11230 status collapsed
11231
11232 \begin_layout Plain Layout
11233 1
11234 \end_layout
11235
11236 \end_inset
11237
11238 ] \SpecialChar LyX
11239 は,空白をそれ自体文字や記号ではなく,2つの単語の間の分割子として捉えているため,単語間に2つ以上の空白を入れることは,通常許可していません.これ自体はとて
11240 も素晴らしいことですが,たとえばプログラムコードや生の\SpecialChar LaTeX
11241 コードを入力しようとするときなどに,煩わしくなることがあります.このことから,
11242 \begin_inset Flex Code
11243 status collapsed
11244
11245 \begin_layout Plain Layout
11246 FreeSpacing
11247 \end_layout
11248
11249 \end_inset
11250
11251 を有効にすることが認められています.\SpecialChar LyX
11252 は,\SpecialChar LaTeX
11253 モード以外では2つめ以降の空白には,保護された空白を使用することに注意してください.
11254 \end_layout
11255
11256 \begin_layout Description
11257 \begin_inset Flex Code
11258 status collapsed
11259
11260 \begin_layout Plain Layout
11261 HTML*
11262 \end_layout
11263
11264 \end_inset
11265
11266  これらのタグは,XHTML出力で使用されます.第
11267 \begin_inset CommandInset ref
11268 LatexCommand ref
11269 reference "subsec:段落様式-XHTML"
11270
11271 \end_inset
11272
11273 節をご覧ください.
11274 \end_layout
11275
11276 \begin_layout Description
11277 \begin_inset Flex Code
11278 status collapsed
11279
11280 \begin_layout Plain Layout
11281 InnerTag
11282 \end_layout
11283
11284 \end_inset
11285
11286  [[FIXME]] (XML型書式でのみ使用されます.)
11287 \end_layout
11288
11289 \begin_layout Description
11290 \begin_inset Flex Code
11291 status collapsed
11292
11293 \begin_layout Plain Layout
11294 InPreamble
11295 \end_layout
11296
11297 \end_inset
11298
11299  [
11300 \emph on
11301
11302 \begin_inset Flex Code
11303 status collapsed
11304
11305 \begin_layout Plain Layout
11306 0
11307 \end_layout
11308
11309 \end_inset
11310
11311
11312 \emph default
11313 ,
11314 \begin_inset space \thinspace{}
11315 \end_inset
11316
11317
11318 \begin_inset Flex Code
11319 status collapsed
11320
11321 \begin_layout Plain Layout
11322 1
11323 \end_layout
11324
11325 \end_inset
11326
11327
11328 \begin_inset Flex Code
11329 status collapsed
11330
11331 \begin_layout Plain Layout
11332 1
11333 \end_layout
11334
11335 \end_inset
11336
11337 の場合,様式が文書本体ではなく,文書プリアンブルにインクルードされるようにします.これは,タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利
11338 です.これは,
11339 \begin_inset Flex Code
11340 status collapsed
11341
11342 \begin_layout Plain Layout
11343 LatexType
11344 \end_layout
11345
11346 \end_inset
11347
11348
11349 \begin_inset Flex Code
11350 status collapsed
11351
11352 \begin_layout Plain Layout
11353 Command
11354 \end_layout
11355
11356 \end_inset
11357
11358 または
11359 \begin_inset Flex Code
11360 status collapsed
11361
11362 \begin_layout Plain Layout
11363 Paragraph
11364 \end_layout
11365
11366 \end_inset
11367
11368 の様式に対してのみ動作します.
11369 \end_layout
11370
11371 \begin_layout Description
11372 \begin_inset Flex Code
11373 status collapsed
11374
11375 \begin_layout Plain Layout
11376 InTitle
11377 \end_layout
11378
11379 \end_inset
11380
11381  [
11382 \emph on
11383
11384 \begin_inset Flex Code
11385 status collapsed
11386
11387 \begin_layout Plain Layout
11388 0
11389 \end_layout
11390
11391 \end_inset
11392
11393
11394 \emph default
11395 ,
11396 \begin_inset space \thinspace{}
11397 \end_inset
11398
11399
11400 \begin_inset Flex Code
11401 status collapsed
11402
11403 \begin_layout Plain Layout
11404 1
11405 \end_layout
11406
11407 \end_inset
11408
11409
11410 \begin_inset Flex Code
11411 status collapsed
11412
11413 \begin_layout Plain Layout
11414 1
11415 \end_layout
11416
11417 \end_inset
11418
11419 の場合,このレイアウトをタイトルブロックの一部としてマークします(大域項目の
11420 \begin_inset Flex Code
11421 status collapsed
11422
11423 \begin_layout Plain Layout
11424 TitleLatexType
11425 \end_layout
11426
11427 \end_inset
11428
11429
11430 \begin_inset Flex Code
11431 status collapsed
11432
11433 \begin_layout Plain Layout
11434 TitleLatexName
11435 \end_layout
11436
11437 \end_inset
11438
11439 も参照).
11440 \end_layout
11441
11442 \begin_layout Description
11443
11444 \lang english
11445 \begin_inset Flex Code
11446 status collapsed
11447
11448 \begin_layout Plain Layout
11449
11450 \lang english
11451 IsTocCaption
11452 \end_layout
11453
11454 \end_inset
11455
11456  [
11457 \begin_inset Flex Code
11458 status collapsed
11459
11460 \begin_layout Plain Layout
11461
11462 \emph on
11463 \lang english
11464 0
11465 \end_layout
11466
11467 \end_inset
11468
11469 ,
11470 \begin_inset space \thinspace{}
11471 \end_inset
11472
11473
11474 \begin_inset Flex Code
11475 status collapsed
11476
11477 \begin_layout Plain Layout
11478
11479 \lang english
11480 1
11481 \end_layout
11482
11483 \end_inset
11484
11485 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
11486  of its contents in its item in the table of contents.
11487  Otherwise, only the label, if it exists, appears.
11488 \end_layout
11489
11490 \begin_layout Description
11491 \begin_inset Flex Code
11492 status collapsed
11493
11494 \begin_layout Plain Layout
11495 ItemCommand
11496 \end_layout
11497
11498 \end_inset
11499
11500  [
11501 \begin_inset Flex Code
11502 status collapsed
11503
11504 \begin_layout Plain Layout
11505 文字列="item"
11506 \end_layout
11507
11508 \end_inset
11509
11510 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
11511 コマンド.コマンドは,前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,\SpecialChar LaTeX
11512 出力中では
11513 \begin_inset Flex Code
11514 status collapsed
11515
11516 \begin_layout Plain Layout
11517
11518 \backslash
11519 item
11520 \end_layout
11521
11522 \end_inset
11523
11524 となります).
11525 \end_layout
11526
11527 \begin_layout Description
11528 \begin_inset Flex Code
11529 status collapsed
11530
11531 \begin_layout Plain Layout
11532 ItemSep
11533 \end_layout
11534
11535 \end_inset
11536
11537  [
11538 \begin_inset Flex Code
11539 status collapsed
11540
11541 \begin_layout Plain Layout
11542 浮動小数点型=0
11543 \end_layout
11544
11545 \end_inset
11546
11547 ] これは,同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,それぞれのレイアウトは,その環境の
11548 \begin_inset Flex Code
11549 status collapsed
11550
11551 \begin_layout Plain Layout
11552 ParSep
11553 \end_layout
11554
11555 \end_inset
11556
11557 だけ分離されます.しかし,その環境の項目全体は,さらにこの
11558 \begin_inset Flex Code
11559 status collapsed
11560
11561 \begin_layout Plain Layout
11562 ItemSep
11563 \end_layout
11564
11565 \end_inset
11566
11567 分だけ離されます.これは
11568 \emph on
11569 乗数
11570 \emph default
11571 であることに注意してください.
11572 \end_layout
11573
11574 \begin_layout Description
11575 \begin_inset Flex Code
11576 status collapsed
11577
11578 \begin_layout Plain Layout
11579 ItemTag
11580 \end_layout
11581
11582 \end_inset
11583
11584  [[FIXME]] (XML型書式でのみ使用されます.)
11585 \end_layout
11586
11587 \begin_layout Description
11588 \begin_inset Flex Code
11589 status collapsed
11590
11591 \begin_layout Plain Layout
11592 KeepEmpty
11593 \end_layout
11594
11595 \end_inset
11596
11597  [
11598 \emph on
11599
11600 \begin_inset Flex Code
11601 status collapsed
11602
11603 \begin_layout Plain Layout
11604 0
11605 \end_layout
11606
11607 \end_inset
11608
11609
11610 \emph default
11611 ,
11612 \begin_inset space \thinspace{}
11613 \end_inset
11614
11615
11616 \begin_inset Flex Code
11617 status collapsed
11618
11619 \begin_layout Plain Layout
11620 1
11621 \end_layout
11622
11623 \end_inset
11624
11625 ] 段落を空のままにすると,\SpecialChar LaTeX
11626 出力が空になってしまうので,通常,\SpecialChar LyX
11627 は段落を空にすることを許可しません.しかしながら,これを無効にすることが望ましい場合が存在します.
11628 たとえば,書簡のひな型では,必須フィールドを人々が忘れないように,空のフィールドのまま提供する手もあります.特別なクラスにおいては,レイアウトを実際には文章を含
11629 まないある種の改行として使用することもあります.
11630 \end_layout
11631
11632 \begin_layout Description
11633 \begin_inset Flex Code
11634 status collapsed
11635
11636 \begin_layout Plain Layout
11637 LabelBottomsep
11638 \end_layout
11639
11640 \end_inset
11641
11642  [
11643 \begin_inset Flex Code
11644 status collapsed
11645
11646 \begin_layout Plain Layout
11647 浮動小数点型=0
11648 \end_layout
11649
11650 \end_inset
11651
11652 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
11653 \begin_inset Flex Code
11654 status collapsed
11655
11656 \begin_layout Plain Layout
11657 Top_Environment
11658 \end_layout
11659
11660 \end_inset
11661
11662 および
11663 \begin_inset Newline linebreak
11664 \end_inset
11665
11666
11667 \begin_inset Flex Code
11668 status collapsed
11669
11670 \begin_layout Plain Layout
11671 Centered_Top_Environment
11672 \end_layout
11673
11674 \end_inset
11675
11676 ).
11677 \end_layout
11678
11679 \begin_layout Description
11680 \begin_inset Flex Code
11681 status collapsed
11682
11683 \begin_layout Plain Layout
11684 LabelCounter
11685 \end_layout
11686
11687 \end_inset
11688
11689  [
11690 \begin_inset Flex Code
11691 status collapsed
11692
11693 \begin_layout Plain Layout
11694 文字列=""
11695 \end_layout
11696
11697 \end_inset
11698
11699 ] 自動連番に使われるカウンタ名(詳しくは第
11700 \begin_inset CommandInset ref
11701 LatexCommand ref
11702 reference "subsec:カウンタ"
11703
11704 \end_inset
11705
11706 節参照).カウンタがラベル中に表示されるようにするためには,
11707 \begin_inset Flex Code
11708 status collapsed
11709
11710 \begin_layout Plain Layout
11711 LabelString
11712 \end_layout
11713
11714 \end_inset
11715
11716 中で参照する必要があります.これは,少なくとも
11717 \begin_inset Flex Code
11718 status collapsed
11719
11720 \begin_layout Plain Layout
11721 Static
11722 \end_layout
11723
11724 \end_inset
11725
11726
11727 \begin_inset Flex Code
11728 status collapsed
11729
11730 \begin_layout Plain Layout
11731 Above
11732 \end_layout
11733
11734 \end_inset
11735
11736
11737 \begin_inset Flex Code
11738 status collapsed
11739
11740 \begin_layout Plain Layout
11741 Centered
11742 \end_layout
11743
11744 \end_inset
11745
11746 の各
11747 \begin_inset Flex Code
11748 status collapsed
11749
11750 \begin_layout Plain Layout
11751 LabelType
11752 \end_layout
11753
11754 \end_inset
11755
11756 で動作します.
11757 \begin_inset Newline newline
11758 \end_inset
11759
11760 また,
11761 \begin_inset Flex Code
11762 status collapsed
11763
11764 \begin_layout Plain Layout
11765 LabelType
11766 \end_layout
11767
11768 \end_inset
11769
11770
11771 \begin_inset Flex Code
11772 status collapsed
11773
11774 \begin_layout Plain Layout
11775 Enumerate
11776 \end_layout
11777
11778 \end_inset
11779
11780 型のときにも,若干複雑にはなりますが,本項目を使うことができます.たとえば,「
11781 \begin_inset Flex Code
11782 status collapsed
11783
11784 \begin_layout Plain Layout
11785 LabelCounter myenum
11786 \end_layout
11787
11788 \end_inset
11789
11790 」と宣言したものとしましょう.すると,\SpecialChar LaTeX
11791 におけるのと同様,実際に使われるカウンタは,
11792 \begin_inset Flex Code
11793 status collapsed
11794
11795 \begin_layout Plain Layout
11796 myenumi
11797 \end_layout
11798
11799 \end_inset
11800
11801
11802 \begin_inset Flex Code
11803 status collapsed
11804
11805 \begin_layout Plain Layout
11806 myenumii
11807 \end_layout
11808
11809 \end_inset
11810
11811
11812 \begin_inset Flex Code
11813 status collapsed
11814
11815 \begin_layout Plain Layout
11816 myenumii
11817 \end_layout
11818
11819 \end_inset
11820
11821
11822 \begin_inset Flex Code
11823 status collapsed
11824
11825 \begin_layout Plain Layout
11826 myenumiv
11827 \end_layout
11828
11829 \end_inset
11830
11831 のようになります.これらのカウンタは,全て別々に宣言されなくてはなりません.
11832 \begin_inset Newline newline
11833 \end_inset
11834
11835 カウンタの詳細については,
11836 \begin_inset CommandInset ref
11837 LatexCommand ref
11838 reference "subsec:カウンタ"
11839
11840 \end_inset
11841
11842 をご覧ください.
11843 \end_layout
11844
11845 \begin_layout Description
11846 \begin_inset Flex Code
11847 status collapsed
11848
11849 \begin_layout Plain Layout
11850 LabelFont
11851 \end_layout
11852
11853 \end_inset
11854
11855  ラベルに使用されるフォント.
11856 \begin_inset CommandInset ref
11857 LatexCommand ref
11858 reference "subsec:フォント指定"
11859
11860 \end_inset
11861
11862 を参照.
11863 \end_layout
11864
11865 \begin_layout Description
11866 \begin_inset Flex Code
11867 status collapsed
11868
11869 \begin_layout Plain Layout
11870 LabelIndent
11871 \end_layout
11872
11873 \end_inset
11874
11875  [
11876 \begin_inset Flex Code
11877 status collapsed
11878
11879 \begin_layout Plain Layout
11880 文字列=""
11881 \end_layout
11882
11883 \end_inset
11884
11885 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
11886 \end_layout
11887
11888 \begin_layout Description
11889 \begin_inset Flex Code
11890 status collapsed
11891
11892 \begin_layout Plain Layout
11893 LabelSep
11894 \end_layout
11895
11896 \end_inset
11897
11898  [
11899 \begin_inset Flex Code
11900 status collapsed
11901
11902 \begin_layout Plain Layout
11903 文字列=""
11904 \end_layout
11905
11906 \end_inset
11907
11908 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
11909 \end_layout
11910
11911 \begin_layout Description
11912 \begin_inset Flex Code
11913 status collapsed
11914
11915 \begin_layout Plain Layout
11916 LabelString
11917 \end_layout
11918
11919 \end_inset
11920
11921  [
11922 \begin_inset Flex Code
11923 status collapsed
11924
11925 \begin_layout Plain Layout
11926 文字列=""
11927 \end_layout
11928
11929 \end_inset
11930
11931
11932 \begin_inset Flex Code
11933 status collapsed
11934
11935 \begin_layout Plain Layout
11936 Static
11937 \end_layout
11938
11939 \end_inset
11940
11941 ラベル型でラベルに使用する文字列.
11942 \begin_inset Flex Code
11943 status collapsed
11944
11945 \begin_layout Plain Layout
11946 LabelCounter
11947 \end_layout
11948
11949 \end_inset
11950
11951 を設定している場合,
11952 \begin_inset CommandInset ref
11953 LatexCommand ref
11954 reference "subsec:カウンタ"
11955
11956 \end_inset
11957
11958 に述べられている特別な整形コマンドを含めることができます.
11959 \end_layout
11960
11961 \begin_layout Description
11962 \begin_inset Flex Code
11963 status collapsed
11964
11965 \begin_layout Plain Layout
11966 LabelStringAppendix
11967 \end_layout
11968
11969 \end_inset
11970
11971  [
11972 \begin_inset Flex Code
11973 status collapsed
11974
11975 \begin_layout Plain Layout
11976 文字列=""
11977 \end_layout
11978
11979 \end_inset
11980
11981 ] これは付録の中で
11982 \begin_inset Flex Code
11983 status collapsed
11984
11985 \begin_layout Plain Layout
11986 LabelString
11987 \end_layout
11988
11989 \end_inset
11990
11991 の代わりに用いられます.各
11992 \begin_inset Flex Code
11993 status collapsed
11994
11995 \begin_layout Plain Layout
11996 LabelString
11997 \end_layout
11998
11999 \end_inset
12000
12001 ステートメントは,
12002 \begin_inset Flex Code
12003 status collapsed
12004
12005 \begin_layout Plain Layout
12006 LabelStringAppendix
12007 \end_layout
12008
12009 \end_inset
12010
12011 をもリセットすることに注意してください.
12012 \end_layout
12013
12014 \begin_layout Description
12015 \begin_inset Flex Code
12016 status collapsed
12017
12018 \begin_layout Plain Layout
12019 LabelTag
12020 \end_layout
12021
12022 \end_inset
12023
12024  [FIXME] (XML型書式でのみ使用されます.)
12025 \end_layout
12026
12027 \begin_layout Description
12028 \begin_inset Flex Code
12029 status collapsed
12030
12031 \begin_layout Plain Layout
12032 LabelType
12033 \end_layout
12034
12035 \end_inset
12036
12037  [
12038 \begin_inset Flex Code
12039 status collapsed
12040
12041 \begin_layout Plain Layout
12042
12043 \emph on
12044 No_Label
12045 \emph default
12046 , Manual, Static, Above,
12047 \begin_inset Newline newline
12048 \end_inset
12049
12050 Centered, Sensitive, Enumerate,
12051 \begin_inset Newline newline
12052 \end_inset
12053
12054 Itemize, Bibliography
12055 \end_layout
12056
12057 \end_inset
12058
12059 ]
12060 \end_layout
12061
12062 \begin_deeper
12063 \begin_layout Description
12064 \begin_inset Flex Code
12065 status collapsed
12066
12067 \begin_layout Plain Layout
12068 Manual
12069 \end_layout
12070
12071 \end_inset
12072
12073  は,ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,保護された空白を使用してください.
12074 \end_layout
12075
12076 \begin_layout Description
12077 \begin_inset Flex Code
12078 status collapsed
12079
12080 \begin_layout Plain Layout
12081 Static
12082 \end_layout
12083
12084 \end_inset
12085
12086  は,ラベルが
12087 \begin_inset Flex Code
12088 status collapsed
12089
12090 \begin_layout Plain Layout
12091 LabelString
12092 \end_layout
12093
12094 \end_inset
12095
12096 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12097 \begin_inset Flex Code
12098 status collapsed
12099
12100 \begin_layout Plain Layout
12101 LatexType
12102 \end_layout
12103
12104 \end_inset
12105
12106
12107 \begin_inset Flex Code
12108 status collapsed
12109
12110 \begin_layout Plain Layout
12111 Environment
12112 \end_layout
12113
12114 \end_inset
12115
12116 のときは,連続する同じ
12117 \begin_inset Flex Code
12118 status collapsed
12119
12120 \begin_layout Plain Layout
12121 Style
12122 \end_layout
12123
12124 \end_inset
12125
12126 の段落中,最初の段落にのみ表示されます.
12127 \end_layout
12128
12129 \begin_layout Description
12130 \begin_inset Flex Code
12131 status collapsed
12132
12133 \begin_layout Plain Layout
12134 Above
12135 \end_layout
12136
12137 \end_inset
12138
12139 および
12140 \begin_inset Flex Code
12141 status collapsed
12142
12143 \begin_layout Plain Layout
12144 Centered
12145 \end_layout
12146
12147 \end_inset
12148
12149  は,
12150 \begin_inset Flex Code
12151 status collapsed
12152
12153 \begin_layout Plain Layout
12154 Static
12155 \end_layout
12156
12157 \end_inset
12158
12159 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
12160 \end_layout
12161
12162 \begin_layout Description
12163 \begin_inset Flex Code
12164 status collapsed
12165
12166 \begin_layout Plain Layout
12167 Sensitive
12168 \end_layout
12169
12170 \end_inset
12171
12172  はキャプションラベルの「図」や「表」の特別な場合です.
12173 \begin_inset Flex Code
12174 status collapsed
12175
12176 \begin_layout Plain Layout
12177 Sensitive
12178 \end_layout
12179
12180 \end_inset
12181
12182 は,(ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,フロートに関連付けられたカウンタの値がNであるものとすると,「Float
12183 Type N」にハードコードされています.キャプションがフロートの外に挿入されると,
12184 \begin_inset Flex Code
12185 status collapsed
12186
12187 \begin_layout Plain Layout
12188 LabelString
12189 \end_layout
12190
12191 \end_inset
12192
12193 は「意味を成しません!」と表示されます.
12194 \end_layout
12195
12196 \begin_layout Description
12197 \begin_inset Flex Code
12198 status collapsed
12199
12200 \begin_layout Plain Layout
12201 Enumerate
12202 \end_layout
12203
12204 \end_inset
12205
12206  は,通常の連番ラベルを生成します.現在のところ,これは,第4階層まで順に,アラビア数字・小文字・小文字ローマ数字・大文字を使用するようにハードコードされていま
12207 す.
12208 \end_layout
12209
12210 \begin_layout Description
12211 \begin_inset Flex Code
12212 status collapsed
12213
12214 \begin_layout Plain Layout
12215 Itemize
12216 \end_layout
12217
12218 \end_inset
12219
12220  は,各階層でさまざまなブリットを生成します.これもハードコードされています.
12221 \end_layout
12222
12223 \begin_layout Description
12224 \begin_inset Flex Code
12225 status collapsed
12226
12227 \begin_layout Plain Layout
12228 Bibliography
12229 \end_layout
12230
12231 \end_inset
12232
12233  は,
12234 \begin_inset Flex Code
12235 status collapsed
12236
12237 \begin_layout Plain Layout
12238 LatexType BibEnvironment
12239 \end_layout
12240
12241 \end_inset
12242
12243 とともにのみ使用されます.
12244 \end_layout
12245
12246 \end_deeper
12247 \begin_layout Description
12248 \begin_inset Flex Code
12249 status collapsed
12250
12251 \begin_layout Plain Layout
12252 LangPreamble
12253 \end_layout
12254
12255 \end_inset
12256
12257  これは,この様式で既に出現した
12258 \begin_inset Flex Code
12259 status collapsed
12260
12261 \begin_layout Plain Layout
12262 LangPreamble
12263 \end_layout
12264
12265 \end_inset
12266
12267 宣言をすべて,完全に上書きしますので,注意してください.使用法についての詳細は,
12268 \begin_inset CommandInset ref
12269 LatexCommand ref
12270 reference "subsec:段落様式の国際化"
12271
12272 \end_inset
12273
12274 をご覧ください.
12275 \end_layout
12276
12277 \begin_layout Description
12278 \begin_inset Flex Code
12279 status collapsed
12280
12281 \begin_layout Plain Layout
12282 LatexName
12283 \end_layout
12284
12285 \end_inset
12286
12287  [
12288 \begin_inset Flex Code
12289 status collapsed
12290
12291 \begin_layout Plain Layout
12292 <名称>
12293 \end_layout
12294
12295 \end_inset
12296
12297 ] 対応する\SpecialChar LaTeX
12298 の名称です.環境名かコマンド名を指します.
12299 \end_layout
12300
12301 \begin_layout Description
12302 \begin_inset Flex Code
12303 status collapsed
12304
12305 \begin_layout Plain Layout
12306 LatexParam
12307 \end_layout
12308
12309 \end_inset
12310
12311  [
12312 \begin_inset Flex Code
12313 status collapsed
12314
12315 \begin_layout Plain Layout
12316 <パラメータ>
12317 \end_layout
12318
12319 \end_inset
12320
12321 ] 対応する
12322 \begin_inset Flex Code
12323 status collapsed
12324
12325 \begin_layout Plain Layout
12326 LatexName
12327 \end_layout
12328
12329 \end_inset
12330
12331 の非必須パラメータです.このパラメータは,\SpecialChar LyX
12332 内部から変更することはできません(変更可能なパラメータには
12333 \begin_inset Flex Code
12334 status collapsed
12335
12336 \begin_layout Plain Layout
12337 Argument
12338 \end_layout
12339
12340 \end_inset
12341
12342 を使用してください).これは,全ての\SpecialChar LaTeX
12343  
12344 \begin_inset Flex Code
12345 status collapsed
12346
12347 \begin_layout Plain Layout
12348 Argument
12349 \end_layout
12350
12351 \end_inset
12352
12353 の後にそのままの形で出力されます.
12354 \end_layout
12355
12356 \begin_layout Description
12357 \begin_inset Flex Code
12358 status collapsed
12359
12360 \begin_layout Plain Layout
12361 LatexType
12362 \end_layout
12363
12364 \end_inset
12365
12366  [
12367 \begin_inset Flex Code
12368 status collapsed
12369
12370 \begin_layout Plain Layout
12371
12372 \emph on
12373 Paragraph
12374 \emph default
12375 , Command, Environment, Item_Environment,
12376 \begin_inset Newline newline
12377 \end_inset
12378
12379 List_Environment, Bib_Environment
12380 \end_layout
12381
12382 \end_inset
12383
12384 ] レイアウトがどのように\SpecialChar LaTeX
12385 に変換されるべきかを示します
12386 \begin_inset Foot
12387 status collapsed
12388
12389 \begin_layout Plain Layout
12390 これらのルールはSGMLクラスにも適用されるので,
12391 \begin_inset Flex Code
12392 status collapsed
12393
12394 \begin_layout Plain Layout
12395 LatexType
12396 \end_layout
12397
12398 \end_inset
12399
12400 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイル(ファイル名
12401 \begin_inset Flex Code
12402 status collapsed
12403
12404 \begin_layout Plain Layout
12405 db_*.inc
12406 \end_layout
12407
12408 \end_inset
12409
12410 )を見てください.
12411 \end_layout
12412
12413 \end_inset
12414
12415
12416 \end_layout
12417
12418 \begin_deeper
12419 \begin_layout Description
12420 \begin_inset Flex Code
12421 status collapsed
12422
12423 \begin_layout Plain Layout
12424 Paragraph
12425 \end_layout
12426
12427 \end_inset
12428
12429  は,何も特別なことは意味しません.
12430 \end_layout
12431
12432 \begin_layout Description
12433 \begin_inset Flex Code
12434 status collapsed
12435
12436 \begin_layout Plain Layout
12437 Command
12438 \end_layout
12439
12440 \end_inset
12441
12442  は,
12443 \begin_inset Flex Code
12444 status collapsed
12445
12446 \begin_layout Plain Layout
12447
12448 \backslash
12449
12450 \emph on
12451 LatexName
12452 \emph default
12453 {\SpecialChar ldots
12454 }
12455 \end_layout
12456
12457 \end_inset
12458
12459 を意味します.
12460 \end_layout
12461
12462 \begin_layout Description
12463 \begin_inset Flex Code
12464 status collapsed
12465
12466 \begin_layout Plain Layout
12467 Environment
12468 \end_layout
12469
12470 \end_inset
12471
12472  は,
12473 \begin_inset Flex Code
12474 status collapsed
12475
12476 \begin_layout Plain Layout
12477
12478 \backslash
12479 begin{
12480 \emph on
12481 LatexName
12482 \emph default
12483 }\SpecialChar ldots
12484
12485 \backslash
12486 end{
12487 \emph on
12488 LatexName
12489 \emph default
12490 }
12491 \end_layout
12492
12493 \end_inset
12494
12495 を意味します.
12496 \end_layout
12497
12498 \begin_layout Description
12499 \begin_inset Flex Code
12500 status collapsed
12501
12502 \begin_layout Plain Layout
12503 Item_Environment
12504 \end_layout
12505
12506 \end_inset
12507
12508  は
12509 \begin_inset Flex Code
12510 status collapsed
12511
12512 \begin_layout Plain Layout
12513 Environment
12514 \end_layout
12515
12516 \end_inset
12517
12518 と同じですが,
12519 \begin_inset Flex Code
12520 status collapsed
12521
12522 \begin_layout Plain Layout
12523
12524 \backslash
12525 item
12526 \end_layout
12527
12528 \end_inset
12529
12530 がこの環境のすべての段落に付けられるところだけが異なっています.
12531 \end_layout
12532
12533 \begin_layout Description
12534 \begin_inset Flex Code
12535 status collapsed
12536
12537 \begin_layout Plain Layout
12538 List_Environment
12539 \end_layout
12540
12541 \end_inset
12542
12543  は
12544 \begin_inset Flex Code
12545 status collapsed
12546
12547 \begin_layout Plain Layout
12548 Item_Environment
12549 \end_layout
12550
12551 \end_inset
12552
12553 と同じですが,
12554 \begin_inset Flex Code
12555 status collapsed
12556
12557 \begin_layout Plain Layout
12558 LabelWidthString
12559 \end_layout
12560
12561 \end_inset
12562
12563 が環境の引数として渡されるところだけが異なっています.
12564 \begin_inset Flex Code
12565 status collapsed
12566
12567 \begin_layout Plain Layout
12568 LabelWidthString
12569 \end_layout
12570
12571 \end_inset
12572
12573 は,
12574 \begin_inset Flex MenuItem
12575 status collapsed
12576
12577 \begin_layout Plain Layout
12578 編集\SpecialChar menuseparator
12579 段落設定
12580 \end_layout
12581
12582 \end_inset
12583
12584 ダイアログで定義することができます.
12585 \end_layout
12586
12587 \begin_layout Description
12588 \begin_inset Flex Code
12589 status collapsed
12590
12591 \begin_layout Plain Layout
12592 Bib_Environment
12593 \end_layout
12594
12595 \end_inset
12596
12597  は
12598 \begin_inset Flex Code
12599 status collapsed
12600
12601 \begin_layout Plain Layout
12602 Environment
12603 \end_layout
12604
12605 \end_inset
12606
12607 に似ていますが,以下のように,書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
12608 \begin_inset Newline newline
12609 \end_inset
12610
12611
12612 \begin_inset Flex Code
12613 status collapsed
12614
12615 \begin_layout Plain Layout
12616
12617 \backslash
12618 begin{thebibliography}{99}
12619 \end_layout
12620
12621 \end_inset
12622
12623
12624 \begin_inset Newline newline
12625 \end_inset
12626
12627 したがって,これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,書誌情報項目の段落設定で,ユーザーが変更することができます.
12628 \end_layout
12629
12630 \begin_layout Standard
12631 上記最後のいくつかをまとめると,\SpecialChar LaTeX
12632 出力は,\SpecialChar LaTeX
12633 型に依存して
12634 \end_layout
12635
12636 \begin_layout LyX-Code
12637
12638 \backslash
12639 LatexName[LatexParam]{\SpecialChar ldots
12640 }
12641 \end_layout
12642
12643 \begin_layout Standard
12644 のようになるか,
12645 \end_layout
12646
12647 \begin_layout LyX-Code
12648
12649 \backslash
12650 begin{LatexName}[LatexParam] \SpecialChar ldots
12651  
12652 \backslash
12653 end{LatexName}.
12654 \end_layout
12655
12656 \begin_layout Standard
12657 となります.
12658 \end_layout
12659
12660 \end_deeper
12661 \begin_layout Description
12662 \begin_inset Flex Code
12663 status collapsed
12664
12665 \begin_layout Plain Layout
12666 LeftDelim
12667 \end_layout
12668
12669 \end_inset
12670
12671  [
12672 \begin_inset Flex Code
12673 status collapsed
12674
12675 \begin_layout Plain Layout
12676 文字列
12677 \end_layout
12678
12679 \end_inset
12680
12681 ] 様式の内容の最初に置かれる文字列.出力中の改行は
12682 \begin_inset Flex Code
12683 status collapsed
12684
12685 \begin_layout Plain Layout
12686 <br/>
12687 \end_layout
12688
12689 \end_inset
12690
12691 で指示できます.
12692 \end_layout
12693
12694 \begin_layout Description
12695 \begin_inset Flex Code
12696 status collapsed
12697
12698 \begin_layout Plain Layout
12699 LeftMargin
12700 \end_layout
12701
12702 \end_inset
12703
12704  [
12705 \begin_inset Flex Code
12706 status collapsed
12707
12708 \begin_layout Plain Layout
12709 文字列=""
12710 \end_layout
12711
12712 \end_inset
12713
12714 ] レイアウトを環境の中に入れた場合,左余白は単純に加えられるのではなく,因子
12715 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
12716 \end_inset
12717
12718 をかけて加えられます.このパラメータは,
12719 \begin_inset Flex Code
12720 status collapsed
12721
12722 \begin_layout Plain Layout
12723 Margin
12724 \end_layout
12725
12726 \end_inset
12727
12728
12729 \begin_inset Flex Code
12730 status collapsed
12731
12732 \begin_layout Plain Layout
12733 Manual
12734 \end_layout
12735
12736 \end_inset
12737
12738 あるいは
12739 \begin_inset Flex Code
12740 status collapsed
12741
12742 \begin_layout Plain Layout
12743 Dynamic
12744 \end_layout
12745
12746 \end_inset
12747
12748 に設定されているときにも用いられることに注意してください.その場合には,これは手動設定余白または動的設定余白に加えられることに注意してください.
12749 \begin_inset Newline newline
12750 \end_inset
12751
12752 たとえば「
12753 \begin_inset Flex Code
12754 status collapsed
12755
12756 \begin_layout Plain Layout
12757 MM
12758 \end_layout
12759
12760 \end_inset
12761
12762 」と指定すると,段落を通常フォントの「
12763 \begin_inset Flex Code
12764 status collapsed
12765
12766 \begin_layout Plain Layout
12767 MM
12768 \end_layout
12769
12770 \end_inset
12771
12772 」の幅だけ行頭下げを行います.文字列の前に「
12773 \begin_inset Flex Code
12774 status collapsed
12775
12776 \begin_layout Plain Layout
12777 -
12778 \end_layout
12779
12780 \end_inset
12781
12782 」を付けると,負の幅を与えることができます.この方法が採用されたのは,どの画面フォントでも見かけが同じになるようにするためです.
12783 \end_layout
12784
12785 \begin_layout Description
12786 \begin_inset Flex Code
12787 status collapsed
12788
12789 \begin_layout Plain Layout
12790 Margin
12791 \end_layout
12792
12793 \end_inset
12794
12795  [
12796 \begin_inset Flex Code
12797 status collapsed
12798
12799 \begin_layout Plain Layout
12800
12801 \emph on
12802 Static
12803 \emph default
12804 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12805 \end_layout
12806
12807 \end_inset
12808
12809
12810 \begin_inset Newline newline
12811 \end_inset
12812
12813 このレイアウトの左余白の種類です.
12814 \end_layout
12815
12816 \begin_deeper
12817 \begin_layout Description
12818 \begin_inset Flex Code
12819 status collapsed
12820
12821 \begin_layout Plain Layout
12822 Static
12823 \end_layout
12824
12825 \end_inset
12826
12827  は固定余白を示します.
12828 \end_layout
12829
12830 \begin_layout Description
12831 \begin_inset Flex Code
12832 status collapsed
12833
12834 \begin_layout Plain Layout
12835 Manual
12836 \end_layout
12837
12838 \end_inset
12839
12840  は,左余白が
12841 \begin_inset Flex MenuItem
12842 status collapsed
12843
12844 \begin_layout Plain Layout
12845 編集\SpecialChar menuseparator
12846 段落設定
12847 \end_layout
12848
12849 \end_inset
12850
12851 ダイアログで入力した文字列によって決められることを示します.これは,タブを用いずに整った一覧表を組むのに使用されます.
12852 \end_layout
12853
12854 \begin_layout Description
12855 \begin_inset Flex Code
12856 status collapsed
12857
12858 \begin_layout Plain Layout
12859 Dynamic
12860 \end_layout
12861
12862 \end_inset
12863
12864  は,余白がラベルの大きさに依存することを示します.これは,自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,「3.2
12865  非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
12866 \end_layout
12867
12868 \begin_layout Description
12869 \begin_inset Flex Code
12870 status collapsed
12871
12872 \begin_layout Plain Layout
12873 First_Dynamic
12874 \end_layout
12875
12876 \end_inset
12877
12878  は似ていますが,段落の最初の行だけがDynamicでその他の行はStaticです.これは,たとえば,箇条書き(記述)に使用されます.
12879 \end_layout
12880
12881 \begin_layout Description
12882 \begin_inset Flex Code
12883 status collapsed
12884
12885 \begin_layout Plain Layout
12886 Right_Address_Box
12887 \end_layout
12888
12889 \end_inset
12890
12891  は,段落中,最も長い行が右余白に合うように余白を選択します.これは,ページの右端に住所を組版するのに用いられます.
12892 \end_layout
12893
12894 \end_deeper
12895 \begin_layout Description
12896 \begin_inset Flex Code
12897 status collapsed
12898
12899 \begin_layout Plain Layout
12900 NeedProtect
12901 \end_layout
12902
12903 \end_inset
12904
12905  [
12906 \begin_inset Flex Code
12907 status collapsed
12908
12909 \begin_layout Plain Layout
12910
12911 \emph on
12912 0
12913 \end_layout
12914
12915 \end_inset
12916
12917 ,
12918 \begin_inset space \thinspace{}
12919 \end_inset
12920
12921
12922 \begin_inset Flex Code
12923 status collapsed
12924
12925 \begin_layout Plain Layout
12926 1
12927 \end_layout
12928
12929 \end_inset
12930
12931 ] このレイアウト中の脆弱なコマンドが
12932 \begin_inset Flex Code
12933 status collapsed
12934
12935 \begin_layout Plain Layout
12936
12937 \backslash
12938 protect
12939 \end_layout
12940
12941 \end_inset
12942
12943 されるべきか否か(註:これはこのコマンド自体が
12944 \begin_inset Flex Code
12945 status collapsed
12946
12947 \begin_layout Plain Layout
12948
12949 \backslash
12950 protect
12951 \end_layout
12952
12953 \end_inset
12954
12955 されるべきかでは
12956 \emph on
12957 ありません
12958 \emph default
12959 ).
12960 \end_layout
12961
12962 \begin_layout Description
12963 \begin_inset Flex Code
12964 status collapsed
12965
12966 \begin_layout Plain Layout
12967 Newline
12968 \end_layout
12969
12970 \end_inset
12971
12972  [
12973 \begin_inset Flex Code
12974 status collapsed
12975
12976 \begin_layout Plain Layout
12977 0
12978 \end_layout
12979
12980 \end_inset
12981
12982 ,
12983 \begin_inset space \thinspace{}
12984 \end_inset
12985
12986
12987 \begin_inset Flex Code
12988 status collapsed
12989
12990 \begin_layout Plain Layout
12991
12992 \emph on
12993 1
12994 \end_layout
12995
12996 \end_inset
12997
12998 ] 新規行を\SpecialChar LaTeX
12999 の新規行(
13000 \begin_inset Flex Code
13001 status collapsed
13002
13003 \begin_layout Plain Layout
13004
13005 \backslash
13006
13007 \backslash
13008
13009 \end_layout
13010
13011 \end_inset
13012
13013 )に変換するか否か.\SpecialChar LyX
13014 中で\SpecialChar LaTeX
13015 編集をやりやすくするために,変換は無効にすることができます.
13016 \end_layout
13017
13018 \begin_layout Description
13019 \begin_inset Flex Code
13020 status collapsed
13021
13022 \begin_layout Plain Layout
13023 NextNoIndent
13024 \end_layout
13025
13026 \end_inset
13027
13028  [
13029 \begin_inset Flex Code
13030 status collapsed
13031
13032 \begin_layout Plain Layout
13033
13034 \emph on
13035 0
13036 \end_layout
13037
13038 \end_inset
13039
13040 ,
13041 \begin_inset space \thinspace{}
13042 \end_inset
13043
13044
13045 \begin_inset Flex Code
13046 status collapsed
13047
13048 \begin_layout Plain Layout
13049 1
13050 \end_layout
13051
13052 \end_inset
13053
13054 ] 真に設定すると,
13055 \begin_inset Flex Code
13056 status collapsed
13057
13058 \begin_layout Plain Layout
13059 DefaultStyle
13060 \end_layout
13061
13062 \end_inset
13063
13064  (通常
13065 \begin_inset Flex Code
13066 status collapsed
13067
13068 \begin_layout Plain Layout
13069 Standard
13070 \end_layout
13071
13072 \end_inset
13073
13074 )段落が行頭下げになっている場合でも,この型の段落に続くそれらの段落は,字下げされません(逆に言えば,既定でない段落には影響を与えません).
13075 \end_layout
13076
13077 \begin_layout Description
13078 \begin_inset Flex Code
13079 status collapsed
13080
13081 \begin_layout Plain Layout
13082 ObsoletedBy
13083 \end_layout
13084
13085 \end_inset
13086
13087  [
13088 \begin_inset Flex Code
13089 status collapsed
13090
13091 \begin_layout Plain Layout
13092 <名称>
13093 \end_layout
13094
13095 \end_inset
13096
13097 ] このレイアウトが置き換えられたレイアウト名.これは,後方互換性を維持しながら,レイアウトの名称を変更するのに使用されます.
13098 \end_layout
13099
13100 \begin_layout Description
13101 \begin_inset Flex Code
13102 status collapsed
13103
13104 \begin_layout Plain Layout
13105 ParagraphGroup
13106 \end_layout
13107
13108 \end_inset
13109
13110  [
13111 \begin_inset Flex Code
13112 status collapsed
13113
13114 \begin_layout Plain Layout
13115 0
13116 \end_layout
13117
13118 \end_inset
13119
13120 ,
13121 \begin_inset space \thinspace{}
13122 \end_inset
13123
13124
13125 \begin_inset Flex Code
13126 status collapsed
13127
13128 \begin_layout Plain Layout
13129 1
13130 \end_layout
13131
13132 \end_inset
13133
13134 ] 同じ型の段落が引き続く場合,同じ段落として取り扱うか否かを決定します.これは,そのような連続グループに対して,
13135 \begin_inset Flex Code
13136 status collapsed
13137
13138 \begin_layout Plain Layout
13139 GuiLabel
13140 \end_layout
13141
13142 \end_inset
13143
13144 が一度だけ出力される効果があります.既定では,
13145 \begin_inset Flex Code
13146 status collapsed
13147
13148 \begin_layout Plain Layout
13149 LaTeXType
13150 \end_layout
13151
13152 \end_inset
13153
13154
13155 \begin_inset Flex Code
13156 status collapsed
13157
13158 \begin_layout Plain Layout
13159 Environment
13160 \end_layout
13161
13162 \end_inset
13163
13164 および
13165 \begin_inset Flex Code
13166 status collapsed
13167
13168 \begin_layout Plain Layout
13169 Bib_Environment
13170 \end_layout
13171
13172 \end_inset
13173
13174  については有効であり,他の型すべてについて無効になっています.
13175 \end_layout
13176
13177 \begin_layout Description
13178 \begin_inset Flex Code
13179 status collapsed
13180
13181 \begin_layout Plain Layout
13182 ParbreakIsNewline
13183 \end_layout
13184
13185 \end_inset
13186
13187  [
13188 \begin_inset Flex Code
13189 status collapsed
13190
13191 \begin_layout Plain Layout
13192
13193 \emph on
13194 0
13195 \end_layout
13196
13197 \end_inset
13198
13199 ,
13200 \begin_inset space \thinspace{}
13201 \end_inset
13202
13203
13204 \begin_inset Flex Code
13205 status collapsed
13206
13207 \begin_layout Plain Layout
13208 1
13209 \end_layout
13210
13211 \end_inset
13212
13213 ] \SpecialChar LaTeX
13214 出力中で,段落を空行ではなく,改行で区切るよう指定します.
13215 \begin_inset Flex Code
13216 status collapsed
13217
13218 \begin_layout Plain Layout
13219 PassThru 1
13220 \end_layout
13221
13222 \end_inset
13223
13224 と併用すれば,(\SpecialChar TeX
13225 コードを使用したときのように)テキストエディタをエミュレートすることができます.
13226 \end_layout
13227
13228 \begin_layout Description
13229 \begin_inset Flex Code
13230 status collapsed
13231
13232 \begin_layout Plain Layout
13233 ParIndent
13234 \end_layout
13235
13236 \end_inset
13237
13238  [
13239 \begin_inset Flex Code
13240 status collapsed
13241
13242 \begin_layout Plain Layout
13243 文字列=""
13244 \end_layout
13245
13246 \end_inset
13247
13248 ] 段落の最初の行の行頭下げ.レイアウトによっては
13249 \begin_inset Flex Code
13250 status collapsed
13251
13252 \begin_layout Plain Layout
13253 Parindent
13254 \end_layout
13255
13256 \end_inset
13257
13258 は固定されています.例外には標準レイアウトがあり,標準レイアウトの段落の行頭下げは,
13259 \begin_inset Flex Code
13260 status collapsed
13261
13262 \begin_layout Plain Layout
13263 NextNoIndent
13264 \end_layout
13265
13266 \end_inset
13267
13268 で禁止することができるようになっています.また,環境中の標準レイアウト段落は,当該段落の
13269 \begin_inset Flex Code
13270 status collapsed
13271
13272 \begin_layout Plain Layout
13273 Parindent
13274 \end_layout
13275
13276 \end_inset
13277
13278 ではなく,この環境の
13279 \begin_inset Flex Code
13280 status collapsed
13281
13282 \begin_layout Plain Layout
13283 Parindent
13284 \end_layout
13285
13286 \end_inset
13287
13288 を使用します.たとえば,箇条書き(連番)内の標準段落は,行頭下げされません.
13289 \end_layout
13290
13291 \begin_layout Description
13292 \begin_inset Flex Code
13293 status collapsed
13294
13295 \begin_layout Plain Layout
13296 ParSep
13297 \end_layout
13298
13299 \end_inset
13300
13301  [
13302 \begin_inset Flex Code
13303 status collapsed
13304
13305 \begin_layout Plain Layout
13306 浮動小数点型=0
13307 \end_layout
13308
13309 \end_inset
13310
13311 ] このレイアウトの2段落間の垂直余白.
13312 \end_layout
13313
13314 \begin_layout Description
13315 \begin_inset Flex Code
13316 status collapsed
13317
13318 \begin_layout Plain Layout
13319 Parskip
13320 \end_layout
13321
13322 \end_inset
13323
13324  [
13325 \begin_inset Flex Code
13326 status collapsed
13327
13328 \begin_layout Plain Layout
13329 浮動小数点型=0
13330 \end_layout
13331
13332 \end_inset
13333
13334 ] \SpecialChar LyX
13335 では,文書を組版するのに,ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,この値は完全に無視されます.「スキップ」を選
13336 択した際には,\SpecialChar LaTeX
13337 型「段落」レイアウトの
13338 \begin_inset Flex Code
13339 status collapsed
13340
13341 \begin_layout Plain Layout
13342 ParIndent
13343 \end_layout
13344
13345 \end_inset
13346
13347 は無視され,すべての段落はこの
13348 \begin_inset Flex Code
13349 status collapsed
13350
13351 \begin_layout Plain Layout
13352 Parskip
13353 \end_layout
13354
13355 \end_inset
13356
13357 引数分だけ引き離されます.垂直余白は,
13358 \begin_inset Flex Code
13359 status collapsed
13360
13361 \begin_layout Plain Layout
13362 DefaultHeight
13363 \end_layout
13364
13365 \end_inset
13366
13367 を標準フォントでの1行の高さとすると,
13368 \begin_inset Flex Code
13369 status collapsed
13370
13371 \begin_layout Plain Layout
13372 Parskipの値
13373 \end_layout
13374
13375 \end_inset
13376
13377
13378 \begin_inset Formula $\times$
13379 \end_inset
13380
13381
13382 \begin_inset Flex Code
13383 status collapsed
13384
13385 \begin_layout Plain Layout
13386 DefaultHeight
13387 \end_layout
13388
13389 \end_inset
13390
13391 によって計算されます.このようにして,画面フォントを変更しても同じように表示されるのです.
13392 \end_layout
13393
13394 \begin_layout Description
13395 \begin_inset Flex Code
13396 status collapsed
13397
13398 \begin_layout Plain Layout
13399 PassThru
13400 \end_layout
13401
13402 \end_inset
13403
13404  [
13405 \emph on
13406
13407 \begin_inset Flex Code
13408 status collapsed
13409
13410 \begin_layout Plain Layout
13411 0
13412 \end_layout
13413
13414 \end_inset
13415
13416
13417 \emph default
13418 ,
13419 \begin_inset space \thinspace{}
13420 \end_inset
13421
13422
13423 \begin_inset Flex Code
13424 status collapsed
13425
13426 \begin_layout Plain Layout
13427 1
13428 \end_layout
13429
13430 \end_inset
13431
13432 ] この段落の内容が,\SpecialChar LaTeX
13433 が必要とするような特別な変換を行わずに,生の形で出力されるべきかどうか.
13434 \end_layout
13435
13436 \begin_layout Description
13437 \begin_inset Flex Code
13438 status collapsed
13439
13440 \begin_layout Plain Layout
13441 PassThruChars
13442 \end_layout
13443
13444 \end_inset
13445
13446  [
13447 \begin_inset Flex Code
13448 status collapsed
13449
13450 \begin_layout Plain Layout
13451 文字列
13452 \end_layout
13453
13454 \end_inset
13455
13456 ]
13457 \family typewriter
13458  
13459 \family default
13460 \SpecialChar LaTeX
13461 が要請する特別な翻訳なしで.生の形で出力されるべき,それぞれの文字を定義します.
13462 \end_layout
13463
13464 \begin_layout Description
13465 \begin_inset Flex Code
13466 status collapsed
13467
13468 \begin_layout Plain Layout
13469 Preamble
13470 \end_layout
13471
13472 \end_inset
13473
13474  この様式が使用されたときに,\SpecialChar LaTeX
13475 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,パッケージを読み込んだりと言ったことに使用します.「
13476 \begin_inset Flex Code
13477 status collapsed
13478
13479 \begin_layout Plain Layout
13480 EndPreamble
13481 \end_layout
13482
13483 \end_inset
13484
13485 」で閉じる必要があります.
13486 \end_layout
13487
13488 \begin_layout Description
13489 \begin_inset Flex Code
13490 status collapsed
13491
13492 \begin_layout Plain Layout
13493 RefPrefix
13494 \end_layout
13495
13496 \end_inset
13497
13498  [
13499 \begin_inset Flex Code
13500 status collapsed
13501
13502 \begin_layout Plain Layout
13503 文字列
13504 \end_layout
13505
13506 \end_inset
13507
13508 ] この型の段落を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
13509 \end_layout
13510
13511 \begin_layout Description
13512 \begin_inset Flex Code
13513 status collapsed
13514
13515 \begin_layout Plain Layout
13516 Requires
13517 \end_layout
13518
13519 \end_inset
13520
13521  [
13522 \begin_inset Flex Code
13523 status collapsed
13524
13525 \begin_layout Plain Layout
13526 文字列
13527 \end_layout
13528
13529 \end_inset
13530
13531 ] この様式が機能
13532 \begin_inset Flex Code
13533 status collapsed
13534
13535 \begin_layout Plain Layout
13536 文字列
13537 \end_layout
13538
13539 \end_inset
13540
13541 を必要とするかどうか(機能詳細については,第
13542 \begin_inset CommandInset ref
13543 LatexCommand ref
13544 reference "chap:関数一覧"
13545
13546 \end_inset
13547
13548 節参照).特定のオプションをとるパッケージを要求する場合,
13549 \begin_inset Flex Code
13550 status collapsed
13551
13552 \begin_layout Plain Layout
13553 PackageOptions
13554 \end_layout
13555
13556 \end_inset
13557
13558 を汎用テキストクラスパラメータとして追加して使うことができます(
13559 \begin_inset CommandInset ref
13560 LatexCommand ref
13561 reference "subsec:汎用テキストクラスパラメータ"
13562
13563 \end_inset
13564
13565 を参照).
13566 \end_layout
13567
13568 \begin_layout Description
13569 \begin_inset Flex Code
13570 status collapsed
13571
13572 \begin_layout Plain Layout
13573 ResetArgs
13574 \end_layout
13575
13576 \end_inset
13577
13578  [
13579 \begin_inset Flex Code
13580 status collapsed
13581
13582 \begin_layout Plain Layout
13583
13584 \emph on
13585 0
13586 \end_layout
13587
13588 \end_inset
13589
13590 ,
13591 \begin_inset Flex Code
13592 status collapsed
13593
13594 \begin_layout Plain Layout
13595 1
13596 \end_layout
13597
13598 \end_inset
13599
13600 ] (
13601 \begin_inset Flex Code
13602 status collapsed
13603
13604 \begin_layout Plain Layout
13605 Argument
13606 \end_layout
13607
13608 \end_inset
13609
13610 タグで定義された)この様式の\SpecialChar LaTeX
13611 引数をリセットします.これは,様式を
13612 \begin_inset Flex Code
13613 status collapsed
13614
13615 \begin_layout Plain Layout
13616 CopyStyle
13617 \end_layout
13618
13619 \end_inset
13620
13621 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
13622 \end_layout
13623
13624 \begin_layout Description
13625
13626 \lang english
13627 \begin_inset Flex Code
13628 status collapsed
13629
13630 \begin_layout Plain Layout
13631
13632 \lang english
13633 ResumeCounter
13634 \end_layout
13635
13636 \end_inset
13637
13638  [
13639 \begin_inset Flex Code
13640 status collapsed
13641
13642 \begin_layout Plain Layout
13643
13644 \emph on
13645 \lang english
13646 0
13647 \end_layout
13648
13649 \end_inset
13650
13651 ,
13652 \begin_inset Flex Code
13653 status collapsed
13654
13655 \begin_layout Plain Layout
13656
13657 \lang english
13658 1
13659 \end_layout
13660
13661 \end_inset
13662
13663 ] Resumes a counter that is usually reset at each new sequence of layouts.
13664  This is currently only useful when 
13665 \begin_inset Flex Code
13666 status collapsed
13667
13668 \begin_layout Plain Layout
13669
13670 \lang english
13671 LabelType
13672 \end_layout
13673
13674 \end_inset
13675
13676  is 
13677 \begin_inset Flex Code
13678 status collapsed
13679
13680 \begin_layout Plain Layout
13681
13682 \lang english
13683 Enumerate
13684 \end_layout
13685
13686 \end_inset
13687
13688 .
13689 \end_layout
13690
13691 \begin_layout Description
13692 \begin_inset Flex Code
13693 status collapsed
13694
13695 \begin_layout Plain Layout
13696 RightDelim
13697 \end_layout
13698
13699 \end_inset
13700
13701  [
13702 \begin_inset Flex Code
13703 status collapsed
13704
13705 \begin_layout Plain Layout
13706 文字列
13707 \end_layout
13708
13709 \end_inset
13710
13711 ] 様式の内容の最後に置かれる文字列.出力中の改行は
13712 \begin_inset Flex Code
13713 status collapsed
13714
13715 \begin_layout Plain Layout
13716 <br/>
13717 \end_layout
13718
13719 \end_inset
13720
13721 で指示できます.
13722 \end_layout
13723
13724 \begin_layout Description
13725 \begin_inset Flex Code
13726 status collapsed
13727
13728 \begin_layout Plain Layout
13729 RightMargin
13730 \end_layout
13731
13732 \end_inset
13733
13734  [
13735 \begin_inset Flex Code
13736 status collapsed
13737
13738 \begin_layout Plain Layout
13739 文字列=""
13740 \end_layout
13741
13742 \end_inset
13743
13744
13745 \begin_inset Flex Code
13746 status collapsed
13747
13748 \begin_layout Plain Layout
13749 LeftMargin
13750 \end_layout
13751
13752 \end_inset
13753
13754 に同様.
13755 \end_layout
13756
13757 \begin_layout Description
13758 \begin_inset Flex Code
13759 status collapsed
13760
13761 \begin_layout Plain Layout
13762 Spacing
13763 \end_layout
13764
13765 \end_inset
13766
13767  [
13768 \begin_inset Flex Code
13769 status collapsed
13770
13771 \begin_layout Plain Layout
13772
13773 \emph on
13774 single
13775 \end_layout
13776
13777 \end_inset
13778
13779
13780 \begin_inset Flex Code
13781 status collapsed
13782
13783 \begin_layout Plain Layout
13784 onehalf
13785 \end_layout
13786
13787 \end_inset
13788
13789
13790 \begin_inset Flex Code
13791 status collapsed
13792
13793 \begin_layout Plain Layout
13794 double
13795 \end_layout
13796
13797 \end_inset
13798
13799
13800 \begin_inset Flex Code
13801 status collapsed
13802
13803 \begin_layout Plain Layout
13804 other
13805 \begin_inset space ~
13806 \end_inset
13807
13808 <
13809 \emph on
13810
13811 \emph default
13812 >
13813 \end_layout
13814
13815 \end_inset
13816
13817 ]
13818 \lang english
13819  
13820 \lang japanese
13821 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
13822 \begin_inset Flex Code
13823 status collapsed
13824
13825 \begin_layout Plain Layout
13826 single
13827 \end_layout
13828
13829 \end_inset
13830
13831
13832 \begin_inset Flex Code
13833 status collapsed
13834
13835 \begin_layout Plain Layout
13836 onehalf
13837 \end_layout
13838
13839 \end_inset
13840
13841
13842 \begin_inset Flex Code
13843 status collapsed
13844
13845 \begin_layout Plain Layout
13846 double
13847 \end_layout
13848
13849 \end_inset
13850
13851 は,それぞれ乗数1・1.25・1.667に対応します.引数
13852 \begin_inset Flex Code
13853 status collapsed
13854
13855 \begin_layout Plain Layout
13856 other
13857 \end_layout
13858
13859 \end_inset
13860
13861 を指定した場合には,実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
13862 \begin_inset Flex Code
13863 status collapsed
13864
13865 \begin_layout Plain Layout
13866 Spacing
13867 \end_layout
13868
13869 \end_inset
13870
13871 は,\SpecialChar LaTeX
13872 パッケージ
13873 \begin_inset Flex Code
13874 status collapsed
13875
13876 \begin_layout Plain Layout
13877 setspace
13878 \end_layout
13879
13880 \end_inset
13881
13882 パッケージを使用した,限定的な\SpecialChar LaTeX
13883 コードを生成することを意味することにご注意ください.
13884 \end_layout
13885
13886 \begin_layout Description
13887 \begin_inset Flex Code
13888 status collapsed
13889
13890 \begin_layout Plain Layout
13891 Spellcheck
13892 \end_layout
13893
13894 \end_inset
13895
13896  [
13897 \begin_inset Flex Code
13898 status collapsed
13899
13900 \begin_layout Plain Layout
13901 0
13902 \end_layout
13903
13904 \end_inset
13905
13906 ,
13907 \begin_inset space \thinspace{}
13908 \end_inset
13909
13910
13911 \begin_inset Flex Code
13912 status collapsed
13913
13914 \begin_layout Plain Layout
13915 1
13916 \end_layout
13917
13918 \end_inset
13919
13920 ] この様式の段落をスペルチェックするか否か.既定値は真です.
13921 \end_layout
13922
13923 \begin_layout Description
13924
13925 \lang english
13926 \begin_inset Flex Code
13927 status collapsed
13928
13929 \begin_layout Plain Layout
13930
13931 \lang english
13932 StepMasterCounter
13933 \end_layout
13934
13935 \end_inset
13936
13937  [
13938 \begin_inset Flex Code
13939 status collapsed
13940
13941 \begin_layout Plain Layout
13942
13943 \emph on
13944 \lang english
13945 0
13946 \end_layout
13947
13948 \end_inset
13949
13950 ,
13951 \begin_inset Flex Code
13952 status collapsed
13953
13954 \begin_layout Plain Layout
13955
13956 \lang english
13957 1
13958 \end_layout
13959
13960 \end_inset
13961
13962 ] Steps the master counter of a given counter at the beginning of a new
13963  sequence of layouts.
13964  This is currently only useful when 
13965 \begin_inset Flex Code
13966 status collapsed
13967
13968 \begin_layout Plain Layout
13969
13970 \lang english
13971 LabelType
13972 \end_layout
13973
13974 \end_inset
13975
13976  is 
13977 \begin_inset Flex Code
13978 status collapsed
13979
13980 \begin_layout Plain Layout
13981
13982 \lang english
13983 Enumerate
13984 \end_layout
13985
13986 \end_inset
13987
13988 .
13989 \end_layout
13990
13991 \begin_layout Description
13992 \begin_inset Flex Code
13993 status collapsed
13994
13995 \begin_layout Plain Layout
13996 TextFont
13997 \end_layout
13998
13999 \end_inset
14000
14001  本文に使うフォント.
14002 \begin_inset CommandInset ref
14003 LatexCommand ref
14004 reference "subsec:フォント指定"
14005
14006 \end_inset
14007
14008 参照.
14009 \end_layout
14010
14011 \begin_layout Description
14012 \begin_inset Flex Code
14013 status collapsed
14014
14015 \begin_layout Plain Layout
14016 TocLevel
14017 \end_layout
14018
14019 \end_inset
14020
14021  [
14022 \begin_inset Flex Code
14023 status collapsed
14024
14025 \begin_layout Plain Layout
14026 整数型=3
14027 \end_layout
14028
14029 \end_inset
14030
14031 ] 目次中でのこの様式の階層.これは,節見出しの自動連番に使用されます.
14032 \end_layout
14033
14034 \begin_layout Description
14035 \begin_inset Flex Code
14036 status collapsed
14037
14038 \begin_layout Plain Layout
14039 ToggleIndent
14040 \end_layout
14041
14042 \end_inset
14043
14044  [
14045 \emph on
14046
14047 \begin_inset Flex Code
14048 status collapsed
14049
14050 \begin_layout Plain Layout
14051 default
14052 \end_layout
14053
14054 \end_inset
14055
14056
14057 \emph default
14058
14059 \begin_inset Flex Code
14060 status collapsed
14061
14062 \begin_layout Plain Layout
14063 always
14064 \end_layout
14065
14066 \end_inset
14067
14068
14069 \begin_inset Flex Code
14070 status collapsed
14071
14072 \begin_layout Plain Layout
14073 never
14074 \end_layout
14075
14076 \end_inset
14077
14078 ] このタグは,この段落の1行目の行頭下げが,段落設定ダイアログで切り替えられるかどうかを決めます.
14079 \begin_inset Flex Code
14080 status collapsed
14081
14082 \begin_layout Plain Layout
14083 default
14084 \end_layout
14085
14086 \end_inset
14087
14088 が指定されると,文書設定が「行頭下げ」段落様式を使用しているときに,行頭下げを変更することができます.
14089 \begin_inset Flex Code
14090 status collapsed
14091
14092 \begin_layout Plain Layout
14093 always
14094 \end_layout
14095
14096 \end_inset
14097
14098 は,文書設定にかかわらず変更することができ,
14099 \begin_inset Flex Code
14100 status collapsed
14101
14102 \begin_layout Plain Layout
14103 never
14104 \end_layout
14105
14106 \end_inset
14107
14108 は,どのような場合でも変更することができません.
14109 \end_layout
14110
14111 \begin_layout Description
14112 \begin_inset Flex Code
14113 status collapsed
14114
14115 \begin_layout Plain Layout
14116 TopSep
14117 \end_layout
14118
14119 \end_inset
14120
14121  [
14122 \begin_inset Flex Code
14123 status collapsed
14124
14125 \begin_layout Plain Layout
14126 浮動小数点型=0
14127 \end_layout
14128
14129 \end_inset
14130
14131 ] このレイアウトを持つ一連の段落群の最初の段落と,その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,余白は単純に追加されるのではなく,それら
14132 の最大値がとられます.
14133 \end_layout
14134
14135 \begin_layout Subsection
14136 段落様式の国際化
14137 \begin_inset CommandInset label
14138 LatexCommand label
14139 name "subsec:段落様式の国際化"
14140
14141 \end_inset
14142
14143
14144 \end_layout
14145
14146 \begin_layout Standard
14147 \SpecialChar LyX
14148 は,長きにわたってレイアウト情報の国際化をサポートしてきましたが,第2.0版までは,これは操作画面にのみ適用されるものであって,たとえばPDF出力には適用されませ
14149 んでした.たとえば,フランスの著者が,「Theorem 1」の代わりに「
14150 \lang french
14151 Théorème
14152 \lang japanese
14153  1」としたければ,醜いハックに頼るしかありませんでした.Georg Baumのおかげで,これは解消されました.
14154 \end_layout
14155
14156 \begin_layout Standard
14157 もし
14158 \begin_inset Flex MenuItem
14159 status collapsed
14160
14161 \begin_layout Plain Layout
14162 Style
14163 \end_layout
14164
14165 \end_inset
14166
14167 が,組版文書に出力される文字列を定義するのであれば,非英語文書や複数言語文書をサポートするために,
14168 \begin_inset Flex MenuItem
14169 status collapsed
14170
14171 \begin_layout Plain Layout
14172 LangPreamble
14173 \end_layout
14174
14175 \end_inset
14176
14177
14178 \begin_inset Flex MenuItem
14179 status collapsed
14180
14181 \begin_layout Plain Layout
14182 BabelPreamble
14183 \end_layout
14184
14185 \end_inset
14186
14187 を使用することができます.以下の抜粋(
14188 \begin_inset Flex MenuItem
14189 status collapsed
14190
14191 \begin_layout Plain Layout
14192 theorems-ams.inc
14193 \end_layout
14194
14195 \end_inset
14196
14197 より)は,これがどう動作するかを示すものです.
14198 \end_layout
14199
14200 \begin_layout LyX-Code
14201 Preamble
14202 \end_layout
14203
14204 \begin_deeper
14205 \begin_layout LyX-Code
14206   
14207 \backslash
14208 theoremstyle{remark}
14209 \end_layout
14210
14211 \begin_layout LyX-Code
14212   
14213 \backslash
14214 newtheorem{claim}[thm]{
14215 \backslash
14216 protect
14217 \backslash
14218 claimname}
14219 \end_layout
14220
14221 \begin_layout LyX-Code
14222 EndPreamble
14223 \end_layout
14224
14225 \begin_layout LyX-Code
14226 LangPreamble
14227 \end_layout
14228
14229 \begin_layout LyX-Code
14230   
14231 \backslash
14232 providecommand{
14233 \backslash
14234 claimname}{_(Claim)}
14235 \end_layout
14236
14237 \begin_layout LyX-Code
14238 EndLangPreamble
14239 \end_layout
14240
14241 \begin_layout LyX-Code
14242 BabelPreamble
14243 \end_layout
14244
14245 \begin_layout LyX-Code
14246     
14247 \backslash
14248 addto
14249 \backslash
14250 captions$$lang{
14251 \backslash
14252 renewcommand{
14253 \backslash
14254 claimname}{_(Claim)}}
14255 \end_layout
14256
14257 \begin_layout LyX-Code
14258 EndBabelPreamble
14259 \end_layout
14260
14261 \end_deeper
14262 \begin_layout Standard
14263 原則として,
14264 \begin_inset Flex MenuItem
14265 status collapsed
14266
14267 \begin_layout Plain Layout
14268 LangPreamble
14269 \end_layout
14270
14271 \end_inset
14272
14273
14274 \begin_inset Flex MenuItem
14275 status collapsed
14276
14277 \begin_layout Plain Layout
14278 BabelPreamble
14279 \end_layout
14280
14281 \end_inset
14282
14283 タグ内には,有効な\SpecialChar LaTeX
14284 コードはすべて用いることができますが,実際においては,ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるの
14285 は,\SpecialChar LaTeX
14286 コマンド
14287 \begin_inset Flex Code
14288 status collapsed
14289
14290 \begin_layout Plain Layout
14291
14292 \backslash
14293 claimname
14294 \end_layout
14295
14296 \end_inset
14297
14298 とその
14299 \begin_inset Flex Code
14300 status collapsed
14301
14302 \begin_layout Plain Layout
14303
14304 \backslash
14305 newtheorem
14306 \end_layout
14307
14308 \end_inset
14309
14310 中での用い方です.
14311 \end_layout
14312
14313 \begin_layout Standard
14314 \begin_inset Flex Code
14315 status collapsed
14316
14317 \begin_layout Plain Layout
14318 LangPreamble
14319 \end_layout
14320
14321 \end_inset
14322
14323 タグは,文書全体の言語に基づいた国際化を提供します.タグの内容は,
14324 \begin_inset Flex Code
14325 status collapsed
14326
14327 \begin_layout Plain Layout
14328 Preamble
14329 \end_layout
14330
14331 \end_inset
14332
14333 タグと同様,プリアンブルに置かれるのですが,これを特別なものにしているのは,「関数」
14334 \begin_inset Flex Code
14335 status collapsed
14336
14337 \begin_layout Plain Layout
14338 _()
14339 \end_layout
14340
14341 \end_inset
14342
14343 が使用されていることです.これは,\SpecialChar LyX
14344 が\SpecialChar LaTeX
14345 出力を生成する際,その引数を文書言語に翻訳したもので置き換えられます.
14346 \end_layout
14347
14348 \begin_layout Standard
14349 \begin_inset Flex Code
14350 status collapsed
14351
14352 \begin_layout Plain Layout
14353 BabelPreamble
14354 \end_layout
14355
14356 \end_inset
14357
14358 タグは,複数言語文書をサポートし,
14359 \begin_inset Flex Code
14360 status collapsed
14361
14362 \begin_layout Plain Layout
14363 babel
14364 \end_layout
14365
14366 \end_inset
14367
14368 パッケージへのインタフェースを提供することを意図しているので,もう少し複雑です.その内容は,文書に現れる言語それぞれについて一度,プリアンブルに追加されます.こ
14369 の場合には,
14370 \begin_inset Flex Code
14371 status collapsed
14372
14373 \begin_layout Plain Layout
14374 _()
14375 \end_layout
14376
14377 \end_inset
14378
14379 の引数は,その当該言語への翻訳で置き換えられ,
14380 \begin_inset Flex Code
14381 status collapsed
14382
14383 \begin_layout Plain Layout
14384 $$lang
14385 \end_layout
14386
14387 \end_inset
14388
14389 は言語名(babelパッケージで使用されるもの)で置き換えられます.
14390 \end_layout
14391
14392 \begin_layout Standard
14393 したがって,フランス語のセクションを持つドイツ語文書では,以下のような内容がプリアンブルに追加されます
14394 \end_layout
14395
14396 \begin_layout LyX-Code
14397
14398 \backslash
14399 addto
14400 \backslash
14401 captionsfrench{
14402 \backslash
14403 renewcommand{
14404 \backslash
14405 claimname}{Affirmation}}
14406 \begin_inset Newline newline
14407 \end_inset
14408
14409
14410 \backslash
14411 addto
14412 \backslash
14413 captionsngerman{
14414 \backslash
14415 renewcommand{
14416 \backslash
14417 claimname}{Behauptung}}
14418 \begin_inset Newline newline
14419 \end_inset
14420
14421
14422 \backslash
14423 providecommand{
14424 \backslash
14425 claimname}{Behauptung}
14426 \end_layout
14427
14428 \begin_layout Standard
14429 それから,\SpecialChar LaTeX
14430
14431 \begin_inset Flex Code
14432 status collapsed
14433
14434 \begin_layout Plain Layout
14435 babel
14436 \end_layout
14437
14438 \end_inset
14439
14440 は協力して,出力に正しい文字列を生成します.
14441 \end_layout
14442
14443 \begin_layout Standard
14444 ここで注意しておくべき一つの重要な点は,翻訳は,
14445 \begin_inset Flex Code
14446 status collapsed
14447
14448 \begin_layout Plain Layout
14449 layouttranslations
14450 \end_layout
14451
14452 \end_inset
14453
14454 ファイルを通じて,\SpecialChar LyX
14455 自身によって提供されるということです.つまり,ユーザー作成のレイアウトファイルに入力された文字列は,
14456 \begin_inset Flex Code
14457 status collapsed
14458
14459 \begin_layout Plain Layout
14460 layouttranslations
14461 \end_layout
14462
14463 \end_inset
14464
14465 ファイルをそれに応じて変更しない限り,\SpecialChar LyX
14466 の国際化ルーチンでは取り扱われないので,
14467 \begin_inset Flex MenuItem
14468 status collapsed
14469
14470 \begin_layout Plain Layout
14471 LangPreamble
14472 \end_layout
14473
14474 \end_inset
14475
14476
14477 \begin_inset Flex MenuItem
14478 status collapsed
14479
14480 \begin_layout Plain Layout
14481 BabelPreamble
14482 \end_layout
14483
14484 \end_inset
14485
14486 は,事実上,\SpecialChar LyX
14487 とともに提供されるレイアウトファイルでのみ,使うことができるということを意味します.とはいえ,こういうことでありますので,将来的に\SpecialChar LyX
14488 に同梱させようとい
14489 う意図を以て作成されたレイアウトは,適切なところではすべて,これらのタグを使用するべきです.\SpecialChar LyX
14490 が提供する段落様式の翻訳は,マイナー更新(例えば2.1.x版から2.1.y版
14491 )では変更されないことに注意してください.しかしながら,メジャー更新(例えば2.0.x版から2.1.y版)では,新しい翻訳や修正が導入される可能性は大いにあります.
14492 \end_layout
14493
14494 \begin_layout Subsection
14495 フロート
14496 \begin_inset CommandInset label
14497 LatexCommand label
14498 name "subsec:フロート"
14499
14500 \end_inset
14501
14502
14503 \end_layout
14504
14505 \begin_layout Standard
14506 \SpecialChar LyX
14507 第1.3.0版以来,テキストクラス自体の中でフロート(
14508 \begin_inset Flex MenuItem
14509 status collapsed
14510
14511 \begin_layout Plain Layout
14512 figure
14513 \end_layout
14514
14515 \end_inset
14516
14517
14518 \begin_inset Flex MenuItem
14519 status collapsed
14520
14521 \begin_layout Plain Layout
14522 table
14523 \end_layout
14524
14525 \end_inset
14526
14527 ・\SpecialChar ldots
14528 )を定義することが可能となり,かつ必要となりました.標準的なフロートは
14529 \begin_inset Flex Code
14530 status collapsed
14531
14532 \begin_layout Plain Layout
14533 stdfloats.inc
14534 \end_layout
14535
14536 \end_inset
14537
14538 ファイルに含まれているので,作業中のレイアウトファイルに
14539 \end_layout
14540
14541 \begin_layout LyX-Code
14542 Input stdfloats.inc
14543 \end_layout
14544
14545 \begin_layout Standard
14546 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
14547 に同梱されているAGUクラスのように,それ以外のフロート型を提供するテキストクラスを実装するには,以下の情報が役立つであり
14548 ましょう.
14549 \end_layout
14550
14551 \begin_layout Description
14552 \begin_inset Flex Code
14553 status collapsed
14554
14555 \begin_layout Plain Layout
14556 AllowedPlacement
14557 \end_layout
14558
14559 \end_inset
14560
14561  [
14562 \begin_inset Flex Code
14563 status collapsed
14564
14565 \begin_layout Plain Layout
14566 文字列
14567 \end_layout
14568
14569 \end_inset
14570
14571 =!htbpH] このフロート型に許可された配置用の選択肢.値は,配置文字からなる文字列です.使用できる文字には,
14572 \emph on
14573 h
14574 \emph default
14575  (
14576 \begin_inset Quotes eld
14577 \end_inset
14578
14579 here if possible:可能ならば現在位置に
14580 \begin_inset Quotes erd
14581 \end_inset
14582
14583 ), 
14584 \emph on
14585 t
14586 \emph default
14587  (
14588 \begin_inset Quotes eld
14589 \end_inset
14590
14591 top of page:ページ上部
14592 \begin_inset Quotes erd
14593 \end_inset
14594
14595 )・
14596 \emph on
14597 b
14598 \emph default
14599  (
14600 \begin_inset Quotes eld
14601 \end_inset
14602
14603 bottom of page:ページ下部
14604 \begin_inset Quotes erd
14605 \end_inset
14606
14607 )・
14608 \emph on
14609 p
14610 \emph default
14611  (
14612 \begin_inset Quotes eld
14613 \end_inset
14614
14615 page of floats:フロートを独立したページに
14616 \begin_inset Quotes erd
14617 \end_inset
14618
14619 )・
14620 \emph on
14621 H
14622 \emph default
14623  (
14624 \begin_inset Quotes eld
14625 \end_inset
14626
14627 here definitely:何としても現在位置に置く
14628 \begin_inset Quotes erd
14629 \end_inset
14630
14631 )・
14632 \emph on
14633 !
14634 \emph default
14635  (
14636 \begin_inset Quotes eld
14637 \end_inset
14638
14639 ignore LaTeX rules:LaTeXの規則を無視する
14640 \begin_inset Quotes erd
14641 \end_inset
14642
14643 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,文字列として
14644 \emph on
14645 none
14646 \emph default
14647 を与えてください.
14648 \end_layout
14649
14650 \begin_layout Description
14651 \begin_inset Flex Code
14652 status collapsed
14653
14654 \begin_layout Plain Layout
14655 AllowsSideways
14656 \end_layout
14657
14658 \end_inset
14659
14660  [
14661 \begin_inset Flex Code
14662 status collapsed
14663
14664 \begin_layout Plain Layout
14665 0
14666 \end_layout
14667
14668 \end_inset
14669
14670 ,
14671 \begin_inset space \thinspace{}
14672 \end_inset
14673
14674
14675 \emph on
14676
14677 \begin_inset Flex Code
14678 status collapsed
14679
14680 \begin_layout Plain Layout
14681 1
14682 \end_layout
14683
14684 \end_inset
14685
14686
14687 \emph default
14688 ] フロートを,\SpecialChar LaTeX
14689 パッケージの
14690 \family typewriter
14691 rotfloat
14692 \family default
14693  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
14694 \begin_inset Flex Code
14695 status collapsed
14696
14697 \begin_layout Plain Layout
14698 0
14699 \end_layout
14700
14701 \end_inset
14702
14703 を指定してください.
14704 \end_layout
14705
14706 \begin_layout Description
14707 \begin_inset Flex Code
14708 status collapsed
14709
14710 \begin_layout Plain Layout
14711 AllowsWide
14712 \end_layout
14713
14714 \end_inset
14715
14716  [
14717 \begin_inset Flex Code
14718 status collapsed
14719
14720 \begin_layout Plain Layout
14721 0
14722 \end_layout
14723
14724 \end_inset
14725
14726 ,
14727 \begin_inset space \thinspace{}
14728 \end_inset
14729
14730
14731 \emph on
14732
14733 \begin_inset Flex Code
14734 status collapsed
14735
14736 \begin_layout Plain Layout
14737 1
14738 \end_layout
14739
14740 \end_inset
14741
14742
14743 \emph default
14744 ] このフロートに,二段組段落において段落をまたぐ,星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
14745 \begin_inset Flex Code
14746 status collapsed
14747
14748 \begin_layout Plain Layout
14749 0
14750 \end_layout
14751
14752 \end_inset
14753
14754 を指定してください.
14755 \end_layout
14756
14757 \begin_layout Description
14758 \begin_inset Flex Code
14759 status collapsed
14760
14761 \begin_layout Plain Layout
14762 Extension
14763 \end_layout
14764
14765 \end_inset
14766
14767  [
14768 \begin_inset Flex Code
14769 status collapsed
14770
14771 \begin_layout Plain Layout
14772 文字列
14773 \end_layout
14774
14775 \end_inset
14776
14777 =
14778 \begin_inset Quotes erd
14779 \end_inset
14780
14781
14782 \begin_inset Quotes erd
14783 \end_inset
14784
14785 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
14786 がキャプションを書き込むファイルです.
14787 \end_layout
14788
14789 \begin_layout Description
14790 \begin_inset Flex Code
14791 status collapsed
14792
14793 \begin_layout Plain Layout
14794 GuiName
14795 \end_layout
14796
14797 \end_inset
14798
14799  [
14800 \begin_inset Flex Code
14801 status collapsed
14802
14803 \begin_layout Plain Layout
14804 文字列
14805 \end_layout
14806
14807 \end_inset
14808
14809 =
14810 \begin_inset Quotes erd
14811 \end_inset
14812
14813
14814 \begin_inset Quotes erd
14815 \end_inset
14816
14817 ] メニューとキャプションに使用される文字列.babelが使用される場合には,これは現在の言語に翻訳されます.
14818 \end_layout
14819
14820 \begin_layout Description
14821 \begin_inset Flex Code
14822 status collapsed
14823
14824 \begin_layout Plain Layout
14825 HTML*
14826 \end_layout
14827
14828 \end_inset
14829
14830  これらは,XHTML出力で使用されます.
14831 \begin_inset CommandInset ref
14832 LatexCommand ref
14833 reference "sec:XHTML出力のタグ"
14834
14835 \end_inset
14836
14837 をご覧ください.
14838 \end_layout
14839
14840 \begin_layout Description
14841 \begin_inset Flex Code
14842 status collapsed
14843
14844 \begin_layout Plain Layout
14845 IsPredefined
14846 \end_layout
14847
14848 \end_inset
14849
14850  [
14851 \begin_inset Flex Code
14852 status collapsed
14853
14854 \begin_layout Plain Layout
14855
14856 \emph on
14857 0
14858 \end_layout
14859
14860 \end_inset
14861
14862 ,
14863 \begin_inset space \thinspace{}
14864 \end_inset
14865
14866
14867 \begin_inset Flex Code
14868 status collapsed
14869
14870 \begin_layout Plain Layout
14871 1
14872 \end_layout
14873
14874 \end_inset
14875
14876 ] フロートがドキュメントクラス中に既に定義されているのか,あるいは\SpecialChar LaTeX
14877 パッケージ
14878 \begin_inset Flex Code
14879 status collapsed
14880
14881 \begin_layout Plain Layout
14882 float
14883 \end_layout
14884
14885 \end_inset
14886
14887 を読み込む必要があり,そのファイル内のものを使用して,オン・ザ・フライで定義するかを示します.既定は
14888 \begin_inset Flex Code
14889 status collapsed
14890
14891 \begin_layout Plain Layout
14892 0
14893 \end_layout
14894
14895 \end_inset
14896
14897 で,この場合
14898 \begin_inset Flex Code
14899 status collapsed
14900
14901 \begin_layout Plain Layout
14902 float
14903 \end_layout
14904
14905 \end_inset
14906
14907 を使用します.\SpecialChar LaTeX
14908 ドキュメントクラス中に既に定義されているときには,
14909 \begin_inset Flex Code
14910 status collapsed
14911
14912 \begin_layout Plain Layout
14913 0
14914 \end_layout
14915
14916 \end_inset
14917
14918 に設定しなくてはなりません.
14919 \end_layout
14920
14921 \begin_layout Description
14922 \begin_inset Flex Code
14923 status collapsed
14924
14925 \begin_layout Plain Layout
14926 ListCommand
14927 \end_layout
14928
14929 \end_inset
14930
14931  [
14932 \begin_inset Flex Code
14933 status collapsed
14934
14935 \begin_layout Plain Layout
14936 文字列
14937 \end_layout
14938
14939 \end_inset
14940
14941 =
14942 \begin_inset Quotes erd
14943 \end_inset
14944
14945
14946 \begin_inset Quotes erd
14947 \end_inset
14948
14949 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
14950 \backslash
14951 」は書きません.
14952 \begin_inset Flex Code
14953 status collapsed
14954
14955 \begin_layout Plain Layout
14956 NeedsFloatPkg
14957 \end_layout
14958
14959 \end_inset
14960
14961 が偽の時には,このコマンドを生成する標準的な方法はないので,これは
14962 \emph on
14963 必ず
14964 \emph default
14965 指定しなくてはなりません.
14966 \begin_inset Flex Code
14967 status collapsed
14968
14969 \begin_layout Plain Layout
14970 NeedsFloatPkg
14971 \end_layout
14972
14973 \end_inset
14974
14975 が真の時は,標準的な方法が存在するので,これは無視されます.
14976 \end_layout
14977
14978 \begin_layout Description
14979 \begin_inset Flex Code
14980 status collapsed
14981
14982 \begin_layout Plain Layout
14983 ListName
14984 \end_layout
14985
14986 \end_inset
14987
14988  [
14989 \begin_inset Flex Code
14990 status collapsed
14991
14992 \begin_layout Plain Layout
14993 文字列
14994 \end_layout
14995
14996 \end_inset
14997
14998 =
14999 \begin_inset Quotes erd
15000 \end_inset
15001
15002
15003 \begin_inset Quotes erd
15004 \end_inset
15005
15006 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
15007 中では,これは画面上のラベルとして使用されます.また,見出しとして使用するために,La\SpecialChar TeX
15008 に渡さ
15009 れ,XHTML出力でも見出しとして使用されます.これは,文書言語に翻訳されます.
15010 \end_layout
15011
15012 \begin_layout Description
15013 \begin_inset Flex Code
15014 status collapsed
15015
15016 \begin_layout Plain Layout
15017 NumberWithin
15018 \end_layout
15019
15020 \end_inset
15021
15022  [
15023 \begin_inset Flex Code
15024 status collapsed
15025
15026 \begin_layout Plain Layout
15027 文字列
15028 \end_layout
15029
15030 \end_inset
15031
15032 =
15033 \begin_inset Quotes erd
15034 \end_inset
15035
15036
15037 \begin_inset Quotes erd
15038 \end_inset
15039
15040 ] この(非必須の)引数は,このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
15041 \begin_inset Flex Code
15042 status collapsed
15043
15044 \begin_layout Plain Layout
15045 NumberWithin
15046 \end_layout
15047
15048 \end_inset
15049
15050 が「
15051 \begin_inset Flex Code
15052 status collapsed
15053
15054 \begin_layout Plain Layout
15055 chapter
15056 \end_layout
15057
15058 \end_inset
15059
15060 」に指定されていれば,フロートは章ごとに番号が振り直されます.
15061 \end_layout
15062
15063 \begin_layout Description
15064 \begin_inset Flex Code
15065 status collapsed
15066
15067 \begin_layout Plain Layout
15068 Placement
15069 \end_layout
15070
15071 \end_inset
15072
15073  [
15074 \begin_inset Flex Code
15075 status collapsed
15076
15077 \begin_layout Plain Layout
15078 文字列
15079 \end_layout
15080
15081 \end_inset
15082
15083 =
15084 \begin_inset Quotes erd
15085 \end_inset
15086
15087
15088 \begin_inset Quotes erd
15089 \end_inset
15090
15091 ] このクラスのフロートの既定の配置法.文字列は,標準的な\SpecialChar LaTeX
15092 表記に従い,
15093 \begin_inset Flex Code
15094 status collapsed
15095
15096 \begin_layout Plain Layout
15097 t
15098 \end_layout
15099
15100 \end_inset
15101
15102 ならば上部(top),
15103 \begin_inset Flex Code
15104 status collapsed
15105
15106 \begin_layout Plain Layout
15107 b
15108 \end_layout
15109
15110 \end_inset
15111
15112 ならば下部(bottom),
15113 \begin_inset Flex Code
15114 status collapsed
15115
15116 \begin_layout Plain Layout
15117 p
15118 \end_layout
15119
15120 \end_inset
15121
15122 ならばページ(page),
15123 \begin_inset Flex Code
15124 status collapsed
15125
15126 \begin_layout Plain Layout
15127 h
15128 \end_layout
15129
15130 \end_inset
15131
15132 ならばここ(here)を表します
15133 \begin_inset Foot
15134 status collapsed
15135
15136 \begin_layout Plain Layout
15137 \SpecialChar LaTeX
15138 同様,文字列中でのこれらの文字の順序は関係ありません.
15139 \end_layout
15140
15141 \end_inset
15142
15143 .これらの他に新しい型
15144 \begin_inset Flex Code
15145 status collapsed
15146
15147 \begin_layout Plain Layout
15148 H
15149 \end_layout
15150
15151 \end_inset
15152
15153 があり,これはフロートを「ここ」に置いていいけれども他の場所はだめ,というものなので,本当はフロートにあるものではありません.しかし,
15154 \begin_inset Flex Code
15155 status collapsed
15156
15157 \begin_layout Plain Layout
15158 H
15159 \end_layout
15160
15161 \end_inset
15162
15163 指定子は特別なものであり,その細かい実装上の理由で,組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,代わり
15164 に「
15165 \begin_inset Flex Code
15166 status collapsed
15167
15168 \begin_layout Plain Layout
15169 tbp
15170 \end_layout
15171
15172 \end_inset
15173
15174 」を指定してください.
15175 \end_layout
15176
15177 \begin_layout Description
15178 \begin_inset Flex Code
15179 status collapsed
15180
15181 \begin_layout Plain Layout
15182 RefPrefix
15183 \end_layout
15184
15185 \end_inset
15186
15187  [
15188 \begin_inset Flex Code
15189 status collapsed
15190
15191 \begin_layout Plain Layout
15192 文字列
15193 \end_layout
15194
15195 \end_inset
15196
15197 ] この型のフロートを参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.コピーした様式が設定した
15198 \begin_inset Flex Code
15199 status collapsed
15200
15201 \begin_layout Plain Layout
15202 RefPrefix
15203 \end_layout
15204
15205 \end_inset
15206
15207 は,特別な文字列「OFF」(すべて大文字)を使えば,いつでも削除することができます.
15208 \end_layout
15209
15210 \begin_layout Description
15211 \begin_inset Flex Code
15212 status collapsed
15213
15214 \begin_layout Plain Layout
15215 Style
15216 \end_layout
15217
15218 \end_inset
15219
15220  [
15221 \begin_inset Flex Code
15222 status collapsed
15223
15224 \begin_layout Plain Layout
15225 文字列
15226 \end_layout
15227
15228 \end_inset
15229
15230 =
15231 \begin_inset Quotes erd
15232 \end_inset
15233
15234
15235 \begin_inset Quotes erd
15236 \end_inset
15237
15238
15239 \begin_inset Flex Code
15240 status collapsed
15241
15242 \begin_layout Plain Layout
15243
15244 \backslash
15245 newfloat
15246 \end_layout
15247
15248 \end_inset
15249
15250 を使用してフロートを定義する際に使用される様式.
15251 \end_layout
15252
15253 \begin_layout Description
15254 \begin_inset Flex Code
15255 status collapsed
15256
15257 \begin_layout Plain Layout
15258 Type
15259 \end_layout
15260
15261 \end_inset
15262
15263  [
15264 \begin_inset Flex Code
15265 status collapsed
15266
15267 \begin_layout Plain Layout
15268 文字列
15269 \end_layout
15270
15271 \end_inset
15272
15273 =
15274 \begin_inset Quotes erd
15275 \end_inset
15276
15277
15278 \begin_inset Quotes erd
15279 \end_inset
15280
15281 ] プログラムやアルゴリズムのような,フロートの新しいクラス「型」.適切な
15282 \begin_inset Flex Code
15283 status collapsed
15284
15285 \begin_layout Plain Layout
15286
15287 \backslash
15288 newfloat
15289 \end_layout
15290
15291 \end_inset
15292
15293 の後で,
15294 \begin_inset Flex Code
15295 status collapsed
15296
15297 \begin_layout Plain Layout
15298
15299 \backslash
15300 begin{program}
15301 \end_layout
15302
15303 \end_inset
15304
15305
15306 \begin_inset Flex Code
15307 status collapsed
15308
15309 \begin_layout Plain Layout
15310
15311 \backslash
15312 end{algorithm*}
15313 \end_layout
15314
15315 \end_inset
15316
15317 といったコマンドが利用できます.
15318 \end_layout
15319
15320 \begin_layout Description
15321 \begin_inset Flex Code
15322 status collapsed
15323
15324 \begin_layout Plain Layout
15325 UsesFloatPkg
15326 \end_layout
15327
15328 \end_inset
15329
15330  [
15331 \begin_inset Flex Code
15332 status collapsed
15333
15334 \begin_layout Plain Layout
15335 0
15336 \end_layout
15337
15338 \end_inset
15339
15340 ,
15341 \begin_inset space \thinspace{}
15342 \end_inset
15343
15344
15345 \begin_inset Flex Code
15346 status collapsed
15347
15348 \begin_layout Plain Layout
15349
15350 \emph on
15351 1
15352 \end_layout
15353
15354 \end_inset
15355
15356 ] このフロートが,クラスファイルやパッケージ中で,\SpecialChar LaTeX
15357 パッケージ
15358 \begin_inset Flex Code
15359 status collapsed
15360
15361 \begin_layout Plain Layout
15362 float
15363 \end_layout
15364
15365 \end_inset
15366
15367 が提供しているものを使用して定義されているのか,\SpecialChar LyX
15368 自身がオン・ザ・フライで定義しているのかを示します.
15369 \end_layout
15370
15371 \begin_layout Standard
15372 \begin_inset Flex Code
15373 status collapsed
15374
15375 \begin_layout Plain Layout
15376
15377 \emph on
15378 type
15379 \end_layout
15380
15381 \end_inset
15382
15383 型のフロートを定義すると,自動的に
15384 \emph on
15385 対応する
15386 \emph default
15387
15388 \begin_inset Flex Code
15389 status collapsed
15390
15391 \begin_layout Plain Layout
15392
15393 \emph on
15394 type
15395 \end_layout
15396
15397 \end_inset
15398
15399 名カウンタが定義されます.
15400 \end_layout
15401
15402 \begin_layout Subsection
15403 自由差込枠と差込枠レイアウト
15404 \begin_inset CommandInset label
15405 LatexCommand label
15406 name "subsec:任意設定差込枠"
15407
15408 \end_inset
15409
15410
15411 \end_layout
15412
15413 \begin_layout Standard
15414 自由差込枠には次の3種類があります.
15415 \end_layout
15416
15417 \begin_layout Itemize
15418 文字様式(
15419 \begin_inset Flex Code
15420 status collapsed
15421
15422 \begin_layout Plain Layout
15423 CharStyle
15424 \end_layout
15425
15426 \end_inset
15427
15428 ).これは,
15429 \begin_inset Flex Code
15430 status collapsed
15431
15432 \begin_layout Plain Layout
15433
15434 \backslash
15435 noun
15436 \end_layout
15437
15438 \end_inset
15439
15440
15441 \begin_inset Flex Code
15442 status collapsed
15443
15444 \begin_layout Plain Layout
15445
15446 \backslash
15447 code
15448 \end_layout
15449
15450 \end_inset
15451
15452 などの\SpecialChar LaTeX
15453 コマンドに対応した意味論的マークアップを定義するものです.
15454 \end_layout
15455
15456 \begin_layout Itemize
15457 ユーザ設定(
15458 \begin_inset Flex Code
15459 status collapsed
15460
15461 \begin_layout Plain Layout
15462 Custom
15463 \end_layout
15464
15465 \end_inset
15466
15467 ).これは,\SpecialChar TeX
15468 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,これは
15469 \begin_inset Flex Code
15470 status collapsed
15471
15472 \begin_layout Plain Layout
15473 endnote
15474 \end_layout
15475
15476 \end_inset
15477
15478 モジュール中で定義されています.
15479 \end_layout
15480
15481 \begin_layout Itemize
15482 XML要素(
15483 \begin_inset Flex Code
15484 status collapsed
15485
15486 \begin_layout Plain Layout
15487 Element
15488 \end_layout
15489
15490 \end_inset
15491
15492 ).DocBookクラスで使用するものです.
15493 \end_layout
15494
15495 \begin_layout Standard
15496 自由差込枠は,以下で説明する
15497 \begin_inset Flex Code
15498 status collapsed
15499
15500 \begin_layout Plain Layout
15501 InsetLayout
15502 \end_layout
15503
15504 \end_inset
15505
15506 タグを使用して定義されます.
15507 \end_layout
15508
15509 \begin_layout Standard
15510 \begin_inset Flex Code
15511 status collapsed
15512
15513 \begin_layout Plain Layout
15514 InsetLayout
15515 \end_layout
15516
15517 \end_inset
15518
15519 タグは,もう一つ別の機能も提供します.これを使えば,いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
15520 \begin_inset Flex Code
15521 status collapsed
15522
15523 \begin_layout Plain Layout
15524 InsetLayout
15525 \end_layout
15526
15527 \end_inset
15528
15529 は自由差込枠を定義することの他に,脚註・傍註・註釈差込枠・\SpecialChar TeX
15530 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザ
15531 ー定義するのに使用されます.
15532 \end_layout
15533
15534 \begin_layout Standard
15535 \begin_inset Flex Code
15536 status collapsed
15537
15538 \begin_layout Plain Layout
15539 InsetLayout
15540 \end_layout
15541
15542 \end_inset
15543
15544 定義は以下の形の行では始まらなくてはなりません.
15545 \end_layout
15546
15547 \begin_layout LyX-Code
15548 InsetLayout <型>
15549 \end_layout
15550
15551 \begin_layout Standard
15552 ここで
15553 \begin_inset Flex Code
15554 status collapsed
15555
15556 \begin_layout Plain Layout
15557 <型>
15558 \end_layout
15559
15560 \end_inset
15561
15562 は,レイアウトを定義しようとしている差込枠を指し,4つの場合があります.
15563 \end_layout
15564
15565 \begin_layout Enumerate
15566 既存の差込枠のレイアウトを変更する場合.この場合,
15567 \begin_inset Flex Code
15568 status collapsed
15569
15570 \begin_layout Plain Layout
15571 <型>
15572 \end_layout
15573
15574 \end_inset
15575
15576 は以下のいずれかになります:
15577 \begin_inset Flex Code
15578 status collapsed
15579
15580 \begin_layout Plain Layout
15581 Algorithm
15582 \end_layout
15583
15584 \end_inset
15585
15586
15587 \begin_inset Flex Code
15588 status collapsed
15589
15590 \begin_layout Plain Layout
15591 Branch
15592 \end_layout
15593
15594 \end_inset
15595
15596
15597 \begin_inset Flex Code
15598 status collapsed
15599
15600 \begin_layout Plain Layout
15601 Box
15602 \end_layout
15603
15604 \end_inset
15605
15606
15607 \begin_inset Flex Code
15608 status collapsed
15609
15610 \begin_layout Plain Layout
15611 Box:shaded
15612 \end_layout
15613
15614 \end_inset
15615
15616
15617 \begin_inset Flex Code
15618 status collapsed
15619
15620 \begin_layout Plain Layout
15621 Caption:Standard
15622 \end_layout
15623
15624 \end_inset
15625
15626
15627 \begin_inset Flex Code
15628 status collapsed
15629
15630 \begin_layout Plain Layout
15631 ERT
15632 \end_layout
15633
15634 \end_inset
15635
15636
15637 \begin_inset Flex Code
15638 status collapsed
15639
15640 \begin_layout Plain Layout
15641 Figure
15642 \end_layout
15643
15644 \end_inset
15645
15646
15647 \begin_inset Flex Code
15648 status collapsed
15649
15650 \begin_layout Plain Layout
15651 Foot
15652 \end_layout
15653
15654 \end_inset
15655
15656
15657 \begin_inset Flex Code
15658 status collapsed
15659
15660 \begin_layout Plain Layout
15661 Index
15662 \end_layout
15663
15664 \end_inset
15665
15666
15667 \begin_inset Flex Code
15668 status collapsed
15669
15670 \begin_layout Plain Layout
15671 Info
15672 \end_layout
15673
15674 \end_inset
15675
15676
15677 \begin_inset Flex Code
15678 status collapsed
15679
15680 \begin_layout Plain Layout
15681 Info:menu
15682 \end_layout
15683
15684 \end_inset
15685
15686
15687 \begin_inset Flex Code
15688 status collapsed
15689
15690 \begin_layout Plain Layout
15691 Info:shortcut
15692 \end_layout
15693
15694 \end_inset
15695
15696
15697 \begin_inset Flex Code
15698 status collapsed
15699
15700 \begin_layout Plain Layout
15701 Info:shortcuts
15702 \end_layout
15703
15704 \end_inset
15705
15706
15707 \begin_inset Flex Code
15708 status collapsed
15709
15710 \begin_layout Plain Layout
15711 Listings
15712 \end_layout
15713
15714 \end_inset
15715
15716
15717 \begin_inset Flex Code
15718 status collapsed
15719
15720 \begin_layout Plain Layout
15721 Marginal
15722 \end_layout
15723
15724 \end_inset
15725
15726
15727 \begin_inset Flex Code
15728 status collapsed
15729
15730 \begin_layout Plain Layout
15731 Note:Comment
15732 \end_layout
15733
15734 \end_inset
15735
15736
15737 \begin_inset Flex Code
15738 status collapsed
15739
15740 \begin_layout Plain Layout
15741 Note:Note
15742 \end_layout
15743
15744 \end_inset
15745
15746
15747 \begin_inset Flex Code
15748 status collapsed
15749
15750 \begin_layout Plain Layout
15751 Note:GreyedOut
15752 \end_layout
15753
15754 \end_inset
15755
15756
15757 \begin_inset Flex Code
15758 status collapsed
15759
15760 \begin_layout Plain Layout
15761 Table
15762 \end_layout
15763
15764 \end_inset
15765
15766
15767 \begin_inset Flex Code
15768 status collapsed
15769
15770 \begin_layout Plain Layout
15771 URL
15772 \end_layout
15773
15774 \end_inset
15775
15776
15777 \end_layout
15778
15779 \begin_layout Enumerate
15780 自由差込枠のレイアウトを定義する場合.この場合,
15781 \begin_inset Flex Code
15782 status collapsed
15783
15784 \begin_layout Plain Layout
15785 <型>
15786 \end_layout
15787
15788 \end_inset
15789
15790
15791 \begin_inset Flex Code
15792 status collapsed
15793
15794 \begin_layout Plain Layout
15795 Flex:<名称>
15796 \end_layout
15797
15798 \end_inset
15799
15800 の形でなくてはなりません.ここで,
15801 \begin_inset Flex Code
15802 status collapsed
15803
15804 \begin_layout Plain Layout
15805 名称
15806 \end_layout
15807
15808 \end_inset
15809
15810 は,既存の自由差込枠で使用されていない有効な識別子であれば,何でも構いません.識別子には空白を入れることもできますが,この場合には全体を引用符で囲まなくてはなり
15811 ません.自由差込枠の定義には,この定義がどの差込枠型なのか宣言するために,
15812 \begin_inset Flex Code
15813 status collapsed
15814
15815 \begin_layout Plain Layout
15816 LyXType
15817 \end_layout
15818
15819 \end_inset
15820
15821 項目が含まれていなくてはならないことに注意してください.
15822 \end_layout
15823
15824 \begin_layout Enumerate
15825 ユーザー定義派生枝を定義する場合.この場合,
15826 \begin_inset Flex Code
15827 status collapsed
15828
15829 \begin_layout Plain Layout
15830 <型>
15831 \end_layout
15832
15833 \end_inset
15834
15835 は「
15836 \begin_inset Flex Code
15837 status collapsed
15838
15839 \begin_layout Plain Layout
15840 Branch:<名称>
15841 \end_layout
15842
15843 \end_inset
15844
15845 」の形でなくてはなりません.ここで,
15846 \begin_inset Flex Code
15847 status collapsed
15848
15849 \begin_layout Plain Layout
15850 名称
15851 \end_layout
15852
15853 \end_inset
15854
15855 は,ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主
15856 な目的は,ユーザーの必要に応じて,特定の派生枝を\SpecialChar LaTeX
15857 がくるむことができるようにすることです.
15858 \end_layout
15859
15860 \begin_layout Enumerate
15861 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
15862 \begin_inset Flex Code
15863 status collapsed
15864
15865 \begin_layout Plain Layout
15866 <型>
15867 \end_layout
15868
15869 \end_inset
15870
15871 は「
15872 \begin_inset Flex Code
15873 status collapsed
15874
15875 \begin_layout Plain Layout
15876 Caption:<名称>
15877 \end_layout
15878
15879 \end_inset
15880
15881 」の形でなくてはなりません.ここで,
15882 \begin_inset Flex Code
15883 status collapsed
15884
15885 \begin_layout Plain Layout
15886 名称
15887 \end_layout
15888
15889 \end_inset
15890
15891 は,メニューに表示されるキャプション名です.応用例については,標準キャプション(
15892 \begin_inset Flex Code
15893 status collapsed
15894
15895 \begin_layout Plain Layout
15896 Caption:Standard
15897 \end_layout
15898
15899 \end_inset
15900
15901 ),若しくはKOMA-Scriptクラスのクラス定義キャプション(
15902 \begin_inset Flex Code
15903 status collapsed
15904
15905 \begin_layout Plain Layout
15906 Caption:Above
15907 \end_layout
15908
15909 \end_inset
15910
15911
15912 \begin_inset Flex Code
15913 status collapsed
15914
15915 \begin_layout Plain Layout
15916 Caption:Below
15917 \end_layout
15918
15919 \end_inset
15920
15921 ),
15922 \family sans
15923 多言語キャプション
15924 \family default
15925 モジュール(
15926 \begin_inset Flex Code
15927 status collapsed
15928
15929 \begin_layout Plain Layout
15930 Caption:Bicaption
15931 \end_layout
15932
15933 \end_inset
15934
15935 )をご覧ください.
15936 \end_layout
15937
15938 \begin_layout Standard
15939 \begin_inset Flex Code
15940 status collapsed
15941
15942 \begin_layout Plain Layout
15943 InsetLayout
15944 \end_layout
15945
15946 \end_inset
15947
15948 定義には以下の項目を入れることができます.
15949 \end_layout
15950
15951 \begin_layout Description
15952
15953 \lang english
15954 \begin_inset Flex Code
15955 status collapsed
15956
15957 \begin_layout Plain Layout
15958
15959 \lang english
15960 AddToToc
15961 \end_layout
15962
15963 \end_inset
15964
15965  [
15966 \begin_inset Flex Code
15967 status collapsed
15968
15969 \begin_layout Plain Layout
15970
15971 \lang english
15972 string
15973 \end_layout
15974
15975 \end_inset
15976
15977 =""] This inset will appear in the table of contents of the given type.
15978  An empty string disables.
15979  See also the OutlinerName and the IsTocCaption commands.
15980  This is only implemented for Flex insets.
15981  Default: disabled.
15982 \end_layout
15983
15984 \begin_layout Description
15985 \begin_inset Flex Code
15986 status collapsed
15987
15988 \begin_layout Plain Layout
15989 Argument
15990 \end_layout
15991
15992 \end_inset
15993
15994  [
15995 \begin_inset Flex Code
15996 status collapsed
15997
15998 \begin_layout Plain Layout
15999 整数
16000 \end_layout
16001
16002 \end_inset
16003
16004 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引
16005 \end_layout
16006
16007 \begin_layout Description
16008 数番号を定義します.定義は
16009 \begin_inset Flex Code
16010 status collapsed
16011
16012 \begin_layout Plain Layout
16013 EndArgument
16014 \end_layout
16015
16016 \end_inset
16017
16018 で閉じなくてはなりません.詳細は
16019 \begin_inset CommandInset ref
16020 LatexCommand ref
16021 reference "subsec:段落様式"
16022
16023 \end_inset
16024
16025 参照.
16026 \end_layout
16027
16028 \begin_layout Description
16029 \begin_inset Flex Code
16030 status collapsed
16031
16032 \begin_layout Plain Layout
16033 BabelPreamble
16034 \end_layout
16035
16036 \end_inset
16037
16038  言語コマンドを変更するプリアンブル.
16039 \begin_inset CommandInset ref
16040 LatexCommand ref
16041 reference "subsec:段落様式の国際化"
16042
16043 \end_inset
16044
16045 参照.
16046 \end_layout
16047
16048 \begin_layout Description
16049 \begin_inset Flex Code
16050 status collapsed
16051
16052 \begin_layout Plain Layout
16053 BgColor
16054 \end_layout
16055
16056 \end_inset
16057
16058  [
16059 \begin_inset Flex Code
16060 status collapsed
16061
16062 \begin_layout Plain Layout
16063 <名称>
16064 \end_layout
16065
16066 \end_inset
16067
16068 ] 差込枠の背景色.使用できる色名一覧は
16069 \begin_inset CommandInset ref
16070 LatexCommand ref
16071 reference "chap:色名"
16072
16073 \end_inset
16074
16075 参照.
16076 \end_layout
16077
16078 \begin_layout Description
16079 \begin_inset Flex Code
16080 status collapsed
16081
16082 \begin_layout Plain Layout
16083 ContentAsLabel
16084 \end_layout
16085
16086 \end_inset
16087
16088  [
16089 \begin_inset Flex Code
16090 status collapsed
16091
16092 \begin_layout Plain Layout
16093
16094 \emph on
16095 0
16096 \end_layout
16097
16098 \end_inset
16099
16100 ,
16101 \begin_inset space \thinspace{}
16102 \end_inset
16103
16104
16105 \begin_inset Flex Code
16106 status collapsed
16107
16108 \begin_layout Plain Layout
16109 1
16110 \end_layout
16111
16112 \end_inset
16113
16114 ] 差込枠を閉じた際,差込枠の内容をラベルとして使用するか否か.既定値は偽です.
16115 \end_layout
16116
16117 \begin_layout Description
16118 \begin_inset Flex Code
16119 status collapsed
16120
16121 \begin_layout Plain Layout
16122 CopyStyle
16123 \end_layout
16124
16125 \end_inset
16126
16127  [<型>] 段落様式と同様です.
16128 \begin_inset CommandInset ref
16129 LatexCommand ref
16130 reference "subsec:段落様式"
16131
16132 \end_inset
16133
16134 参照のこと.完全な型を指定する必要があることに注意してください.例:
16135 \begin_inset Flex Code
16136 status collapsed
16137
16138 \begin_layout Plain Layout
16139 CopyStyle Flex:<名称>
16140 \end_layout
16141
16142 \end_inset
16143
16144
16145 \end_layout
16146
16147 \begin_layout Description
16148 \begin_inset Flex Code
16149 status collapsed
16150
16151 \begin_layout Plain Layout
16152 CustomPars
16153 \end_layout
16154
16155 \end_inset
16156
16157  [
16158 \begin_inset Flex Code
16159 status collapsed
16160
16161 \begin_layout Plain Layout
16162
16163 \emph on
16164 0
16165 \end_layout
16166
16167 \end_inset
16168
16169 ,
16170 \begin_inset space \thinspace{}
16171 \end_inset
16172
16173
16174 \begin_inset Flex Code
16175 status collapsed
16176
16177 \begin_layout Plain Layout
16178 1
16179 \end_layout
16180
16181 \end_inset
16182
16183 ] 段落を設定するのに,段落設定ダイアログをユーザが使えるかどうかを指定します.
16184 \end_layout
16185
16186 \begin_layout Description
16187 \begin_inset Flex Code
16188 status collapsed
16189
16190 \begin_layout Plain Layout
16191 Decoration
16192 \end_layout
16193
16194 \end_inset
16195
16196  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
16197 \begin_inset Flex Code
16198 status collapsed
16199
16200 \begin_layout Plain Layout
16201 Classic
16202 \end_layout
16203
16204 \end_inset
16205
16206
16207 \begin_inset Flex Code
16208 status collapsed
16209
16210 \begin_layout Plain Layout
16211 Minimalistic
16212 \end_layout
16213
16214 \end_inset
16215
16216
16217 \begin_inset Flex Code
16218 status collapsed
16219
16220 \begin_layout Plain Layout
16221 Conglomerate
16222 \end_layout
16223
16224 \end_inset
16225
16226 のいずれかを指定することができます.脚註は通常
16227 \begin_inset Flex Code
16228 status collapsed
16229
16230 \begin_layout Plain Layout
16231 Classic
16232 \end_layout
16233
16234 \end_inset
16235
16236 を使用し,\SpecialChar TeX
16237 コード差込枠は通常
16238 \begin_inset Flex Code
16239 status collapsed
16240
16241 \begin_layout Plain Layout
16242 Minimalistic
16243 \end_layout
16244
16245 \end_inset
16246
16247 ,文字様式は
16248 \begin_inset Flex Code
16249 status collapsed
16250
16251 \begin_layout Plain Layout
16252 Conglomerate
16253 \end_layout
16254
16255 \end_inset
16256
16257 を使用します.
16258 \end_layout
16259
16260 \begin_layout Description
16261 \begin_inset Flex Code
16262 status collapsed
16263
16264 \begin_layout Plain Layout
16265 Display
16266 \end_layout
16267
16268 \end_inset
16269
16270  [
16271 \begin_inset Flex Code
16272 status collapsed
16273
16274 \begin_layout Plain Layout
16275 0
16276 \end_layout
16277
16278 \end_inset
16279
16280 ,
16281 \begin_inset space \thinspace{}
16282 \end_inset
16283
16284
16285 \begin_inset Flex Code
16286 status collapsed
16287
16288 \begin_layout Plain Layout
16289
16290 \emph on
16291 1
16292 \end_layout
16293
16294 \end_inset
16295
16296
16297 \begin_inset Flex Code
16298 status collapsed
16299
16300 \begin_layout Plain Layout
16301 LatexType
16302 \end_layout
16303
16304 \end_inset
16305
16306
16307 \begin_inset Flex Code
16308 status collapsed
16309
16310 \begin_layout Plain Layout
16311 Environment
16312 \end_layout
16313
16314 \end_inset
16315
16316 の時のみ意味をもちます.環境を,出力中で独立して出力させるか,周囲のテキストとインラインで出力させるかを示します.偽にすると,\SpecialChar LaTeX
16317 環境は,
16318 \begin_inset Flex Code
16319 status collapsed
16320
16321 \begin_layout Plain Layout
16322
16323 \backslash
16324 begin{LatexName}
16325 \end_layout
16326
16327 \end_inset
16328
16329 タグと
16330 \begin_inset Flex Code
16331 status collapsed
16332
16333 \begin_layout Plain Layout
16334
16335 \backslash
16336 end{LatexName}
16337 \end_layout
16338
16339 \end_inset
16340
16341 タグの後の空白(改行文字を含む)を無視するものと仮定します.
16342 \end_layout
16343
16344 \begin_layout Description
16345 \begin_inset Flex Code
16346 status collapsed
16347
16348 \begin_layout Plain Layout
16349 End
16350 \end_layout
16351
16352 \end_inset
16353
16354  
16355 \begin_inset Flex Code
16356 status collapsed
16357
16358 \begin_layout Plain Layout
16359 InsetLayout
16360 \end_layout
16361
16362 \end_inset
16363
16364 宣言を閉じるのに必要です.
16365 \end_layout
16366
16367 \begin_layout Description
16368 \begin_inset Flex Code
16369 status collapsed
16370
16371 \begin_layout Plain Layout
16372 Font
16373 \end_layout
16374
16375 \end_inset
16376
16377  本文本体とラベル
16378 \emph on
16379 両方に
16380 \emph default
16381 使用されるフォントです.
16382 \begin_inset CommandInset ref
16383 LatexCommand ref
16384 reference "subsec:フォント指定"
16385
16386 \end_inset
16387
16388 を参照.このフォントを定義すると自動的に
16389 \begin_inset Flex Code
16390 status collapsed
16391
16392 \begin_layout Plain Layout
16393 LabelFont
16394 \end_layout
16395
16396 \end_inset
16397
16398 も同じ値に定義されるので,これらを別々の値にしたいときは,これを先に定義してから後に
16399 \begin_inset Flex Code
16400 status collapsed
16401
16402 \begin_layout Plain Layout
16403 LabelFont
16404 \end_layout
16405
16406 \end_inset
16407
16408 を定義しなくてはならないことに注意してください.
16409 \end_layout
16410
16411 \begin_layout Description
16412 \begin_inset Flex Code
16413 status collapsed
16414
16415 \begin_layout Plain Layout
16416 FixedWidthPreambleEncoding
16417 \end_layout
16418
16419 \end_inset
16420
16421  [
16422 \begin_inset Flex Code
16423 status collapsed
16424
16425 \begin_layout Plain Layout
16426
16427 \emph on
16428 0
16429 \end_layout
16430
16431 \end_inset
16432
16433 ,
16434 \begin_inset space \thinspace{}
16435 \end_inset
16436
16437
16438 \begin_inset Flex Code
16439 status collapsed
16440
16441 \begin_layout Plain Layout
16442 1
16443 \end_layout
16444
16445 \end_inset
16446
16447 ] このレイアウトによって生成される
16448 \begin_inset Flex Code
16449 status collapsed
16450
16451 \begin_layout Plain Layout
16452 BabelPreamble
16453 \end_layout
16454
16455 \end_inset
16456
16457 および
16458 \begin_inset Flex Code
16459 status collapsed
16460
16461 \begin_layout Plain Layout
16462 LangPreamble
16463 \end_layout
16464
16465 \end_inset
16466
16467 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
16468 \family typewriter
16469 listings
16470 \family default
16471 のように,
16472 \family sans
16473 utf8
16474 \family default
16475 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
16476 パッケージのために必要です.この設定は,Xe\SpecialChar TeX
16477 やLua\SpecialChar TeX
16478 のようなUnicodeを完全に解する\SpecialChar LaTeX
16479 バックエンドを使用してい
16480 る場合には,無視されます.
16481 \end_layout
16482
16483 \begin_layout Description
16484 \begin_inset Flex Code
16485 status collapsed
16486
16487 \begin_layout Plain Layout
16488 ForceLocalFontSwitch
16489 \end_layout
16490
16491 \end_inset
16492
16493  [
16494 \begin_inset Flex Code
16495 status collapsed
16496
16497 \begin_layout Plain Layout
16498
16499 \emph on
16500 0
16501 \end_layout
16502
16503 \end_inset
16504
16505 ,
16506 \begin_inset space \thinspace{}
16507 \end_inset
16508
16509
16510 \begin_inset Flex Code
16511 status collapsed
16512
16513 \begin_layout Plain Layout
16514 1
16515 \end_layout
16516
16517 \end_inset
16518
16519 ] babel使用時に,常にローカルフォント切替(
16520 \begin_inset Flex Code
16521 status collapsed
16522
16523 \begin_layout Plain Layout
16524
16525 \backslash
16526 foreignlanguage
16527 \end_layout
16528
16529 \end_inset
16530
16531 )を使い,グローバル切替(
16532 \begin_inset Flex Code
16533 status collapsed
16534
16535 \begin_layout Plain Layout
16536
16537 \backslash
16538 selectlanguage
16539 \end_layout
16540
16541 \end_inset
16542
16543 など)は使わない.
16544 \end_layout
16545
16546 \begin_layout Description
16547 \begin_inset Flex Code
16548 status collapsed
16549
16550 \begin_layout Plain Layout
16551 ForceLTR
16552 \end_layout
16553
16554 \end_inset
16555
16556  [
16557 \begin_inset Flex Code
16558 status collapsed
16559
16560 \begin_layout Plain Layout
16561
16562 \emph on
16563 0
16564 \end_layout
16565
16566 \end_inset
16567
16568 ,
16569 \begin_inset space \thinspace{}
16570 \end_inset
16571
16572
16573 \begin_inset Flex Code
16574 status collapsed
16575
16576 \begin_layout Plain Layout
16577 1
16578 \end_layout
16579
16580 \end_inset
16581
16582 ] たとえば\SpecialChar TeX
16583 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
16584 \end_layout
16585
16586 \begin_layout Description
16587 \begin_inset Flex Code
16588 status collapsed
16589
16590 \begin_layout Plain Layout
16591 ForceOwnlines
16592 \end_layout
16593
16594 \end_inset
16595
16596  [
16597 \begin_inset Flex Code
16598 status collapsed
16599
16600 \begin_layout Plain Layout
16601
16602 \emph on
16603 0
16604 \end_layout
16605
16606 \end_inset
16607
16608 ,
16609 \begin_inset space \thinspace{}
16610 \end_inset
16611
16612
16613 \begin_inset Flex Code
16614 status collapsed
16615
16616 \begin_layout Plain Layout
16617 1
16618 \end_layout
16619
16620 \end_inset
16621
16622 ] \SpecialChar LaTeX
16623 出力において,この差込枠が開始する前と終了する後に,改行を強制します.これは,解析上の目的のために,差込枠が単独行に出力されるように保証します.
16624 \end_layout
16625
16626 \begin_layout Description
16627 \begin_inset Flex Code
16628 status collapsed
16629
16630 \begin_layout Plain Layout
16631 ForcePlain
16632 \end_layout
16633
16634 \end_inset
16635
16636  [
16637 \begin_inset Flex Code
16638 status collapsed
16639
16640 \begin_layout Plain Layout
16641
16642 \emph on
16643 0
16644 \end_layout
16645
16646 \end_inset
16647
16648 ,
16649 \begin_inset space \thinspace{}
16650 \end_inset
16651
16652
16653 \begin_inset Flex Code
16654 status collapsed
16655
16656 \begin_layout Plain Layout
16657 1
16658 \end_layout
16659
16660 \end_inset
16661
16662 ] PlainLayoutを使用するべきなのか,それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
16663 \end_layout
16664
16665 \begin_layout Description
16666 \begin_inset Flex Code
16667 status collapsed
16668
16669 \begin_layout Plain Layout
16670 FreeSpacing
16671 \end_layout
16672
16673 \end_inset
16674
16675  [
16676 \emph on
16677
16678 \begin_inset Flex Code
16679 status collapsed
16680
16681 \begin_layout Plain Layout
16682 0
16683 \end_layout
16684
16685 \end_inset
16686
16687
16688 \emph default
16689 ,
16690 \begin_inset space \thinspace{}
16691 \end_inset
16692
16693
16694 \begin_inset Flex Code
16695 status collapsed
16696
16697 \begin_layout Plain Layout
16698 1
16699 \end_layout
16700
16701 \end_inset
16702
16703 ] 段落様式と同様.
16704 \begin_inset CommandInset ref
16705 LatexCommand ref
16706 reference "subsec:段落様式"
16707
16708 \end_inset
16709
16710 参照.
16711 \end_layout
16712
16713 \begin_layout Description
16714 \begin_inset Flex Code
16715 status collapsed
16716
16717 \begin_layout Plain Layout
16718 HTML*
16719 \end_layout
16720
16721 \end_inset
16722
16723  これらは,XHTML出力で使用されます.
16724 \begin_inset CommandInset ref
16725 LatexCommand ref
16726 reference "sec:XHTML出力のタグ"
16727
16728 \end_inset
16729
16730 をご覧ください.
16731 \end_layout
16732
16733 \begin_layout Description
16734 \begin_inset Flex Code
16735 status collapsed
16736
16737 \begin_layout Plain Layout
16738 InToc
16739 \end_layout
16740
16741 \end_inset
16742
16743  [
16744 \begin_inset Flex Code
16745 status collapsed
16746
16747 \begin_layout Plain Layout
16748
16749 \emph on
16750 0
16751 \end_layout
16752
16753 \end_inset
16754
16755 ,
16756 \begin_inset space \thinspace{}
16757 \end_inset
16758
16759
16760 \begin_inset Flex Code
16761 status collapsed
16762
16763 \begin_layout Plain Layout
16764 1
16765 \end_layout
16766
16767 \end_inset
16768
16769
16770 \lang english
16771 Whether to include the contents of this inset in the strings generated for
16772  the `Outline' pane for all table of contents, regardless of the AddToToc
16773  setting.
16774  One would not, for example, want the content of a footnote in a section
16775  header to be included in the TOC displayed in the outline, but one would
16776  normally want the content of a character style displayed.
16777  Default is false: not to includ
16778 \lang japanese
16779 e「文書構造」ペイン用に出力される文字列に,この差込枠の内容を含めるかどうか.たとえば,節見出しの脚註の内容が,文書構造の目次に表示されることは望まないでしょう
16780 が,通常,文字様式の内容は表示されることを望むでしょう.既定値は偽,すなわち含めません.
16781 \end_layout
16782
16783 \begin_layout Description
16784
16785 \lang english
16786 \begin_inset Flex Code
16787 status collapsed
16788
16789 \begin_layout Plain Layout
16790
16791 \lang english
16792 IsTocCaption
16793 \end_layout
16794
16795 \end_inset
16796
16797  [
16798 \begin_inset Flex Code
16799 status collapsed
16800
16801 \begin_layout Plain Layout
16802
16803 \emph on
16804 \lang english
16805 0
16806 \end_layout
16807
16808 \end_inset
16809
16810 ,
16811 \begin_inset space \thinspace{}
16812 \end_inset
16813
16814
16815 \begin_inset Flex Code
16816 status collapsed
16817
16818 \begin_layout Plain Layout
16819
16820 \lang english
16821 1
16822 \end_layout
16823
16824 \end_inset
16825
16826 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
16827  of its contents in its item in the table of contents.
16828  Otherwise, only the label appears.
16829 \end_layout
16830
16831 \begin_layout Description
16832 \begin_inset Flex Code
16833 status collapsed
16834
16835 \begin_layout Plain Layout
16836 KeepEmpty
16837 \end_layout
16838
16839 \end_inset
16840
16841  [
16842 \emph on
16843
16844 \begin_inset Flex Code
16845 status collapsed
16846
16847 \begin_layout Plain Layout
16848 0
16849 \end_layout
16850
16851 \end_inset
16852
16853
16854 \emph default
16855 ,
16856 \begin_inset space \thinspace{}
16857 \end_inset
16858
16859
16860 \begin_inset Flex Code
16861 status collapsed
16862
16863 \begin_layout Plain Layout
16864 1
16865 \end_layout
16866
16867 \end_inset
16868
16869 ] 段落様式と同様.
16870 \begin_inset CommandInset ref
16871 LatexCommand ref
16872 reference "subsec:段落様式"
16873
16874 \end_inset
16875
16876 参照.
16877 \end_layout
16878
16879 \begin_layout Description
16880 \begin_inset Flex Code
16881 status collapsed
16882
16883 \begin_layout Plain Layout
16884 LabelFont
16885 \end_layout
16886
16887 \end_inset
16888
16889  ラベルに使用されるフォント.第
16890 \begin_inset CommandInset ref
16891 LatexCommand ref
16892 reference "subsec:フォント指定"
16893
16894 \end_inset
16895
16896 節を参照.非効率を回避するため,この定義は
16897 \begin_inset Flex Code
16898 status collapsed
16899
16900 \begin_layout Plain Layout
16901 Font
16902 \end_layout
16903
16904 \end_inset
16905
16906 の前には決して現れてはなりません.
16907 \end_layout
16908
16909 \begin_layout Description
16910 \begin_inset Flex Code
16911 status collapsed
16912
16913 \begin_layout Plain Layout
16914 LabelString
16915 \end_layout
16916
16917 \end_inset
16918
16919  [
16920 \begin_inset Flex Code
16921 status collapsed
16922
16923 \begin_layout Plain Layout
16924 文字列
16925 \end_layout
16926
16927 \end_inset
16928
16929 =
16930 \begin_inset Quotes erd
16931 \end_inset
16932
16933
16934 \begin_inset Quotes erd
16935 \end_inset
16936
16937 ]
16938 \lang english
16939  
16940 \lang japanese
16941 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
16942 コードや派生枝),ラベルが動的に変更されます.
16943 \end_layout
16944
16945 \begin_layout Description
16946 \begin_inset Flex Code
16947 status collapsed
16948
16949 \begin_layout Plain Layout
16950 LangPreamble
16951 \end_layout
16952
16953 \end_inset
16954
16955  言語依存のプリアンブル.
16956 \begin_inset CommandInset ref
16957 LatexCommand ref
16958 reference "subsec:段落様式の国際化"
16959
16960 \end_inset
16961
16962 参照.
16963 \end_layout
16964
16965 \begin_layout Description
16966 \begin_inset Flex Code
16967 status collapsed
16968
16969 \begin_layout Plain Layout
16970 LatexName
16971 \end_layout
16972
16973 \end_inset
16974
16975  [
16976 \begin_inset Flex Code
16977 status collapsed
16978
16979 \begin_layout Plain Layout
16980 <名称>
16981 \end_layout
16982
16983 \end_inset
16984
16985 ] 対応する\SpecialChar LaTeX
16986 関連物の名称.環境名ないしはコマンド名.
16987 \end_layout
16988
16989 \begin_layout Description
16990 \begin_inset Flex Code
16991 status collapsed
16992
16993 \begin_layout Plain Layout
16994 LatexParam
16995 \end_layout
16996
16997 \end_inset
16998
16999  [
17000 \begin_inset Flex Code
17001 status collapsed
17002
17003 \begin_layout Plain Layout
17004 <パラメータ>
17005 \end_layout
17006
17007 \end_inset
17008
17009 ]
17010 \lang english
17011  
17012 \lang japanese
17013 対応する
17014 \begin_inset Flex Code
17015 status collapsed
17016
17017 \begin_layout Plain Layout
17018 LatexName
17019 \end_layout
17020
17021 \end_inset
17022
17023 関連物の非必須パラメータ.
17024 \begin_inset Flex Code
17025 status collapsed
17026
17027 \begin_layout Plain Layout
17028 []
17029 \end_layout
17030
17031 \end_inset
17032
17033 のような括弧対を含む.このパラメータは\SpecialChar LyX
17034 内部から変更することはできません(変更可能なパラメータには
17035 \begin_inset Flex Code
17036 status collapsed
17037
17038 \begin_layout Plain Layout
17039 Argument
17040 \end_layout
17041
17042 \end_inset
17043
17044 を使用してください).これは,全ての\SpecialChar LaTeX
17045  
17046 \begin_inset Flex Code
17047 status collapsed
17048
17049 \begin_layout Plain Layout
17050 Argument
17051 \end_layout
17052
17053 \end_inset
17054
17055 の後にそのままの形で出力されます.
17056 \end_layout
17057
17058 \begin_layout Description
17059 \begin_inset Flex Code
17060 status collapsed
17061
17062 \begin_layout Plain Layout
17063 LatexType
17064 \end_layout
17065
17066 \end_inset
17067
17068  [
17069 \begin_inset Flex Code
17070 status collapsed
17071
17072 \begin_layout Plain Layout
17073 Command, Environment, None
17074 \end_layout
17075
17076 \end_inset
17077
17078 ] 様式がどのように\SpecialChar LaTeX
17079 に変換されるべきかを示します
17080 \begin_inset Foot
17081 status collapsed
17082
17083 \begin_layout Plain Layout
17084 これらのルールはSGMLクラスにも適用されるので,
17085 \begin_inset Flex Code
17086 status collapsed
17087
17088 \begin_layout Plain Layout
17089 LatexType
17090 \end_layout
17091
17092 \end_inset
17093
17094 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイルを見てください.
17095 \end_layout
17096
17097 \end_inset
17098
17099
17100 \end_layout
17101
17102 \begin_deeper
17103 \begin_layout Description
17104 \begin_inset Flex Code
17105 status collapsed
17106
17107 \begin_layout Plain Layout
17108 None
17109 \end_layout
17110
17111 \end_inset
17112
17113  は,何も特別なことは意味しません
17114 \end_layout
17115
17116 \begin_layout Description
17117 \begin_inset Flex Code
17118 status collapsed
17119
17120 \begin_layout Plain Layout
17121 Command
17122 \end_layout
17123
17124 \end_inset
17125
17126  は,
17127 \begin_inset Flex Code
17128 status collapsed
17129
17130 \begin_layout Plain Layout
17131
17132 \backslash
17133
17134 \emph on
17135 LatexName
17136 \emph default
17137 {\SpecialChar ldots
17138 }
17139 \end_layout
17140
17141 \end_inset
17142
17143 を意味します
17144 \end_layout
17145
17146 \begin_layout Description
17147 \begin_inset Flex Code
17148 status collapsed
17149
17150 \begin_layout Plain Layout
17151 Environment
17152 \end_layout
17153
17154 \end_inset
17155
17156  は,
17157 \begin_inset Flex Code
17158 status collapsed
17159
17160 \begin_layout Plain Layout
17161
17162 \backslash
17163 begin{
17164 \emph on
17165 LatexName
17166 \emph default
17167 }\SpecialChar ldots
17168
17169 \backslash
17170 end{
17171 \emph on
17172 LatexName
17173 \emph default
17174 }
17175 \end_layout
17176
17177 \end_inset
17178
17179 を意味します
17180 \end_layout
17181
17182 \begin_layout Standard
17183 上記最後のいくつかをまとめると,\SpecialChar LaTeX
17184 出力は,\SpecialChar LaTeX
17185 型に依存して
17186 \end_layout
17187
17188 \begin_layout LyX-Code
17189
17190 \backslash
17191 LatexName[LatexParam]{\SpecialChar ldots
17192 }
17193 \end_layout
17194
17195 \begin_layout Standard
17196 のようになるか,
17197 \end_layout
17198
17199 \begin_layout LyX-Code
17200
17201 \backslash
17202 begin{LatexName}[LatexParam] \SpecialChar ldots
17203  
17204 \backslash
17205 end{LatexName}.
17206 \end_layout
17207
17208 \begin_layout Standard
17209 となります.
17210 \end_layout
17211
17212 \end_deeper
17213 \begin_layout Description
17214 \begin_inset Flex Code
17215 status collapsed
17216
17217 \begin_layout Plain Layout
17218 LeftDelim
17219 \end_layout
17220
17221 \end_inset
17222
17223  [
17224 \begin_inset Flex Code
17225 status collapsed
17226
17227 \begin_layout Plain Layout
17228 文字列
17229 \end_layout
17230
17231 \end_inset
17232
17233 ] 様式の内容の最初に置かれる文字列.出力中の改行は
17234 \begin_inset Flex Code
17235 status collapsed
17236
17237 \begin_layout Plain Layout
17238 <br/>
17239 \end_layout
17240
17241 \end_inset
17242
17243 で指示できます.
17244 \end_layout
17245
17246 \begin_layout Description
17247 \begin_inset Flex Code
17248 status collapsed
17249
17250 \begin_layout Plain Layout
17251 LyxType
17252 \end_layout
17253
17254 \end_inset
17255
17256  
17257 \begin_inset Flex Code
17258 status collapsed
17259
17260 \begin_layout Plain Layout
17261 charstyle
17262 \end_layout
17263
17264 \end_inset
17265
17266
17267 \begin_inset Flex Code
17268 status collapsed
17269
17270 \begin_layout Plain Layout
17271 custom
17272 \end_layout
17273
17274 \end_inset
17275
17276
17277 \begin_inset Flex Code
17278 status collapsed
17279
17280 \begin_layout Plain Layout
17281 element
17282 \end_layout
17283
17284 \end_inset
17285
17286
17287 \begin_inset Flex Code
17288 status collapsed
17289
17290 \begin_layout Plain Layout
17291 end
17292 \end_layout
17293
17294 \end_inset
17295
17296 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,自由差込枠に必須であり,かつ自由差込枠でしか意味を持ちません.こ
17297 の項目は,就中,差込枠がどのメニューに表示されるかを決定します.
17298 \begin_inset Flex Code
17299 status collapsed
17300
17301 \begin_layout Plain Layout
17302 LyxType
17303 \end_layout
17304
17305 \end_inset
17306
17307
17308 \begin_inset Flex Code
17309 status collapsed
17310
17311 \begin_layout Plain Layout
17312 charstyle
17313 \end_layout
17314
17315 \end_inset
17316
17317 に設定すると,
17318 \begin_inset Flex Code
17319 status collapsed
17320
17321 \begin_layout Plain Layout
17322 MultiPar
17323 \end_layout
17324
17325 \end_inset
17326
17327 が偽に設定されます
17328 \lang english
17329  and 
17330 \lang japanese
17331
17332 \begin_inset Flex Code
17333 status collapsed
17334
17335 \begin_layout Plain Layout
17336 ForcePlain
17337 \end_layout
17338
17339 \end_inset
17340
17341
17342 \lang english
17343  to true
17344 \lang japanese
17345 .文字様式差込枠で
17346 \begin_inset Flex Code
17347 status collapsed
17348
17349 \begin_layout Plain Layout
17350 MultiPar
17351 \end_layout
17352
17353 \end_inset
17354
17355 を真にしたい時には
17356 \lang english
17357 , or 
17358 \lang japanese
17359
17360 \begin_inset Flex Code
17361 status collapsed
17362
17363 \begin_layout Plain Layout
17364 ForcePlain
17365 \end_layout
17366
17367 \end_inset
17368
17369
17370 \lang english
17371  to false
17372 \lang japanese
17373
17374 \begin_inset Flex Code
17375 status collapsed
17376
17377 \begin_layout Plain Layout
17378 LyxType
17379 \end_layout
17380
17381 \end_inset
17382
17383 を設定した
17384 \emph on
17385 後に
17386 \emph default
17387 設定すれば,真に設定することができます.
17388 \end_layout
17389
17390 \begin_layout Description
17391 \begin_inset Flex Code
17392 status collapsed
17393
17394 \begin_layout Plain Layout
17395 MultiPar
17396 \end_layout
17397
17398 \end_inset
17399
17400  [
17401 \begin_inset Flex Code
17402 status collapsed
17403
17404 \begin_layout Plain Layout
17405
17406 \emph on
17407 0
17408 \end_layout
17409
17410 \end_inset
17411
17412 ,
17413 \begin_inset space \thinspace{}
17414 \end_inset
17415
17416
17417 \begin_inset Flex Code
17418 status collapsed
17419
17420 \begin_layout Plain Layout
17421 1
17422 \end_layout
17423
17424 \end_inset
17425
17426 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
17427 \begin_inset Flex Code
17428 status collapsed
17429
17430 \begin_layout Plain Layout
17431 CustomPars
17432 \end_layout
17433
17434 \end_inset
17435
17436 を同じ値に設定し,
17437 \begin_inset Flex Code
17438 status collapsed
17439
17440 \begin_layout Plain Layout
17441 ForcePlain
17442 \end_layout
17443
17444 \end_inset
17445
17446 を逆の値に設定します.これらは,
17447 \begin_inset Flex Code
17448 status collapsed
17449
17450 \begin_layout Plain Layout
17451 MultiPar
17452 \end_layout
17453
17454 \end_inset
17455
17456
17457 \emph on
17458 後に
17459 \emph default
17460 指定されれば,他の値に指定し直すことができます.既定値は真です.
17461 \end_layout
17462
17463 \begin_layout Description
17464 \begin_inset Flex Code
17465 status collapsed
17466
17467 \begin_layout Plain Layout
17468 NeedProtect
17469 \end_layout
17470
17471 \end_inset
17472
17473  [
17474 \begin_inset Flex Code
17475 status collapsed
17476
17477 \begin_layout Plain Layout
17478
17479 \emph on
17480 0
17481 \end_layout
17482
17483 \end_inset
17484
17485 ,
17486 \begin_inset space \thinspace{}
17487 \end_inset
17488
17489
17490 \begin_inset Flex Code
17491 status collapsed
17492
17493 \begin_layout Plain Layout
17494 1
17495 \end_layout
17496
17497 \end_inset
17498
17499 ] 本レイアウト中で脆弱なコマンドを
17500 \begin_inset Flex Code
17501 status collapsed
17502
17503 \begin_layout Plain Layout
17504
17505 \backslash
17506 protect
17507 \end_layout
17508
17509 \end_inset
17510
17511 するか否か(註:当該コマンド自身をprotectするかどうかでは
17512 \emph on
17513 ありません
17514 \emph default
17515 ).既定値は偽です.
17516 \end_layout
17517
17518 \begin_layout Description
17519 \begin_inset Flex Code
17520 status collapsed
17521
17522 \begin_layout Plain Layout
17523 NoInsetLayout
17524 \end_layout
17525
17526 \end_inset
17527
17528  [
17529 \begin_inset Flex Code
17530 status collapsed
17531
17532 \begin_layout Plain Layout
17533 <レイアウト>
17534 \end_layout
17535
17536 \end_inset
17537
17538 ] 既存の
17539 \begin_inset Flex Code
17540 status collapsed
17541
17542 \begin_layout Plain Layout
17543 InsetLayout
17544 \end_layout
17545
17546 \end_inset
17547
17548 を削除します.
17549 \end_layout
17550
17551 \begin_layout Description
17552 \begin_inset Flex Code
17553 status collapsed
17554
17555 \begin_layout Plain Layout
17556 ObsoletedBy
17557 \end_layout
17558
17559 \end_inset
17560
17561  [
17562 \begin_inset Flex Code
17563 status collapsed
17564
17565 \begin_layout Plain Layout
17566 <レイアウト>
17567 \end_layout
17568
17569 \end_inset
17570
17571 ] この古い
17572 \begin_inset Flex Code
17573 status collapsed
17574
17575 \begin_layout Plain Layout
17576 InsetLayout
17577 \end_layout
17578
17579 \end_inset
17580
17581 を引き継いだ
17582 \begin_inset Flex Code
17583 status collapsed
17584
17585 \begin_layout Plain Layout
17586 InsetLayout
17587 \end_layout
17588
17589 \end_inset
17590
17591 の名称.これは,
17592 \begin_inset Flex Code
17593 status collapsed
17594
17595 \begin_layout Plain Layout
17596 InsetLayout
17597 \end_layout
17598
17599 \end_inset
17600
17601 の改名を,後方互換性を維持しながら行うために用いられます.
17602 \end_layout
17603
17604 \begin_layout Description
17605 \begin_inset Flex Code
17606 status collapsed
17607
17608 \begin_layout Plain Layout
17609 ParbreakIsNewline
17610 \end_layout
17611
17612 \end_inset
17613
17614  [
17615 \begin_inset Flex Code
17616 status collapsed
17617
17618 \begin_layout Plain Layout
17619
17620 \emph on
17621 0
17622 \end_layout
17623
17624 \end_inset
17625
17626 ,
17627 \begin_inset space \thinspace{}
17628 \end_inset
17629
17630
17631 \begin_inset Flex Code
17632 status collapsed
17633
17634 \begin_layout Plain Layout
17635 1
17636 \end_layout
17637
17638 \end_inset
17639
17640 ] 段落様式と同様.
17641 \begin_inset CommandInset ref
17642 LatexCommand ref
17643 reference "subsec:段落様式"
17644
17645 \end_inset
17646
17647 参照.
17648 \end_layout
17649
17650 \begin_layout Description
17651 \begin_inset Flex Code
17652 status collapsed
17653
17654 \begin_layout Plain Layout
17655 PassThru
17656 \end_layout
17657
17658 \end_inset
17659
17660  [
17661 \emph on
17662
17663 \begin_inset Flex Code
17664 status collapsed
17665
17666 \begin_layout Plain Layout
17667 0
17668 \end_layout
17669
17670 \end_inset
17671
17672
17673 \emph default
17674 ,
17675 \begin_inset space \thinspace{}
17676 \end_inset
17677
17678
17679 \begin_inset Flex Code
17680 status collapsed
17681
17682 \begin_layout Plain Layout
17683 1
17684 \end_layout
17685
17686 \end_inset
17687
17688 ] 段落様式と同様.
17689 \begin_inset CommandInset ref
17690 LatexCommand ref
17691 reference "subsec:段落様式"
17692
17693 \end_inset
17694
17695 参照.
17696 \end_layout
17697
17698 \begin_layout Description
17699 \begin_inset Flex Code
17700 status collapsed
17701
17702 \begin_layout Plain Layout
17703 Preamble
17704 \end_layout
17705
17706 \end_inset
17707
17708  段落様式と同様.
17709 \begin_inset CommandInset ref
17710 LatexCommand ref
17711 reference "subsec:段落様式"
17712
17713 \end_inset
17714
17715 参照.
17716 \end_layout
17717
17718 \begin_layout Description
17719 \begin_inset Flex Code
17720 status collapsed
17721
17722 \begin_layout Plain Layout
17723 RefPrefix
17724 \end_layout
17725
17726 \end_inset
17727
17728  [
17729 \begin_inset Flex Code
17730 status collapsed
17731
17732 \begin_layout Plain Layout
17733 文字列
17734 \end_layout
17735
17736 \end_inset
17737
17738 ] この型の差込枠を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
17739 \end_layout
17740
17741 \begin_layout Description
17742 \begin_inset Flex Code
17743 status collapsed
17744
17745 \begin_layout Plain Layout
17746 Requires
17747 \end_layout
17748
17749 \end_inset
17750
17751  [
17752 \begin_inset Flex Code
17753 status collapsed
17754
17755 \begin_layout Plain Layout
17756 文字列
17757 \end_layout
17758
17759 \end_inset
17760
17761 ] 段落様式と同様.
17762 \begin_inset CommandInset ref
17763 LatexCommand ref
17764 reference "subsec:段落様式"
17765
17766 \end_inset
17767
17768 参照.
17769 \end_layout
17770
17771 \begin_layout Description
17772 \begin_inset Flex Code
17773 status collapsed
17774
17775 \begin_layout Plain Layout
17776 ResetArgs
17777 \end_layout
17778
17779 \end_inset
17780
17781  [
17782 \begin_inset Flex Code
17783 status collapsed
17784
17785 \begin_layout Plain Layout
17786
17787 \emph on
17788 0
17789 \end_layout
17790
17791 \end_inset
17792
17793 ,
17794 \begin_inset space \thinspace{}
17795 \end_inset
17796
17797
17798 \begin_inset Flex Code
17799 status collapsed
17800
17801 \begin_layout Plain Layout
17802 1
17803 \end_layout
17804
17805 \end_inset
17806
17807 ] (
17808 \begin_inset Flex Code
17809 status collapsed
17810
17811 \begin_layout Plain Layout
17812 Argument
17813 \end_layout
17814
17815 \end_inset
17816
17817 タグで定義された)この様式の\SpecialChar LaTeX
17818 引数をリセットします.これは,様式を
17819 \begin_inset Flex Code
17820 status collapsed
17821
17822 \begin_layout Plain Layout
17823 CopyStyle
17824 \end_layout
17825
17826 \end_inset
17827
17828 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
17829 \end_layout
17830
17831 \begin_layout Description
17832 \begin_inset Flex Code
17833 status collapsed
17834
17835 \begin_layout Plain Layout
17836 ResetsFont
17837 \end_layout
17838
17839 \end_inset
17840
17841  [
17842 \begin_inset Flex Code
17843 status collapsed
17844
17845 \begin_layout Plain Layout
17846 0
17847 \end_layout
17848
17849 \end_inset
17850
17851 ,
17852 \begin_inset space \thinspace{}
17853 \end_inset
17854
17855
17856 \begin_inset Flex Code
17857 status collapsed
17858
17859 \begin_layout Plain Layout
17860
17861 \emph on
17862 1
17863 \end_layout
17864
17865 \end_inset
17866
17867 ] この差込枠が周囲の環境と同じフォントを用いるか,独自のフォントを用いるか.既定値は真,すなわち独自のフォントを用います.
17868 \begin_inset Note Note
17869 status open
17870
17871 \begin_layout Plain Layout
17872 This is outdated: The default changed from 1 to 0
17873 \end_layout
17874
17875 \end_inset
17876
17877
17878 \end_layout
17879
17880 \begin_layout Description
17881 \begin_inset Flex Code
17882 status collapsed
17883
17884 \begin_layout Plain Layout
17885 RightDelim
17886 \end_layout
17887
17888 \end_inset
17889
17890  [
17891 \begin_inset Flex Code
17892 status collapsed
17893
17894 \begin_layout Plain Layout
17895 文字列
17896 \end_layout
17897
17898 \end_inset
17899
17900 ] 様式の内容の最後に置かれる文字列.出力中の改行は
17901 \begin_inset Flex Code
17902 status collapsed
17903
17904 \begin_layout Plain Layout
17905 <br/>
17906 \end_layout
17907
17908 \end_inset
17909
17910 で指示できます.
17911 \end_layout
17912
17913 \begin_layout Description
17914 \begin_inset Flex Code
17915 status collapsed
17916
17917 \begin_layout Plain Layout
17918 Spellcheck
17919 \end_layout
17920
17921 \end_inset
17922
17923  [
17924 \begin_inset Flex Code
17925 status collapsed
17926
17927 \begin_layout Plain Layout
17928 0
17929 \end_layout
17930
17931 \end_inset
17932
17933 ,
17934 \begin_inset space \thinspace{}
17935 \end_inset
17936
17937
17938 \begin_inset Flex Code
17939 status collapsed
17940
17941 \begin_layout Plain Layout
17942
17943 \emph on
17944 1
17945 \end_layout
17946
17947 \end_inset
17948
17949 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
17950 \end_layout
17951
17952 \begin_layout Subsection
17953 カウンタ
17954 \begin_inset CommandInset label
17955 LatexCommand label
17956 name "subsec:カウンタ"
17957
17958 \end_inset
17959
17960
17961 \end_layout
17962
17963 \begin_layout Standard
17964 テキストクラスには,カウンタ(
17965 \begin_inset Flex MenuItem
17966 status collapsed
17967
17968 \begin_layout Plain Layout
17969 chapter
17970 \end_layout
17971
17972 \end_inset
17973
17974
17975 \begin_inset Flex MenuItem
17976 status collapsed
17977
17978 \begin_layout Plain Layout
17979 figure
17980 \end_layout
17981
17982 \end_inset
17983
17984 ・\SpecialChar ldots
17985 )を定義することが必要です.標準的なカウンタは
17986 \begin_inset Flex Code
17987 status collapsed
17988
17989 \begin_layout Plain Layout
17990 stdcounters.inc
17991 \end_layout
17992
17993 \end_inset
17994
17995 ファイルに含まれているので,作業中のレイアウトファイルに
17996 \end_layout
17997
17998 \begin_layout LyX-Code
17999 Input stdcounters.inc
18000 \end_layout
18001
18002 \begin_layout Standard
18003 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,そうすることもできます.カウンタ宣言は,
18004 \end_layout
18005
18006 \begin_layout LyX-Code
18007 Counter カウンタ名
18008 \end_layout
18009
18010 \begin_layout Standard
18011 で始まらなくてはなりません.ここで「
18012 \begin_inset Flex Code
18013 status collapsed
18014
18015 \begin_layout Plain Layout
18016 カウンタ名
18017 \end_layout
18018
18019 \end_inset
18020
18021 」は,実際のカウンタ名で置き換えます.また,宣言は「
18022 \begin_inset Flex Code
18023 status collapsed
18024
18025 \begin_layout Plain Layout
18026 End
18027 \end_layout
18028
18029 \end_inset
18030
18031 」で終わらなくてはなりません.
18032 \end_layout
18033
18034 \begin_layout Standard
18035 以下のパラメータを使用することができます.
18036 \end_layout
18037
18038 \begin_layout Description
18039 \begin_inset Flex Code
18040 status collapsed
18041
18042 \begin_layout Plain Layout
18043 InitialValue
18044 \end_layout
18045
18046 \end_inset
18047
18048  [
18049 \begin_inset Flex Code
18050 status collapsed
18051
18052 \begin_layout Plain Layout
18053 整数=1
18054 \end_layout
18055
18056 \end_inset
18057
18058 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,既定値1のままで充分でしょう.
18059 \end_layout
18060
18061 \begin_layout Description
18062 \begin_inset Flex Code
18063 status collapsed
18064
18065 \begin_layout Plain Layout
18066 LabelString [文字列=""]
18067 \end_layout
18068
18069 \end_inset
18070
18071  定義されていると,ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
18072 \begin_inset Flex Code
18073 status collapsed
18074
18075 \begin_layout Plain Layout
18076 LabelStringAppendix
18077 \end_layout
18078
18079 \end_inset
18080
18081 も同じ値に設定されます.文字列中では,以下の構成要素を使用することができます.
18082 \end_layout
18083
18084 \begin_deeper
18085 \begin_layout Itemize
18086 \begin_inset Flex Code
18087 status collapsed
18088
18089 \begin_layout Plain Layout
18090
18091 \backslash
18092 thecounter
18093 \end_layout
18094
18095 \end_inset
18096
18097 は,カウンタ
18098 \begin_inset Flex Code
18099 status collapsed
18100
18101 \begin_layout Plain Layout
18102 counter
18103 \end_layout
18104
18105 \end_inset
18106
18107
18108 \begin_inset Flex Code
18109 status collapsed
18110
18111 \begin_layout Plain Layout
18112 LabelString
18113 \end_layout
18114
18115 \end_inset
18116
18117 (または
18118 \begin_inset Newline linebreak
18119 \end_inset
18120
18121
18122 \begin_inset Flex Code
18123 status collapsed
18124
18125 \begin_layout Plain Layout
18126 LabelStringAppendix
18127 \end_layout
18128
18129 \end_inset
18130
18131 )を展開したもので置き換えられます. 
18132 \end_layout
18133
18134 \begin_layout Itemize
18135 カウンタ値は,\SpecialChar LaTeX
18136 型マクロ
18137 \begin_inset Flex Code
18138 status collapsed
18139
18140 \begin_layout Plain Layout
18141
18142 \backslash
18143
18144 \emph on
18145 numbertype
18146 \emph default
18147 {
18148 \emph on
18149 カウンタ
18150 \emph default
18151 }
18152 \end_layout
18153
18154 \end_inset
18155
18156 を用いて表現することができます.ここで
18157 \begin_inset Flex Code
18158 status collapsed
18159
18160 \begin_layout Plain Layout
18161
18162 \emph on
18163 numbertype
18164 \end_layout
18165
18166 \end_inset
18167
18168 は以下のいずれかです.
18169 \begin_inset Flex Code
18170 status collapsed
18171
18172 \begin_layout Plain Layout
18173 arabic
18174 \end_layout
18175
18176 \end_inset
18177
18178 :1, 2, 3,\SpecialChar ldots
18179
18180 \begin_inset Flex Code
18181 status collapsed
18182
18183 \begin_layout Plain Layout
18184 alph
18185 \end_layout
18186
18187 \end_inset
18188
18189 :a, b, c, \SpecialChar ldots
18190 (小文字);
18191 \begin_inset Flex Code
18192 status collapsed
18193
18194 \begin_layout Plain Layout
18195 Alph
18196 \end_layout
18197
18198 \end_inset
18199
18200 :A, B, C, \SpecialChar ldots
18201 (大文字);
18202 \begin_inset Flex Code
18203 status collapsed
18204
18205 \begin_layout Plain Layout
18206 roman
18207 \end_layout
18208
18209 \end_inset
18210
18211 :i, ii, iii, \SpecialChar ldots
18212 (小文字ローマ数字);
18213 \begin_inset Flex Code
18214 status collapsed
18215
18216 \begin_layout Plain Layout
18217 Roman
18218 \end_layout
18219
18220 \end_inset
18221
18222 :I, II, III\SpecialChar ldots
18223 (大文字ローマ数字).
18224 \end_layout
18225
18226 \end_deeper
18227 \begin_layout Standard
18228 \begin_inset Flex Code
18229 status collapsed
18230
18231 \begin_layout Plain Layout
18232 LabelString
18233 \end_layout
18234
18235 \end_inset
18236
18237 が定義されていないときは,既定値は以下のように組み立てられます.このカウンタに親カウンタ
18238 \begin_inset Flex Code
18239 status collapsed
18240
18241 \begin_layout Plain Layout
18242 master
18243 \end_layout
18244
18245 \end_inset
18246
18247
18248 \begin_inset Flex Code
18249 status collapsed
18250
18251 \begin_layout Plain Layout
18252 Within
18253 \end_layout
18254
18255 \end_inset
18256
18257 で定義)があるときには,文字列
18258 \begin_inset Newline linebreak
18259 \end_inset
18260
18261
18262 \begin_inset Flex Code
18263 status collapsed
18264
18265 \begin_layout Plain Layout
18266
18267 \backslash
18268 themaster.
18269 \backslash
18270 arabic{カウンタ}
18271 \end_layout
18272
18273 \end_inset
18274
18275 が使用されます.それ以外の場合は,
18276 \begin_inset Flex Code
18277 status collapsed
18278
18279 \begin_layout Plain Layout
18280
18281 \backslash
18282 arabic{カウンタ}
18283 \end_layout
18284
18285 \end_inset
18286
18287 が使用されます.
18288 \end_layout
18289
18290 \begin_layout Description
18291 \begin_inset Flex Code
18292 status collapsed
18293
18294 \begin_layout Plain Layout
18295 LabelStringAppendix
18296 \end_layout
18297
18298 \end_inset
18299
18300  [
18301 \begin_inset Flex Code
18302 status collapsed
18303
18304 \begin_layout Plain Layout
18305 文字列
18306 \end_layout
18307
18308 \end_inset
18309
18310 =""] 
18311 \begin_inset Flex Code
18312 status collapsed
18313
18314 \begin_layout Plain Layout
18315 LabelString
18316 \end_layout
18317
18318 \end_inset
18319
18320 と同様ですが,付録で使用するためのものです.
18321 \end_layout
18322
18323 \begin_layout Description
18324 \begin_inset Flex Code
18325 status collapsed
18326
18327 \begin_layout Plain Layout
18328 PrettyFormat
18329 \end_layout
18330
18331 \end_inset
18332
18333  [
18334 \begin_inset Flex Code
18335 status collapsed
18336
18337 \begin_layout Plain Layout
18338 文字列
18339 \end_layout
18340
18341 \end_inset
18342
18343 =
18344 \begin_inset Quotes erd
18345 \end_inset
18346
18347
18348 \begin_inset Quotes erd
18349 \end_inset
18350
18351 ] このカウンタの整形参照で使用する書式.たとえば,節番号への参照を「Section
18352 \begin_inset space ~
18353 \end_inset
18354
18355 2.4」のように表示させたい場合には,文字列に「##」を含めます.これは,カウンタ番号で置換されます.したがって,節の場合には「Section ##」のようにしま
18356 す.
18357 \end_layout
18358
18359 \begin_layout Description
18360 \begin_inset Flex Code
18361 status collapsed
18362
18363 \begin_layout Plain Layout
18364 Within
18365 \end_layout
18366
18367 \end_inset
18368
18369  [
18370 \begin_inset Flex Code
18371 status collapsed
18372
18373 \begin_layout Plain Layout
18374 文字列
18375 \end_layout
18376
18377 \end_inset
18378
18379 =
18380 \begin_inset Quotes erd
18381 \end_inset
18382
18383
18384 \begin_inset Quotes erd
18385 \end_inset
18386
18387 ] これを別のカウンタ名に設定すると,現在のカウンタは,別のカウンタが増加する毎にリセットされます.たとえば,
18388 \begin_inset Flex Code
18389 status collapsed
18390
18391 \begin_layout Plain Layout
18392 subsection
18393 \end_layout
18394
18395 \end_inset
18396
18397
18398 \begin_inset Flex Code
18399 status collapsed
18400
18401 \begin_layout Plain Layout
18402 section
18403 \end_layout
18404
18405 \end_inset
18406
18407 毎に番号がリセットされます.
18408 \end_layout
18409
18410 \begin_layout Subsection
18411 フォント指定
18412 \begin_inset CommandInset label
18413 LatexCommand label
18414 name "subsec:フォント指定"
18415
18416 \end_inset
18417
18418
18419 \end_layout
18420
18421 \begin_layout Standard
18422 フォント指定は,以下のような形を取ります.
18423 \end_layout
18424
18425 \begin_layout LyX-Code
18426 Font 
18427 \family roman
18428 \emph on
18429 または
18430 \family default
18431 \emph default
18432  LabelFont 
18433 \family roman
18434 \emph on
18435 または
18436 \family default
18437 \emph default
18438  DefaultFont
18439 \end_layout
18440
18441 \begin_layout LyX-Code
18442  ...
18443 \end_layout
18444
18445 \begin_layout LyX-Code
18446 EndFont
18447 \end_layout
18448
18449 \begin_layout Standard
18450 以下のコマンドを使用することができます.
18451 \end_layout
18452
18453 \begin_layout Description
18454 \begin_inset Flex Code
18455 status collapsed
18456
18457 \begin_layout Plain Layout
18458 Color
18459 \end_layout
18460
18461 \end_inset
18462
18463  [
18464 \begin_inset Flex Code
18465 status collapsed
18466
18467 \begin_layout Plain Layout
18468
18469 \emph on
18470 none
18471 \end_layout
18472
18473 \end_inset
18474
18475
18476 \begin_inset Flex Code
18477 status collapsed
18478
18479 \begin_layout Plain Layout
18480 black
18481 \end_layout
18482
18483 \end_inset
18484
18485
18486 \begin_inset Flex Code
18487 status collapsed
18488
18489 \begin_layout Plain Layout
18490 white
18491 \end_layout
18492
18493 \end_inset
18494
18495
18496 \begin_inset Flex Code
18497 status collapsed
18498
18499 \begin_layout Plain Layout
18500 red
18501 \end_layout
18502
18503 \end_inset
18504
18505
18506 \begin_inset Flex Code
18507 status collapsed
18508
18509 \begin_layout Plain Layout
18510 green
18511 \end_layout
18512
18513 \end_inset
18514
18515
18516 \begin_inset Flex Code
18517 status collapsed
18518
18519 \begin_layout Plain Layout
18520 blue
18521 \end_layout
18522
18523 \end_inset
18524
18525
18526 \begin_inset Flex Code
18527 status collapsed
18528
18529 \begin_layout Plain Layout
18530 cyan
18531 \end_layout
18532
18533 \end_inset
18534
18535
18536 \begin_inset Flex Code
18537 status collapsed
18538
18539 \begin_layout Plain Layout
18540 magenta
18541 \end_layout
18542
18543 \end_inset
18544
18545
18546 \begin_inset Flex Code
18547 status collapsed
18548
18549 \begin_layout Plain Layout
18550 yellow
18551 \end_layout
18552
18553 \end_inset
18554
18555
18556 \begin_inset Flex Code
18557 status collapsed
18558
18559 \begin_layout Plain Layout
18560 brown
18561 \end_layout
18562
18563 \end_inset
18564
18565
18566 \begin_inset Flex Code
18567 status collapsed
18568
18569 \begin_layout Plain Layout
18570 darkgray
18571 \end_layout
18572
18573 \end_inset
18574
18575
18576 \begin_inset Flex Code
18577 status collapsed
18578
18579 \begin_layout Plain Layout
18580 gray
18581 \end_layout
18582
18583 \end_inset
18584
18585
18586 \begin_inset Flex Code
18587 status collapsed
18588
18589 \begin_layout Plain Layout
18590 lightgray
18591 \end_layout
18592
18593 \end_inset
18594
18595
18596 \begin_inset Flex Code
18597 status collapsed
18598
18599 \begin_layout Plain Layout
18600 lime
18601 \end_layout
18602
18603 \end_inset
18604
18605
18606 \begin_inset Flex Code
18607 status collapsed
18608
18609 \begin_layout Plain Layout
18610 orange
18611 \end_layout
18612
18613 \end_inset
18614
18615
18616 \begin_inset Flex Code
18617 status collapsed
18618
18619 \begin_layout Plain Layout
18620 olive
18621 \end_layout
18622
18623 \end_inset
18624
18625
18626 \begin_inset Flex Code
18627 status collapsed
18628
18629 \begin_layout Plain Layout
18630 pink
18631 \end_layout
18632
18633 \end_inset
18634
18635
18636 \begin_inset Flex Code
18637 status collapsed
18638
18639 \begin_layout Plain Layout
18640 purple
18641 \end_layout
18642
18643 \end_inset
18644
18645
18646 \begin_inset Flex Code
18647 status collapsed
18648
18649 \begin_layout Plain Layout
18650 teal
18651 \end_layout
18652
18653 \end_inset
18654
18655
18656 \begin_inset Flex Code
18657 status collapsed
18658
18659 \begin_layout Plain Layout
18660 violet
18661 \end_layout
18662
18663 \end_inset
18664
18665 ]
18666 \end_layout
18667
18668 \begin_layout Description
18669 \begin_inset Flex Code
18670 status collapsed
18671
18672 \begin_layout Plain Layout
18673 Family
18674 \end_layout
18675
18676 \end_inset
18677
18678  [
18679 \emph on
18680
18681 \begin_inset Flex Code
18682 status collapsed
18683
18684 \begin_layout Plain Layout
18685 Roman
18686 \end_layout
18687
18688 \end_inset
18689
18690
18691 \emph default
18692
18693 \begin_inset Flex Code
18694 status collapsed
18695
18696 \begin_layout Plain Layout
18697 Sans
18698 \end_layout
18699
18700 \end_inset
18701
18702
18703 \begin_inset Flex Code
18704 status collapsed
18705
18706 \begin_layout Plain Layout
18707 Typewriter
18708 \end_layout
18709
18710 \end_inset
18711
18712
18713 \end_layout
18714
18715 \begin_layout Description
18716 \begin_inset Flex Code
18717 status collapsed
18718
18719 \begin_layout Plain Layout
18720 Misc
18721 \end_layout
18722
18723 \end_inset
18724
18725  [
18726 \begin_inset Flex Code
18727 status collapsed
18728
18729 \begin_layout Plain Layout
18730 文字列
18731 \end_layout
18732
18733 \end_inset
18734
18735 ] 有効な引数は,
18736 \begin_inset Flex Code
18737 status collapsed
18738
18739 \begin_layout Plain Layout
18740 emph
18741 \end_layout
18742
18743 \end_inset
18744
18745
18746 \begin_inset Flex Code
18747 status collapsed
18748
18749 \begin_layout Plain Layout
18750 noun
18751 \end_layout
18752
18753 \end_inset
18754
18755
18756 \begin_inset Flex Code
18757 status collapsed
18758
18759 \begin_layout Plain Layout
18760 strikeout
18761 \end_layout
18762
18763 \end_inset
18764
18765
18766 \begin_inset Flex Code
18767 status collapsed
18768
18769 \begin_layout Plain Layout
18770 underbar
18771 \end_layout
18772
18773 \end_inset
18774
18775
18776 \begin_inset Flex Code
18777 status collapsed
18778
18779 \begin_layout Plain Layout
18780 uuline
18781 \end_layout
18782
18783 \end_inset
18784
18785
18786 \begin_inset Flex Code
18787 status collapsed
18788
18789 \begin_layout Plain Layout
18790 uwave
18791 \end_layout
18792
18793 \end_inset
18794
18795
18796 \begin_inset Flex Code
18797 status collapsed
18798
18799 \begin_layout Plain Layout
18800 no_emph
18801 \end_layout
18802
18803 \end_inset
18804
18805
18806 \begin_inset Flex Code
18807 status collapsed
18808
18809 \begin_layout Plain Layout
18810 no_noun
18811 \end_layout
18812
18813 \end_inset
18814
18815
18816 \begin_inset Flex Code
18817 status collapsed
18818
18819 \begin_layout Plain Layout
18820 no_strikeout
18821 \end_layout
18822
18823 \end_inset
18824
18825
18826 \begin_inset Flex Code
18827 status collapsed
18828
18829 \begin_layout Plain Layout
18830 no_bar
18831 \end_layout
18832
18833 \end_inset
18834
18835
18836 \begin_inset Flex Code
18837 status collapsed
18838
18839 \begin_layout Plain Layout
18840 no_uuline
18841 \end_layout
18842
18843 \end_inset
18844
18845
18846 \begin_inset Flex Code
18847 status collapsed
18848
18849 \begin_layout Plain Layout
18850 no_uwave
18851 \end_layout
18852
18853 \end_inset
18854
18855 です.それぞれ,対応する属性を有効にしたり無効にしたりします.
18856 \begin_inset Newline newline
18857 \end_inset
18858
18859 たとえば,
18860 \begin_inset Flex Code
18861 status collapsed
18862
18863 \begin_layout Plain Layout
18864 emph
18865 \end_layout
18866
18867 \end_inset
18868
18869 は強調を有効にし,
18870 \begin_inset Flex Code
18871 status collapsed
18872
18873 \begin_layout Plain Layout
18874 no_emph
18875 \end_layout
18876
18877 \end_inset
18878
18879 はそれを無効にします.もし後者がわかりにくければ,現在のコンテクストのフォント設定は,一般的に周囲のコンテクストから継承していることを思い出してください.ですか
18880
18881 \begin_inset Flex Code
18882 status collapsed
18883
18884 \begin_layout Plain Layout
18885 no_emph
18886 \end_layout
18887
18888 \end_inset
18889
18890 は,たとえば定理環境で,何をせずとも有効となっている強調を無効にするのです.
18891 \end_layout
18892
18893 \begin_layout Description
18894 \begin_inset Flex Code
18895 status collapsed
18896
18897 \begin_layout Plain Layout
18898 Series
18899 \end_layout
18900
18901 \end_inset
18902
18903  [
18904 \emph on
18905
18906 \begin_inset Flex Code
18907 status collapsed
18908
18909 \begin_layout Plain Layout
18910 Medium
18911 \end_layout
18912
18913 \end_inset
18914
18915
18916 \emph default
18917
18918 \begin_inset Flex Code
18919 status collapsed
18920
18921 \begin_layout Plain Layout
18922 Bold
18923 \end_layout
18924
18925 \end_inset
18926
18927
18928 \end_layout
18929
18930 \begin_layout Description
18931 \begin_inset Flex Code
18932 status collapsed
18933
18934 \begin_layout Plain Layout
18935 Shape
18936 \end_layout
18937
18938 \end_inset
18939
18940  [
18941 \emph on
18942
18943 \begin_inset Flex Code
18944 status collapsed
18945
18946 \begin_layout Plain Layout
18947 Up
18948 \end_layout
18949
18950 \end_inset
18951
18952
18953 \emph default
18954
18955 \begin_inset Flex Code
18956 status collapsed
18957
18958 \begin_layout Plain Layout
18959 Italic
18960 \end_layout
18961
18962 \end_inset
18963
18964
18965 \begin_inset Flex Code
18966 status collapsed
18967
18968 \begin_layout Plain Layout
18969 SmallCaps
18970 \end_layout
18971
18972 \end_inset
18973
18974
18975 \begin_inset Flex Code
18976 status collapsed
18977
18978 \begin_layout Plain Layout
18979 Slanted
18980 \end_layout
18981
18982 \end_inset
18983
18984
18985 \end_layout
18986
18987 \begin_layout Description
18988 \begin_inset Flex Code
18989 status collapsed
18990
18991 \begin_layout Plain Layout
18992 Size
18993 \end_layout
18994
18995 \end_inset
18996
18997  [
18998 \begin_inset Flex Code
18999 status collapsed
19000
19001 \begin_layout Plain Layout
19002 tiny
19003 \end_layout
19004
19005 \end_inset
19006
19007
19008 \begin_inset Flex Code
19009 status collapsed
19010
19011 \begin_layout Plain Layout
19012 small
19013 \end_layout
19014
19015 \end_inset
19016
19017
19018 \begin_inset Flex Code
19019 status collapsed
19020
19021 \begin_layout Plain Layout
19022
19023 \emph on
19024 normal
19025 \end_layout
19026
19027 \end_inset
19028
19029
19030 \begin_inset Flex Code
19031 status collapsed
19032
19033 \begin_layout Plain Layout
19034 large
19035 \end_layout
19036
19037 \end_inset
19038
19039
19040 \begin_inset Flex Code
19041 status collapsed
19042
19043 \begin_layout Plain Layout
19044 larger
19045 \end_layout
19046
19047 \end_inset
19048
19049
19050 \begin_inset Flex Code
19051 status collapsed
19052
19053 \begin_layout Plain Layout
19054 largest
19055 \end_layout
19056
19057 \end_inset
19058
19059
19060 \begin_inset Flex Code
19061 status collapsed
19062
19063 \begin_layout Plain Layout
19064 huge
19065 \end_layout
19066
19067 \end_inset
19068
19069
19070 \begin_inset Flex Code
19071 status collapsed
19072
19073 \begin_layout Plain Layout
19074 giant
19075 \end_layout
19076
19077 \end_inset
19078
19079 ]
19080 \end_layout
19081
19082 \begin_layout Subsection
19083
19084 \lang english
19085 \begin_inset CommandInset label
19086 LatexCommand label
19087 name "subsec:Citation-engine-description"
19088
19089 \end_inset
19090
19091 Citation engine description
19092 \end_layout
19093
19094 \begin_layout Standard
19095
19096 \lang english
19097 The 
19098 \begin_inset Flex Code
19099 status collapsed
19100
19101 \begin_layout Plain Layout
19102
19103 \lang english
19104 CiteEngine
19105 \end_layout
19106
19107 \end_inset
19108
19109  blocks, as used mainly in cite engine files (see 
19110 \begin_inset CommandInset ref
19111 LatexCommand ref
19112 reference "subsec:Cite-Engine-Files"
19113 plural "false"
19114 caps "false"
19115 noprefix "false"
19116
19117 \end_inset
19118
19119 ), define the citation commands provided by a specific 
19120 \begin_inset Quotes eld
19121 \end_inset
19122
19123 cite engine
19124 \begin_inset Quotes erd
19125 \end_inset
19126
19127 .
19128  A cite engine, in \SpecialChar LyX
19129  terms, is way specific way to format citations, using
19130  numbers, author names and/or years.
19131  Currently, \SpecialChar LyX
19132  supports three such engine types, namely:
19133 \end_layout
19134
19135 \begin_layout Enumerate
19136
19137 \lang english
19138 \begin_inset Flex Code
19139 status collapsed
19140
19141 \begin_layout Plain Layout
19142
19143 \lang english
19144 default
19145 \end_layout
19146
19147 \end_inset
19148
19149 : the default Bib\SpecialChar TeX
19150  way to format citations, a simple numeric style (e.
19151 \begin_inset space \thinspace{}
19152 \end_inset
19153
19154 g., 
19155 \begin_inset Quotes eld
19156 \end_inset
19157
19158 [1]
19159 \begin_inset Quotes erd
19160 \end_inset
19161
19162 )
19163 \end_layout
19164
19165 \begin_layout Enumerate
19166
19167 \lang english
19168 \begin_inset Flex Code
19169 status collapsed
19170
19171 \begin_layout Plain Layout
19172
19173 \lang english
19174 authoryear
19175 \end_layout
19176
19177 \end_inset
19178
19179 : Harvard-styled citations using author names and publication year (e.
19180 \begin_inset space \thinspace{}
19181 \end_inset
19182
19183 g., 
19184 \begin_inset Quotes eld
19185 \end_inset
19186
19187 Smith and Miller (2017b)
19188 \begin_inset Quotes erd
19189 \end_inset
19190
19191 )
19192 \end_layout
19193
19194 \begin_layout Enumerate
19195
19196 \lang english
19197 \begin_inset Flex Code
19198 status collapsed
19199
19200 \begin_layout Plain Layout
19201
19202 \lang english
19203 numerical
19204 \end_layout
19205
19206 \end_inset
19207
19208 : extended numerical citations that also allow for author or title next
19209  to the number (e.
19210 \begin_inset space \thinspace{}
19211 \end_inset
19212
19213 g., 
19214 \begin_inset Quotes eld
19215 \end_inset
19216
19217 Smith and Miller [1]
19218 \begin_inset Quotes erd
19219 \end_inset
19220
19221 )
19222 \end_layout
19223
19224 \begin_layout Standard
19225
19226 \lang english
19227 \begin_inset Flex Code
19228 status collapsed
19229
19230 \begin_layout Plain Layout
19231
19232 \lang english
19233 CiteEngine
19234 \end_layout
19235
19236 \end_inset
19237
19238  blocks look like this:
19239 \end_layout
19240
19241 \begin_layout LyX-Code
19242
19243 \lang english
19244 CiteEngine default
19245 \end_layout
19246
19247 \begin_layout LyX-Code
19248
19249 \lang english
19250  cite
19251 \end_layout
19252
19253 \begin_layout LyX-Code
19254
19255 \lang english
19256  Citep*[][]
19257 \end_layout
19258
19259 \begin_layout LyX-Code
19260
19261 \lang english
19262  citeyearpar[][]=parencite*
19263 \end_layout
19264
19265 \begin_layout LyX-Code
19266
19267 \lang english
19268  ...
19269 \end_layout
19270
19271 \begin_layout LyX-Code
19272
19273 \lang english
19274 End
19275 \end_layout
19276
19277 \begin_layout Standard
19278
19279 \lang english
19280 The tag following 
19281 \begin_inset Flex Code
19282 status collapsed
19283
19284 \begin_layout Plain Layout
19285
19286 \lang english
19287 CiteEngine
19288 \end_layout
19289
19290 \end_inset
19291
19292  denotes the engine.
19293  The individual lines respectively define a cite command or cite command
19294  paradigm supported by this engine.
19295  The line can be as simple as a cite command that is used both to name the
19296  respective \SpecialChar LyX
19297  command and the \SpecialChar LaTeX
19298  output or more complex in order to differentiate
19299  things.
19300  The full syntax is:
19301 \end_layout
19302
19303 \begin_layout LyX-Code
19304
19305 \lang english
19306 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
19307 \end_layout
19308
19309 \begin_layout Itemize
19310
19311 \lang english
19312 \begin_inset Flex Code
19313 status collapsed
19314
19315 \begin_layout Plain Layout
19316
19317 \lang english
19318 LyXName
19319 \end_layout
19320
19321 \end_inset
19322
19323 : The name as used in the 
19324 \begin_inset Flex Code
19325 status collapsed
19326
19327 \begin_layout Plain Layout
19328
19329 \lang english
19330 *.lyx
19331 \end_layout
19332
19333 \end_inset
19334
19335  file.
19336 \end_layout
19337
19338 \begin_deeper
19339 \begin_layout Standard
19340
19341 \lang english
19342 For portability reasons, we try to use the same name for same-formatted
19343  commands in different cite packages (thus many names stem from natbib,
19344  and thus we need to differentiate a 
19345 \begin_inset Flex Code
19346 status collapsed
19347
19348 \begin_layout Plain Layout
19349
19350 \lang english
19351 latexcmd
19352 \end_layout
19353
19354 \end_inset
19355
19356  sometimes, if the \SpecialChar LaTeX
19357  command names differ).
19358 \end_layout
19359
19360 \end_deeper
19361 \begin_layout Itemize
19362
19363 \lang english
19364 \begin_inset Flex Code
19365 status collapsed
19366
19367 \begin_layout Plain Layout
19368
19369 \lang english
19370 alias
19371 \end_layout
19372
19373 \end_inset
19374
19375 : a (comma-separated) list of commands that fall back to the given 
19376 \begin_inset Flex Code
19377 status collapsed
19378
19379 \begin_layout Plain Layout
19380
19381 \lang english
19382 LyXName
19383 \end_layout
19384
19385 \end_inset
19386
19387  in the current engine.
19388  This eases the switch of citation packages and engines.
19389  The 
19390 \begin_inset Flex Code
19391 status collapsed
19392
19393 \begin_layout Plain Layout
19394
19395 \lang english
19396 alias
19397 \end_layout
19398
19399 \end_inset
19400
19401  can be compared to 
19402 \begin_inset Flex Code
19403 status collapsed
19404
19405 \begin_layout Plain Layout
19406
19407 \lang english
19408 ObsoletedBy
19409 \end_layout
19410
19411 \end_inset
19412
19413  in layout definitions.
19414 \end_layout
19415
19416 \begin_layout Itemize
19417
19418 \lang english
19419 \begin_inset Flex Code
19420 status collapsed
19421
19422 \begin_layout Plain Layout
19423
19424 \lang english
19425 latexcmd
19426 \end_layout
19427
19428 \end_inset
19429
19430 : The actual \SpecialChar LaTeX
19431  command that is output.
19432  
19433 \end_layout
19434
19435 \begin_layout Standard
19436
19437 \lang english
19438 \begin_inset Flex Code
19439 status collapsed
19440
19441 \begin_layout Plain Layout
19442
19443 \lang english
19444 Alias
19445 \end_layout
19446
19447 \end_inset
19448
19449  and 
19450 \begin_inset Flex Code
19451 status collapsed
19452
19453 \begin_layout Plain Layout
19454
19455 \lang english
19456 latexcmd
19457 \end_layout
19458
19459 \end_inset
19460
19461  are optional.
19462  If no 
19463 \begin_inset Flex Code
19464 status collapsed
19465
19466 \begin_layout Plain Layout
19467
19468 \lang english
19469 latexcmd
19470 \end_layout
19471
19472 \end_inset
19473
19474  is given, the 
19475 \begin_inset Flex Code
19476 status collapsed
19477
19478 \begin_layout Plain Layout
19479
19480 \lang english
19481 LyXName
19482 \end_layout
19483
19484 \end_inset
19485
19486  will be output to \SpecialChar LaTeX
19487 .
19488 \end_layout
19489
19490 \begin_layout Standard
19491
19492 \lang english
19493 Note further:
19494 \end_layout
19495
19496 \begin_layout Itemize
19497
19498 \lang english
19499 Capitalization indicates that the command also has a capitalized form (
19500 \begin_inset Flex Code
19501 status collapsed
19502
19503 \begin_layout Plain Layout
19504
19505 \lang english
19506
19507 \backslash
19508 Latexcmd
19509 \end_layout
19510
19511 \end_inset
19512
19513  vs.
19514  
19515 \begin_inset Flex Code
19516 status collapsed
19517
19518 \begin_layout Plain Layout
19519
19520 \lang english
19521
19522 \backslash
19523 latexcmd
19524 \end_layout
19525
19526 \end_inset
19527
19528 ).
19529  These usually enforce up-casing of name prefixes (
19530 \emph on
19531 von Goethe
19532 \emph default
19533  
19534 \begin_inset Formula $\Rightarrow$
19535 \end_inset
19536
19537  
19538 \emph on
19539 Von Goethe
19540 \emph default
19541 ).
19542 \end_layout
19543
19544 \begin_layout Itemize
19545
19546 \lang english
19547 Brackets 
19548 \begin_inset Flex Code
19549 status collapsed
19550
19551 \begin_layout Plain Layout
19552
19553 \lang english
19554 []
19555 \end_layout
19556
19557 \end_inset
19558
19559  indicate the number of optional arguments (there can be 0–2).
19560 \end_layout
19561
19562 \begin_layout Itemize
19563
19564 \lang english
19565 A star 
19566 \begin_inset Flex Code
19567 status collapsed
19568
19569 \begin_layout Plain Layout
19570
19571 \lang english
19572 *
19573 \end_layout
19574
19575 \end_inset
19576
19577  indicates there is a starred version of the command (
19578 \begin_inset Flex Code
19579 status collapsed
19580
19581 \begin_layout Plain Layout
19582
19583 \lang english
19584
19585 \backslash
19586 latexcmd*
19587 \end_layout
19588
19589 \end_inset
19590
19591  vs.
19592  
19593 \begin_inset Flex Code
19594 status collapsed
19595
19596 \begin_layout Plain Layout
19597
19598 \lang english
19599
19600 \backslash
19601 latexcmd
19602 \end_layout
19603
19604 \end_inset
19605
19606 ).
19607  
19608 \end_layout
19609
19610 \begin_deeper
19611 \begin_layout Standard
19612
19613 \lang english
19614 By default, the starred version means: Output all authors even if it should
19615  be shortened with 
19616 \begin_inset Quotes eld
19617 \end_inset
19618
19619 et al.
19620 \begin_inset Quotes erd
19621 \end_inset
19622
19623  due to the 
19624 \begin_inset Flex Code
19625 status collapsed
19626
19627 \begin_layout Plain Layout
19628
19629 \lang english
19630 MaxCiteNames
19631 \end_layout
19632
19633 \end_inset
19634
19635  threshold.
19636 \end_layout
19637
19638 \begin_layout Standard
19639
19640 \lang english
19641 If the star has a different meaning for a given command, it can be specified
19642  in angle brackets: 
19643 \begin_inset Flex Code
19644 status collapsed
19645
19646 \begin_layout Plain Layout
19647
19648 \lang english
19649 <!_stardesc!_stardesctooltip>
19650 \end_layout
19651
19652 \end_inset
19653
19654 .
19655  Maximal two translatable macro keywords, marked by the prefix 
19656 \begin_inset Flex Code
19657 status collapsed
19658
19659 \begin_layout Plain Layout
19660
19661 \lang english
19662 !_
19663 \end_layout
19664
19665 \end_inset
19666
19667 , can be given.
19668  The first points to the string that replaces the 
19669 \begin_inset Quotes eld
19670 \end_inset
19671
19672 Full aut&hor list
19673 \begin_inset Quotes erd
19674 \end_inset
19675
19676  checkbox label in the citation dialog, the second one to an optional tool
19677  tip for this checkbox.
19678  
19679 \end_layout
19680
19681 \begin_layout Standard
19682
19683 \lang english
19684 Note that these two macros have to be defined in a 
19685 \begin_inset Flex Code
19686 status collapsed
19687
19688 \begin_layout Plain Layout
19689
19690 \lang english
19691 CiteFormat
19692 \end_layout
19693
19694 \end_inset
19695
19696  (see next section), dropping the 
19697 \begin_inset Flex Code
19698 status collapsed
19699
19700 \begin_layout Plain Layout
19701
19702 \lang english
19703 !
19704 \end_layout
19705
19706 \end_inset
19707
19708  from the prefix, like this: 
19709 \end_layout
19710
19711 \begin_layout LyX-Code
19712
19713 \lang english
19714 _stardesc Sta&rred command label
19715 \end_layout
19716
19717 \begin_layout LyX-Code
19718
19719 \lang english
19720 _stardesctooltip Tooltip for the starred command checkbox.
19721 \end_layout
19722
19723 \end_deeper
19724 \begin_layout Itemize
19725
19726 \lang english
19727 A dollar sign 
19728 \begin_inset Flex Code
19729 status collapsed
19730
19731 \begin_layout Plain Layout
19732
19733 \lang english
19734 $
19735 \end_layout
19736
19737 \end_inset
19738
19739  indicates that this command features 
19740 \begin_inset Quotes eld
19741 \end_inset
19742
19743 qualified citation lists
19744 \begin_inset Quotes erd
19745 \end_inset
19746
19747 .
19748  This is a 
19749 \family sans
19750 Biblatex
19751 \family default
19752 -specific feature for multi-reference citations where an individual pre-
19753  and postnote can be given to each reference in the list.
19754  Please refer to the 
19755 \family sans
19756 Biblatex
19757 \family default
19758  manual for details.
19759 \end_layout
19760
19761 \begin_layout Subsection
19762 \begin_inset CommandInset label
19763 LatexCommand label
19764 name "subsec:引用書式指定"
19765
19766 \end_inset
19767
19768 引用書式指定
19769 \end_layout
19770
19771 \begin_layout Standard
19772 (引用ダイアログやツールチップなどの)\SpecialChar LyX
19773 内部やXHTML出力において,書誌情報をどのように表示するべきかの叙述には,
19774 \begin_inset Flex Code
19775 status collapsed
19776
19777 \begin_layout Plain Layout
19778 CiteFormat
19779 \end_layout
19780
19781 \end_inset
19782
19783 ブロックが使用されています.このブロックは,以下のような形をしています.
19784 \end_layout
19785
19786 \begin_layout LyX-Code
19787 CiteFormat
19788 \end_layout
19789
19790 \begin_layout LyX-Code
19791  article ...
19792 \end_layout
19793
19794 \begin_layout LyX-Code
19795  book ...
19796 \end_layout
19797
19798 \begin_layout LyX-Code
19799 End
19800 \end_layout
19801
19802 \begin_layout Standard
19803
19804 \lang english
19805 or
19806 \end_layout
19807
19808 \begin_layout LyX-Code
19809
19810 \lang english
19811 CiteFormat
19812 \end_layout
19813
19814 \begin_layout LyX-Code
19815
19816 \lang english
19817  cite ...
19818 \end_layout
19819
19820 \begin_layout LyX-Code
19821
19822 \lang english
19823  citet*[][] ...
19824 \end_layout
19825
19826 \begin_layout LyX-Code
19827
19828 \lang english
19829 End
19830 \end_layout
19831
19832 \begin_layout Standard
19833
19834 \lang english
19835 In the first case, the individual lines
19836 \end_layout
19837
19838 \begin_layout Standard
19839 上記の各行は,それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,このような定義は,Bib\SpecialChar TeX
19840 ファイル中に存在し
19841 うる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,\SpecialChar LyX
19842 は,ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
19843 は,いくつかの書式を
19844 \begin_inset Flex Code
19845 status collapsed
19846
19847 \begin_layout Plain Layout
19848 stdciteformats.inc
19849 \end_layout
19850
19851 \end_inset
19852
19853 ファイルで事前定義しており,これはほとんどの\SpecialChar LyX
19854
19855 \end_layout
19856
19857 \begin_layout Standard
19858
19859 \lang english
19860 In the second case, the lines define how a specific citation command (in
19861  the example 
19862 \begin_inset Flex Code
19863 status collapsed
19864
19865 \begin_layout Plain Layout
19866
19867 \lang english
19868
19869 \backslash
19870 cite
19871 \end_layout
19872
19873 \end_inset
19874
19875
19876 \begin_inset Flex Code
19877 status collapsed
19878
19879 \begin_layout Plain Layout
19880
19881 \lang english
19882
19883 \backslash
19884 citet
19885 \end_layout
19886
19887 \end_inset
19888
19889 ) is to be displayed on the citation inset label, in the citation dialog,
19890  menu or XHTML output.
19891  \SpecialChar LyX
19892  defines such formats for the citation style variants it supports via 
19893 \family sans
19894 Document\SpecialChar menuseparator
19895 Setting\SpecialChar menuseparator
19896 Bibliography\SpecialChar ldots
19897
19898 \family default
19899  in specific 
19900 \begin_inset Flex Code
19901 status collapsed
19902
19903 \begin_layout Plain Layout
19904
19905 \lang english
19906 *.citeengine
19907 \end_layout
19908
19909 \end_inset
19910
19911  files that are shipped with \SpecialChar LyX
19912  (see 
19913 \begin_inset CommandInset ref
19914 LatexCommand ref
19915 reference "subsec:Cite-Engine-Files"
19916 plural "false"
19917 caps "false"
19918 noprefix "false"
19919
19920 \end_inset
19921
19922 ).
19923 \end_layout
19924
19925 \begin_layout Standard
19926 文書クラスにインクルードされています.
19927 \end_layout
19928
19929 \begin_layout Standard
19930 この定義は,Bib\SpecialChar TeX
19931 キーをその値で置換できる機能を持った,簡単な言語を使用しています.キーは,
19932 \begin_inset Flex Code
19933 status collapsed
19934
19935 \begin_layout Plain Layout
19936 %author%
19937 \end_layout
19938
19939 \end_inset
19940
19941 のように
19942 \begin_inset Flex Code
19943 status collapsed
19944
19945 \begin_layout Plain Layout
19946 %
19947 \end_layout
19948
19949 \end_inset
19950
19951 記号でくくらなくてはなりません.したがって,簡単な定義は以下のようになります.
19952 \end_layout
19953
19954 \begin_layout LyX-Code
19955 misc %author%, 
19956 \begin_inset Quotes eld
19957 \end_inset
19958
19959 %title%
19960 \begin_inset Quotes erd
19961 \end_inset
19962
19963
19964 \end_layout
19965
19966 \begin_layout Standard
19967 これは,「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
19968 \end_layout
19969
19970 \begin_layout Standard
19971 もちろん,キーが存在するときのみ,キーを出力したい時があるはずです.このようなときには
19972 \begin_inset Flex Code
19973 status collapsed
19974
19975 \begin_layout Plain Layout
19976 {%volume%[[vol.
19977 \begin_inset space ~
19978 \end_inset
19979
19980 %volume%]]}
19981 \end_layout
19982
19983 \end_inset
19984
19985 のように,条件付きの構成を使用することができます.これは,
19986 \begin_inset Flex Code
19987 status collapsed
19988
19989 \begin_layout Plain Layout
19990 volume
19991 \end_layout
19992
19993 \end_inset
19994
19995 が存在するならば,「vol.
19996 \begin_inset space ~
19997 \end_inset
19998
19999 」とvolumeキーを出力するという意味です.また,
20000 \begin_inset Newline newline
20001 \end_inset
20002
20003
20004 \begin_inset Flex Code
20005 status collapsed
20006
20007 \begin_layout Plain Layout
20008 {%author%[[%author%]][[%editor%, ed.]]}
20009 \end_layout
20010
20011 \end_inset
20012
20013
20014 \begin_inset Newline newline
20015 \end_inset
20016
20017 のように,条件の中にelse節を含めることも可能です.ここでは,もし
20018 \begin_inset Flex Code
20019 status collapsed
20020
20021 \begin_layout Plain Layout
20022 author
20023 \end_layout
20024
20025 \end_inset
20026
20027 キーが存在するならば出力され,そうでなければeditorキーと「,
20028 \begin_inset space ~
20029 \end_inset
20030
20031 ed.」が出力されます.ここでもキーは,
20032 \begin_inset Flex Code
20033 status collapsed
20034
20035 \begin_layout Plain Layout
20036 %
20037 \end_layout
20038
20039 \end_inset
20040
20041 記号でくくられていることに注意してください.条件全体は,波括弧で囲まれています.if節およびelse節は,「
20042 \begin_inset Flex Code
20043 status collapsed
20044
20045 \begin_layout Plain Layout
20046 [[
20047 \end_layout
20048
20049 \end_inset
20050
20051 」と「
20052 \begin_inset Flex Code
20053 status collapsed
20054
20055 \begin_layout Plain Layout
20056 ]]
20057 \end_layout
20058
20059 \end_inset
20060
20061
20062 \end_layout
20063
20064 \begin_layout Standard
20065 」の二重角括弧で囲まれてい
20066 \end_layout
20067
20068 \begin_layout Standard
20069
20070 \lang english
20071 Next to the entry keys, there are some special keys that can be used for
20072  these conditionals:
20073 \end_layout
20074
20075 \begin_layout Itemize
20076
20077 \lang english
20078 \begin_inset Flex Code
20079 status collapsed
20080
20081 \begin_layout Plain Layout
20082
20083 \lang english
20084 {%dialog%[[true]][[false]]}
20085 \end_layout
20086
20087 \end_inset
20088
20089 : process the 
20090 \begin_inset Quotes eld
20091 \end_inset
20092
20093 true
20094 \begin_inset Quotes erd
20095 \end_inset
20096
20097  part for dialogs and menus, the 
20098 \begin_inset Quotes eld
20099 \end_inset
20100
20101 false
20102 \begin_inset Quotes erd
20103 \end_inset
20104
20105  part for other contexts (workarea, export)
20106 \end_layout
20107
20108 \begin_layout Itemize
20109
20110 \lang english
20111 \begin_inset Flex Code
20112 status collapsed
20113
20114 \begin_layout Plain Layout
20115
20116 \lang english
20117 {%export%[[true]][[false]]}
20118 \end_layout
20119
20120 \end_inset
20121
20122 : process the 
20123 \begin_inset Quotes eld
20124 \end_inset
20125
20126 true
20127 \begin_inset Quotes erd
20128 \end_inset
20129
20130  part for export and menus, the 
20131 \begin_inset Quotes eld
20132 \end_inset
20133
20134 false
20135 \begin_inset Quotes erd
20136 \end_inset
20137
20138  part for other contexts (workarea, dialog)
20139 \end_layout
20140
20141 \begin_layout Itemize
20142
20143 \lang english
20144 \begin_inset Flex Code
20145 status collapsed
20146
20147 \begin_layout Plain Layout
20148
20149 \lang english
20150 {%next%[[true]]}
20151 \end_layout
20152
20153 \end_inset
20154
20155 : process the 
20156 \begin_inset Quotes eld
20157 \end_inset
20158
20159 true
20160 \begin_inset Quotes erd
20161 \end_inset
20162
20163  part if another item follows (e.
20164 \begin_inset space \thinspace{}
20165 \end_inset
20166
20167 g., in a citation with multiple keys)
20168 \end_layout
20169
20170 \begin_layout Itemize
20171
20172 \lang english
20173 \begin_inset Flex Code
20174 status collapsed
20175
20176 \begin_layout Plain Layout
20177
20178 \lang english
20179 {%second%[[true]][[false]]}
20180 \end_layout
20181
20182 \end_inset
20183
20184 : process the 
20185 \begin_inset Quotes eld
20186 \end_inset
20187
20188 true
20189 \begin_inset Quotes erd
20190 \end_inset
20191
20192  if this is the second of multiple items, else the 
20193 \begin_inset Quotes eld
20194 \end_inset
20195
20196 false
20197 \begin_inset Quotes erd
20198 \end_inset
20199
20200  part
20201 \end_layout
20202
20203 \begin_layout Itemize
20204
20205 \lang english
20206 \begin_inset Flex Code
20207 status collapsed
20208
20209 \begin_layout Plain Layout
20210
20211 \lang english
20212 {%ifstar%[[true]][[false]]}
20213 \end_layout
20214
20215 \end_inset
20216
20217 : process the 
20218 \begin_inset Quotes eld
20219 \end_inset
20220
20221 true
20222 \begin_inset Quotes erd
20223 \end_inset
20224
20225  part for starred citation commands (such as 
20226 \begin_inset Flex Code
20227 status collapsed
20228
20229 \begin_layout Plain Layout
20230
20231 \lang english
20232
20233 \backslash
20234 cite*
20235 \end_layout
20236
20237 \end_inset
20238
20239 ), the false part for unstarred
20240 \end_layout
20241
20242 \begin_layout Itemize
20243
20244 \lang english
20245 \begin_inset Flex Code
20246 status collapsed
20247
20248 \begin_layout Plain Layout
20249
20250 \lang english
20251 {%ifentrytype:<type>%[[true]][[false]]}
20252 \end_layout
20253
20254 \end_inset
20255
20256 : process the 
20257 \begin_inset Quotes eld
20258 \end_inset
20259
20260 true
20261 \begin_inset Quotes erd
20262 \end_inset
20263
20264  if the current entry type matches 
20265 \begin_inset Flex Code
20266 status collapsed
20267
20268 \begin_layout Plain Layout
20269
20270 \lang english
20271 <type>
20272 \end_layout
20273
20274 \end_inset
20275
20276 , else the false part (e.g., in a citation definition: 
20277 \begin_inset Flex Code
20278 status collapsed
20279
20280 \begin_layout Plain Layout
20281
20282 \lang english
20283 {%ifentrytype:book%[[this is a book]][[this is no book]]}
20284 \end_layout
20285
20286 \end_inset
20287
20288 )
20289 \end_layout
20290
20291 \begin_layout Itemize
20292
20293 \lang english
20294 \begin_inset Flex Code
20295 status collapsed
20296
20297 \begin_layout Plain Layout
20298
20299 \lang english
20300 {%ifmultiple:<authortype>%[[true]][[false]]}
20301 \end_layout
20302
20303 \end_inset
20304
20305 : process the 
20306 \begin_inset Quotes eld
20307 \end_inset
20308
20309 true
20310 \begin_inset Quotes erd
20311 \end_inset
20312
20313  if the current author type (author, editor etc.) has multiple authors, else
20314  the false part (e.g., in a bibliography definition: 
20315 \begin_inset Flex Code
20316 status collapsed
20317
20318 \begin_layout Plain Layout
20319
20320 \lang english
20321 {%ifmultiple:editor%[[eds.]][[ed.]]}
20322 \end_layout
20323
20324 \end_inset
20325
20326 )
20327 \end_layout
20328
20329 \begin_layout Itemize
20330
20331 \lang english
20332 \begin_inset Flex Code
20333 status collapsed
20334
20335 \begin_layout Plain Layout
20336
20337 \lang english
20338 {%ifqualified%[[true]][[false]]}
20339 \end_layout
20340
20341 \end_inset
20342
20343 : process the 
20344 \begin_inset Quotes eld
20345 \end_inset
20346
20347 true
20348 \begin_inset Quotes erd
20349 \end_inset
20350
20351  part if the current citation is a qualified citation list (a specific 
20352 \family sans
20353 Biblatex
20354 \family default
20355  format for multi-reference citations), the false part if this is not the
20356  case.
20357 \end_layout
20358
20359 \begin_layout Standard
20360
20361 \lang english
20362 We said that 
20363 \begin_inset Flex Code
20364 status collapsed
20365
20366 \begin_layout Plain Layout
20367
20368 \lang english
20369 %author%
20370 \end_layout
20371
20372 \end_inset
20373
20374  prints the author key as it is recorded in the bibliography file.
20375  This might not be what you want, since it will result in a string such
20376  as 
20377 \begin_inset Quotes eld
20378 \end_inset
20379
20380 Miller, Peter and Smith, Mary and White, Jane
20381 \begin_inset Quotes erd
20382 \end_inset
20383
20384  (since 
20385 \begin_inset Quotes eld
20386 \end_inset
20387
20388 and
20389 \begin_inset Quotes erd
20390 \end_inset
20391
20392  is used by Bib\SpecialChar TeX
20393  to delimit authors).
20394  \SpecialChar LyX
20395  therefore provides some methods to get properly formatted name lists (which
20396  will also get translated).
20397  The following keys are provided:
20398 \end_layout
20399
20400 \begin_layout Enumerate
20401
20402 \lang english
20403 For name lists with pre- and surname, suitable for the main authors/editors
20404  of a bibliography item.
20405  The 
20406 \begin_inset Flex Code
20407 status collapsed
20408
20409 \begin_layout Plain Layout
20410
20411 \lang english
20412 <nametype>
20413 \end_layout
20414
20415 \end_inset
20416
20417  part denotes the kind of list that is requested (e.g.
20418  
20419 \begin_inset Flex Code
20420 status collapsed
20421
20422 \begin_layout Plain Layout
20423
20424 \lang english
20425 <nametype:author>
20426 \end_layout
20427
20428 \end_inset
20429
20430 ):
20431 \end_layout
20432
20433 \begin_deeper
20434 \begin_layout Itemize
20435
20436 \lang english
20437 \begin_inset Flex Code
20438 status collapsed
20439
20440 \begin_layout Plain Layout
20441
20442 \lang english
20443 %abbrvnames:<nametype>%
20444 \end_layout
20445
20446 \end_inset
20447
20448 : Provides a name list which is abbreviated (with 
20449 \begin_inset Quotes eld
20450 \end_inset
20451
20452 et al.
20453 \begin_inset Quotes erd
20454 \end_inset
20455
20456 ) when 
20457 \begin_inset Flex Code
20458 status collapsed
20459
20460 \begin_layout Plain Layout
20461
20462 \lang english
20463 MaxCiteNames
20464 \end_layout
20465
20466 \end_inset
20467
20468  is reached.
20469 \end_layout
20470
20471 \begin_layout Itemize
20472
20473 \lang english
20474 \begin_inset Flex Code
20475 status collapsed
20476
20477 \begin_layout Plain Layout
20478
20479 \lang english
20480 %fullnames:<nametype>%
20481 \end_layout
20482
20483 \end_inset
20484
20485 : Provides a full name list (never abbreviated with 
20486 \begin_inset Quotes eld
20487 \end_inset
20488
20489 et al.
20490 \begin_inset Quotes erd
20491 \end_inset
20492
20493 ).
20494 \end_layout
20495
20496 \begin_layout Itemize
20497
20498 \lang english
20499 \begin_inset Flex Code
20500 status collapsed
20501
20502 \begin_layout Plain Layout
20503
20504 \lang english
20505 %forceabbrvnames:<nametype>%
20506 \end_layout
20507
20508 \end_inset
20509
20510 : Provides a name list which is always abbreviated (with 
20511 \begin_inset Quotes eld
20512 \end_inset
20513
20514 et al.
20515 \begin_inset Quotes erd
20516 \end_inset
20517
20518 ) irrespective of 
20519 \begin_inset Flex Code
20520 status collapsed
20521
20522 \begin_layout Plain Layout
20523
20524 \lang english
20525 MaxCiteNames
20526 \end_layout
20527
20528 \end_inset
20529
20530 .
20531 \end_layout
20532
20533 \end_deeper
20534 \begin_layout Enumerate
20535
20536 \lang english
20537 Alternative name lists with pre- and surname, if the order of pre- and surname
20538  inside the bibliography item differs (as in: 
20539 \begin_inset Quotes eld
20540 \end_inset
20541
20542 Miller, John: Some text, in: Mary Smith, ed.: A volume
20543 \begin_inset Quotes erd
20544 \end_inset
20545
20546 ):
20547 \end_layout
20548
20549 \begin_deeper
20550 \begin_layout Itemize
20551
20552 \lang english
20553 \begin_inset Flex Code
20554 status collapsed
20555
20556 \begin_layout Plain Layout
20557
20558 \lang english
20559 %abbrvbynames:<nametype>%
20560 \end_layout
20561
20562 \end_inset
20563
20564 : Provides a name list which is abbreviated (with 
20565 \begin_inset Quotes eld
20566 \end_inset
20567
20568 et al.
20569 \begin_inset Quotes erd
20570 \end_inset
20571
20572 ) when 
20573 \begin_inset Flex Code
20574 status collapsed
20575
20576 \begin_layout Plain Layout
20577
20578 \lang english
20579 MaxCiteNames
20580 \end_layout
20581
20582 \end_inset
20583
20584  is reached.
20585 \end_layout
20586
20587 \begin_layout Itemize
20588
20589 \lang english
20590 \begin_inset Flex Code
20591 status collapsed
20592
20593 \begin_layout Plain Layout
20594
20595 \lang english
20596 %fullbynames:<nametype>%
20597 \end_layout
20598
20599 \end_inset
20600
20601 : Provides a full name list (never abbreviated with 
20602 \begin_inset Quotes eld
20603 \end_inset
20604
20605 et al.
20606 \begin_inset Quotes erd
20607 \end_inset
20608
20609 ).
20610 \end_layout
20611
20612 \begin_layout Itemize
20613
20614 \lang english
20615 \begin_inset Flex Code
20616 status collapsed
20617
20618 \begin_layout Plain Layout
20619
20620 \lang english
20621 %forceabbrvbynames:<nametype>%
20622 \end_layout
20623
20624 \end_inset
20625
20626 : Provides a name list which is always abbreviated (with 
20627 \begin_inset Quotes eld
20628 \end_inset
20629
20630 et al.
20631 \begin_inset Quotes erd
20632 \end_inset
20633
20634 ) irrespective of 
20635 \begin_inset Flex Code
20636 status collapsed
20637
20638 \begin_layout Plain Layout
20639
20640 \lang english
20641 MaxCiteNames
20642 \end_layout
20643
20644 \end_inset
20645
20646 .
20647 \end_layout
20648
20649 \end_deeper
20650 \begin_layout Enumerate
20651
20652 \lang english
20653 And finally name lists which consist of family names only, as used in author-yea
20654 r citation labels.
20655  these do not take a 
20656 \begin_inset Flex Code
20657 status collapsed
20658
20659 \begin_layout Plain Layout
20660
20661 \lang english
20662 <nametype>
20663 \end_layout
20664
20665 \end_inset
20666
20667  part, but always return either an author list or, if this does not exist,
20668  an editor list (as common in author-year labels):
20669 \end_layout
20670
20671 \begin_deeper
20672 \begin_layout Itemize
20673
20674 \lang english
20675 \begin_inset Flex Code
20676 status collapsed
20677
20678 \begin_layout Plain Layout
20679
20680 \lang english
20681 %abbrvciteauthor%
20682 \end_layout
20683
20684 \end_inset
20685
20686 : Provides a name list which is abbreviated (with 
20687 \begin_inset Quotes eld
20688 \end_inset
20689
20690 et al.
20691 \begin_inset Quotes erd
20692 \end_inset
20693
20694 ) when 
20695 \begin_inset Flex Code
20696 status collapsed
20697
20698 \begin_layout Plain Layout
20699
20700 \lang english
20701 MaxCiteNames
20702 \end_layout
20703
20704 \end_inset
20705
20706  is reached.
20707 \end_layout
20708
20709 \begin_layout Itemize
20710
20711 \lang english
20712 \begin_inset Flex Code
20713 status collapsed
20714
20715 \begin_layout Plain Layout
20716
20717 \lang english
20718 %fullciteauthor%
20719 \end_layout
20720
20721 \end_inset
20722
20723 : Provides a full name list (never abbreviated with 
20724 \begin_inset Quotes eld
20725 \end_inset
20726
20727 et al.
20728 \begin_inset Quotes erd
20729 \end_inset
20730
20731 ).
20732 \end_layout
20733
20734 \begin_layout Itemize
20735
20736 \lang english
20737 \begin_inset Flex Code
20738 status collapsed
20739
20740 \begin_layout Plain Layout
20741
20742 \lang english
20743 %forceabbrvciteauthor%
20744 \end_layout
20745
20746 \end_inset
20747
20748 : Provides a name list which is always abbreviated (with 
20749 \begin_inset Quotes eld
20750 \end_inset
20751
20752 et al.
20753 \begin_inset Quotes erd
20754 \end_inset
20755
20756 ) irrespective of 
20757 \begin_inset Flex Code
20758 status collapsed
20759
20760 \begin_layout Plain Layout
20761
20762 \lang english
20763 MaxCiteNames
20764 \end_layout
20765
20766 \end_inset
20767
20768 .
20769 \end_layout
20770
20771 \end_deeper
20772 \begin_layout Standard
20773
20774 \lang english
20775 The order of pre- and surname in the former two lists can be adjusted by
20776  these macros:
20777 \end_layout
20778
20779 \begin_layout Itemize
20780
20781 \lang english
20782 \begin_inset Flex Code
20783 status collapsed
20784
20785 \begin_layout Plain Layout
20786
20787 \lang english
20788 !firstnameform %surname%, %prename%
20789 \end_layout
20790
20791 \end_inset
20792
20793  (first author in lists of type 1)
20794 \end_layout
20795
20796 \begin_layout Itemize
20797
20798 \lang english
20799 \begin_inset Flex Code
20800 status collapsed
20801
20802 \begin_layout Plain Layout
20803
20804 \lang english
20805 !othernameform %surname%, %prename%
20806 \end_layout
20807
20808 \end_inset
20809
20810  (other authors in lists of type 1)
20811 \end_layout
20812
20813 \begin_layout Itemize
20814
20815 \lang english
20816 \begin_inset Flex Code
20817 status collapsed
20818
20819 \begin_layout Plain Layout
20820
20821 \lang english
20822 !firstbynameform %prename% %surname%
20823 \end_layout
20824
20825 \end_inset
20826
20827  (first author in lists of type 2)
20828 \end_layout
20829
20830 \begin_layout Itemize
20831
20832 \lang english
20833 \begin_inset Flex Code
20834 status collapsed
20835
20836 \begin_layout Plain Layout
20837
20838 \lang english
20839 !otherbynameform %prename% %surname%
20840 \end_layout
20841
20842 \end_inset
20843
20844  (other authors in lists of type 2)
20845 \end_layout
20846
20847 \begin_layout Standard
20848
20849 \lang english
20850 This allows you to configure namings like 
20851 \begin_inset Quotes eld
20852 \end_inset
20853
20854 Miller, Peter and Mary Smith: \SpecialChar ldots
20855 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
20856
20857 \begin_inset Quotes erd
20858 \end_inset
20859
20860 .
20861 \lang japanese
20862 ます.これらすべてのあいだには,空白は入ってはなりません.
20863 \end_layout
20864
20865 \begin_layout Standard
20866 もう一つ,定義中で使用することのできる文法として,
20867 \begin_inset Flex Code
20868 status collapsed
20869
20870 \begin_layout Plain Layout
20871 {!<i>!}
20872 \end_layout
20873
20874 \end_inset
20875
20876 という形をしたものがあります.これは,「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,平文を書き出すときには,HTMLタ
20877 グを出力させたくはありませんから,HTMLタグは「
20878 \begin_inset Flex Code
20879 status collapsed
20880
20881 \begin_layout Plain Layout
20882 {!
20883 \end_layout
20884
20885 \end_inset
20886
20887 」と「
20888 \begin_inset Flex Code
20889 status collapsed
20890
20891 \begin_layout Plain Layout
20892 !}
20893 \end_layout
20894
20895 \end_inset
20896
20897 」でくるんでやらなくてはならないのです.
20898 \end_layout
20899
20900 \begin_layout Standard
20901 \begin_inset Flex Code
20902 status collapsed
20903
20904 \begin_layout Plain Layout
20905 CiteFormat
20906 \end_layout
20907
20908 \end_inset
20909
20910 ブロックでは,他に2つの特殊な定義が可能です.一つめの例としては,
20911 \end_layout
20912
20913 \begin_layout LyX-Code
20914 !quotetitle 
20915 \begin_inset Quotes eld
20916 \end_inset
20917
20918 %title%
20919 \begin_inset Quotes erd
20920 \end_inset
20921
20922
20923 \end_layout
20924
20925 \begin_layout Standard
20926 といった例が挙げられます.これは,短縮形ないしはマクロであり,
20927 \begin_inset Flex Code
20928 status collapsed
20929
20930 \begin_layout Plain Layout
20931 %!quotetitle%
20932 \end_layout
20933
20934 \end_inset
20935
20936 のように,これがキーであるかのように扱って使用することができます.\SpecialChar LyX
20937 は,
20938 \begin_inset Flex Code
20939 status collapsed
20940
20941 \begin_layout Plain Layout
20942 %!quotetitle%
20943 \end_layout
20944
20945 \end_inset
20946
20947 を,そこで定義されているものを扱う場合と同じように取り扱います.ですから,明白な警告を敢えてさせて頂くと,
20948 \end_layout
20949
20950 \begin_layout LyX-Code
20951 !funfun %funfun%
20952 \end_layout
20953
20954 \begin_layout Standard
20955 のようなことはしないでください.\SpecialChar LyX
20956 は,無限ループに陥るようなことはありませんが,諦めるまでに長いループに入るかもしれません.
20957 \end_layout
20958
20959 \begin_layout Standard
20960 特殊な定義の二つめは,
20961 \end_layout
20962
20963 \begin_layout LyX-Code
20964 _pptext pp.
20965 \end_layout
20966
20967 \begin_layout LyX-Code
20968
20969 \lang english
20970 This defines a translatable piece of text, which allows relevant parts of
20971  the bibliography or citation to be translated.
20972  
20973 \end_layout
20974
20975 \begin_layout Standard
20976 のようなものです.これは,文字列の翻訳可能な部分を定義するもので,書誌情報中の関連部分が翻訳されるようにすることができます.
20977 \begin_inset Flex Code
20978 status collapsed
20979
20980 \begin_layout Plain Layout
20981 %_pptext%
20982 \end_layout
20983
20984 \end_inset
20985
20986 のように,これをキーとして扱って,定義の中に入れることもできます.これらのうちいくつかは,
20987 \begin_inset Flex Code
20988 status collapsed
20989
20990 \begin_layout Plain Layout
20991 stdciteformats.inc
20992 \lang english
20993  and the diverse 
20994 \begin_inset Flex Code
20995 status collapsed
20996
20997 \begin_layout Plain Layout
20998
20999 \lang english
21000 *.citeengine
21001 \end_layout
21002
21003 \end_inset
21004
21005  files
21006 \end_layout
21007
21008 \end_inset
21009
21010 中に事前定義されています.これは,上記で述べたような意味でのマクロではないことに注意してください.
21011 \end_layout
21012
21013 \begin_layout Standard
21014 以下は,これらの機能を全て使った例です.
21015 \begin_inset VSpace defskip
21016 \end_inset
21017
21018
21019 \end_layout
21020
21021 \begin_layout Standard
21022 \noindent
21023
21024 \family typewriter
21025 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
21026 \end_layout
21027
21028 \begin_layout Standard
21029 \begin_inset VSpace defskip
21030 \end_inset
21031
21032 これは,
21033 \begin_inset Flex Code
21034 status collapsed
21035
21036 \begin_layout Plain Layout
21037 author
21038 \end_layout
21039
21040 \end_inset
21041
21042 キーが定義されているならば,著者とコンマを出力し,
21043 \begin_inset Flex Code
21044 status collapsed
21045
21046 \begin_layout Plain Layout
21047 author
21048 \end_layout
21049
21050 \end_inset
21051
21052 キーが定義されておらず,
21053 \begin_inset Flex Code
21054 status collapsed
21055
21056 \begin_layout Plain Layout
21057 editor
21058 \end_layout
21059
21060 \end_inset
21061
21062 キーが定義されているならば,編集者名の後に
21063 \begin_inset Flex Code
21064 status collapsed
21065
21066 \begin_layout Plain Layout
21067 _edtext
21068 \end_layout
21069
21070 \end_inset
21071
21072 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
21073 \begin_inset Flex Code
21074 status collapsed
21075
21076 \begin_layout Plain Layout
21077 stdciteformats.inc
21078 \end_layout
21079
21080 \end_inset
21081
21082 の中で定義されていますので,このファイルをまず読みこめば,ご自身の定義ないしは再定義の中で使用することができます.
21083 \end_layout
21084
21085 \begin_layout Section
21086 \begin_inset CommandInset label
21087 LatexCommand label
21088 name "sec:XHTML出力のタグ"
21089
21090 \end_inset
21091
21092 XHTML出力のタグ
21093 \end_layout
21094
21095 \begin_layout Standard
21096 \SpecialChar LaTeX
21097 やDocBookと同様,\SpecialChar LyX
21098 のXHTML出力の書式も,レイアウト情報によって制御することができます.一般的に,\SpecialChar LyX
21099 は適切な既定値を提供し,前述したように,他のレイアウト
21100 タグに基づいて,既定のCSSスタイルの構成まで行ないます.たとえば,章見出しを適切に整形するためのCSSを書き出すために,\SpecialChar LyX
21101 は,章様式の
21102 \begin_inset Flex Code
21103 status collapsed
21104
21105 \begin_layout Plain Layout
21106 Font
21107 \end_layout
21108
21109 \end_inset
21110
21111 宣言で提供されている情報を利用しようと試みます.
21112 \end_layout
21113
21114 \begin_layout Standard
21115 したがって,多くの場合,使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,まったく何もしなくてよいことになるでしょう.しかしながら
21116 ,これが必要になる場合もあるので,\SpecialChar LyX
21117 は,生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,たくさん提供しています.
21118 \end_layout
21119
21120 \begin_layout Standard
21121 様式宣言や差込枠宣言の外で使用することができるタグに,
21122 \begin_inset Flex Code
21123 status collapsed
21124
21125 \begin_layout Plain Layout
21126 HTMLPreamble
21127 \end_layout
21128
21129 \end_inset
21130
21131
21132 \begin_inset Flex Code
21133 status collapsed
21134
21135 \begin_layout Plain Layout
21136 AddToHTMLPreamble
21137 \end_layout
21138
21139 \end_inset
21140
21141 の2つがあることに注意してください.これらの詳細については,
21142 \begin_inset CommandInset ref
21143 LatexCommand ref
21144 reference "subsec:汎用テキストクラスパラメータ"
21145
21146 \end_inset
21147
21148 をご覧ください.
21149 \end_layout
21150
21151 \begin_layout Subsection
21152 \begin_inset CommandInset label
21153 LatexCommand label
21154 name "subsec:段落様式-XHTML"
21155
21156 \end_inset
21157
21158 段落様式
21159 \end_layout
21160
21161 \begin_layout Standard
21162 \SpecialChar LyX
21163 が段落のために出力するXHTMLの種類は,通常の段落を取り扱っているのか,コマンドを取り扱っているのか,あるいは環境を取り扱っているのかに依存し,これは対応する
21164 \begin_inset Flex Code
21165 status collapsed
21166
21167 \begin_layout Plain Layout
21168 \SpecialChar LaTeX
21169 Type
21170 \end_layout
21171
21172 \end_inset
21173
21174 タグの内容によって決定されます.
21175 \end_layout
21176
21177 \begin_layout Standard
21178 コマンドや通常の段落の場合には,XHTML出力は以下の形になります.
21179 \end_layout
21180
21181 \begin_layout LyX-Code
21182 <tag attr=
21183 \begin_inset Quotes erd
21184 \end_inset
21185
21186 value
21187 \begin_inset Quotes erd
21188 \end_inset
21189
21190 >
21191 \end_layout
21192
21193 \begin_layout LyX-Code
21194 <labeltag attr=
21195 \begin_inset Quotes erd
21196 \end_inset
21197
21198 value
21199 \begin_inset Quotes erd
21200 \end_inset
21201
21202 >ラベル</labeltag>
21203 \end_layout
21204
21205 \begin_layout LyX-Code
21206 段落の内容
21207 \end_layout
21208
21209 \begin_layout LyX-Code
21210 </tag>
21211 \end_layout
21212
21213 \begin_layout Standard
21214 もちろん,段落にラベルがなければ,ラベルタグは省略することができます.
21215 \end_layout
21216
21217 \begin_layout Standard
21218 環境のうち,リストの変種でないものに関しては,XHTMLは以下の形を取ります.
21219 \end_layout
21220
21221 \begin_layout LyX-Code
21222 <tag attr=
21223 \begin_inset Quotes erd
21224 \end_inset
21225
21226 value
21227 \begin_inset Quotes erd
21228 \end_inset
21229
21230 >
21231 \end_layout
21232
21233 \begin_layout LyX-Code
21234 <itemtag attr=
21235 \begin_inset Quotes erd
21236 \end_inset
21237
21238 value
21239 \begin_inset Quotes erd
21240 \end_inset
21241
21242 ><labeltag attr=
21243 \begin_inset Quotes erd
21244 \end_inset
21245
21246 value
21247 \begin_inset Quotes erd
21248 \end_inset
21249
21250 >環境ラベル</labeltag>最初の段落.
21251 \end_layout
21252
21253 \begin_layout LyX-Code
21254 </itemtag>
21255 \end_layout
21256
21257 \begin_layout LyX-Code
21258 <itemtag>二つめの段落.</itemtag>
21259 \end_layout
21260
21261 \begin_layout LyX-Code
21262 </tag>
21263 \end_layout
21264
21265 \begin_layout Standard
21266 ラベルは,たとえば定理の場合にそうであるように,最初の段落にだけ出力されることに注意してください.
21267 \end_layout
21268
21269 \begin_layout Standard
21270 リストに関しては,次のような形になります.
21271 \end_layout
21272
21273 \begin_layout LyX-Code
21274 <tag attr=
21275 \begin_inset Quotes erd
21276 \end_inset
21277
21278 value
21279 \begin_inset Quotes erd
21280 \end_inset
21281
21282 >
21283 \end_layout
21284
21285 \begin_layout LyX-Code
21286 <itemtag attr=
21287 \begin_inset Quotes erd
21288 \end_inset
21289
21290 value
21291 \begin_inset Quotes erd
21292 \end_inset
21293
21294 ><labeltag attr=
21295 \begin_inset Quotes erd
21296 \end_inset
21297
21298 value
21299 \begin_inset Quotes erd
21300 \end_inset
21301
21302 >リストのラベル</labeltag>最初の項目.</itemtag>
21303 \end_layout
21304
21305 \begin_layout LyX-Code
21306 <itemtag attr=
21307 \begin_inset Quotes erd
21308 \end_inset
21309
21310 value
21311 \begin_inset Quotes erd
21312 \end_inset
21313
21314 ><labeltag attr=
21315 \begin_inset Quotes erd
21316 \end_inset
21317
21318 value
21319 \begin_inset Quotes erd
21320 \end_inset
21321
21322 >リストのラベル</labeltag>二つめの項目.</itemtag>
21323 \end_layout
21324
21325 \begin_layout LyX-Code
21326 </tag>
21327 \end_layout
21328
21329 \begin_layout LyX-Code
21330
21331 \end_layout
21332
21333 \begin_layout LyX-Code
21334 <tag attr=
21335 \begin_inset Quotes erd
21336 \end_inset
21337
21338 value
21339 \begin_inset Quotes erd
21340 \end_inset
21341
21342 >
21343 \end_layout
21344
21345 \begin_layout LyX-Code
21346 <labeltag attr=
21347 \begin_inset Quotes erd
21348 \end_inset
21349
21350 value
21351 \begin_inset Quotes erd
21352 \end_inset
21353
21354 >リストのラベル</labeltag><itemtag attr=
21355 \begin_inset Quotes erd
21356 \end_inset
21357
21358 value
21359 \begin_inset Quotes erd
21360 \end_inset
21361
21362 >最初の項目.</itemtag>
21363 \end_layout
21364
21365 \begin_layout LyX-Code
21366 <labeltag attr=
21367 \begin_inset Quotes erd
21368 \end_inset
21369
21370 value
21371 \begin_inset Quotes erd
21372 \end_inset
21373
21374 >リストのラベル</labeltag><itemtag attr=
21375 \begin_inset Quotes erd
21376 \end_inset
21377
21378 value
21379 \begin_inset Quotes erd
21380 \end_inset
21381
21382 >二つめの項目</itemtag>
21383 \end_layout
21384
21385 \begin_layout LyX-Code
21386 </tag>
21387 \end_layout
21388
21389 \begin_layout Standard
21390 ここで
21391 \begin_inset Flex Code
21392 status collapsed
21393
21394 \begin_layout Plain Layout
21395 labeltag
21396 \end_layout
21397
21398 \end_inset
21399
21400
21401 \begin_inset Flex Code
21402 status collapsed
21403
21404 \begin_layout Plain Layout
21405 itemtag
21406 \end_layout
21407
21408 \end_inset
21409
21410 の順序が違っていることに注意してください.どちらの順序になるかは,
21411 \begin_inset Flex Code
21412 status collapsed
21413
21414 \begin_layout Plain Layout
21415 HTMLLabelFirst
21416 \end_layout
21417
21418 \end_inset
21419
21420 の設定に依存します.もし
21421 \begin_inset Flex Code
21422 status collapsed
21423
21424 \begin_layout Plain Layout
21425 HTMLLabelFirst
21426 \end_layout
21427
21428 \end_inset
21429
21430 が偽であれば(既定値),最初のケースのようになり,これが真であれば,二番めのケースのように,labelがitemの外側に来るようになります.
21431 \end_layout
21432
21433 \begin_layout Standard
21434 各段落の特定のタグ出力や属性出力は,以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,前述のように,多くの場合,\SpecialChar LyX
21435 は適切な既定値を生成
21436 するので,たいしたことをしなくても,望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,自分の好みにあわせて微調整する目的
21437 でここにあるものと考えてください.
21438 \end_layout
21439
21440 \begin_layout Description
21441 \begin_inset Flex Code
21442 status collapsed
21443
21444 \begin_layout Plain Layout
21445 HTMLAttr
21446 \end_layout
21447
21448 \end_inset
21449
21450  [
21451 \begin_inset Flex Code
21452 status collapsed
21453
21454 \begin_layout Plain Layout
21455 文字列
21456 \end_layout
21457
21458 \end_inset
21459
21460 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21461 \begin_inset Flex Code
21462 status collapsed
21463
21464 \begin_layout Plain Layout
21465 class=`mydiv'
21466 \end_layout
21467
21468 \end_inset
21469
21470 」のようなものです.既定においては,\SpecialChar LyX
21471 は「
21472 \begin_inset Flex Code
21473 status collapsed
21474
21475 \begin_layout Plain Layout
21476 class=`レイアウト名'
21477 \end_layout
21478
21479 \end_inset
21480
21481 」と出力します.ここで
21482 \begin_inset Flex Code
21483 status collapsed
21484
21485 \begin_layout Plain Layout
21486 レイアウト名
21487 \end_layout
21488
21489 \end_inset
21490
21491 は,レイアウトの\SpecialChar LyX
21492 名であり,chapterのように小文字で記述します.
21493 \end_layout
21494
21495 \begin_layout Description
21496 \begin_inset Flex Code
21497 status collapsed
21498
21499 \begin_layout Plain Layout
21500 HTMLForceCSS
21501 \end_layout
21502
21503 \end_inset
21504
21505  [
21506 \begin_inset Flex Code
21507 status collapsed
21508
21509 \begin_layout Plain Layout
21510
21511 \emph on
21512 0
21513 \emph default
21514 ,1
21515 \end_layout
21516
21517 \end_inset
21518
21519 ] 
21520 \begin_inset Flex Code
21521 status collapsed
21522
21523 \begin_layout Plain Layout
21524 HTMLStyle
21525 \end_layout
21526
21527 \end_inset
21528
21529 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
21530 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
21531 \begin_inset Flex Code
21532 status collapsed
21533
21534 \begin_layout Plain Layout
21535 1
21536 \end_layout
21537
21538 \end_inset
21539
21540 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
21541 \begin_inset Flex Code
21542 status collapsed
21543
21544 \begin_layout Plain Layout
21545 0
21546 \end_layout
21547
21548 \end_inset
21549
21550 です.
21551 \end_layout
21552
21553 \begin_layout Description
21554 \begin_inset Flex Code
21555 status collapsed
21556
21557 \begin_layout Plain Layout
21558 HTMLItem
21559 \end_layout
21560
21561 \end_inset
21562
21563  [
21564 \begin_inset Flex Code
21565 status collapsed
21566
21567 \begin_layout Plain Layout
21568 文字列
21569 \end_layout
21570
21571 \end_inset
21572
21573 ] 環境の段落に使用されるタグ.上記各例の
21574 \begin_inset Flex Code
21575 status collapsed
21576
21577 \begin_layout Plain Layout
21578 itemtag
21579 \end_layout
21580
21581 \end_inset
21582
21583 を置き換えます.既定値は
21584 \begin_inset Flex Code
21585 status collapsed
21586
21587 \begin_layout Plain Layout
21588 div
21589 \end_layout
21590
21591 \end_inset
21592
21593 です.
21594 \end_layout
21595
21596 \begin_layout Description
21597 \begin_inset Flex Code
21598 status collapsed
21599
21600 \begin_layout Plain Layout
21601 HTMLItemAttr
21602 \end_layout
21603
21604 \end_inset
21605
21606  [
21607 \begin_inset Flex Code
21608 status collapsed
21609
21610 \begin_layout Plain Layout
21611 文字列
21612 \end_layout
21613
21614 \end_inset
21615
21616 ] itemタグの属性.既定値は
21617 \begin_inset Flex Code
21618 status collapsed
21619
21620 \begin_layout Plain Layout
21621 class=`レイアウト名_item'
21622 \end_layout
21623
21624 \end_inset
21625
21626 です.ここには,様式情報は含まれては
21627 \emph on
21628 なりません
21629 \emph default
21630 .その目的のためには,
21631 \begin_inset Flex Code
21632 status collapsed
21633
21634 \begin_layout Plain Layout
21635 HTMLStyle
21636 \end_layout
21637
21638 \end_inset
21639
21640 を使用してください.
21641 \end_layout
21642
21643 \begin_layout Description
21644 \begin_inset Flex Code
21645 status collapsed
21646
21647 \begin_layout Plain Layout
21648 HTMLLabel
21649 \end_layout
21650
21651 \end_inset
21652
21653  [
21654 \begin_inset Flex Code
21655 status collapsed
21656
21657 \begin_layout Plain Layout
21658 文字列
21659 \end_layout
21660
21661 \end_inset
21662
21663 ] 段落と項目ラベルに使用されるタグ.上記各例の
21664 \begin_inset Flex Code
21665 status collapsed
21666
21667 \begin_layout Plain Layout
21668 labeltag
21669 \end_layout
21670
21671 \end_inset
21672
21673 を置き換えます.
21674 \begin_inset Flex Code
21675 status collapsed
21676
21677 \begin_layout Plain Layout
21678 LabelType
21679 \end_layout
21680
21681 \end_inset
21682
21683
21684 \begin_inset Flex Code
21685 status collapsed
21686
21687 \begin_layout Plain Layout
21688 Top_Environment
21689 \end_layout
21690
21691 \end_inset
21692
21693
21694 \begin_inset Flex Code
21695 status collapsed
21696
21697 \begin_layout Plain Layout
21698 Centered_Top_Environment
21699 \end_layout
21700
21701 \end_inset
21702
21703 の時は,既定値は
21704 \begin_inset Flex Code
21705 status collapsed
21706
21707 \begin_layout Plain Layout
21708 div
21709 \end_layout
21710
21711 \end_inset
21712
21713 ですが,それ以外の時の既定値は
21714 \begin_inset Flex Code
21715 status collapsed
21716
21717 \begin_layout Plain Layout
21718 span
21719 \end_layout
21720
21721 \end_inset
21722
21723 です.
21724 \end_layout
21725
21726 \begin_layout Description
21727 \begin_inset Flex Code
21728 status collapsed
21729
21730 \begin_layout Plain Layout
21731 HTMLLabelAttr
21732 \end_layout
21733
21734 \end_inset
21735
21736  [
21737 \begin_inset Flex Code
21738 status collapsed
21739
21740 \begin_layout Plain Layout
21741 文字列
21742 \end_layout
21743
21744 \end_inset
21745
21746 ] labelタグの属性.既定値は
21747 \begin_inset Flex Code
21748 status collapsed
21749
21750 \begin_layout Plain Layout
21751 class=`レイアウト名_label'
21752 \end_layout
21753
21754 \end_inset
21755
21756 です.ここには,様式情報は含まれては
21757 \emph on
21758 なりません
21759 \emph default
21760 .その目的のためには,
21761 \begin_inset Flex Code
21762 status collapsed
21763
21764 \begin_layout Plain Layout
21765 HTMLStyle
21766 \end_layout
21767
21768 \end_inset
21769
21770 を使用してください.
21771 \end_layout
21772
21773 \begin_layout Description
21774 \begin_inset Flex Code
21775 status collapsed
21776
21777 \begin_layout Plain Layout
21778 HTMLLabelFirst
21779 \end_layout
21780
21781 \end_inset
21782
21783  [
21784 \begin_inset Flex Code
21785 status collapsed
21786
21787 \begin_layout Plain Layout
21788
21789 \emph on
21790 0
21791 \emph default
21792 ,1
21793 \end_layout
21794
21795 \end_inset
21796
21797 ] このタグは,リスト関係環境でのみ意味を持ち,labelタグが,itemタグの前に出力されるか,中に出力されるかを制御します.これは,たとえば,descrip
21798 tion環境の中で,
21799 \begin_inset Flex Code
21800 status collapsed
21801
21802 \begin_layout Plain Layout
21803 `<dt>\SpecialChar ldots
21804 </dt><dd>\SpecialChar ldots
21805 </dd>
21806 \end_layout
21807
21808 \end_inset
21809
21810 という形を得るために使用されます.既定値は
21811 \begin_inset Flex Code
21812 status collapsed
21813
21814 \begin_layout Plain Layout
21815 0
21816 \end_layout
21817
21818 \end_inset
21819
21820 で,labelタグはitemタグの中に出力されます.
21821 \end_layout
21822
21823 \begin_layout Description
21824 \begin_inset Flex Code
21825 status collapsed
21826
21827 \begin_layout Plain Layout
21828 HTMLPreamble
21829 \end_layout
21830
21831 \end_inset
21832
21833  この様式が使用されたときに,
21834 \begin_inset Flex Code
21835 status collapsed
21836
21837 \begin_layout Plain Layout
21838 <head>
21839 \end_layout
21840
21841 \end_inset
21842
21843 セクションに出力される情報.これは,たとえば,
21844 \begin_inset Flex Code
21845 status collapsed
21846
21847 \begin_layout Plain Layout
21848 onclick
21849 \end_layout
21850
21851 \end_inset
21852
21853 ハンドラを定義するために
21854 \begin_inset Flex Code
21855 status collapsed
21856
21857 \begin_layout Plain Layout
21858 <script>
21859 \end_layout
21860
21861 \end_inset
21862
21863 ブロックをインクルードするのに使用することができます.
21864 \end_layout
21865
21866 \begin_layout Description
21867 \begin_inset Flex Code
21868 status collapsed
21869
21870 \begin_layout Plain Layout
21871 HTMLStyle
21872 \end_layout
21873
21874 \end_inset
21875
21876   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21877 \begin_inset Flex Code
21878 status collapsed
21879
21880 \begin_layout Plain Layout
21881 <style>
21882 \end_layout
21883
21884 \end_inset
21885
21886 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21887 \begin_inset Flex Code
21888 status collapsed
21889
21890 \begin_layout Plain Layout
21891 EndHTMLStyle
21892 \end_layout
21893
21894 \end_inset
21895
21896 で閉じなくてはなりません.
21897 \end_layout
21898
21899 \begin_layout Description
21900 \begin_inset Flex Code
21901 status collapsed
21902
21903 \begin_layout Plain Layout
21904 HTMLTag
21905 \end_layout
21906
21907 \end_inset
21908
21909  [
21910 \begin_inset Flex Code
21911 status collapsed
21912
21913 \begin_layout Plain Layout
21914 文字列
21915 \end_layout
21916
21917 \end_inset
21918
21919 ] 主幹ラベルに使用されるタグ.上記各例の
21920 \begin_inset Flex Code
21921 status collapsed
21922
21923 \begin_layout Plain Layout
21924 tag
21925 \end_layout
21926
21927 \end_inset
21928
21929 を置き換えます.既定値は
21930 \begin_inset Flex Code
21931 status collapsed
21932
21933 \begin_layout Plain Layout
21934 div
21935 \end_layout
21936
21937 \end_inset
21938
21939 です.
21940 \end_layout
21941
21942 \begin_layout Description
21943 \begin_inset Flex Code
21944 status collapsed
21945
21946 \begin_layout Plain Layout
21947 HTMLTitle
21948 \end_layout
21949
21950 \end_inset
21951
21952  [
21953 \begin_inset Flex Code
21954 status collapsed
21955
21956 \begin_layout Plain Layout
21957
21958 \emph on
21959 0
21960 \emph default
21961 ,1
21962 \end_layout
21963
21964 \end_inset
21965
21966 ] この様式が,XHTMLファイルの
21967 \begin_inset Flex Code
21968 status collapsed
21969
21970 \begin_layout Plain Layout
21971 <title>
21972 \end_layout
21973
21974 \end_inset
21975
21976 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
21977 \begin_inset Flex Code
21978 status collapsed
21979
21980 \begin_layout Plain Layout
21981 stdtitle.inc
21982 \end_layout
21983
21984 \end_inset
21985
21986 ファイルでは,
21987 \begin_inset Flex Code
21988 status collapsed
21989
21990 \begin_layout Plain Layout
21991 title
21992 \end_layout
21993
21994 \end_inset
21995
21996 環境のこの項目を真に設定しています.
21997 \end_layout
21998
21999 \begin_layout Subsection
22000 差込枠レイアウトXHTML
22001 \end_layout
22002
22003 \begin_layout Standard
22004 差込枠のXHTML出力も,レイアウトファイル内の情報によって制御することができます
22005 \begin_inset Foot
22006 status collapsed
22007
22008 \begin_layout Plain Layout
22009 現在のところ,これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されませ
22010 ん.
22011 \end_layout
22012
22013 \end_inset
22014
22015 .ここでも,\SpecialChar LyX
22016 は適切な既定値を提供しようと試み,既定のCSS様式を構成します.しかし,すべてカスタマイズ可能です.
22017 \end_layout
22018
22019 \begin_layout Standard
22020 \SpecialChar LyX
22021 が差込枠用に出力するXHTMLは,以下の形を取ります.
22022 \end_layout
22023
22024 \begin_layout LyX-Code
22025 <tag attr=
22026 \begin_inset Quotes erd
22027 \end_inset
22028
22029 value
22030 \begin_inset Quotes erd
22031 \end_inset
22032
22033 >
22034 \end_layout
22035
22036 \begin_layout LyX-Code
22037 <labeltag>ラベル</labeltag>
22038 \end_layout
22039
22040 \begin_layout LyX-Code
22041 <innertag attr=
22042 \begin_inset Quotes erd
22043 \end_inset
22044
22045 value
22046 \begin_inset Quotes erd
22047 \end_inset
22048
22049 >差込枠の内容.</innertag>
22050 \end_layout
22051
22052 \begin_layout LyX-Code
22053 </tag>
22054 \end_layout
22055
22056 \begin_layout Standard
22057 差込枠が多段落を許可している—つまり
22058 \begin_inset Flex Code
22059 status collapsed
22060
22061 \begin_layout Plain Layout
22062 MultiPar
22063 \end_layout
22064
22065 \end_inset
22066
22067 が真—ならば,差込枠の内容は,それ自身段落として出力され,それらの段落に用いられる様式(標準,引用など)を用いて整形されます.もちろん,段落にラベルがなければ,
22068 labelタグは省略され,ラベルがあれば,現在のところ,つねに
22069 \begin_inset Flex Code
22070 status collapsed
22071
22072 \begin_layout Plain Layout
22073 span
22074 \end_layout
22075
22076 \end_inset
22077
22078 が用いられます.innerタグは非必須であり,既定では出力されません.各差込枠用に出力される特定のタグや属性は,以下のレイアウトタグによって制御することができま
22079 す.
22080 \end_layout
22081
22082 \begin_layout Description
22083 \begin_inset Flex Code
22084 status collapsed
22085
22086 \begin_layout Plain Layout
22087 HTMLAttr
22088 \end_layout
22089
22090 \end_inset
22091
22092  [
22093 \begin_inset Flex Code
22094 status collapsed
22095
22096 \begin_layout Plain Layout
22097 文字列
22098 \end_layout
22099
22100 \end_inset
22101
22102 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
22103 \begin_inset Flex Code
22104 status collapsed
22105
22106 \begin_layout Plain Layout
22107 class=`myinset' onclick=`\SpecialChar ldots
22108 '
22109 \end_layout
22110
22111 \end_inset
22112
22113 」のようなものです.既定においては,\SpecialChar LyX
22114 は「
22115 \begin_inset Flex Code
22116 status collapsed
22117
22118 \begin_layout Plain Layout
22119 class=`差込枠名'
22120 \end_layout
22121
22122 \end_inset
22123
22124 」と出力します.ここで
22125 \begin_inset Flex Code
22126 status collapsed
22127
22128 \begin_layout Plain Layout
22129 差込枠名
22130 \end_layout
22131
22132 \end_inset
22133
22134 は,差込枠の\SpecialChar LyX
22135 名であり,小文字で記述します.アルファベットや数字以外の文字は,アンダースコアに置き換えられます.
22136 \end_layout
22137
22138 \begin_layout Description
22139 \begin_inset Flex Code
22140 status collapsed
22141
22142 \begin_layout Plain Layout
22143 HTMLForceCSS
22144 \end_layout
22145
22146 \end_inset
22147
22148  [
22149 \begin_inset Flex Code
22150 status collapsed
22151
22152 \begin_layout Plain Layout
22153
22154 \emph on
22155 0
22156 \emph default
22157 ,1
22158 \end_layout
22159
22160 \end_inset
22161
22162 ] 
22163 \begin_inset Flex Code
22164 status collapsed
22165
22166 \begin_layout Plain Layout
22167 HTMLStyle
22168 \end_layout
22169
22170 \end_inset
22171
22172 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
22173 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
22174 \begin_inset Flex Code
22175 status collapsed
22176
22177 \begin_layout Plain Layout
22178 1
22179 \end_layout
22180
22181 \end_inset
22182
22183 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
22184 \begin_inset Flex Code
22185 status collapsed
22186
22187 \begin_layout Plain Layout
22188 0
22189 \end_layout
22190
22191 \end_inset
22192
22193 です.
22194 \end_layout
22195
22196 \begin_layout Description
22197 \begin_inset Flex Code
22198 status collapsed
22199
22200 \begin_layout Plain Layout
22201 HTMLInnerAttr
22202 \end_layout
22203
22204 \end_inset
22205
22206  [
22207 \begin_inset Flex Code
22208 status collapsed
22209
22210 \begin_layout Plain Layout
22211 文字列
22212 \end_layout
22213
22214 \end_inset
22215
22216 ] innerタグの属性.既定値は
22217 \begin_inset Flex Code
22218 status collapsed
22219
22220 \begin_layout Plain Layout
22221 class=`差込枠名_inner'
22222 \end_layout
22223
22224 \end_inset
22225
22226 です.
22227 \end_layout
22228
22229 \begin_layout Description
22230 \begin_inset Flex Code
22231 status collapsed
22232
22233 \begin_layout Plain Layout
22234 HTMLInnerTag
22235 \end_layout
22236
22237 \end_inset
22238
22239  [
22240 \begin_inset Flex Code
22241 status collapsed
22242
22243 \begin_layout Plain Layout
22244 文字列
22245 \end_layout
22246
22247 \end_inset
22248
22249 ] innerタグです.上記各例の
22250 \begin_inset Flex Code
22251 status collapsed
22252
22253 \begin_layout Plain Layout
22254 innertag
22255 \end_layout
22256
22257 \end_inset
22258
22259 を置き換えます.既定値はなしです.
22260 \end_layout
22261
22262 \begin_layout Description
22263 \begin_inset Flex Code
22264 status collapsed
22265
22266 \begin_layout Plain Layout
22267 HTMLIsBlock
22268 \end_layout
22269
22270 \end_inset
22271
22272  [
22273 \begin_inset Flex Code
22274 status collapsed
22275
22276 \begin_layout Plain Layout
22277 0,
22278 \emph on
22279 1
22280 \end_layout
22281
22282 \end_inset
22283
22284 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,それとも,(派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
22285 \end_layout
22286
22287 \begin_layout Description
22288 \begin_inset Flex Code
22289 status collapsed
22290
22291 \begin_layout Plain Layout
22292 HTMLLabel
22293 \end_layout
22294
22295 \end_inset
22296
22297  [
22298 \begin_inset Flex Code
22299 status collapsed
22300
22301 \begin_layout Plain Layout
22302 文字列
22303 \end_layout
22304
22305 \end_inset
22306
22307 ] 場合によっては,カウンタへの参照を含む,この差込枠のラベル.たとえば,脚註用には
22308 \begin_inset Flex Code
22309 status collapsed
22310
22311 \begin_layout Plain Layout
22312
22313 \backslash
22314 arabic{footnote}
22315 \end_layout
22316
22317 \end_inset
22318
22319 など.これは非必須であり,既定値はありません.
22320 \end_layout
22321
22322 \begin_layout Description
22323 \begin_inset Flex Code
22324 status collapsed
22325
22326 \begin_layout Plain Layout
22327 HTMLPreamble
22328 \end_layout
22329
22330 \end_inset
22331
22332  この様式が使用されたときに,
22333 \begin_inset Flex Code
22334 status collapsed
22335
22336 \begin_layout Plain Layout
22337 <head>
22338 \end_layout
22339
22340 \end_inset
22341
22342 セクションに出力される情報.これは,たとえば,
22343 \begin_inset Flex Code
22344 status collapsed
22345
22346 \begin_layout Plain Layout
22347 onclick
22348 \end_layout
22349
22350 \end_inset
22351
22352 ハンドラを定義するために
22353 \begin_inset Flex Code
22354 status collapsed
22355
22356 \begin_layout Plain Layout
22357 <script>
22358 \end_layout
22359
22360 \end_inset
22361
22362 ブロックをインクルードするのに使用することができます.
22363 \end_layout
22364
22365 \begin_layout Description
22366 \begin_inset Flex Code
22367 status collapsed
22368
22369 \begin_layout Plain Layout
22370 HTMLStyle
22371 \end_layout
22372
22373 \end_inset
22374
22375   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
22376 \begin_inset Flex Code
22377 status collapsed
22378
22379 \begin_layout Plain Layout
22380 <style>
22381 \end_layout
22382
22383 \end_inset
22384
22385 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
22386 \end_layout
22387
22388 \begin_layout Description
22389 \begin_inset Flex Code
22390 status collapsed
22391
22392 \begin_layout Plain Layout
22393 HTMLTag
22394 \end_layout
22395
22396 \end_inset
22397
22398  [
22399 \begin_inset Flex Code
22400 status collapsed
22401
22402 \begin_layout Plain Layout
22403 文字列
22404 \end_layout
22405
22406 \end_inset
22407
22408 ] 主幹ラベルに使用されるタグ.上記各例の
22409 \begin_inset Flex Code
22410 status collapsed
22411
22412 \begin_layout Plain Layout
22413 tag
22414 \end_layout
22415
22416 \end_inset
22417
22418 を置き換えます.既定値は
22419 \begin_inset Flex Code
22420 status collapsed
22421
22422 \begin_layout Plain Layout
22423 MultiPar
22424 \end_layout
22425
22426 \end_inset
22427
22428 の設定に依存し,
22429 \begin_inset Flex Code
22430 status collapsed
22431
22432 \begin_layout Plain Layout
22433 MultiPar
22434 \end_layout
22435
22436 \end_inset
22437
22438 が真ならば
22439 \begin_inset Flex Code
22440 status collapsed
22441
22442 \begin_layout Plain Layout
22443 div
22444 \end_layout
22445
22446 \end_inset
22447
22448 ,偽ならば
22449 \begin_inset Flex Code
22450 status collapsed
22451
22452 \begin_layout Plain Layout
22453 span
22454 \end_layout
22455
22456 \end_inset
22457
22458 です.
22459 \end_layout
22460
22461 \begin_layout Subsection
22462 フロートXHTML
22463 \end_layout
22464
22465 \begin_layout Standard
22466 フロートのXHTML出力も,レイアウトファイル内の情報によって制御することができます.出力は,以下の形を取ります.
22467 \end_layout
22468
22469 \begin_layout LyX-Code
22470 <tag attr=
22471 \begin_inset Quotes erd
22472 \end_inset
22473
22474 value
22475 \begin_inset Quotes erd
22476 \end_inset
22477
22478 >
22479 \end_layout
22480
22481 \begin_layout LyX-Code
22482 フロートの内容.
22483 \end_layout
22484
22485 \begin_layout LyX-Code
22486 </tag>
22487 \end_layout
22488
22489 \begin_layout Standard
22490 キャプションは,存在している場合には,独立した差込枠となり,そのような形で出力されます.その外観は,キャプション差込枠のInsetLayoutで制御することがで
22491 きます.
22492 \end_layout
22493
22494 \begin_layout Description
22495 \begin_inset Flex Code
22496 status collapsed
22497
22498 \begin_layout Plain Layout
22499 HTMLAttr
22500 \end_layout
22501
22502 \end_inset
22503
22504  [
22505 \begin_inset Flex Code
22506 status collapsed
22507
22508 \begin_layout Plain Layout
22509 文字列
22510 \end_layout
22511
22512 \end_inset
22513
22514 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
22515 \begin_inset Flex Code
22516 status collapsed
22517
22518 \begin_layout Plain Layout
22519 class=`myfloat' onclick=`\SpecialChar ldots
22520 '
22521 \end_layout
22522
22523 \end_inset
22524
22525 」のようなものです.既定においては,\SpecialChar LyX
22526 は「
22527 \begin_inset Flex Code
22528 status collapsed
22529
22530 \begin_layout Plain Layout
22531 class=`float フロート-フロート型'
22532 \end_layout
22533
22534 \end_inset
22535
22536 」と出力します.ここで
22537 \begin_inset Flex Code
22538 status collapsed
22539
22540 \begin_layout Plain Layout
22541 フロート型
22542 \end_layout
22543
22544 \end_inset
22545
22546 は,フロート宣言で定義された(
22547 \begin_inset CommandInset ref
22548 LatexCommand ref
22549 reference "subsec:フロート"
22550
22551 \end_inset
22552
22553 参照),この型のフロートの\SpecialChar LyX
22554 名です.ただし,これは小文字に変換され,アルファベットや数字でない文字はアンダースコアに変換されます.例:float-table.
22555 \end_layout
22556
22557 \begin_layout Description
22558 \begin_inset Flex Code
22559 status collapsed
22560
22561 \begin_layout Plain Layout
22562 HTMLStyle
22563 \end_layout
22564
22565 \end_inset
22566
22567   このフロートが使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
22568 \begin_inset Flex Code
22569 status collapsed
22570
22571 \begin_layout Plain Layout
22572 <style>
22573 \end_layout
22574
22575 \end_inset
22576
22577 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
22578 \end_layout
22579
22580 \begin_layout Description
22581 \begin_inset Flex Code
22582 status collapsed
22583
22584 \begin_layout Plain Layout
22585 HTMLTag
22586 \end_layout
22587
22588 \end_inset
22589
22590  [
22591 \begin_inset Flex Code
22592 status collapsed
22593
22594 \begin_layout Plain Layout
22595 文字列
22596 \end_layout
22597
22598 \end_inset
22599
22600 ] このフロートに使用されるタグ.上記各例の
22601 \begin_inset Flex Code
22602 status collapsed
22603
22604 \begin_layout Plain Layout
22605 tag
22606 \end_layout
22607
22608 \end_inset
22609
22610 を置き換えます.既定値は
22611 \begin_inset Flex Code
22612 status collapsed
22613
22614 \begin_layout Plain Layout
22615 div
22616 \end_layout
22617
22618 \end_inset
22619
22620 であり,ほとんどの場合変更する必要はありません.
22621 \end_layout
22622
22623 \begin_layout Subsection
22624 書誌情報の整形
22625 \end_layout
22626
22627 \begin_layout Standard
22628 書誌情報は,
22629 \begin_inset Flex Code
22630 status collapsed
22631
22632 \begin_layout Plain Layout
22633 CiteFormat
22634 \end_layout
22635
22636 \end_inset
22637
22638 ブロックを使用して整形することができます.詳細については,
22639 \begin_inset CommandInset ref
22640 LatexCommand ref
22641 reference "subsec:引用書式指定"
22642
22643 \end_inset
22644
22645 を参照してください.
22646 \end_layout
22647
22648 \begin_layout Subsection
22649 \SpecialChar LyX
22650 が生成したCSS
22651 \end_layout
22652
22653 \begin_layout Standard
22654 \SpecialChar LyX
22655 は,提供されている他のレイアウト情報に基づいて,差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,これまでに何度か触れました.この節では,\SpecialChar LyX
22656
22657 がどのレイアウト情報を,どのように使うのか,ひとこと述べておきたいと思います.
22658 \end_layout
22659
22660 \begin_layout Standard
22661 \SpecialChar LyX
22662 は,現在のところ,
22663 \begin_inset Flex Code
22664 status collapsed
22665
22666 \begin_layout Plain Layout
22667 Font
22668 \end_layout
22669
22670 \end_inset
22671
22672 宣言で指定されている
22673 \begin_inset Flex Code
22674 status collapsed
22675
22676 \begin_layout Plain Layout
22677 Family
22678 \end_layout
22679
22680 \end_inset
22681
22682
22683 \begin_inset Flex Code
22684 status collapsed
22685
22686 \begin_layout Plain Layout
22687 Series
22688 \end_layout
22689
22690 \end_inset
22691
22692
22693 \begin_inset Flex Code
22694 status collapsed
22695
22696 \begin_layout Plain Layout
22697 Shape
22698 \end_layout
22699
22700 \end_inset
22701
22702
22703 \begin_inset Flex Code
22704 status collapsed
22705
22706 \begin_layout Plain Layout
22707 Size
22708 \end_layout
22709
22710 \end_inset
22711
22712 を利用して,フォント情報についてのみCSSを自動生成します(
22713 \begin_inset CommandInset ref
22714 LatexCommand ref
22715 reference "subsec:フォント指定"
22716
22717 \end_inset
22718
22719 を参照).この変換は,きわめて分かりやすく自明です.たとえば,「
22720 \begin_inset Flex Code
22721 status collapsed
22722
22723 \begin_layout Plain Layout
22724 Family Sans
22725 \end_layout
22726
22727 \end_inset
22728
22729 」は「
22730 \begin_inset Flex Code
22731 status collapsed
22732
22733 \begin_layout Plain Layout
22734 font-family: sans-serif
22735 \end_layout
22736
22737 \end_inset
22738
22739 」になります.\SpecialChar LyX
22740 の寸法とCSSの寸法のあいだの対応は,少し複雑ですが,それでも直感的に分かります.詳細については,
22741 \begin_inset Flex URL
22742 status collapsed
22743
22744 \begin_layout Plain Layout
22745
22746 src/FontInfo.cpp
22747 \end_layout
22748
22749 \end_inset
22750
22751
22752 \begin_inset Flex Code
22753 status collapsed
22754
22755 \begin_layout Plain Layout
22756 getSizeCSS()
22757 \end_layout
22758
22759 \end_inset
22760
22761 関数をご覧ください.
22762 \end_layout
22763
22764 \begin_layout Chapter
22765 外部素材を取り込む
22766 \begin_inset CommandInset label
22767 LatexCommand label
22768 name "chap:外部素材を取り込む"
22769
22770 \end_inset
22771
22772
22773 \end_layout
22774
22775 \begin_layout Standard
22776 \begin_inset Box Shadowbox
22777 position "t"
22778 hor_pos "c"
22779 has_inner_box 1
22780 inner_pos "t"
22781 use_parbox 0
22782 use_makebox 0
22783 width "100col%"
22784 special "none"
22785 height "1in"
22786 height_special "totalheight"
22787 thickness "0.4pt"
22788 separation "3pt"
22789 shadowsize "4pt"
22790 framecolor "black"
22791 backgroundcolor "none"
22792 status open
22793
22794 \begin_layout Plain Layout
22795 【警告】本説明書のこの部分は,しばらく更新されていません.もちろんまだ正確であることを期待していますが,保証の限りではありません.
22796 \end_layout
22797
22798 \end_inset
22799
22800
22801 \end_layout
22802
22803 \begin_layout Standard
22804 \SpecialChar LyX
22805 外部のソースから素材を使用する方法は,取扱説明書『
22806 \emph on
22807 埋込オブジェクト篇
22808 \emph default
22809 』で詳細にカバーされています.本章は,新種の素材を取り込む際に,舞台裏で何をする必要があるかをカバーします.
22810 \end_layout
22811
22812 \begin_layout Section
22813 どのように機能するのか
22814 \end_layout
22815
22816 \begin_layout Standard
22817 外部素材の機能は,ひな型の概念に基づいています.ひな型は,\SpecialChar LyX
22818 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,\SpecialChar LyX
22819 は,Xfigの図や,様々
22820 なラスター形式画像,チェス棋譜,LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
22821 \begin_inset Flex MenuItem
22822 status collapsed
22823
22824 \begin_layout Plain Layout
22825 挿入\SpecialChar menuseparator
22826 ファイル\SpecialChar menuseparator
22827 外部素材
22828 \end_layout
22829
22830 \end_inset
22831
22832 メニューで見ることができます.さらに,特定の型の素材をサポートするのに,自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しま
22833 すが,できればあなたが作ったすべてのひな型を投稿して,我々が\SpecialChar LyX
22834 の後の版に取り込むことができるようにしてくださることを希望します.
22835 \end_layout
22836
22837 \begin_layout Standard
22838 外部素材の機能におけるもう一つの基本的な発想は,最終素材の元となるオリジナルファイルと,書き出された文書や印刷された文書に取り込むための生成ファイルとを区別して
22839 いることです.たとえば,
22840 \begin_inset Flex Code
22841 status collapsed
22842
22843 \begin_layout Plain Layout
22844 Xfig
22845 \end_layout
22846
22847 \end_inset
22848
22849 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
22850 \begin_inset Flex Code
22851 status collapsed
22852
22853 \begin_layout Plain Layout
22854 .fig
22855 \end_layout
22856
22857 \end_inset
22858
22859 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,作業が終われば
22860 \begin_inset Flex Code
22861 status collapsed
22862
22863 \begin_layout Plain Layout
22864 fig
22865 \end_layout
22866
22867 \end_inset
22868
22869 ファイルに保存します.この図をお使いの文書に取り込みたいときには,\SpecialChar LaTeX
22870 ファイルにそのままインクルードできるように,
22871 \begin_inset Flex Code
22872 status collapsed
22873
22874 \begin_layout Plain Layout
22875 transfig
22876 \end_layout
22877
22878 \end_inset
22879
22880 を呼び出してPostScriptファイルを生成します.この場合には,
22881 \begin_inset Flex Code
22882 status collapsed
22883
22884 \begin_layout Plain Layout
22885 .fig
22886 \end_layout
22887
22888 \end_inset
22889
22890 ファイルがオリジナルファイルであり,PostScriptファイルが生成ファイルになります.
22891 \end_layout
22892
22893 \begin_layout Standard
22894 この区別は,文書を執筆している最中に,素材を更新することができるようにするために重要です.さらに,これによって,複数の書き出し書式をサポートするために必要な柔軟
22895 性が提供されます.たとえば,平文テキストファイルの場合には,図を生のPostScriptファイルとして取り込むのは,とても褒められた発想とはいえません.むしろ,
22896 その図への参照だけを含めるか,最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
22897 の外部素材マネジメントは
22898 ,\SpecialChar LyX
22899 がサポートする各書き出し書式別に仕分けしているので,ユーザがこれを行うことが可能となっています.
22900 \end_layout
22901
22902 \begin_layout Standard
22903 \SpecialChar LyX
22904 の外部素材マネジメントは,書き出し書式によって異なる生成物をサポートすることの他に,編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図
22905 の場合には,\SpecialChar LyX
22906 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,ダブルクリックすることで生成されたPostScriptファイ
22907 ルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファ
22908 イルブラウザをいじくり回す必要はないのです.このようにして,文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,最終的により生産性を上げることが
22909 できるようになるのです.
22910 \end_layout
22911
22912 \begin_layout Section
22913 外用ひな型設定ファイル
22914 \end_layout
22915
22916 \begin_layout Standard
22917 \SpecialChar LyX
22918 に自製の外用ひな型を付け加えるのは,比較的簡単です.しかしながら,これを不用心に行ってしまうと,たいていの場合,簡単に濫用されてしまうようなセキュリティホールを
22919 作ってしまいがちであることを心に留めておいてください.したがって,これを実行に移す前に,
22920 \begin_inset CommandInset ref
22921 LatexCommand ref
22922 reference "sec:セキュリティに関する論点"
22923
22924 \end_inset
22925
22926 のセキュリティに関する議論を読んでおいてください.
22927 \lang english
22928 The external templates are defined in the 
22929 \begin_inset Flex Code
22930 status collapsed
22931
22932 \begin_layout Plain Layout
22933
22934 \lang english
22935 *.xtemplate
22936 \end_layout
22937
22938 \end_inset
22939
22940  files that are stored in the 
22941 \begin_inset Flex Code
22942 status collapsed
22943
22944 \begin_layout Plain Layout
22945
22946 \lang english
22947 LyXDir/lib/xtemplates/
22948 \end_layout
22949
22950 \end_inset
22951
22952  directory.
22953  Each template is defined in a file of its own.
22954  You can place your own templates in 
22955 \begin_inset Flex Code
22956 status collapsed
22957
22958 \begin_layout Plain Layout
22959
22960 \lang english
22961 UserDir/xtemplates/
22962 \end_layout
22963
22964 \end_inset
22965
22966  or copy existing templates to that directory in order to modify them.
22967 \end_layout
22968
22969 \begin_layout Standard
22970 このことに言及した上で,あなたが作成した面白いひな型は,ぜひ投稿してください.
22971 \end_layout
22972
22973 \begin_layout Standard
22974 外用ひな型は,
22975 \begin_inset Flex Code
22976 status collapsed
22977
22978 \begin_layout Plain Layout
22979 LyXDir/lib/external_templates
22980 \end_layout
22981
22982 \end_inset
22983
22984 ファイルで定義されています.自分用の版を
22985 \begin_inset Flex Code
22986 status collapsed
22987
22988 \begin_layout Plain Layout
22989 UserDir/external_templates
22990 \end_layout
22991
22992 \end_inset
22993
22994 に置くこともできます.
22995 \end_layout
22996
22997 \begin_layout Standard
22998 典型的なひな型は以下のようになります.
22999 \end_layout
23000
23001 \begin_layout LyX-Code
23002 Template XFig
23003 \end_layout
23004
23005 \begin_layout LyX-Code
23006 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
23007 \end_layout
23008
23009 \begin_layout LyX-Code
23010 HelpText
23011 \end_layout
23012
23013 \begin_layout LyX-Code
23014 An XFig figure.
23015 \end_layout
23016
23017 \begin_layout LyX-Code
23018 HelpTextEnd
23019 \end_layout
23020
23021 \begin_layout LyX-Code
23022 InputFormat fig
23023 \end_layout
23024
23025 \begin_layout LyX-Code
23026 FileFilter "*.fig"
23027 \end_layout
23028
23029 \begin_layout LyX-Code
23030 AutomaticProduction true
23031 \end_layout
23032
23033 \begin_layout LyX-Code
23034 Transform Rotate
23035 \end_layout
23036
23037 \begin_layout LyX-Code
23038 Transform Resize
23039 \end_layout
23040
23041 \begin_layout LyX-Code
23042 Format LaTeX
23043 \end_layout
23044
23045 \begin_layout LyX-Code
23046 TransformCommand Rotate RotationLatexCommand
23047 \end_layout
23048
23049 \begin_layout LyX-Code
23050 TransformCommand Resize ResizeLatexCommand
23051 \end_layout
23052
23053 \begin_layout LyX-Code
23054 Product "$$RotateFront$$ResizeFront
23055 \end_layout
23056
23057 \begin_layout LyX-Code
23058          
23059 \backslash
23060
23061 \backslash
23062 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
23063 \end_layout
23064
23065 \begin_layout LyX-Code
23066          $$ResizeBack$$RotateBack"
23067 \end_layout
23068
23069 \begin_layout LyX-Code
23070 UpdateFormat pstex
23071 \end_layout
23072
23073 \begin_layout LyX-Code
23074 UpdateResult "$$AbsPath$$Basename.pstex_t"
23075 \end_layout
23076
23077 \begin_layout LyX-Code
23078 Requirement "graphicx"
23079 \end_layout
23080
23081 \begin_layout LyX-Code
23082 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23083 \end_layout
23084
23085 \begin_layout LyX-Code
23086 ReferencedFile latex "$$AbsPath$$Basename.eps"
23087 \end_layout
23088
23089 \begin_layout LyX-Code
23090 ReferencedFile dvi "$$AbsPath$$Basename.eps"
23091 \end_layout
23092
23093 \begin_layout LyX-Code
23094 FormatEnd
23095 \end_layout
23096
23097 \begin_layout LyX-Code
23098 Format PDFLaTeX
23099 \end_layout
23100
23101 \begin_layout LyX-Code
23102 TransformCommand Rotate RotationLatexCommand
23103 \end_layout
23104
23105 \begin_layout LyX-Code
23106 TransformCommand Resize ResizeLatexCommand
23107 \end_layout
23108
23109 \begin_layout LyX-Code
23110 Product "$$RotateFront$$ResizeFront
23111 \end_layout
23112
23113 \begin_layout LyX-Code
23114          
23115 \backslash
23116
23117 \backslash
23118 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
23119 \end_layout
23120
23121 \begin_layout LyX-Code
23122          $$ResizeBack$$RotateBack"
23123 \end_layout
23124
23125 \begin_layout LyX-Code
23126 UpdateFormat pdftex
23127 \end_layout
23128
23129 \begin_layout LyX-Code
23130 UpdateResult "$$AbsPath$$Basename.pdftex_t"
23131 \end_layout
23132
23133 \begin_layout LyX-Code
23134 Requirement "graphicx"
23135 \end_layout
23136
23137 \begin_layout LyX-Code
23138 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
23139 \end_layout
23140
23141 \begin_layout LyX-Code
23142 ReferencedFile latex "$$AbsPath$$Basename.pdf"
23143 \end_layout
23144
23145 \begin_layout LyX-Code
23146 FormatEnd
23147 \end_layout
23148
23149 \begin_layout LyX-Code
23150 Format Ascii
23151 \end_layout
23152
23153 \begin_layout LyX-Code
23154 Product "$$Contents(
23155 \backslash
23156 "$$AbsPath$$Basename.asc
23157 \backslash
23158 ")"
23159 \end_layout
23160
23161 \begin_layout LyX-Code
23162 UpdateFormat asciixfig
23163 \end_layout
23164
23165 \begin_layout LyX-Code
23166 UpdateResult "$$AbsPath$$Basename.asc"
23167 \end_layout
23168
23169 \begin_layout LyX-Code
23170 FormatEnd
23171 \end_layout
23172
23173 \begin_layout LyX-Code
23174 Format DocBook
23175 \end_layout
23176
23177 \begin_layout LyX-Code
23178 Product "<graphic fileref=
23179 \backslash
23180 "$$AbsOrRelPathMaster$$Basename.eps
23181 \backslash
23182 ">
23183 \end_layout
23184
23185 \begin_layout LyX-Code
23186          </graphic>"
23187 \end_layout
23188
23189 \begin_layout LyX-Code
23190 UpdateFormat eps
23191 \end_layout
23192
23193 \begin_layout LyX-Code
23194 UpdateResult "$$AbsPath$$Basename.eps"
23195 \end_layout
23196
23197 \begin_layout LyX-Code
23198 ReferencedFile docbook "$$AbsPath$$Basename.eps"
23199 \end_layout
23200
23201 \begin_layout LyX-Code
23202 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
23203 \end_layout
23204
23205 \begin_layout LyX-Code
23206 FormatEnd
23207 \end_layout
23208
23209 \begin_layout LyX-Code
23210 Product "[XFig: $$FName]"
23211 \end_layout
23212
23213 \begin_layout LyX-Code
23214 FormatEnd
23215 \end_layout
23216
23217 \begin_layout LyX-Code
23218 TemplateEnd
23219 \end_layout
23220
23221 \begin_layout Standard
23222 ご覧の通り,ひな型は
23223 \begin_inset Flex Code
23224 status collapsed
23225
23226 \begin_layout Plain Layout
23227 Template
23228 \end_layout
23229
23230 \end_inset
23231
23232  \SpecialChar ldots
23233  
23234 \begin_inset Flex Code
23235 status collapsed
23236
23237 \begin_layout Plain Layout
23238 TemplateEnd
23239 \end_layout
23240
23241 \end_inset
23242
23243 で閉じられます.ひな型には,一般的な設定を行うヘッダ部と,サポートされている主要な文書ファイル形式の設定を行う
23244 \begin_inset Flex Code
23245 status collapsed
23246
23247 \begin_layout Plain Layout
23248 Format
23249 \end_layout
23250
23251 \end_inset
23252
23253  \SpecialChar ldots
23254  
23255 \begin_inset Flex Code
23256 status collapsed
23257
23258 \begin_layout Plain Layout
23259 FormatEnd
23260 \end_layout
23261
23262 \end_inset
23263
23264 部があります.
23265 \end_layout
23266
23267 \begin_layout Subsection
23268 ひな型のヘッダ
23269 \end_layout
23270
23271 \begin_layout Description
23272 \begin_inset Flex Code
23273 status collapsed
23274
23275 \begin_layout Plain Layout
23276 AutomaticProduction
23277 \begin_inset space ~
23278 \end_inset
23279
23280 true|false
23281 \end_layout
23282
23283 \end_inset
23284
23285  このひな型で扱うファイルを\SpecialChar LyX
23286 が生成しなくてはならないか否か.このコマンドは,一度だけ必ず現れなくてはなりません.
23287 \end_layout
23288
23289 \begin_layout Description
23290 \begin_inset Flex Code
23291 status collapsed
23292
23293 \begin_layout Plain Layout
23294 FileFilter
23295 \begin_inset space ~
23296 \end_inset
23297
23298 <パターン>
23299 \end_layout
23300
23301 \end_inset
23302
23303  望むファイル群を表示するために,ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,tgifには
23304 \begin_inset Flex Code
23305 status collapsed
23306
23307 \begin_layout Plain Layout
23308 .obj
23309 \end_layout
23310
23311 \end_inset
23312
23313
23314 \begin_inset Flex Code
23315 status collapsed
23316
23317 \begin_layout Plain Layout
23318 .tgo
23319 \end_layout
23320
23321 \end_inset
23322
23323 があります),「
23324 \begin_inset Flex Code
23325 status collapsed
23326
23327 \begin_layout Plain Layout
23328 *.{obj,tgo}
23329 \end_layout
23330
23331 \end_inset
23332
23333 」の様なパターンを使用してください.このコマンドは,一度だけ必ず現れなくてはなりません.
23334 \end_layout
23335
23336 \begin_layout Description
23337 \begin_inset Flex Code
23338 status collapsed
23339
23340 \begin_layout Plain Layout
23341 GuiName
23342 \begin_inset space ~
23343 \end_inset
23344
23345 <GUI名>
23346 \end_layout
23347
23348 \end_inset
23349
23350  この文字列はボタン上に表示されます.このコマンドは,一度だけ必ず現れなくてはなりません.
23351 \end_layout
23352
23353 \begin_layout Description
23354 \begin_inset Flex Code
23355 status collapsed
23356
23357 \begin_layout Plain Layout
23358 HelpText
23359 \begin_inset space ~
23360 \end_inset
23361
23362 <文章>
23363 \begin_inset space ~
23364 \end_inset
23365
23366 HelpTextEnd
23367 \end_layout
23368
23369 \end_inset
23370
23371  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,一度だけ必
23372 ず現れなくてはなりません.
23373 \end_layout
23374
23375 \begin_layout Description
23376 \begin_inset Flex Code
23377 status collapsed
23378
23379 \begin_layout Plain Layout
23380 InputFormat
23381 \begin_inset space ~
23382 \end_inset
23383
23384 <書式>
23385 \end_layout
23386
23387 \end_inset
23388
23389  オリジナルファイルのファイル形式.これは,\SpecialChar LyX
23390 が知っている書式名でなくてはなりません(
23391 \begin_inset CommandInset ref
23392 LatexCommand ref
23393 reference "sec:ファイル形式"
23394
23395 \end_inset
23396
23397 参照).このひな型が,2つ以上の書式のオリジナルファイルを取り扱える場合は,「
23398 \begin_inset Flex Code
23399 status collapsed
23400
23401 \begin_layout Plain Layout
23402 *
23403 \end_layout
23404
23405 \end_inset
23406
23407 」を使用してください.この場合,\SpecialChar LyX
23408 はファイル形式を推定するために,ファイル自体に詮索を試みます.このコマンドは,一度だけ必ず現れなくてはなりません.
23409 \end_layout
23410
23411 \begin_layout Description
23412 \begin_inset Flex Code
23413 status collapsed
23414
23415 \begin_layout Plain Layout
23416 Template
23417 \begin_inset space ~
23418 \end_inset
23419
23420 <ID>
23421 \end_layout
23422
23423 \end_inset
23424
23425  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
23426 \end_layout
23427
23428 \begin_layout Description
23429 \begin_inset Flex Code
23430 status collapsed
23431
23432 \begin_layout Plain Layout
23433 Transform
23434 \begin_inset space ~
23435 \end_inset
23436
23437 Rotate|Resize|Clip|Extra
23438 \end_layout
23439
23440 \end_inset
23441
23442  このコマンドは,このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,外部素材ダイア
23443 ログ中の対応するタブを使用可能にします.
23444 \begin_inset Flex Code
23445 status collapsed
23446
23447 \begin_layout Plain Layout
23448 Transform
23449 \end_layout
23450
23451 \end_inset
23452
23453 コマンド一つずつに応じて,
23454 \begin_inset Flex Code
23455 status collapsed
23456
23457 \begin_layout Plain Layout
23458 Format
23459 \end_layout
23460
23461 \end_inset
23462
23463 部に,対応する
23464 \begin_inset Flex Code
23465 status collapsed
23466
23467 \begin_layout Plain Layout
23468 TransformCommand
23469 \end_layout
23470
23471 \end_inset
23472
23473 コマンドか
23474 \begin_inset Flex Code
23475 status collapsed
23476
23477 \begin_layout Plain Layout
23478 TransformOption
23479 \end_layout
23480
23481 \end_inset
23482
23483 コマンドを置かなくてはなりません.これを行わないと,この書式での変換はサポートされません.
23484 \end_layout
23485
23486 \begin_layout Subsection
23487 \begin_inset Flex Code
23488 status collapsed
23489
23490 \begin_layout Plain Layout
23491 Format
23492 \end_layout
23493
23494 \end_inset
23495
23496
23497 \end_layout
23498
23499 \begin_layout Description
23500 \begin_inset Flex Code
23501 status collapsed
23502
23503 \begin_layout Plain Layout
23504 Format
23505 \begin_inset space ~
23506 \end_inset
23507
23508 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
23509 \end_layout
23510
23511 \end_inset
23512
23513  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,全書式に対して
23514 \begin_inset Flex Code
23515 status collapsed
23516
23517 \begin_layout Plain Layout
23518 Format
23519 \end_layout
23520
23521 \end_inset
23522
23523 部を定義してください.表示する方法がないときは,ダミーテキストを使用してください.これによって,書き出した文書内で,少なくとも外部素材への参照を見ることができる
23524 ようになります.
23525 \end_layout
23526
23527 \begin_layout Description
23528 \begin_inset Flex Code
23529 status collapsed
23530
23531 \begin_layout Plain Layout
23532 Option
23533 \begin_inset space ~
23534 \end_inset
23535
23536 <名称>
23537 \begin_inset space ~
23538 \end_inset
23539
23540 <値>
23541 \end_layout
23542
23543 \end_inset
23544
23545  このコマンドは,
23546 \begin_inset Flex Code
23547 status collapsed
23548
23549 \begin_layout Plain Layout
23550 Product
23551 \end_layout
23552
23553 \end_inset
23554
23555 での代入に使うマクロ
23556 \begin_inset Flex Code
23557 status collapsed
23558
23559 \begin_layout Plain Layout
23560 $$<名称>
23561 \end_layout
23562
23563 \end_inset
23564
23565 を新たに定義します.
23566 \begin_inset Flex Code
23567 status collapsed
23568
23569 \begin_layout Plain Layout
23570 <値>
23571 \end_layout
23572
23573 \end_inset
23574
23575 自体にも代入マクロを使うことができます.
23576 \begin_inset Flex Code
23577 status collapsed
23578
23579 \begin_layout Plain Layout
23580 Product
23581 \end_layout
23582
23583 \end_inset
23584
23585
23586 \begin_inset Flex Code
23587 status collapsed
23588
23589 \begin_layout Plain Layout
23590 <値>
23591 \end_layout
23592
23593 \end_inset
23594
23595 を直接使用するよりも優れた点は,
23596 \begin_inset Flex Code
23597 status collapsed
23598
23599 \begin_layout Plain Layout
23600 $$<名称>
23601 \end_layout
23602
23603 \end_inset
23604
23605 に代入された値が,その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
23606 \end_layout
23607
23608 \begin_layout Description
23609 \begin_inset Flex Code
23610 status collapsed
23611
23612 \begin_layout Plain Layout
23613 Product
23614 \begin_inset space ~
23615 \end_inset
23616
23617 <文>
23618 \end_layout
23619
23620 \end_inset
23621
23622  書き出された文書に挿入される文.実のところ,これが最も重要なコマンドであり,とても複雑になることがあります.このコマンドは,一度だけ必ず現れなくてはなりません
23623
23624 \end_layout
23625
23626 \begin_layout Description
23627 \begin_inset Flex Code
23628 status collapsed
23629
23630 \begin_layout Plain Layout
23631 Preamble
23632 \begin_inset space ~
23633 \end_inset
23634
23635 <名称>
23636 \end_layout
23637
23638 \end_inset
23639
23640  このコマンドは,\SpecialChar LaTeX
23641 プリアンブルに入れるプリアンブル片を指定します.これは
23642 \begin_inset Flex Code
23643 status collapsed
23644
23645 \begin_layout Plain Layout
23646 PreambleDef
23647 \end_layout
23648
23649 \end_inset
23650
23651  \SpecialChar ldots
23652  
23653 \begin_inset Flex Code
23654 status collapsed
23655
23656 \begin_layout Plain Layout
23657 PreambleDefEnd
23658 \end_layout
23659
23660 \end_inset
23661
23662 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
23663 \end_layout
23664
23665 \begin_layout Description
23666 \begin_inset Flex Code
23667 status collapsed
23668
23669 \begin_layout Plain Layout
23670 ReferencedFile
23671 \begin_inset space ~
23672 \end_inset
23673
23674 <書式>
23675 \begin_inset space ~
23676 \end_inset
23677
23678 <ファイル名>
23679 \end_layout
23680
23681 \end_inset
23682
23683  このコマンドは,変換過程で生成され,特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,親文書に対する相対パスとして解釈さ
23684 れます.このコマンドは全く登場しなくても1回以上現れても構いません.
23685 \end_layout
23686
23687 \begin_layout Description
23688 \begin_inset Flex Code
23689 status collapsed
23690
23691 \begin_layout Plain Layout
23692 Requirement
23693 \begin_inset space ~
23694 \end_inset
23695
23696 <package>
23697 \end_layout
23698
23699 \end_inset
23700
23701  必要とされる\SpecialChar LaTeX
23702 パッケージ名.パッケージは,\SpecialChar LaTeX
23703 プリアンブル中で
23704 \begin_inset Flex Code
23705 status collapsed
23706
23707 \begin_layout Plain Layout
23708
23709 \backslash
23710 usepackage{}
23711 \end_layout
23712
23713 \end_inset
23714
23715 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
23716 \end_layout
23717
23718 \begin_layout Description
23719 \begin_inset Flex Code
23720 status collapsed
23721
23722 \begin_layout Plain Layout
23723 TransformCommand
23724 \begin_inset space ~
23725 \end_inset
23726
23727 Rotate
23728 \begin_inset space ~
23729 \end_inset
23730
23731 RotationLatexCommand
23732 \end_layout
23733
23734 \end_inset
23735
23736  このコマンドは,回転用に,組み込みの\SpecialChar LaTeX
23737 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23738 \end_layout
23739
23740 \begin_layout Description
23741 \begin_inset Flex Code
23742 status collapsed
23743
23744 \begin_layout Plain Layout
23745 TransformCommand
23746 \begin_inset space ~
23747 \end_inset
23748
23749 Resize
23750 \begin_inset space ~
23751 \end_inset
23752
23753 ResizeLatexCommand
23754 \end_layout
23755
23756 \end_inset
23757
23758  このコマンドは,伸縮用に,組み込みの\SpecialChar LaTeX
23759 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23760 \end_layout
23761
23762 \begin_layout Description
23763 \begin_inset Flex Code
23764 status collapsed
23765
23766 \begin_layout Plain Layout
23767 TransformOption
23768 \begin_inset space ~
23769 \end_inset
23770
23771 Rotate
23772 \begin_inset space ~
23773 \end_inset
23774
23775 RotationLatexOption
23776 \end_layout
23777
23778 \end_inset
23779
23780  このコマンドは,回転が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23781 \end_layout
23782
23783 \begin_layout Description
23784 \begin_inset Flex Code
23785 status collapsed
23786
23787 \begin_layout Plain Layout
23788 TransformOption
23789 \begin_inset space ~
23790 \end_inset
23791
23792 Resize
23793 \begin_inset space ~
23794 \end_inset
23795
23796 ResizeLatexOption
23797 \end_layout
23798
23799 \end_inset
23800
23801  このコマンドは,伸縮が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23802 \end_layout
23803
23804 \begin_layout Description
23805 \begin_inset Flex Code
23806 status collapsed
23807
23808 \begin_layout Plain Layout
23809 TransformOption
23810 \begin_inset space ~
23811 \end_inset
23812
23813 Clip
23814 \begin_inset space ~
23815 \end_inset
23816
23817 ClipLatexOption
23818 \end_layout
23819
23820 \end_inset
23821
23822  このコマンドは,切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23823 \end_layout
23824
23825 \begin_layout Description
23826 \begin_inset Flex Code
23827 status collapsed
23828
23829 \begin_layout Plain Layout
23830 TransformOption
23831 \begin_inset space ~
23832 \end_inset
23833
23834 Extra
23835 \begin_inset space ~
23836 \end_inset
23837
23838 ExtraLatexOption
23839 \end_layout
23840
23841 \end_inset
23842
23843  このコマンドは,追加の非必須引数を使用することを指定します.このコマンドは,1回現れても全く現れなくても構いません.
23844 \end_layout
23845
23846 \begin_layout Description
23847 \begin_inset Flex Code
23848 status collapsed
23849
23850 \begin_layout Plain Layout
23851 UpdateFormat
23852 \begin_inset space ~
23853 \end_inset
23854
23855 <書式>
23856 \end_layout
23857
23858 \end_inset
23859
23860  変換されたファイルのファイル形式.これは,\SpecialChar LyX
23861 が知っている書式名でなくてはなりません(
23862 \begin_inset Flex MenuItem
23863 status collapsed
23864
23865 \begin_layout Plain Layout
23866 ツール\SpecialChar menuseparator
23867 設定\SpecialChar menuseparator
23868 ファイル処理\SpecialChar menuseparator
23869 ファイル書式
23870 \end_layout
23871
23872 \end_inset
23873
23874 ダイアログを参照).このコマンドは,一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,書式
23875 \begin_inset Flex Code
23876 status collapsed
23877
23878 \begin_layout Plain Layout
23879 pdf6
23880 \end_layout
23881
23882 \end_inset
23883
23884 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
23885 \end_layout
23886
23887 \begin_layout Description
23888 \begin_inset Flex Code
23889 status collapsed
23890
23891 \begin_layout Plain Layout
23892 UpdateResult
23893 \begin_inset space ~
23894 \end_inset
23895
23896 <ファイル名>
23897 \end_layout
23898
23899 \end_inset
23900
23901  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,一度だけ必ず現れなくてはなりません.
23902 \end_layout
23903
23904 \begin_layout Subsection
23905 プリアンブルの定義
23906 \end_layout
23907
23908 \begin_layout Standard
23909 外用ひな型設定ファイルには,
23910 \begin_inset Flex Code
23911 status collapsed
23912
23913 \begin_layout Plain Layout
23914 PreambleDef
23915 \end_layout
23916
23917 \end_inset
23918
23919  \SpecialChar ldots
23920  
23921 \begin_inset Flex Code
23922 status collapsed
23923
23924 \begin_layout Plain Layout
23925 PreambleDefEnd
23926 \end_layout
23927
23928 \end_inset
23929
23930 で囲んだプリアンブル定義を追加することができます.これらの定義は,ひな型の
23931 \begin_inset Flex Code
23932 status collapsed
23933
23934 \begin_layout Plain Layout
23935 Format
23936 \end_layout
23937
23938 \end_inset
23939
23940 部で使用することができます.
23941 \end_layout
23942
23943 \begin_layout Section
23944 代入機構
23945 \end_layout
23946
23947 \begin_layout Standard
23948 外部素材機構が外部プログラムを呼び出すときには,ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,実行前に展開されるマクロをい
23949 ろいろ入れることができます.実行は,つねに元の文書があるディレクトリで行われます.
23950 \end_layout
23951
23952 \begin_layout Standard
23953 また,外部素材が表示されるときにはいつでも,その名称は代入機構によって組み立てられ,ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
23954 \end_layout
23955
23956 \begin_layout Standard
23957 使用できるマクロは以下の通りです.
23958 \end_layout
23959
23960 \begin_layout Description
23961 \begin_inset Flex Code
23962 status collapsed
23963
23964 \begin_layout Plain Layout
23965 $$AbsOrRelPathMaster
23966 \end_layout
23967
23968 \end_inset
23969
23970  \SpecialChar LyX
23971 親文書への絶対ファイルパスないしは相対ファイルパス
23972 \end_layout
23973
23974 \begin_layout Description
23975 \begin_inset Flex Code
23976 status collapsed
23977
23978 \begin_layout Plain Layout
23979 $$AbsOrRelPathParent
23980 \end_layout
23981
23982 \end_inset
23983
23984  \SpecialChar LyX
23985 文書への絶対ファイルパスないしは相対ファイルパス
23986 \end_layout
23987
23988 \begin_layout Description
23989 \begin_inset Flex Code
23990 status collapsed
23991
23992 \begin_layout Plain Layout
23993 $$AbsPath
23994 \end_layout
23995
23996 \end_inset
23997
23998  絶対ファイルパス
23999 \end_layout
24000
24001 \begin_layout Description
24002 \begin_inset Flex Code
24003 status collapsed
24004
24005 \begin_layout Plain Layout
24006 $$Basename
24007 \end_layout
24008
24009 \end_inset
24010
24011  パスおよび拡張子を除いたファイル名
24012 \end_layout
24013
24014 \begin_layout Description
24015 \begin_inset Flex Code
24016 status collapsed
24017
24018 \begin_layout Plain Layout
24019 $$Contents(
24020 \begin_inset Quotes eld
24021 \end_inset
24022
24023 filename.ext
24024 \begin_inset Quotes erd
24025 \end_inset
24026
24027 )
24028 \end_layout
24029
24030 \end_inset
24031
24032  このマクロは,
24033 \begin_inset Flex Code
24034 status collapsed
24035
24036 \begin_layout Plain Layout
24037 filename.ext
24038 \end_layout
24039
24040 \end_inset
24041
24042 と云う名のファイルの中身を展開します.
24043 \end_layout
24044
24045 \begin_layout Description
24046 \begin_inset Flex Code
24047 status collapsed
24048
24049 \begin_layout Plain Layout
24050 $$Extension
24051 \end_layout
24052
24053 \end_inset
24054
24055  ファイル拡張子(点を含む)
24056 \end_layout
24057
24058 \begin_layout Description
24059 \begin_inset Flex Code
24060 status collapsed
24061
24062 \begin_layout Plain Layout
24063 $$pngOrjpg
24064 \end_layout
24065
24066 \end_inset
24067
24068  これは,ファイルがJPEG形式の場合は,文字列「jpg」となり,それ以外では文字列「png」となります.これは,PNG形式とJPEG形式の両方をサポートする出
24069 力形式に対して,不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,pdf\SpecialChar TeX
24070 出力形式に対してこのマクロを使用します.
24071 \end_layout
24072
24073 \begin_layout Description
24074 \begin_inset Flex Code
24075 status collapsed
24076
24077 \begin_layout Plain Layout
24078 $$FName
24079 \end_layout
24080
24081 \end_inset
24082
24083  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
24084 文書への絶対パスでも良いですし,相対パスでも構いません.
24085 \end_layout
24086
24087 \begin_layout Description
24088 \begin_inset Flex Code
24089 status collapsed
24090
24091 \begin_layout Plain Layout
24092 $$FPath
24093 \end_layout
24094
24095 \end_inset
24096
24097  
24098 \begin_inset Flex Code
24099 status collapsed
24100
24101 \begin_layout Plain Layout
24102 $$FName
24103 \end_layout
24104
24105 \end_inset
24106
24107 のパス部分(\SpecialChar LyX
24108 文書への絶対パス名か相対パス名)
24109 \end_layout
24110
24111 \begin_layout Description
24112 \begin_inset Flex Code
24113 status collapsed
24114
24115 \begin_layout Plain Layout
24116 $$RelPathMaster
24117 \end_layout
24118
24119 \end_inset
24120
24121  \SpecialChar LyX
24122 親文書への相対ファイルパス
24123 \end_layout
24124
24125 \begin_layout Description
24126 \begin_inset Flex Code
24127 status collapsed
24128
24129 \begin_layout Plain Layout
24130 $$RelPathParent
24131 \end_layout
24132
24133 \end_inset
24134
24135  \SpecialChar LyX
24136 文書への相対ファイルパス
24137 \end_layout
24138
24139 \begin_layout Description
24140 \begin_inset Flex Code
24141 status collapsed
24142
24143 \begin_layout Plain Layout
24144 $$Sysdir
24145 \end_layout
24146
24147 \end_inset
24148
24149  このマクロは,システムディレクトリの絶対パスを展開します.これは,典型的には,\SpecialChar LyX
24150 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
24151 \end_layout
24152
24153 \begin_layout Description
24154 \begin_inset Flex Code
24155 status collapsed
24156
24157 \begin_layout Plain Layout
24158 $$Tempname
24159 \end_layout
24160
24161 \end_inset
24162
24163  元の文書が閉じられたり,挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
24164 \end_layout
24165
24166 \begin_layout Standard
24167 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,たとえば絶対パスのファイル名を 
24168 \begin_inset Flex Code
24169 status collapsed
24170
24171 \begin_layout Plain Layout
24172 $$AbsPath$$Basename$$Extension
24173 \end_layout
24174
24175 \end_inset
24176
24177 のようにして作ることができます.
24178 \end_layout
24179
24180 \begin_layout Standard
24181 上記マクロは,特記しない限りはすべてのコマンドで代入が行われます.
24182 \begin_inset Flex Code
24183 status collapsed
24184
24185 \begin_layout Plain Layout
24186 Transform
24187 \end_layout
24188
24189 \end_inset
24190
24191 コマンドと
24192 \begin_inset Flex Code
24193 status collapsed
24194
24195 \begin_layout Plain Layout
24196 TransformCommand
24197 \end_layout
24198
24199 \end_inset
24200
24201 コマンドが有効にされている場合,
24202 \begin_inset Flex Code
24203 status collapsed
24204
24205 \begin_layout Plain Layout
24206 Product
24207 \end_layout
24208
24209 \end_inset
24210
24211 コマンドは,これらに加えて以下の代入もサポートします.
24212 \end_layout
24213
24214 \begin_layout Description
24215 \begin_inset Flex Code
24216 status collapsed
24217
24218 \begin_layout Plain Layout
24219 $$ResizeFront
24220 \end_layout
24221
24222 \end_inset
24223
24224  伸縮コマンドの前置部.
24225 \end_layout
24226
24227 \begin_layout Description
24228 \begin_inset Flex Code
24229 status collapsed
24230
24231 \begin_layout Plain Layout
24232 $$ResizeBack
24233 \end_layout
24234
24235 \end_inset
24236
24237  伸縮コマンドの後置部.
24238 \end_layout
24239
24240 \begin_layout Description
24241 \begin_inset Flex Code
24242 status collapsed
24243
24244 \begin_layout Plain Layout
24245 $$RotateFront
24246 \end_layout
24247
24248 \end_inset
24249
24250  回転コマンドの前置部.
24251 \end_layout
24252
24253 \begin_layout Description
24254 \begin_inset Flex Code
24255 status collapsed
24256
24257 \begin_layout Plain Layout
24258 $$RotateBack
24259 \end_layout
24260
24261 \end_inset
24262
24263  回転コマンドの後置部.
24264 \end_layout
24265
24266 \begin_layout Standard
24267 \begin_inset Flex Code
24268 status collapsed
24269
24270 \begin_layout Plain Layout
24271 Option
24272 \end_layout
24273
24274 \end_inset
24275
24276 コマンドの値に入れる文字列では,
24277 \begin_inset Flex Code
24278 status collapsed
24279
24280 \begin_layout Plain Layout
24281 Transform
24282 \end_layout
24283
24284 \end_inset
24285
24286 コマンドと
24287 \begin_inset Flex Code
24288 status collapsed
24289
24290 \begin_layout Plain Layout
24291 TransformOption
24292 \end_layout
24293
24294 \end_inset
24295
24296 コマンドが有効にされていれば,以下の代入もサポートされます.
24297 \end_layout
24298
24299 \begin_layout Description
24300 \begin_inset Flex Code
24301 status collapsed
24302
24303 \begin_layout Plain Layout
24304 $$Clip
24305 \end_layout
24306
24307 \end_inset
24308
24309  切り抜きオプション.
24310 \end_layout
24311
24312 \begin_layout Description
24313 \begin_inset Flex Code
24314 status collapsed
24315
24316 \begin_layout Plain Layout
24317 $$Extra
24318 \end_layout
24319
24320 \end_inset
24321
24322  追加オプション.
24323 \end_layout
24324
24325 \begin_layout Description
24326 \begin_inset Flex Code
24327 status collapsed
24328
24329 \begin_layout Plain Layout
24330 $$Resize
24331 \end_layout
24332
24333 \end_inset
24334
24335  伸縮オプション.
24336 \end_layout
24337
24338 \begin_layout Description
24339 \begin_inset Flex Code
24340 status collapsed
24341
24342 \begin_layout Plain Layout
24343 $$Rotate
24344 \end_layout
24345
24346 \end_inset
24347
24348  回転オプション.
24349 \end_layout
24350
24351 \begin_layout Standard
24352 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
24353 \end_layout
24354
24355 \begin_layout Enumerate
24356 相対ファイル名と絶対ファイル名は,それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえ
24357 ば相対名は,いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,プログラムによっては必要とされることがあり得ます.
24358 \end_layout
24359
24360 \begin_layout Enumerate
24361 \SpecialChar LaTeX
24362 は,相対ファイル名に関して,\SpecialChar LyX
24363 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
24364 にとって相対ファイル名とは,常にこのファイル名が書か
24365 れている文書に対して相対的なものになります.\SpecialChar LaTeX
24366 にとっての相対ファイル名は,常に親文書に対するものになります.これら二つの定義は,一つの文書しかないときには同じです
24367 が,部分文書を含む親文書があるときには異なったものとなってきます.つまり,相対ファイル名は,\SpecialChar LaTeX
24368 に提示されるときに変換されなくてはならないのです.幸い,正しいマクロ
24369 を選びさえすれば,これは\SpecialChar LyX
24370 が自動的に行ってくれます.
24371 \end_layout
24372
24373 \begin_layout Standard
24374 すると,新しく作ったひな型定義では,どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
24375 \end_layout
24376
24377 \begin_layout Itemize
24378 絶対パスが必要とされるときには
24379 \begin_inset Flex Code
24380 status collapsed
24381
24382 \begin_layout Plain Layout
24383 $$AbsPath
24384 \end_layout
24385
24386 \end_inset
24387
24388 を使う.
24389 \end_layout
24390
24391 \begin_layout Itemize
24392 代入された文字列が,\SpecialChar LaTeX
24393 インプットの一種である場合には,
24394 \begin_inset Flex Code
24395 status collapsed
24396
24397 \begin_layout Plain Layout
24398 $$AbsOrRelPathMaster
24399 \end_layout
24400
24401 \end_inset
24402
24403 を使う.
24404 \end_layout
24405
24406 \begin_layout Itemize
24407 それ以外ならば,ユーザの選択を尊重するために
24408 \begin_inset Flex Code
24409 status collapsed
24410
24411 \begin_layout Plain Layout
24412 $$AbsOrRelPathParent
24413 \end_layout
24414
24415 \end_inset
24416
24417 を使う.
24418 \end_layout
24419
24420 \begin_layout Standard
24421 このルールが機能せずに,たとえば相対名が必要となる特殊な場合もありますが,通常,上記でうまく動作します.特殊例の例としては,上述のXFigひな型での
24422 \begin_inset Flex Code
24423 status collapsed
24424
24425 \begin_layout Plain Layout
24426 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
24427 \end_layout
24428
24429 \end_inset
24430
24431 というコマンドがあります.この場合,
24432 \begin_inset Flex Code
24433 status collapsed
24434
24435 \begin_layout Plain Layout
24436 .pstex_t
24437 \end_layout
24438
24439 \end_inset
24440
24441 ファイルの複写子は,ファイル内容を書き換えるのに相対名を必要とするために,絶対名を使用することができないのです.
24442 \end_layout
24443
24444 \begin_layout Section
24445 セキュリティに関する論点
24446 \begin_inset CommandInset label
24447 LatexCommand label
24448 name "sec:セキュリティに関する論点"
24449
24450 \end_inset
24451
24452
24453 \end_layout
24454
24455 \begin_layout Standard
24456 外部素材機能は,多くの外部プログラムとの橋渡しをし,しかもそれを自動的に行うので,そのセキュリティ面での帰結を考慮しなくてはなりません.特に,ユーザは好きなファ
24457 イル名やパラメータ文字列を含めることが許されていて,しかもそれらがコマンドに展開されるので,ユーザが文書を閲覧したり印刷したりしたときに,任意のコマンドを実行す
24458 ることができるような悪意ある文書を作成することが可能となりましょう.これは,我々がぜひとも避けたいことなのです.
24459 \end_layout
24460
24461 \begin_layout Standard
24462 しかしながら,外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,\SpecialChar LyX
24463 が安全なひな型でのみ適切に設定されているならば,セキュリティ上の問題は発生しま
24464 せん.これは,外部プログラムが
24465 \begin_inset Flex Code
24466 status collapsed
24467
24468 \begin_layout Plain Layout
24469 system
24470 \end_layout
24471
24472 \end_inset
24473
24474 システムコールではなく,
24475 \begin_inset Flex Code
24476 status collapsed
24477
24478 \begin_layout Plain Layout
24479 execvp
24480 \end_layout
24481
24482 \end_inset
24483
24484 システムコールで呼び出されているため,ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
24485 \end_layout
24486
24487 \begin_layout Standard
24488 これは,外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,制限があることを意味します.特に,パイプやリダイレクトはそのまま使用することは
24489 できません.これは,\SpecialChar LyX
24490 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,これを完全に統御の下においたまま行う安全なス
24491 クリプトを書いた上で,このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
24492 \end_layout
24493
24494 \begin_layout Standard
24495 シェルと直接やりとりするひな型を設計することは可能ではありますが,悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,任意のコマンドを実行できるよ
24496 うになるため,一般的には,統御下に置いた状態で
24497 \begin_inset Flex Code
24498 status collapsed
24499
24500 \begin_layout Plain Layout
24501 execvp
24502 \end_layout
24503
24504 \end_inset
24505
24506 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,管理された環境下で使用する分には,通常のシェルスクリプトを使用する方に流れる誘
24507 惑はあります.そうした場合には,お使いのシステムに簡単に濫用することのできるセキュリティホールを,
24508 \emph on
24509 間違いなく
24510 \emph default
24511 導入することを理解しておいてください.オープンソースの伝統に従って,私たちは人々に新しいひな型を投稿してくれるよう促していますが,そのような安全でないひな型はL
24512 yXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
24513 には,安全でないひな型は決して入っていません
24514
24515 \end_layout
24516
24517 \begin_layout Standard
24518 外部素材を含めることで強力な力を手に入れることができますが,この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリ
24519 プトのたった一行に入り込んだ,ちょっとしたエラーが,巨大なセキュリティ上の問題に扉を開きうるのです.したがって,もしこの問題を完全に理解していないならば,特定の
24520 ひな型が安全であるかどうか疑問がある際には,知識豊富なセキュリティの専門家か,\SpecialChar LyX
24521 開発チームに相談してみてください.そしてこの相談は,管理されていない環境下でこれを
24522 使用する前に,行うようにしてください.
24523 \end_layout
24524
24525 \begin_layout Chapter
24526 \start_of_appendix
24527 サポートされているレイアウト用\SpecialChar LyX
24528 関数一覧
24529 \begin_inset CommandInset label
24530 LatexCommand label
24531 name "chap:関数一覧"
24532
24533 \end_inset
24534
24535
24536 \end_layout
24537
24538 \begin_layout Standard
24539 \align center
24540 \begin_inset Tabular
24541 <lyxtabular version="3" rows="11" columns="8">
24542 <features tabularvalignment="middle">
24543 <column alignment="left" valignment="top">
24544 <column alignment="left" valignment="top">
24545 <column alignment="left" valignment="top">
24546 <column alignment="left" valignment="top">
24547 <column alignment="left" valignment="top">
24548 <column alignment="left" valignment="top">
24549 <column alignment="left" valignment="top">
24550 <column alignment="left" valignment="top">
24551 <row>
24552 <cell alignment="left" valignment="top" usebox="none">
24553 \begin_inset Text
24554
24555 \begin_layout Plain Layout
24556 accents
24557 \end_layout
24558
24559 \end_inset
24560 </cell>
24561 <cell alignment="left" valignment="top" usebox="none">
24562 \begin_inset Text
24563
24564 \begin_layout Plain Layout
24565 booktabs
24566 \end_layout
24567
24568 \end_inset
24569 </cell>
24570 <cell alignment="left" valignment="top" usebox="none">
24571 \begin_inset Text
24572
24573 \begin_layout Plain Layout
24574 feyn
24575 \end_layout
24576
24577 \end_inset
24578 </cell>
24579 <cell alignment="left" valignment="top" usebox="none">
24580 \begin_inset Text
24581
24582 \begin_layout Plain Layout
24583 listings
24584 \end_layout
24585
24586 \end_inset
24587 </cell>
24588 <cell alignment="center" valignment="top" usebox="none">
24589 \begin_inset Text
24590
24591 \begin_layout Plain Layout
24592 natbib
24593 \end_layout
24594
24595 \end_inset
24596 </cell>
24597 <cell alignment="center" valignment="top" usebox="none">
24598 \begin_inset Text
24599
24600 \begin_layout Plain Layout
24601 rotfloat
24602 \end_layout
24603
24604 \end_inset
24605 </cell>
24606 <cell alignment="center" valignment="top" usebox="none">
24607 \begin_inset Text
24608
24609 \begin_layout Plain Layout
24610 tfrupee
24611 \end_layout
24612
24613 \end_inset
24614 </cell>
24615 <cell alignment="center" valignment="top" usebox="none">
24616 \begin_inset Text
24617
24618 \begin_layout Plain Layout
24619 wasysym
24620 \end_layout
24621
24622 \end_inset
24623 </cell>
24624 </row>
24625 <row>
24626 <cell alignment="left" valignment="top" usebox="none">
24627 \begin_inset Text
24628
24629 \begin_layout Plain Layout
24630 amsbsy
24631 \end_layout
24632
24633 \end_inset
24634 </cell>
24635 <cell alignment="left" valignment="top" usebox="none">
24636 \begin_inset Text
24637
24638 \begin_layout Plain Layout
24639 calc
24640 \end_layout
24641
24642 \end_inset
24643 </cell>
24644 <cell alignment="left" valignment="top" usebox="none">
24645 \begin_inset Text
24646
24647 \begin_layout Plain Layout
24648 fixltx2e
24649 \end_layout
24650
24651 \end_inset
24652 </cell>
24653 <cell alignment="left" valignment="top" usebox="none">
24654 \begin_inset Text
24655
24656 \begin_layout Plain Layout
24657 longtable
24658 \end_layout
24659
24660 \end_inset
24661 </cell>
24662 <cell alignment="center" valignment="top" usebox="none">
24663 \begin_inset Text
24664
24665 \begin_layout Plain Layout
24666 nomencl
24667 \end_layout
24668
24669 \end_inset
24670 </cell>
24671 <cell alignment="center" valignment="top" usebox="none">
24672 \begin_inset Text
24673
24674 \begin_layout Plain Layout
24675 rsphrase
24676 \end_layout
24677
24678 \end_inset
24679 </cell>
24680 <cell alignment="center" valignment="top" usebox="none">
24681 \begin_inset Text
24682
24683 \begin_layout Plain Layout
24684 tipa
24685 \end_layout
24686
24687 \end_inset
24688 </cell>
24689 <cell alignment="center" valignment="top" usebox="none">
24690 \begin_inset Text
24691
24692 \begin_layout Plain Layout
24693 wrapfig
24694 \end_layout
24695
24696 \end_inset
24697 </cell>
24698 </row>
24699 <row>
24700 <cell alignment="left" valignment="top" usebox="none">
24701 \begin_inset Text
24702
24703 \begin_layout Plain Layout
24704 amscd
24705 \end_layout
24706
24707 \end_inset
24708 </cell>
24709 <cell alignment="left" valignment="top" usebox="none">
24710 \begin_inset Text
24711
24712 \begin_layout Plain Layout
24713 CJK
24714 \end_layout
24715
24716 \end_inset
24717 </cell>
24718 <cell alignment="left" valignment="top" usebox="none">
24719 \begin_inset Text
24720
24721 \begin_layout Plain Layout
24722 float
24723 \end_layout
24724
24725 \end_inset
24726 </cell>
24727 <cell alignment="left" valignment="top" usebox="none">
24728 \begin_inset Text
24729
24730 \begin_layout Plain Layout
24731 lyxskak
24732 \end_layout
24733
24734 \end_inset
24735 </cell>
24736 <cell alignment="center" valignment="top" usebox="none">
24737 \begin_inset Text
24738
24739 \begin_layout Plain Layout
24740 pdfcolmk
24741 \end_layout
24742
24743 \end_inset
24744 </cell>
24745 <cell alignment="center" valignment="top" usebox="none">
24746 \begin_inset Text
24747
24748 \begin_layout Plain Layout
24749 setspace
24750 \end_layout
24751
24752 \end_inset
24753 </cell>
24754 <cell alignment="center" valignment="top" usebox="none">
24755 \begin_inset Text
24756
24757 \begin_layout Plain Layout
24758 tipx
24759 \end_layout
24760
24761 \end_inset
24762 </cell>
24763 <cell alignment="center" valignment="top" usebox="none">
24764 \begin_inset Text
24765
24766 \begin_layout Plain Layout
24767 xargs
24768 \end_layout
24769
24770 \end_inset
24771 </cell>
24772 </row>
24773 <row>
24774 <cell alignment="left" valignment="top" usebox="none">
24775 \begin_inset Text
24776
24777 \begin_layout Plain Layout
24778 amsmath
24779 \end_layout
24780
24781 \end_inset
24782 </cell>
24783 <cell alignment="left" valignment="top" usebox="none">
24784 \begin_inset Text
24785
24786 \begin_layout Plain Layout
24787 color
24788 \end_layout
24789
24790 \end_inset
24791 </cell>
24792 <cell alignment="left" valignment="top" usebox="none">
24793 \begin_inset Text
24794
24795 \begin_layout Plain Layout
24796 framed
24797 \end_layout
24798
24799 \end_inset
24800 </cell>
24801 <cell alignment="left" valignment="top" usebox="none">
24802 \begin_inset Text
24803
24804 \begin_layout Plain Layout
24805 makeidx
24806 \end_layout
24807
24808 \end_inset
24809 </cell>
24810 <cell alignment="center" valignment="top" usebox="none">
24811 \begin_inset Text
24812
24813 \begin_layout Plain Layout
24814 pdfpages
24815 \end_layout
24816
24817 \end_inset
24818 </cell>
24819 <cell alignment="center" valignment="top" usebox="none">
24820 \begin_inset Text
24821
24822 \begin_layout Plain Layout
24823 shapepar
24824 \end_layout
24825
24826 \end_inset
24827 </cell>
24828 <cell alignment="center" valignment="top" usebox="none">
24829 \begin_inset Text
24830
24831 \begin_layout Plain Layout
24832 tone
24833 \end_layout
24834
24835 \end_inset
24836 </cell>
24837 <cell alignment="center" valignment="top" usebox="none">
24838 \begin_inset Text
24839
24840 \begin_layout Plain Layout
24841 xcolor
24842 \end_layout
24843
24844 \end_inset
24845 </cell>
24846 </row>
24847 <row>
24848 <cell alignment="left" valignment="top" usebox="none">
24849 \begin_inset Text
24850
24851 \begin_layout Plain Layout
24852 amssymb
24853 \end_layout
24854
24855 \end_inset
24856 </cell>
24857 <cell alignment="left" valignment="top" usebox="none">
24858 \begin_inset Text
24859
24860 \begin_layout Plain Layout
24861 covington
24862 \end_layout
24863
24864 \end_inset
24865 </cell>
24866 <cell alignment="left" valignment="top" usebox="none">
24867 \begin_inset Text
24868
24869 \begin_layout Plain Layout
24870 graphicx
24871 \end_layout
24872
24873 \end_inset
24874 </cell>
24875 <cell alignment="left" valignment="top" usebox="none">
24876 \begin_inset Text
24877
24878 \begin_layout Plain Layout
24879 marvosym
24880 \end_layout
24881
24882 \end_inset
24883 </cell>
24884 <cell alignment="center" valignment="top" usebox="none">
24885 \begin_inset Text
24886
24887 \begin_layout Plain Layout
24888 pifont
24889 \end_layout
24890
24891 \end_inset
24892 </cell>
24893 <cell alignment="center" valignment="top" usebox="none">
24894 \begin_inset Text
24895
24896 \begin_layout Plain Layout
24897 slashed
24898 \end_layout
24899
24900 \end_inset
24901 </cell>
24902 <cell alignment="center" valignment="top" usebox="none">
24903 \begin_inset Text
24904
24905 \begin_layout Plain Layout
24906 txfonts
24907 \end_layout
24908
24909 \end_inset
24910 </cell>
24911 <cell alignment="center" valignment="top" usebox="none">
24912 \begin_inset Text
24913
24914 \begin_layout Plain Layout
24915 xy
24916 \end_layout
24917
24918 \end_inset
24919 </cell>
24920 </row>
24921 <row>
24922 <cell alignment="left" valignment="top" usebox="none">
24923 \begin_inset Text
24924
24925 \begin_layout Plain Layout
24926 amstext
24927 \end_layout
24928
24929 \end_inset
24930 </cell>
24931 <cell alignment="left" valignment="top" usebox="none">
24932 \begin_inset Text
24933
24934 \begin_layout Plain Layout
24935 csquotes
24936 \end_layout
24937
24938 \end_inset
24939 </cell>
24940 <cell alignment="left" valignment="top" usebox="none">
24941 \begin_inset Text
24942
24943 \begin_layout Plain Layout
24944 hhline
24945 \end_layout
24946
24947 \end_inset
24948 </cell>
24949 <cell alignment="left" valignment="top" usebox="none">
24950 \begin_inset Text
24951
24952 \begin_layout Plain Layout
24953 mathdesign
24954 \end_layout
24955
24956 \end_inset
24957 </cell>
24958 <cell alignment="center" valignment="top" usebox="none">
24959 \begin_inset Text
24960
24961 \begin_layout Plain Layout
24962 pmboxdraw
24963 \end_layout
24964
24965 \end_inset
24966 </cell>
24967 <cell alignment="center" valignment="top" usebox="none">
24968 \begin_inset Text
24969
24970 \begin_layout Plain Layout
24971 soul
24972 \end_layout
24973
24974 \end_inset
24975 </cell>
24976 <cell alignment="center" valignment="top" usebox="none">
24977 \begin_inset Text
24978
24979 \begin_layout Plain Layout
24980 ulem
24981 \end_layout
24982
24983 \end_inset
24984 </cell>
24985 <cell alignment="center" valignment="top" usebox="none">
24986 \begin_inset Text
24987
24988 \begin_layout Plain Layout
24989 yhmath
24990 \end_layout
24991
24992 \end_inset
24993 </cell>
24994 </row>
24995 <row>
24996 <cell alignment="left" valignment="top" usebox="none">
24997 \begin_inset Text
24998
24999 \begin_layout Plain Layout
25000 amsthm
25001 \end_layout
25002
25003 \end_inset
25004 </cell>
25005 <cell alignment="left" valignment="top" usebox="none">
25006 \begin_inset Text
25007
25008 \begin_layout Plain Layout
25009 dvipost
25010 \end_layout
25011
25012 \end_inset
25013 </cell>
25014 <cell alignment="left" valignment="top" usebox="none">
25015 \begin_inset Text
25016
25017 \begin_layout Plain Layout
25018 hyperref
25019 \end_layout
25020
25021 \end_inset
25022 </cell>
25023 <cell alignment="left" valignment="top" usebox="none">
25024 \begin_inset Text
25025
25026 \begin_layout Plain Layout
25027 mathdots
25028 \end_layout
25029
25030 \end_inset
25031 </cell>
25032 <cell alignment="center" valignment="top" usebox="none">
25033 \begin_inset Text
25034
25035 \begin_layout Plain Layout
25036 polyglossia
25037 \end_layout
25038
25039 \end_inset
25040 </cell>
25041 <cell alignment="center" valignment="top" usebox="none">
25042 \begin_inset Text
25043
25044 \begin_layout Plain Layout
25045 splitidx
25046 \end_layout
25047
25048 \end_inset
25049 </cell>
25050 <cell alignment="center" valignment="top" usebox="none">
25051 \begin_inset Text
25052
25053 \begin_layout Plain Layout
25054 undertilde
25055 \end_layout
25056
25057 \end_inset
25058 </cell>
25059 <cell alignment="center" valignment="top" usebox="none">
25060 \begin_inset Text
25061
25062 \begin_layout Plain Layout
25063
25064 \end_layout
25065
25066 \end_inset
25067 </cell>
25068 </row>
25069 <row>
25070 <cell alignment="left" valignment="top" usebox="none">
25071 \begin_inset Text
25072
25073 \begin_layout Plain Layout
25074 array
25075 \end_layout
25076
25077 \end_inset
25078 </cell>
25079 <cell alignment="left" valignment="top" usebox="none">
25080 \begin_inset Text
25081
25082 \begin_layout Plain Layout
25083 endnotes
25084 \end_layout
25085
25086 \end_inset
25087 </cell>
25088 <cell alignment="left" valignment="top" usebox="none">
25089 \begin_inset Text
25090
25091 \begin_layout Plain Layout
25092 ifsym
25093 \end_layout
25094
25095 \end_inset
25096 </cell>
25097 <cell alignment="left" valignment="top" usebox="none">
25098 \begin_inset Text
25099
25100 \begin_layout Plain Layout
25101 mathrsfs
25102 \end_layout
25103
25104 \end_inset
25105 </cell>
25106 <cell alignment="center" valignment="top" usebox="none">
25107 \begin_inset Text
25108
25109 \begin_layout Plain Layout
25110 prettyref
25111 \end_layout
25112
25113 \end_inset
25114 </cell>
25115 <cell alignment="center" valignment="top" usebox="none">
25116 \begin_inset Text
25117
25118 \begin_layout Plain Layout
25119 subfig
25120 \end_layout
25121
25122 \end_inset
25123 </cell>
25124 <cell alignment="center" valignment="top" usebox="none">
25125 \begin_inset Text
25126
25127 \begin_layout Plain Layout
25128 units
25129 \end_layout
25130
25131 \end_inset
25132 </cell>
25133 <cell alignment="center" valignment="top" usebox="none">
25134 \begin_inset Text
25135
25136 \begin_layout Plain Layout
25137
25138 \end_layout
25139
25140 \end_inset
25141 </cell>
25142 </row>
25143 <row>
25144 <cell alignment="left" valignment="top" usebox="none">
25145 \begin_inset Text
25146
25147 \begin_layout Plain Layout
25148 ascii
25149 \end_layout
25150
25151 \end_inset
25152 </cell>
25153 <cell alignment="left" valignment="top" usebox="none">
25154 \begin_inset Text
25155
25156 \begin_layout Plain Layout
25157 enumitem
25158 \end_layout
25159
25160 \end_inset
25161 </cell>
25162 <cell alignment="left" valignment="top" usebox="none">
25163 \begin_inset Text
25164
25165 \begin_layout Plain Layout
25166 ifthen
25167 \end_layout
25168
25169 \end_inset
25170 </cell>
25171 <cell alignment="left" valignment="top" usebox="none">
25172 \begin_inset Text
25173
25174 \begin_layout Plain Layout
25175 mhchem
25176 \end_layout
25177
25178 \end_inset
25179 </cell>
25180 <cell alignment="center" valignment="top" usebox="none">
25181 \begin_inset Text
25182
25183 \begin_layout Plain Layout
25184 pxfonts
25185 \end_layout
25186
25187 \end_inset
25188 </cell>
25189 <cell alignment="center" valignment="top" usebox="none">
25190 \begin_inset Text
25191
25192 \begin_layout Plain Layout
25193 subscript
25194 \end_layout
25195
25196 \end_inset
25197 </cell>
25198 <cell alignment="center" valignment="top" usebox="none">
25199 \begin_inset Text
25200
25201 \begin_layout Plain Layout
25202 url
25203 \end_layout
25204
25205 \end_inset
25206 </cell>
25207 <cell alignment="center" valignment="top" usebox="none">
25208 \begin_inset Text
25209
25210 \begin_layout Plain Layout
25211
25212 \end_layout
25213
25214 \end_inset
25215 </cell>
25216 </row>
25217 <row>
25218 <cell alignment="left" valignment="top" usebox="none">
25219 \begin_inset Text
25220
25221 \begin_layout Plain Layout
25222 bbding
25223 \end_layout
25224
25225 \end_inset
25226 </cell>
25227 <cell alignment="left" valignment="top" usebox="none">
25228 \begin_inset Text
25229
25230 \begin_layout Plain Layout
25231 esint
25232 \end_layout
25233
25234 \end_inset
25235 </cell>
25236 <cell alignment="left" valignment="top" usebox="none">
25237 \begin_inset Text
25238
25239 \begin_layout Plain Layout
25240 jurabib
25241 \end_layout
25242
25243 \end_inset
25244 </cell>
25245 <cell alignment="left" valignment="top" usebox="none">
25246 \begin_inset Text
25247
25248 \begin_layout Plain Layout
25249 multicol
25250 \end_layout
25251
25252 \end_inset
25253 </cell>
25254 <cell alignment="center" valignment="top" usebox="none">
25255 \begin_inset Text
25256
25257 \begin_layout Plain Layout
25258 refstyle
25259 \end_layout
25260
25261 \end_inset
25262 </cell>
25263 <cell alignment="center" valignment="top" usebox="none">
25264 \begin_inset Text
25265
25266 \begin_layout Plain Layout
25267 textcomp
25268 \end_layout
25269
25270 \end_inset
25271 </cell>
25272 <cell alignment="center" valignment="top" usebox="none">
25273 \begin_inset Text
25274
25275 \begin_layout Plain Layout
25276 varioref
25277 \end_layout
25278
25279 \end_inset
25280 </cell>
25281 <cell alignment="center" valignment="top" usebox="none">
25282 \begin_inset Text
25283
25284 \begin_layout Plain Layout
25285
25286 \end_layout
25287
25288 \end_inset
25289 </cell>
25290 </row>
25291 <row>
25292 <cell alignment="center" valignment="top" usebox="none">
25293 \begin_inset Text
25294
25295 \begin_layout Plain Layout
25296 bm
25297 \end_layout
25298
25299 \end_inset
25300 </cell>
25301 <cell alignment="center" valignment="top" usebox="none">
25302 \begin_inset Text
25303
25304 \begin_layout Plain Layout
25305 fancybox
25306 \end_layout
25307
25308 \end_inset
25309 </cell>
25310 <cell alignment="center" valignment="top" usebox="none">
25311 \begin_inset Text
25312
25313 \begin_layout Plain Layout
25314 latexsym
25315 \end_layout
25316
25317 \end_inset
25318 </cell>
25319 <cell alignment="center" valignment="top" usebox="none">
25320 \begin_inset Text
25321
25322 \begin_layout Plain Layout
25323 multirow
25324 \end_layout
25325
25326 \end_inset
25327 </cell>
25328 <cell alignment="center" valignment="top" usebox="none">
25329 \begin_inset Text
25330
25331 \begin_layout Plain Layout
25332 rotating
25333 \end_layout
25334
25335 \end_inset
25336 </cell>
25337 <cell alignment="center" valignment="top" usebox="none">
25338 \begin_inset Text
25339
25340 \begin_layout Plain Layout
25341 textgreek
25342 \end_layout
25343
25344 \end_inset
25345 </cell>
25346 <cell alignment="center" valignment="top" usebox="none">
25347 \begin_inset Text
25348
25349 \begin_layout Plain Layout
25350 verbatim
25351 \end_layout
25352
25353 \end_inset
25354 </cell>
25355 <cell alignment="center" valignment="top" usebox="none">
25356 \begin_inset Text
25357
25358 \begin_layout Plain Layout
25359
25360 \end_layout
25361
25362 \end_inset
25363 </cell>
25364 </row>
25365 </lyxtabular>
25366
25367 \end_inset
25368
25369
25370 \end_layout
25371
25372 \begin_layout Chapter
25373 レイアウトで使用できる色名
25374 \begin_inset CommandInset label
25375 LatexCommand label
25376 name "chap:色名"
25377
25378 \end_inset
25379
25380
25381 \end_layout
25382
25383 \begin_layout Standard
25384 ここに列挙されている色は標準色であり,\SpecialChar LyX
25385 設定で調整できるものです.
25386 \end_layout
25387
25388 \begin_layout Description
25389 none
25390 \series medium
25391  
25392 \series default
25393 特定の色ではありません – 透明か既定色です
25394 \end_layout
25395
25396 \begin_layout Description
25397 black
25398 \end_layout
25399
25400 \begin_layout Description
25401 white
25402 \end_layout
25403
25404 \begin_layout Description
25405 red
25406 \end_layout
25407
25408 \begin_layout Description
25409 green
25410 \end_layout
25411
25412 \begin_layout Description
25413 blue
25414 \end_layout
25415
25416 \begin_layout Description
25417 cyan
25418 \end_layout
25419
25420 \begin_layout Description
25421 magenta
25422 \end_layout
25423
25424 \begin_layout Description
25425 yellow
25426 \end_layout
25427
25428 \begin_layout Description
25429 added_space 空白マーカ色
25430 \end_layout
25431
25432 \begin_layout Description
25433 addedtext 追加された文章色
25434 \end_layout
25435
25436 \begin_layout Description
25437 appendix 付録マーカ色
25438 \end_layout
25439
25440 \begin_layout Description
25441 background 背景色
25442 \end_layout
25443
25444 \begin_layout Description
25445 bottomarea 下部領域色
25446 \end_layout
25447
25448 \begin_layout Description
25449 branchlabel 派生枝ラベル色
25450 \end_layout
25451
25452 \begin_layout Description
25453 buttonbg ボタンの背景色
25454 \end_layout
25455
25456 \begin_layout Description
25457 buttonhoverbg フォーカスを得ているボタンの背景色
25458 \end_layout
25459
25460 \begin_layout Description
25461 buttonframe 差込枠の縁色
25462 \end_layout
25463
25464 \begin_layout Description
25465 changebar 変更バー色
25466 \end_layout
25467
25468 \begin_layout Description
25469 changedtextauthor1 変更された文章:第1著者の色
25470 \end_layout
25471
25472 \begin_layout Description
25473 changedtextauthor2 変更された文章:第2著者の色
25474 \end_layout
25475
25476 \begin_layout Description
25477 changedtextauthor3 変更された文章:第3著者の色
25478 \end_layout
25479
25480 \begin_layout Description
25481 changedtextauthor4 変更された文章:第4著者の色
25482 \end_layout
25483
25484 \begin_layout Description
25485 changedtextauthor5 変更された文章:第5著者の色
25486 \end_layout
25487
25488 \begin_layout Description
25489 collapsable_inset_frame 畳み込み可能枠の縁色
25490 \end_layout
25491
25492 \begin_layout Description
25493 collapsable_inset_text 畳み込み可能枠の文字色
25494 \end_layout
25495
25496 \begin_layout Description
25497 command コマンド差込枠の文字色
25498 \end_layout
25499
25500 \begin_layout Description
25501 commandbg コマンド差込枠の背景色
25502 \end_layout
25503
25504 \begin_layout Description
25505 commandframe コマンド差込枠の縁色
25506 \end_layout
25507
25508 \begin_layout Description
25509 comment コメント色
25510 \end_layout
25511
25512 \begin_layout Description
25513 commentbg コメントの背景色
25514 \end_layout
25515
25516 \begin_layout Description
25517 cursor カーソル色
25518 \end_layout
25519
25520 \begin_layout Description
25521 deletedtext 削除された文章の色
25522 \end_layout
25523
25524 \begin_layout Description
25525 deletedtextmodifier 削除された文章の修飾子の色
25526 \end_layout
25527
25528 \begin_layout Description
25529 depthbar 余白部の階層表示線の色
25530 \end_layout
25531
25532 \begin_layout Description
25533 eolmarker 行末標色
25534 \end_layout
25535
25536 \begin_layout Description
25537 error \SpecialChar LaTeX
25538 エラーボックス色
25539 \end_layout
25540
25541 \begin_layout Description
25542 footlabel 脚註ラベル色
25543 \end_layout
25544
25545 \begin_layout Description
25546 graphicsbg 画像差込枠の背景色
25547 \end_layout
25548
25549 \begin_layout Description
25550 greyedout 淡色表示差込枠のラベル色
25551 \end_layout
25552
25553 \begin_layout Description
25554 greyedoutbg 淡色表示差込枠の背景色
25555 \end_layout
25556
25557 \begin_layout Description
25558 greyedouttext 淡色表示差込枠の文字色
25559 \end_layout
25560
25561 \begin_layout Description
25562 indexlabel 索引差込枠のラベル色
25563 \end_layout
25564
25565 \begin_layout Description
25566 ignore この色を無視します
25567 \end_layout
25568
25569 \begin_layout Description
25570 inherit この色を継承します
25571 \end_layout
25572
25573 \begin_layout Description
25574 inlinecompletion 行内補完色
25575 \end_layout
25576
25577 \begin_layout Description
25578 insetbg 差込枠標の背景色
25579 \end_layout
25580
25581 \begin_layout Description
25582 insetframe 差込枠標の縁色
25583 \end_layout
25584
25585 \begin_layout Description
25586 language 外国語の単語を標識するための色
25587 \end_layout
25588
25589 \begin_layout Description
25590 latex \SpecialChar LaTeX
25591 モードの文字色
25592 \end_layout
25593
25594 \begin_layout Description
25595 listingsbg プログラムリスト差込枠の背景色
25596 \end_layout
25597
25598 \begin_layout Description
25599 marginlabel 傍註のラベル色
25600 \end_layout
25601
25602 \begin_layout Description
25603 math 数式差込枠の文字色
25604 \end_layout
25605
25606 \begin_layout Description
25607 mathbg 数式差込枠の背景色
25608 \end_layout
25609
25610 \begin_layout Description
25611 mathcorners フォーカスを得ていない数式差込枠の縁色
25612 \end_layout
25613
25614 \begin_layout Description
25615 mathframe フォーカスを得ている数式差込枠の縁色
25616 \end_layout
25617
25618 \begin_layout Description
25619 mathline 数式行色
25620 \end_layout
25621
25622 \begin_layout Description
25623 mathmacrobg 数式マクロ差込枠の背景色
25624 \end_layout
25625
25626 \begin_layout Description
25627 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
25628 \end_layout
25629
25630 \begin_layout Description
25631 mathmacroframe 数式マクロ差込枠の縁色
25632 \end_layout
25633
25634 \begin_layout Description
25635 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
25636 \end_layout
25637
25638 \begin_layout Description
25639 mathmacrolabel 数式マクロ差込枠のラベル色
25640 \end_layout
25641
25642 \begin_layout Description
25643 mathmacronewarg 数式マクロ新パラメーターのひな型色
25644 \end_layout
25645
25646 \begin_layout Description
25647 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
25648 \end_layout
25649
25650 \begin_layout Description
25651 newpage 新規頁色
25652 \end_layout
25653
25654 \begin_layout Description
25655 nonunique_inlinecompletion 行内補完の一意でない部分の色
25656 \end_layout
25657
25658 \begin_layout Description
25659 notebg 註釈の背景色
25660 \end_layout
25661
25662 \begin_layout Description
25663 notelabel 註釈のラベル色
25664 \end_layout
25665
25666 \begin_layout Description
25667 pagebreak 改頁/改行色
25668 \end_layout
25669
25670 \begin_layout Description
25671 paragraphmarker 段落末を標識するための段落標の色
25672 \end_layout
25673
25674 \begin_layout Description
25675 phantomtext 埋め草差込枠の文字色
25676 \end_layout
25677
25678 \begin_layout Description
25679 preview プレビューに用いられる色
25680 \end_layout
25681
25682 \begin_layout Description
25683 previewframe プレビュー縁色
25684 \end_layout
25685
25686 \begin_layout Description
25687 regexpframe 正規表現枠の色
25688 \end_layout
25689
25690 \begin_layout Description
25691 selection 文章選択部の背景色
25692 \end_layout
25693
25694 \begin_layout Description
25695 selectiontext 文章選択部の前景色
25696 \end_layout
25697
25698 \begin_layout Description
25699 shadedbg 影付きボックスの背景色
25700 \end_layout
25701
25702 \begin_layout Description
25703 special 特殊文字の色
25704 \end_layout
25705
25706 \begin_layout Description
25707 tabularline 罫線色
25708 \end_layout
25709
25710 \begin_layout Description
25711 tabularonoffline 罫線色
25712 \end_layout
25713
25714 \begin_layout Description
25715 urllabel URL差込枠のラベル色
25716 \end_layout
25717
25718 \begin_layout Description
25719 urltext URL差込枠の文字色
25720 \end_layout
25721
25722 \end_body
25723 \end_document