]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Customization.lyx
* Additional.lyx from Koji
[lyx.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 614
3 \begin_document
4 \begin_header
5 \save_transient_properties false
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 \end_preamble
27 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,bookmarkpackage=false
28 \use_default_options false
29 \begin_modules
30 logicalmkup
31 ruby
32 \end_modules
33 \maintain_unincluded_children no
34 \begin_local_layout
35 Format 57
36 InsetLayout Flex:MenuItem
37 LyxType               charstyle
38 LabelString           menu
39 LatexType             command
40 LatexName             menuitem
41 Font
42 Family              Sans
43 EndFont
44 Preamble
45 \newcommand*{\menuitem}[1]{{\sffamily #1}}
46 EndPreamble
47 ResetsFont true
48 End
49 # In case we need to do with sans...
50 #InsetLayout CharStyle:Code
51 #Font
52 #Family              Sans
53 #EndFont
54 #Preamble
55 #\renewcommand{\code}[1]{{\sffamily #1}}
56 #EndPreamble
57 #End
58 \end_local_layout
59 \language japanese
60 \language_package default
61 \inputencoding utf8
62 \fontencoding auto
63 \font_roman "lmodern" "IPAexMincho"
64 \font_sans "default" "IPAexGothic"
65 \font_typewriter "default" "default"
66 \font_math "auto" "auto"
67 \font_default_family default
68 \use_non_tex_fonts false
69 \font_sc false
70 \font_roman_osf false
71 \font_sans_osf false
72 \font_typewriter_osf false
73 \font_sf_scale 100 100
74 \font_tt_scale 100 100
75 \use_microtype false
76 \use_dash_ligatures false
77 \graphics default
78 \default_output_format default
79 \output_sync 0
80 \bibtex_command default
81 \index_command default
82 \paperfontsize 12
83 \spacing single
84 \use_hyperref true
85 \pdf_title "LyX Configuration Manual"
86 \pdf_author "LyX Team"
87 \pdf_subject "LyX-Documentation Customization"
88 \pdf_keywords "LyX, documentation, customization"
89 \pdf_bookmarks false
90 \pdf_bookmarksnumbered true
91 \pdf_bookmarksopen true
92 \pdf_bookmarksopenlevel 1
93 \pdf_breaklinks false
94 \pdf_pdfborder false
95 \pdf_colorlinks true
96 \pdf_backref false
97 \pdf_pdfusetitle false
98 \pdf_quoted_options "driverfallback=dvipdfmx, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
99 \papersize default
100 \use_geometry false
101 \use_package amsmath 1
102 \use_package amssymb 1
103 \use_package cancel 1
104 \use_package esint 1
105 \use_package mathdots 1
106 \use_package mathtools 1
107 \use_package mhchem 1
108 \use_package stackrel 1
109 \use_package stmaryrd 1
110 \use_package undertilde 1
111 \cite_engine basic
112 \cite_engine_type default
113 \biblio_style plain
114 \use_bibtopic false
115 \use_indices false
116 \paperorientation portrait
117 \suppress_date false
118 \justification false
119 \use_refstyle 0
120 \use_minted 0
121 \use_lineno 0
122 \notefontcolor #0000ff
123 \branch OutDated
124 \selected 0
125 \filename_suffix 0
126 \color #f5fae7 #0a0518
127 \end_branch
128 \index 索引
129 \shortcut idx
130 \color #008000
131 \end_index
132 \secnumdepth 3
133 \tocdepth 3
134 \paragraph_separation indent
135 \paragraph_indentation default
136 \is_math_indent 1
137 \math_indentation default
138 \math_numbering_side default
139 \quotes_style english
140 \dynamic_quotes 0
141 \papercolumns 1
142 \papersides 2
143 \paperpagestyle headings
144 \tablestyle default
145 \tracking_changes false
146 \output_changes false
147 \change_bars false
148 \postpone_fragile_content false
149 \html_math_output 0
150 \html_css_as_file 0
151 \html_be_strict true
152 \docbook_table_output 0
153 \docbook_mathml_prefix 1
154 \end_header
155
156 \begin_body
157
158 \begin_layout Title
159 \SpecialChar LyX
160 の高度設定
161 \begin_inset Newline newline
162 \end_inset
163
164 熟練ユーザのための各機能
165 \end_layout
166
167 \begin_layout Author
168 \SpecialChar LyX
169 開発チーム
170 \begin_inset Foot
171 status collapsed
172
173 \begin_layout Plain Layout
174 \noindent
175 もしコメントや誤りの修正をお持ちでしたら,
176 \SpecialChar LyX
177 文書化メーリングリスト
178 \begin_inset CommandInset href
179 LatexCommand href
180 target "lyx-docs@lists.lyx.org"
181 type "mailto:"
182 literal "false"
183
184 \end_inset
185
186 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,
187 このファイルの現在のメンテナRichard Kimberly Heck <rgheck@comcast.net>をccにして送ってください.
188 \end_layout
189
190 \end_inset
191
192
193 \begin_inset Newline newline
194 \end_inset
195
196
197 \begin_inset Newline newline
198 \end_inset
199
200 第2.3.x版
201 \end_layout
202
203 \begin_layout Standard
204 \begin_inset CommandInset toc
205 LatexCommand tableofcontents
206
207 \end_inset
208
209
210 \begin_inset Note Note
211 status open
212
213 \begin_layout Plain Layout
214 本文書を修正する際には,
215 変更追跡機能を使用してください.これによって,
216
217 \end_layout
218
219 \begin_layout Plain Layout
220 \SpecialChar LyX
221 翻訳者陣が変更点を認識しやすくなり,
222 メンテナが最新の状態を維持することが容易になります.
223 \end_layout
224
225 \end_inset
226
227
228 \end_layout
229
230 \begin_layout Chapter
231 はじめに
232 \end_layout
233
234 \begin_layout Standard
235 この取扱説明書は,
236 \SpecialChar LyX
237 に備わっている高度設定機能を取り扱います.ここでは,
238
239 \begin_inset Flex Ruby
240 status collapsed
241
242 \begin_layout Plain Layout
243 捷径
244 \begin_inset Argument post:1
245 status collapsed
246
247 \begin_layout Plain Layout
248 ショートカット
249 \end_layout
250
251 \end_inset
252
253
254 \end_layout
255
256 \end_inset
257
258 や画面プレビューオプション,
259 プリンタオプション,
260 \SpecialChar LyX
261 サーバ経由での\SpecialChar LyX
262 へのコマンド送信,
263 国際化,
264 新しい\SpecialChar LaTeX
265 クラスや\SpecialChar LyX
266 レイアウトの導入などの題材について論じます.おそらくは変更可能なことすべてについて触れることは無理でしょうが—
267 私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—
268
269 もっとも一般的な高度設定については説明を行い,
270 わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
271 \end_layout
272
273 \begin_layout Standard
274 \begin_inset Branch OutDated
275 inverted 0
276 status collapsed
277
278 \begin_layout Standard
279 Information from previous versions of this document that now seems to be outdated is contained in the OutDated branch of this document.
280  By default,
281  this information will not appear in the \SpecialChar LaTeX
282  output.
283 \end_layout
284
285 \end_inset
286
287
288 \end_layout
289
290 \begin_layout Chapter
291 \SpecialChar LyX
292 設定ファイル
293 \end_layout
294
295 \begin_layout Standard
296 本章の目的は,
297 \SpecialChar LyX
298 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
299
300 \begin_inset Flex MenuItem
301 status collapsed
302
303 \begin_layout Plain Layout
304 ヘルプ\SpecialChar menuseparator
305 LyXについて
306 \end_layout
307
308 \end_inset
309
310 を使って,
311 \SpecialChar LyX
312 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,
313 \SpecialChar LyX
314 がシステム全体の設定ファイルを置いておくところです.一方,
315 ユーザディレクトリは,
316 自身がそれを修正した版を置いておくところです.私たちは,
317 本書の以下の部分で,
318 前者を
319 \begin_inset Flex Code
320 status collapsed
321
322 \begin_layout Plain Layout
323 LyXDir
324 \end_layout
325
326 \end_inset
327
328 と呼び,
329 後者を
330 \begin_inset Flex MenuItem
331 status collapsed
332
333 \begin_layout Plain Layout
334 UserDir
335 \end_layout
336
337 \end_inset
338
339 と呼ぶことにします.
340 \end_layout
341
342 \begin_layout Section
343 \begin_inset Flex Code
344 status collapsed
345
346 \begin_layout Plain Layout
347 LyXDir
348 \end_layout
349
350 \end_inset
351
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 とそのサブディレクトリには,
367 多くのファイルがあり,
368 \SpecialChar LyX
369 の挙動を高度設定するのに使用されます.これらのファイルの多くは,
370 \SpecialChar LyX
371 内の
372 \begin_inset Flex MenuItem
373 status collapsed
374
375 \begin_layout Plain Layout
376 ツール\SpecialChar menuseparator
377 設定
378 \end_layout
379
380 \end_inset
381
382 ダイアログから変更することができます.\SpecialChar LyX
383 中で行いたいと思うような高度設定は,
384 ほとんどこのダイアログから行うことができるようになっています.しかしながら,
385 LyXの他の多くの内部動作は,
386
387 \begin_inset Flex Code
388 status collapsed
389
390 \begin_layout Plain Layout
391 LyXDir
392 \end_layout
393
394 \end_inset
395
396 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,
397 以下の各小節で説明します.
398 \end_layout
399
400 \begin_layout Subsection
401 自動的に生成されるファイル
402 \end_layout
403
404 \begin_layout Standard
405 \begin_inset Flex MenuItem
406 status collapsed
407
408 \begin_layout Plain Layout
409 UserDir
410 \end_layout
411
412 \end_inset
413
414 にある各ファイルは,
415 \SpecialChar LyX
416 が自動設定を行ったときに生成されます.これらのファイルは,
417 内部調査中に推測された様々な既定値が置かれています.これらは,
418 随時上書きされてしまうので,
419 一般的には修正しないことが望まれます.
420 \end_layout
421
422 \begin_layout Labeling
423 \labelwidthstring 00.00.0000
424 \begin_inset Flex Code
425 status collapsed
426
427 \begin_layout Plain Layout
428 lyxrc.defaults
429 \end_layout
430
431 \end_inset
432
433  このファイルには,
434 様々な既定コマンドが置かれています.
435 \end_layout
436
437 \begin_layout Labeling
438 \labelwidthstring 00.00.0000
439 \begin_inset Flex Code
440 status collapsed
441
442 \begin_layout Plain Layout
443 packages.lst
444 \end_layout
445
446 \end_inset
447
448  このファイルには,
449 \SpecialChar LyX
450 が認識したパッケージの一覧が収められています.現在のところ,
451 これは\SpecialChar LyX
452 プログラム自体には使用されていませんが,
453 抽出された情報その他は,
454
455 \begin_inset Flex MenuItem
456 status collapsed
457
458 \begin_layout Plain Layout
459 ヘルプ\SpecialChar menuseparator
460 LaTeXの設定
461 \end_layout
462
463 \end_inset
464
465 で見ることができます.
466 \end_layout
467
468 \begin_layout Labeling
469 \labelwidthstring 00.00.0000
470 \begin_inset Flex Code
471 status collapsed
472
473 \begin_layout Plain Layout
474 textclass.lst
475 \end_layout
476
477 \end_inset
478
479  ユーザの
480 \begin_inset Flex Code
481 status collapsed
482
483 \begin_layout Plain Layout
484 Plain L
485 \end_layout
486
487 \end_inset
488
489 ディレクトリで検出されたテキストクラスと,
490 関連した\SpecialChar LaTeX
491 文書クラスおよびその説明の一覧です.
492 \end_layout
493
494 \begin_layout Labeling
495 \labelwidthstring 00.00.0000
496 \begin_inset Flex Code
497 status collapsed
498
499 \begin_layout Plain Layout
500 lyxmodules.lst
501 \end_layout
502
503 \end_inset
504
505  ユーザの
506 \begin_inset Flex Code
507 status collapsed
508
509 \begin_layout Plain Layout
510 layout/
511 \end_layout
512
513 \end_inset
514
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 *files.lst
525 \end_layout
526
527 \end_inset
528
529  ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
530 関連ファイルの一覧です.
531 \end_layout
532
533 \begin_layout Labeling
534 \labelwidthstring 00.00.0000
535 \begin_inset Flex Code
536 status collapsed
537
538 \begin_layout Plain Layout
539 doc/LaTeXConfig.lyx
540 \end_layout
541
542 \end_inset
543
544  このファイルは,
545 自動設定中に
546 \begin_inset Flex Code
547 status collapsed
548
549 \begin_layout Plain Layout
550 LaTeXConfig.lyx.in
551 \end_layout
552
553 \end_inset
554
555 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
556 の設定に関する情報が納められています.
557 \end_layout
558
559 \begin_layout Subsection
560 ディレクトリ
561 \end_layout
562
563 \begin_layout Standard
564 以下の各ディレクトリは,
565
566 \begin_inset Flex Code
567 status collapsed
568
569 \begin_layout Plain Layout
570 LyXDir
571 \end_layout
572
573 \end_inset
574
575
576 \begin_inset Flex Code
577 status collapsed
578
579 \begin_layout Plain Layout
580 UserDir
581 \end_layout
582
583 \end_inset
584
585 に重複して存在します.特定のファイルが両方の場所にある場合には,
586
587 \begin_inset Flex Code
588 status collapsed
589
590 \begin_layout Plain Layout
591 UserDir
592 \end_layout
593
594 \end_inset
595
596 の方にあるものが使用されます.
597 \end_layout
598
599 \begin_layout Labeling
600 \labelwidthstring 00.00.0000
601 \begin_inset Flex Code
602 status collapsed
603
604 \begin_layout Plain Layout
605 bind/
606 \end_layout
607
608 \end_inset
609
610  このディレクトリには,
611 \SpecialChar LyX
612 で使用されるキー割当を定義している,
613 拡張子が
614 \begin_inset Flex Code
615 status collapsed
616
617 \begin_layout Plain Layout
618 .bind
619 \end_layout
620
621 \end_inset
622
623 のファイルが置かれています.
624 \begin_inset Flex Code
625 status collapsed
626
627 \begin_layout Plain Layout
628 $LANG_xxx.bind
629 \end_layout
630
631 \end_inset
632
633 という名称の割当ファイルの各国語版がある場合には,
634 そちらが用いられます.
635 \end_layout
636
637 \begin_layout Labeling
638 \labelwidthstring 00.00.0000
639 \begin_inset Flex Code
640 status collapsed
641
642 \begin_layout Plain Layout
643 citeengines/
644 \end_layout
645
646 \end_inset
647
648  このディレクトリには,
649 幅広い文献引用力(natbib,
650  biblatexなど)を定義する,
651 拡張子が
652 \begin_inset Flex Code
653 status collapsed
654
655 \begin_layout Plain Layout
656 .citeengine
657 \end_layout
658
659 \end_inset
660
661 のファイルが置かれています.詳細については,
662
663 \begin_inset CommandInset ref
664 LatexCommand ref
665 reference "subsec:引用エンジンファイル"
666 plural "false"
667 caps "false"
668 noprefix "false"
669 nolink "false"
670
671 \end_inset
672
673 節をご覧ください.
674 \end_layout
675
676 \begin_layout Labeling
677 \labelwidthstring 00.00.0000
678 \begin_inset Flex Code
679 status collapsed
680
681 \begin_layout Plain Layout
682 clipart/
683 \end_layout
684
685 \end_inset
686
687  このディレクトリには,
688 文書に取り込むことのできる画像ファイルが納められています.
689 \end_layout
690
691 \begin_layout Labeling
692 \labelwidthstring 00.00.0000
693 \begin_inset Flex Code
694 status collapsed
695
696 \begin_layout Plain Layout
697 doc/
698 \end_layout
699
700 \end_inset
701
702  このディレクトリには,
703 \SpecialChar LyX
704 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
705
706 \begin_inset Flex Code
707 status collapsed
708
709 \begin_layout Plain Layout
710 LaTeXConfig.lyx
711 \end_layout
712
713 \end_inset
714
715 ファイルは特に注目に値します.各国語版のヘルプ文書は,
716
717 \begin_inset Flex Code
718 status collapsed
719
720 \begin_layout Plain Layout
721 doc/xx
722 \end_layout
723
724 \end_inset
725
726 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
727
728 \begin_inset CommandInset ref
729 LatexCommand ref
730 reference "cha:LyXの各国語対応"
731 nolink "false"
732
733 \end_inset
734
735 をご覧ください.
736 \end_layout
737
738 \begin_layout Labeling
739 \labelwidthstring 00.00.0000
740 \begin_inset Flex Code
741 status collapsed
742
743 \begin_layout Plain Layout
744 examples/
745 \end_layout
746
747 \end_inset
748
749  このディレクトリには,
750 何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
751 \begin_inset Flex MenuItem
752 status collapsed
753
754 \begin_layout Plain Layout
755 用例
756 \end_layout
757
758 \end_inset
759
760 ボタンを押すと,
761 このディレクトリが表示されます.
762 \end_layout
763
764 \begin_layout Labeling
765 \labelwidthstring 00.00.0000
766 \begin_inset Flex Code
767 status collapsed
768
769 \begin_layout Plain Layout
770 images/
771 \end_layout
772
773 \end_inset
774
775  このディレクトリには,
776
777 \begin_inset Flex MenuItem
778 status collapsed
779
780 \begin_layout Plain Layout
781 文書
782 \end_layout
783
784 \end_inset
785
786 ダイアログで使用される画像ファイルが納められています.さらに,
787 ツールバーの各アイコンや,
788 \SpecialChar LyX
789 を起動したときに現れるバナーも納められています.
790 \end_layout
791
792 \begin_layout Labeling
793 \labelwidthstring 00.00.0000
794 \begin_inset Flex Code
795 status collapsed
796
797 \begin_layout Plain Layout
798 kbd/
799 \end_layout
800
801 \end_inset
802
803  このディレクトリには,
804 キーボードのキー割当ファイルが納められています.詳細については,
805
806 \begin_inset CommandInset ref
807 LatexCommand ref
808 reference "sec:国際キー配列"
809 nolink "false"
810
811 \end_inset
812
813 をご覧ください.
814 \end_layout
815
816 \begin_layout Labeling
817 \labelwidthstring 00.00.0000
818 \begin_inset Flex Code
819 status collapsed
820
821 \begin_layout Plain Layout
822 layouts/
823 \end_layout
824
825 \end_inset
826
827  このディレクトリには,
828
829 \begin_inset CommandInset ref
830 LatexCommand ref
831 reference "cha:新規文書を導入"
832 nolink "false"
833
834 \end_inset
835
836 に述べられているテキストクラスおよびモジュールのファイルが納められています.
837 \end_layout
838
839 \begin_layout Labeling
840 \labelwidthstring 00.00.0000
841 \begin_inset Flex Code
842 status collapsed
843
844 \begin_layout Plain Layout
845 lyx2lyx
846 \end_layout
847
848 \end_inset
849
850  このディレクトリには,
851 \SpecialChar LyX
852 の各バージョン間の変換に使用される
853 \begin_inset Flex Code
854 status collapsed
855
856 \begin_layout Plain Layout
857 lyx2lyx
858 \end_layout
859
860 \end_inset
861
862  Pythonスクリプトが納められています.たとえば,
863 複数のファイルの変換をバッチ処理したい場合には,
864 これらをコマンドラインから実行することもできます.
865 \end_layout
866
867 \begin_layout Labeling
868 \labelwidthstring 00.00.0000
869 \begin_inset Flex Code
870 status collapsed
871
872 \begin_layout Plain Layout
873 scripts/
874 \end_layout
875
876 \end_inset
877
878  このディレクトリには,
879
880 \begin_inset Flex MenuItem
881 status collapsed
882
883 \begin_layout Plain Layout
884 外用ひな型
885 \end_layout
886
887 \end_inset
888
889 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
890 自身が使用するスクリプトもいくつか収められています.
891 \end_layout
892
893 \begin_layout Labeling
894 \labelwidthstring 00.00.0000
895 \begin_inset Flex Code
896 status collapsed
897
898 \begin_layout Plain Layout
899 templates/
900 \end_layout
901
902 \end_inset
903
904  このディレクトリには,
905
906 \begin_inset CommandInset ref
907 LatexCommand ref
908 reference "sec:ひな型を作成する"
909 nolink "false"
910
911 \end_inset
912
913 で述べられている標準の\SpecialChar LyX
914 ひな型ファイルが納められています.
915 \end_layout
916
917 \begin_layout Labeling
918 \labelwidthstring 00.00.0000
919 \begin_inset Flex Code
920 status collapsed
921
922 \begin_layout Plain Layout
923 ui/
924 \end_layout
925
926 \end_inset
927
928  このディレクトリには,
929 \SpecialChar LyX
930 の操作画面を定義する拡張子
931 \begin_inset Flex Code
932 status collapsed
933
934 \begin_layout Plain Layout
935 .ui
936 \end_layout
937
938 \end_inset
939
940 のファイルが納められています.つまり,
941 これらのファイルは,
942 どのメニュー項目がどのメニューに現れるかを定義し,
943 どの項目がツールバーに現れるかを定義しています.
944 \end_layout
945
946 \begin_layout Labeling
947 \labelwidthstring 00.00.0000
948 \begin_inset Flex Code
949 status collapsed
950
951 \begin_layout Plain Layout
952 xtemplates/
953 \end_layout
954
955 \end_inset
956
957  このディレクトリには,
958 \SpecialChar LyX
959 文書への外部素材の挿入のひな型を定義する,
960 拡張子が
961 \begin_inset Flex Code
962 status collapsed
963
964 \begin_layout Plain Layout
965 .xtemplate
966 \end_layout
967
968 \end_inset
969
970 のファイルが置かれています.第
971 \begin_inset CommandInset ref
972 LatexCommand ref
973 reference "chap:外部素材を取り込む"
974 plural "false"
975 caps "false"
976 noprefix "false"
977 nolink "false"
978
979 \end_inset
980
981 節参照.
982 \end_layout
983
984 \begin_layout Subsection
985 変更を加えない方がよいファイル
986 \end_layout
987
988 \begin_layout Standard
989 これらのファイルは\SpecialChar LyX
990 が内部的に使用するもので,
991 あなたが開発者でない限りは,
992 凡そこれらに変更を加える必要はありません.
993 \end_layout
994
995 \begin_layout Labeling
996 \labelwidthstring 00.00.0000
997 \begin_inset Flex Code
998 status collapsed
999
1000 \begin_layout Plain Layout
1001 CREDITS
1002 \end_layout
1003
1004 \end_inset
1005
1006  このファイルは,
1007 \SpecialChar LyX
1008 開発陣の名簿です.この内容は,
1009 メニュー項目
1010 \begin_inset Flex MenuItem
1011 status collapsed
1012
1013 \begin_layout Plain Layout
1014 ヘルプ\SpecialChar menuseparator
1015 LyXについて
1016 \end_layout
1017
1018 \end_inset
1019
1020 で表示されます.
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 chkconfig.ltx
1030 \end_layout
1031
1032 \end_inset
1033
1034  これは,
1035 自動設定プロセスによって使用される\SpecialChar LaTeX
1036 スクリプトです.直接実行しないでください.
1037 \end_layout
1038
1039 \begin_layout Labeling
1040 \labelwidthstring 00.00.0000
1041 \begin_inset Flex Code
1042 status collapsed
1043
1044 \begin_layout Plain Layout
1045 configure.py
1046 \end_layout
1047
1048 \end_inset
1049
1050  これは,
1051 \SpecialChar LyX
1052 の環境構成によって使用されるスクリプトです.これは,
1053 このスクリプトを実行したディレクトリに設定ファイルを生成します.
1054 \end_layout
1055
1056 \begin_layout Subsection
1057 ひとこと必要なファイル群
1058 \end_layout
1059
1060 \begin_layout Labeling
1061 \labelwidthstring 00.00.0000
1062 \begin_inset Flex Code
1063 status collapsed
1064
1065 \begin_layout Plain Layout
1066 encodings
1067 \end_layout
1068
1069 \end_inset
1070
1071  このファイルには,
1072 各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
1073 \end_layout
1074
1075 \begin_layout Labeling
1076 \labelwidthstring 00.00.0000
1077 \begin_inset Flex Code
1078 status collapsed
1079
1080 \begin_layout Plain Layout
1081 languages
1082 \end_layout
1083
1084 \end_inset
1085
1086  このファイルには,
1087 現在\SpecialChar LyX
1088 がサポートしている言語の全一覧が載っています.
1089 \end_layout
1090
1091 \begin_layout Labeling
1092 \labelwidthstring 00.00.0000
1093 \begin_inset Flex Code
1094 status collapsed
1095
1096 \begin_layout Plain Layout
1097 latexfonts
1098 \end_layout
1099
1100 \end_inset
1101
1102  サポートされているフォントに関する情報が掲載されています.
1103 \end_layout
1104
1105 \begin_layout Labeling
1106 \labelwidthstring 00.00.0000
1107 \begin_inset Flex Code
1108 status collapsed
1109
1110 \begin_layout Plain Layout
1111 layouttranslations
1112 \end_layout
1113
1114 \end_inset
1115
1116  このファイルは,
1117 国際化された段落様式の翻訳が収録されています(
1118 \begin_inset CommandInset ref
1119 LatexCommand ref
1120 reference "subsec:段落様式の国際化"
1121 nolink "false"
1122
1123 \end_inset
1124
1125 参照).
1126 \end_layout
1127
1128 \begin_layout Labeling
1129 \labelwidthstring 00.00.0000
1130 \begin_inset Flex Code
1131 status collapsed
1132
1133 \begin_layout Plain Layout
1134 unicodesymbols
1135 \end_layout
1136
1137 \end_inset
1138
1139  このファイルは,
1140 unicodeエンコーディングされたグリフに関する情報と,
1141 \SpecialChar LyX
1142 が\SpecialChar LaTeX
1143 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1144 \end_layout
1145
1146 \begin_layout Section
1147 ユーザのローカル設定ディレクトリ
1148 \end_layout
1149
1150 \begin_layout Standard
1151 \SpecialChar LyX
1152 を非特権ユーザとして利用している場合でも,
1153 自分自身で使うために,
1154 \SpecialChar LyX
1155 の設定を変更したいと思うかもしれません.
1156 \begin_inset Flex Code
1157 status collapsed
1158
1159 \begin_layout Plain Layout
1160 UserDir
1161 \end_layout
1162
1163 \end_inset
1164
1165 ディレクトリには,
1166 すべての個人設定ファイルが収められています.これは,
1167
1168 \begin_inset Flex MenuItem
1169 status collapsed
1170
1171 \begin_layout Plain Layout
1172 ヘルプ\SpecialChar menuseparator
1173 LyXについて
1174 \end_layout
1175
1176 \end_inset
1177
1178 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1179
1180 \begin_inset Flex Code
1181 status collapsed
1182
1183 \begin_layout Plain Layout
1184 LyXDir
1185 \end_layout
1186
1187 \end_inset
1188
1189 のミラーとして使用されており,
1190 これは
1191 \begin_inset Flex Code
1192 status collapsed
1193
1194 \begin_layout Plain Layout
1195 UserDir
1196 \end_layout
1197
1198 \end_inset
1199
1200 内のすべてのファイルが,
1201
1202 \begin_inset Flex Code
1203 status collapsed
1204
1205 \begin_layout Plain Layout
1206 LyXDir
1207 \end_layout
1208
1209 \end_inset
1210
1211 すし,
1212 自分自身で使うために個人のローカルディレクトリに置くこともできます.
1213 \end_layout
1214
1215 \begin_layout Standard
1216 わかりやすくするために,
1217 いくつか例を挙げましょう.
1218 \end_layout
1219
1220 \begin_layout Itemize
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
1233 \begin_inset Flex Code
1234 status collapsed
1235
1236 \begin_layout Plain Layout
1237 UserDir
1238 \end_layout
1239
1240 \end_inset
1241
1242 中の
1243 \begin_inset Flex Code
1244 status collapsed
1245
1246 \begin_layout Plain Layout
1247 preferences
1248 \end_layout
1249
1250 \end_inset
1251
1252 ファイルに保存されます.
1253 \end_layout
1254
1255 \begin_layout Itemize
1256 \begin_inset Flex MenuItem
1257 status collapsed
1258
1259 \begin_layout Plain Layout
1260 ツール\SpecialChar menuseparator
1261 環境構成
1262 \end_layout
1263
1264 \end_inset
1265
1266 を使用して環境構成を行うと,
1267 \SpecialChar LyX
1268
1269 \begin_inset Flex Code
1270 status collapsed
1271
1272 \begin_layout Plain Layout
1273 configure.py
1274 \end_layout
1275
1276 \end_inset
1277
1278 スクリプトを実行し,
1279 その結果のファイルは,
1280 ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1281
1282 \begin_inset Flex Code
1283 status collapsed
1284
1285 \begin_layout Plain Layout
1286 UserDir/layouts
1287 \end_layout
1288
1289 \end_inset
1290
1291 にご自身で追加したテキストファイルは,
1292
1293 \begin_inset Flex MenuItem
1294 status collapsed
1295
1296 \begin_layout Plain Layout
1297 文書\SpecialChar menuseparator
1298 設定
1299 \end_layout
1300
1301 \end_inset
1302
1303 ダイアログのクラス一覧に表示されるようになることを意味します.
1304 \end_layout
1305
1306 \begin_layout Itemize
1307 たとえば,
1308 \SpecialChar LyX
1309 のFTPサイトから最新の取扱説明書をとってきたものの,
1310 使用中のシステム上で管理者権限がないために,
1311 それをインストールすることができなかったとしても,
1312 それらのファイルを
1313 \begin_inset Flex Code
1314 status collapsed
1315
1316 \begin_layout Plain Layout
1317 UserDir/doc/
1318 \end_layout
1319
1320 \end_inset
1321
1322 ディレクトリにコピーすれば,
1323
1324 \begin_inset Flex MenuItem
1325 status collapsed
1326
1327 \begin_layout Plain Layout
1328 ヘルプ
1329 \end_layout
1330
1331 \end_inset
1332
1333 メニュー項目はこれらを開くようになります!
1334
1335 \end_layout
1336
1337 \begin_layout Section
1338 \SpecialChar LyX
1339 を複数の設定を使って実行するには
1340 \end_layout
1341
1342 \begin_layout Standard
1343 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,
1344 2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,
1345 使用する度に異なるキー割当を使用したり,
1346 異なるプリンタ設定を使用したいことがあるかもしれません.これは,
1347 複数の設定ディレクトリを作ることで実現することができます.そして,
1348 実行時にどのディレクトリを使用するか指定するのです.
1349 \end_layout
1350
1351 \begin_layout Standard
1352 \SpecialChar LyX
1353 をコマンドラインスイッチ
1354 \begin_inset Flex Code
1355 status collapsed
1356
1357 \begin_layout Plain Layout
1358 -userdir
1359 \end_layout
1360
1361 \end_inset
1362
1363 P
1364 \emph on
1365 <ディレクトリ名>
1366 \emph default
1367 と共に起動すると,
1368 設定を既定のディレクトリではなく,
1369 指定したディレクトリから読み込むように,
1370 指示することになります(\SpecialChar LyX
1371
1372 \begin_inset Flex Code
1373 status collapsed
1374
1375 \begin_layout Plain Layout
1376 -userdir
1377 \end_layout
1378
1379 \end_inset
1380
1381 スイッチなしで実行すれば,
1382 既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,
1383 \SpecialChar LyX
1384 は,
1385 初めて\SpecialChar LyX
1386 を実行したときに既定ディレクトリを訊いてくるのと同様に,
1387 そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,
1388 既定ディレクトリで行うのと全く同じように設定オプションを修正することができます.これらのディレクトリは完全に独立しています(が,
1389 読み進めてください).また,
1390 環境変数
1391 \begin_inset Flex Code
1392 status collapsed
1393
1394 \begin_layout Plain Layout
1395 LYX_USERDIR_20x
1396 \end_layout
1397
1398 \end_inset
1399
1400 を特定の値に設定しても,
1401 全く同じ効果があります.
1402 \end_layout
1403
1404 \begin_layout Standard
1405 複数の設定を持つことはまた,
1406 維持の手間も増えるということです.もし新しいレイアウトを
1407 \begin_inset Flex Code
1408 status collapsed
1409
1410 \begin_layout Plain Layout
1411 NewUserDir/layouts
1412 \end_layout
1413
1414 \end_inset
1415
1416 に加えて,
1417 これをすべての設定で利用できるようにしたいならば,
1418 これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,
1419 次のようなトリックを使用してください.\SpecialChar LyX
1420 が新しい設定ディレクトリを生成すると,
1421 そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1422 空のサブディレクトリを,
1423 既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1424 \begin_inset Flex Code
1425 status collapsed
1426
1427 \begin_layout Plain Layout
1428 doc/
1429 \end_layout
1430
1431 \end_inset
1432
1433 サブディレクトリには,
1434 設定スクリプト(
1435 \begin_inset Flex MenuItem
1436 status collapsed
1437
1438 \begin_layout Plain Layout
1439 ツール\SpecialChar menuseparator
1440 環境構成
1441 \end_layout
1442
1443 \end_inset
1444
1445 で使用可能)が書き出した,
1446 設定毎に異なるファイルが含まれていますので,
1447 注意を払ってください.
1448 \end_layout
1449
1450 \begin_layout Chapter
1451 設定ダイアログ
1452 \end_layout
1453
1454 \begin_layout Standard
1455 設定ダイアログのオプションのすべては,
1456
1457 \emph on
1458 ユーザーの手引き
1459 \emph default
1460 の付録
1461 \emph on
1462 設定ダイアログ
1463 \emph default
1464 に述べられています.オプションのうちいくつかについて,
1465 ここでさらに詳細に説明します.
1466 \end_layout
1467
1468 \begin_layout Section
1469 ファイル形式
1470 \begin_inset CommandInset label
1471 LatexCommand label
1472 name "sec:ファイル形式"
1473
1474 \end_inset
1475
1476
1477 \end_layout
1478
1479 \begin_layout Standard
1480 ファイル形式が定義されていない場合,
1481 はじめの一歩は,
1482 使いたいと思うファイル形式を定義することです.それには,
1483
1484 \begin_inset Flex MenuItem
1485 status collapsed
1486
1487 \begin_layout Plain Layout
1488 ツール\SpecialChar menuseparator
1489 設定
1490 \end_layout
1491
1492 \end_inset
1493
1494 ダイアログを開いてください.
1495 \begin_inset Flex MenuItem
1496 status collapsed
1497
1498 \begin_layout Plain Layout
1499 ファイル処理\SpecialChar menuseparator
1500 ファイル形式
1501 \end_layout
1502
1503 \end_inset
1504
1505 の中で
1506 \begin_inset Flex MenuItem
1507 status collapsed
1508
1509 \begin_layout Plain Layout
1510 新規\SpecialChar ldots
1511
1512 \end_layout
1513
1514 \end_inset
1515
1516 ボタンを押して,
1517 登録する新しい形式を定義してください.
1518 \begin_inset Flex MenuItem
1519 status collapsed
1520
1521 \begin_layout Plain Layout
1522 形式
1523 \end_layout
1524
1525 \end_inset
1526
1527 フィールドは,
1528 GUI中で形式を認識するために用いられる名称です.
1529 \begin_inset Flex MenuItem
1530 status collapsed
1531
1532 \begin_layout Plain Layout
1533 短縮名
1534 \end_layout
1535
1536 \end_inset
1537
1538 は,
1539 形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1540 \begin_inset Flex MenuItem
1541 status collapsed
1542
1543 \begin_layout Plain Layout
1544 捷径
1545 \end_layout
1546
1547 \end_inset
1548
1549 フィールドは,
1550 メニュー中で
1551 \begin_inset Flex Ruby
1552 status collapsed
1553
1554 \begin_layout Plain Layout
1555 捷径
1556 \begin_inset Argument post:1
1557 status collapsed
1558
1559 \begin_layout Plain Layout
1560 ショートカット
1561 \end_layout
1562
1563 \end_inset
1564
1565
1566 \end_layout
1567
1568 \end_inset
1569
1570 を提供するのに使用されます(たとえば,
1571
1572 \begin_inset Flex MenuItem
1573 status collapsed
1574
1575 \begin_layout Plain Layout
1576 Ctrl+D
1577 \end_layout
1578
1579 \end_inset
1580
1581 を押すと
1582 \begin_inset Flex MenuItem
1583 status collapsed
1584
1585 \begin_layout Plain Layout
1586 表示\SpecialChar menuseparator
1587 DVI
1588 \end_layout
1589
1590 \end_inset
1591
1592 となります).
1593 \end_layout
1594
1595 \begin_layout Standard
1596 形式には,
1597
1598 \begin_inset Flex MenuItem
1599 status collapsed
1600
1601 \begin_layout Plain Layout
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 を関連づけることができます.たとえば,
1618 PostScriptファイルを閲覧するのに
1619 \begin_inset Flex MenuItem
1620 status collapsed
1621
1622 \begin_layout Plain Layout
1623 Ghostview
1624 \end_layout
1625
1626 \end_inset
1627
1628 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,
1629 コマンドを定義するのに,
1630 次節に掲げる4つの変数を用いることができます.この閲覧プログラムは,
1631 \SpecialChar LyX
1632 中で画像を閲覧したり
1633 \begin_inset Flex MenuItem
1634 status collapsed
1635
1636 \begin_layout Plain Layout
1637 表示
1638 \end_layout
1639
1640 \end_inset
1641
1642 メニューを使用したときに起動されます.一方,
1643 編集プログラムは,
1644 たとえば,
1645 画像を右クリックして現れるコンテクストメニューで
1646 \begin_inset Flex MenuItem
1647 status collapsed
1648
1649 \begin_layout Plain Layout
1650 外部で編集
1651 \end_layout
1652
1653 \end_inset
1654
1655 を選択したときに起動します.
1656 \end_layout
1657
1658 \begin_layout Standard
1659 ファイル形式の
1660 \begin_inset Flex MenuItem
1661 status collapsed
1662
1663 \begin_layout Plain Layout
1664 MIME
1665 \end_layout
1666
1667 \end_inset
1668
1669 型は必須ではありませんが,
1670 指定するときには,
1671 すべての形式の中で一意的なものでなくてはなりません.これは,
1672 この形式のファイルをファイル内容から検出するのに用いられます.重要なファイル形式のうちには,
1673
1674 \begin_inset CommandInset href
1675 LatexCommand href
1676 name "IANA"
1677 target "http://www.iana.org/assignments/media-types/"
1678 literal "false"
1679
1680 \end_inset
1681
1682 に公式に登録されたMIME型がないものがあります.そこで,
1683 \SpecialChar LyX
1684 は,
1685
1686 \begin_inset CommandInset href
1687 LatexCommand href
1688 name "freedesktop.org"
1689 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1690 literal "false"
1691
1692 \end_inset
1693
1694 で指定されているMIME型拡張表を使用しています.
1695 \end_layout
1696
1697 \begin_layout Standard
1698 \begin_inset Flex MenuItem
1699 status collapsed
1700
1701 \begin_layout Plain Layout
1702 文書形式
1703 \end_layout
1704
1705 \end_inset
1706
1707 オプションは,
1708 \SpecialChar LyX
1709 に,
1710 この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,
1711 適切な変換経路が存在する場合には(第
1712 \begin_inset CommandInset ref
1713 LatexCommand ref
1714 reference "sec:変換子"
1715 nolink "false"
1716
1717 \end_inset
1718
1719 節を参照),
1720 この形式が
1721 \begin_inset Flex MenuItem
1722 status collapsed
1723
1724 \begin_layout Plain Layout
1725 ファイル\SpecialChar menuseparator
1726 書き出し
1727 \end_layout
1728
1729 \end_inset
1730
1731
1732 \begin_inset Flex MenuItem
1733 status collapsed
1734
1735 \begin_layout Plain Layout
1736 表示
1737 \end_layout
1738
1739 \end_inset
1740
1741 footlabel Label color for footnotす.
1742 \begin_inset Flex Code
1743 status collapsed
1744
1745 \begin_layout Plain Layout
1746 png
1747 \end_layout
1748
1749 \end_inset
1750
1751 のような純粋な画像形式は,
1752 このオプションを有効にしてはいけません.
1753 \begin_inset Flex Code
1754 status collapsed
1755
1756 \begin_layout Plain Layout
1757 pdf
1758 \end_layout
1759
1760 \end_inset
1761
1762 のようにベクター画像であると同時に文書でもあるような形式は,
1763 これを有効にします.
1764 \end_layout
1765
1766 \begin_layout Standard
1767 \begin_inset Flex MenuItem
1768 status collapsed
1769
1770 \begin_layout Plain Layout
1771 ベクター画像形式
1772 \end_layout
1773
1774 \end_inset
1775
1776 オプションは,
1777 \SpecialChar LyX
1778 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1779
1780 \begin_inset Flex MenuItem
1781 status collapsed
1782
1783 \begin_layout Plain Layout
1784 pdflatex
1785 \end_layout
1786
1787 \end_inset
1788
1789 を書き出す際に,
1790 内包されている画像をどの形式に変換するかを決定するのに使用されます.
1791 \begin_inset Flex MenuItem
1792 status collapsed
1793
1794 \begin_layout Plain Layout
1795 pdflatex
1796 \end_layout
1797
1798 \end_inset
1799
1800 は,
1801
1802 \begin_inset Flex MenuItem
1803 status collapsed
1804
1805 \begin_layout Plain Layout
1806 pdf
1807 \end_layout
1808
1809 \end_inset
1810
1811
1812 \begin_inset Flex MenuItem
1813 status collapsed
1814
1815 \begin_layout Plain Layout
1816 png
1817 \end_layout
1818
1819 \end_inset
1820
1821
1822 \begin_inset Flex MenuItem
1823 status collapsed
1824
1825 \begin_layout Plain Layout
1826 Des
1827 \end_layout
1828
1829 \end_inset
1830
1831 以外の画像形式を取り扱うことができないので,
1832 内包されている画像は,
1833 これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1834 \begin_inset Flex MenuItem
1835 status collapsed
1836
1837 \begin_layout Plain Layout
1838 pdf
1839 \end_layout
1840
1841 \end_inset
1842
1843
1844 \begin_inset Flex MenuItem
1845 status collapsed
1846
1847 \begin_layout Plain Layout
1848 png
1849 \end_layout
1850
1851 \end_inset
1852
1853
1854 \begin_inset Flex MenuItem
1855 status collapsed
1856
1857 \begin_layout Plain Layout
1858 jpg
1859 \end_layout
1860
1861 \end_inset
1862
1863 のいずれかになっていない場合には,
1864 ベクター画像形式オプションが有効になっている場合には
1865 \begin_inset Flex MenuItem
1866 status collapsed
1867
1868 \begin_layout Plain Layout
1869 pdf
1870 \end_layout
1871
1872 \end_inset
1873
1874 に変換され,
1875 そうでない場合には
1876 \begin_inset Flex MenuItem
1877 status collapsed
1878
1879 \begin_layout Plain Layout
1880 png
1881 \end_layout
1882
1883 \end_inset
1884
1885 に変換されます.
1886 \end_layout
1887
1888 \begin_layout Section
1889 複写子
1890 \end_layout
1891
1892 \begin_layout Standard
1893 形式の変換はすべて,
1894 \SpecialChar LyX
1895 の一時ディレクトリで行われるため,
1896 変換用にファイルを一時ディレクトリにコピーする前段階で,
1897 ファイルに変更を加える必要のあることがあります
1898 \begin_inset Foot
1899 status collapsed
1900
1901 \begin_layout Plain Layout
1902 たとえば,
1903 ファイルが他のファイル—
1904 たとえば画像—
1905 を,
1906 相対ファイル名を用いて参照している場合,
1907 このファイルが一時ディレクトリにコピーされると参照が無効になる場合があります.
1908 \end_layout
1909
1910 \end_inset
1911
1912 .これは複写子によって取り扱われ,
1913 複写子は,
1914 ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,
1915 その過程でファイルに変更を加えます.
1916 \end_layout
1917
1918 \begin_layout Standard
1919 複写子の定義においては,
1920 以下の8つの変数を用いることができます.
1921 \end_layout
1922
1923 \begin_layout Labeling
1924 \labelwidthstring 00.00.0000
1925 \begin_inset Flex Code
1926 status collapsed
1927
1928 \begin_layout Plain Layout
1929 $$s
1930 \end_layout
1931
1932 \end_inset
1933
1934  \SpecialChar LyX
1935 のシステムディレクトリ(例:
1936
1937 \begin_inset Flex MenuItem
1938 status collapsed
1939
1940 \begin_layout Plain Layout
1941 /usr/share/lyx
1942 \end_layout
1943
1944 \end_inset
1945
1946
1947 \end_layout
1948
1949 \begin_layout Labeling
1950 \labelwidthstring 00.00.0000
1951 \begin_inset Flex Code
1952 status collapsed
1953
1954 \begin_layout Plain Layout
1955 $$i
1956 \end_layout
1957
1958 \end_inset
1959
1960  入力ファイル
1961 \end_layout
1962
1963 \begin_layout Labeling
1964 \labelwidthstring 00.00.0000
1965 \begin_inset Flex Code
1966 status collapsed
1967
1968 \begin_layout Plain Layout
1969 $$o
1970 \end_layout
1971
1972 \end_inset
1973
1974  出力ファイル
1975 \end_layout
1976
1977 \begin_layout Labeling
1978 \labelwidthstring 00.00.0000
1979 \begin_inset Flex Code
1980 status collapsed
1981
1982 \begin_layout Plain Layout
1983 $$b
1984 \end_layout
1985
1986 \end_inset
1987
1988  \SpecialChar LyX
1989 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1990 \end_layout
1991
1992 \begin_layout Labeling
1993 \labelwidthstring 00.00.0000
1994 \begin_inset Flex Code
1995 status collapsed
1996
1997 \begin_layout Plain Layout
1998 $$p
1999 \end_layout
2000
2001 \end_inset
2002
2003  \SpecialChar LyX
2004 一時ディレクトリのフルパス名
2005 \end_layout
2006
2007 \begin_layout Labeling
2008 \labelwidthstring 00.00.0000
2009 \begin_inset Flex Code
2010 status collapsed
2011
2012 \begin_layout Plain Layout
2013 $$r
2014 \end_layout
2015
2016 \end_inset
2017
2018  処理されている元の\SpecialChar LyX
2019 ファイルのフルパス名
2020 \end_layout
2021
2022 \begin_layout Labeling
2023 \labelwidthstring 00.00.0000
2024 \begin_inset Flex Code
2025 status collapsed
2026
2027 \begin_layout Plain Layout
2028 $$f
2029 \end_layout
2030
2031 \end_inset
2032
2033  \SpecialChar LyX
2034 ファイルのファイル名(ディレクトリパスなし)
2035 \end_layout
2036
2037 \begin_layout Labeling
2038 \labelwidthstring 00.00.0000
2039 \begin_inset Flex Code
2040 status collapsed
2041
2042 \begin_layout Plain Layout
2043 $$l
2044 \end_layout
2045
2046 \end_inset
2047
2048  「\SpecialChar LaTeX
2049 名」
2050 \end_layout
2051
2052 \begin_layout Standard
2053 最後の変数は,
2054 \SpecialChar LaTeX
2055
2056 \series bold
2057
2058 \backslash
2059 include
2060 \series default
2061 コマンドで使用されるのと同形式のファイル名です.これは,
2062 書き出すファイルがそのようなインクルードに適している場合のみ,
2063 使用さるべきものです.
2064 \end_layout
2065
2066 \begin_layout Standard
2067 複写子は,
2068 出力ファイルに関する操作であれば,
2069 ほとんどすべてに対応することができます.たとえば,
2070 生成したPDFファイルを,
2071
2072 \begin_inset Flex Code
2073 status collapsed
2074
2075 \begin_layout Plain Layout
2076 /home/you/pdf/
2077 \end_layout
2078
2079 \end_inset
2080
2081 という特別なディレクトリにコピーしたいものとしましょう.その場合には,
2082 以下のようなシェルスクリプトを書きます.
2083 \end_layout
2084
2085 \begin_layout Standard
2086 \begin_inset listings
2087 inline false
2088 status open
2089
2090 \begin_layout Plain Layout
2091
2092 #!/bin/bash
2093 \end_layout
2094
2095 \begin_layout Plain Layout
2096
2097 FROMFILE=$1
2098 \end_layout
2099
2100 \begin_layout Plain Layout
2101
2102 TOFILE=`basename $2`
2103 \end_layout
2104
2105 \begin_layout Plain Layout
2106
2107 DescriptionE /home/you/pdf/$TOFILE
2108 \end_layout
2109
2110 \end_inset
2111
2112 これを,
2113 例えば
2114 \begin_inset Flex Code
2115 status collapsed
2116
2117 \begin_layout Plain Layout
2118 /home/you/.lyx/scripts/pdfcopier.sh
2119 \end_layout
2120
2121 \end_inset
2122
2123 のような,
2124 自身のローカル\SpecialChar LyX
2125 ディレクトリに保存し,
2126 お使いのプラットフォームが必要とするならば,
2127 実行可能属性を付与します.それから,
2128
2129 \begin_inset Flex MenuItem
2130 status collapsed
2131
2132 \begin_layout Plain Layout
2133 ツール\SpecialChar menuseparator
2134 設定
2135 \end_layout
2136
2137 \end_inset
2138
2139 ダイアログの
2140 \begin_inset Flex MenuItem
2141 status collapsed
2142
2143 \begin_layout Plain Layout
2144 ファイル処理\SpecialChar menuseparator
2145 ファイル形式
2146 \end_layout
2147
2148 \end_inset
2149
2150 の中で,
2151
2152 \begin_inset Flex MenuItem
2153 status collapsed
2154
2155 \begin_layout Plain Layout
2156 PDF(pdflatex)
2157 \end_layout
2158
2159 \end_inset
2160
2161 形式—
2162 あるいは他のPDF形式のうちどれか—
2163 を選択し,
2164
2165 \begin_inset Flex MenuItem
2166 status collapsed
2167
2168 \begin_layout Plain Layout
2169 複写子
2170 \end_layout
2171
2172 \end_inset
2173
2174 フィールドに
2175 \begin_inset Flex Code
2176 status collapsed
2177
2178 \begin_layout Plain Layout
2179 pdfcopier.sh $$i $$o
2180 \end_layout
2181
2182 \end_inset
2183
2184 と入力します.
2185 \end_layout
2186
2187 \begin_layout Standard
2188 複写子は,
2189 \SpecialChar LyX
2190 自身が様々な変換に使用します.たとえば,
2191 適切なプログラムが検出された場合,
2192 \SpecialChar LyX
2193 は自動的に
2194 \begin_inset Flex MenuItem
2195 status collapsed
2196
2197 \begin_layout Plain Layout
2198 HTML
2199 \end_layout
2200
2201 \end_inset
2202
2203 形式と
2204 \begin_inset Flex MenuItem
2205 status collapsed
2206
2207 \begin_layout Plain Layout
2208 HTML
2209 \begin_inset space ~
2210 \end_inset
2211
2212 (MS Word)
2213 \end_layout
2214
2215 \end_inset
2216
2217 形式の複写子を導入します.これらの形式を書き出す際,
2218 複写子は,
2219 本体のHTMLファイルだけでなく,
2220 関連した様々なファイル(スタイルファイルや画像など)もコピーされるように手配します.これらのファイルはすべて,
2221 元の\SpecialChar LyX
2222 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2223 \begin_inset Foot
2224 status collapsed
2225
2226 \begin_layout Plain Layout
2227 この複写子の挙動は調整することができます.非必須の「-e」オプションは,
2228 コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,
2229 すべてのファイルがコピーされます.「-t」引数は,
2230 生成したディレクトリに書き加える拡張子を指定するものです.既定値では,
2231 これは「
2232 \begin_inset Flex MenuItem
2233 status collapsed
2234
2235 \begin_layout Plain Layout
2236 LyXconv
2237 \end_layout
2238
2239 \end_inset
2240
2241 」となっているので,
2242
2243 \begin_inset Flex MenuItem
2244 status collapsed
2245
2246 \begin_layout Plain Layout
2247 /path/to/filename.lyx
2248 \end_layout
2249
2250 \end_inset
2251
2252 から生成されたHTMLファイルは,
2253
2254 \begin_inset Flex MenuItem
2255 status collapsed
2256
2257 \begin_layout Plain Layout
2258 /path/to/filename.html.LyXconv
2259 \end_layout
2260
2261 \end_inset
2262
2263 となります..
2264  
2265 \end_layout
2266
2267 \end_inset
2268
2269
2270 \end_layout
2271
2272 \begin_layout Section
2273 変換子
2274 \begin_inset CommandInset label
2275 LatexCommand label
2276 name "sec:変換子"
2277
2278 \end_inset
2279
2280
2281 \end_layout
2282
2283 \begin_layout Standard
2284 各形式間でファイルを変換するために,
2285 ご自身の変換子を定義することができます.これは,
2286
2287 \begin_inset Flex MenuItem
2288 status collapsed
2289
2290 \begin_layout Plain Layout
2291 ツール\SpecialChar menuseparator
2292 設定\SpecialChar menuseparator
2293 ファイル処理\SpecialChar menuseparator
2294 変換子
2295 \end_layout
2296
2297 \end_inset
2298
2299 ダイアログで行います.
2300 \end_layout
2301
2302 \begin_layout Standard
2303 新規に変換子を定義するには,
2304 ドロップダウンリストから
2305 \begin_inset Flex MenuItem
2306 status collapsed
2307
2308 \begin_layout Plain Layout
2309 変換元の形式
2310 \end_layout
2311
2312 \end_inset
2313
2314
2315 \begin_inset Flex MenuItem
2316 status collapsed
2317
2318 \begin_layout Plain Layout
2319 変換先の形式
2320 \end_layout
2321
2322 \end_inset
2323
2324 を選択し,
2325 変換に必要なコマンドを入力してから
2326 \begin_inset Flex MenuItem
2327 status collapsed
2328
2329 \begin_layout Plain Layout
2330 追加
2331 \end_layout
2332
2333 \end_inset
2334
2335 ボタンを押してください.変換子の定義には,
2336 以下のような変数を使用することができます.
2337 \end_layout
2338
2339 \begin_layout Labeling
2340 \labelwidthstring 00.00.0000
2341 \begin_inset Flex Code
2342 status collapsed
2343
2344 \begin_layout Plain Layout
2345 $$s
2346 \end_layout
2347
2348 \end_inset
2349
2350  \SpecialChar LyX
2351 システムディレクトリ
2352 \end_layout
2353
2354 \begin_layout Labeling
2355 \labelwidthstring 00.00.0000
2356 \begin_inset Flex Code
2357 status collapsed
2358
2359 \begin_layout Plain Layout
2360 $$i
2361 \end_layout
2362
2363 \end_inset
2364
2365  入力ファイル
2366 \end_layout
2367
2368 \begin_layout Labeling
2369 \labelwidthstring 00.00.0000
2370 \begin_inset Flex Code
2371 status collapsed
2372
2373 \begin_layout Plain Layout
2374 $$o
2375 \end_layout
2376
2377 \end_inset
2378
2379  出力ファイル
2380 \end_layout
2381
2382 \begin_layout Labeling
2383 \labelwidthstring 00.00.0000
2384 \begin_inset Flex Code
2385 status collapsed
2386
2387 \begin_layout Plain Layout
2388 $$b
2389 \end_layout
2390
2391 \end_inset
2392
2393  入力ファイルのベースファイル名(拡張子をとった部分)
2394 \end_layout
2395
2396 \begin_layout Labeling
2397 \labelwidthstring 00.00.0000
2398 \begin_inset Flex Code
2399 status collapsed
2400
2401 \begin_layout Plain Layout
2402 $$p
2403 \end_layout
2404
2405 \end_inset
2406
2407  入力ファイルのパス
2408 \end_layout
2409
2410 \begin_layout Labeling
2411 \labelwidthstring 00.00.0000
2412 \begin_inset Flex Code
2413 status collapsed
2414
2415 \begin_layout Plain Layout
2416 $$r
2417 \end_layout
2418
2419 \end_inset
2420
2421  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2422 \end_layout
2423
2424 \begin_layout Labeling
2425 \labelwidthstring 00.00.0000
2426 \begin_inset Flex Code
2427 status collapsed
2428
2429 \begin_layout Plain Layout
2430 $$e
2431 \end_layout
2432
2433 \end_inset
2434
2435  文書エンコーディングのiconv名
2436 \end_layout
2437
2438 \begin_layout Standard
2439 \begin_inset Flex MenuItem
2440 status collapsed
2441
2442 \begin_layout Plain Layout
2443 追加フラグ
2444 \end_layout
2445
2446 \end_inset
2447
2448 フィールドには,
2449 以下のフラグをコンマで区切って入力することができます.
2450 \end_layout
2451
2452 \begin_layout Labeling
2453 \labelwidthstring 00.00.0000
2454 \begin_inset Flex Code
2455 status collapsed
2456
2457 \begin_layout Plain Layout
2458 latex
2459 \end_layout
2460
2461 \end_inset
2462
2463  この変換子が\SpecialChar LaTeX
2464 の一種を実行することを示します.これによって,
2465 \SpecialChar LyX
2466 の\SpecialChar LaTeX
2467 エラーログに記録を残せるようになります.
2468 \end_layout
2469
2470 \begin_layout Labeling
2471 \labelwidthstring 00.00.0000
2472 \begin_inset Flex Code
2473 status collapsed
2474
2475 \begin_layout Plain Layout
2476 needaux
2477 \end_layout
2478
2479 \end_inset
2480
2481  変換に\SpecialChar LaTeX
2482
2483 \begin_inset Flex MenuItem
2484 status collapsed
2485
2486 \begin_layout Plain Layout
2487 .aux
2488 \end_layout
2489
2490 \end_inset
2491
2492 ファイルが必要であることを示します.
2493 \end_layout
2494
2495 \begin_layout Labeling
2496 \labelwidthstring 00.00.0000
2497 \begin_inset Flex Code
2498 status collapsed
2499
2500 \begin_layout Plain Layout
2501 nice
2502 \end_layout
2503
2504 \end_inset
2505
2506  バックエンドからの
2507 \begin_inset Quotes erd
2508 \end_inset
2509
2510 nice
2511 \begin_inset Quotes erd
2512 \end_inset
2513
2514 なファイル,
2515 つまり\SpecialChar LyX
2516 が書き出す\SpecialChar LaTeX
2517 ファイルのように,
2518
2519 \begin_inset Flex Code
2520 status open
2521
2522 \begin_layout Plain Layout
2523 input@path
2524 \end_layout
2525
2526 \end_inset
2527
2528 のない\SpecialChar LaTeX
2529 ファイルを必要とします.
2530 \end_layout
2531
2532 \begin_layout Labeling
2533 \labelwidthstring 00.00.0000
2534 \begin_inset Flex Code
2535 status collapsed
2536
2537 \begin_layout Plain Layout
2538 xml
2539 \end_layout
2540
2541 \end_inset
2542
2543  出力がXMLであることを示します.
2544 \end_layout
2545
2546 \begin_layout Standard
2547 以下の3つのフラグは 
2548 \begin_inset Flex MenuItem
2549 status collapsed
2550
2551 \begin_layout Plain Layout
2552 key
2553 \begin_inset space ~
2554 \end_inset
2555
2556 =
2557 \begin_inset space ~
2558 \end_inset
2559
2560 value
2561 \end_layout
2562
2563 \end_inset
2564
2565 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2566 \end_layout
2567
2568 \begin_layout Labeling
2569 \labelwidthstring 00.00.0000
2570 \begin_inset Flex Code
2571 status collapsed
2572
2573 \begin_layout Plain Layout
2574 parselog
2575 \end_layout
2576
2577 \end_inset
2578
2579  これを指定すると,
2580 変換子の標準エラーが
2581 \begin_inset Flex Code
2582 status collapsed
2583
2584 \begin_layout Plain Layout
2585 infile.out
2586 \end_layout
2587
2588 \end_inset
2589
2590 ファイルにリダイレクトされ,
2591 引数に指定されたスクリプトが
2592 \begin_inset Flex Code
2593 status collapsed
2594
2595 \begin_layout Plain Layout
2596 script < infile.out > infile.log
2597 \end_layout
2598
2599 \end_inset
2600
2601 の形で実行されるようになります.引数には
2602 \begin_inset Flex Code
2603 status collapsed
2604
2605 \begin_layout Plain Layout
2606 $$s
2607 \end_layout
2608
2609 \end_inset
2610
2611 を指定することができます.
2612 \end_layout
2613
2614 \begin_layout Labeling
2615 \labelwidthstring 00.00.0000
2616 \begin_inset Flex Code
2617 status collapsed
2618
2619 \begin_layout Plain Layout
2620 resultdir
2621 \end_layout
2622
2623 \end_inset
2624
2625  これには,
2626 変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2627 はこのディレクトリを作成せず,
2628 ここに何もコピーしませんが,
2629 このディレクトリを宛先にコピーします.引数には,
2630
2631 \begin_inset Flex Code
2632 status collapsed
2633
2634 \begin_layout Plain Layout
2635 $$b
2636 \end_layout
2637
2638 \end_inset
2639
2640 を使用することができ,
2641 これはディレクトリがコピーされる際に,
2642 入力ファイルおよび出力ファイルのベース名で置換されます.
2643 \begin_inset Newline newline
2644 \end_inset
2645
2646 resultdirとusetempdirは,
2647 同時に用いることはできませんのでご注意ください.前者が指定されているときには,
2648 後者は無視されます.
2649 \end_layout
2650
2651 \begin_layout Labeling
2652 \labelwidthstring 00.00.0000
2653 \begin_inset Flex Code
2654 status collapsed
2655
2656 \begin_layout Plain Layout
2657 resultfile
2658 \end_layout
2659
2660 \end_inset
2661
2662  これは出力ファイル名を指定するもので,
2663
2664 \begin_inset Flex Code
2665 status collapsed
2666
2667 \begin_layout Plain Layout
2668 $$b
2669 \end_layout
2670
2671 \end_inset
2672
2673 を使用することができます.resultdirが指定されているときのみ有効で,
2674 必ず用いる必要はありません.指定されていなければ,
2675 既定値は「index」です.
2676 \end_layout
2677
2678 \begin_layout Standard
2679 最後の3つは,
2680 \SpecialChar LyX
2681 とともに導入される変換子には,
2682 現在いずれも使用されておりません.
2683 \end_layout
2684
2685 \begin_layout Standard
2686 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,
2687 「\SpecialChar LyX
2688 からPostScript」変換子が定義されていないのに,
2689 \SpecialChar LyX
2690 はPostScriptを書き出していることに気づかれることでしょう.これは,
2691 まず\SpecialChar LaTeX
2692 ファイルを生成した後に(これには変換子を定義する必要はありません),
2693 「LaTeXからDVI」変換子を使用してDVIに変換し,
2694 最後に,
2695 得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2696 はこのような変換子の「連鎖」を自動的に見つけ,
2697 つねに最も短い連鎖を選択します.しかしながら,
2698 なお形式間に複数の変換方法を定義することも可能です.たとえば,
2699 標準的な\SpecialChar LyX
2700 設定は,
2701 \SpecialChar LaTeX
2702 からPDFへ変換するのに,
2703 以下の3つの方法を用意しています.
2704 \end_layout
2705
2706 \begin_layout Enumerate
2707 直接
2708 \begin_inset Flex MenuItem
2709 status collapsed
2710
2711 \begin_layout Plain Layout
2712 pdflatex
2713 \end_layout
2714
2715 \end_inset
2716
2717 を使用するもの
2718 \end_layout
2719
2720 \begin_layout Enumerate
2721 (DVIと)PostScriptを経由して
2722 \begin_inset Flex MenuItem
2723 status collapsed
2724
2725 \begin_layout Plain Layout
2726 ps2pdf
2727 \end_layout
2728
2729 \end_inset
2730
2731 を使用するもの
2732 \end_layout
2733
2734 \begin_layout Enumerate
2735 DVI経由で
2736 \begin_inset Flex MenuItem
2737 status collapsed
2738
2739 \begin_layout Plain Layout
2740 dvipdfm
2741 \end_layout
2742
2743 \end_inset
2744
2745 を使用するもの
2746 \end_layout
2747
2748 \begin_layout Enumerate
2749 直接
2750 \begin_inset Flex MenuItem
2751 status collapsed
2752
2753 \begin_layout Plain Layout
2754 Xe\SpecialChar TeX
2755
2756 \end_layout
2757
2758 \end_inset
2759
2760 を使用するもの
2761 \end_layout
2762
2763 \begin_layout Enumerate
2764 直接
2765 \begin_inset Flex MenuItem
2766 status collapsed
2767
2768 \begin_layout Plain Layout
2769 Lua\SpecialChar TeX
2770
2771 \end_layout
2772
2773 \end_inset
2774
2775 を使用するもの
2776 \end_layout
2777
2778 \begin_layout Standard
2779 このように代替連鎖を定義するには,
2780
2781 \begin_inset CommandInset ref
2782 LatexCommand ref
2783 reference "sec:ファイル形式"
2784 nolink "false"
2785
2786 \end_inset
2787
2788 節に述べられているように,
2789 ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,
2790 標準設定では,
2791
2792 \begin_inset Flex MenuItem
2793 status collapsed
2794
2795 \begin_layout Plain Layout
2796 pdf
2797 \end_layout
2798
2799 \end_inset
2800
2801 (
2802 \begin_inset Flex MenuItem
2803 status collapsed
2804
2805 \begin_layout Plain Layout
2806 ps2pdf
2807 \end_layout
2808
2809 \end_inset
2810
2811 用)・
2812 \begin_inset Flex MenuItem
2813 status collapsed
2814
2815 \begin_layout Plain Layout
2816 pdf2
2817 \end_layout
2818
2819 \end_inset
2820
2821 (
2822 \begin_inset Flex MenuItem
2823 status collapsed
2824
2825 \begin_layout Plain Layout
2826 pdflatex
2827 \end_layout
2828
2829 \end_inset
2830
2831 用)・
2832 \begin_inset Flex MenuItem
2833 status collapsed
2834
2835 \begin_layout Plain Layout
2836 pdf3
2837 \end_layout
2838
2839 \end_inset
2840
2841 (
2842 \begin_inset Flex MenuItem
2843 status collapsed
2844
2845 \begin_layout Plain Layout
2846 dvipdfm
2847 \end_layout
2848
2849 \end_inset
2850
2851 用)・
2852 \begin_inset Flex MenuItem
2853 status collapsed
2854
2855 \begin_layout Plain Layout
2856 pdf4
2857 \end_layout
2858
2859 \end_inset
2860
2861 (
2862 \begin_inset Flex MenuItem
2863 status collapsed
2864
2865 \begin_layout Plain Layout
2866 Xe\SpecialChar TeX
2867
2868 \end_layout
2869
2870 \end_inset
2871
2872 用)・
2873 \begin_inset Flex MenuItem
2874 status collapsed
2875
2876 \begin_layout Plain Layout
2877 pdf5
2878 \end_layout
2879
2880 \end_inset
2881
2882 (
2883 \begin_inset Flex MenuItem
2884 status collapsed
2885
2886 \begin_layout Plain Layout
2887 Lua\SpecialChar TeX
2888
2889 \end_layout
2890
2891 \end_inset
2892
2893 用\SpecialChar softhyphen
2894 ) と命名された形式が定義されていて,
2895 すべて共通の拡張子
2896 \begin_inset Flex MenuItem
2897 status collapsed
2898
2899 \begin_layout Plain Layout
2900 .pdf
2901 \end_layout
2902
2903 \end_inset
2904
2905 を持ち,
2906 上記で言及した各変換方法に対応しています.
2907 \end_layout
2908
2909 \begin_layout Chapter
2910 \SpecialChar LyX
2911 の各国語対応
2912 \begin_inset CommandInset label
2913 LatexCommand label
2914 name "cha:LyXの各国語対応"
2915
2916 \end_inset
2917
2918
2919 \end_layout
2920
2921 \begin_layout Standard
2922 \SpecialChar LyX
2923 は,
2924 翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,
2925 \SpecialChar LyX
2926 は30言語の翻訳を提供しています.選択した言語は,
2927 使用する
2928 \emph on
2929 ロケール
2930 \emph default
2931 と呼ばれます(ロケール設定についての詳しい資料は,
2932 お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,
2933 マニュアルページの
2934 \begin_inset Flex Code
2935 status collapsed
2936
2937 \begin_layout Plain Layout
2938 locale(5)
2939 \end_layout
2940
2941 \end_inset
2942
2943 から見ると良いかもしれません).
2944 \end_layout
2945
2946 \begin_layout Standard
2947 これらの翻訳は適切に機能しますが,
2948 欠点もいくつかあることに注意してください.たとえば,
2949 ダイアログはすべて英文を念頭にデザインされているため,
2950 翻訳文の一部は,
2951 割り当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,
2952 他の障害は引き起こしません.また,
2953 翻訳によっては,
2954 すべての
2955 \begin_inset Flex Ruby
2956 status collapsed
2957
2958 \begin_layout Plain Layout
2959 捷径
2960 \begin_inset Argument post:1
2961 status collapsed
2962
2963 \begin_layout Plain Layout
2964 ショートカット
2965 \end_layout
2966
2967 \end_inset
2968
2969
2970 \end_layout
2971
2972 \end_inset
2973
2974 が定義されていないことに気づかれるでしょう.捷径のために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだ捷径を定義していないこともあるでしょう.もちろん,
2975 私たちの各国語対応チーム—
2976 あなたも参加したいと思われるかもしれません
2977 \begin_inset Foot
2978 status collapsed
2979
2980 \begin_layout Plain Layout
2981 もしあなたが英語以外の言語を流暢に操れるならば,
2982 これらのチームに参加することは,
2983 \SpecialChar LyX
2984 コミュニティに報いるたいへん素晴らしい方法です!
2985
2986 \end_layout
2987
2988 \end_inset
2989
2990
2991 は,
2992 \SpecialChar LyX
2993 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
2994 \end_layout
2995
2996 \begin_layout Section
2997 \SpecialChar LyX
2998 を翻訳する
2999 \end_layout
3000
3001 \begin_layout Subsection
3002 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
3003 \begin_inset Argument 1
3004 status collapsed
3005
3006 \begin_layout Plain Layout
3007 GUI(テキストメッセージ)を翻訳する
3008 \end_layout
3009
3010 \end_inset
3011
3012
3013 \end_layout
3014
3015 \begin_layout Standard
3016 \SpecialChar LyX
3017 は,
3018 操作画面の国際化対応にGNU 
3019 \begin_inset Flex Code
3020 status collapsed
3021
3022 \begin_layout Plain Layout
3023 gettext
3024 \end_layout
3025
3026 \end_inset
3027
3028 ライブラリを使用します.\SpecialChar LyX
3029 のすべてのメニューやダイアログでお好みの言語を話させたいときには,
3030 その言語の
3031 \begin_inset Flex Code
3032 status collapsed
3033
3034 \begin_layout Plain Layout
3035 po
3036 \end_layout
3037
3038 \end_inset
3039
3040 ファイルが必要です.このファイルが利用可能であれば,
3041 そこから
3042 \begin_inset Flex Code
3043 status collapsed
3044
3045 \begin_layout Plain Layout
3046 mo
3047 \end_layout
3048
3049 \end_inset
3050
3051 ファイルを生成して,
3052 この
3053 \begin_inset Flex Code
3054 status collapsed
3055
3056 \begin_layout Plain Layout
3057 mo
3058 \end_layout
3059
3060 \end_inset
3061
3062 ファイルをインストールしなくてはなりません.この全過程は,
3063 GNU 
3064 \begin_inset Flex Code
3065 status collapsed
3066
3067 \begin_layout Plain Layout
3068 gettext
3069 \end_layout
3070
3071 \end_inset
3072
3073 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,
3074 もしせっかくするのであれば,
3075 あなたの骨折りの結果を\SpecialChar LyX
3076 コミュニティの他の人々と分かち合いませんか.どのように段取りを進めればよいか,
3077 詳しくは\SpecialChar LyX
3078 開発者メーリングリストにメールを送ってください.
3079 \end_layout
3080
3081 \begin_layout Standard
3082 要約すれば,
3083 以下のように行います(xxは言語コードを表します).
3084 \end_layout
3085
3086 \begin_layout Itemize
3087 \SpecialChar LyX
3088 ソースコードをチェックアウトしてください(
3089 \begin_inset CommandInset href
3090 LatexCommand href
3091 name "ウェブ上の情報"
3092 target "https://www.lyx.org/HowToUseGIT"
3093 literal "false"
3094
3095 \end_inset
3096
3097 参照).
3098 \end_layout
3099
3100 \begin_layout Itemize
3101 \begin_inset Flex Code
3102 status collapsed
3103
3104 \begin_layout Plain Layout
3105 lyx.pot
3106 \end_layout
3107
3108 \end_inset
3109
3110 ファイルを
3111 \begin_inset Flex Code
3112 status collapsed
3113
3114 \begin_layout Plain Layout
3115 **.po
3116 \end_layout
3117
3118 \end_inset
3119
3120 ファイルのあるフォルダにコピーして,
3121
3122 \begin_inset Flex Code
3123 status collapsed
3124
3125 \begin_layout Plain Layout
3126 xx.po
3127 \end_layout
3128
3129 \end_inset
3130
3131 に名前を付け替えてください(
3132 \begin_inset Flex Code
3133 status collapsed
3134
3135 \begin_layout Plain Layout
3136 lyx.pot
3137 \end_layout
3138
3139 \end_inset
3140
3141 がどこにもない場合には,
3142 コンソールからそのディレクトリで
3143 \begin_inset Flex Code
3144 status collapsed
3145
3146 \begin_layout Plain Layout
3147 make lyx.pot
3148 \end_layout
3149
3150 \end_inset
3151
3152 コマンドを実行し,
3153 作成し直すか,
3154 他言語の既存のpoファイルをひな型として使用することができます).
3155 \end_layout
3156
3157 \begin_layout Itemize
3158 \begin_inset Flex Code
3159 status collapsed
3160
3161 \begin_layout Plain Layout
3162 xx.po
3163 \end_layout
3164
3165 \end_inset
3166
3167 を編集します.
3168 \begin_inset Foot
3169 status collapsed
3170
3171 \begin_layout Plain Layout
3172 これは単なるテキストファイルなので,
3173 どのテキストエディタでも編集できます.しかし,
3174
3175 \family typewriter
3176 Poedit
3177 \family default
3178 (全プラットフォーム用)や
3179 \family typewriter
3180 KBabel
3181 \family default
3182 (KDE用)のように,
3183 この目的の編集をサポートする特別なプログラムがあります.
3184 \family typewriter
3185 Emacs
3186 \family default
3187 にも
3188 \begin_inset Flex Code
3189 status collapsed
3190
3191 \begin_layout Plain Layout
3192 po
3193 \end_layout
3194
3195 \end_inset
3196
3197 ファイルを編集するための「モード」があります,
3198
3199 \begin_inset Flex URL
3200 status open
3201
3202 \begin_layout Plain Layout
3203
3204 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
3205 \end_layout
3206
3207 \end_inset
3208
3209
3210 \end_layout
3211
3212 \end_inset
3213
3214 メニューラベルやウィジェットラベルのうちには,
3215 翻訳しなくてはならない
3216 \begin_inset Flex Ruby
3217 status collapsed
3218
3219 \begin_layout Plain Layout
3220 捷径
3221 \begin_inset Argument post:1
3222 status collapsed
3223
3224 \begin_layout Plain Layout
3225 ショートカット
3226 \end_layout
3227
3228 \end_inset
3229
3230
3231 \end_layout
3232
3233 \end_inset
3234
3235 がある場合があります.これらのキーは「|」の後に記されており,
3236 当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,
3237 新しい
3238 \begin_inset Flex Code
3239 status collapsed
3240
3241 \begin_layout Plain Layout
3242 po
3243 \end_layout
3244
3245 \end_inset
3246
3247 ファイルの冒頭に,
3248 あなたの電子メールアドレスなどの情報も書き加えて,
3249 人々があなたに提案や,
3250 滑稽な怒りのメッセージを届けることができるようにしてください.
3251 \end_layout
3252
3253 \begin_layout Standard
3254 もし,
3255 あなたがこれを自身のためだけに行っているのであれば,
3256
3257 \end_layout
3258
3259 \begin_layout Itemize
3260 \begin_inset Flex Code
3261 status collapsed
3262
3263 \begin_layout Plain Layout
3264 xx.mo
3265 \end_layout
3266
3267 \end_inset
3268
3269 を生成してください.これは
3270 \begin_inset Flex Code
3271 status collapsed
3272
3273 \begin_layout Plain Layout
3274 msgfmt -o xx.mo < xx.po
3275 \end_layout
3276
3277 \end_inset
3278
3279 でできます.
3280 \end_layout
3281
3282 \begin_layout Itemize
3283 この
3284 \begin_inset Flex Code
3285 status collapsed
3286
3287 \begin_layout Plain Layout
3288 mo
3289 \end_layout
3290
3291 \end_inset
3292
3293 ファイルを,
3294 お使いのロケールツリー中,
3295 言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3296
3297 \begin_inset Flex Code
3298 status collapsed
3299
3300 \begin_layout Plain Layout
3301 lyx.mo
3302 \end_layout
3303
3304 \end_inset
3305
3306 という名称にしてください(例:
3307
3308 \begin_inset Flex Code
3309 status collapsed
3310
3311 \begin_layout Plain Layout
3312 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3313 \end_layout
3314
3315 \end_inset
3316
3317 ).
3318 \end_layout
3319
3320 \begin_layout Standard
3321 しかしながら前述のように,
3322 この新しい
3323 \begin_inset Flex Code
3324 status collapsed
3325
3326 \begin_layout Plain Layout
3327 po
3328 \end_layout
3329
3330 \end_inset
3331
3332 ファイルを他の人たちが使用できるよう,
3333 \SpecialChar LyX
3334 頒布版に追加できることが最善です.これを追加するには,
3335 \SpecialChar LyX
3336 に変更を加える必要がありますので,
3337 もしその気があれば,
3338 開発者メーリングリストに電子メールを送ってください.
3339 \end_layout
3340
3341 \begin_layout Subsubsection
3342 多義訳語メッセージ
3343 \end_layout
3344
3345 \begin_layout Standard
3346 時には,
3347 一つの英語のメッセージが,
3348 翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3349
3350 \begin_inset Flex Code
3351 status collapsed
3352
3353 \begin_layout Plain Layout
3354 To
3355 \end_layout
3356
3357 \end_inset
3358
3359 というメッセージで,
3360 これは英語で「to」がどういう意味を持っているかによって,
3361 独語ではNachと訳されたりBisと訳されたりします.GNU 
3362 \begin_inset Flex Code
3363 status collapsed
3364
3365 \begin_layout Plain Layout
3366 gettext
3367 \end_layout
3368
3369 \end_inset
3370
3371 は,
3372 このような多義訳語を
3373 \begin_inset Flex Code
3374 status collapsed
3375
3376 \begin_layout Plain Layout
3377 To
3378 \end_layout
3379
3380 \end_inset
3381
3382 の代わりに,
3383
3384 \begin_inset Flex Code
3385 status collapsed
3386
3387 \begin_layout Plain Layout
3388 To[[as in 'From format x to format y']]
3389 \end_layout
3390
3391 \end_inset
3392
3393
3394 \begin_inset Flex Code
3395 status collapsed
3396
3397 \begin_layout Plain Layout
3398 To[[as in 'From page x to page y']]
3399 \end_layout
3400
3401 \end_inset
3402
3403 としなくてはなりません.これによって,
3404 これら2つの
3405 \begin_inset Flex Code
3406 status collapsed
3407
3408 \begin_layout Plain Layout
3409 To
3410 \end_layout
3411
3412 \end_inset
3413
3414 は,
3415
3416 \begin_inset Flex Code
3417 status collapsed
3418
3419 \begin_layout Plain Layout
3420 gettext
3421 \end_layout
3422
3423 \end_inset
3424
3425 には別物と解釈され,
3426 それぞれ正しくNachとBisに訳すことができるようになります.
3427 \end_layout
3428
3429 \begin_layout Standard
3430 もちろん,
3431 この文脈情報は,
3432 翻訳が存在しないときには取り去られる必要がありますので,
3433 メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3434 の翻訳機構では,
3435 メッセージの終わりに二重大括弧で囲われているものはすべて,
3436 メッセージを表示する前に取り去るようにされています.
3437 \end_layout
3438
3439 \begin_layout Subsection
3440 説明書を翻訳する
3441 \end_layout
3442
3443 \begin_layout Standard
3444
3445 \begin_inset Flex MenuItem
3446 status collapsed
3447
3448 \begin_layout Plain Layout
3449 Help
3450 \end_layout
3451
3452 \end_inset
3453
3454 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!
3455 ).説明書の翻訳版が利用可能であり
3456 \begin_inset Foot
3457 status collapsed
3458
3459 \begin_layout Plain Layout
3460 2008年3月現在,
3461 説明書の少なくとも一部が翻訳されている言語は14言語に上り,
3462 入門編が訳されているものはさらにいくつかあります.
3463 \end_layout
3464
3465 \end_inset
3466
3467
3468 ロケールがその言語に設定されている場合,
3469 \SpecialChar LyX
3470 はこれを自動的に使用します.\SpecialChar LyX
3471 は,
3472 翻訳版を
3473 \begin_inset Flex Code
3474 status collapsed
3475
3476 \begin_layout Plain Layout
3477 LyXDir/doc/xx/DocName.lyx
3478 \end_layout
3479
3480 \end_inset
3481
3482
3483 \begin_inset Flex Code
3484 status collapsed
3485
3486 \begin_layout Plain Layout
3487 xx
3488 \end_layout
3489
3490 \end_inset
3491
3492 は現在使用している言語コード)で探します.翻訳文書がない場合には,
3493 既定の英語版が表示されます.翻訳版は,
3494 原典と同じファイル名(上述の
3495 \begin_inset Flex Code
3496 status collapsed
3497
3498 \begin_layout Plain Layout
3499 DocName
3500 \end_layout
3501
3502 \end_inset
3503
3504 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!
3505 ),
3506 以下のような点をすぐに行うべきです.
3507 \end_layout
3508
3509 \begin_layout Itemize
3510 説明書翻訳ウェブページ
3511 \begin_inset CommandInset href
3512 LatexCommand href
3513 name "https://www.lyx.org/Translation"
3514 target "https://www.lyx.org/Translation"
3515 literal "false"
3516
3517 \end_inset
3518
3519 を確認してください.ここで,
3520 どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,
3521 説明書をお使いの言語に翻訳する作業の面倒を見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,
3522 私たちにあなたが興味をお持ちであることを知らせてください.
3523 \end_layout
3524
3525 \begin_layout Standard
3526 いったん実際の翻訳の仕事に取りかかったならば,
3527 トラブルを回避するいくつかのヒントがあります.
3528 \end_layout
3529
3530 \begin_layout Itemize
3531 文書化チームに所属してください!
3532 そのための情報が
3533 \begin_inset Flex Code
3534 status collapsed
3535
3536 \begin_layout Plain Layout
3537 Intro.lyx
3538 \end_layout
3539
3540 \end_inset
3541
3542
3543 \begin_inset Flex MenuItem
3544 status collapsed
3545
3546 \begin_layout Plain Layout
3547 ヘルプ\SpecialChar menuseparator
3548 はじめの一歩
3549 \end_layout
3550
3551 \end_inset
3552
3553 )にあります.また,
3554 この
3555 \begin_inset Flex Code
3556 status collapsed
3557
3558 \begin_layout Plain Layout
3559 Intro.lyx
3560 \end_layout
3561
3562 \end_inset
3563
3564 が最初に訳すべき文書です.
3565 \end_layout
3566
3567 \begin_layout Itemize
3568 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,
3569 何世紀にもわたって世界の至る所で,
3570 様々な慣行を発達させてきました.また,
3571 あなたの国で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3572 \emph on
3573 警告!
3574 活版技術は病みつきになる可能性があるので注意してくさい!
3575
3576 \emph default
3577
3578 \end_layout
3579
3580 \begin_layout Itemize
3581 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3582 \begin_inset Flex Code
3583 status collapsed
3584
3585 \begin_layout Plain Layout
3586 UserDir/doc/xx/
3587 \end_layout
3588
3589 \end_inset
3590
3591 ディレクトリにコピーすれば,
3592 個人用の翻訳ヘルプファイルとして使用することができます.
3593 \begin_inset Newline newline
3594 \end_inset
3595
3596
3597 \begin_inset Note Greyedout
3598 status open
3599
3600 \begin_layout Plain Layout
3601
3602 \series bold
3603 【註】
3604 \series default
3605 外部素材(画像など)のある複雑な文書の場合,
3606 例えば一時ディレクトリなどにコピーを作ると,
3607 文書を別の場所に移したとき,
3608 外部素材へのリンクは壊れてしまうかもしれないことに注意してください.最も良い方法は,
3609 LyXツリーをgit (
3610 \begin_inset Flex URL
3611 status collapsed
3612
3613 \begin_layout Plain Layout
3614
3615 https://www.lyx.org/HowToUseGIT
3616 \end_layout
3617
3618 \end_inset
3619
3620 参照)からとってきて,
3621 そのdocファイルを直接編集するのが良いでしょう.
3622 \end_layout
3623
3624 \end_inset
3625
3626
3627 \end_layout
3628
3629 \begin_layout Itemize
3630 (\SpecialChar LyX
3631 チームが維持している)原典の説明書は,
3632 時折更新されます.変更点については,
3633
3634 \begin_inset CommandInset href
3635 LatexCommand href
3636 name "https://www.lyx.org/trac/timeline"
3637 target "https://www.lyx.org/trac/timeline"
3638 literal "false"
3639
3640 \end_inset
3641
3642 のソースビューアでご覧ください.この方法で,
3643 翻訳文書のどの部分を更新しなくてはならないか,
3644 たやすく見つけることができます.
3645 \end_layout
3646
3647 \begin_layout Standard
3648 もし原典に誤りを見つけたならば,
3649 修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3650 \end_layout
3651
3652 \begin_layout Standard
3653 \begin_inset Branch OutDated
3654 inverted 0
3655 status collapsed
3656
3657 \begin_layout Section
3658 International Keyboard Support
3659 \end_layout
3660
3661 \begin_layout Standard
3662
3663 \emph on
3664 [Editor's Note:
3665  The following section is by
3666 \emph default
3667  
3668 \shape smallcaps
3669 \emph on
3670 Ivan Schreter
3671 \shape default
3672 .
3673  It needs to be fixed to conform to the new Documentation Style sheet and to make use of the new v1.0 features.
3674  The whole thing also needs to be merged with the section following it.-jw It may also be badly out of date.-rh (2008)]
3675 \end_layout
3676
3677 \begin_layout Subsection
3678 Defining Own Keymaps:
3679  Keymap File Format
3680 \end_layout
3681
3682 \begin_layout Standard
3683 Let's look at a keyboard definition file a little closer.
3684  It is a plain text file defining
3685 \end_layout
3686
3687 \begin_layout Itemize
3688 key-to-key or key-to-string translations
3689 \end_layout
3690
3691 \begin_layout Itemize
3692 dead keys
3693 \end_layout
3694
3695 \begin_layout Itemize
3696 dead keys exceptions
3697 \end_layout
3698
3699 \begin_layout Standard
3700 To define key-to-key or key-to-string translation,
3701  use this command:
3702 \end_layout
3703
3704 \begin_layout Quotation
3705 \begin_inset Flex Code
3706 status collapsed
3707
3708 \begin_layout Plain Layout
3709
3710 \backslash
3711 kmap
3712 \end_layout
3713
3714 \end_inset
3715
3716  
3717 \begin_inset Flex Code
3718 status collapsed
3719
3720 \begin_layout Plain Layout
3721 key
3722 \end_layout
3723
3724 \end_inset
3725
3726  outstring 
3727 \end_layout
3728
3729 \begin_layout Standard
3730 where 
3731 \begin_inset Flex Code
3732 status collapsed
3733
3734 \begin_layout Plain Layout
3735 key
3736 \end_layout
3737
3738 \end_inset
3739
3740  is the key to be translated and 
3741 \begin_inset Flex Code
3742 status collapsed
3743
3744 \begin_layout Plain Layout
3745 outstring
3746 \end_layout
3747
3748 \end_inset
3749
3750  is the string to be inserted into the document.
3751  To define dead keys,
3752  use:
3753 \end_layout
3754
3755 \begin_layout Quotation
3756 \begin_inset Flex Code
3757 status collapsed
3758
3759 \begin_layout Plain Layout
3760
3761 \backslash
3762 kmod
3763 \end_layout
3764
3765 \end_inset
3766
3767  
3768 \begin_inset Flex Code
3769 status collapsed
3770
3771 \begin_layout Plain Layout
3772 key
3773 \end_layout
3774
3775 \end_inset
3776
3777  deadkey
3778 \end_layout
3779
3780 \begin_layout Standard
3781 where 
3782 \begin_inset Flex Code
3783 status collapsed
3784
3785 \begin_layout Plain Layout
3786 key
3787 \end_layout
3788
3789 \end_inset
3790
3791  is a keyboard key and 
3792 \begin_inset Flex Code
3793 status collapsed
3794
3795 \begin_layout Plain Layout
3796 deadkey
3797 \end_layout
3798
3799 \end_inset
3800
3801  is dead key name.
3802  The following dead keys are supported (shortcut name is in parentheses):
3803 \end_layout
3804
3805 \begin_layout Quotation
3806
3807 \emph on
3808 Name
3809 \begin_inset space \hfill{}
3810 \end_inset
3811
3812 Example
3813 \end_layout
3814
3815 \begin_layout Quotation
3816 acute (acu)
3817 \begin_inset space \hfill{}
3818 \end_inset
3819
3820
3821 \lang english
3822 áéíóú
3823 \end_layout
3824
3825 \begin_layout Quotation
3826 grave (gra)
3827 \begin_inset space \hfill{}
3828 \end_inset
3829
3830
3831 \lang english
3832 àèìòù
3833 \end_layout
3834
3835 \begin_layout Quotation
3836 macron (mac)
3837 \begin_inset space \hfill{}
3838 \end_inset
3839
3840
3841 \lang english
3842  ō
3843 \end_layout
3844
3845 \begin_layout Quotation
3846 tilde (til)
3847 \begin_inset space \hfill{}
3848 \end_inset
3849
3850
3851 \lang english
3852 ñÑ
3853 \end_layout
3854
3855 \begin_layout Quotation
3856 underbar (underb)
3857 \begin_inset space \hfill{}
3858 \end_inset
3859
3860
3861 \begin_inset ERT
3862 status open
3863
3864 \begin_layout Plain Layout
3865
3866
3867 \backslash
3868 b o
3869 \end_layout
3870
3871 \end_inset
3872
3873
3874 \end_layout
3875
3876 \begin_layout Quotation
3877 cedilla (ced)
3878 \begin_inset space \hfill{}
3879 \end_inset
3880
3881
3882 \lang english
3883 çÇ
3884 \end_layout
3885
3886 \begin_layout Quotation
3887 underdot (underd)
3888 \begin_inset space \hfill{}
3889 \end_inset
3890
3891
3892 \begin_inset ERT
3893 status open
3894
3895 \begin_layout Plain Layout
3896
3897
3898 \backslash
3899 d o
3900 \end_layout
3901
3902 \end_inset
3903
3904
3905 \end_layout
3906
3907 \begin_layout Quotation
3908 circumflex (circu)
3909 \begin_inset space \hfill{}
3910 \end_inset
3911
3912
3913 \lang english
3914 âêîôû
3915 \end_layout
3916
3917 \begin_layout Quotation
3918 circle (circl)
3919 \begin_inset space \hfill{}
3920 \end_inset
3921
3922
3923 \lang english
3924 ÅůŮ
3925 \end_layout
3926
3927 \begin_layout Quotation
3928 tie (tie)
3929 \begin_inset space \hfill{}
3930 \end_inset
3931
3932
3933 \begin_inset ERT
3934 status open
3935
3936 \begin_layout Plain Layout
3937
3938
3939 \backslash
3940 t o
3941 \end_layout
3942
3943 \end_inset
3944
3945
3946 \end_layout
3947
3948 \begin_layout Quotation
3949 breve (bre)
3950 \begin_inset space \hfill{}
3951 \end_inset
3952
3953
3954 \lang english
3955 ă
3956 \lang japanese
3957
3958 \begin_inset ERT
3959 status open
3960
3961 \begin_layout Plain Layout
3962
3963
3964 \backslash
3965 u o
3966 \end_layout
3967
3968 \end_inset
3969
3970
3971 \end_layout
3972
3973 \begin_layout Quotation
3974 caron (car)
3975 \begin_inset space \hfill{}
3976 \end_inset
3977
3978
3979 \lang english
3980 čšž
3981 \end_layout
3982
3983 \begin_layout Quotation
3984 hungarian umlaut (hug)
3985 \begin_inset space \hfill{}
3986 \end_inset
3987
3988
3989 \lang english
3990 őű
3991 \end_layout
3992
3993 \begin_layout Quotation
3994 umlaut (uml)
3995 \begin_inset space \hfill{}
3996 \end_inset
3997
3998
3999 \lang english
4000 äöü
4001 \end_layout
4002
4003 \begin_layout Quotation
4004 dot (dot)
4005 \begin_inset space \hfill{}
4006 \end_inset
4007
4008
4009 \lang english
4010 ż
4011 \lang japanese
4012
4013 \begin_inset ERT
4014 status open
4015
4016 \begin_layout Plain Layout
4017
4018
4019 \backslash
4020 .s
4021 \end_layout
4022
4023 \end_inset
4024
4025
4026 \end_layout
4027
4028 \begin_layout Standard
4029 Since in many international keyboards there are exceptions to what some dead keys should do,
4030  you can define them using
4031 \end_layout
4032
4033 \begin_layout Quotation
4034 \begin_inset Flex Code
4035 status collapsed
4036
4037 \begin_layout Plain Layout
4038
4039 \backslash
4040 kxmod
4041 \end_layout
4042
4043 \end_inset
4044
4045  deadkey key outstring
4046 \end_layout
4047
4048 \begin_layout Standard
4049 For example,
4050  on Slovak keyboard,
4051  if you enter caron-o,
4052  it generates circumflex-o,
4053  so you put in
4054 \end_layout
4055
4056 \begin_layout Quotation
4057 \begin_inset Flex Code
4058 status collapsed
4059
4060 \begin_layout Plain Layout
4061
4062 \backslash
4063 kxmod
4064 \end_layout
4065
4066 \end_inset
4067
4068  caron o "
4069 \backslash
4070 ^o"
4071 \end_layout
4072
4073 \begin_layout Standard
4074 to make it work correctly.
4075  Also,
4076  you have to define as exceptions dead keys over i and j,
4077  to remove the dot from them before inserting an accent mark.
4078  I will change this when the time comes,
4079  but so far I haven't had time.
4080 \end_layout
4081
4082 \begin_layout Standard
4083 Oh,
4084  and about characters:
4085  backslash is escaped,
4086  so to enter it,
4087  you'll need double backslash.
4088  Also,
4089  quotes and 
4090 \begin_inset Flex Code
4091 status collapsed
4092
4093 \begin_layout Plain Layout
4094 #
4095 \end_layout
4096
4097 \end_inset
4098
4099  have different meaning.
4100  
4101 \begin_inset Flex Code
4102 status collapsed
4103
4104 \begin_layout Plain Layout
4105 #
4106 \end_layout
4107
4108 \end_inset
4109
4110  marks comments,
4111  quotes start and end \SpecialChar LaTeX
4112 -style commands.
4113  To enter quote,
4114  you'll need to use 
4115 \begin_inset Flex Code
4116 status collapsed
4117
4118 \begin_layout Plain Layout
4119
4120 \backslash
4121 "
4122 \end_layout
4123
4124 \end_inset
4125
4126 ,
4127  to enter 
4128 \begin_inset Flex Code
4129 status collapsed
4130
4131 \begin_layout Plain Layout
4132 #
4133 \end_layout
4134
4135 \end_inset
4136
4137 ,
4138  use 
4139 \begin_inset Flex Code
4140 status collapsed
4141
4142 \begin_layout Plain Layout
4143
4144 \backslash
4145 #
4146 \end_layout
4147
4148 \end_inset
4149
4150 .
4151 \end_layout
4152
4153 \begin_layout Standard
4154 If you make a keyboard description file that works for your language,
4155  please mail it to me,
4156  so I can include it in the next keymap distribution.
4157 \end_layout
4158
4159 \begin_layout Standard
4160 More keywords will be supported in keymap configuration file in future,
4161  like
4162 \end_layout
4163
4164 \begin_layout Itemize
4165 \begin_inset Flex Code
4166 status collapsed
4167
4168 \begin_layout Plain Layout
4169
4170 \backslash
4171 kinclude filename
4172 \end_layout
4173
4174 \end_inset
4175
4176
4177 \emph on
4178
4179 \begin_inset space \hfill{}
4180 \end_inset
4181
4182
4183 \begin_inset Flex Code
4184 status collapsed
4185
4186 \begin_layout Plain Layout
4187 include
4188 \end_layout
4189
4190 \end_inset
4191
4192  another file
4193 \end_layout
4194
4195 \begin_layout Itemize
4196 \begin_inset Flex Code
4197 status collapsed
4198
4199 \begin_layout Plain Layout
4200
4201 \backslash
4202 kprog program
4203 \end_layout
4204
4205 \end_inset
4206
4207
4208 \emph on
4209
4210 \begin_inset space \hfill{}
4211 \end_inset
4212
4213
4214 \begin_inset Flex Code
4215 status collapsed
4216
4217 \begin_layout Plain Layout
4218 define
4219 \end_layout
4220
4221 \end_inset
4222
4223  an external keymap translation program 
4224 \end_layout
4225
4226 \begin_layout Standard
4227 Also,
4228  it should look into 
4229 \begin_inset Flex Code
4230 status collapsed
4231
4232 \begin_layout Plain Layout
4233 lyxrc
4234 \end_layout
4235
4236 \end_inset
4237
4238  file for defaults,
4239  too (for example,
4240  a 
4241 \begin_inset Flex Code
4242 status collapsed
4243
4244 \begin_layout Plain Layout
4245
4246 \backslash
4247 kinclude
4248 \end_layout
4249
4250 \end_inset
4251
4252  option to include default keyboard).
4253 \end_layout
4254
4255 \end_inset
4256
4257
4258 \end_layout
4259
4260 \begin_layout Section
4261 国際キー配列
4262 \begin_inset CommandInset label
4263 LatexCommand label
4264 name "sec:国際キー配列"
4265
4266 \end_inset
4267
4268
4269 \end_layout
4270
4271 \begin_layout Standard
4272 \begin_inset Note Note
4273 status open
4274
4275 \begin_layout Plain Layout
4276 2008年3月にこの文書を改訂するに当たって,
4277 改訂者が本節の内容に詳しくなかったために,
4278 本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
4279 \end_layout
4280
4281 \begin_layout Plain Layout
4282 (RH)
4283 \end_layout
4284
4285 \end_inset
4286
4287
4288 \end_layout
4289
4290 \begin_layout Standard
4291 以下の2節では,
4292
4293 \begin_inset Flex Code
4294 status collapsed
4295
4296 \begin_layout Plain Layout
4297 .kmap
4298 \end_layout
4299
4300 \end_inset
4301
4302 および
4303 \begin_inset Flex Code
4304 status collapsed
4305
4306 \begin_layout Plain Layout
4307 .cdef
4308 \end_layout
4309
4310 \end_inset
4311
4312 ファイルの文法を詳細に解説します.これらの節は,
4313 提供されているキー配列があなたのニーズに合わない場合に,
4314 自身用のキー配列をデザインする手助けとなるでしょう.
4315 \end_layout
4316
4317 \begin_layout Subsection
4318 .kmapファイル
4319 \end_layout
4320
4321 \begin_layout Standard
4322 \begin_inset Flex Code
4323 status collapsed
4324
4325 \begin_layout Plain Layout
4326 .kmap
4327 \end_layout
4328
4329 \end_inset
4330
4331 ファイルは,
4332 打鍵したものを文字や文字列に割り当てます.名前が示唆するように,
4333 これはキーボード配列表を定義します.
4334 \begin_inset Flex Code
4335 status collapsed
4336
4337 \begin_layout Plain Layout
4338 .kmap
4339 \end_layout
4340
4341 \end_inset
4342
4343 ファイルは,
4344 以下の各項で説明するように,
4345
4346 \begin_inset Flex Code
4347 status collapsed
4348
4349 \begin_layout Plain Layout
4350 kmap
4351 \end_layout
4352
4353 \end_inset
4354
4355
4356 \begin_inset Flex Code
4357 status collapsed
4358
4359 \begin_layout Plain Layout
4360 kmod
4361 \end_layout
4362
4363 \end_inset
4364
4365
4366 \begin_inset Flex Code
4367 status collapsed
4368
4369 \begin_layout Plain Layout
4370 ksmod
4371 \end_layout
4372
4373 \end_inset
4374
4375
4376 \begin_inset Flex Code
4377 status collapsed
4378
4379 \begin_layout Plain Layout
4380 kcomb
4381 \end_layout
4382
4383 \end_inset
4384
4385 のキーワードを定義します.
4386 \end_layout
4387
4388 \begin_layout Labeling
4389 \labelwidthstring 00.00.0000
4390 \begin_inset Flex Code
4391 status collapsed
4392
4393 \begin_layout Plain Layout
4394 kmap
4395 \end_layout
4396
4397 \end_inset
4398
4399  文字を文字列に割り当てる
4400 \end_layout
4401
4402 \begin_layout LyX-Code
4403
4404 \backslash
4405 kmap 
4406 \family roman
4407 \emph on
4408 文字
4409 \family default
4410 \emph default
4411  
4412 \family roman
4413 \emph on
4414 文字列
4415 \end_layout
4416
4417 \begin_layout Standard
4418 これは,
4419
4420 \emph on
4421 文字
4422 \emph default
4423
4424 \emph on
4425 文字列
4426 \emph default
4427 に割り当てます.
4428 \emph on
4429 文字列
4430 \emph default
4431 中では,
4432 二重引用符(")とバックスラッシュ(
4433 \backslash
4434 )は,
4435 前にバックスラッシュ(
4436 \backslash
4437 )を付けてエスケープしなくてはならないことに注意してください.
4438 \end_layout
4439
4440 \begin_layout Standard
4441 \begin_inset Flex MenuItem
4442 status collapsed
4443
4444 \begin_layout Plain Layout
4445 &
4446 \end_layout
4447
4448 \end_inset
4449
4450 を打鍵すると
4451 \begin_inset Flex MenuItem
4452 status collapsed
4453
4454 \begin_layout Plain Layout
4455 /
4456 \end_layout
4457
4458 \end_inset
4459
4460 記号が出力される
4461 \begin_inset Flex MenuItem
4462 status collapsed
4463
4464 \begin_layout Plain Layout
4465 kmap
4466 \end_layout
4467
4468 \end_inset
4469
4470 ステートメントを,
4471 一例としてあげると,
4472
4473 \end_layout
4474
4475 \begin_layout LyX-Code
4476
4477 \backslash
4478 kmap & /
4479 \end_layout
4480
4481 \begin_layout Standard
4482 のようになります.
4483 \end_layout
4484
4485 \begin_layout Labeling
4486 \labelwidthstring 00.00.0000
4487 \begin_inset Flex Code
4488 status collapsed
4489
4490 \begin_layout Plain Layout
4491 kmod
4492 \end_layout
4493
4494 \end_inset
4495
4496  アクセント文字を指定する
4497 \end_layout
4498
4499 \begin_layout LyX-Code
4500
4501 \backslash
4502 kmod 
4503 \family roman
4504 \emph on
4505 文字 アクセント 許可文字
4506 \end_layout
4507
4508 \begin_layout Standard
4509 これは
4510 \emph on
4511 文字
4512 \emph default
4513
4514 \emph on
4515 許可文字
4516 \emph default
4517 のアクセントとするものです.これはデッドキー
4518 \begin_inset Foot
4519 status collapsed
4520
4521 \begin_layout Plain Layout
4522
4523 \emph on
4524 デッドキー
4525 \emph default
4526 という用語は,
4527 それ自身で文字を出力しないけれども,
4528 別のキーを続けて打つと,
4529 望んだアクセント文字を出力するキーのことを指し示します.たとえば,
4530 独語で
4531 \emph on
4532 ä
4533 \emph default
4534 のようなウムラウトのついた文字は,
4535 このようにして出すことができます.
4536 \end_layout
4537
4538 \end_inset
4539
4540 機構です.
4541 \end_layout
4542
4543 \begin_layout Standard
4544
4545 \emph on
4546 文字
4547 \emph default
4548 を打鍵してから
4549 \emph on
4550 許可文字
4551 \emph default
4552 にないキーを打鍵すると,
4553
4554 \emph on
4555 文字
4556 \emph default
4557 の後に許可文字ではないその文字が出力として表示されます.
4558 \begin_inset Flex MenuItem
4559 status collapsed
4560
4561 \begin_layout Plain Layout
4562 Backspace
4563 \end_layout
4564
4565 \end_inset
4566
4567 はデッドキーを取り消しますので,
4568
4569 \emph on
4570 文字
4571 \emph default
4572
4573 \begin_inset Flex MenuItem
4574 status collapsed
4575
4576 \begin_layout Plain Layout
4577 Backspace
4578 \end_layout
4579
4580 \end_inset
4581
4582 と打鍵すると,
4583 カーソルは一文字戻ることなく,
4584 文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4585 \end_layout
4586
4587 \begin_layout Standard
4588 以下の例は,
4589 '文字をacuteアクセントとして,
4590 a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4591 \end_layout
4592
4593 \begin_layout LyX-Code
4594
4595 \backslash
4596 kmod ' acute aeiouAEIOU
4597 \end_layout
4598
4599 \begin_layout Labeling
4600 \labelwidthstring 00.00.0000
4601 \begin_inset Flex Code
4602 status collapsed
4603
4604 \begin_layout Plain Layout
4605 ksmod
4606 \end_layout
4607
4608 \end_inset
4609
4610  アクセント文字に例外を指定する
4611 \end_layout
4612
4613 \begin_layout LyX-Code
4614
4615 \backslash
4616 kxmod  
4617 \family roman
4618 \emph on
4619 アクセント 文字 結果
4620 \end_layout
4621
4622 \begin_layout Standard
4623 これは
4624 \emph on
4625 文字
4626 \emph default
4627 上の
4628 \emph on
4629 アクセント
4630 \emph default
4631 について例外を指定するものです.ここで
4632 \emph on
4633 アクセント
4634 \emph default
4635 には,
4636 前出の
4637 \begin_inset Flex Code
4638 status collapsed
4639
4640 \begin_layout Plain Layout
4641
4642 \backslash
4643 kmod
4644 \end_layout
4645
4646 \end_inset
4647
4648 宣言で打鍵キーを既に割り当てられてなくてはならず,
4649
4650 \emph on
4651 文字
4652 \emph default
4653
4654 \emph on
4655 アクセント
4656 \emph default
4657
4658 \emph on
4659 許可文字
4660 \emph default
4661 の集合に属していてはなりません.こうして
4662 \emph on
4663 アクセント
4664 \emph default
4665
4666 \emph on
4667 文字
4668 \emph default
4669 の順に入力すると,
4670
4671 \emph on
4672 結果
4673 \emph default
4674 が出力されるようになります.
4675 \begin_inset Flex Code
4676 status collapsed
4677
4678 \begin_layout Plain Layout
4679 .kmap
4680 \end_layout
4681
4682 \end_inset
4683
4684 ファイルにこの宣言がない場合には,
4685
4686 \emph on
4687 アクセント
4688 \emph default
4689
4690 \emph on
4691 文字
4692 \emph default
4693 と入力すると,
4694
4695 \emph on
4696 アクセントキー
4697 \emph default
4698
4699 \emph on
4700 文字
4701 \emph default
4702
4703 \emph on
4704 アクセントキー
4705 \emph default
4706
4707 \begin_inset Flex Code
4708 status collapsed
4709
4710 \begin_layout Plain Layout
4711
4712 \backslash
4713 kmod
4714 \end_layout
4715
4716 \end_inset
4717
4718 宣言の最初の変数)と出力されます.
4719 \end_layout
4720
4721 \begin_layout Standard
4722 以下のコマンドを用いると,
4723 acute-i('i)と入力した場合,
4724 äiと出力されるようになります.
4725 \end_layout
4726
4727 \begin_layout LyX-Code
4728
4729 \backslash
4730 kxmod acute i "
4731 \backslash
4732
4733 \backslash
4734 '{
4735 \backslash
4736
4737 \backslash
4738 i}"
4739 \end_layout
4740
4741 \begin_layout Labeling
4742 \labelwidthstring 00.00.0000
4743 \begin_inset Flex Code
4744 status collapsed
4745
4746 \begin_layout Plain Layout
4747 kcomb
4748 \end_layout
4749
4750 \end_inset
4751
4752  2つのアクセント文字を結合する
4753 \end_layout
4754
4755 \begin_layout LyX-Code
4756
4757 \backslash
4758 kcomb 
4759 \family roman
4760 \emph on
4761 アクセント1 アクセント2 許可文字
4762 \end_layout
4763
4764 \begin_layout Standard
4765 これはなかなか難解になってきます.これは
4766 \emph on
4767 アクセント1
4768 \emph default
4769
4770 \emph on
4771 アクセント2
4772 \emph default
4773 を(この順番で)結びつけて,
4774
4775 \emph on
4776 許可文字
4777 \emph default
4778 に効果を及ぼすようにします.
4779 \emph on
4780 アクセント1
4781 \emph default
4782
4783 \emph on
4784 アクセント2
4785 \emph default
4786 の打鍵キーは,
4787 ファイル内のこのコマンド
4788 \emph on
4789 よりも前に
4790 \emph default
4791
4792
4793 \begin_inset Flex Code
4794 status collapsed
4795
4796 \begin_layout Plain Layout
4797
4798 \backslash
4799 kmod
4800 \end_layout
4801
4802 \end_inset
4803
4804 コマンドで設定されていなくてはなりません.
4805 \end_layout
4806
4807 \begin_layout Standard
4808 \begin_inset Flex Code
4809 status collapsed
4810
4811 \begin_layout Plain Layout
4812 greek.kmap
4813 \end_layout
4814
4815 \end_inset
4816
4817 ファイル上にある例をとってみましょう.
4818 \end_layout
4819
4820 \begin_layout LyX-Code
4821
4822 \backslash
4823 kmod ;
4824  acute aeioyvhAEIOYVH 
4825 \backslash
4826 kmod :
4827  umlaut iyIY 
4828 \backslash
4829 kcomb acute umlaut iyIY
4830 \end_layout
4831
4832 \begin_layout Standard
4833 これは
4834 \begin_inset Flex MenuItem
4835 status collapsed
4836
4837 \begin_layout Plain Layout
4838 ;:i
4839 \end_layout
4840
4841 \end_inset
4842
4843 を押すと
4844 \begin_inset Flex Code
4845 status collapsed
4846
4847 \begin_layout Plain Layout
4848
4849 \backslash
4850 '{
4851 \backslash
4852 "{i}}
4853 \end_layout
4854
4855 \end_inset
4856
4857 という効果を得るようにするものです.この場合のバックスペースは,
4858 最後のデッドキーを取り消すので,
4859
4860 \begin_inset Flex MenuItem
4861 status collapsed
4862
4863 \begin_layout Plain Layout
4864 ;:
4865  Backspace i
4866 \end_layout
4867
4868 \end_inset
4869
4870 と押した場合には,
4871
4872 \begin_inset Flex Code
4873 status collapsed
4874
4875 \begin_layout Plain Layout
4876
4877 \backslash
4878 '{i}
4879 \end_layout
4880
4881 \end_inset
4882
4883 となります.
4884 \end_layout
4885
4886 \begin_layout Subsection
4887 .cdefファイル
4888 \end_layout
4889
4890 \begin_layout Standard
4891 \begin_inset Flex Code
4892 status collapsed
4893
4894 \begin_layout Plain Layout
4895 .kmap
4896 \end_layout
4897
4898 \end_inset
4899
4900 による割り当てが行われた後,
4901
4902 \begin_inset Flex Code
4903 status collapsed
4904
4905 \begin_layout Plain Layout
4906 .cdef
4907 \end_layout
4908
4909 \end_inset
4910
4911 ファイルは,
4912 記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
4913 頒布版には,
4914 現在のところ,
4915 少なくとも
4916 \begin_inset Flex Code
4917 status collapsed
4918
4919 \begin_layout Plain Layout
4920 iso8859-1.cdef
4921 \end_layout
4922
4923 \end_inset
4924
4925 ファイルと
4926 \begin_inset Flex Code
4927 status collapsed
4928
4929 \begin_layout Plain Layout
4930 iso8859-2.cdef
4931 \end_layout
4932
4933 \end_inset
4934
4935 ファイルが含まれています.
4936 \end_layout
4937
4938 \begin_layout Standard
4939 一般的に
4940 \begin_inset Flex Code
4941 status collapsed
4942
4943 \begin_layout Plain Layout
4944 .cdef
4945 \end_layout
4946
4947 \end_inset
4948
4949 ファイルは,
4950
4951 \end_layout
4952
4953 \begin_layout LyX-Code
4954
4955 \family roman
4956 \emph on
4957 セット中の文字番号
4958 \family default
4959 \emph default
4960  
4961 \family roman
4962 \emph on
4963  文字列
4964 \end_layout
4965
4966 \begin_layout Standard
4967 という形の宣言の羅列です.たとえば,
4968
4969 \begin_inset Flex MenuItem
4970 status collapsed
4971
4972 \begin_layout Plain Layout
4973
4974 \backslash
4975 '{e}
4976 \end_layout
4977
4978 \end_inset
4979
4980 をiso-8859-1セットの対応する文字(233)に割り当てるには,
4981 以下の宣言を用います.
4982 \end_layout
4983
4984 \begin_layout LyX-Code
4985 233 "
4986 \backslash
4987
4988 \backslash
4989 '{e}"
4990 \end_layout
4991
4992 \begin_layout Standard
4993 ここで,
4994
4995 \emph on
4996 文字列
4997 \emph default
4998 中の
4999 \begin_inset Flex Code
5000 status collapsed
5001
5002 \begin_layout Plain Layout
5003
5004 \backslash
5005
5006 \end_layout
5007
5008 \end_inset
5009
5010
5011 \begin_inset Flex Code
5012 status collapsed
5013
5014 \begin_layout Plain Layout
5015 "
5016 \end_layout
5017
5018 \end_inset
5019
5020 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
5021 \begin_inset Flex Code
5022 status collapsed
5023
5024 \begin_layout Plain Layout
5025 iso-8859-7.cdef
5026 \end_layout
5027
5028 \end_inset
5029
5030 ファイルには,
5031
5032 \end_layout
5033
5034 \begin_layout LyX-Code
5035 192 "
5036 \backslash
5037
5038 \backslash
5039 '{
5040 \backslash
5041
5042 \backslash
5043
5044 \backslash
5045 "{i}}"
5046 \begin_inset Newline newline
5047 \end_inset
5048
5049 192 "
5050 \backslash
5051
5052 \backslash
5053
5054 \backslash
5055 "{
5056 \backslash
5057
5058 \backslash
5059 '{i}}"
5060 \end_layout
5061
5062 \begin_layout Standard
5063 という例があります.\SpecialChar LyX
5064 は,
5065 キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,
5066 それがアクセント付き文字のように解釈ができないかどうかチェックして,
5067 画面上の文字にアクセントを引くことを試みます.
5068 \end_layout
5069
5070 \begin_layout Subsection
5071 デッドキー
5072 \end_layout
5073
5074 \begin_layout Standard
5075 国際文字のサポートを追加する第2の方法として,
5076 いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,
5077 アクセント付き文字を生成します.ここではその機能を説明するために,
5078 きわめて単純なデッドキーの作り方を説明します.
5079 \end_layout
5080
5081 \begin_layout Standard
5082 仮に,
5083 曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,
5084 自身の
5085 \begin_inset Flex Code
5086 status collapsed
5087
5088 \begin_layout Plain Layout
5089 lyxrc
5090 \end_layout
5091
5092 \end_inset
5093
5094 ファイル中で,
5095
5096 \begin_inset Flex MenuItem
5097 status collapsed
5098
5099 \begin_layout Plain Layout
5100 ^
5101 \end_layout
5102
5103 \end_inset
5104
5105 キー(すなわち
5106 \begin_inset Flex MenuItem
5107 status collapsed
5108
5109 \begin_layout Plain Layout
5110 Shift-6
5111 \end_layout
5112
5113 \end_inset
5114
5115 キー)を,
5116 \SpecialChar LyX
5117 コマンドの
5118 \begin_inset Flex Code
5119 status collapsed
5120
5121 \begin_layout Plain Layout
5122 accent-circumflex
5123 \end_layout
5124
5125 \end_inset
5126
5127 に結びつけることができます.すると
5128 \begin_inset Flex MenuItem
5129 status collapsed
5130
5131 \begin_layout Plain Layout
5132 ^
5133 \end_layout
5134
5135 \end_inset
5136
5137 キーの後に文字を打ったときはいつでも,
5138 この文字上に曲折アクセントが付けられるようになります.たとえば「
5139 \begin_inset Flex MenuItem
5140 status collapsed
5141
5142 \begin_layout Plain Layout
5143 ^e
5144 \end_layout
5145
5146 \end_inset
5147
5148 」という打鍵順は「ê」という文字を生成します.しかしながら,
5149 もし「
5150 \begin_inset Flex MenuItem
5151 status collapsed
5152
5153 \begin_layout Plain Layout
5154 ^t
5155 \end_layout
5156
5157 \end_inset
5158
5159 」と打鍵したならば,
5160
5161 \begin_inset Flex MenuItem
5162 status collapsed
5163
5164 \begin_layout Plain Layout
5165 t
5166 \end_layout
5167
5168 \end_inset
5169
5170 」は曲折アクセントをとることは決してないために,
5171 \SpecialChar LyX
5172 はビープを鳴らして文句を付けます.デッドキーの後に
5173 \begin_inset Flex MenuItem
5174 status collapsed
5175
5176 \begin_layout Plain Layout
5177 スペース
5178 \end_layout
5179
5180 \end_inset
5181
5182 を打つと,
5183 アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,
5184 このキー上の文字を別のキーに割り当て直す必要があります.たとえば,
5185
5186 \begin_inset Flex MenuItem
5187 status collapsed
5188
5189 \begin_layout Plain Layout
5190 ,キー
5191 \end_layout
5192
5193 \end_inset
5194
5195 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
5196 \end_layout
5197
5198 \begin_layout Standard
5199 デッドキーを割り当てるのによく用いられる方法は,
5200
5201 \begin_inset Flex MenuItem
5202 status collapsed
5203
5204 \begin_layout Plain Layout
5205 Meta-
5206 \end_layout
5207
5208 \end_inset
5209
5210
5211 \begin_inset Flex MenuItem
5212 status collapsed
5213
5214 \begin_layout Plain Layout
5215 Ctrl-
5216 \end_layout
5217
5218 \end_inset
5219
5220
5221 \begin_inset Flex MenuItem
5222 status collapsed
5223
5224 \begin_layout Plain Layout
5225 Shift-
5226 \end_layout
5227
5228 \end_inset
5229
5230 キーを,
5231
5232 \begin_inset Flex MenuItem
5233 status collapsed
5234
5235 \begin_layout Plain Layout
5236 ~
5237 \end_layout
5238
5239 \end_inset
5240
5241 」・「
5242 \begin_inset Flex MenuItem
5243 status collapsed
5244
5245 \begin_layout Plain Layout
5246 ,
5247 \end_layout
5248
5249 \end_inset
5250
5251 」・「
5252 \begin_inset Flex MenuItem
5253 status collapsed
5254
5255 \begin_layout Plain Layout
5256 ^
5257 \end_layout
5258
5259 \end_inset
5260
5261 」のようなアクセントと一緒に用いる方法です.また,
5262
5263 \begin_inset Flex Code
5264 status collapsed
5265
5266 \begin_layout Plain Layout
5267 xmodmap
5268 \end_layout
5269
5270 \end_inset
5271
5272
5273 \begin_inset Flex Code
5274 status collapsed
5275
5276 \begin_layout Plain Layout
5277 xkeycaps
5278 \end_layout
5279
5280 \end_inset
5281
5282 を使って,
5283 特別な
5284 \begin_inset Flex Code
5285 status collapsed
5286
5287 \begin_layout Plain Layout
5288 Mode_Switch
5289 \end_layout
5290
5291 \end_inset
5292
5293 キーを設定する方法もあります.
5294 \begin_inset Flex Code
5295 status collapsed
5296
5297 \begin_layout Plain Layout
5298 Mode_Switch
5299 \end_layout
5300
5301 \end_inset
5302
5303 キーは,
5304 ちょうど
5305 \begin_inset Flex MenuItem
5306 status collapsed
5307
5308 \begin_layout Plain Layout
5309 Shift
5310 \end_layout
5311
5312 \end_inset
5313
5314 キーのように機能するので,
5315 アクセント文字を割り当てるのに使用できます.また,
5316 特定のキーを
5317 \begin_inset Flex Code
5318 status collapsed
5319
5320 \begin_layout Plain Layout
5321 usldead_cedilla
5322 \end_layout
5323
5324 \end_inset
5325
5326 などに割り当てることで,
5327 これらのキーをデッドキーに仕立て,
5328 このシンボリックキーを対応する\SpecialChar LyX
5329 コマンドに割り当てることもできます
5330 \begin_inset Foot
5331 status collapsed
5332
5333 \begin_layout Plain Layout
5334
5335 \noun on
5336 John Weiss
5337 \noun default
5338 からの註:
5339 これはまさに私が,
5340 自分の
5341 \begin_inset Flex Code
5342 status collapsed
5343
5344 \begin_layout Plain Layout
5345 ~/.lyx/lyxrc
5346 \end_layout
5347
5348 \end_inset
5349
5350
5351 \begin_inset Flex Code
5352 status collapsed
5353
5354 \begin_layout Plain Layout
5355 ~/.xmodmap
5356 \end_layout
5357
5358 \end_inset
5359
5360 で行っていることです.私は,
5361
5362 \begin_inset Flex MenuItem
5363 status collapsed
5364
5365 \begin_layout Plain Layout
5366 Scroll
5367 \begin_inset space ~
5368 \end_inset
5369
5370 Lock
5371 \end_layout
5372
5373 \end_inset
5374
5375 キーを
5376 \begin_inset Flex Code
5377 status collapsed
5378
5379 \begin_layout Plain Layout
5380 Mode_Shift
5381 \end_layout
5382
5383 \end_inset
5384
5385 に仕立てて,
5386 多数の
5387 \begin_inset Flex Code
5388 status collapsed
5389
5390 \begin_layout Plain Layout
5391 usldead_*
5392 \end_layout
5393
5394 \end_inset
5395
5396 シンボリックキーを
5397 \begin_inset Flex MenuItem
5398 status collapsed
5399
5400 \begin_layout Plain Layout
5401 Scroll
5402 \begin_inset space ~
5403 \end_inset
5404
5405 Lock-^
5406 \end_layout
5407
5408 \end_inset
5409
5410
5411 \begin_inset Flex MenuItem
5412 status collapsed
5413
5414 \begin_layout Plain Layout
5415 Scroll
5416 \begin_inset space ~
5417 \end_inset
5418
5419 Lock-~
5420 \end_layout
5421
5422 \end_inset
5423
5424 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5425 \end_layout
5426
5427 \end_inset
5428
5429 .この
5430 \begin_inset Flex Code
5431 status collapsed
5432
5433 \begin_layout Plain Layout
5434 Mode_Switch
5435 \end_layout
5436
5437 \end_inset
5438
5439 キーには,
5440
5441 \begin_inset Flex MenuItem
5442 status collapsed
5443
5444 \begin_layout Plain Layout
5445 Ctrl-
5446 \end_layout
5447
5448 \end_inset
5449
5450 キーの片方や使われていないファンクションキーなど,
5451 ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5452 コマンドについては,
5453
5454 \emph on
5455 \SpecialChar LyX
5456 関数説明書
5457 \emph default
5458
5459 \begin_inset Flex Code
5460 status collapsed
5461
5462 \begin_layout Plain Layout
5463 LFUN_ACCENT_*
5464 \end_layout
5465
5466 \end_inset
5467
5468 の項をご覧ください.ここには完備した一覧があります.
5469 \end_layout
5470
5471 \begin_layout Subsection
5472 自分の言語設定を保存する
5473 \end_layout
5474
5475 \begin_layout Standard
5476 \begin_inset Flex MenuItem
5477 status collapsed
5478
5479 \begin_layout Plain Layout
5480 ツール\SpecialChar menuseparator
5481 設定
5482 \end_layout
5483
5484 \end_inset
5485
5486 ダイアログを使えば,
5487 \SpecialChar LyX
5488 を起動したときに,
5489 ご希望の言語環境に自動的に設定されるように,
5490 設定を編集することができます.
5491 \end_layout
5492
5493 \begin_layout Chapter
5494 文書クラス・レイアウト・ひな型の新規導入
5495 \begin_inset CommandInset label
5496 LatexCommand label
5497 name "cha:新規文書を導入"
5498
5499 \end_inset
5500
5501
5502 \begin_inset Argument 1
5503 status collapsed
5504
5505 \begin_layout Plain Layout
5506 文書クラスを新規に導入する
5507 \end_layout
5508
5509 \end_inset
5510
5511
5512 \end_layout
5513
5514 \begin_layout Standard
5515 この章では,
5516 新しく\SpecialChar LyX
5517 のレイアウトファイルやひな型ファイルを作成して,
5518 導入する手順を説明すると共に,
5519 新規に\SpecialChar LaTeX
5520 文書クラス(ドキュメントクラス)を正しく導入する方法を復習します.
5521 \end_layout
5522
5523 \begin_layout Standard
5524 まず,
5525 \SpecialChar LyX
5526 と\SpecialChar LaTeX
5527 の間の関係をどのように考えるべきか,
5528 若干の註釈を加えておくことにしましょう.理解していただきたいことは,
5529 ある意味において,
5530 \SpecialChar LyX
5531 は,
5532 La\SpecialChar TeX
5533 について何も知らないと云うことです.実際のところ,
5534 \SpecialChar LyX
5535 の観点からは,
5536 \SpecialChar LaTeX
5537 は,
5538 \SpecialChar LyX
5539 が出力を生成することができる,
5540 複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形式には,
5541 DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5542 は,
5543 とくに重要な形式ですが,
5544 \SpecialChar LyX
5545 がLa\SpecialChar TeX
5546 について持っている情報のほとんどは,
5547 実はプログラム本体には含まれていないのです
5548 \begin_inset Foot
5549 status collapsed
5550
5551 \begin_layout Plain Layout
5552 過度に複雑なため,
5553 \SpecialChar LyX
5554 に「ハードコード化」されているコマンドもありますが,
5555 一般的に開発者は,
5556 これを「わるいこと」とみなしています.
5557 \end_layout
5558
5559 \end_inset
5560
5561 .このような情報は,
5562
5563 \begin_inset Flex Code
5564 status collapsed
5565
5566 \begin_layout Plain Layout
5567 article.cls
5568 \end_layout
5569
5570 \end_inset
5571
5572 のような標準クラスでも,
5573 「レイアウトファイル」に保管されています.同様に,
5574 \SpecialChar LyX
5575 は,
5576 DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5577 が知っていることは,
5578 レイアウトファイルの中にあります.
5579 \end_layout
5580
5581 \begin_layout Standard
5582 文書クラス用のレイアウトファイルは,
5583 \SpecialChar LyX
5584 構成体—
5585 対応する様式や何らかの差込枠などを有する段落群—
5586 と,
5587 それに対応する\SpecialChar LaTeX
5588 構成体・DocBook構成体・XHTML構成体との間の翻訳指南書のようなものです.たとえば,
5589 \SpecialChar LyX
5590
5591 \begin_inset Flex Code
5592 status collapsed
5593
5594 \begin_layout Plain Layout
5595 article.cls
5596 \end_layout
5597
5598 \end_inset
5599
5600 について知っていることのほとんど総ては,
5601
5602 \begin_inset Flex Code
5603 status collapsed
5604
5605 \begin_layout Plain Layout
5606 article.layout
5607 \end_layout
5608
5609 \end_inset
5610
5611 と,
5612 それが呼び出す他の様々なファイルに書き込まれています.このことから,
5613 レイアウトファイルを書こうとする人は,
5614 既存のファイルを研究することを勧めます.とっかかりとしては,
5615
5616 \begin_inset Flex Code
5617 status collapsed
5618
5619 \begin_layout Plain Layout
5620 article.layout
5621 \end_layout
5622
5623 \end_inset
5624
5625
5626 \begin_inset Flex Code
5627 status collapsed
5628
5629 \begin_layout Plain Layout
5630 book.layout
5631 \end_layout
5632
5633 \end_inset
5634
5635 や,
5636 文書クラス用の他のレイアウトファイルに取り込まれている
5637 \begin_inset Flex Code
5638 status collapsed
5639
5640 \begin_layout Plain Layout
5641 stdsections.inc
5642 \end_layout
5643
5644 \end_inset
5645
5646 から見始めるのがよいでしょう.このファイルは,
5647 節などの定義が為されている場所です.
5648 \begin_inset Flex Code
5649 status collapsed
5650
5651 \begin_layout Plain Layout
5652 stdsections.inc
5653 \end_layout
5654
5655 \end_inset
5656
5657 は,
5658 節様式や小節様式などとしてマークされている段落を,
5659 対応する\SpecialChar LaTeX
5660 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5661 に知らせるものです.基本的に
5662 \begin_inset Flex Code
5663 status collapsed
5664
5665 \begin_layout Plain Layout
5666 article.layout
5667 \end_layout
5668
5669 \end_inset
5670
5671 ファイルは,
5672 これらの
5673 \begin_inset Flex Code
5674 status collapsed
5675
5676 \begin_layout Plain Layout
5677 std*.inc
5678 \end_layout
5679
5680 \end_inset
5681
5682 ファイルを取り込んでいるだけのものです.
5683 \end_layout
5684
5685 \begin_layout Standard
5686 しかしながら,
5687 \SpecialChar LyX
5688 –\SpecialChar LaTeX
5689 間の対応を定義するだけが,
5690 レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,
5691 \SpecialChar LyX
5692 構成体自身が画面上にどのように表示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,
5693 レイアウトファイルが2つの仕事を行うという事実は,
5694 しばしば混乱を引き起こす元となります.ある段落様式を\SpecialChar LaTeX
5695 に翻訳する仕方を\SpecialChar LyX
5696 に指示することは,
5697 その表示の仕方を\SpecialChar LyX
5698 に指示するものではありません.逆に,
5699 ある段落様式の表示の仕方を\SpecialChar LyX
5700 に指示することは,
5701 その段落様式をどのように\SpecialChar LaTeX
5702 に翻訳するかを\SpecialChar LyX
5703 に指示するものではありません(ましてや\SpecialChar LaTeX
5704 に表示の仕方を指示するものではありません).つまり,
5705 一般的に,
5706 新しい\SpecialChar LyX
5707 構成体を定義する際には,
5708 (i)
5709 \begin_inset space ~
5710 \end_inset
5711
5712 \SpecialChar LaTeX
5713 にどのように翻訳するかを\SpecialChar LyX
5714 に指示する,
5715 (ii)
5716 \begin_inset space ~
5717 \end_inset
5718
5719 それをどのように表示するかを\SpecialChar LyX
5720 に指示する,
5721 という,
5722 二つのかなり異なることを行わなくてはならないのです.
5723 \end_layout
5724
5725 \begin_layout Standard
5726 もちろん,
5727 \SpecialChar LyX
5728 の他のバックエンド形式に関しても,
5729 ほぼ同じことが言えますが,
5730 XHTMLの場合には若干事情が異なり,
5731 \SpecialChar LyX
5732 が,
5733 ブラウザ中での段落の表示方法を(CSSの形で)出力するにあたって,
5734 当該段落を\SpecialChar LyX
5735 が画面上に出力する仕方の情報を,
5736 ある程度利用することができます.しかし,
5737 この場合でも,
5738 \SpecialChar LyX
5739 が内部的に行うことと,
5740 外部的に行う物事の間の区別は,
5741 依然として有効であり,
5742 この2つは独立して制御することができます.詳細に関しては,
5743
5744 \begin_inset CommandInset ref
5745 LatexCommand ref
5746 reference "sec:XHTML出力のタグ"
5747 nolink "false"
5748
5749 \end_inset
5750
5751 節をご覧ください.
5752 \end_layout
5753
5754 \begin_layout Section
5755 新しい\SpecialChar LaTeX
5756 ファイルの導入
5757 \end_layout
5758
5759 \begin_layout Standard
5760 頒布版によっては,
5761 \SpecialChar LyX
5762 で使いたい\SpecialChar LaTeX
5763 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,
5764 オーバーヘッドプロジェクタ用のスライドを準備するためのパッケージである,
5765 Foil\SpecialChar TeX
5766 がないかもしれません.\SpecialChar TeX
5767 Live(2008年以降)やMiK\SpecialChar TeX
5768 のような最近の\SpecialChar LaTeX
5769 頒布版には,
5770 これらのパッケージを導入するためのユーザーインタフェースが用意されています.たとえば,
5771 MiK\SpecialChar TeX
5772 では,
5773 付属の「Package
5774 \begin_inset space ~
5775 \end_inset
5776
5777 Manager」プログラムを起動すると,
5778 利用できるパッケージの一覧を得ることができます.どれかを導入するには,
5779 その上で右クリックするかツールバーボタンを押してください.
5780 \end_layout
5781
5782 \begin_layout Standard
5783 お使いの\SpecialChar LaTeX
5784 頒布版がこのような「パッケージマネジャー」を提供していなかったり,
5785 使用中の頒布版にそのパッケージが入っていない場合には,
5786 以下のステップに従って手動で導入してください.
5787 \end_layout
5788
5789 \begin_layout Enumerate
5790 \begin_inset CommandInset href
5791 LatexCommand href
5792 name "CTAN"
5793 target "http://www.ctan.org/"
5794 literal "false"
5795
5796 \end_inset
5797
5798 などから欲しいパッケージを入手してください.
5799 \end_layout
5800
5801 \begin_layout Enumerate
5802 パッケージに「
5803 \begin_inset Flex Code
5804 status collapsed
5805
5806 \begin_layout Plain Layout
5807 .ins
5808 \end_layout
5809
5810 \end_inset
5811
5812 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5813 がその一例です)は,
5814 コンソールを開いて,
5815 このファイルのフォルダに移動し,
5816 コマンド
5817 \begin_inset Flex Code
5818 status collapsed
5819
5820 \begin_layout Plain Layout
5821 latex foiltex.ins
5822 \end_layout
5823
5824 \end_inset
5825
5826 を実行してください.すると,
5827 パッケージが解凍されて,
5828 導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5829 パッケージは圧縮されていないので,
5830 このステップは飛ばすことができます.
5831 \end_layout
5832
5833 \begin_layout Enumerate
5834 ここで,
5835 パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5836 \end_layout
5837
5838 \begin_deeper
5839 \begin_layout Enumerate
5840 (Linux・OSXなどの)*nix系システムでは,
5841 システム上の全ユーザーに新パッケージを利用可能にしたければ,
5842 「ローカル」\SpecialChar TeX
5843 ツリーに導入し,
5844 そうでなければ「ユーザー」\SpecialChar TeX
5845 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,
5846 お使いのシステムに依存します.これを見いだすには,
5847
5848 \begin_inset Flex Code
5849 status collapsed
5850
5851 \begin_layout Plain Layout
5852 texmf.cnf
5853 \end_layout
5854
5855 \end_inset
5856
5857 ファイルを参照してください
5858 \begin_inset Foot
5859 status collapsed
5860
5861 \begin_layout Plain Layout
5862 このファイルは,
5863 通常
5864 \family sans
5865 $TEXMF/web2c
5866 \family default
5867 ディレクトリにありますが,
5868 コマンド
5869 \begin_inset Flex Code
5870 status collapsed
5871
5872 \begin_layout Plain Layout
5873 kpsewhich texmf.cnf
5874 \end_layout
5875
5876 \end_inset
5877
5878 を実行してその場所を見つけることもできます.
5879 \end_layout
5880
5881 \end_inset
5882
5883 .「ローカル」\SpecialChar TeX
5884 ツリーの場所は,
5885
5886 \begin_inset Flex Code
5887 status collapsed
5888
5889 \begin_layout Plain Layout
5890 TEXMFLOCAL
5891 \end_layout
5892
5893 \end_inset
5894
5895 変数で定義されており,
5896 通常は
5897 \begin_inset Flex Code
5898 status collapsed
5899
5900 \begin_layout Plain Layout
5901 /usr/local/share/texmf/
5902 \end_layout
5903
5904 \end_inset
5905
5906
5907 \begin_inset Flex Code
5908 status collapsed
5909
5910 \begin_layout Plain Layout
5911 /usr/local/texlive/XXXX
5912 \end_layout
5913
5914 \end_inset
5915
5916  (XXXXは導入されている\SpecialChar TeX
5917 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
5918 ツリーの場所は,
5919
5920 \begin_inset Flex Code
5921 status collapsed
5922
5923 \begin_layout Plain Layout
5924 TEXMFHOME
5925 \end_layout
5926
5927 \end_inset
5928
5929 で定義されており,
5930 通常は
5931 \begin_inset Flex Code
5932 status collapsed
5933
5934 \begin_layout Plain Layout
5935 $HOME/texmf/
5936 \end_layout
5937
5938 \end_inset
5939
5940
5941 \begin_inset Flex Code
5942 status collapsed
5943
5944 \begin_layout Plain Layout
5945 $HOME/.texliveXXXX
5946 \end_layout
5947
5948 \end_inset
5949
5950 です(もしこれらの変数が事前定義されていなければ,
5951 定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,
5952 おそらくroot権限が必要ですが,
5953 「ユーザー」ツリーにはこのような制限はありません.
5954 \begin_inset Newline newline
5955 \end_inset
5956
5957 一般的に,
5958 システムをアップグレードした際に,
5959 ユーザーが修正されたり上書きされたりということが起こらないので,
5960 ユーザーツリーに導入することが推奨されます.こうすると,
5961 自分のホームディレクトリをバックアップする際に,
5962 パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
5963 \end_layout
5964
5965 \begin_layout Enumerate
5966 Windowで,
5967 システム上の全ユーザーに新パッケージを利用可能にしたい場合には,
5968 \SpecialChar LaTeX
5969 の導入されているフォルダのサブフォルダ
5970 \begin_inset Flex Code
5971 status collapsed
5972
5973 \begin_layout Plain Layout
5974 ~
5975 \backslash
5976 tex
5977 \backslash
5978 latex
5979 \end_layout
5980
5981 \end_inset
5982
5983 に移動します(MiK\SpecialChar TeX
5984 の既定値では,
5985 これは
5986 \begin_inset Flex Code
5987 status collapsed
5988
5989 \begin_layout Plain Layout
5990 ~:Programs
5991 \backslash
5992 MiKTeX
5993 \backslash
5994 tex
5995 \backslash
5996 latex
5997 \end_layout
5998
5999 \end_inset
6000
6001 です)
6002 \begin_inset Foot
6003 status open
6004
6005 \begin_layout Plain Layout
6006 これは,
6007 英語版でのみ正しいパスになっています.独語版では
6008 \begin_inset Flex Code
6009 status collapsed
6010
6011 \begin_layout Plain Layout
6012 ~:Programme
6013 \backslash
6014 MiKTeX
6015 \backslash
6016 tex
6017 \backslash
6018 latex
6019 \end_layout
6020
6021 \end_inset
6022
6023 となり,
6024 他の言語でも同様です.
6025 \end_layout
6026
6027 \end_inset
6028
6029 .ここに新規フォルダ
6030 \begin_inset Flex Code
6031 status collapsed
6032
6033 \begin_layout Plain Layout
6034 foiltex
6035 \end_layout
6036
6037 \end_inset
6038
6039 を作成し,
6040 パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,
6041 admin権限を持っていない場合には,
6042 ローカル\SpecialChar LaTeX
6043 フォルダで同じことを行います.たとえばMiK\SpecialChar TeX
6044
6045 \begin_inset space ~
6046 \end_inset
6047
6048 2.8では,
6049 これはWinXP上では
6050 \begin_inset Newline newline
6051 \end_inset
6052
6053
6054 \begin_inset Flex Code
6055 status collapsed
6056
6057 \begin_layout Plain Layout
6058 ~:
6059 \backslash
6060 Documents and Settings
6061 \backslash
6062 <ユーザー名>
6063 \backslash
6064 Application Data
6065 \backslash
6066
6067 \end_layout
6068
6069 \end_inset
6070
6071
6072 \begin_inset Newline newline
6073 \end_inset
6074
6075
6076 \begin_inset Phantom HPhantom
6077 status open
6078
6079 \begin_layout Plain Layout
6080
6081 \family typewriter
6082 ~:
6083 \backslash
6084
6085 \end_layout
6086
6087 \end_inset
6088
6089
6090 \begin_inset Flex Code
6091 status collapsed
6092
6093 \begin_layout Plain Layout
6094 MiKTeX
6095 \backslash
6096 2.8
6097 \backslash
6098 tex
6099 \backslash
6100 latex
6101 \end_layout
6102
6103 \end_inset
6104
6105
6106 \begin_inset Newline newline
6107 \end_inset
6108
6109 フォルダ,
6110 WinVista上では
6111 \begin_inset Newline newline
6112 \end_inset
6113
6114
6115 \begin_inset Flex Code
6116 status collapsed
6117
6118 \begin_layout Plain Layout
6119 ~:
6120 \backslash
6121 Users
6122 \backslash
6123 <ユーザー名>
6124 \backslash
6125 AppData
6126 \backslash
6127 Roaming
6128 \backslash
6129 2.8
6130 \backslash
6131 MiKTeX
6132 \backslash
6133 tex
6134 \backslash
6135 latex
6136 \end_layout
6137
6138 \end_inset
6139
6140
6141 \begin_inset Newline newline
6142 \end_inset
6143
6144 フォルダになります.
6145 \end_layout
6146
6147 \end_deeper
6148 \begin_layout Enumerate
6149 ここまで来れば,
6150 あとは\SpecialChar LaTeX
6151 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
6152 頒布版に依存します.
6153 \end_layout
6154
6155 \begin_deeper
6156 \begin_layout Enumerate
6157 \SpecialChar TeX
6158 Liveの場合には,
6159 コンソールから
6160 \begin_inset Flex Code
6161 status collapsed
6162
6163 \begin_layout Plain Layout
6164 texhash
6165 \end_layout
6166
6167 \end_inset
6168
6169 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,
6170 おそらくroot権限で行う必要があります.
6171 \end_layout
6172
6173 \begin_layout Enumerate
6174 MiK\SpecialChar TeX
6175 では,
6176 パッケージを全ユーザー用に導入した場合には,
6177 「Settings
6178 \begin_inset space ~
6179 \end_inset
6180
6181 (Admin)」を起動し,
6182 「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,
6183 「Settings」を起動して同様に行ってください.
6184 \end_layout
6185
6186 \end_deeper
6187 \begin_layout Enumerate
6188 最後に,
6189 \SpecialChar LyX
6190 に新しいパッケージがあることを告げなくてはなりません.そこで,
6191 \SpecialChar LyX
6192 からツール\SpecialChar menuseparator
6193 環境構成メニューを実行して,
6194 \SpecialChar LyX
6195 を再起動します.
6196 \end_layout
6197
6198 \begin_layout Standard
6199 これでパッケージが導入されました.この例では,
6200 文書クラス
6201 \begin_inset Flex Code
6202 status collapsed
6203
6204 \begin_layout Plain Layout
6205 Slides
6206 \begin_inset space ~
6207 \end_inset
6208
6209 (FoilTeX)
6210 \end_layout
6211
6212 \end_inset
6213
6214
6215 \begin_inset Flex MenuItem
6216 status collapsed
6217
6218 \begin_layout Plain Layout
6219 文書\SpecialChar menuseparator
6220 設定\SpecialChar menuseparator
6221 文書クラス
6222 \end_layout
6223
6224 \end_inset
6225
6226 で利用可能になっているはずです.
6227 \end_layout
6228
6229 \begin_layout Standard
6230 \begin_inset Flex MenuItem
6231 status collapsed
6232
6233 \begin_layout Plain Layout
6234 文書\SpecialChar menuseparator
6235 設定\SpecialChar menuseparator
6236 文書クラス
6237 \end_layout
6238
6239 \end_inset
6240
6241 メニューに列挙されてもいない\SpecialChar LaTeX
6242 文書クラスを使用したい場合には,
6243 その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
6244 \end_layout
6245
6246 \begin_layout Section
6247 レイアウトファイルの型
6248 \end_layout
6249
6250 \begin_layout Standard
6251 この節は,
6252 レイアウト情報を含む各種\SpecialChar LyX
6253 ファイルについて述べます.これらのファイルは,
6254 各種段落様式や文字様式についての記述がされているものであり,
6255 \SpecialChar LyX
6256 がそれらをどのように表示すべきなのか,
6257 また,
6258 それらをどのように\SpecialChar LaTeX
6259 やDocBook,
6260 XHTMLその他の出力形式に翻訳すればよいのかが記されています.
6261 \end_layout
6262
6263 \begin_layout Standard
6264 ここでは,
6265 レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,
6266 \SpecialChar LaTeX
6267 クラスだけでもサポートする文書の種類があまりにたくさんあるので,
6268 読者が出会いうるケースや問題をすべてカバーすることはとても望めません.\SpecialChar LyX
6269 ユーザーメーリングリストには,
6270 自身の経験を人々と分かち合いたいと望む,
6271 レイアウトデザインの経験豊かな人々がよく顔を出していますので,
6272 気軽に質問を投げかけてみてください.
6273 \end_layout
6274
6275 \begin_layout Standard
6276 新しいレイアウトを準備するに当たっては,
6277 \SpecialChar LyX
6278 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
6279 文書クラス用の\SpecialChar LyX
6280 レイアウトを作ったり,
6281 他の人々にも有用なモジュールをお書きになった場合には,
6282
6283 \begin_inset CommandInset href
6284 LatexCommand href
6285 name "LyX Wikiのレイアウトに関する節"
6286 target "https://wiki.lyx.org/Layouts/Layouts"
6287 literal "false"
6288
6289 \end_inset
6290
6291 か,
6292 \SpecialChar LyX
6293 開発者メーリングリストに投稿して,
6294 \SpecialChar LyX
6295 頒布版に同梱することができるようにしてください
6296 \begin_inset Foot
6297 status collapsed
6298
6299 \begin_layout Plain Layout
6300 \SpecialChar LyX
6301 はGeneral Public Licenseの下でライセンスされていますので,
6302 \SpecialChar LyX
6303 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
6304 \end_layout
6305
6306 \end_inset
6307
6308
6309 \end_layout
6310
6311 \begin_layout Subsection
6312 レイアウトモジュール
6313 \begin_inset CommandInset label
6314 LatexCommand label
6315 name "subsec:レイアウトモジュール"
6316
6317 \end_inset
6318
6319
6320 \end_layout
6321
6322 \begin_layout Standard
6323 ここまで,
6324 「レイアウトファイル」についてお話してきました.しかし,
6325 レイアウト情報を含むものには,
6326 他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき,
6327 それは
6328 \begin_inset Flex Code
6329 status collapsed
6330
6331 \begin_layout Plain Layout
6332 .layout
6333 \end_layout
6334
6335 \end_inset
6336
6337 拡張子を持ち,
6338 文書クラスに関する情報を\SpecialChar LyX
6339 に提供するものを指します.しかしながら,
6340 \SpecialChar LyX
6341  1.6以降,
6342 レイアウト情報は,
6343 拡張子が
6344 \begin_inset Flex Code
6345 status collapsed
6346
6347 \begin_layout Plain Layout
6348 .module
6349 \end_layout
6350
6351 \end_inset
6352
6353 のレイアウト
6354 \emph on
6355 モジュール
6356 \emph default
6357 にも含めることができます.レイアウトが\SpecialChar LaTeX
6358 クラスに対応しているように,
6359 モジュールは\SpecialChar LaTeX
6360 パッケージに対応するものであり,
6361
6362 \begin_inset Flex Code
6363 status collapsed
6364
6365 \begin_layout Plain Layout
6366 endnotes
6367 \end_layout
6368
6369 \end_inset
6370
6371 モジュールのように,
6372 特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,
6373 特定の文書レイアウトに特化したものではなく,
6374 多くのレイアウトで使用できるという意味において,
6375 一面,
6376
6377 \begin_inset Flex Code
6378 status collapsed
6379
6380 \begin_layout Plain Layout
6381 stdsections.inc
6382 \end_layout
6383
6384 \end_inset
6385
6386 等のインクルードファイル
6387 \begin_inset Foot
6388 status collapsed
6389
6390 \begin_layout Plain Layout
6391 これらは任意の拡張子をつけることができますが,
6392 慣習的に
6393 \begin_inset Flex Code
6394 status collapsed
6395
6396 \begin_layout Plain Layout
6397 .inc
6398 \end_layout
6399
6400 \end_inset
6401
6402 拡張子が用いられます.
6403 \end_layout
6404
6405 \end_inset
6406
6407 のようなものです.相異なる点といえば,
6408
6409 \begin_inset Flex Code
6410 status collapsed
6411
6412 \begin_layout Plain Layout
6413 article.cls
6414 \end_layout
6415
6416 \end_inset
6417
6418 でインクルードファイルを使用するには,
6419 そのファイルを編集しなくてはなりませんが,
6420 モジュールの場合は,
6421
6422 \begin_inset Flex MenuItem
6423 status collapsed
6424
6425 \begin_layout Plain Layout
6426 文書\SpecialChar menuseparator
6427 設定
6428 \end_layout
6429
6430 \end_inset
6431
6432 ダイアログで選択するだけですみます.
6433 \end_layout
6434
6435 \begin_layout Standard
6436 モジュール作成は,
6437 新しく段落様式を一つ加えたり,
6438 自由差込枠を加えたりするだけで済むことも多いので,
6439 レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的には,
6440 レイアウトファイルに入れることのできるものはすべて入れることができます.
6441 \end_layout
6442
6443 \begin_layout Standard
6444 新しいモジュールを作成し,
6445 それを
6446 \begin_inset Flex Code
6447 status collapsed
6448
6449 \begin_layout Plain Layout
6450 layout/
6451 \end_layout
6452
6453 \end_inset
6454
6455 フォルダにコピーした後,
6456 モジュールがメニューに現れるようにするためには,
6457 \SpecialChar LyX
6458 の環境構成を行って再起動しなくてはなりません.しかしながら,
6459 モジュールの修正の場合には,
6460
6461 \begin_inset Flex MenuItem
6462 status collapsed
6463
6464 \begin_layout Plain Layout
6465 文書\SpecialChar menuseparator
6466 設定
6467 \end_layout
6468
6469 \end_inset
6470
6471 を開いてどれかを選択し「OK」を押せば,
6472 直ちに反映されます.
6473 \emph on
6474 これを実行する前に,
6475 作業中の文書を保存しておくことを強く勧めます
6476 \emph default
6477 .もっと言えば,
6478
6479 \emph on
6480 実際の文書で作業しているときに,
6481 同時にモジュールの編集をしようとしないことを強く勧めます
6482 \emph default
6483 .もちろん開発陣は,
6484 そのような場合でも\SpecialChar LyX
6485 が安定性を維持するように努力していますが,
6486 あなたが作成したモジュール中の文法エラー等によって,
6487 奇妙な挙動が引き起こされることがあるからです.
6488 \end_layout
6489
6490 \begin_layout Subsubsection
6491 ローカルレイアウト
6492 \end_layout
6493
6494 \begin_layout Standard
6495 \SpecialChar LyX
6496 に於けるモジュールは,
6497 \SpecialChar LaTeX
6498 に於けるパッケージに当たります.しかしながら,
6499 特定の差込枠や文字様式を,
6500 ひとつの文書のためだけに作りたいこともあるでしょうから,
6501 そのような場合に,
6502 他の文書でも利用できるようなモジュールをわざわざ書くことには,
6503 あまり意味がありません.このような場合に必要となるのが,
6504 「ローカルレイアウト」なのです.
6505 \end_layout
6506
6507 \begin_layout Standard
6508 これは,
6509
6510 \family sans
6511 文書\SpecialChar menuseparator
6512 設定\SpecialChar menuseparator
6513 ローカルのレイアウト
6514 \family default
6515 にあります.そこにある大きなテキストボックスは,
6516 本来ならレイアウトファイルやモジュールに入力すべきものを,
6517 入力するためのものです.特定の文書のローカルレイアウトは,
6518 その文書専属のモジュールだと考えることができます.したがって,
6519
6520 \begin_inset Flex Code
6521 status collapsed
6522
6523 \begin_layout Plain Layout
6524 Format
6525 \end_layout
6526
6527 \end_inset
6528
6529 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,
6530 通常は,
6531 執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
6532  
6533 \begin_inset Info
6534 type  "lyxinfo"
6535 arg   "version"
6536 \end_inset
6537
6538 では,
6539 最新書式は69です)
6540 \end_layout
6541
6542 \begin_layout Standard
6543 \begin_inset Flex Code
6544 status collapsed
6545
6546 \begin_layout Plain Layout
6547 ローカルのレイアウト
6548 \end_layout
6549
6550 \end_inset
6551
6552 面に何かを入力すると,
6553 下部にある「検証」ボタンが有効になります.このボタンを押すと,
6554 ユーザーの入力したものが,
6555 指定された書式に沿って,
6556 有効なレイアウト情報になっているかどうかが検証されます.すると,
6557 \SpecialChar LyX
6558 がその結果を返しますが,
6559 残念ながら,
6560 エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,
6561 \SpecialChar LyX
6562 をターミナル(擬似端末)から起動した場合には,
6563 そのエラーがターミナルに返されます.ローカルレイアウトは,
6564 正しい書式で入力されないうちは,
6565 保存することができません.
6566 \end_layout
6567
6568 \begin_layout Standard
6569 ここで,
6570 前節と同じ警告があります.ローカルレイアウトは,
6571 作業中の文書上で,
6572 特に保存していない文書上ではいじらないでください.それに注意すれば,
6573 テスト用文書上でローカルレイアウトを用いるのは,
6574 レイアウトのアイディアを試すのに便利ですし,
6575 モジュール開発の第一歩としても便利です.
6576 \end_layout
6577
6578 \begin_layout Subsection
6579 \begin_inset Flex MenuItem
6580 status collapsed
6581
6582 \begin_layout Plain Layout
6583 .sty
6584 \end_layout
6585
6586 \end_inset
6587
6588 ファイル用のレイアウト
6589 \end_layout
6590
6591 \begin_layout Standard
6592 新しく\SpecialChar LaTeX
6593 文書クラスをサポートしようとするとき,
6594 \SpecialChar LaTeX2e
6595 クラス(
6596 \begin_inset Flex Code
6597 status collapsed
6598
6599 \begin_layout Plain Layout
6600 .cls
6601 \end_layout
6602
6603 \end_inset
6604
6605 )ファイルが絡む場合と,
6606 スタイル(
6607 \begin_inset Flex Code
6608 status collapsed
6609
6610 \begin_layout Plain Layout
6611 .sty
6612 \end_layout
6613
6614 \end_inset
6615
6616 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,
6617 通常は,
6618 かなり容易ですが,
6619 新しくクラスファイルをサポートすることは,
6620 もう少し難しくなります.この節では,
6621 前者について述べることとし,
6622 後者については次節に譲ります.当然のことながら,
6623 新しくDocBook DTDをサポートしたい場合にも,
6624 同様の所見が当てはまります.
6625 \end_layout
6626
6627 \begin_layout Standard
6628 この易しい方の場合では,
6629 新しい文書クラスは,
6630 既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,
6631 スタイルファイルは
6632 \begin_inset Flex MenuItem
6633 status collapsed
6634
6635 \begin_layout Plain Layout
6636 myclass.sty
6637 \end_layout
6638
6639 \end_inset
6640
6641 という名称で,
6642 標準的なクラスである
6643 \begin_inset Flex MenuItem
6644 status collapsed
6645
6646 \begin_layout Plain Layout
6647 report.cls
6648 \end_layout
6649
6650 \end_inset
6651
6652 と共に用いられるものと仮定しましょう.
6653 \end_layout
6654
6655 \begin_layout Standard
6656 既存の文書クラスのレイアウトファイルを,
6657 以下のように,
6658 お使いのローカルディレクトリにコピーすることから始めてください
6659 \begin_inset Foot
6660 status collapsed
6661
6662 \begin_layout Plain Layout
6663 もちろん,
6664 どのディレクトリがローカルディレクトリとなるかは,
6665 プラットフォームに依存します.\SpecialChar LyX
6666 では,
6667 起動時に
6668 \begin_inset Flex MenuItem
6669 status collapsed
6670
6671 \begin_layout Plain Layout
6672 -userdir
6673 \end_layout
6674
6675 \end_inset
6676
6677 オプションを指定することによって,
6678 ローカルディレクトリを指定することも可能です.
6679 \end_layout
6680
6681 \end_inset
6682
6683
6684 \end_layout
6685
6686 \begin_layout LyX-Code
6687 cp report.layout ~/.lyx/layouts/myclass.layout
6688 \end_layout
6689
6690 \begin_layout Standard
6691 それから,
6692
6693 \begin_inset Flex Code
6694 status collapsed
6695
6696 \begin_layout Plain Layout
6697 myclass.layout
6698 \end_layout
6699
6700 \end_inset
6701
6702 を編集して,
6703
6704 \end_layout
6705
6706 \begin_layout LyX-Code
6707
6708 \backslash
6709 DeclareLaTeXClass{report}
6710 \end_layout
6711
6712 \begin_layout Standard
6713 という行を
6714 \end_layout
6715
6716 \begin_layout LyX-Code
6717
6718 \backslash
6719 DeclareLaTeXClass[report,
6720  myclass.sty]{report (myclass)}
6721 \end_layout
6722
6723 \begin_layout Standard
6724 のように変更してください.それから,
6725 ファイル冒頭辺りに
6726 \end_layout
6727
6728 \begin_layout LyX-Code
6729 Preamble 
6730 \begin_inset Newline newline
6731 \end_inset
6732
6733     
6734 \backslash
6735 usepackage{myclass}
6736 \begin_inset Newline newline
6737 \end_inset
6738
6739 EndPreamble
6740 \end_layout
6741
6742 \begin_layout Standard
6743 と書き加えてください.
6744 \end_layout
6745
6746 \begin_layout Standard
6747 \SpecialChar LyX
6748 を起動して
6749 \begin_inset Flex MenuItem
6750 status collapsed
6751
6752 \begin_layout Plain Layout
6753 ツール\SpecialChar menuseparator
6754 環境構成
6755 \end_layout
6756
6757 \end_inset
6758
6759 を選択してください.それから\SpecialChar LyX
6760 を再起動し,
6761 新規文書を作成してみてください.すると,
6762
6763 \begin_inset Flex MenuItem
6764 status collapsed
6765
6766 \begin_layout Plain Layout
6767 文書\SpecialChar menuseparator
6768 設定
6769 \end_layout
6770
6771 \end_inset
6772
6773 ダイアログの文書クラスオプションに「
6774 \begin_inset Flex MenuItem
6775 status collapsed
6776
6777 \begin_layout Plain Layout
6778 report (myclass)
6779 \end_layout
6780
6781 \end_inset
6782
6783 」が現れるはずです.新しいクラスにおいて,
6784 節区切り用コマンドなどの一部が,
6785 基礎となったクラス—
6786 この例では
6787 \begin_inset Flex Code
6788 status collapsed
6789
6790 \begin_layout Plain Layout
6791 report
6792 \end_layout
6793
6794 \end_inset
6795
6796
6797 とは違う挙動をすることはよくありますので,
6798 希望に応じて,
6799 各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6800
6801 \begin_inset Flex Code
6802 status collapsed
6803
6804 \begin_layout Plain Layout
6805 stdsections.inc
6806 \end_layout
6807
6808 \end_inset
6809
6810 に含まれていますが,
6811 このファイルをコピーしたり変更したりする必要はありません.代わりに,
6812 自身のレイアウトファイル中,
6813
6814 \begin_inset Flex Code
6815 status collapsed
6816
6817 \begin_layout Plain Layout
6818 stdsections.inc
6819 \end_layout
6820
6821 \end_inset
6822
6823 も取り込む
6824 \begin_inset Flex Code
6825 status collapsed
6826
6827 \begin_layout Plain Layout
6828 Input stdclass.inc
6829 \end_layout
6830
6831 \end_inset
6832
6833 の後に変更を加えるだけです.たとえば,
6834 章見だしのフォントをサンセリフ体に変更するには,
6835 以下のような行を加えます.
6836 \end_layout
6837
6838 \begin_layout LyX-Code
6839 Style Chapter
6840 \end_layout
6841
6842 \begin_layout LyX-Code
6843     Font
6844 \end_layout
6845
6846 \begin_layout LyX-Code
6847         Family Sans
6848 \end_layout
6849
6850 \begin_layout LyX-Code
6851     EndFont
6852 \end_layout
6853
6854 \begin_layout LyX-Code
6855 End
6856 \end_layout
6857
6858 \begin_layout Standard
6859 これは,
6860 既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6861 \end_layout
6862
6863 \begin_layout Standard
6864 新しいパッケージでは,
6865 基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,
6866 これらをレイアウトファイルに加えます.そのやり方については,
6867
6868 \begin_inset CommandInset ref
6869 LatexCommand ref
6870 reference "sec:テキストクラス"
6871 nolink "false"
6872
6873 \end_inset
6874
6875 節の情報を参照してください.
6876 \end_layout
6877
6878 \begin_layout Standard
6879 もし
6880 \begin_inset Flex Code
6881 status collapsed
6882
6883 \begin_layout Plain Layout
6884 myclass.sty
6885 \end_layout
6886
6887 \end_inset
6888
6889 が他の文書クラスで使用することができたり,
6890 あるいはできない場合でも,
6891 基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょう.最も簡単なモジュールの例としては,
6892 以下のようなものになります.
6893 \end_layout
6894
6895 \begin_layout LyX-Code
6896 #
6897 \backslash
6898 DeclareLyXModule{My Package}
6899 \end_layout
6900
6901 \begin_layout LyX-Code
6902 #DescriptionBegin
6903 \end_layout
6904
6905 \begin_layout LyX-Code
6906 #Support for mypkg.sty.
6907 \end_layout
6908
6909 \begin_layout LyX-Code
6910 #DescriptionEnd
6911 \begin_inset Newline newline
6912 \end_inset
6913
6914
6915 \end_layout
6916
6917 \begin_layout LyX-Code
6918 Format 69
6919 \begin_inset Newline newline
6920 \end_inset
6921
6922
6923 \end_layout
6924
6925 \begin_layout LyX-Code
6926 Preamble
6927 \begin_inset Newline newline
6928 \end_inset
6929
6930     
6931 \backslash
6932 usepackage{mypkg}
6933 \begin_inset Newline newline
6934 \end_inset
6935
6936 EndPreamble
6937 \end_layout
6938
6939 \begin_layout Standard
6940 もう少し複雑なモジュールでは,
6941 既存の構成物の挙動を修正したり,
6942 新しい構成物を定義したりすることになるでしょう.この辺りの議論については,
6943
6944 \begin_inset CommandInset ref
6945 LatexCommand ref
6946 reference "sec:テキストクラス"
6947 nolink "false"
6948
6949 \end_inset
6950
6951 節を参照してください.
6952 \end_layout
6953
6954 \begin_layout Subsection
6955 \begin_inset Flex MenuItem
6956 status collapsed
6957
6958 \begin_layout Plain Layout
6959 .cls
6960 \end_layout
6961
6962 \end_inset
6963
6964 ファイル用のレイアウト
6965 \end_layout
6966
6967 \begin_layout Standard
6968 これには2つのケースがありえます.ひとつは,
6969 クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,
6970 多くの学位論文用クラスは
6971 \begin_inset Flex MenuItem
6972 status collapsed
6973
6974 \begin_layout Plain Layout
6975 book.cls
6976 \end_layout
6977
6978 \end_inset
6979
6980 に基づいています.お使いのものがどうであるかを見るには,
6981 クラスファイル中に
6982 \end_layout
6983
6984 \begin_layout LyX-Code
6985
6986 \backslash
6987 LoadClass{book}
6988 \end_layout
6989
6990 \begin_layout Standard
6991 という行がないかどうか探してください.もしこれがあれば,
6992
6993 \begin_inset Flex Code
6994 status collapsed
6995
6996 \begin_layout Plain Layout
6997 Declare\SpecialChar LaTeX
6998 Class
6999 \end_layout
7000
7001 \end_inset
7002
7003 行は異なりますが,
7004 おおよそ前節のように進めることができます.あなたが新しく作るクラスが
7005 \begin_inset Flex Code
7006 status collapsed
7007
7008 \begin_layout Plain Layout
7009 thesis
7010 \end_layout
7011
7012 \end_inset
7013
7014 であり,
7015
7016 \begin_inset Flex Code
7017 status collapsed
7018
7019 \begin_layout Plain Layout
7020 book
7021 \end_layout
7022
7023 \end_inset
7024
7025 クラスに基づいていれば,
7026
7027 \begin_inset Flex Code
7028 status collapsed
7029
7030 \begin_layout Plain Layout
7031 Declare\SpecialChar LaTeX
7032 Class
7033 \end_layout
7034
7035 \end_inset
7036
7037 行は以下のようにします
7038 \begin_inset Foot
7039 status collapsed
7040
7041 \begin_layout Plain Layout
7042 さらに\SpecialChar LyX
7043 は,
7044 文書クラス名がレイアウトファイル名と同じだと仮定するので,
7045 クラスファイルを
7046 \begin_inset Flex Code
7047 status collapsed
7048
7049 \begin_layout Plain Layout
7050 thesis.layout
7051 \end_layout
7052
7053 \end_inset
7054
7055 という名前で保存するのが最も簡単です. 
7056 \end_layout
7057
7058 \end_inset
7059
7060
7061 \end_layout
7062
7063 \begin_layout LyX-Code
7064
7065 \backslash
7066 DeclareLaTeXClass[thesis,book]{thesis}
7067 \end_layout
7068
7069 \begin_layout Standard
7070 他方,
7071 新しいクラスが既存のクラスに基づいていない場合には,
7072 おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,
7073 類似した\SpecialChar LaTeX
7074 クラスを使用している既存のレイアウトファイルをコピーして,
7075 それに修正を加えるようにすることを強くお勧めします.少なくとも,
7076 どの項目を考慮すべきかがわかるように,
7077 既存のファイルを作業の開始点としてください.
7078 \end_layout
7079
7080 \begin_layout Subsection
7081 ひな型を作成する
7082 \begin_inset CommandInset label
7083 LatexCommand label
7084 name "sec:ひな型を作成する"
7085
7086 \end_inset
7087
7088
7089 \end_layout
7090
7091 \begin_layout Standard
7092 新しい文書クラス用のレイアウトファイルを書いたならば,
7093 そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,
7094 内容はダミーですが,
7095 レイアウトの使い方を示す一種のチュートリアルとして動作します.もちろん,
7096 イメージを得るために,
7097 \SpecialChar LyX
7098 添付のひな型をあれこれ見てみるのもよいでしょう.
7099 \end_layout
7100
7101 \begin_layout Standard
7102 ひな型は,
7103 通常の文書と同様,
7104 \SpecialChar LyX
7105 を使って作成することができます.唯一違う点は,
7106 通常の文書では,
7107 フォント構成や用紙寸法を含め,
7108 すべてのあり得る設定が為されている点です.これらの場合,
7109 通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,
7110 ひな型の設計者は,
7111
7112 \begin_inset Flex Code
7113 status collapsed
7114
7115 \begin_layout Plain Layout
7116
7117 \backslash
7118 fontscheme
7119 \end_layout
7120
7121 \end_inset
7122
7123
7124 \begin_inset Flex Code
7125 status collapsed
7126
7127 \begin_layout Plain Layout
7128
7129 \backslash
7130 papersize
7131 \end_layout
7132
7133 \end_inset
7134
7135 などの対応するコマンドをひな型\SpecialChar LyX
7136 ファイルから取り除く必要があります.これは,
7137 たとえば
7138 \begin_inset Flex Code
7139 status collapsed
7140
7141 \begin_layout Plain Layout
7142 vi
7143 \end_layout
7144
7145 \end_inset
7146
7147
7148 \begin_inset Flex Code
7149 status collapsed
7150
7151 \begin_layout Plain Layout
7152 notepad
7153 \end_layout
7154
7155 \end_inset
7156
7157 のような,
7158 どの軽いテキストエディタでも行うことができます.
7159 \end_layout
7160
7161 \begin_layout Standard
7162 編集したひな型を
7163 \begin_inset Flex Code
7164 status collapsed
7165
7166 \begin_layout Plain Layout
7167 UserDir/templates/
7168 \end_layout
7169
7170 \end_inset
7171
7172 に置き,
7173 グローバルなひな型ディレクトリ
7174 \begin_inset Flex Code
7175 status collapsed
7176
7177 \begin_layout Plain Layout
7178 LyXDir/templates/
7179 \end_layout
7180
7181 \end_inset
7182
7183 から使用したいものを同じ場所にコピーし,
7184
7185 \begin_inset Flex MenuItem
7186 status collapsed
7187
7188 \begin_layout Plain Layout
7189 ツール\SpecialChar menuseparator
7190 設定\SpecialChar menuseparator
7191 パス
7192 \end_layout
7193
7194 \end_inset
7195
7196 ダイアログのひな型パスを再定義してください.
7197 \end_layout
7198
7199 \begin_layout Standard
7200 ところで,
7201 特別な意味を持つひな型
7202 \begin_inset Flex Code
7203 status collapsed
7204
7205 \begin_layout Plain Layout
7206 defaults.lyx
7207 \end_layout
7208
7209 \end_inset
7210
7211 があることに注意してください.このひな型は,
7212
7213 \begin_inset Flex MenuItem
7214 status collapsed
7215
7216 \begin_layout Plain Layout
7217 ファイル\SpecialChar menuseparator
7218 新規
7219 \end_layout
7220
7221 \end_inset
7222
7223 を使って新規文書を作成する際,
7224 便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
7225 内部から作成するのにしなくてはならないことは,
7226 対応する設定を持つ文書を開き,
7227
7228 \begin_inset Flex MenuItem
7229 status collapsed
7230
7231 \begin_layout Plain Layout
7232 文書既定値として保存
7233 \end_layout
7234
7235 \end_inset
7236
7237 ボタンを押すことです.
7238 \end_layout
7239
7240 \begin_layout Subsection
7241 旧レイアウトファイルの更新
7242 \end_layout
7243
7244 \begin_layout Standard
7245 レイアウトファイルの書式は,
7246 \SpecialChar LyX
7247 のリリース毎に変更されますので,
7248 古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
7249 が古い書式のレイアウトファイルを読み込むと,
7250 \SpecialChar LyX
7251 は,
7252 自動的に変換ツール
7253 \begin_inset Flex Code
7254 status collapsed
7255
7256 \begin_layout Plain Layout
7257 \SpecialChar LyX
7258 Dir/scripts/layout2layout.py
7259 \end_layout
7260
7261 \end_inset
7262
7263 を呼び出し,
7264 それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,
7265 \SpecialChar LyX
7266 がこれを毎回行なわくて済むように,
7267 レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,
7268 以下のように変換子を手動で呼び出してください.
7269 \end_layout
7270
7271 \begin_layout Enumerate
7272 ファイル
7273 \begin_inset Flex Code
7274 status collapsed
7275
7276 \begin_layout Plain Layout
7277 myclass.layout
7278 \end_layout
7279
7280 \end_inset
7281
7282
7283 \begin_inset Flex Code
7284 status collapsed
7285
7286 \begin_layout Plain Layout
7287 myclass.old
7288 \end_layout
7289
7290 \end_inset
7291
7292 に改称
7293 \end_layout
7294
7295 \begin_layout Enumerate
7296 以下のコマンドをコール
7297 \begin_inset Newline newline
7298 \end_inset
7299
7300
7301 \begin_inset Flex Code
7302 status collapsed
7303
7304 \begin_layout Plain Layout
7305 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
7306 \end_layout
7307
7308 \end_inset
7309
7310
7311 \begin_inset Newline newline
7312 \end_inset
7313
7314 ここで
7315 \begin_inset Flex Code
7316 status collapsed
7317
7318 \begin_layout Plain Layout
7319 LyXDir
7320 \end_layout
7321
7322 \end_inset
7323
7324 は\SpecialChar LyX
7325 システムディレクトリの名前です.
7326 \end_layout
7327
7328 \begin_layout Standard
7329 手動変換は,
7330 インクルードされているファイル内部の変更までは取り扱いませんので,
7331 それらのファイルは別に変換されなくてはなりません.
7332 \end_layout
7333
7334 \begin_layout Subsection
7335 \begin_inset CommandInset label
7336 LatexCommand label
7337 name "subsec:引用エンジンファイル"
7338
7339 \end_inset
7340
7341 引用エンジンファイル
7342 \end_layout
7343
7344 \begin_layout Standard
7345 \begin_inset Flex Code
7346 status collapsed
7347
7348 \begin_layout Plain Layout
7349 citeengines/
7350 \end_layout
7351
7352 \end_inset
7353
7354 サブディレクトリ以下に収められている,
7355 いわゆる
7356 \begin_inset Flex Code
7357 status collapsed
7358
7359 \begin_layout Plain Layout
7360 *.citeengine
7361 \end_layout
7362
7363 \end_inset
7364
7365 ファイルは,
7366 レイアウトファイルの特殊形です.これらの目的は,
7367
7368 \family sans
7369 natbib
7370 \family default
7371
7372 \family sans
7373 jurabib
7374 \family default
7375
7376 \family sans
7377 biblatex
7378 \family default
7379 など,
7380 書誌情報を生成する\SpecialChar LaTeX
7381 パッケージの詳細を定義することですが,
7382 通常の(追加パッケージのない)Bib\SpecialChar TeX
7383 引用が\SpecialChar LyX
7384 中でどのように取り扱われるかも,
7385 これらのファイルの中で定義されます.
7386 \end_layout
7387
7388 \begin_layout Standard
7389 より具体的には,
7390 どのパッケージを\SpecialChar LyX
7391 が読み込む必要があるのか,
7392 どの引用コマンドが利用可能であるのか,
7393 これらが\SpecialChar LyX
7394 中(作業領域・ダイアログ・コンテクストメニュー)で,
7395 さらにはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,
7396 これらのファイルは,
7397 使用できる派生様式(著者-刊行年,
7398 数値など)とその子細を特定します.引用エンジンファイルは,
7399
7400 \family sans
7401 文書\SpecialChar menuseparator
7402 設定\SpecialChar ldots
7403 \SpecialChar menuseparator
7404 書誌情報\SpecialChar menuseparator
7405 様式整形子
7406 \family default
7407 で利用できる選択肢を生成するのにも使用されます.
7408 \end_layout
7409
7410 \begin_layout Standard
7411 引用エンジンファイルは,
7412 本質的に通常のレイアウトファイルであり,
7413 理論上どのようなレイアウト情報も内包することができますが,
7414 通常は
7415 \begin_inset Flex Code
7416 status collapsed
7417
7418 \begin_layout Plain Layout
7419 MaxCiteNames
7420 \end_layout
7421
7422 \end_inset
7423
7424
7425 \begin_inset Flex Code
7426 status collapsed
7427
7428 \begin_layout Plain Layout
7429 CiteFramework
7430 \end_layout
7431
7432 \end_inset
7433
7434
7435 \begin_inset Flex Code
7436 status collapsed
7437
7438 \begin_layout Plain Layout
7439 CiteEngine
7440 \end_layout
7441
7442 \end_inset
7443
7444
7445 \begin_inset Flex Code
7446 status collapsed
7447
7448 \begin_layout Plain Layout
7449 CiteFormat
7450 \end_layout
7451
7452 \end_inset
7453
7454 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,
7455 ファイル自身に加え,
7456 第 
7457 \begin_inset CommandInset ref
7458 LatexCommand ref
7459 reference "subsec:引用エンジンの説明"
7460 plural "false"
7461 caps "false"
7462 noprefix "false"
7463 nolink "false"
7464
7465 \end_inset
7466
7467 節と第
7468 \begin_inset CommandInset ref
7469 LatexCommand ref
7470 reference "subsec:引用書式指定"
7471 plural "false"
7472 caps "false"
7473 noprefix "false"
7474 nolink "false"
7475
7476 \end_inset
7477
7478 節に述べられています.
7479 \end_layout
7480
7481 \begin_layout Section
7482 \begin_inset CommandInset label
7483 LatexCommand label
7484 name "sec:テキストクラス"
7485
7486 \end_inset
7487
7488 レイアウトファイルの書式
7489 \end_layout
7490
7491 \begin_layout Standard
7492 以下の各節では,
7493 いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,
7494 直面することの説明を行います.私たちからのアドバイスとしては,
7495 ゆっくりと進めるようにして,
7496 ちょっと進むごとに保存やテストを行い,
7497 心休まる音楽を聴き,
7498 好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰まってしまったときにはそうです.実際にはそんなに難しいことではないのですが,
7499 特に一度に多くのことをやろうとすると,
7500 選択肢が多くありすぎて圧倒されてしまうのです.さて,
7501 もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
7502 の既存のレイアウトを例や参考に使ったり,
7503 既存のレイアウトを自身の目的に合わせて修正したりすると,
7504 作業が容易になります.
7505 \end_layout
7506
7507 \begin_layout Standard
7508 この章で述べられているタグは,
7509 すべて大文字小文字を区別しません.つまり,
7510
7511 \begin_inset Flex Code
7512 status collapsed
7513
7514 \begin_layout Plain Layout
7515 Style
7516 \end_layout
7517
7518 \end_inset
7519
7520
7521 \begin_inset Flex Code
7522 status collapsed
7523
7524 \begin_layout Plain Layout
7525 style
7526 \end_layout
7527
7528 \end_inset
7529
7530
7531 \begin_inset Flex Code
7532 status collapsed
7533
7534 \begin_layout Plain Layout
7535 StYlE
7536 \end_layout
7537
7538 \end_inset
7539
7540 は同じコマンドとなります.機能名の後にある角括弧は,
7541 その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,
7542 既定値は
7543 \begin_inset Flex Code
7544 status collapsed
7545
7546 \begin_layout Plain Layout
7547
7548 \emph on
7549 強調
7550 \end_layout
7551
7552 \end_inset
7553
7554 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,
7555 既定値は
7556 \begin_inset Flex Code
7557 status collapsed
7558
7559 \begin_layout Plain Layout
7560 浮動小数点型=
7561 \emph on
7562 既定値
7563 \end_layout
7564
7565 \end_inset
7566
7567 のように表示されます.
7568 \end_layout
7569
7570 \begin_layout Subsection
7571 文書クラス宣言と分類
7572 \end_layout
7573
7574 \begin_layout Standard
7575 レイアウトファイル中の
7576 \begin_inset Flex Code
7577 status collapsed
7578
7579 \begin_layout Plain Layout
7580 #
7581 \end_layout
7582
7583 \end_inset
7584
7585 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
7586 \begin_inset Flex Code
7587 status collapsed
7588
7589 \begin_layout Plain Layout
7590 *.layout
7591 \end_layout
7592
7593 \end_inset
7594
7595 ファイルは,
7596 以下のような行で始めなくてはならないのです.
7597 \end_layout
7598
7599 \begin_layout LyX-Code
7600
7601 \size small
7602 #% Do not delete the line below;
7603  configure depends on this
7604 \end_layout
7605
7606 \begin_layout LyX-Code
7607
7608 \size small
7609 #  
7610 \backslash
7611 DeclareLaTeXClass{Article (Standard Class)}
7612 \end_layout
7613
7614 \begin_layout LyX-Code
7615
7616 \size small
7617 #  
7618 \backslash
7619 DeclareCategory{Articles}
7620 \end_layout
7621
7622 \begin_layout Standard
7623 2行目と3行目は,
7624 \SpecialChar LyX
7625 が環境構成を行う際に用いられます.このレイアウトファイルは,
7626 \SpecialChar LaTeX
7627 スクリプト
7628 \begin_inset Flex Code
7629 status collapsed
7630
7631 \begin_layout Plain Layout
7632 chkconfig.ltx
7633 \end_layout
7634
7635 \end_inset
7636
7637 が,
7638
7639 \begin_inset Flex Code
7640 status collapsed
7641
7642 \begin_layout Plain Layout
7643 #
7644 \end_layout
7645
7646 \end_inset
7647
7648 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
7649 コメントですが,
7650 2行目にはテキストクラスの宣言が,
7651 3行目にはクラスの分類(非必須)が書かれています.これらの行が
7652 \begin_inset Flex Code
7653 status collapsed
7654
7655 \begin_layout Plain Layout
7656 article.layout
7657 \end_layout
7658
7659 \end_inset
7660
7661 と名付けられたファイルにあると,
7662
7663 \begin_inset Flex Code
7664 status collapsed
7665
7666 \begin_layout Plain Layout
7667 article
7668 \end_layout
7669
7670 \end_inset
7671
7672 (レイアウトファイル名)という名称のテキストクラスを定義し,
7673 \SpecialChar LaTeX
7674 文書クラス
7675 \begin_inset Flex Code
7676 status collapsed
7677
7678 \begin_layout Plain Layout
7679 article.cls
7680 \end_layout
7681
7682 \end_inset
7683
7684 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
7685
7686 \begin_inset Flex MenuItem
7687 status collapsed
7688
7689 \begin_layout Plain Layout
7690 文書\SpecialChar menuseparator
7691 設定
7692 \end_layout
7693
7694 \end_inset
7695
7696 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
7697
7698 \begin_inset Flex MenuItem
7699 status collapsed
7700
7701 \begin_layout Plain Layout
7702 文書\SpecialChar menuseparator
7703 設定
7704 \end_layout
7705
7706 \end_inset
7707
7708 ダイアログで使用され,
7709 文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,
7710 典型的なものには,
7711 「Articles」「Books」「Reports」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,
7712 このクラスは「Uncategorized」グループに属することになります.
7713 \end_layout
7714
7715 \begin_layout Standard
7716 節見出し表示に変更を加えた,
7717
7718 \begin_inset Flex Code
7719 status collapsed
7720
7721 \begin_layout Plain Layout
7722 article.cls
7723 \end_layout
7724
7725 \end_inset
7726
7727 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7728 \begin_inset Flex Code
7729 status collapsed
7730
7731 \begin_layout Plain Layout
7732 myarticle.layout
7733 \end_layout
7734
7735 \end_inset
7736
7737 というファイルに置いたとすると,
7738 このファイルのヘッダは以下のようになります.
7739 \end_layout
7740
7741 \begin_layout LyX-Code
7742
7743 \size small
7744 #% Do not delete the line below;
7745  configure depends on this 
7746 \end_layout
7747
7748 \begin_layout LyX-Code
7749
7750 \size small
7751 #  
7752 \backslash
7753 DeclareLaTeXClass[article]{article (with My Own Headings)}
7754 \end_layout
7755
7756 \begin_layout LyX-Code
7757
7758 \size small
7759 #  
7760 \backslash
7761 DeclareCategory{Articles}
7762 \end_layout
7763
7764 \begin_layout Standard
7765 これは,
7766 \SpecialChar LaTeX
7767 文書クラス
7768 \begin_inset Flex Code
7769 status collapsed
7770
7771 \begin_layout Plain Layout
7772 article.cls
7773 \end_layout
7774
7775 \end_inset
7776
7777 に関連づけられ,
7778 「Article (with My Own Headings)」と表示される,
7779
7780 \begin_inset Flex Code
7781 status collapsed
7782
7783 \begin_layout Plain Layout
7784 myarticle
7785 \end_layout
7786
7787 \end_inset
7788
7789 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,
7790 以下のように宣言すると良いでしょう.
7791 \end_layout
7792
7793 \begin_layout LyX-Code
7794
7795 \size small
7796 #% Do not delete the line below;
7797  configure depends on this 
7798 \end_layout
7799
7800 \begin_layout LyX-Code
7801
7802 \size small
7803 #  
7804 \backslash
7805 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7806 \end_layout
7807
7808 \begin_layout LyX-Code
7809
7810 \size small
7811 #  
7812 \backslash
7813 DeclareCategory{Articles}
7814 \end_layout
7815
7816 \begin_layout Standard
7817 これは,
7818 このテキストクラスが
7819 \begin_inset Flex Code
7820 status collapsed
7821
7822 \begin_layout Plain Layout
7823 foo.sty
7824 \end_layout
7825
7826 \end_inset
7827
7828 パッケージを使用することを示しています.最後に,
7829 DocBookコード向けのクラスを宣言することもできることを見ます.典型的な宣言は以下のようになります.
7830 \end_layout
7831
7832 \begin_layout LyX-Code
7833
7834 \size small
7835 #% Do not delete the line below;
7836  configure depends on this 
7837 \end_layout
7838
7839 \begin_layout LyX-Code
7840
7841 \size small
7842
7843 \backslash
7844 DeclareDocBookClass[article]{SGML (DocBook article)}
7845 \end_layout
7846
7847 \begin_layout LyX-Code
7848
7849 \size small
7850 #  
7851 \backslash
7852 DeclareCategory{Articles}
7853 \end_layout
7854
7855 \begin_layout Standard
7856 これらの宣言には,
7857 文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7858 \end_layout
7859
7860 \begin_layout Standard
7861 できる限り明示的に要約すると,
7862 レイアウト宣言は以下の形をとります.
7863 \end_layout
7864
7865 \begin_layout LyX-Code
7866
7867 \size small
7868 #  
7869 \backslash
7870 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7871 \end_layout
7872
7873 \begin_layout LyX-Code
7874
7875 \size small
7876 #  
7877 \backslash
7878 DeclareCategory{分類}
7879 \end_layout
7880
7881 \begin_layout Standard
7882 ここで「クラス」は,
7883 \SpecialChar LaTeX
7884 クラスファイル名とレイアウトファイル名が異なるときのみ,
7885 指定する必要があります.クラスファイル名が指定されなければ,
7886 \SpecialChar LyX
7887 は単純に,
7888 クラスファイル名がレイアウトファイル名と同じであると仮定します.
7889 \end_layout
7890
7891 \begin_layout Standard
7892 テキストクラスがあなたの嗜好に合うように修正できたならば,
7893 他にしなくてはならないことは,
7894 それを
7895 \begin_inset Flex Code
7896 status collapsed
7897
7898 \begin_layout Plain Layout
7899 LyXDir/layouts/
7900 \end_layout
7901
7902 \end_inset
7903
7904
7905 \begin_inset Flex Code
7906 status collapsed
7907
7908 \begin_layout Plain Layout
7909 UserDir/layouts
7910 \end_layout
7911
7912 \end_inset
7913
7914 にコピーし,
7915
7916 \begin_inset Flex MenuItem
7917 status collapsed
7918
7919 \begin_layout Plain Layout
7920 ツール\SpecialChar menuseparator
7921 環境構成
7922 \end_layout
7923
7924 \end_inset
7925
7926 を実行し,
7927 \SpecialChar LyX
7928 を終了して再起動するだけです.そうすれば,
7929 この新しいテキストクラスが,
7930 他のテキストクラスと同様に使用できるようになります.
7931 \end_layout
7932
7933 \begin_layout Standard
7934 レイアウトファイルが導入されたならば,
7935 これを編集して,
7936 環境構成したり\SpecialChar LyX
7937 を再起動したりすることなく,
7938 その変更を確認することができます
7939 \begin_inset Foot
7940 status collapsed
7941
7942 \begin_layout Plain Layout
7943 第1.6版よりも前の\SpecialChar LyX
7944 では,
7945 これを行うことはできませんでした.その結果,
7946 レイアウトファイルに加えた変更を反映させるには,
7947 その度に\SpecialChar LyX
7948 を再起動しなくてはならなかったので,
7949 レイアウトファイルを編集する作業は,
7950 たいへん時間を浪費する作業だったのです.
7951 \end_layout
7952
7953 \end_inset
7954
7955 .\SpecialChar LyX
7956 関数
7957 \begin_inset Flex MenuItem
7958 status collapsed
7959
7960 \begin_layout Plain Layout
7961 layout-reload
7962 \end_layout
7963
7964 \end_inset
7965
7966 を使用すれば,
7967 現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—
7968 もちろん自分でどれかのキーに割り当てることもできますが—
7969 .しかし,
7970 通常は,
7971 この関数を使用する場合は,
7972 これをミニバッファに入力します.
7973 \end_layout
7974
7975 \begin_layout Standard
7976
7977 \emph on
7978 注意
7979 \emph default
7980
7981
7982 \begin_inset Flex MenuItem
7983 status collapsed
7984
7985 \begin_layout Plain Layout
7986 layout-reload
7987 \end_layout
7988
7989 \end_inset
7990
7991 はかなり「高度な機能」です.この機能を利用する前に,
7992 作業中の文書を保存しておくことを
7993 \emph on
7994 強く
7995 \emph default
7996 勧めます.もっと言えば,
7997 大事な文書の作業をしているときに,
7998 同時にレイアウト情報の編集をしようとしないことを
7999 \emph on
8000 強く
8001 \emph default
8002 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,
8003 そのようなエラーが起こると,
8004 \SpecialChar LyX
8005 は現在のレイアウトが無効であるものと判断して,
8006 別のレイアウトに切り替えようとする可能性があります
8007 \begin_inset Foot
8008 status collapsed
8009
8010 \begin_layout Plain Layout
8011 非常に悪質な文法エラーの場合には,
8012 \SpecialChar LyX
8013 が終了してしまうことさえあります.これは,
8014 ある種のエラーでは,
8015 \SpecialChar LyX
8016 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意ください.
8017 \end_layout
8018
8019 \end_inset
8020
8021 .\SpecialChar LyX
8022 開発陣は,
8023 このような状況下でも安定性を保つよう努力していますが,
8024 後悔よりも安心の方が良いでしょう
8025 \begin_inset Foot
8026 status collapsed
8027
8028 \begin_layout Plain Layout
8029 重ねての助言ですが,
8030 つねにバックアップを取ってください.それから,
8031 お母さんのお片づけに注意.
8032 \end_layout
8033
8034 \end_inset
8035
8036
8037 \end_layout
8038
8039 \begin_layout Subsection
8040 モジュール宣言
8041 \end_layout
8042
8043 \begin_layout Standard
8044 モジュールは,
8045 以下のような行で始まらなくてはなりません.
8046 \end_layout
8047
8048 \begin_layout LyX-Code
8049 #
8050 \backslash
8051 DeclareLyXModule[endnotes.sty]{Endnotes} 
8052 \end_layout
8053
8054 \begin_layout Standard
8055 波括弧内に入っている必須引数はモジュール名で,
8056 これは
8057 \begin_inset Flex MenuItem
8058 status collapsed
8059
8060 \begin_layout Plain Layout
8061 文書\SpecialChar menuseparator
8062 設定
8063 \end_layout
8064
8065 \end_inset
8066
8067 内に表示されます.角括弧内の引数は非必須です.これは,
8068 モジュールが依存する\SpecialChar LaTeX
8069 パッケージをすべて宣言します.また,
8070 非必須引数として,
8071
8072 \begin_inset Flex Code
8073 status collapsed
8074
8075 \begin_layout Plain Layout
8076 変換元->変換先
8077 \end_layout
8078
8079 \end_inset
8080
8081 の形を使用することができます.これは,
8082
8083 \begin_inset Flex Code
8084 status collapsed
8085
8086 \begin_layout Plain Layout
8087 変換元
8088 \end_layout
8089
8090 \end_inset
8091
8092 形式から
8093 \begin_inset Flex Code
8094 status collapsed
8095
8096 \begin_layout Plain Layout
8097 変換先
8098 \end_layout
8099
8100 \end_inset
8101
8102 形式への変換鎖が存在するときのみ,
8103 このモジュールを使用できることを宣言するものです.
8104 \end_layout
8105
8106 \begin_layout Standard
8107 それから,
8108 以下のようなモジュール宣言を行います
8109 \begin_inset Foot
8110 status collapsed
8111
8112 \begin_layout Plain Layout
8113 モジュールを\SpecialChar LyX
8114 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,
8115 次回のインタフェースの更新時に翻訳されることになります.
8116 \end_layout
8117
8118 \end_inset
8119
8120
8121 \end_layout
8122
8123 \begin_layout LyX-Code
8124 #DescriptionBegin 
8125 \end_layout
8126
8127 \begin_layout LyX-Code
8128 #Adds an endnote command,
8129  in addition to footnotes.
8130  
8131 \end_layout
8132
8133 \begin_layout LyX-Code
8134 #You will need to add  
8135 \backslash
8136 theendnotes in TeX code where you 
8137 \end_layout
8138
8139 \begin_layout LyX-Code
8140 #want the endnotes to appear.
8141  
8142 \end_layout
8143
8144 \begin_layout LyX-Code
8145 #DescriptionEnd 
8146 \end_layout
8147
8148 \begin_layout LyX-Code
8149 #Requires:
8150  somemodule | othermodule
8151 \end_layout
8152
8153 \begin_layout LyX-Code
8154 #Excludes:
8155  badmodule
8156 \end_layout
8157
8158 \begin_layout Standard
8159 ここで説明(Description)は,
8160
8161 \begin_inset Flex MenuItem
8162 status collapsed
8163
8164 \begin_layout Plain Layout
8165 文書\SpecialChar menuseparator
8166 設定
8167 \end_layout
8168
8169 \end_inset
8170
8171 でこのモジュールが何をするものか,
8172 ユーザに情報を与えるために使用されます.
8173 \begin_inset Flex Code
8174 status collapsed
8175
8176 \begin_layout Plain Layout
8177 Requires
8178 \end_layout
8179
8180 \end_inset
8181
8182 行は,
8183 このモジュールが共に使用する必要がある,
8184 他のモジュールを特定するのに用いられます.一方,
8185
8186 \begin_inset Flex Code
8187 status collapsed
8188
8189 \begin_layout Plain Layout
8190 Excludes
8191 \end_layout
8192
8193 \end_inset
8194
8195 行は,
8196 このモジュールが共に使用してはならない,
8197 他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,
8198 上記のようにモジュールが複数ある場合には,
8199 パイプ記号「|」で区切らなくてはなりません.
8200 \begin_inset Flex Code
8201 status collapsed
8202
8203 \begin_layout Plain Layout
8204 Requires
8205 \end_layout
8206
8207 \end_inset
8208
8209 に指定されたモジュールは,
8210 選言的に取り扱われることに注意してください.つまり,
8211
8212 \begin_inset Flex Code
8213 status collapsed
8214
8215 \begin_layout Plain Layout
8216 Requires
8217 \end_layout
8218
8219 \end_inset
8220
8221 に指定されたモジュールのうち,
8222
8223 \emph on
8224 少なくとも一つ
8225 \emph default
8226 が使用されていればよいということです.同様に,
8227
8228 \begin_inset Flex Code
8229 status collapsed
8230
8231 \begin_layout Plain Layout
8232 Excludes
8233 \end_layout
8234
8235 \end_inset
8236
8237 に指定されたモジュールは,
8238 一つも使用されてはなりません.ここでモジュールは,
8239
8240 \begin_inset Flex Code
8241 status collapsed
8242
8243 \begin_layout Plain Layout
8244 .module
8245 \end_layout
8246
8247 \end_inset
8248
8249 拡張子を除いたファイル名で認識されることに注意してください.つまり
8250 \begin_inset Flex Code
8251 status collapsed
8252
8253 \begin_layout Plain Layout
8254 somemodule
8255 \end_layout
8256
8257 \end_inset
8258
8259 とは,
8260 実のところ
8261 \begin_inset Flex Code
8262 status collapsed
8263
8264 \begin_layout Plain Layout
8265 somemodule.module
8266 \end_layout
8267
8268 \end_inset
8269
8270 に他なりません.
8271 \end_layout
8272
8273 \begin_layout Subsection
8274 引用エンジンファイルの宣言
8275 \end_layout
8276
8277 \begin_layout Standard
8278 引用エンジンファイルは,
8279 次のような行で始まらなくてはなりません.
8280 \end_layout
8281
8282 \begin_layout LyX-Code
8283 #
8284 \backslash
8285 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8286 \end_layout
8287
8288 \begin_layout Standard
8289 波括弧内の必須引数はモジュール名で,
8290
8291 \begin_inset Flex Noun
8292 status collapsed
8293
8294 \begin_layout Plain Layout
8295 文書\SpecialChar menuseparator
8296 設定\SpecialChar menuseparator
8297 書誌情報
8298 \end_layout
8299
8300 \end_inset
8301
8302 にそのまま現れます.角括弧内の引数は非必須です.これは,
8303 引用エンジンが依存する\SpecialChar LaTeX
8304 パッケージを宣言します.
8305 \end_layout
8306
8307 \begin_layout Standard
8308 引用エンジン宣言には,
8309 その後,
8310 以下のような行が続きます
8311 \begin_inset Foot
8312 status collapsed
8313
8314 \begin_layout Plain Layout
8315 \SpecialChar LyX
8316 とともに公表するモジュールの場合は,
8317 英語で書かれることが望まれます.この説明は,
8318 翻訳対象メッセージのリストに含まれますので,
8319 次回インタフェースの更新の際に翻訳されることになります.
8320 \end_layout
8321
8322 \end_inset
8323
8324
8325 \end_layout
8326
8327 \begin_layout LyX-Code
8328 # DescriptionBegin
8329 \end_layout
8330
8331 \begin_layout LyX-Code
8332 #   Biblatex supports many author-year and numerical styles.
8333 \end_layout
8334
8335 \begin_layout LyX-Code
8336 #   It is mainly aimed at the Humanities.
8337  It is highly
8338 \end_layout
8339
8340 \begin_layout LyX-Code
8341 #   customizable,
8342  fully localized and provides many features
8343 \end_layout
8344
8345 \begin_layout LyX-Code
8346 #   that are not possible with BibTeX.
8347  The use of 'biber' as
8348 \end_layout
8349
8350 \begin_layout LyX-Code
8351 #   bibliography processor is advised.
8352 \end_layout
8353
8354 \begin_layout LyX-Code
8355 # DescriptionEnd
8356 \end_layout
8357
8358 \begin_layout Standard
8359 この説明は,
8360
8361 \begin_inset Flex Noun
8362 status collapsed
8363
8364 \begin_layout Plain Layout
8365 文書\SpecialChar menuseparator
8366 設定\SpecialChar menuseparator
8367 書誌情報
8368 \end_layout
8369
8370 \end_inset
8371
8372 の中で,
8373 ユーザーに引用エンジンに関する情報を提供するために使われます.
8374 \end_layout
8375
8376 \begin_layout Subsection
8377 書式番号
8378 \end_layout
8379
8380 \begin_layout Standard
8381 レイアウトファイルやインクルードされたファイル,
8382 またはモジュールの最初の非コメント行には,
8383 以下のように,
8384 かならずファイル形式番号が記されていなくてはなりません.
8385 \end_layout
8386
8387 \begin_layout Description
8388 \begin_inset Flex Code
8389 status collapsed
8390
8391 \begin_layout Plain Layout
8392 Format
8393 \end_layout
8394
8395 \end_inset
8396
8397  [
8398 \begin_inset Flex Code
8399 status collapsed
8400
8401 \begin_layout Plain Layout
8402 整数型
8403 \end_layout
8404
8405 \end_inset
8406
8407 ] このレイアウトファイルの書式
8408 \end_layout
8409
8410 \begin_layout Standard
8411 このタグは\SpecialChar LyX
8412
8413 \begin_inset space ~
8414 \end_inset
8415
8416 1.4.0で導入されました.\SpecialChar LyX
8417
8418 \begin_inset space ~
8419 \end_inset
8420
8421 1.3.x以前のレイアウトファイルには,
8422 明示されたファイル形式がないため,
8423 書式1と解されます.\SpecialChar LyX
8424 現行版のファイル形式は,
8425 書式69です.しかし,
8426 \SpecialChar LyX
8427 の各版は,
8428 旧版の\SpecialChar LyX
8429 で作成されたファイルを読むことができるように,
8430 旧版のレイアウトファイルも読むことができます.しかしながら,
8431 以前の書式に変換する方法はありません.
8432 \end_layout
8433
8434 \begin_layout Subsection
8435 \begin_inset CommandInset label
8436 LatexCommand label
8437 name "subsec:汎用テキストクラスパラメータ"
8438
8439 \end_inset
8440
8441 汎用テキストクラスパラメータ
8442 \end_layout
8443
8444 \begin_layout Standard
8445 以下は,
8446 文書クラス全体の挙動を決定する汎用パラメータです(これは,
8447
8448 \begin_inset Flex Code
8449 status collapsed
8450
8451 \begin_layout Plain Layout
8452 .layout
8453 \end_layout
8454
8455 \end_inset
8456
8457 ファイルのみに使用されるべきで,
8458 モジュールでは使ってはならない,
8459 ということを意味するものでは
8460 \emph on
8461 ありません
8462 \emph default
8463 .モジュールには,
8464 すべてのレイアウトタグを使用することができます).
8465 \end_layout
8466
8467 \begin_layout Description
8468 \begin_inset Flex Code
8469 status collapsed
8470
8471 \begin_layout Plain Layout
8472 AddToHTMLPreamble
8473 \end_layout
8474
8475 \end_inset
8476
8477  この文書クラスがXHTMLに出力されるときに,
8478
8479 \begin_inset Flex Code
8480 status collapsed
8481
8482 \begin_layout Plain Layout
8483 <head>
8484 \end_layout
8485
8486 \end_inset
8487
8488 ブロックに追加出力される情報です.典型的には,
8489 これはCSSスタイル情報を出力するのに用いられますが,
8490
8491 \begin_inset Flex Code
8492 status collapsed
8493
8494 \begin_layout Plain Layout
8495 <head>
8496 \end_layout
8497
8498 \end_inset
8499
8500 に出力するものであれば,
8501 何でも使用することができます.「
8502 \begin_inset Flex Code
8503 status collapsed
8504
8505 \begin_layout Plain Layout
8506 EndPreamble
8507 \end_layout
8508
8509 \end_inset
8510
8511 」で閉じる必要があります.
8512 \end_layout
8513
8514 \begin_layout Description
8515 \begin_inset Flex Code
8516 status collapsed
8517
8518 \begin_layout Plain Layout
8519 AddToPreamble
8520 \end_layout
8521
8522 \end_inset
8523
8524  文書プリアンブルに書き加えられる情報です.「
8525 \begin_inset Flex Code
8526 status collapsed
8527
8528 \begin_layout Plain Layout
8529 EndPreamble
8530 \end_layout
8531
8532 \end_inset
8533
8534 」で閉じる必要があります.
8535 \end_layout
8536
8537 \begin_layout Description
8538 \begin_inset Flex Code
8539 status collapsed
8540
8541 \begin_layout Plain Layout
8542 CiteEngine <エンジン>
8543 \end_layout
8544
8545 \end_inset
8546
8547  文献参照を表示する方法を定義します.詳細については,
8548
8549 \begin_inset CommandInset ref
8550 LatexCommand ref
8551 reference "subsec:引用エンジンの説明"
8552 plural "false"
8553 caps "false"
8554 noprefix "false"
8555 nolink "false"
8556
8557 \end_inset
8558
8559 節をご覧ください.「
8560 \begin_inset Flex Code
8561 status collapsed
8562
8563 \begin_layout Plain Layout
8564 End
8565 \end_layout
8566
8567 \end_inset
8568
8569 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
8570 \begin_inset CommandInset ref
8571 LatexCommand ref
8572 reference "subsec:引用エンジンファイル"
8573 plural "false"
8574 caps "false"
8575 noprefix "false"
8576 nolink "false"
8577
8578 \end_inset
8579
8580 節参照).
8581 \end_layout
8582
8583 \begin_layout Description
8584 \begin_inset Flex Code
8585 status collapsed
8586
8587 \begin_layout Plain Layout
8588 CiteFormat
8589 \end_layout
8590
8591 \end_inset
8592
8593  書誌情報の表示に使う書式を定義します.詳細については,
8594
8595 \begin_inset CommandInset ref
8596 LatexCommand ref
8597 reference "subsec:引用書式指定"
8598 nolink "false"
8599
8600 \end_inset
8601
8602 節をご覧ください.「
8603 \begin_inset Flex Code
8604 status collapsed
8605
8606 \begin_layout Plain Layout
8607 End
8608 \end_layout
8609
8610 \end_inset
8611
8612 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
8613 \begin_inset CommandInset ref
8614 LatexCommand ref
8615 reference "subsec:引用エンジンファイル"
8616 plural "false"
8617 caps "false"
8618 noprefix "false"
8619 nolink "false"
8620
8621 \end_inset
8622
8623 節参照).
8624 \end_layout
8625
8626 \begin_layout Description
8627 \begin_inset Flex Code
8628 status collapsed
8629
8630 \begin_layout Plain Layout
8631 CiteFramework
8632 \end_layout
8633
8634 \end_inset
8635
8636  [
8637 \begin_inset Flex Code
8638 status collapsed
8639
8640 \begin_layout Plain Layout
8641
8642 \emph on
8643 bibtex
8644 \end_layout
8645
8646 \end_inset
8647
8648 ,
8649 \begin_inset Flex Code
8650 status collapsed
8651
8652 \begin_layout Plain Layout
8653 biblatex
8654 \end_layout
8655
8656 \end_inset
8657
8658 ] 書誌情報を生成するのに,
8659
8660 \family sans
8661 Biblatex
8662 \family default
8663 を用いるのかBib\SpecialChar TeX
8664 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
8665 \begin_inset CommandInset ref
8666 LatexCommand ref
8667 reference "subsec:引用エンジンファイル"
8668 plural "false"
8669 caps "false"
8670 noprefix "false"
8671 nolink "false"
8672
8673 \end_inset
8674
8675 節参照).
8676 \end_layout
8677
8678 \begin_layout Description
8679 \begin_inset Flex Code
8680 status collapsed
8681
8682 \begin_layout Plain Layout
8683 ClassOptions
8684 \end_layout
8685
8686 \end_inset
8687
8688  文書クラスがサポートする様々な大域オプションを記します.説明は,
8689
8690 \begin_inset CommandInset ref
8691 LatexCommand ref
8692 reference "subsec:ClassOptions"
8693 nolink "false"
8694
8695 \end_inset
8696
8697 節を参照してください.「
8698 \begin_inset Flex Code
8699 status collapsed
8700
8701 \begin_layout Plain Layout
8702 End
8703 \end_layout
8704
8705 \end_inset
8706
8707 」で閉じる必要があります.
8708 \end_layout
8709
8710 \begin_layout Description
8711 \begin_inset Flex Code
8712 status collapsed
8713
8714 \begin_layout Plain Layout
8715 Columns
8716 \end_layout
8717
8718 \end_inset
8719
8720  [
8721 \begin_inset Flex Code
8722 status collapsed
8723
8724 \begin_layout Plain Layout
8725
8726 \emph on
8727 1
8728 \end_layout
8729
8730 \end_inset
8731
8732 ,
8733 \begin_inset space \thinspace{}
8734 \end_inset
8735
8736
8737 \begin_inset Flex Code
8738 status collapsed
8739
8740 \begin_layout Plain Layout
8741 2
8742 \end_layout
8743
8744 \end_inset
8745
8746 ] 文書クラスが既定で1段組か2段組かを指定します.
8747 \begin_inset Flex MenuItem
8748 status collapsed
8749
8750 \begin_layout Plain Layout
8751 文書\SpecialChar menuseparator
8752 設定
8753 \end_layout
8754
8755 \end_inset
8756
8757 ダイアログで変更することができます.
8758 \end_layout
8759
8760 \begin_layout Description
8761 \begin_inset Flex Code
8762 status collapsed
8763
8764 \begin_layout Plain Layout
8765 Counter
8766 \end_layout
8767
8768 \end_inset
8769
8770  [
8771 \begin_inset Flex Code
8772 status collapsed
8773
8774 \begin_layout Plain Layout
8775 文字列
8776 \end_layout
8777
8778 \end_inset
8779
8780 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,
8781 生成されます.もし存在しなければ修正されます.「
8782 \begin_inset Flex Code
8783 status collapsed
8784
8785 \begin_layout Plain Layout
8786 End
8787 \end_layout
8788
8789 \end_inset
8790
8791 」で閉じる必要があります.
8792 \begin_inset Newline newline
8793 \end_inset
8794
8795 カウンタについての詳細は,
8796
8797 \begin_inset CommandInset ref
8798 LatexCommand ref
8799 reference "subsec:カウンタ"
8800 nolink "false"
8801
8802 \end_inset
8803
8804 節を参照してください.
8805 \end_layout
8806
8807 \begin_layout Description
8808 \begin_inset Flex Code
8809 status collapsed
8810
8811 \begin_layout Plain Layout
8812 DefaultFont
8813 \end_layout
8814
8815 \end_inset
8816
8817  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,
8818
8819 \begin_inset CommandInset ref
8820 LatexCommand ref
8821 reference "subsec:フォント指定"
8822 nolink "false"
8823
8824 \end_inset
8825
8826 節を参照してください.「
8827 \begin_inset Flex Code
8828 status collapsed
8829
8830 \begin_layout Plain Layout
8831 EndFont
8832 \end_layout
8833
8834 \end_inset
8835
8836 」で閉じる必要があります.
8837 \end_layout
8838
8839 \begin_layout Description
8840 \begin_inset Flex Code
8841 status collapsed
8842
8843 \begin_layout Plain Layout
8844 DefaultModule
8845 \end_layout
8846
8847 \end_inset
8848
8849  [
8850 \begin_inset Flex Code
8851 status collapsed
8852
8853 \begin_layout Plain Layout
8854 <モジュール>
8855 \end_layout
8856
8857 \end_inset
8858
8859 ] この文書クラスに,
8860 既定で取り込むモジュールを指定します.モジュールは,
8861
8862 \begin_inset Flex Code
8863 status collapsed
8864
8865 \begin_layout Plain Layout
8866 .module
8867 \end_layout
8868
8869 \end_inset
8870
8871 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,
8872 当初は有効の状態になっています(これは新しいファイルが作成されたときや,
8873 既存の文書にこの文書クラスが選択したときのみ該当します).
8874 \end_layout
8875
8876 \begin_layout Description
8877 \begin_inset Flex Code
8878 status collapsed
8879
8880 \begin_layout Plain Layout
8881 DefaultStyle
8882 \end_layout
8883
8884 \end_inset
8885
8886  [
8887 \begin_inset Flex Code
8888 status collapsed
8889
8890 \begin_layout Plain Layout
8891 <様式>
8892 \end_layout
8893
8894 \end_inset
8895
8896 ]
8897 \lang english
8898  
8899 \lang japanese
8900 これは新規段落に割り当てられる様式であり,
8901 通常は
8902 \begin_inset Flex MenuItem
8903 status collapsed
8904
8905 \begin_layout Plain Layout
8906 標準
8907 \end_layout
8908
8909 \end_inset
8910
8911 です.もしこれを指定しなければ,
8912 最初に定義される様式がこれに割り当てられるようにはなっていますが,
8913 このディレクティブを使用することが推奨されます.
8914 \end_layout
8915
8916 \begin_layout Description
8917 \begin_inset Flex Code
8918 status collapsed
8919
8920 \begin_layout Plain Layout
8921 ExcludesModule
8922 \end_layout
8923
8924 \end_inset
8925
8926  [
8927 \begin_inset Flex Code
8928 status collapsed
8929
8930 \begin_layout Plain Layout
8931 <モジュール>
8932 \end_layout
8933
8934 \end_inset
8935
8936 ] このタグは,
8937 指定されたモジュール—
8938
8939 \begin_inset Flex Code
8940 status collapsed
8941
8942 \begin_layout Plain Layout
8943 .module
8944 \end_layout
8945
8946 \end_inset
8947
8948 拡張子を除いたファイル名で指定します—
8949 が,
8950 この文書クラスでは使用できないように設定します.これはたとえば,
8951 特定の学術誌用レイアウトファイルの中で,
8952 定理番号を節毎に振る
8953 \begin_inset Flex Code
8954 status collapsed
8955
8956 \begin_layout Plain Layout
8957 theorems-sec
8958 \end_layout
8959
8960 \end_inset
8961
8962 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,
8963 モジュール内で
8964 \emph on
8965 使用してはいけません
8966 \emph default
8967 .モジュールは,
8968 他のモジュールを排除する独自の枠組みがあります(第
8969 \begin_inset CommandInset ref
8970 LatexCommand ref
8971 reference "subsec:レイアウトモジュール"
8972 nolink "false"
8973
8974 \end_inset
8975
8976 節参照).
8977 \end_layout
8978
8979 \begin_layout Description
8980 \begin_inset Flex Code
8981 status collapsed
8982
8983 \begin_layout Plain Layout
8984 Float
8985 \end_layout
8986
8987 \end_inset
8988
8989  フロートを新規に定義します.詳細は,
8990
8991 \begin_inset CommandInset ref
8992 LatexCommand ref
8993 reference "subsec:フロート"
8994 nolink "false"
8995
8996 \end_inset
8997
8998 節を参照してください.「
8999 \begin_inset Flex Code
9000 status collapsed
9001
9002 \begin_layout Plain Layout
9003 End
9004 \end_layout
9005
9006 \end_inset
9007
9008 」で閉じる必要があります.
9009 \end_layout
9010
9011 \begin_layout Description
9012 \begin_inset Flex Code
9013 status collapsed
9014
9015 \begin_layout Plain Layout
9016 HTMLPreamble
9017 \end_layout
9018
9019 \end_inset
9020
9021  この文書クラスがXHTMLに出力されるときに,
9022
9023 \begin_inset Flex Code
9024 status collapsed
9025
9026 \begin_layout Plain Layout
9027 <head>
9028 \end_layout
9029
9030 \end_inset
9031
9032 ブロックに出力される情報です.これより前に出現した
9033 \begin_inset Flex Code
9034 status collapsed
9035
9036 \begin_layout Plain Layout
9037 HTMLPreamble
9038 \end_layout
9039
9040 \end_inset
9041
9042
9043 \begin_inset Flex Code
9044 status collapsed
9045
9046 \begin_layout Plain Layout
9047 AddToHTMLPreamble
9048 \end_layout
9049
9050 \end_inset
9051
9052 宣言は,
9053 すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
9054
9055 \begin_inset Flex Code
9056 status collapsed
9057
9058 \begin_layout Plain Layout
9059 AddToHTMLPreamble
9060 \end_layout
9061
9062 \end_inset
9063
9064 を使用してください).これは「
9065 \begin_inset Flex Code
9066 status collapsed
9067
9068 \begin_layout Plain Layout
9069 EndPreamble
9070 \end_layout
9071
9072 \end_inset
9073
9074 」で閉じる必要があります.
9075 \end_layout
9076
9077 \begin_layout Description
9078 \begin_inset Flex Code
9079 status collapsed
9080
9081 \begin_layout Plain Layout
9082 HTMLTOCSection
9083 \end_layout
9084
9085 \end_inset
9086
9087  [
9088 \begin_inset Flex Code
9089 status collapsed
9090
9091 \begin_layout Plain Layout
9092 <様式>
9093 \end_layout
9094
9095 \end_inset
9096
9097 ] 文書がHTMLに出力されるときに,
9098 目次や書誌情報などに使用されるレイアウトです.articleの場合には,
9099 これは通常「節」であり,
9100 bookの場合は「章」です.これを指定しない場合には,
9101 \SpecialChar LyX
9102 はどのレイアウトを使用するべきか,
9103 解析しようと試みます.
9104 \end_layout
9105
9106 \begin_layout Description
9107 \begin_inset Flex Code
9108 status collapsed
9109
9110 \begin_layout Plain Layout
9111 IfCounter 
9112 \end_layout
9113
9114 \end_inset
9115
9116  [
9117 \begin_inset Flex Code
9118 status collapsed
9119
9120 \begin_layout Plain Layout
9121 <カウンタ>
9122 \end_layout
9123
9124 \end_inset
9125
9126 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,
9127 この節は無視されます.「
9128 \begin_inset Flex Code
9129 status collapsed
9130
9131 \begin_layout Plain Layout
9132 End
9133 \end_layout
9134
9135 \end_inset
9136
9137 」で閉じる必要があります.
9138 \begin_inset Newline newline
9139 \end_inset
9140
9141 カウンタについての詳細は,
9142
9143 \begin_inset CommandInset ref
9144 LatexCommand ref
9145 reference "subsec:カウンタ"
9146 nolink "false"
9147
9148 \end_inset
9149
9150 節をご覧ください.
9151 \end_layout
9152
9153 \begin_layout Description
9154 \begin_inset Flex Code
9155 status collapsed
9156
9157 \begin_layout Plain Layout
9158 IfStyle
9159 \end_layout
9160
9161 \end_inset
9162
9163  [
9164 \begin_inset Flex Code
9165 status collapsed
9166
9167 \begin_layout Plain Layout
9168 <様式>
9169 \end_layout
9170
9171 \end_inset
9172
9173 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,
9174 この節は無視されます.「
9175 \begin_inset Flex Code
9176 status collapsed
9177
9178 \begin_layout Plain Layout
9179 End
9180 \end_layout
9181
9182 \end_inset
9183
9184 」で閉じる必要があります.
9185 \end_layout
9186
9187 \begin_layout Description
9188 \begin_inset Flex Code
9189 status collapsed
9190
9191 \begin_layout Plain Layout
9192 Input
9193 \end_layout
9194
9195 \end_inset
9196
9197  [
9198 \begin_inset Flex Code
9199 status collapsed
9200
9201 \begin_layout Plain Layout
9202 <ファイル名>
9203 \end_layout
9204
9205 \end_inset
9206
9207 ]
9208 \lang english
9209  
9210 \lang japanese
9211 名称の指し示すように,
9212 このコマンドは,
9213 同じコマンドを何度も指定せずに済むように,
9214 別のレイアウト定義ファイルを取り込ませます.よく使われる例は,
9215 基本的なレイアウトのほとんどを収録している
9216 \begin_inset Flex Code
9217 status collapsed
9218
9219 \begin_layout Plain Layout
9220 stdclass.inc
9221 \end_layout
9222
9223 \end_inset
9224
9225 のような標準レイアウトファイルです.
9226 \end_layout
9227
9228 \begin_layout Description
9229 \begin_inset Flex Code
9230 status collapsed
9231
9232 \begin_layout Plain Layout
9233 InsetLayout
9234 \end_layout
9235
9236 \end_inset
9237
9238  [
9239 \begin_inset Flex Code
9240 status collapsed
9241
9242 \begin_layout Plain Layout
9243 <型>
9244 \end_layout
9245
9246 \end_inset
9247
9248 ]
9249 \lang english
9250  
9251 \lang japanese
9252 このセクションは,
9253 差込枠のレイアウトを定義(再定義)します.これは,
9254 既存の差込枠にも,
9255 新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
9256 \begin_inset Flex Code
9257 status collapsed
9258
9259 \begin_layout Plain Layout
9260 End
9261 \end_layout
9262
9263 \end_inset
9264
9265 」で閉じる必要があります.
9266 \begin_inset Newline newline
9267 \end_inset
9268
9269 詳しい情報は,
9270
9271 \begin_inset CommandInset ref
9272 LatexCommand ref
9273 reference "subsec:任意設定差込枠"
9274 nolink "false"
9275
9276 \end_inset
9277
9278 節をご覧ください.
9279 \end_layout
9280
9281 \begin_layout Description
9282 \begin_inset Flex Code
9283 status collapsed
9284
9285 \begin_layout Plain Layout
9286 LeftMargin
9287 \end_layout
9288
9289 \end_inset
9290
9291  [
9292 \begin_inset Flex Code
9293 status collapsed
9294
9295 \begin_layout Plain Layout
9296 文字列
9297 \end_layout
9298
9299 \end_inset
9300
9301 ] 画面上の左余白の幅を指示する文字列.例:
9302
9303 \begin_inset Flex Code
9304 status collapsed
9305
9306 \begin_layout Plain Layout
9307 MMMMM
9308 \end_layout
9309
9310 \end_inset
9311
9312 」.(これは,
9313 「2ex」のような「長さ」ではないことに注意してください.)
9314 \end_layout
9315
9316 \begin_layout Description
9317 \begin_inset Flex Code
9318 status collapsed
9319
9320 \begin_layout Plain Layout
9321 MaxCiteNames
9322 \end_layout
9323
9324 \end_inset
9325
9326  [
9327 \begin_inset Flex Code
9328 status collapsed
9329
9330 \begin_layout Plain Layout
9331 整数
9332 \end_layout
9333
9334 \end_inset
9335
9336 ] 著者-刊行年引用で,
9337 引用が「第一著者 et al.」に切り替わる前に,
9338 表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
9339 \begin_inset CommandInset ref
9340 LatexCommand ref
9341 reference "subsec:引用エンジンファイル"
9342 plural "false"
9343 caps "false"
9344 noprefix "false"
9345 nolink "false"
9346
9347 \end_inset
9348
9349 節参照).
9350 \end_layout
9351
9352 \begin_layout Description
9353 \begin_inset Flex Code
9354 status collapsed
9355
9356 \begin_layout Plain Layout
9357 NoCounter
9358 \end_layout
9359
9360 \end_inset
9361
9362  [
9363 \begin_inset Flex Code
9364 status collapsed
9365
9366 \begin_layout Plain Layout
9367 <カウンタ>
9368 \end_layout
9369
9370 \end_inset
9371
9372 ] このコマンドは,
9373 既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
9374 \end_layout
9375
9376 \begin_layout Description
9377 \begin_inset Flex Code
9378 status collapsed
9379
9380 \begin_layout Plain Layout
9381 NoFloat
9382 \end_layout
9383
9384 \end_inset
9385
9386  [
9387 \begin_inset Flex Code
9388 status collapsed
9389
9390 \begin_layout Plain Layout
9391 <フロート>
9392 \end_layout
9393
9394 \end_inset
9395
9396 ] このコマンドは既存のフロートを削除します.これは特に,
9397 Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
9398 \end_layout
9399
9400 \begin_layout Description
9401 \begin_inset Flex Code
9402 status collapsed
9403
9404 \begin_layout Plain Layout
9405 NoStyle
9406 \end_layout
9407
9408 \end_inset
9409
9410  [
9411 \begin_inset Flex Code
9412 status collapsed
9413
9414 \begin_layout Plain Layout
9415 <様式>
9416 \end_layout
9417
9418 \end_inset
9419
9420 ] このコマンドは既存の様式を削除します.これは特に,
9421 Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
9422 \end_layout
9423
9424 \begin_layout Description
9425 \begin_inset Flex Code
9426 status collapsed
9427
9428 \begin_layout Plain Layout
9429 OutlinerName
9430 \end_layout
9431
9432 \end_inset
9433
9434  [
9435 \begin_inset Flex Code
9436 status collapsed
9437
9438 \begin_layout Plain Layout
9439 <型>
9440 \end_layout
9441
9442 \end_inset
9443
9444 ] [
9445 \begin_inset Flex Code
9446 status collapsed
9447
9448 \begin_layout Plain Layout
9449 <文字列>
9450 \end_layout
9451
9452 \end_inset
9453
9454 ] 型が
9455 \begin_inset Flex Code
9456 status collapsed
9457
9458 \begin_layout Plain Layout
9459 <型>
9460 \end_layout
9461
9462 \end_inset
9463
9464 で名前が
9465 \begin_inset Flex Code
9466 status collapsed
9467
9468 \begin_layout Plain Layout
9469 <文字列>
9470 \end_layout
9471
9472 \end_inset
9473
9474 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
9475 \end_layout
9476
9477 \begin_layout Description
9478 \begin_inset Flex Code
9479 status collapsed
9480
9481 \begin_layout Plain Layout
9482 OutputFormat
9483 \end_layout
9484
9485 \end_inset
9486
9487  [
9488 \begin_inset Flex Code
9489 status collapsed
9490
9491 \begin_layout Plain Layout
9492 <形式>
9493 \end_layout
9494
9495 \end_inset
9496
9497 ] このクラスによって生成されるファイル形式を示す文字列(
9498 \family sans
9499 設定
9500 \family default
9501 ダイアログで定義される形のもの).おもに,
9502
9503 \begin_inset Flex Code
9504 status collapsed
9505
9506 \begin_layout Plain Layout
9507 OutputType
9508 \end_layout
9509
9510 \end_inset
9511
9512
9513 \begin_inset Flex Code
9514 status collapsed
9515
9516 \begin_layout Plain Layout
9517 literate
9518 \end_layout
9519
9520 \end_inset
9521
9522 になっていて,
9523 新しい型のliterate文書を定義したい時に便利です.対応する
9524 \begin_inset Flex Code
9525 status collapsed
9526
9527 \begin_layout Plain Layout
9528 OutputType
9529 \end_layout
9530
9531 \end_inset
9532
9533 パラメーターに遭遇したときには,
9534 この文字列は,
9535
9536 \begin_inset Flex Code
9537 status collapsed
9538
9539 \begin_layout Plain Layout
9540 docbook
9541 \end_layout
9542
9543 \end_inset
9544
9545 」・「
9546 \begin_inset Flex Code
9547 status collapsed
9548
9549 \begin_layout Plain Layout
9550 lat
9551 \emph on
9552 ex
9553 \end_layout
9554
9555 \end_inset
9556
9557 」のいずれかにリセットされます.
9558 \end_layout
9559
9560 \begin_layout Description
9561 \begin_inset Flex Code
9562 status collapsed
9563
9564 \begin_layout Plain Layout
9565 OutputType
9566 \end_layout
9567
9568 \end_inset
9569
9570  [
9571 \begin_inset Flex Code
9572 status collapsed
9573
9574 \begin_layout Plain Layout
9575
9576 \emph on
9577 lat
9578 \emph default
9579 ex
9580 \end_layout
9581
9582 \end_inset
9583
9584 ,
9585  
9586 \begin_inset Flex Code
9587 status collapsed
9588
9589 \begin_layout Plain Layout
9590 docbook
9591 \end_layout
9592
9593 \end_inset
9594
9595 ,
9596  
9597 \begin_inset Flex Code
9598 status collapsed
9599
9600 \begin_layout Plain Layout
9601 literate
9602 \end_layout
9603
9604 \end_inset
9605
9606 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,
9607 取り得る値は「docbook」・「latex」・「literate」です.
9608 \end_layout
9609
9610 \begin_layout Description
9611 \begin_inset Flex Code
9612 status collapsed
9613
9614 \begin_layout Plain Layout
9615 PackageOptions
9616 \end_layout
9617
9618 \end_inset
9619
9620  [
9621 \begin_inset Flex Code
9622 status collapsed
9623
9624 \begin_layout Plain Layout
9625 文字列
9626 \end_layout
9627
9628 \end_inset
9629
9630  
9631 \begin_inset Flex Code
9632 status collapsed
9633
9634 \begin_layout Plain Layout
9635 文字列
9636 \end_layout
9637
9638 \end_inset
9639
9640 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,
9641
9642 \begin_inset Flex Code
9643 status collapsed
9644
9645 \begin_layout Plain Layout
9646 PackageOptions natbib square
9647 \end_layout
9648
9649 \end_inset
9650
9651 」とすると,
9652
9653 \begin_inset Flex Code
9654 status collapsed
9655
9656 \begin_layout Plain Layout
9657 natbib
9658 \end_layout
9659
9660 \end_inset
9661
9662
9663 \begin_inset Flex Code
9664 status collapsed
9665
9666 \begin_layout Plain Layout
9667 square
9668 \end_layout
9669
9670 \end_inset
9671
9672 オプションとともに読み込みます(\SpecialChar TeX
9673 perts向けに述べると,
9674 これは,
9675
9676 \begin_inset Flex Code
9677 status collapsed
9678
9679 \begin_layout Plain Layout
9680 natbib
9681 \end_layout
9682
9683 \end_inset
9684
9685 を読み込む前に,
9686 \SpecialChar LyX
9687
9688 \begin_inset Flex Code
9689 status collapsed
9690
9691 \begin_layout Plain Layout
9692
9693 \backslash
9694 PassOptionsToPackage{natbib}{square}
9695 \end_layout
9696
9697 \end_inset
9698
9699 を出力させます).
9700 \end_layout
9701
9702 \begin_layout Description
9703 \begin_inset Flex Code
9704 status collapsed
9705
9706 \begin_layout Plain Layout
9707 PageStyle
9708 \end_layout
9709
9710 \end_inset
9711
9712  [
9713 \emph on
9714
9715 \begin_inset Flex Code
9716 status collapsed
9717
9718 \begin_layout Plain Layout
9719 plain
9720 \end_layout
9721
9722 \end_inset
9723
9724
9725 \emph default
9726 ,
9727  
9728 \begin_inset Flex Code
9729 status collapsed
9730
9731 \begin_layout Plain Layout
9732 empty
9733 \end_layout
9734
9735 \end_inset
9736
9737 ,
9738  
9739 \begin_inset Flex Code
9740 status collapsed
9741
9742 \begin_layout Plain Layout
9743 headings
9744 \end_layout
9745
9746 \end_inset
9747
9748 ] 既定ページ様式.
9749 \begin_inset Flex MenuItem
9750 status collapsed
9751
9752 \begin_layout Plain Layout
9753 文書\SpecialChar menuseparator
9754 設定
9755 \end_layout
9756
9757 \end_inset
9758
9759 ダイアログで変更することができます.
9760 \end_layout
9761
9762 \begin_layout Description
9763 \begin_inset Flex Code
9764 status collapsed
9765
9766 \begin_layout Plain Layout
9767 Preamble
9768 \end_layout
9769
9770 \end_inset
9771
9772  \SpecialChar LaTeX
9773 文書のプリアンブルを設定します.前に行った
9774 \begin_inset Flex Code
9775 status collapsed
9776
9777 \begin_layout Plain Layout
9778 Preamble
9779 \end_layout
9780
9781 \end_inset
9782
9783 宣言や
9784 \begin_inset Flex Code
9785 status collapsed
9786
9787 \begin_layout Plain Layout
9788 AddToPreamble
9789 \end_layout
9790
9791 \end_inset
9792
9793 宣言は,
9794 すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
9795
9796 \begin_inset Flex Code
9797 status collapsed
9798
9799 \begin_layout Plain Layout
9800 AddToPreamble
9801 \end_layout
9802
9803 \end_inset
9804
9805 を使用してください.)「
9806 \begin_inset Flex Code
9807 status collapsed
9808
9809 \begin_layout Plain Layout
9810 EndPreamble
9811 \end_layout
9812
9813 \end_inset
9814
9815 」で閉じる必要があります.
9816 \end_layout
9817
9818 \begin_layout Description
9819 \begin_inset Flex Code
9820 status collapsed
9821
9822 \begin_layout Plain Layout
9823 Provides
9824 \end_layout
9825
9826 \end_inset
9827
9828  [
9829 \begin_inset Flex Code
9830 status collapsed
9831
9832 \begin_layout Plain Layout
9833 文字列
9834 \end_layout
9835
9836 \end_inset
9837
9838 ] [
9839 \begin_inset Flex Code
9840 status collapsed
9841
9842 \begin_layout Plain Layout
9843
9844 \emph on
9845 0
9846 \end_layout
9847
9848 \end_inset
9849
9850 ,
9851  
9852 \begin_inset Flex Code
9853 status collapsed
9854
9855 \begin_layout Plain Layout
9856 1
9857 \end_layout
9858
9859 \end_inset
9860
9861 ] このクラスが
9862 \begin_inset Flex Code
9863 status collapsed
9864
9865 \begin_layout Plain Layout
9866 文字列
9867 \end_layout
9868
9869 \end_inset
9870
9871 で示される機能を既に提供しているかどうかを示します.機能は,
9872 一般的にパッケージ名(
9873 \begin_inset Flex Code
9874 status collapsed
9875
9876 \begin_layout Plain Layout
9877 amsmath
9878 \end_layout
9879
9880 \end_inset
9881
9882
9883 \begin_inset Flex Code
9884 status collapsed
9885
9886 \begin_layout Plain Layout
9887 makeidx
9888 \end_layout
9889
9890 \end_inset
9891
9892 ・\SpecialChar ldots
9893 )やマクロ名(
9894 \begin_inset Flex Code
9895 status collapsed
9896
9897 \begin_layout Plain Layout
9898 url
9899 \end_layout
9900
9901 \end_inset
9902
9903
9904 \begin_inset Flex Code
9905 status collapsed
9906
9907 \begin_layout Plain Layout
9908 boldsymbol
9909 \end_layout
9910
9911 \end_inset
9912
9913 ・\SpecialChar ldots
9914 )です.機能一覧については,
9915
9916 \begin_inset CommandInset ref
9917 LatexCommand ref
9918 reference "chap:関数一覧"
9919 nolink "false"
9920
9921 \end_inset
9922
9923 を参照.
9924 \end_layout
9925
9926 \begin_layout Description
9927 \begin_inset Flex Code
9928 status collapsed
9929
9930 \begin_layout Plain Layout
9931 ProvidesModule
9932 \end_layout
9933
9934 \end_inset
9935
9936  [
9937 \begin_inset Flex Code
9938 status collapsed
9939
9940 \begin_layout Plain Layout
9941 文字列
9942 \end_layout
9943
9944 \end_inset
9945
9946 ] このレイアウトが
9947 \begin_inset Flex Code
9948 status collapsed
9949
9950 \begin_layout Plain Layout
9951 文字列
9952 \end_layout
9953
9954 \end_inset
9955
9956 で表されているモジュールの機能を提供することを示し,
9957
9958 \begin_inset Flex Code
9959 status collapsed
9960
9961 \begin_layout Plain Layout
9962 .module
9963 \end_layout
9964
9965 \end_inset
9966
9967 拡張子を除いたファイル名で指定します.
9968 \begin_inset Flex Code
9969 status collapsed
9970
9971 \begin_layout Plain Layout
9972 DefaultModule
9973 \end_layout
9974
9975 \end_inset
9976
9977 タグを使用すると,
9978 モジュールを使用しなくてはならないことを示しますが,
9979 このタグは主に,
9980 このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いられます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
9981 \end_layout
9982
9983 \begin_layout Description
9984 \begin_inset Flex Code
9985 status collapsed
9986
9987 \begin_layout Plain Layout
9988 Requires
9989 \end_layout
9990
9991 \end_inset
9992
9993  [
9994 \begin_inset Flex Code
9995 status collapsed
9996
9997 \begin_layout Plain Layout
9998 文字列
9999 \end_layout
10000
10001 \end_inset
10002
10003 ] このクラスが
10004 \begin_inset Flex Code
10005 status collapsed
10006
10007 \begin_layout Plain Layout
10008 文字列
10009 \end_layout
10010
10011 \end_inset
10012
10013 で表されている機能を要求することを示します.機能が複数ある場合には,
10014 コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してください(機能一覧については
10015 \begin_inset CommandInset ref
10016 LatexCommand ref
10017 reference "chap:関数一覧"
10018 nolink "false"
10019
10020 \end_inset
10021
10022 を参照).特定のオプションをとるパッケージを要求する場合,
10023
10024 \begin_inset Flex Code
10025 status collapsed
10026
10027 \begin_layout Plain Layout
10028 PackageOptions
10029 \end_layout
10030
10031 \end_inset
10032
10033 を追加して使うことができます.
10034 \end_layout
10035
10036 \begin_layout Description
10037 \begin_inset Flex Code
10038 status collapsed
10039
10040 \begin_layout Plain Layout
10041 RightMargin
10042 \end_layout
10043
10044 \end_inset
10045
10046  [
10047 \begin_inset Flex Code
10048 status collapsed
10049
10050 \begin_layout Plain Layout
10051 文字列
10052 \end_layout
10053
10054 \end_inset
10055
10056 ] 画面上の右余白の幅を指示する文字列.例:
10057
10058 \begin_inset Flex Code
10059 status collapsed
10060
10061 \begin_layout Plain Layout
10062 MMMMM
10063 \end_layout
10064
10065 \end_inset
10066
10067 」.
10068 \end_layout
10069
10070 \begin_layout Description
10071 \begin_inset Flex Code
10072 status collapsed
10073
10074 \begin_layout Plain Layout
10075 SecNumDepth
10076 \end_layout
10077
10078 \end_inset
10079
10080  [
10081 \begin_inset Flex Code
10082 status collapsed
10083
10084 \begin_layout Plain Layout
10085 int=3
10086 \end_layout
10087
10088 \end_inset
10089
10090 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
10091 における
10092 \begin_inset Flex Code
10093 status collapsed
10094
10095 \begin_layout Plain Layout
10096 secnumdepth
10097 \end_layout
10098
10099 \end_inset
10100
10101 カウンタに対応します.
10102 \end_layout
10103
10104 \begin_layout Description
10105 \begin_inset Flex Code
10106 status collapsed
10107
10108 \begin_layout Plain Layout
10109 Sides
10110 \end_layout
10111
10112 \end_inset
10113
10114  [
10115 \emph on
10116
10117 \begin_inset Flex Code
10118 status collapsed
10119
10120 \begin_layout Plain Layout
10121 1
10122 \end_layout
10123
10124 \end_inset
10125
10126
10127 \emph default
10128 ,
10129 \begin_inset space \thinspace{}
10130 \end_inset
10131
10132
10133 \begin_inset Flex Code
10134 status collapsed
10135
10136 \begin_layout Plain Layout
10137 2
10138 \end_layout
10139
10140 \end_inset
10141
10142 ] クラスの既定値として,
10143 用紙の片面に印字するか両面に印字するかを指定します.
10144 \begin_inset Flex MenuItem
10145 status collapsed
10146
10147 \begin_layout Plain Layout
10148 文書\SpecialChar menuseparator
10149 設定
10150 \end_layout
10151
10152 \end_inset
10153
10154 ダイアログで変更することができます.
10155 \end_layout
10156
10157 \begin_layout Description
10158 \begin_inset Flex Code
10159 status collapsed
10160
10161 \begin_layout Plain Layout
10162 Style
10163 \end_layout
10164
10165 \end_inset
10166
10167  [
10168 \begin_inset Flex Code
10169 status collapsed
10170
10171 \begin_layout Plain Layout
10172 <名称>
10173 \end_layout
10174
10175 \end_inset
10176
10177 ]
10178 \lang english
10179  
10180 \lang japanese
10181 この部分は段落様式を定義します.様式がまだ存在していなければ,
10182 生成されます.既に存在していれば,
10183 そのパラメータが修正されます.「
10184 \begin_inset Flex Code
10185 status collapsed
10186
10187 \begin_layout Plain Layout
10188 End
10189 \end_layout
10190
10191 \end_inset
10192
10193 」で閉じる必要があります.
10194 \begin_inset Newline newline
10195 \end_inset
10196
10197 段落様式に関する詳細は,
10198
10199 \begin_inset CommandInset ref
10200 LatexCommand ref
10201 reference "subsec:段落様式-XHTML"
10202 nolink "false"
10203
10204 \end_inset
10205
10206 をご覧ください.
10207 \end_layout
10208
10209 \begin_layout Description
10210 \begin_inset Flex Code
10211 status collapsed
10212
10213 \begin_layout Plain Layout
10214 TitleLatexName
10215 \end_layout
10216
10217 \end_inset
10218
10219  [
10220 \begin_inset Flex Code
10221 status collapsed
10222
10223 \begin_layout Plain Layout
10224 文字列="maketitle"
10225 \end_layout
10226
10227 \end_inset
10228
10229
10230 \begin_inset Flex Code
10231 status collapsed
10232
10233 \begin_layout Plain Layout
10234 TitleLatexType
10235 \end_layout
10236
10237 \end_inset
10238
10239 で使用すべきコマンド名あるいは環境名.The name of the command or environment to be used with 
10240 \begin_inset Flex Code
10241 status collapsed
10242
10243 \begin_layout Plain Layout
10244 TitleLatexType
10245 \end_layout
10246
10247 \end_inset
10248
10249 .
10250 \end_layout
10251
10252 \begin_layout Description
10253 \begin_inset Flex Code
10254 status collapsed
10255
10256 \begin_layout Plain Layout
10257 TitleLatexType
10258 \end_layout
10259
10260 \end_inset
10261
10262  [
10263 \begin_inset Flex Code
10264 status collapsed
10265
10266 \begin_layout Plain Layout
10267
10268 \emph on
10269 CommandAfter
10270 \end_layout
10271
10272 \end_inset
10273
10274 ,
10275  
10276 \begin_inset Flex Code
10277 status collapsed
10278
10279 \begin_layout Plain Layout
10280 Environment
10281 \end_layout
10282
10283 \end_inset
10284
10285 ] 文書のタイトルを定義するのに,
10286 どのようなマークアップを使用するのかを示します.
10287 \begin_inset Flex Code
10288 status collapsed
10289
10290 \begin_layout Plain Layout
10291 CommandAfter
10292 \end_layout
10293
10294 \end_inset
10295
10296 は,
10297
10298 \begin_inset Flex Code
10299 status collapsed
10300
10301 \begin_layout Plain Layout
10302 InTitle
10303 \begin_inset space ~
10304 \end_inset
10305
10306 1
10307 \end_layout
10308
10309 \end_inset
10310
10311 」が指定されている最後のレイアウトの後に,
10312
10313 \begin_inset Flex Code
10314 status collapsed
10315
10316 \begin_layout Plain Layout
10317 TitleLatexName
10318 \end_layout
10319
10320 \end_inset
10321
10322 で指定したマクロ名を挿入することを意味します.
10323 \begin_inset Flex Code
10324 status collapsed
10325
10326 \begin_layout Plain Layout
10327 Environment
10328 \end_layout
10329
10330 \end_inset
10331
10332 は,
10333
10334 \begin_inset Flex Code
10335 status collapsed
10336
10337 \begin_layout Plain Layout
10338 InTitle
10339 \begin_inset space ~
10340 \end_inset
10341
10342 1
10343 \end_layout
10344
10345 \end_inset
10346
10347 」を持つ段落群を
10348 \begin_inset Flex Code
10349 status collapsed
10350
10351 \begin_layout Plain Layout
10352 TitleLatexName
10353 \end_layout
10354
10355 \end_inset
10356
10357 で指定した環境でくるむ場合に対応します.
10358 \end_layout
10359
10360 \begin_layout Description
10361 \begin_inset Flex Code
10362 status collapsed
10363
10364 \begin_layout Plain Layout
10365 TocDepth
10366 \end_layout
10367
10368 \end_inset
10369
10370  [
10371 \begin_inset Flex Code
10372 status collapsed
10373
10374 \begin_layout Plain Layout
10375 int=3
10376 \end_layout
10377
10378 \end_inset
10379
10380 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
10381
10382 \begin_inset Flex Code
10383 status collapsed
10384
10385 \begin_layout Plain Layout
10386 tocdepth
10387 \end_layout
10388
10389 \end_inset
10390
10391 カウンタに対応します.
10392 \end_layout
10393
10394 \begin_layout Subsection
10395 \begin_inset Flex Code
10396 status collapsed
10397
10398 \begin_layout Plain Layout
10399 ClassOptions
10400 \end_layout
10401
10402 \end_inset
10403
10404
10405 \begin_inset CommandInset label
10406 LatexCommand label
10407 name "subsec:ClassOptions"
10408
10409 \end_inset
10410
10411
10412 \end_layout
10413
10414 \begin_layout Standard
10415 \begin_inset Flex Code
10416 status collapsed
10417
10418 \begin_layout Plain Layout
10419 ClassOptions
10420 \end_layout
10421
10422 \end_inset
10423
10424 部は,
10425 以下の項目を取り得ます.
10426 \end_layout
10427
10428 \begin_layout Description
10429 \begin_inset Flex Code
10430 status collapsed
10431
10432 \begin_layout Plain Layout
10433 FontSize
10434 \end_layout
10435
10436 \end_inset
10437
10438  [
10439 \begin_inset Flex Code
10440 status collapsed
10441
10442 \begin_layout Plain Layout
10443 文字列="10|11|12"
10444 \end_layout
10445
10446 \end_inset
10447
10448 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
10449 \begin_inset Flex Code
10450 status collapsed
10451
10452 \begin_layout Plain Layout
10453 |
10454 \end_layout
10455
10456 \end_inset
10457
10458 」で区切ります.
10459 \end_layout
10460
10461 \begin_layout Description
10462 \begin_inset Flex Code
10463 status collapsed
10464
10465 \begin_layout Plain Layout
10466 Header
10467 \end_layout
10468
10469 \end_inset
10470
10471  XMLベースの出力クラスで,
10472 DTD行を設定するのに使用されます.例:
10473 PUBLIC 
10474 \begin_inset Quotes eld
10475 \end_inset
10476
10477 -//OASIS//DTD DocBook V4.2//EN
10478 \begin_inset Quotes erd
10479 \end_inset
10480
10481
10482 \end_layout
10483
10484 \begin_layout Description
10485 \begin_inset Flex Code
10486 status collapsed
10487
10488 \begin_layout Plain Layout
10489 PageStyle
10490 \end_layout
10491
10492 \end_inset
10493
10494  [
10495 \begin_inset Flex Code
10496 status collapsed
10497
10498 \begin_layout Plain Layout
10499 文字列="empty|plain|headings|fancy"
10500 \end_layout
10501
10502 \end_inset
10503
10504 ] 使用できるページ様式の一覧です.「
10505 \begin_inset Flex Code
10506 status collapsed
10507
10508 \begin_layout Plain Layout
10509 |
10510 \end_layout
10511
10512 \end_inset
10513
10514 」で区切ります.
10515 \end_layout
10516
10517 \begin_layout Description
10518 \begin_inset Flex Code
10519 status collapsed
10520
10521 \begin_layout Plain Layout
10522 Other
10523 \end_layout
10524
10525 \end_inset
10526
10527  [
10528 \begin_inset Flex Code
10529 status collapsed
10530
10531 \begin_layout Plain Layout
10532 文字列=""
10533 \end_layout
10534
10535 \end_inset
10536
10537
10538 \begin_inset Flex Code
10539 status collapsed
10540
10541 \begin_layout Plain Layout
10542
10543 \backslash
10544 documentclass
10545 \end_layout
10546
10547 \end_inset
10548
10549 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
10550 \end_layout
10551
10552 \begin_layout Standard
10553 \begin_inset Flex Code
10554 status collapsed
10555
10556 \begin_layout Plain Layout
10557 ClassOptions
10558 \end_layout
10559
10560 \end_inset
10561
10562 部は「
10563 \begin_inset Flex Code
10564 status collapsed
10565
10566 \begin_layout Plain Layout
10567 End
10568 \end_layout
10569
10570 \end_inset
10571
10572 」で閉じる必要があります.
10573 \end_layout
10574
10575 \begin_layout Subsection
10576 段落様式
10577 \begin_inset CommandInset label
10578 LatexCommand label
10579 name "subsec:段落様式"
10580
10581 \end_inset
10582
10583
10584 \end_layout
10585
10586 \begin_layout Standard
10587 段落様式の記述は,
10588 以下のようになります
10589 \begin_inset Foot
10590 status collapsed
10591
10592 \begin_layout Plain Layout
10593 これは新しいレイアウトを定義するか,
10594 既存のレイアウトを修正することになることに注意してください.
10595 \end_layout
10596
10597 \end_inset
10598
10599
10600 \end_layout
10601
10602 \begin_layout LyX-Code
10603 Style 
10604 \family roman
10605 \emph on
10606 名称
10607 \end_layout
10608
10609 \begin_layout LyX-Code
10610  ...
10611 \end_layout
10612
10613 \begin_layout LyX-Code
10614 End
10615 \end_layout
10616
10617 \begin_layout Standard
10618 ここでは,
10619 以下のコマンドを使用することができます.
10620 \end_layout
10621
10622 \begin_layout Description
10623 \begin_inset Flex Code
10624 status collapsed
10625
10626 \begin_layout Plain Layout
10627 AddToToc
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 \end_layout
10639
10640 \end_inset
10641
10642 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧ください.既定値:
10643 無効.
10644 \end_layout
10645
10646 \begin_layout Description
10647 \begin_inset Flex Code
10648 status collapsed
10649
10650 \begin_layout Plain Layout
10651 Align
10652 \end_layout
10653
10654 \end_inset
10655
10656  [
10657 \begin_inset Flex Code
10658 status collapsed
10659
10660 \begin_layout Plain Layout
10661
10662 \emph on
10663 block
10664 \emph default
10665 ,
10666  left,
10667  right,
10668  center
10669 \end_layout
10670
10671 \end_inset
10672
10673 ] 段落の揃え.
10674 \end_layout
10675
10676 \begin_layout Description
10677 \begin_inset Flex Code
10678 status collapsed
10679
10680 \begin_layout Plain Layout
10681 AlignPossible
10682 \end_layout
10683
10684 \end_inset
10685
10686  [
10687 \begin_inset Flex Code
10688 status collapsed
10689
10690 \begin_layout Plain Layout
10691
10692 \emph on
10693 block
10694 \emph default
10695 ,
10696  left,
10697  right,
10698  center
10699 \end_layout
10700
10701 \end_inset
10702
10703 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
10704 スタイルには,
10705 意味を成さない一部の揃えが禁じられているものがあります.たとえば,
10706 連番箇条書きを右揃えや中央揃えにすることはできません).
10707 \end_layout
10708
10709 \begin_layout Description
10710 \begin_inset Flex Code
10711 status collapsed
10712
10713 \begin_layout Plain Layout
10714 Argument
10715 \end_layout
10716
10717 \end_inset
10718
10719  [
10720 \begin_inset Flex Code
10721 status collapsed
10722
10723 \begin_layout Plain Layout
10724 整数
10725 \end_layout
10726
10727 \end_inset
10728
10729 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.これは,
10730 節見出しのようなものに便利で,
10731 また\SpecialChar LaTeX
10732 でのみ意味を持ちます.コマンドまたは環境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,
10733 必須・非必須を問わず–,
10734 別の場所で定義され,
10735 引数番号はその順序を表します.定義は
10736 \begin_inset Flex Code
10737 status collapsed
10738
10739 \begin_layout Plain Layout
10740 EndArgument
10741 \end_layout
10742
10743 \end_inset
10744
10745 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,
10746 以下のようになります.
10747 \end_layout
10748
10749 \begin_deeper
10750 \begin_layout Quote
10751
10752 \family typewriter
10753 Argument 1
10754 \end_layout
10755
10756 \begin_layout Quote
10757
10758 \family typewriter
10759 ...
10760 \end_layout
10761
10762 \begin_layout Quote
10763
10764 \family typewriter
10765 EndArgument
10766 \end_layout
10767
10768 \begin_layout Quote
10769
10770 \family typewriter
10771 Argument 2
10772 \end_layout
10773
10774 \begin_layout Quote
10775
10776 \family typewriter
10777 ...
10778 \end_layout
10779
10780 \begin_layout Quote
10781
10782 \family typewriter
10783 EndArgument
10784 \end_layout
10785
10786 \begin_layout Standard
10787 \begin_inset Flex Code
10788 status collapsed
10789
10790 \begin_layout Plain Layout
10791 Argument
10792 \end_layout
10793
10794 \end_inset
10795
10796 定義内部では,
10797 以下の指定をすることができます.
10798 \end_layout
10799
10800 \begin_layout Itemize
10801 \begin_inset Flex Code
10802 status collapsed
10803
10804 \begin_layout Plain Layout
10805 LabelString
10806 \end_layout
10807
10808 \end_inset
10809
10810  
10811 \begin_inset Flex Code
10812 status collapsed
10813
10814 \begin_layout Plain Layout
10815 [文字列]
10816 \end_layout
10817
10818 \end_inset
10819
10820  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
10821 \begin_inset Flex Code
10822 status collapsed
10823
10824 \begin_layout Plain Layout
10825 MenuString
10826 \end_layout
10827
10828 \end_inset
10829
10830 を指定した場合を除く).メニューには,
10831 後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
10832 \begin_inset space \space{}
10833 \end_inset
10834
10835
10836 \begin_inset Quotes eld
10837 \end_inset
10838
10839
10840 \begin_inset Flex Code
10841 status collapsed
10842
10843 \begin_layout Plain Layout
10844 Short Title|S
10845 \end_layout
10846
10847 \end_inset
10848
10849
10850 \begin_inset Quotes erd
10851 \end_inset
10852
10853 ).
10854 \end_layout
10855
10856 \begin_layout Itemize
10857 \begin_inset Flex Code
10858 status collapsed
10859
10860 \begin_layout Plain Layout
10861 MenuString
10862 \end_layout
10863
10864 \end_inset
10865
10866  
10867 \begin_inset Flex Code
10868 status collapsed
10869
10870 \begin_layout Plain Layout
10871 [文字列]
10872 \end_layout
10873
10874 \end_inset
10875
10876  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
10877 \begin_inset space \space{}
10878 \end_inset
10879
10880
10881 \begin_inset Quotes eld
10882 \end_inset
10883
10884
10885 \begin_inset Flex Code
10886 status collapsed
10887
10888 \begin_layout Plain Layout
10889 Short Title|S
10890 \end_layout
10891
10892 \end_inset
10893
10894
10895 \begin_inset Quotes erd
10896 \end_inset
10897
10898 ).この指定は必須ではありません.指定しない場合には,
10899 代わりに
10900 \begin_inset Flex Code
10901 status collapsed
10902
10903 \begin_layout Plain Layout
10904 LabelString
10905 \end_layout
10906
10907 \end_inset
10908
10909 がメニューに用いられます.
10910 \end_layout
10911
10912 \begin_layout Itemize
10913 \begin_inset Flex Code
10914 status collapsed
10915
10916 \begin_layout Plain Layout
10917 Tooltip
10918 \end_layout
10919
10920 \end_inset
10921
10922  
10923 \begin_inset Flex Code
10924 status collapsed
10925
10926 \begin_layout Plain Layout
10927 [文字列]
10928 \end_layout
10929
10930 \end_inset
10931
10932  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
10933 \end_layout
10934
10935 \begin_layout Itemize
10936 \begin_inset Flex Code
10937 status collapsed
10938
10939 \begin_layout Plain Layout
10940 Mandatory
10941 \end_layout
10942
10943 \end_inset
10944
10945  [
10946 \begin_inset Flex Code
10947 status collapsed
10948
10949 \begin_layout Plain Layout
10950
10951 \emph on
10952 0
10953 \end_layout
10954
10955 \end_inset
10956
10957 ,
10958 \begin_inset space \thinspace{}
10959 \end_inset
10960
10961
10962 \begin_inset Flex Code
10963 status collapsed
10964
10965 \begin_layout Plain Layout
10966 1
10967 \end_layout
10968
10969 \end_inset
10970
10971 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,
10972 与えられなければ空の出力を行いますが,
10973 非必須引数の場合はそもそも出力されません.既定では,
10974 必須引数は
10975 \begin_inset Flex Code
10976 status collapsed
10977
10978 \begin_layout Plain Layout
10979 {...}
10980 \end_layout
10981
10982 \end_inset
10983
10984 で区切られ,
10985 非必須引数は
10986 \begin_inset Flex Code
10987 status collapsed
10988
10989 \begin_layout Plain Layout
10990 [...]
10991 \end_layout
10992
10993 \end_inset
10994
10995 で区切られます.
10996 \end_layout
10997
10998 \begin_layout Itemize
10999 \begin_inset Flex Code
11000 status collapsed
11001
11002 \begin_layout Plain Layout
11003 Requires
11004 \end_layout
11005
11006 \end_inset
11007
11008  
11009 \begin_inset Flex Code
11010 status collapsed
11011
11012 \begin_layout Plain Layout
11013 [整数=0]
11014 \end_layout
11015
11016 \end_inset
11017
11018  この引数が出力されるとき,
11019 必要となる別の引数を(番号によって)指定します.例えば,
11020 \SpecialChar LaTeX
11021 コマンドでは,
11022
11023 \begin_inset Flex Code
11024 status collapsed
11025
11026 \begin_layout Plain Layout
11027
11028 \backslash
11029 command[][引数]{文字列}
11030 \end_layout
11031
11032 \end_inset
11033
11034 のように,
11035 前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
11036
11037 \begin_inset Flex Code
11038 status collapsed
11039
11040 \begin_layout Plain Layout
11041 Argument 2
11042 \end_layout
11043
11044 \end_inset
11045
11046 中に
11047 \begin_inset Flex Code
11048 status collapsed
11049
11050 \begin_layout Plain Layout
11051 Requires 1
11052 \end_layout
11053
11054 \end_inset
11055
11056 ステートメントを置くことで実現できます.
11057 \end_layout
11058
11059 \begin_layout Itemize
11060 \begin_inset Flex Code
11061 status collapsed
11062
11063 \begin_layout Plain Layout
11064 LeftDelim
11065 \end_layout
11066
11067 \end_inset
11068
11069  
11070 \begin_inset Flex Code
11071 status collapsed
11072
11073 \begin_layout Plain Layout
11074 [文字列]
11075 \end_layout
11076
11077 \end_inset
11078
11079  (
11080 \begin_inset Flex Code
11081 status collapsed
11082
11083 \begin_layout Plain Layout
11084 {
11085 \end_layout
11086
11087 \end_inset
11088
11089
11090 \begin_inset Flex Code
11091 status collapsed
11092
11093 \begin_layout Plain Layout
11094 [
11095 \end_layout
11096
11097 \end_inset
11098
11099 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
11100 \begin_inset Flex Code
11101 status collapsed
11102
11103 \begin_layout Plain Layout
11104 <br/>
11105 \end_layout
11106
11107 \end_inset
11108
11109 で指示できます.
11110 \end_layout
11111
11112 \begin_layout Itemize
11113 \begin_inset Flex Code
11114 status collapsed
11115
11116 \begin_layout Plain Layout
11117 RightDelim
11118 \end_layout
11119
11120 \end_inset
11121
11122  
11123 \begin_inset Flex Code
11124 status collapsed
11125
11126 \begin_layout Plain Layout
11127 [文字列]
11128 \end_layout
11129
11130 \end_inset
11131
11132  (
11133 \begin_inset Flex Code
11134 status collapsed
11135
11136 \begin_layout Plain Layout
11137 }
11138 \end_layout
11139
11140 \end_inset
11141
11142
11143 \begin_inset Flex Code
11144 status collapsed
11145
11146 \begin_layout Plain Layout
11147 ]
11148 \end_layout
11149
11150 \end_inset
11151
11152 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
11153 \begin_inset Flex Code
11154 status collapsed
11155
11156 \begin_layout Plain Layout
11157 <br/>
11158 \end_layout
11159
11160 \end_inset
11161
11162 で指示できます.
11163 \end_layout
11164
11165 \begin_layout Itemize
11166 \begin_inset Flex Code
11167 status collapsed
11168
11169 \begin_layout Plain Layout
11170 DefaultArg
11171 \end_layout
11172
11173 \end_inset
11174
11175  
11176 \begin_inset Flex Code
11177 status collapsed
11178
11179 \begin_layout Plain Layout
11180 [文字列]
11181 \end_layout
11182
11183 \end_inset
11184
11185  ユーザー指定引数が与えられなかったとき,
11186 すなわち引数差込枠が挿入されなかったときに限り,
11187 挿入される引数を定義します(空の引数差込枠が挿入されてもDefaultArgは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
11188 \end_layout
11189
11190 \begin_layout Itemize
11191 \begin_inset Flex Code
11192 status collapsed
11193
11194 \begin_layout Plain Layout
11195 PresetArg
11196 \end_layout
11197
11198 \end_inset
11199
11200  
11201 \begin_inset Flex Code
11202 status collapsed
11203
11204 \begin_layout Plain Layout
11205 [文字列]
11206 \end_layout
11207
11208 \end_inset
11209
11210  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
11211 \end_layout
11212
11213 \begin_layout Itemize
11214 \begin_inset Flex Code
11215 status collapsed
11216
11217 \begin_layout Plain Layout
11218 Font
11219 \end_layout
11220
11221 \end_inset
11222
11223  引数の内容に用いられるフォント.
11224 \begin_inset CommandInset ref
11225 LatexCommand ref
11226 reference "subsec:フォント指定"
11227 nolink "false"
11228
11229 \end_inset
11230
11231 参照.
11232 \end_layout
11233
11234 \begin_layout Itemize
11235 \begin_inset Flex Code
11236 status collapsed
11237
11238 \begin_layout Plain Layout
11239 LabelFont
11240 \end_layout
11241
11242 \end_inset
11243
11244  ラベルに用いられるフォント.
11245 \begin_inset CommandInset ref
11246 LatexCommand ref
11247 reference "subsec:フォント指定"
11248 nolink "false"
11249
11250 \end_inset
11251
11252 参照.
11253 \end_layout
11254
11255 \begin_layout Itemize
11256 \begin_inset Flex Code
11257 status collapsed
11258
11259 \begin_layout Plain Layout
11260 Decoration
11261 \end_layout
11262
11263 \end_inset
11264
11265  [
11266 \begin_inset Flex Code
11267 status collapsed
11268
11269 \begin_layout Plain Layout
11270
11271 \emph on
11272 Classic
11273 \emph default
11274 ,
11275  Minimalistic,
11276  Conglomerate
11277 \end_layout
11278
11279 \end_inset
11280
11281 ] 差込枠の枠とボタンに用いられる装飾様式.
11282 \end_layout
11283
11284 \begin_layout Itemize
11285 \begin_inset Flex Code
11286 status collapsed
11287
11288 \begin_layout Plain Layout
11289 AutoInsert
11290 \end_layout
11291
11292 \end_inset
11293
11294  
11295 \begin_inset Flex Code
11296 status collapsed
11297
11298 \begin_layout Plain Layout
11299 [整数=0]
11300 \end_layout
11301
11302 \end_inset
11303
11304  これが
11305 \begin_inset Flex Code
11306 status collapsed
11307
11308 \begin_layout Plain Layout
11309 1
11310 \end_layout
11311
11312 \end_inset
11313
11314 に設定されると,
11315 各様式が選択されたときに,
11316 この引数が自動的に挿入されます.現在のところ,
11317 様式・レイアウト毎に1変数のみ自動挿入することができます.
11318 \end_layout
11319
11320 \begin_layout Itemize
11321 \begin_inset Flex Code
11322 status collapsed
11323
11324 \begin_layout Plain Layout
11325 InsertCotext
11326 \end_layout
11327
11328 \end_inset
11329
11330  
11331 \begin_inset Flex Code
11332 status collapsed
11333
11334 \begin_layout Plain Layout
11335 [整数=0]
11336 \end_layout
11337
11338 \end_inset
11339
11340  これが
11341 \begin_inset Flex Code
11342 status collapsed
11343
11344 \begin_layout Plain Layout
11345 1
11346 \end_layout
11347
11348 \end_inset
11349
11350 に設定されると,
11351 この引数は,
11352 副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
11353 \end_layout
11354
11355 \begin_layout Itemize
11356 \begin_inset Flex Code
11357 status collapsed
11358
11359 \begin_layout Plain Layout
11360 PassThru
11361 \end_layout
11362
11363 \end_inset
11364
11365  [
11366 \begin_inset Flex Code
11367 status collapsed
11368
11369 \begin_layout Plain Layout
11370
11371 \emph on
11372 inherited
11373 \emph default
11374 ,
11375  true,
11376  false
11377 \end_layout
11378
11379 \end_inset
11380
11381 ] この引数の内容が,
11382 \SpecialChar LaTeX
11383 が要求する特別な書き換えを行うことなく,
11384 原文のまま出力されるべきかどうかを指定します.既定値では,
11385
11386 \begin_inset Flex Code
11387 status collapsed
11388
11389 \begin_layout Plain Layout
11390 PassThru
11391 \end_layout
11392
11393 \end_inset
11394
11395 の状態は,
11396 引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,
11397 この引数のみの状態を変更します.
11398 \end_layout
11399
11400 \begin_layout Itemize
11401 \begin_inset Flex Code
11402 status collapsed
11403
11404 \begin_layout Plain Layout
11405 PassThruChars
11406 \end_layout
11407
11408 \end_inset
11409
11410  [
11411 \begin_inset Flex Code
11412 status collapsed
11413
11414 \begin_layout Plain Layout
11415 文字列
11416 \end_layout
11417
11418 \end_inset
11419
11420 ]
11421 \family typewriter
11422  
11423 \family default
11424 \SpecialChar LaTeX
11425 が要求する特別な翻訳は抜きにして,
11426 生の形で出力されるべき各文字を定義します.PassThruとは違って,
11427 引数用に,
11428 これは明示的に定義されなくてはなりません.つまり,
11429 引数は,
11430 親差込枠や親レイアウトからPassThruCharsを継承しません.
11431 \end_layout
11432
11433 \begin_layout Itemize
11434 \begin_inset Flex Code
11435 status collapsed
11436
11437 \begin_layout Plain Layout
11438 IsTocCaption
11439 \end_layout
11440
11441 \end_inset
11442
11443  [
11444 \begin_inset Flex Code
11445 status collapsed
11446
11447 \begin_layout Plain Layout
11448
11449 \emph on
11450 0
11451 \end_layout
11452
11453 \end_inset
11454
11455 ,
11456 \begin_inset space \thinspace{}
11457 \end_inset
11458
11459
11460 \begin_inset Flex Code
11461 status collapsed
11462
11463 \begin_layout Plain Layout
11464 1
11465 \end_layout
11466
11467 \end_inset
11468
11469 ] これを1に設定すると,
11470 引数は,
11471 その内容を対応する一覧表の項目に出力します.AddToTocを参照.
11472 \end_layout
11473
11474 \begin_layout Standard
11475 既定では,
11476
11477 \begin_inset Flex Code
11478 status collapsed
11479
11480 \begin_layout Plain Layout
11481 LatexType
11482 \end_layout
11483
11484 \end_inset
11485
11486
11487 \begin_inset Flex Code
11488 status collapsed
11489
11490 \begin_layout Plain Layout
11491 Command
11492 \end_layout
11493
11494 \end_inset
11495
11496 のとき,
11497 各レイアウトで\SpecialChar LyX
11498 作業領域に入力した文字列は,
11499 コマンドの最後の(必須)引数になります.しかしながら,
11500 前置句
11501 \begin_inset Flex Code
11502 status collapsed
11503
11504 \begin_layout Plain Layout
11505 post:
11506 \end_layout
11507
11508 \end_inset
11509
11510 を付けた文字列は,
11511 この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,
11512 作業領域引数の後の最初の引数は
11513 \begin_inset Flex Code
11514 status collapsed
11515
11516 \begin_layout Plain Layout
11517 post:1
11518 \end_layout
11519
11520 \end_inset
11521
11522 となります.後置引数は,
11523
11524 \begin_inset Flex Code
11525 status collapsed
11526
11527 \begin_layout Plain Layout
11528 Command
11529 \end_layout
11530
11531 \end_inset
11532
11533 以外の
11534 \begin_inset Flex Code
11535 status collapsed
11536
11537 \begin_layout Plain Layout
11538 LatexType
11539 \end_layout
11540
11541 \end_inset
11542
11543 では無視されます.
11544 \end_layout
11545
11546 \begin_layout Standard
11547 (
11548 \begin_inset Flex Code
11549 status collapsed
11550
11551 \begin_layout Plain Layout
11552
11553 \backslash
11554 item[foo]
11555 \end_layout
11556
11557 \end_inset
11558
11559 のような)箇条書き
11560 \begin_inset Flex Code
11561 status collapsed
11562
11563 \begin_layout Plain Layout
11564
11565 \backslash
11566 item
11567 \end_layout
11568
11569 \end_inset
11570
11571 の引数は,
11572 前置句
11573 \begin_inset Flex Code
11574 status collapsed
11575
11576 \begin_layout Plain Layout
11577 item:
11578 \end_layout
11579
11580 \end_inset
11581
11582 の後に番号を付けます(例:
11583 \begin_inset Flex Code
11584 status collapsed
11585
11586 \begin_layout Plain Layout
11587 Argument item:1
11588 \end_layout
11589
11590 \end_inset
11591
11592 ).
11593 \end_layout
11594
11595 \end_deeper
11596 \begin_layout Description
11597
11598 \lang english
11599 \begin_inset Flex Code
11600 status collapsed
11601
11602 \begin_layout Plain Layout
11603
11604 \lang english
11605 AutoNests
11606 \end_layout
11607
11608 \end_inset
11609
11610  Includes a comma-separated list of layouts that should be nested in and after the current layout.
11611  Only makes sense for nestable layouts (such as environments).
11612  Must be ended by 
11613 \begin_inset Quotes eld
11614 \end_inset
11615
11616
11617 \begin_inset Flex Code
11618 status collapsed
11619
11620 \begin_layout Plain Layout
11621
11622 \lang english
11623 EndAutoNests
11624 \end_layout
11625
11626 \end_inset
11627
11628
11629 \begin_inset Quotes erd
11630 \end_inset
11631
11632 .
11633  See also 
11634 \begin_inset Flex Code
11635 status collapsed
11636
11637 \begin_layout Plain Layout
11638
11639 \lang english
11640 IsAutoNestedBy
11641 \end_layout
11642
11643 \end_inset
11644
11645 .
11646 \end_layout
11647
11648 \begin_layout Description
11649 \begin_inset Flex Code
11650 status collapsed
11651
11652 \begin_layout Plain Layout
11653 BabelPreamble
11654 \end_layout
11655
11656 \end_inset
11657
11658  これは,
11659 前に現れたこの様式の
11660 \begin_inset Flex Code
11661 status collapsed
11662
11663 \begin_layout Plain Layout
11664 BabelPreamble
11665 \end_layout
11666
11667 \end_inset
11668
11669 宣言をすべて,
11670 完全に上書きしますので注意してください.「
11671 \begin_inset Flex Code
11672 status collapsed
11673
11674 \begin_layout Plain Layout
11675 EndBabelPreamble
11676 \end_layout
11677
11678 \end_inset
11679
11680 」で閉じる必要があります.これの利用法についての詳細は,
11681
11682 \begin_inset CommandInset ref
11683 LatexCommand ref
11684 reference "subsec:段落様式の国際化"
11685 nolink "false"
11686
11687 \end_inset
11688
11689 節をご覧ください.
11690 \end_layout
11691
11692 \begin_layout Description
11693 \begin_inset Flex Code
11694 status collapsed
11695
11696 \begin_layout Plain Layout
11697 BottomSep
11698 \end_layout
11699
11700 \end_inset
11701
11702  [
11703 \begin_inset Flex Code
11704 status collapsed
11705
11706 \begin_layout Plain Layout
11707 浮動小数点型=0
11708 \end_layout
11709
11710 \end_inset
11711
11712 ]
11713 \begin_inset Foot
11714 status collapsed
11715
11716 \begin_layout Plain Layout
11717 ここで「浮動小数点型」とは1.5のような実数を指します.
11718 \end_layout
11719
11720 \end_inset
11721
11722  このレイアウト型の段落塊の最後の段落と,
11723 次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,
11724 分離幅は足し上げられるのではなく,
11725 最大値がとられます.
11726 \end_layout
11727
11728 \begin_layout Description
11729 \begin_inset Flex Code
11730 status collapsed
11731
11732 \begin_layout Plain Layout
11733 Category
11734 \end_layout
11735
11736 \end_inset
11737
11738  [
11739 \begin_inset Flex Code
11740 status collapsed
11741
11742 \begin_layout Plain Layout
11743 文字列
11744 \end_layout
11745
11746 \end_inset
11747
11748 ] この様式のカテゴリです.これは,
11749 ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが,
11750 作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
11751 \end_layout
11752
11753 \begin_layout Description
11754 \begin_inset Flex Code
11755 status collapsed
11756
11757 \begin_layout Plain Layout
11758 CommandDepth
11759 \end_layout
11760
11761 \end_inset
11762
11763  XMLコマンドの深度.XML型の書式でのみ使用されます.
11764 \end_layout
11765
11766 \begin_layout Description
11767 \begin_inset Flex Code
11768 status collapsed
11769
11770 \begin_layout Plain Layout
11771 CopyStyle
11772 \end_layout
11773
11774 \end_inset
11775
11776  [
11777 \begin_inset Flex Code
11778 status collapsed
11779
11780 \begin_layout Plain Layout
11781 文字列
11782 \end_layout
11783
11784 \end_inset
11785
11786 ] 既存の様式から,
11787 すべての機能を現在の様式にコピーします.
11788 \end_layout
11789
11790 \begin_layout Description
11791 \begin_inset Flex Code
11792 status collapsed
11793
11794 \begin_layout Plain Layout
11795 DependsOn
11796 \end_layout
11797
11798 \end_inset
11799
11800  [
11801 \begin_inset Flex Code
11802 status collapsed
11803
11804 \begin_layout Plain Layout
11805 <名称>
11806 \end_layout
11807
11808 \end_inset
11809
11810 ]
11811 \lang english
11812  
11813 \lang japanese
11814 この
11815 \emph on
11816 前に
11817 \emph default
11818 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,
11819 プリアンブルの断片の順序を確実にするためのものです
11820 \begin_inset Foot
11821 status collapsed
11822
11823 \begin_layout Plain Layout
11824 この機能以外には,
11825 プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
11826 の特定のバージョンで観察された順序は,
11827 将来のバージョンで警告なしに変わる可能性があります.
11828 \end_layout
11829
11830 \end_inset
11831
11832
11833 \end_layout
11834
11835 \begin_layout Description
11836 \begin_inset Flex Code
11837 status collapsed
11838
11839 \begin_layout Plain Layout
11840 EndLabelType
11841 \end_layout
11842
11843 \end_inset
11844
11845  [
11846 \begin_inset Flex Code
11847 status collapsed
11848
11849 \begin_layout Plain Layout
11850
11851 \emph on
11852 No_Label
11853 \emph default
11854 ,
11855  Box,
11856  Filled_Box,
11857  Static
11858 \end_layout
11859
11860 \end_inset
11861
11862 ] 段落の最後(あるいは
11863 \begin_inset Flex Code
11864 status collapsed
11865
11866 \begin_layout Plain Layout
11867 LatexType
11868 \end_layout
11869
11870 \end_inset
11871
11872 が,
11873
11874 \begin_inset Flex Code
11875 status collapsed
11876
11877 \begin_layout Plain Layout
11878 Environment
11879 \end_layout
11880
11881 \end_inset
11882
11883
11884 \begin_inset Flex Code
11885 status collapsed
11886
11887 \begin_layout Plain Layout
11888 Item_Environment
11889 \end_layout
11890
11891 \end_inset
11892
11893
11894 \begin_inset Flex Code
11895 status collapsed
11896
11897 \begin_layout Plain Layout
11898 List_Environment
11899 \end_layout
11900
11901 \end_inset
11902
11903 のいずれかの場合は,
11904 段落群の最後)に置くラベル.
11905 \begin_inset Flex Code
11906 status collapsed
11907
11908 \begin_layout Plain Layout
11909 No_Label
11910 \end_layout
11911
11912 \end_inset
11913
11914 の場合は「何もない」ことを指し,
11915
11916 \begin_inset Flex Code
11917 status collapsed
11918
11919 \begin_layout Plain Layout
11920 Box
11921 \end_layout
11922
11923 \end_inset
11924
11925 (あるいは
11926 \begin_inset Flex Code
11927 status collapsed
11928
11929 \begin_layout Plain Layout
11930 Filled_Box
11931 \end_layout
11932
11933 \end_inset
11934
11935 )の場合は,
11936 証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
11937
11938 \begin_inset Flex Code
11939 status collapsed
11940
11941 \begin_layout Plain Layout
11942 Static
11943 \end_layout
11944
11945 \end_inset
11946
11947 は明示したテキスト文字列を指します.
11948 \end_layout
11949
11950 \begin_layout Description
11951 \begin_inset Flex Code
11952 status collapsed
11953
11954 \begin_layout Plain Layout
11955 EndLabelString
11956 \end_layout
11957
11958 \end_inset
11959
11960  [
11961 \begin_inset Flex Code
11962 status collapsed
11963
11964 \begin_layout Plain Layout
11965 文字列=""
11966 \end_layout
11967
11968 \end_inset
11969
11970
11971 \begin_inset Flex Code
11972 status collapsed
11973
11974 \begin_layout Plain Layout
11975 Static
11976 \end_layout
11977
11978 \end_inset
11979
11980
11981 \begin_inset Flex Code
11982 status collapsed
11983
11984 \begin_layout Plain Layout
11985 EndLabelType
11986 \end_layout
11987
11988 \end_inset
11989
11990 のラベルで用いる文字列.
11991 \end_layout
11992
11993 \begin_layout Description
11994 \begin_inset Flex Code
11995 status collapsed
11996
11997 \begin_layout Plain Layout
11998 Font
11999 \end_layout
12000
12001 \end_inset
12002
12003  本文テキストとラベルの
12004 \emph on
12005 両方で
12006 \emph default
12007 用いられるフォント.第
12008 \begin_inset CommandInset ref
12009 LatexCommand ref
12010 reference "subsec:フォント指定"
12011 nolink "false"
12012
12013 \end_inset
12014
12015 節を参照.このフォントを定義すると,
12016 自動的に
12017 \begin_inset Flex Code
12018 status collapsed
12019
12020 \begin_layout Plain Layout
12021 LabelFont
12022 \end_layout
12023
12024 \end_inset
12025
12026 も同じ値で定義されることに注意してください.したがって,
12027
12028 \begin_inset Flex Code
12029 status collapsed
12030
12031 \begin_layout Plain Layout
12032 LabelFont
12033 \end_layout
12034
12035 \end_inset
12036
12037 も同時に定義したい場合には,
12038 これを先に定義してください.
12039 \end_layout
12040
12041 \begin_layout Description
12042 \begin_inset Flex Code
12043 status collapsed
12044
12045 \begin_layout Plain Layout
12046 ForceLocal
12047 \end_layout
12048
12049 \end_inset
12050
12051  [
12052 \begin_inset Flex Code
12053 status collapsed
12054
12055 \begin_layout Plain Layout
12056 int=0
12057 \end_layout
12058
12059 \end_inset
12060
12061 ] 新しい様式を\SpecialChar LyX
12062 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
12063  2.1.0です.引数は数字で,
12064 0・-1・1以上の任意の数をとることができます.様式の
12065 \begin_inset Flex Code
12066 status collapsed
12067
12068 \begin_layout Plain Layout
12069 ForceLocal
12070 \end_layout
12071
12072 \end_inset
12073
12074 フラグが1以上ならば,
12075 これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,
12076 文書ヘッダからの様式定義が文書クラスに追加されます.したがって,
12077 古い版の\SpecialChar LyX
12078 もこの様式を取り扱えるようになります.
12079 \begin_inset Flex Code
12080 status collapsed
12081
12082 \begin_layout Plain Layout
12083 ForceLocal
12084 \end_layout
12085
12086 \end_inset
12087
12088 の引数は版数です.様式が読み込まれたときに,
12089 文書クラス中の既存の様式の版数よりも小さいと,
12090 新しい様式は無視されます.版数が大きいと,
12091 既存の様式に代わって新しい様式が用いられます.値-1は無限大の版数を意味し,
12092 この様式が常に用いられることになります.
12093 \end_layout
12094
12095 \begin_layout Description
12096 \begin_inset Flex Code
12097 status collapsed
12098
12099 \begin_layout Plain Layout
12100 FreeSpacing
12101 \end_layout
12102
12103 \end_inset
12104
12105  [
12106 \emph on
12107
12108 \begin_inset Flex Code
12109 status collapsed
12110
12111 \begin_layout Plain Layout
12112 0
12113 \end_layout
12114
12115 \end_inset
12116
12117
12118 \emph default
12119 ,
12120 \begin_inset space \thinspace{}
12121 \end_inset
12122
12123
12124 \begin_inset Flex Code
12125 status collapsed
12126
12127 \begin_layout Plain Layout
12128 1
12129 \end_layout
12130
12131 \end_inset
12132
12133 ] \SpecialChar LyX
12134 は,
12135 空白をそれ自体文字や記号ではなく,
12136 2つの単語の間の分割子として捉えているため,
12137 単語間に2つ以上の空白を入れることは,
12138 通常許可していません.これ自体はとても素晴らしいことですが,
12139 たとえばプログラムコードや生の\SpecialChar LaTeX
12140 コードを入力しようとするときなどに,
12141 煩わしくなることがあります.このことから,
12142
12143 \begin_inset Flex Code
12144 status collapsed
12145
12146 \begin_layout Plain Layout
12147 FreeSpacing
12148 \end_layout
12149
12150 \end_inset
12151
12152 を有効にすることが認められています.\SpecialChar LyX
12153 は,
12154 \SpecialChar LaTeX
12155 モード以外では2つめ以降の空白には,
12156 保護された空白を使用することに注意してください.
12157 \end_layout
12158
12159 \begin_layout Description
12160 \begin_inset Flex Code
12161 status collapsed
12162
12163 \begin_layout Plain Layout
12164 HTML*
12165 \end_layout
12166
12167 \end_inset
12168
12169  これらのタグは,
12170 XHTML出力で使用されます.第
12171 \begin_inset CommandInset ref
12172 LatexCommand ref
12173 reference "subsec:段落様式-XHTML"
12174 nolink "false"
12175
12176 \end_inset
12177
12178 節をご覧ください.
12179 \end_layout
12180
12181 \begin_layout Description
12182 \begin_inset Flex Code
12183 status collapsed
12184
12185 \begin_layout Plain Layout
12186 InnerTag
12187 \end_layout
12188
12189 \end_inset
12190
12191  [[FIXME]] (XML型書式でのみ使用されます.)
12192 \end_layout
12193
12194 \begin_layout Description
12195 \begin_inset Flex Code
12196 status collapsed
12197
12198 \begin_layout Plain Layout
12199 InPreamble
12200 \end_layout
12201
12202 \end_inset
12203
12204  [
12205 \emph on
12206
12207 \begin_inset Flex Code
12208 status collapsed
12209
12210 \begin_layout Plain Layout
12211 0
12212 \end_layout
12213
12214 \end_inset
12215
12216
12217 \emph default
12218 ,
12219 \begin_inset space \thinspace{}
12220 \end_inset
12221
12222
12223 \begin_inset Flex Code
12224 status collapsed
12225
12226 \begin_layout Plain Layout
12227 1
12228 \end_layout
12229
12230 \end_inset
12231
12232
12233 \begin_inset Flex Code
12234 status collapsed
12235
12236 \begin_layout Plain Layout
12237 1
12238 \end_layout
12239
12240 \end_inset
12241
12242 の場合,
12243 様式が文書本体ではなく,
12244 文書プリアンブルにインクルードされるようにします.これは,
12245 タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利です.これは,
12246
12247 \begin_inset Flex Code
12248 status collapsed
12249
12250 \begin_layout Plain Layout
12251 LatexType
12252 \end_layout
12253
12254 \end_inset
12255
12256
12257 \begin_inset Flex Code
12258 status collapsed
12259
12260 \begin_layout Plain Layout
12261 Command
12262 \end_layout
12263
12264 \end_inset
12265
12266 または
12267 \begin_inset Flex Code
12268 status collapsed
12269
12270 \begin_layout Plain Layout
12271 Paragraph
12272 \end_layout
12273
12274 \end_inset
12275
12276 の様式に対してのみ動作します.
12277 \end_layout
12278
12279 \begin_layout Description
12280 \begin_inset Flex Code
12281 status collapsed
12282
12283 \begin_layout Plain Layout
12284 InTitle
12285 \end_layout
12286
12287 \end_inset
12288
12289  [
12290 \emph on
12291
12292 \begin_inset Flex Code
12293 status collapsed
12294
12295 \begin_layout Plain Layout
12296 0
12297 \end_layout
12298
12299 \end_inset
12300
12301
12302 \emph default
12303 ,
12304 \begin_inset space \thinspace{}
12305 \end_inset
12306
12307
12308 \begin_inset Flex Code
12309 status collapsed
12310
12311 \begin_layout Plain Layout
12312 1
12313 \end_layout
12314
12315 \end_inset
12316
12317
12318 \begin_inset Flex Code
12319 status collapsed
12320
12321 \begin_layout Plain Layout
12322 1
12323 \end_layout
12324
12325 \end_inset
12326
12327 の場合,
12328 このレイアウトをタイトルブロックの一部としてマークします(大域項目の
12329 \begin_inset Flex Code
12330 status collapsed
12331
12332 \begin_layout Plain Layout
12333 TitleLatexType
12334 \end_layout
12335
12336 \end_inset
12337
12338
12339 \begin_inset Flex Code
12340 status collapsed
12341
12342 \begin_layout Plain Layout
12343 TitleLatexName
12344 \end_layout
12345
12346 \end_inset
12347
12348 も参照).
12349 \end_layout
12350
12351 \begin_layout Description
12352
12353 \lang english
12354 \begin_inset Flex Code
12355 status collapsed
12356
12357 \begin_layout Plain Layout
12358
12359 \lang english
12360 IsAutoNestedBy
12361 \end_layout
12362
12363 \end_inset
12364
12365  Includes a comma-separated list of layouts after which this one should be nested.
12366  Only makes sense with regard to nestable layouts (such as environments).
12367  Must be ended by 
12368 \begin_inset Quotes eld
12369 \end_inset
12370
12371
12372 \begin_inset Flex Code
12373 status collapsed
12374
12375 \begin_layout Plain Layout
12376
12377 \lang english
12378 EndIsAutoNestedBy
12379 \end_layout
12380
12381 \end_inset
12382
12383
12384 \begin_inset Quotes erd
12385 \end_inset
12386
12387 .
12388  See also 
12389 \begin_inset Flex Code
12390 status collapsed
12391
12392 \begin_layout Plain Layout
12393
12394 \lang english
12395 AutoNests
12396 \end_layout
12397
12398 \end_inset
12399
12400 .
12401 \end_layout
12402
12403 \begin_layout Description
12404 \begin_inset Flex Code
12405 status collapsed
12406
12407 \begin_layout Plain Layout
12408 IsTocCaption
12409 \end_layout
12410
12411 \end_inset
12412
12413  [
12414 \begin_inset Flex Code
12415 status collapsed
12416
12417 \begin_layout Plain Layout
12418
12419 \emph on
12420 0
12421 \end_layout
12422
12423 \end_inset
12424
12425 ,
12426 \begin_inset space \thinspace{}
12427 \end_inset
12428
12429
12430 \begin_inset Flex Code
12431 status collapsed
12432
12433 \begin_layout Plain Layout
12434 1
12435 \end_layout
12436
12437 \end_inset
12438
12439 ] これを1に設定すると,
12440 AddToTocが有効になり,
12441 段落は,
12442 その内容の要約を一覧表の項目に表示します.0に設定すると,
12443 ラベルが存在すれば,
12444 それのみが表示されます.
12445 \end_layout
12446
12447 \begin_layout Description
12448 \begin_inset Flex Code
12449 status collapsed
12450
12451 \begin_layout Plain Layout
12452 ItemCommand
12453 \end_layout
12454
12455 \end_inset
12456
12457  [
12458 \begin_inset Flex Code
12459 status collapsed
12460
12461 \begin_layout Plain Layout
12462 文字列="item"
12463 \end_layout
12464
12465 \end_inset
12466
12467 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
12468 コマンド.コマンドは,
12469 前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,
12470 \SpecialChar LaTeX
12471 出力中では
12472 \begin_inset Flex Code
12473 status collapsed
12474
12475 \begin_layout Plain Layout
12476
12477 \backslash
12478 item
12479 \end_layout
12480
12481 \end_inset
12482
12483 となります).
12484 \end_layout
12485
12486 \begin_layout Description
12487 \begin_inset Flex Code
12488 status collapsed
12489
12490 \begin_layout Plain Layout
12491 ItemSep
12492 \end_layout
12493
12494 \end_inset
12495
12496  [
12497 \begin_inset Flex Code
12498 status collapsed
12499
12500 \begin_layout Plain Layout
12501 浮動小数点型=0
12502 \end_layout
12503
12504 \end_inset
12505
12506 ] これは,
12507 同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,
12508 それぞれのレイアウトは,
12509 その環境の
12510 \begin_inset Flex Code
12511 status collapsed
12512
12513 \begin_layout Plain Layout
12514 ParSep
12515 \end_layout
12516
12517 \end_inset
12518
12519 だけ分離されます.しかし,
12520 その環境の項目全体は,
12521 さらにこの
12522 \begin_inset Flex Code
12523 status collapsed
12524
12525 \begin_layout Plain Layout
12526 ItemSep
12527 \end_layout
12528
12529 \end_inset
12530
12531 分だけ離されます.これは
12532 \emph on
12533 乗数
12534 \emph default
12535 であることに注意してください.
12536 \end_layout
12537
12538 \begin_layout Description
12539 \begin_inset Flex Code
12540 status collapsed
12541
12542 \begin_layout Plain Layout
12543 ItemTag
12544 \end_layout
12545
12546 \end_inset
12547
12548  [[FIXME]] (XML型書式でのみ使用されます.)
12549 \end_layout
12550
12551 \begin_layout Description
12552 \begin_inset Flex Code
12553 status collapsed
12554
12555 \begin_layout Plain Layout
12556 KeepEmpty
12557 \end_layout
12558
12559 \end_inset
12560
12561  [
12562 \emph on
12563
12564 \begin_inset Flex Code
12565 status collapsed
12566
12567 \begin_layout Plain Layout
12568 0
12569 \end_layout
12570
12571 \end_inset
12572
12573
12574 \emph default
12575 ,
12576 \begin_inset space \thinspace{}
12577 \end_inset
12578
12579
12580 \begin_inset Flex Code
12581 status collapsed
12582
12583 \begin_layout Plain Layout
12584 1
12585 \end_layout
12586
12587 \end_inset
12588
12589 ] 段落を空のままにすると,
12590 \SpecialChar LaTeX
12591 出力が空になってしまうので,
12592 通常,
12593 \SpecialChar LyX
12594 は段落を空にすることを許可しません.しかしながら,
12595 これを無効にすることが望ましい場合が存在します.たとえば,
12596 書簡のひな型では,
12597 必須フィールドを人々が忘れないように,
12598 空のフィールドのまま提供する手もあります.特別なクラスにおいては,
12599 レイアウトを実際には文章を含まないある種の改行として使用することもあります.
12600 \end_layout
12601
12602 \begin_layout Description
12603 \begin_inset Flex Code
12604 status collapsed
12605
12606 \begin_layout Plain Layout
12607 LabelBottomsep
12608 \end_layout
12609
12610 \end_inset
12611
12612  [
12613 \begin_inset Flex Code
12614 status collapsed
12615
12616 \begin_layout Plain Layout
12617 浮動小数点型=0
12618 \end_layout
12619
12620 \end_inset
12621
12622 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
12623 \begin_inset Flex Code
12624 status collapsed
12625
12626 \begin_layout Plain Layout
12627 Top_Environment
12628 \end_layout
12629
12630 \end_inset
12631
12632 および
12633 \begin_inset Newline linebreak
12634 \end_inset
12635
12636
12637 \begin_inset Flex Code
12638 status collapsed
12639
12640 \begin_layout Plain Layout
12641 Centered_Top_Environment
12642 \end_layout
12643
12644 \end_inset
12645
12646 ).
12647 \end_layout
12648
12649 \begin_layout Description
12650 \begin_inset Flex Code
12651 status collapsed
12652
12653 \begin_layout Plain Layout
12654 LabelCounter
12655 \end_layout
12656
12657 \end_inset
12658
12659  [
12660 \begin_inset Flex Code
12661 status collapsed
12662
12663 \begin_layout Plain Layout
12664 文字列=""
12665 \end_layout
12666
12667 \end_inset
12668
12669 ] 自動連番に使われるカウンタ名(詳しくは第
12670 \begin_inset CommandInset ref
12671 LatexCommand ref
12672 reference "subsec:カウンタ"
12673 plural "false"
12674 caps "false"
12675 noprefix "false"
12676 nolink "false"
12677
12678 \end_inset
12679
12680 節参照).カウンタがラベル中に表示されるようにするためには,
12681
12682 \begin_inset Flex Code
12683 status collapsed
12684
12685 \begin_layout Plain Layout
12686 LabelString
12687 \end_layout
12688
12689 \end_inset
12690
12691 中で参照する必要があります.これは,
12692 少なくとも
12693 \begin_inset Flex Code
12694 status collapsed
12695
12696 \begin_layout Plain Layout
12697 Static
12698 \end_layout
12699
12700 \end_inset
12701
12702
12703 \begin_inset Flex Code
12704 status collapsed
12705
12706 \begin_layout Plain Layout
12707 Above
12708 \end_layout
12709
12710 \end_inset
12711
12712
12713 \begin_inset Flex Code
12714 status collapsed
12715
12716 \begin_layout Plain Layout
12717 Centered
12718 \end_layout
12719
12720 \end_inset
12721
12722 の各
12723 \begin_inset Flex Code
12724 status collapsed
12725
12726 \begin_layout Plain Layout
12727 LabelType
12728 \end_layout
12729
12730 \end_inset
12731
12732 で動作します.
12733 \begin_inset Newline newline
12734 \end_inset
12735
12736 また,
12737
12738 \begin_inset Flex Code
12739 status collapsed
12740
12741 \begin_layout Plain Layout
12742 LabelType
12743 \end_layout
12744
12745 \end_inset
12746
12747
12748 \begin_inset Flex Code
12749 status collapsed
12750
12751 \begin_layout Plain Layout
12752 Enumerate
12753 \end_layout
12754
12755 \end_inset
12756
12757 型のときにも,
12758 若干複雑にはなりますが,
12759 本項目を使うことができます.たとえば,
12760
12761 \begin_inset Flex Code
12762 status collapsed
12763
12764 \begin_layout Plain Layout
12765 LabelCounter myenum
12766 \end_layout
12767
12768 \end_inset
12769
12770 」と宣言したものとしましょう.すると,
12771 \SpecialChar LaTeX
12772 におけるのと同様,
12773 実際に使われるカウンタは,
12774
12775 \begin_inset Flex Code
12776 status collapsed
12777
12778 \begin_layout Plain Layout
12779 myenumi
12780 \end_layout
12781
12782 \end_inset
12783
12784
12785 \begin_inset Flex Code
12786 status collapsed
12787
12788 \begin_layout Plain Layout
12789 myenumii
12790 \end_layout
12791
12792 \end_inset
12793
12794
12795 \begin_inset Flex Code
12796 status collapsed
12797
12798 \begin_layout Plain Layout
12799 myenumii
12800 \end_layout
12801
12802 \end_inset
12803
12804
12805 \begin_inset Flex Code
12806 status collapsed
12807
12808 \begin_layout Plain Layout
12809 myenumiv
12810 \end_layout
12811
12812 \end_inset
12813
12814 のようになります.これらのカウンタは,
12815 全て別々に宣言されなくてはなりません.
12816 \begin_inset Newline newline
12817 \end_inset
12818
12819 カウンタの詳細については,
12820
12821 \begin_inset CommandInset ref
12822 LatexCommand ref
12823 reference "subsec:カウンタ"
12824 nolink "false"
12825
12826 \end_inset
12827
12828 をご覧ください.
12829 \end_layout
12830
12831 \begin_layout Description
12832 \begin_inset Flex Code
12833 status collapsed
12834
12835 \begin_layout Plain Layout
12836 LabelFont
12837 \end_layout
12838
12839 \end_inset
12840
12841  ラベルに使用されるフォント.
12842 \begin_inset CommandInset ref
12843 LatexCommand ref
12844 reference "subsec:フォント指定"
12845 nolink "false"
12846
12847 \end_inset
12848
12849 を参照.
12850 \end_layout
12851
12852 \begin_layout Description
12853 \begin_inset Flex Code
12854 status collapsed
12855
12856 \begin_layout Plain Layout
12857 LabelIndent
12858 \end_layout
12859
12860 \end_inset
12861
12862  [
12863 \begin_inset Flex Code
12864 status collapsed
12865
12866 \begin_layout Plain Layout
12867 文字列=""
12868 \end_layout
12869
12870 \end_inset
12871
12872 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
12873 \end_layout
12874
12875 \begin_layout Description
12876 \begin_inset Flex Code
12877 status collapsed
12878
12879 \begin_layout Plain Layout
12880 LabelSep
12881 \end_layout
12882
12883 \end_inset
12884
12885  [
12886 \begin_inset Flex Code
12887 status collapsed
12888
12889 \begin_layout Plain Layout
12890 文字列=""
12891 \end_layout
12892
12893 \end_inset
12894
12895 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
12896 \end_layout
12897
12898 \begin_layout Description
12899 \begin_inset Flex Code
12900 status collapsed
12901
12902 \begin_layout Plain Layout
12903 LabelString
12904 \end_layout
12905
12906 \end_inset
12907
12908  [
12909 \begin_inset Flex Code
12910 status collapsed
12911
12912 \begin_layout Plain Layout
12913 文字列=""
12914 \end_layout
12915
12916 \end_inset
12917
12918
12919 \begin_inset Flex Code
12920 status collapsed
12921
12922 \begin_layout Plain Layout
12923 Static
12924 \end_layout
12925
12926 \end_inset
12927
12928 ラベル型でラベルに使用する文字列.
12929 \begin_inset Flex Code
12930 status collapsed
12931
12932 \begin_layout Plain Layout
12933 LabelCounter
12934 \end_layout
12935
12936 \end_inset
12937
12938 を設定している場合,
12939
12940 \begin_inset CommandInset ref
12941 LatexCommand ref
12942 reference "subsec:カウンタ"
12943 nolink "false"
12944
12945 \end_inset
12946
12947 に述べられている特別な整形コマンドを含めることができます.
12948 \end_layout
12949
12950 \begin_layout Description
12951 \begin_inset Flex Code
12952 status collapsed
12953
12954 \begin_layout Plain Layout
12955 LabelStringAppendix
12956 \end_layout
12957
12958 \end_inset
12959
12960  [
12961 \begin_inset Flex Code
12962 status collapsed
12963
12964 \begin_layout Plain Layout
12965 文字列=""
12966 \end_layout
12967
12968 \end_inset
12969
12970 ] これは付録の中で
12971 \begin_inset Flex Code
12972 status collapsed
12973
12974 \begin_layout Plain Layout
12975 LabelString
12976 \end_layout
12977
12978 \end_inset
12979
12980 の代わりに用いられます.各
12981 \begin_inset Flex Code
12982 status collapsed
12983
12984 \begin_layout Plain Layout
12985 LabelString
12986 \end_layout
12987
12988 \end_inset
12989
12990 ステートメントは,
12991
12992 \begin_inset Flex Code
12993 status collapsed
12994
12995 \begin_layout Plain Layout
12996 LabelStringAppendix
12997 \end_layout
12998
12999 \end_inset
13000
13001 をもリセットすることに注意してください.
13002 \end_layout
13003
13004 \begin_layout Description
13005 \begin_inset Flex Code
13006 status collapsed
13007
13008 \begin_layout Plain Layout
13009 LabelTag
13010 \end_layout
13011
13012 \end_inset
13013
13014  [FIXME] (XML型書式でのみ使用されます.)
13015 \end_layout
13016
13017 \begin_layout Description
13018 \begin_inset Flex Code
13019 status collapsed
13020
13021 \begin_layout Plain Layout
13022 LabelType
13023 \end_layout
13024
13025 \end_inset
13026
13027  [
13028 \begin_inset Flex Code
13029 status collapsed
13030
13031 \begin_layout Plain Layout
13032
13033 \emph on
13034 No_Label
13035 \emph default
13036 ,
13037  Manual,
13038  Static,
13039  Above,
13040 \begin_inset Newline newline
13041 \end_inset
13042
13043 Centered,
13044  Sensitive,
13045  Enumerate,
13046 \begin_inset Newline newline
13047 \end_inset
13048
13049 Itemize,
13050  Bibliography
13051 \end_layout
13052
13053 \end_inset
13054
13055 ]
13056 \end_layout
13057
13058 \begin_deeper
13059 \begin_layout Description
13060 \begin_inset Flex Code
13061 status collapsed
13062
13063 \begin_layout Plain Layout
13064 Manual
13065 \end_layout
13066
13067 \end_inset
13068
13069  は,
13070 ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,
13071 保護された空白を使用してください.
13072 \end_layout
13073
13074 \begin_layout Description
13075 \begin_inset Flex Code
13076 status collapsed
13077
13078 \begin_layout Plain Layout
13079 Static
13080 \end_layout
13081
13082 \end_inset
13083
13084  は,
13085 ラベルが
13086 \begin_inset Flex Code
13087 status collapsed
13088
13089 \begin_layout Plain Layout
13090 LabelString
13091 \end_layout
13092
13093 \end_inset
13094
13095 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
13096 \begin_inset Flex Code
13097 status collapsed
13098
13099 \begin_layout Plain Layout
13100 LatexType
13101 \end_layout
13102
13103 \end_inset
13104
13105
13106 \begin_inset Flex Code
13107 status collapsed
13108
13109 \begin_layout Plain Layout
13110 Environment
13111 \end_layout
13112
13113 \end_inset
13114
13115 のときは,
13116 連続する同じ
13117 \begin_inset Flex Code
13118 status collapsed
13119
13120 \begin_layout Plain Layout
13121 Style
13122 \end_layout
13123
13124 \end_inset
13125
13126 の段落中,
13127 最初の段落にのみ表示されます.
13128 \end_layout
13129
13130 \begin_layout Description
13131 \begin_inset Flex Code
13132 status collapsed
13133
13134 \begin_layout Plain Layout
13135 Above
13136 \end_layout
13137
13138 \end_inset
13139
13140 および
13141 \begin_inset Flex Code
13142 status collapsed
13143
13144 \begin_layout Plain Layout
13145 Centered
13146 \end_layout
13147
13148 \end_inset
13149
13150  は,
13151
13152 \begin_inset Flex Code
13153 status collapsed
13154
13155 \begin_layout Plain Layout
13156 Static
13157 \end_layout
13158
13159 \end_inset
13160
13161 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
13162 \end_layout
13163
13164 \begin_layout Description
13165 \begin_inset Flex Code
13166 status collapsed
13167
13168 \begin_layout Plain Layout
13169 Sensitive
13170 \end_layout
13171
13172 \end_inset
13173
13174  はキャプションラベルの「図」や「表」の特別な場合です.
13175 \begin_inset Flex Code
13176 status collapsed
13177
13178 \begin_layout Plain Layout
13179 Sensitive
13180 \end_layout
13181
13182 \end_inset
13183
13184 は,
13185 (ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,
13186 フロートに関連付けられたカウンタの値がNであるものとすると,
13187 「FloatType N」にハードコードされています.キャプションがフロートの外に挿入されると,
13188
13189 \begin_inset Flex Code
13190 status collapsed
13191
13192 \begin_layout Plain Layout
13193 LabelString
13194 \end_layout
13195
13196 \end_inset
13197
13198 は「意味を成しません!」と表示されます.
13199 \end_layout
13200
13201 \begin_layout Description
13202 \begin_inset Flex Code
13203 status collapsed
13204
13205 \begin_layout Plain Layout
13206 Enumerate
13207 \end_layout
13208
13209 \end_inset
13210
13211  は,
13212 通常の連番ラベルを生成します.
13213 \lang english
13214 The number type needs to be set in the 
13215 \family sans
13216 Counter
13217 \family default
13218 ,
13219  see 
13220 \lang japanese
13221
13222 \begin_inset CommandInset ref
13223 LatexCommand ref
13224 reference "subsec:カウンタ"
13225 nolink "false"
13226
13227 \end_inset
13228
13229
13230 \end_layout
13231
13232 \begin_layout Description
13233 \begin_inset Flex Code
13234 status collapsed
13235
13236 \begin_layout Plain Layout
13237 Itemize
13238 \end_layout
13239
13240 \end_inset
13241
13242  は,
13243 各階層でさまざまなブリットを生成します.
13244 \lang english
13245 The bullet types displayed can be set via 
13246 \begin_inset Flex Noun
13247 status collapsed
13248
13249 \begin_layout Plain Layout
13250
13251 \lang english
13252 Document\SpecialChar menuseparator
13253 Settings\SpecialChar menuseparator
13254 Bullets
13255 \end_layout
13256
13257 \end_inset
13258
13259 .
13260 \end_layout
13261
13262 \begin_layout Description
13263 \begin_inset Flex Code
13264 status collapsed
13265
13266 \begin_layout Plain Layout
13267 Bibliography
13268 \end_layout
13269
13270 \end_inset
13271
13272  は,
13273
13274 \begin_inset Flex Code
13275 status collapsed
13276
13277 \begin_layout Plain Layout
13278 LatexType BibEnvironment
13279 \end_layout
13280
13281 \end_inset
13282
13283 とともにのみ使用されます.
13284 \end_layout
13285
13286 \end_deeper
13287 \begin_layout Description
13288 \begin_inset Flex Code
13289 status collapsed
13290
13291 \begin_layout Plain Layout
13292 LangPreamble
13293 \end_layout
13294
13295 \end_inset
13296
13297  これは,
13298 この様式で既に出現した
13299 \begin_inset Flex Code
13300 status collapsed
13301
13302 \begin_layout Plain Layout
13303 LangPreamble
13304 \end_layout
13305
13306 \end_inset
13307
13308 宣言をすべて,
13309 完全に上書きしますので,
13310 注意してください.使用法についての詳細は,
13311
13312 \begin_inset CommandInset ref
13313 LatexCommand ref
13314 reference "subsec:段落様式の国際化"
13315 nolink "false"
13316
13317 \end_inset
13318
13319 をご覧ください.
13320 \end_layout
13321
13322 \begin_layout Description
13323 \begin_inset Flex Code
13324 status collapsed
13325
13326 \begin_layout Plain Layout
13327 LatexName
13328 \end_layout
13329
13330 \end_inset
13331
13332  [
13333 \begin_inset Flex Code
13334 status collapsed
13335
13336 \begin_layout Plain Layout
13337 <名称>
13338 \end_layout
13339
13340 \end_inset
13341
13342 ] 対応する\SpecialChar LaTeX
13343 の名称です.環境名かコマンド名を指します.
13344 \end_layout
13345
13346 \begin_layout Description
13347 \begin_inset Flex Code
13348 status collapsed
13349
13350 \begin_layout Plain Layout
13351 LatexParam
13352 \end_layout
13353
13354 \end_inset
13355
13356  [
13357 \begin_inset Flex Code
13358 status collapsed
13359
13360 \begin_layout Plain Layout
13361 <パラメータ>
13362 \end_layout
13363
13364 \end_inset
13365
13366 ] 対応する
13367 \begin_inset Flex Code
13368 status collapsed
13369
13370 \begin_layout Plain Layout
13371 LatexName
13372 \end_layout
13373
13374 \end_inset
13375
13376 の非必須パラメータです.このパラメータは,
13377 \SpecialChar LyX
13378 内部から変更することはできません(変更可能なパラメータには
13379 \begin_inset Flex Code
13380 status collapsed
13381
13382 \begin_layout Plain Layout
13383 Argument
13384 \end_layout
13385
13386 \end_inset
13387
13388 を使用してください).これは,
13389 全ての\SpecialChar LaTeX
13390  
13391 \begin_inset Flex Code
13392 status collapsed
13393
13394 \begin_layout Plain Layout
13395 Argument
13396 \end_layout
13397
13398 \end_inset
13399
13400 の後にそのままの形で出力されます.
13401 \end_layout
13402
13403 \begin_layout Description
13404 \begin_inset Flex Code
13405 status collapsed
13406
13407 \begin_layout Plain Layout
13408 LatexType
13409 \end_layout
13410
13411 \end_inset
13412
13413  [
13414 \begin_inset Flex Code
13415 status collapsed
13416
13417 \begin_layout Plain Layout
13418
13419 \emph on
13420 Paragraph
13421 \emph default
13422 ,
13423  Command,
13424  Environment,
13425  Item_Environment,
13426 \begin_inset Newline newline
13427 \end_inset
13428
13429 List_Environment,
13430  Bib_Environment
13431 \end_layout
13432
13433 \end_inset
13434
13435 ] レイアウトがどのように\SpecialChar LaTeX
13436 に変換されるべきかを示します
13437 \begin_inset Foot
13438 status collapsed
13439
13440 \begin_layout Plain Layout
13441 これらのルールはSGMLクラスにも適用されるので,
13442
13443 \begin_inset Flex Code
13444 status collapsed
13445
13446 \begin_layout Plain Layout
13447 LatexType
13448 \end_layout
13449
13450 \end_inset
13451
13452 の名称は,
13453 少しミスリーディングかもしれません.特定の例については,
13454 SGMLクラスファイル(ファイル名
13455 \begin_inset Flex Code
13456 status collapsed
13457
13458 \begin_layout Plain Layout
13459 db_*.inc
13460 \end_layout
13461
13462 \end_inset
13463
13464 )を見てください.
13465 \end_layout
13466
13467 \end_inset
13468
13469
13470 \end_layout
13471
13472 \begin_deeper
13473 \begin_layout Description
13474 \begin_inset Flex Code
13475 status collapsed
13476
13477 \begin_layout Plain Layout
13478 Paragraph
13479 \end_layout
13480
13481 \end_inset
13482
13483  は,
13484 何も特別なことは意味しません.
13485 \end_layout
13486
13487 \begin_layout Description
13488 \begin_inset Flex Code
13489 status collapsed
13490
13491 \begin_layout Plain Layout
13492 Command
13493 \end_layout
13494
13495 \end_inset
13496
13497  は,
13498
13499 \begin_inset Flex Code
13500 status collapsed
13501
13502 \begin_layout Plain Layout
13503
13504 \backslash
13505
13506 \emph on
13507 LatexName
13508 \emph default
13509 {\SpecialChar ldots
13510 }
13511 \end_layout
13512
13513 \end_inset
13514
13515 を意味します.
13516 \end_layout
13517
13518 \begin_layout Description
13519 \begin_inset Flex Code
13520 status collapsed
13521
13522 \begin_layout Plain Layout
13523 Environment
13524 \end_layout
13525
13526 \end_inset
13527
13528  は,
13529
13530 \begin_inset Flex Code
13531 status collapsed
13532
13533 \begin_layout Plain Layout
13534
13535 \backslash
13536 begin{
13537 \emph on
13538 LatexName
13539 \emph default
13540 }\SpecialChar ldots
13541
13542 \backslash
13543 end{
13544 \emph on
13545 LatexName
13546 \emph default
13547 }
13548 \end_layout
13549
13550 \end_inset
13551
13552 を意味します.
13553 \end_layout
13554
13555 \begin_layout Description
13556 \begin_inset Flex Code
13557 status collapsed
13558
13559 \begin_layout Plain Layout
13560 Item_Environment
13561 \end_layout
13562
13563 \end_inset
13564
13565  は
13566 \begin_inset Flex Code
13567 status collapsed
13568
13569 \begin_layout Plain Layout
13570 Environment
13571 \end_layout
13572
13573 \end_inset
13574
13575 と同じですが,
13576
13577 \begin_inset Flex Code
13578 status collapsed
13579
13580 \begin_layout Plain Layout
13581
13582 \backslash
13583 item
13584 \end_layout
13585
13586 \end_inset
13587
13588 がこの環境のすべての段落に付けられるところだけが異なっています.
13589 \end_layout
13590
13591 \begin_layout Description
13592 \begin_inset Flex Code
13593 status collapsed
13594
13595 \begin_layout Plain Layout
13596 List_Environment
13597 \end_layout
13598
13599 \end_inset
13600
13601  は
13602 \begin_inset Flex Code
13603 status collapsed
13604
13605 \begin_layout Plain Layout
13606 Item_Environment
13607 \end_layout
13608
13609 \end_inset
13610
13611 と同じですが,
13612
13613 \begin_inset Flex Code
13614 status collapsed
13615
13616 \begin_layout Plain Layout
13617 LabelWidthString
13618 \end_layout
13619
13620 \end_inset
13621
13622 が環境の引数として渡されるところだけが異なっています.
13623 \begin_inset Flex Code
13624 status collapsed
13625
13626 \begin_layout Plain Layout
13627 LabelWidthString
13628 \end_layout
13629
13630 \end_inset
13631
13632 は,
13633
13634 \begin_inset Flex MenuItem
13635 status collapsed
13636
13637 \begin_layout Plain Layout
13638 編集\SpecialChar menuseparator
13639 段落設定
13640 \end_layout
13641
13642 \end_inset
13643
13644 ダイアログで定義することができます.
13645 \end_layout
13646
13647 \begin_layout Description
13648 \begin_inset Flex Code
13649 status collapsed
13650
13651 \begin_layout Plain Layout
13652 Bib_Environment
13653 \end_layout
13654
13655 \end_inset
13656
13657  は
13658 \begin_inset Flex Code
13659 status collapsed
13660
13661 \begin_layout Plain Layout
13662 Environment
13663 \end_layout
13664
13665 \end_inset
13666
13667 に似ていますが,
13668 以下のように,
13669 書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
13670 \begin_inset Newline newline
13671 \end_inset
13672
13673
13674 \begin_inset Flex Code
13675 status collapsed
13676
13677 \begin_layout Plain Layout
13678
13679 \backslash
13680 begin{thebibliography}{99}
13681 \end_layout
13682
13683 \end_inset
13684
13685
13686 \begin_inset Newline newline
13687 \end_inset
13688
13689 したがって,
13690 これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,
13691 書誌情報項目の段落設定で,
13692 ユーザーが変更することができます.
13693 \end_layout
13694
13695 \begin_layout Standard
13696 上記最後のいくつかをまとめると,
13697 \SpecialChar LaTeX
13698 出力は,
13699 \SpecialChar LaTeX
13700 型に依存して
13701 \end_layout
13702
13703 \begin_layout LyX-Code
13704
13705 \backslash
13706 LatexName[LatexParam]{\SpecialChar ldots
13707 }
13708 \end_layout
13709
13710 \begin_layout Standard
13711 のようになるか,
13712
13713 \end_layout
13714
13715 \begin_layout LyX-Code
13716
13717 \backslash
13718 begin{LatexName}[LatexParam] \SpecialChar ldots
13719  
13720 \backslash
13721 end{LatexName}.
13722 \end_layout
13723
13724 \begin_layout Standard
13725 となります.
13726 \end_layout
13727
13728 \end_deeper
13729 \begin_layout Description
13730 \begin_inset Flex Code
13731 status collapsed
13732
13733 \begin_layout Plain Layout
13734 LeftDelim
13735 \end_layout
13736
13737 \end_inset
13738
13739  [
13740 \begin_inset Flex Code
13741 status collapsed
13742
13743 \begin_layout Plain Layout
13744 文字列
13745 \end_layout
13746
13747 \end_inset
13748
13749 ] 様式の内容の最初に置かれる文字列.出力中の改行は
13750 \begin_inset Flex Code
13751 status collapsed
13752
13753 \begin_layout Plain Layout
13754 <br/>
13755 \end_layout
13756
13757 \end_inset
13758
13759 で指示できます.
13760 \end_layout
13761
13762 \begin_layout Description
13763 \begin_inset Flex Code
13764 status collapsed
13765
13766 \begin_layout Plain Layout
13767 LeftMargin
13768 \end_layout
13769
13770 \end_inset
13771
13772  [
13773 \begin_inset Flex Code
13774 status collapsed
13775
13776 \begin_layout Plain Layout
13777 文字列=""
13778 \end_layout
13779
13780 \end_inset
13781
13782 ] レイアウトを環境の中に入れた場合,
13783 左余白は単純に加えられるのではなく,
13784 因子
13785 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13786 \end_inset
13787
13788 をかけて加えられます.このパラメータは,
13789
13790 \begin_inset Flex Code
13791 status collapsed
13792
13793 \begin_layout Plain Layout
13794 Margin
13795 \end_layout
13796
13797 \end_inset
13798
13799
13800 \begin_inset Flex Code
13801 status collapsed
13802
13803 \begin_layout Plain Layout
13804 Manual
13805 \end_layout
13806
13807 \end_inset
13808
13809 あるいは
13810 \begin_inset Flex Code
13811 status collapsed
13812
13813 \begin_layout Plain Layout
13814 Dynamic
13815 \end_layout
13816
13817 \end_inset
13818
13819 に設定されているときにも用いられることに注意してください.その場合には,
13820 これは手動設定余白または動的設定余白に加えられることに注意してください.
13821 \begin_inset Newline newline
13822 \end_inset
13823
13824 たとえば「
13825 \begin_inset Flex Code
13826 status collapsed
13827
13828 \begin_layout Plain Layout
13829 MM
13830 \end_layout
13831
13832 \end_inset
13833
13834 」と指定すると,
13835 段落を通常フォントの「
13836 \begin_inset Flex Code
13837 status collapsed
13838
13839 \begin_layout Plain Layout
13840 MM
13841 \end_layout
13842
13843 \end_inset
13844
13845 」の幅だけ行頭下げを行います.文字列の前に「
13846 \begin_inset Flex Code
13847 status collapsed
13848
13849 \begin_layout Plain Layout
13850 -
13851 \end_layout
13852
13853 \end_inset
13854
13855 」を付けると,
13856 負の幅を与えることができます.この方法が採用されたのは,
13857 どの画面フォントでも見かけが同じになるようにするためです.
13858 \end_layout
13859
13860 \begin_layout Description
13861 \begin_inset Flex Code
13862 status collapsed
13863
13864 \begin_layout Plain Layout
13865 Margin
13866 \end_layout
13867
13868 \end_inset
13869
13870  [
13871 \begin_inset Flex Code
13872 status collapsed
13873
13874 \begin_layout Plain Layout
13875
13876 \emph on
13877 Static
13878 \emph default
13879 ,
13880  Manual,
13881  Dynamic,
13882  First_Dynamic,
13883  Right_Address_Box
13884 \end_layout
13885
13886 \end_inset
13887
13888
13889 \begin_inset Newline newline
13890 \end_inset
13891
13892 このレイアウトの左余白の種類です.
13893 \end_layout
13894
13895 \begin_deeper
13896 \begin_layout Description
13897 \begin_inset Flex Code
13898 status collapsed
13899
13900 \begin_layout Plain Layout
13901 Static
13902 \end_layout
13903
13904 \end_inset
13905
13906  は固定余白を示します.
13907 \end_layout
13908
13909 \begin_layout Description
13910 \begin_inset Flex Code
13911 status collapsed
13912
13913 \begin_layout Plain Layout
13914 Manual
13915 \end_layout
13916
13917 \end_inset
13918
13919  は,
13920 左余白が
13921 \begin_inset Flex MenuItem
13922 status collapsed
13923
13924 \begin_layout Plain Layout
13925 編集\SpecialChar menuseparator
13926 段落設定
13927 \end_layout
13928
13929 \end_inset
13930
13931 ダイアログで入力した文字列によって決められることを示します.これは,
13932 タブを用いずに整った一覧表を組むのに使用されます.
13933 \end_layout
13934
13935 \begin_layout Description
13936 \begin_inset Flex Code
13937 status collapsed
13938
13939 \begin_layout Plain Layout
13940 Dynamic
13941 \end_layout
13942
13943 \end_inset
13944
13945  は,
13946 余白がラベルの大きさに依存することを示します.これは,
13947 自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,
13948 「3.2 非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
13949 \end_layout
13950
13951 \begin_layout Description
13952 \begin_inset Flex Code
13953 status collapsed
13954
13955 \begin_layout Plain Layout
13956 First_Dynamic
13957 \end_layout
13958
13959 \end_inset
13960
13961  は似ていますが,
13962 段落の最初の行だけがDynamicでその他の行はStaticです.これは,
13963 たとえば,
13964 箇条書き(記述)に使用されます.
13965 \end_layout
13966
13967 \begin_layout Description
13968 \begin_inset Flex Code
13969 status collapsed
13970
13971 \begin_layout Plain Layout
13972 Right_Address_Box
13973 \end_layout
13974
13975 \end_inset
13976
13977  は,
13978 段落中,
13979 最も長い行が右余白に合うように余白を選択します.これは,
13980 ページの右端に住所を組版するのに用いられます.
13981 \end_layout
13982
13983 \end_deeper
13984 \begin_layout Description
13985 \begin_inset Flex Code
13986 status collapsed
13987
13988 \begin_layout Plain Layout
13989 NeedProtect
13990 \end_layout
13991
13992 \end_inset
13993
13994  [
13995 \begin_inset Flex Code
13996 status collapsed
13997
13998 \begin_layout Plain Layout
13999
14000 \emph on
14001 0
14002 \end_layout
14003
14004 \end_inset
14005
14006 ,
14007 \begin_inset space \thinspace{}
14008 \end_inset
14009
14010
14011 \begin_inset Flex Code
14012 status collapsed
14013
14014 \begin_layout Plain Layout
14015 1
14016 \end_layout
14017
14018 \end_inset
14019
14020 ] このレイアウト中の脆弱なコマンドが
14021 \begin_inset Flex Code
14022 status collapsed
14023
14024 \begin_layout Plain Layout
14025
14026 \backslash
14027 protect
14028 \end_layout
14029
14030 \end_inset
14031
14032 されるべきか否か(註:
14033 これはこのコマンド自体が
14034 \begin_inset Flex Code
14035 status collapsed
14036
14037 \begin_layout Plain Layout
14038
14039 \backslash
14040 protect
14041 \end_layout
14042
14043 \end_inset
14044
14045 されるべきかでは
14046 \emph on
14047 ありません
14048 \emph default
14049 ).
14050 \end_layout
14051
14052 \begin_layout Description
14053 \begin_inset Flex Code
14054 status collapsed
14055
14056 \begin_layout Plain Layout
14057 Newline
14058 \end_layout
14059
14060 \end_inset
14061
14062  [
14063 \begin_inset Flex Code
14064 status collapsed
14065
14066 \begin_layout Plain Layout
14067 0
14068 \end_layout
14069
14070 \end_inset
14071
14072 ,
14073 \begin_inset space \thinspace{}
14074 \end_inset
14075
14076
14077 \begin_inset Flex Code
14078 status collapsed
14079
14080 \begin_layout Plain Layout
14081
14082 \emph on
14083 1
14084 \end_layout
14085
14086 \end_inset
14087
14088 ] 新規行を\SpecialChar LaTeX
14089 の新規行(
14090 \begin_inset Flex Code
14091 status collapsed
14092
14093 \begin_layout Plain Layout
14094
14095 \backslash
14096
14097 \backslash
14098
14099 \end_layout
14100
14101 \end_inset
14102
14103 )に変換するか否か.\SpecialChar LyX
14104 中で\SpecialChar LaTeX
14105 編集をやりやすくするために,
14106 変換は無効にすることができます.
14107 \end_layout
14108
14109 \begin_layout Description
14110 \begin_inset Flex Code
14111 status collapsed
14112
14113 \begin_layout Plain Layout
14114 NextNoIndent
14115 \end_layout
14116
14117 \end_inset
14118
14119  [
14120 \begin_inset Flex Code
14121 status collapsed
14122
14123 \begin_layout Plain Layout
14124
14125 \emph on
14126 0
14127 \end_layout
14128
14129 \end_inset
14130
14131 ,
14132 \begin_inset space \thinspace{}
14133 \end_inset
14134
14135
14136 \begin_inset Flex Code
14137 status collapsed
14138
14139 \begin_layout Plain Layout
14140 1
14141 \end_layout
14142
14143 \end_inset
14144
14145 ] 真に設定すると,
14146
14147 \begin_inset Flex Code
14148 status collapsed
14149
14150 \begin_layout Plain Layout
14151 DefaultStyle
14152 \end_layout
14153
14154 \end_inset
14155
14156  (通常
14157 \begin_inset Flex Code
14158 status collapsed
14159
14160 \begin_layout Plain Layout
14161 Standard
14162 \end_layout
14163
14164 \end_inset
14165
14166 )段落が行頭下げになっている場合でも,
14167 この型の段落に続くそれらの段落は,
14168 字下げされません(逆に言えば,
14169 既定でない段落には影響を与えません).
14170 \end_layout
14171
14172 \begin_layout Description
14173 \begin_inset Flex Code
14174 status collapsed
14175
14176 \begin_layout Plain Layout
14177 ObsoletedBy
14178 \end_layout
14179
14180 \end_inset
14181
14182  [
14183 \begin_inset Flex Code
14184 status collapsed
14185
14186 \begin_layout Plain Layout
14187 <名称>
14188 \end_layout
14189
14190 \end_inset
14191
14192 ] このレイアウトが置き換えられたレイアウト名.これは,
14193 後方互換性を維持しながら,
14194 レイアウトの名称を変更するのに使用されます.
14195 \end_layout
14196
14197 \begin_layout Description
14198 \begin_inset Flex Code
14199 status collapsed
14200
14201 \begin_layout Plain Layout
14202 ParagraphGroup
14203 \end_layout
14204
14205 \end_inset
14206
14207  [
14208 \begin_inset Flex Code
14209 status collapsed
14210
14211 \begin_layout Plain Layout
14212 0
14213 \end_layout
14214
14215 \end_inset
14216
14217 ,
14218 \begin_inset space \thinspace{}
14219 \end_inset
14220
14221
14222 \begin_inset Flex Code
14223 status collapsed
14224
14225 \begin_layout Plain Layout
14226 1
14227 \end_layout
14228
14229 \end_inset
14230
14231 ] 同じ型の段落が引き続く場合,
14232 同じ段落として取り扱うか否かを決定します.これは,
14233 そのような連続グループに対して,
14234
14235 \begin_inset Flex Code
14236 status collapsed
14237
14238 \begin_layout Plain Layout
14239 GuiLabel
14240 \end_layout
14241
14242 \end_inset
14243
14244 が一度だけ出力される効果があります.既定では,
14245
14246 \begin_inset Flex Code
14247 status collapsed
14248
14249 \begin_layout Plain Layout
14250 LaTeXType
14251 \end_layout
14252
14253 \end_inset
14254
14255
14256
14257 \begin_inset Flex Code
14258 status collapsed
14259
14260 \begin_layout Plain Layout
14261 Environment
14262 \end_layout
14263
14264 \end_inset
14265
14266 および
14267 \begin_inset Flex Code
14268 status collapsed
14269
14270 \begin_layout Plain Layout
14271 Bib_Environment
14272 \end_layout
14273
14274 \end_inset
14275
14276  については有効であり,
14277 他の型すべてについて無効になっています.
14278 \end_layout
14279
14280 \begin_layout Description
14281 \begin_inset Flex Code
14282 status collapsed
14283
14284 \begin_layout Plain Layout
14285 ParbreakIsNewline
14286 \end_layout
14287
14288 \end_inset
14289
14290  [
14291 \begin_inset Flex Code
14292 status collapsed
14293
14294 \begin_layout Plain Layout
14295
14296 \emph on
14297 0
14298 \end_layout
14299
14300 \end_inset
14301
14302 ,
14303 \begin_inset space \thinspace{}
14304 \end_inset
14305
14306
14307 \begin_inset Flex Code
14308 status collapsed
14309
14310 \begin_layout Plain Layout
14311 1
14312 \end_layout
14313
14314 \end_inset
14315
14316 ] \SpecialChar LaTeX
14317 出力中で,
14318 段落を空行ではなく,
14319 改行で区切るよう指定します.
14320 \begin_inset Flex Code
14321 status collapsed
14322
14323 \begin_layout Plain Layout
14324 PassThru 1
14325 \end_layout
14326
14327 \end_inset
14328
14329 と併用すれば,
14330 (\SpecialChar TeX
14331 コードを使用したときのように)テキストエディタをエミュレートすることができます.
14332 \end_layout
14333
14334 \begin_layout Description
14335 \begin_inset Flex Code
14336 status collapsed
14337
14338 \begin_layout Plain Layout
14339 ParIndent
14340 \end_layout
14341
14342 \end_inset
14343
14344  [
14345 \begin_inset Flex Code
14346 status collapsed
14347
14348 \begin_layout Plain Layout
14349 文字列=""
14350 \end_layout
14351
14352 \end_inset
14353
14354 ] 段落の最初の行の行頭下げ.レイアウトによっては
14355 \begin_inset Flex Code
14356 status collapsed
14357
14358 \begin_layout Plain Layout
14359 Parindent
14360 \end_layout
14361
14362 \end_inset
14363
14364 は固定されています.例外には標準レイアウトがあり,
14365 標準レイアウトの段落の行頭下げは,
14366
14367 \begin_inset Flex Code
14368 status collapsed
14369
14370 \begin_layout Plain Layout
14371 NextNoIndent
14372 \end_layout
14373
14374 \end_inset
14375
14376 で禁止することができるようになっています.また,
14377 環境中の標準レイアウト段落は,
14378 当該段落の
14379 \begin_inset Flex Code
14380 status collapsed
14381
14382 \begin_layout Plain Layout
14383 Parindent
14384 \end_layout
14385
14386 \end_inset
14387
14388 ではなく,
14389 この環境の
14390 \begin_inset Flex Code
14391 status collapsed
14392
14393 \begin_layout Plain Layout
14394 Parindent
14395 \end_layout
14396
14397 \end_inset
14398
14399 を使用します.たとえば,
14400 箇条書き(連番)内の標準段落は,
14401 行頭下げされません.
14402 \end_layout
14403
14404 \begin_layout Description
14405 \begin_inset Flex Code
14406 status collapsed
14407
14408 \begin_layout Plain Layout
14409 ParSep
14410 \end_layout
14411
14412 \end_inset
14413
14414  [
14415 \begin_inset Flex Code
14416 status collapsed
14417
14418 \begin_layout Plain Layout
14419 浮動小数点型=0
14420 \end_layout
14421
14422 \end_inset
14423
14424 ] このレイアウトの2段落間の垂直余白.
14425 \end_layout
14426
14427 \begin_layout Description
14428 \begin_inset Flex Code
14429 status collapsed
14430
14431 \begin_layout Plain Layout
14432 Parskip
14433 \end_layout
14434
14435 \end_inset
14436
14437  [
14438 \begin_inset Flex Code
14439 status collapsed
14440
14441 \begin_layout Plain Layout
14442 浮動小数点型=0
14443 \end_layout
14444
14445 \end_inset
14446
14447 ] \SpecialChar LyX
14448 では,
14449 文書を組版するのに,
14450 ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,
14451 この値は完全に無視されます.「スキップ」を選択した際には,
14452 \SpecialChar LaTeX
14453 型「段落」レイアウトの
14454 \begin_inset Flex Code
14455 status collapsed
14456
14457 \begin_layout Plain Layout
14458 ParIndent
14459 \end_layout
14460
14461 \end_inset
14462
14463 は無視され,
14464 すべての段落はこの
14465 \begin_inset Flex Code
14466 status collapsed
14467
14468 \begin_layout Plain Layout
14469 Parskip
14470 \end_layout
14471
14472 \end_inset
14473
14474 引数分だけ引き離されます.垂直余白は,
14475
14476 \begin_inset Flex Code
14477 status collapsed
14478
14479 \begin_layout Plain Layout
14480 DefaultHeight
14481 \end_layout
14482
14483 \end_inset
14484
14485 を標準フォントでの1行の高さとすると,
14486
14487 \begin_inset Flex Code
14488 status collapsed
14489
14490 \begin_layout Plain Layout
14491 Parskipの値
14492 \end_layout
14493
14494 \end_inset
14495
14496
14497 \begin_inset Formula $\times$
14498 \end_inset
14499
14500
14501 \begin_inset Flex Code
14502 status collapsed
14503
14504 \begin_layout Plain Layout
14505 DefaultHeight
14506 \end_layout
14507
14508 \end_inset
14509
14510 によって計算されます.このようにして,
14511 画面フォントを変更しても同じように表示されるのです.
14512 \end_layout
14513
14514 \begin_layout Description
14515 \begin_inset Flex Code
14516 status collapsed
14517
14518 \begin_layout Plain Layout
14519 PassThru
14520 \end_layout
14521
14522 \end_inset
14523
14524  [
14525 \emph on
14526
14527 \begin_inset Flex Code
14528 status collapsed
14529
14530 \begin_layout Plain Layout
14531 0
14532 \end_layout
14533
14534 \end_inset
14535
14536
14537 \emph default
14538 ,
14539 \begin_inset space \thinspace{}
14540 \end_inset
14541
14542
14543 \begin_inset Flex Code
14544 status collapsed
14545
14546 \begin_layout Plain Layout
14547 1
14548 \end_layout
14549
14550 \end_inset
14551
14552 ] この段落の内容が,
14553 \SpecialChar LaTeX
14554 が必要とするような特別な変換を行わずに,
14555 生の形で出力されるべきかどうか.
14556 \end_layout
14557
14558 \begin_layout Description
14559 \begin_inset Flex Code
14560 status collapsed
14561
14562 \begin_layout Plain Layout
14563 PassThruChars
14564 \end_layout
14565
14566 \end_inset
14567
14568  [
14569 \begin_inset Flex Code
14570 status collapsed
14571
14572 \begin_layout Plain Layout
14573 文字列
14574 \end_layout
14575
14576 \end_inset
14577
14578 ]
14579 \family typewriter
14580  
14581 \family default
14582 \SpecialChar LaTeX
14583 が要請する特別な翻訳なしで.生の形で出力されるべき,
14584 それぞれの文字を定義します.
14585 \end_layout
14586
14587 \begin_layout Description
14588 \begin_inset Flex Code
14589 status collapsed
14590
14591 \begin_layout Plain Layout
14592 Preamble
14593 \end_layout
14594
14595 \end_inset
14596
14597  この様式が使用されたときに,
14598 \SpecialChar LaTeX
14599 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,
14600 パッケージを読み込んだりと言ったことに使用します.「
14601 \begin_inset Flex Code
14602 status collapsed
14603
14604 \begin_layout Plain Layout
14605 EndPreamble
14606 \end_layout
14607
14608 \end_inset
14609
14610 」で閉じる必要があります.
14611 \end_layout
14612
14613 \begin_layout Description
14614 \begin_inset Flex Code
14615 status collapsed
14616
14617 \begin_layout Plain Layout
14618 RefPrefix
14619 \end_layout
14620
14621 \end_inset
14622
14623  [
14624 \begin_inset Flex Code
14625 status collapsed
14626
14627 \begin_layout Plain Layout
14628 文字列
14629 \end_layout
14630
14631 \end_inset
14632
14633 ] この型の段落を参照する際,
14634 生成されるラベルに使用する前置句.これによって,
14635 整形参照を使用することができるようになります.
14636 \end_layout
14637
14638 \begin_layout Description
14639 \begin_inset Flex Code
14640 status collapsed
14641
14642 \begin_layout Plain Layout
14643 Requires
14644 \end_layout
14645
14646 \end_inset
14647
14648  [
14649 \begin_inset Flex Code
14650 status collapsed
14651
14652 \begin_layout Plain Layout
14653 文字列
14654 \end_layout
14655
14656 \end_inset
14657
14658 ] この様式が機能
14659 \begin_inset Flex Code
14660 status collapsed
14661
14662 \begin_layout Plain Layout
14663 文字列
14664 \end_layout
14665
14666 \end_inset
14667
14668 を必要とするかどうか(機能詳細については,
14669
14670 \begin_inset CommandInset ref
14671 LatexCommand ref
14672 reference "chap:関数一覧"
14673 nolink "false"
14674
14675 \end_inset
14676
14677 節参照).特定のオプションをとるパッケージを要求する場合,
14678
14679 \begin_inset Flex Code
14680 status collapsed
14681
14682 \begin_layout Plain Layout
14683 PackageOptions
14684 \end_layout
14685
14686 \end_inset
14687
14688 を汎用テキストクラスパラメータとして追加して使うことができます(
14689 \begin_inset CommandInset ref
14690 LatexCommand ref
14691 reference "subsec:汎用テキストクラスパラメータ"
14692 nolink "false"
14693
14694 \end_inset
14695
14696 を参照).
14697 \end_layout
14698
14699 \begin_layout Description
14700 \begin_inset Flex Code
14701 status collapsed
14702
14703 \begin_layout Plain Layout
14704 ResetArgs
14705 \end_layout
14706
14707 \end_inset
14708
14709  [
14710 \begin_inset Flex Code
14711 status collapsed
14712
14713 \begin_layout Plain Layout
14714
14715 \emph on
14716 0
14717 \end_layout
14718
14719 \end_inset
14720
14721 ,
14722 \begin_inset Flex Code
14723 status collapsed
14724
14725 \begin_layout Plain Layout
14726 1
14727 \end_layout
14728
14729 \end_inset
14730
14731 ] (
14732 \begin_inset Flex Code
14733 status collapsed
14734
14735 \begin_layout Plain Layout
14736 Argument
14737 \end_layout
14738
14739 \end_inset
14740
14741 タグで定義された)この様式の\SpecialChar LaTeX
14742 引数をリセットします.これは,
14743 様式を
14744 \begin_inset Flex Code
14745 status collapsed
14746
14747 \begin_layout Plain Layout
14748 CopyStyle
14749 \end_layout
14750
14751 \end_inset
14752
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 ResumeCounter
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 \emph on
14774 0
14775 \end_layout
14776
14777 \end_inset
14778
14779 ,
14780 \begin_inset Flex Code
14781 status collapsed
14782
14783 \begin_layout Plain Layout
14784 1
14785 \end_layout
14786
14787 \end_inset
14788
14789 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
14790
14791 \begin_inset Flex Code
14792 status collapsed
14793
14794 \begin_layout Plain Layout
14795 LabelType
14796 \end_layout
14797
14798 \end_inset
14799
14800
14801 \begin_inset Flex Code
14802 status collapsed
14803
14804 \begin_layout Plain Layout
14805 Enumerate
14806 \end_layout
14807
14808 \end_inset
14809
14810 の時のみ有効です.
14811 \end_layout
14812
14813 \begin_layout Description
14814 \begin_inset Flex Code
14815 status collapsed
14816
14817 \begin_layout Plain Layout
14818 RightDelim
14819 \end_layout
14820
14821 \end_inset
14822
14823  [
14824 \begin_inset Flex Code
14825 status collapsed
14826
14827 \begin_layout Plain Layout
14828 文字列
14829 \end_layout
14830
14831 \end_inset
14832
14833 ] 様式の内容の最後に置かれる文字列.出力中の改行は
14834 \begin_inset Flex Code
14835 status collapsed
14836
14837 \begin_layout Plain Layout
14838 <br/>
14839 \end_layout
14840
14841 \end_inset
14842
14843 で指示できます.
14844 \end_layout
14845
14846 \begin_layout Description
14847 \begin_inset Flex Code
14848 status collapsed
14849
14850 \begin_layout Plain Layout
14851 RightMargin
14852 \end_layout
14853
14854 \end_inset
14855
14856  [
14857 \begin_inset Flex Code
14858 status collapsed
14859
14860 \begin_layout Plain Layout
14861 文字列=""
14862 \end_layout
14863
14864 \end_inset
14865
14866
14867 \begin_inset Flex Code
14868 status collapsed
14869
14870 \begin_layout Plain Layout
14871 LeftMargin
14872 \end_layout
14873
14874 \end_inset
14875
14876 に同様.
14877 \end_layout
14878
14879 \begin_layout Description
14880 \begin_inset Flex Code
14881 status collapsed
14882
14883 \begin_layout Plain Layout
14884 Spacing
14885 \end_layout
14886
14887 \end_inset
14888
14889  [
14890 \begin_inset Flex Code
14891 status collapsed
14892
14893 \begin_layout Plain Layout
14894
14895 \emph on
14896 single
14897 \end_layout
14898
14899 \end_inset
14900
14901 ,
14902  
14903 \begin_inset Flex Code
14904 status collapsed
14905
14906 \begin_layout Plain Layout
14907 onehalf
14908 \end_layout
14909
14910 \end_inset
14911
14912 ,
14913  
14914 \begin_inset Flex Code
14915 status collapsed
14916
14917 \begin_layout Plain Layout
14918 double
14919 \end_layout
14920
14921 \end_inset
14922
14923 ,
14924  
14925 \begin_inset Flex Code
14926 status collapsed
14927
14928 \begin_layout Plain Layout
14929 other
14930 \begin_inset space ~
14931 \end_inset
14932
14933 <
14934 \emph on
14935
14936 \emph default
14937 >
14938 \end_layout
14939
14940 \end_inset
14941
14942 ]
14943 \lang english
14944  
14945 \lang japanese
14946 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
14947 \begin_inset Flex Code
14948 status collapsed
14949
14950 \begin_layout Plain Layout
14951 single
14952 \end_layout
14953
14954 \end_inset
14955
14956
14957 \begin_inset Flex Code
14958 status collapsed
14959
14960 \begin_layout Plain Layout
14961 onehalf
14962 \end_layout
14963
14964 \end_inset
14965
14966
14967 \begin_inset Flex Code
14968 status collapsed
14969
14970 \begin_layout Plain Layout
14971 double
14972 \end_layout
14973
14974 \end_inset
14975
14976 は,
14977 それぞれ乗数1・1.25・1.667に対応します.引数
14978 \begin_inset Flex Code
14979 status collapsed
14980
14981 \begin_layout Plain Layout
14982 other
14983 \end_layout
14984
14985 \end_inset
14986
14987 を指定した場合には,
14988 実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
14989 \begin_inset Flex Code
14990 status collapsed
14991
14992 \begin_layout Plain Layout
14993 Spacing
14994 \end_layout
14995
14996 \end_inset
14997
14998 は,
14999 \SpecialChar LaTeX
15000 パッケージ
15001 \begin_inset Flex Code
15002 status collapsed
15003
15004 \begin_layout Plain Layout
15005 setspace
15006 \end_layout
15007
15008 \end_inset
15009
15010 パッケージを使用した,
15011 限定的な\SpecialChar LaTeX
15012 コードを生成することを意味することにご注意ください.
15013 \end_layout
15014
15015 \begin_layout Description
15016 \begin_inset Flex Code
15017 status collapsed
15018
15019 \begin_layout Plain Layout
15020 Spellcheck
15021 \end_layout
15022
15023 \end_inset
15024
15025  [
15026 \begin_inset Flex Code
15027 status collapsed
15028
15029 \begin_layout Plain Layout
15030 0
15031 \end_layout
15032
15033 \end_inset
15034
15035 ,
15036 \begin_inset space \thinspace{}
15037 \end_inset
15038
15039
15040 \begin_inset Flex Code
15041 status collapsed
15042
15043 \begin_layout Plain Layout
15044 1
15045 \end_layout
15046
15047 \end_inset
15048
15049 ] この様式の段落をスペルチェックするか否か.既定値は真です.
15050 \end_layout
15051
15052 \begin_layout Description
15053 \begin_inset Flex Code
15054 status collapsed
15055
15056 \begin_layout Plain Layout
15057 StepMasterCounter
15058 \end_layout
15059
15060 \end_inset
15061
15062  [
15063 \begin_inset Flex Code
15064 status collapsed
15065
15066 \begin_layout Plain Layout
15067
15068 \emph on
15069 0
15070 \end_layout
15071
15072 \end_inset
15073
15074 ,
15075 \begin_inset Flex Code
15076 status collapsed
15077
15078 \begin_layout Plain Layout
15079 1
15080 \end_layout
15081
15082 \end_inset
15083
15084 ] 新しいレイアウト群を開始する際に,
15085 このカウンタの親カウンタを進めるか否か.これは,
15086 現在のところ,
15087
15088 \begin_inset Flex Code
15089 status collapsed
15090
15091 \begin_layout Plain Layout
15092 LabelType
15093 \end_layout
15094
15095 \end_inset
15096
15097
15098 \begin_inset Flex Code
15099 status collapsed
15100
15101 \begin_layout Plain Layout
15102 Enumerate
15103 \end_layout
15104
15105 \end_inset
15106
15107 の時のみ有効です.
15108 \end_layout
15109
15110 \begin_layout Description
15111 \begin_inset Flex Code
15112 status collapsed
15113
15114 \begin_layout Plain Layout
15115 TextFont
15116 \end_layout
15117
15118 \end_inset
15119
15120  本文に使うフォント.第
15121 \begin_inset CommandInset ref
15122 LatexCommand ref
15123 reference "subsec:フォント指定"
15124 nolink "false"
15125
15126 \end_inset
15127
15128 節参照.
15129 \end_layout
15130
15131 \begin_layout Description
15132 \begin_inset Flex Code
15133 status collapsed
15134
15135 \begin_layout Plain Layout
15136 TocLevel
15137 \end_layout
15138
15139 \end_inset
15140
15141  [
15142 \begin_inset Flex Code
15143 status collapsed
15144
15145 \begin_layout Plain Layout
15146 整数型=3
15147 \end_layout
15148
15149 \end_inset
15150
15151 ] 目次中でのこの様式の階層.これは,
15152 節見出しの自動連番に使用されます.
15153 \end_layout
15154
15155 \begin_layout Description
15156 \begin_inset Flex Code
15157 status collapsed
15158
15159 \begin_layout Plain Layout
15160 ToggleIndent
15161 \end_layout
15162
15163 \end_inset
15164
15165  [
15166 \emph on
15167
15168 \begin_inset Flex Code
15169 status collapsed
15170
15171 \begin_layout Plain Layout
15172 default
15173 \end_layout
15174
15175 \end_inset
15176
15177
15178 \emph default
15179 ,
15180  
15181 \begin_inset Flex Code
15182 status collapsed
15183
15184 \begin_layout Plain Layout
15185 always
15186 \end_layout
15187
15188 \end_inset
15189
15190 ,
15191  
15192 \begin_inset Flex Code
15193 status collapsed
15194
15195 \begin_layout Plain Layout
15196 never
15197 \end_layout
15198
15199 \end_inset
15200
15201 ] このタグは,
15202 この段落の1行目の行頭下げが,
15203 段落設定ダイアログで切り替えられるかどうかを決めます.
15204 \begin_inset Flex Code
15205 status collapsed
15206
15207 \begin_layout Plain Layout
15208 default
15209 \end_layout
15210
15211 \end_inset
15212
15213 が指定されると,
15214 文書設定が「行頭下げ」段落様式を使用しているときに,
15215 行頭下げを変更することができます.
15216 \begin_inset Flex Code
15217 status collapsed
15218
15219 \begin_layout Plain Layout
15220 always
15221 \end_layout
15222
15223 \end_inset
15224
15225 は,
15226 文書設定にかかわらず変更することができ,
15227
15228 \begin_inset Flex Code
15229 status collapsed
15230
15231 \begin_layout Plain Layout
15232 never
15233 \end_layout
15234
15235 \end_inset
15236
15237 は,
15238 どのような場合でも変更することができません.
15239 \end_layout
15240
15241 \begin_layout Description
15242 \begin_inset Flex Code
15243 status collapsed
15244
15245 \begin_layout Plain Layout
15246 TopSep
15247 \end_layout
15248
15249 \end_inset
15250
15251  [
15252 \begin_inset Flex Code
15253 status collapsed
15254
15255 \begin_layout Plain Layout
15256 浮動小数点型=0
15257 \end_layout
15258
15259 \end_inset
15260
15261 ] このレイアウトを持つ一連の段落群の最初の段落と,
15262 その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,
15263 余白は単純に追加されるのではなく,
15264 それらの最大値がとられます.
15265 \end_layout
15266
15267 \begin_layout Subsection
15268 段落様式の国際化
15269 \begin_inset CommandInset label
15270 LatexCommand label
15271 name "subsec:段落様式の国際化"
15272
15273 \end_inset
15274
15275
15276 \end_layout
15277
15278 \begin_layout Standard
15279 \SpecialChar LyX
15280 は,
15281 長きにわたってレイアウト情報の国際化をサポートしてきましたが,
15282 第2.0版までは,
15283 これは操作画面にのみ適用されるものであって,
15284 たとえばPDF出力には適用されませんでした.たとえば,
15285 フランスの著者が,
15286 「Theorem 1」の代わりに「
15287 \lang french
15288 Théorème
15289 \lang japanese
15290  1」としたければ,
15291 醜いハックに頼るしかありませんでした.Georg Baumのおかげで,
15292 これは解消されました.
15293 \end_layout
15294
15295 \begin_layout Standard
15296 もし
15297 \begin_inset Flex MenuItem
15298 status collapsed
15299
15300 \begin_layout Plain Layout
15301 Style
15302 \end_layout
15303
15304 \end_inset
15305
15306 が,
15307 組版文書に出力される文字列を定義するのであれば,
15308 非英語文書や複数言語文書をサポートするために,
15309
15310 \begin_inset Flex MenuItem
15311 status collapsed
15312
15313 \begin_layout Plain Layout
15314 LangPreamble
15315 \end_layout
15316
15317 \end_inset
15318
15319
15320 \begin_inset Flex MenuItem
15321 status collapsed
15322
15323 \begin_layout Plain Layout
15324 BabelPreamble
15325 \end_layout
15326
15327 \end_inset
15328
15329 を使用することができます.以下の抜粋(
15330 \begin_inset Flex MenuItem
15331 status collapsed
15332
15333 \begin_layout Plain Layout
15334 theorems-ams.inc
15335 \end_layout
15336
15337 \end_inset
15338
15339 より)は,
15340 これがどう動作するかを示すものです.
15341 \end_layout
15342
15343 \begin_layout LyX-Code
15344 Preamble
15345 \end_layout
15346
15347 \begin_deeper
15348 \begin_layout LyX-Code
15349   
15350 \backslash
15351 theoremstyle{remark}
15352 \end_layout
15353
15354 \begin_layout LyX-Code
15355   
15356 \backslash
15357 newtheorem{claim}[thm]{
15358 \backslash
15359 protect
15360 \backslash
15361 claimname}
15362 \end_layout
15363
15364 \begin_layout LyX-Code
15365 EndPreamble
15366 \end_layout
15367
15368 \begin_layout LyX-Code
15369 LangPreamble
15370 \end_layout
15371
15372 \begin_layout LyX-Code
15373   
15374 \backslash
15375 providecommand{
15376 \backslash
15377 claimname}{_(Claim)}
15378 \end_layout
15379
15380 \begin_layout LyX-Code
15381 EndLangPreamble
15382 \end_layout
15383
15384 \begin_layout LyX-Code
15385 BabelPreamble
15386 \end_layout
15387
15388 \begin_layout LyX-Code
15389     
15390 \backslash
15391 addto
15392 \backslash
15393 captions$$lang{
15394 \backslash
15395 renewcommand{
15396 \backslash
15397 claimname}{_(Claim)}}
15398 \end_layout
15399
15400 \begin_layout LyX-Code
15401 EndBabelPreamble
15402 \end_layout
15403
15404 \end_deeper
15405 \begin_layout Standard
15406 原則として,
15407
15408 \begin_inset Flex MenuItem
15409 status collapsed
15410
15411 \begin_layout Plain Layout
15412 LangPreamble
15413 \end_layout
15414
15415 \end_inset
15416
15417
15418 \begin_inset Flex MenuItem
15419 status collapsed
15420
15421 \begin_layout Plain Layout
15422 BabelPreamble
15423 \end_layout
15424
15425 \end_inset
15426
15427 タグ内には,
15428 有効な\SpecialChar LaTeX
15429 コードはすべて用いることができますが,
15430 実際においては,
15431 ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるのは,
15432 \SpecialChar LaTeX
15433 コマンド
15434 \begin_inset Flex Code
15435 status collapsed
15436
15437 \begin_layout Plain Layout
15438
15439 \backslash
15440 claimname
15441 \end_layout
15442
15443 \end_inset
15444
15445 とその
15446 \begin_inset Flex Code
15447 status collapsed
15448
15449 \begin_layout Plain Layout
15450
15451 \backslash
15452 newtheorem
15453 \end_layout
15454
15455 \end_inset
15456
15457 中での用い方です.
15458 \end_layout
15459
15460 \begin_layout Standard
15461 \begin_inset Flex Code
15462 status collapsed
15463
15464 \begin_layout Plain Layout
15465 LangPreamble
15466 \end_layout
15467
15468 \end_inset
15469
15470 タグは,
15471 文書全体の言語に基づいた国際化を提供します.タグの内容は,
15472
15473 \begin_inset Flex Code
15474 status collapsed
15475
15476 \begin_layout Plain Layout
15477 Preamble
15478 \end_layout
15479
15480 \end_inset
15481
15482 タグと同様,
15483 プリアンブルに置かれるのですが,
15484 これを特別なものにしているのは,
15485 「関数」
15486 \begin_inset Flex Code
15487 status collapsed
15488
15489 \begin_layout Plain Layout
15490 _()
15491 \end_layout
15492
15493 \end_inset
15494
15495 が使用されていることです.これは,
15496 \SpecialChar LyX
15497 が\SpecialChar LaTeX
15498 出力を生成する際,
15499 その引数を文書言語に翻訳したもので置き換えられます.
15500 \end_layout
15501
15502 \begin_layout Standard
15503 \begin_inset Flex Code
15504 status collapsed
15505
15506 \begin_layout Plain Layout
15507 BabelPreamble
15508 \end_layout
15509
15510 \end_inset
15511
15512 タグは,
15513 複数言語文書をサポートし,
15514
15515 \begin_inset Flex Code
15516 status collapsed
15517
15518 \begin_layout Plain Layout
15519 babel
15520 \end_layout
15521
15522 \end_inset
15523
15524 パッケージへのインタフェースを提供することを意図しているので,
15525 もう少し複雑です.その内容は,
15526 文書に現れる言語それぞれについて一度,
15527 プリアンブルに追加されます.この場合には,
15528
15529 \begin_inset Flex Code
15530 status collapsed
15531
15532 \begin_layout Plain Layout
15533 _()
15534 \end_layout
15535
15536 \end_inset
15537
15538 の引数は,
15539 その当該言語への翻訳で置き換えられ,
15540
15541 \begin_inset Flex Code
15542 status collapsed
15543
15544 \begin_layout Plain Layout
15545 $$lang
15546 \end_layout
15547
15548 \end_inset
15549
15550 は言語名(babelパッケージで使用されるもの)で置き換えられます.
15551 \end_layout
15552
15553 \begin_layout Standard
15554 したがって,
15555 フランス語のセクションを持つドイツ語文書では,
15556 以下のような内容がプリアンブルに追加されます
15557 \end_layout
15558
15559 \begin_layout LyX-Code
15560
15561 \backslash
15562 addto
15563 \backslash
15564 captionsfrench{
15565 \backslash
15566 renewcommand{
15567 \backslash
15568 claimname}{Affirmation}}
15569 \begin_inset Newline newline
15570 \end_inset
15571
15572
15573 \backslash
15574 addto
15575 \backslash
15576 captionsngerman{
15577 \backslash
15578 renewcommand{
15579 \backslash
15580 claimname}{Behauptung}}
15581 \begin_inset Newline newline
15582 \end_inset
15583
15584
15585 \backslash
15586 providecommand{
15587 \backslash
15588 claimname}{Behauptung}
15589 \end_layout
15590
15591 \begin_layout Standard
15592 それから,
15593 \SpecialChar LaTeX
15594
15595 \begin_inset Flex Code
15596 status collapsed
15597
15598 \begin_layout Plain Layout
15599 babel
15600 \end_layout
15601
15602 \end_inset
15603
15604 は協力して,
15605 出力に正しい文字列を生成します.
15606 \end_layout
15607
15608 \begin_layout Standard
15609 ここで注意しておくべき一つの重要な点は,
15610 翻訳は,
15611
15612 \begin_inset Flex Code
15613 status collapsed
15614
15615 \begin_layout Plain Layout
15616 layouttranslations
15617 \end_layout
15618
15619 \end_inset
15620
15621 ファイルを通じて,
15622 \SpecialChar LyX
15623 自身によって提供されるということです.つまり,
15624 ユーザー作成のレイアウトファイルに入力された文字列は,
15625
15626 \begin_inset Flex Code
15627 status collapsed
15628
15629 \begin_layout Plain Layout
15630 layouttranslations
15631 \end_layout
15632
15633 \end_inset
15634
15635 ファイルをそれに応じて変更しない限り,
15636 \SpecialChar LyX
15637 の国際化ルーチンでは取り扱われないので,
15638
15639 \begin_inset Flex MenuItem
15640 status collapsed
15641
15642 \begin_layout Plain Layout
15643 LangPreamble
15644 \end_layout
15645
15646 \end_inset
15647
15648
15649 \begin_inset Flex MenuItem
15650 status collapsed
15651
15652 \begin_layout Plain Layout
15653 BabelPreamble
15654 \end_layout
15655
15656 \end_inset
15657
15658 は,
15659 事実上,
15660 \SpecialChar LyX
15661 とともに提供されるレイアウトファイルでのみ,
15662 使うことができるということを意味します.とはいえ,
15663 こういうことでありますので,
15664 将来的に\SpecialChar LyX
15665 に同梱させようという意図を以て作成されたレイアウトは,
15666 適切なところではすべて,
15667 これらのタグを使用するべきです.\SpecialChar LyX
15668 が提供する段落様式の翻訳は,
15669 マイナー更新(例えば2.1.x版から2.1.y版)では変更されないことに注意してください.しかしながら,
15670 メジャー更新(例えば2.0.x版から2.1.y版)では,
15671 新しい翻訳や修正が導入される可能性は大いにあります.
15672 \end_layout
15673
15674 \begin_layout Subsection
15675 フロート
15676 \begin_inset CommandInset label
15677 LatexCommand label
15678 name "subsec:フロート"
15679
15680 \end_inset
15681
15682
15683 \end_layout
15684
15685 \begin_layout Standard
15686 \SpecialChar LyX
15687 第1.3.0版以来,
15688 テキストクラス自体の中でフロート(
15689 \begin_inset Flex MenuItem
15690 status collapsed
15691
15692 \begin_layout Plain Layout
15693 figure
15694 \end_layout
15695
15696 \end_inset
15697
15698
15699 \begin_inset Flex MenuItem
15700 status collapsed
15701
15702 \begin_layout Plain Layout
15703 table
15704 \end_layout
15705
15706 \end_inset
15707
15708 ・\SpecialChar ldots
15709 )を定義することが可能となり,
15710 かつ必要となりました.標準的なフロートは
15711 \begin_inset Flex Code
15712 status collapsed
15713
15714 \begin_layout Plain Layout
15715 stdfloats.inc
15716 \end_layout
15717
15718 \end_inset
15719
15720 ファイルに含まれているので,
15721 作業中のレイアウトファイルに
15722 \end_layout
15723
15724 \begin_layout LyX-Code
15725 Input stdfloats.inc
15726 \end_layout
15727
15728 \begin_layout Standard
15729 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
15730 に同梱されているAGUクラスのように,
15731 それ以外のフロート型を提供するテキストクラスを実装するには,
15732 以下の情報が役立つでありましょう.
15733 \end_layout
15734
15735 \begin_layout Description
15736 \begin_inset Flex Code
15737 status collapsed
15738
15739 \begin_layout Plain Layout
15740 AllowedPlacement
15741 \end_layout
15742
15743 \end_inset
15744
15745  [
15746 \begin_inset Flex Code
15747 status collapsed
15748
15749 \begin_layout Plain Layout
15750 文字列
15751 \end_layout
15752
15753 \end_inset
15754
15755 =!htbpH] このフロート型に許可された配置用の選択肢.値は,
15756 配置文字からなる文字列です.使用できる文字には,
15757
15758 \emph on
15759 h
15760 \emph default
15761  (
15762 \begin_inset Quotes eld
15763 \end_inset
15764
15765 here if possible:
15766 可能ならば現在位置に
15767 \begin_inset Quotes erd
15768 \end_inset
15769
15770 ),
15771  
15772 \emph on
15773 t
15774 \emph default
15775  (
15776 \begin_inset Quotes eld
15777 \end_inset
15778
15779 top of page:
15780 ページ上部
15781 \begin_inset Quotes erd
15782 \end_inset
15783
15784 )・
15785 \emph on
15786 b
15787 \emph default
15788  (
15789 \begin_inset Quotes eld
15790 \end_inset
15791
15792 bottom of page:
15793 ページ下部
15794 \begin_inset Quotes erd
15795 \end_inset
15796
15797 )・
15798 \emph on
15799 p
15800 \emph default
15801  (
15802 \begin_inset Quotes eld
15803 \end_inset
15804
15805 page of floats:
15806 フロートを独立したページに
15807 \begin_inset Quotes erd
15808 \end_inset
15809
15810 )・
15811 \emph on
15812 H
15813 \emph default
15814  (
15815 \begin_inset Quotes eld
15816 \end_inset
15817
15818 here definitely:
15819 何としても現在位置に置く
15820 \begin_inset Quotes erd
15821 \end_inset
15822
15823 )・
15824 \emph on
15825 !
15826
15827 \emph default
15828  (
15829 \begin_inset Quotes eld
15830 \end_inset
15831
15832 ignore LaTeX rules:
15833 LaTeXの規則を無視する
15834 \begin_inset Quotes erd
15835 \end_inset
15836
15837 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,
15838 文字列として
15839 \emph on
15840 none
15841 \emph default
15842 を与えてください.
15843 \end_layout
15844
15845 \begin_layout Description
15846 \begin_inset Flex Code
15847 status collapsed
15848
15849 \begin_layout Plain Layout
15850 AllowsSideways
15851 \end_layout
15852
15853 \end_inset
15854
15855  [
15856 \begin_inset Flex Code
15857 status collapsed
15858
15859 \begin_layout Plain Layout
15860 0
15861 \end_layout
15862
15863 \end_inset
15864
15865 ,
15866 \begin_inset space \thinspace{}
15867 \end_inset
15868
15869
15870 \emph on
15871
15872 \begin_inset Flex Code
15873 status collapsed
15874
15875 \begin_layout Plain Layout
15876 1
15877 \end_layout
15878
15879 \end_inset
15880
15881
15882 \emph default
15883 ] フロートを,
15884 \SpecialChar LaTeX
15885 パッケージの
15886 \family typewriter
15887 rotfloat
15888 \family default
15889  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
15890
15891 \begin_inset Flex Code
15892 status collapsed
15893
15894 \begin_layout Plain Layout
15895 0
15896 \end_layout
15897
15898 \end_inset
15899
15900 を指定してください.
15901 \end_layout
15902
15903 \begin_layout Description
15904 \begin_inset Flex Code
15905 status collapsed
15906
15907 \begin_layout Plain Layout
15908 AllowsWide
15909 \end_layout
15910
15911 \end_inset
15912
15913  [
15914 \begin_inset Flex Code
15915 status collapsed
15916
15917 \begin_layout Plain Layout
15918 0
15919 \end_layout
15920
15921 \end_inset
15922
15923 ,
15924 \begin_inset space \thinspace{}
15925 \end_inset
15926
15927
15928 \emph on
15929
15930 \begin_inset Flex Code
15931 status collapsed
15932
15933 \begin_layout Plain Layout
15934 1
15935 \end_layout
15936
15937 \end_inset
15938
15939
15940 \emph default
15941 ] このフロートに,
15942 二段組段落において段落をまたぐ,
15943 星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
15944
15945 \begin_inset Flex Code
15946 status collapsed
15947
15948 \begin_layout Plain Layout
15949 0
15950 \end_layout
15951
15952 \end_inset
15953
15954 を指定してください.
15955 \end_layout
15956
15957 \begin_layout Description
15958 \begin_inset Flex Code
15959 status collapsed
15960
15961 \begin_layout Plain Layout
15962 Extension
15963 \end_layout
15964
15965 \end_inset
15966
15967  [
15968 \begin_inset Flex Code
15969 status collapsed
15970
15971 \begin_layout Plain Layout
15972 文字列
15973 \end_layout
15974
15975 \end_inset
15976
15977 =
15978 \begin_inset Quotes erd
15979 \end_inset
15980
15981
15982 \begin_inset Quotes erd
15983 \end_inset
15984
15985 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
15986 がキャプションを書き込むファイルです.
15987 \end_layout
15988
15989 \begin_layout Description
15990 \begin_inset Flex Code
15991 status collapsed
15992
15993 \begin_layout Plain Layout
15994 GuiName
15995 \end_layout
15996
15997 \end_inset
15998
15999  [
16000 \begin_inset Flex Code
16001 status collapsed
16002
16003 \begin_layout Plain Layout
16004 文字列
16005 \end_layout
16006
16007 \end_inset
16008
16009 =
16010 \begin_inset Quotes erd
16011 \end_inset
16012
16013
16014 \begin_inset Quotes erd
16015 \end_inset
16016
16017 ] メニューとキャプションに使用される文字列.babelが使用される場合には,
16018 これは現在の言語に翻訳されます.
16019 \end_layout
16020
16021 \begin_layout Description
16022 \begin_inset Flex Code
16023 status collapsed
16024
16025 \begin_layout Plain Layout
16026 HTML*
16027 \end_layout
16028
16029 \end_inset
16030
16031  これらは,
16032 XHTML出力で使用されます.
16033 \begin_inset CommandInset ref
16034 LatexCommand ref
16035 reference "sec:XHTML出力のタグ"
16036 nolink "false"
16037
16038 \end_inset
16039
16040 をご覧ください.
16041 \end_layout
16042
16043 \begin_layout Description
16044 \begin_inset Flex Code
16045 status collapsed
16046
16047 \begin_layout Plain Layout
16048 IsPredefined
16049 \end_layout
16050
16051 \end_inset
16052
16053  [
16054 \begin_inset Flex Code
16055 status collapsed
16056
16057 \begin_layout Plain Layout
16058
16059 \emph on
16060 0
16061 \end_layout
16062
16063 \end_inset
16064
16065 ,
16066 \begin_inset space \thinspace{}
16067 \end_inset
16068
16069
16070 \begin_inset Flex Code
16071 status collapsed
16072
16073 \begin_layout Plain Layout
16074 1
16075 \end_layout
16076
16077 \end_inset
16078
16079 ] フロートがドキュメントクラス中に既に定義されているのか,
16080 あるいは\SpecialChar LaTeX
16081 パッケージ
16082 \begin_inset Flex Code
16083 status collapsed
16084
16085 \begin_layout Plain Layout
16086 float
16087 \end_layout
16088
16089 \end_inset
16090
16091 を読み込む必要があり,
16092 そのファイル内のものを使用して,
16093 オン・ザ・フライで定義するかを示します.既定は
16094 \begin_inset Flex Code
16095 status collapsed
16096
16097 \begin_layout Plain Layout
16098 0
16099 \end_layout
16100
16101 \end_inset
16102
16103 で,
16104 この場合
16105 \begin_inset Flex Code
16106 status collapsed
16107
16108 \begin_layout Plain Layout
16109 float
16110 \end_layout
16111
16112 \end_inset
16113
16114 を使用します.\SpecialChar LaTeX
16115 ドキュメントクラス中に既に定義されているときには,
16116
16117 \begin_inset Flex Code
16118 status collapsed
16119
16120 \begin_layout Plain Layout
16121 0
16122 \end_layout
16123
16124 \end_inset
16125
16126 に設定しなくてはなりません.
16127 \end_layout
16128
16129 \begin_layout Description
16130 \begin_inset Flex Code
16131 status collapsed
16132
16133 \begin_layout Plain Layout
16134 ListCommand
16135 \end_layout
16136
16137 \end_inset
16138
16139  [
16140 \begin_inset Flex Code
16141 status collapsed
16142
16143 \begin_layout Plain Layout
16144 文字列
16145 \end_layout
16146
16147 \end_inset
16148
16149 =
16150 \begin_inset Quotes erd
16151 \end_inset
16152
16153
16154 \begin_inset Quotes erd
16155 \end_inset
16156
16157 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
16158 \backslash
16159 」は書きません.
16160 \begin_inset Flex Code
16161 status collapsed
16162
16163 \begin_layout Plain Layout
16164 NeedsFloatPkg
16165 \end_layout
16166
16167 \end_inset
16168
16169 が偽の時には,
16170 このコマンドを生成する標準的な方法はないので,
16171 これは
16172 \emph on
16173 必ず
16174 \emph default
16175 指定しなくてはなりません.
16176 \begin_inset Flex Code
16177 status collapsed
16178
16179 \begin_layout Plain Layout
16180 NeedsFloatPkg
16181 \end_layout
16182
16183 \end_inset
16184
16185 が真の時は,
16186 標準的な方法が存在するので,
16187 これは無視されます.
16188 \end_layout
16189
16190 \begin_layout Description
16191 \begin_inset Flex Code
16192 status collapsed
16193
16194 \begin_layout Plain Layout
16195 ListName
16196 \end_layout
16197
16198 \end_inset
16199
16200  [
16201 \begin_inset Flex Code
16202 status collapsed
16203
16204 \begin_layout Plain Layout
16205 文字列
16206 \end_layout
16207
16208 \end_inset
16209
16210 =
16211 \begin_inset Quotes erd
16212 \end_inset
16213
16214
16215 \begin_inset Quotes erd
16216 \end_inset
16217
16218 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
16219 中では,
16220 これは画面上のラベルとして使用されます.また,
16221 見出しとして使用するために,
16222 La\SpecialChar TeX
16223 に渡され,
16224 XHTML出力でも見出しとして使用されます.これは,
16225 文書言語に翻訳されます.
16226 \end_layout
16227
16228 \begin_layout Description
16229 \begin_inset Flex Code
16230 status collapsed
16231
16232 \begin_layout Plain Layout
16233 NumberWithin
16234 \end_layout
16235
16236 \end_inset
16237
16238  [
16239 \begin_inset Flex Code
16240 status collapsed
16241
16242 \begin_layout Plain Layout
16243 文字列
16244 \end_layout
16245
16246 \end_inset
16247
16248 =
16249 \begin_inset Quotes erd
16250 \end_inset
16251
16252
16253 \begin_inset Quotes erd
16254 \end_inset
16255
16256 ] この(非必須の)引数は,
16257 このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
16258
16259 \begin_inset Flex Code
16260 status collapsed
16261
16262 \begin_layout Plain Layout
16263 NumberWithin
16264 \end_layout
16265
16266 \end_inset
16267
16268 が「
16269 \begin_inset Flex Code
16270 status collapsed
16271
16272 \begin_layout Plain Layout
16273 chapter
16274 \end_layout
16275
16276 \end_inset
16277
16278 」に指定されていれば,
16279 フロートは章ごとに番号が振り直されます.
16280 \end_layout
16281
16282 \begin_layout Description
16283 \begin_inset Flex Code
16284 status collapsed
16285
16286 \begin_layout Plain Layout
16287 Placement
16288 \end_layout
16289
16290 \end_inset
16291
16292  [
16293 \begin_inset Flex Code
16294 status collapsed
16295
16296 \begin_layout Plain Layout
16297 文字列
16298 \end_layout
16299
16300 \end_inset
16301
16302 =
16303 \begin_inset Quotes erd
16304 \end_inset
16305
16306
16307 \begin_inset Quotes erd
16308 \end_inset
16309
16310 ] このクラスのフロートの既定の配置法.文字列は,
16311 標準的な\SpecialChar LaTeX
16312 表記に従い,
16313
16314 \begin_inset Flex Code
16315 status collapsed
16316
16317 \begin_layout Plain Layout
16318 t
16319 \end_layout
16320
16321 \end_inset
16322
16323 ならば上部(top),
16324
16325 \begin_inset Flex Code
16326 status collapsed
16327
16328 \begin_layout Plain Layout
16329 b
16330 \end_layout
16331
16332 \end_inset
16333
16334 ならば下部(bottom),
16335
16336 \begin_inset Flex Code
16337 status collapsed
16338
16339 \begin_layout Plain Layout
16340 p
16341 \end_layout
16342
16343 \end_inset
16344
16345 ならばページ(page),
16346
16347 \begin_inset Flex Code
16348 status collapsed
16349
16350 \begin_layout Plain Layout
16351 h
16352 \end_layout
16353
16354 \end_inset
16355
16356 ならばここ(here)を表します
16357 \begin_inset Foot
16358 status collapsed
16359
16360 \begin_layout Plain Layout
16361 \SpecialChar LaTeX
16362 同様,
16363 文字列中でのこれらの文字の順序は関係ありません.
16364 \end_layout
16365
16366 \end_inset
16367
16368 .これらの他に新しい型
16369 \begin_inset Flex Code
16370 status collapsed
16371
16372 \begin_layout Plain Layout
16373 H
16374 \end_layout
16375
16376 \end_inset
16377
16378 があり,
16379 これはフロートを「ここ」に置いていいけれども他の場所はだめ,
16380 というものなので,
16381 本当はフロートにあるものではありません.しかし,
16382
16383 \begin_inset Flex Code
16384 status collapsed
16385
16386 \begin_layout Plain Layout
16387 H
16388 \end_layout
16389
16390 \end_inset
16391
16392 指定子は特別なものであり,
16393 その細かい実装上の理由で,
16394 組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,
16395 代わりに「
16396 \begin_inset Flex Code
16397 status collapsed
16398
16399 \begin_layout Plain Layout
16400 tbp
16401 \end_layout
16402
16403 \end_inset
16404
16405 」を指定してください.
16406 \end_layout
16407
16408 \begin_layout Description
16409 \begin_inset Flex Code
16410 status collapsed
16411
16412 \begin_layout Plain Layout
16413 RefPrefix
16414 \end_layout
16415
16416 \end_inset
16417
16418  [
16419 \begin_inset Flex Code
16420 status collapsed
16421
16422 \begin_layout Plain Layout
16423 文字列
16424 \end_layout
16425
16426 \end_inset
16427
16428 ] この型のフロートを参照する際,
16429 生成されるラベルに使用する前置句.これによって,
16430 整形参照を使用することができるようになります.コピーした様式が設定した
16431 \begin_inset Flex Code
16432 status collapsed
16433
16434 \begin_layout Plain Layout
16435 RefPrefix
16436 \end_layout
16437
16438 \end_inset
16439
16440 は,
16441 特別な文字列「OFF」(すべて大文字)を使えば,
16442 いつでも削除することができます.
16443 \end_layout
16444
16445 \begin_layout Description
16446 \begin_inset Flex Code
16447 status collapsed
16448
16449 \begin_layout Plain Layout
16450 Style
16451 \end_layout
16452
16453 \end_inset
16454
16455  [
16456 \begin_inset Flex Code
16457 status collapsed
16458
16459 \begin_layout Plain Layout
16460 文字列
16461 \end_layout
16462
16463 \end_inset
16464
16465 =
16466 \begin_inset Quotes erd
16467 \end_inset
16468
16469
16470 \begin_inset Quotes erd
16471 \end_inset
16472
16473
16474 \begin_inset Flex Code
16475 status collapsed
16476
16477 \begin_layout Plain Layout
16478
16479 \backslash
16480 newfloat
16481 \end_layout
16482
16483 \end_inset
16484
16485 を使用してフロートを定義する際に使用される様式.
16486 \end_layout
16487
16488 \begin_layout Description
16489 \begin_inset Flex Code
16490 status collapsed
16491
16492 \begin_layout Plain Layout
16493 Type
16494 \end_layout
16495
16496 \end_inset
16497
16498  [
16499 \begin_inset Flex Code
16500 status collapsed
16501
16502 \begin_layout Plain Layout
16503 文字列
16504 \end_layout
16505
16506 \end_inset
16507
16508 =
16509 \begin_inset Quotes erd
16510 \end_inset
16511
16512
16513 \begin_inset Quotes erd
16514 \end_inset
16515
16516 ] プログラムやアルゴリズムのような,
16517 フロートの新しいクラス「型」.適切な
16518 \begin_inset Flex Code
16519 status collapsed
16520
16521 \begin_layout Plain Layout
16522
16523 \backslash
16524 newfloat
16525 \end_layout
16526
16527 \end_inset
16528
16529 の後で,
16530
16531 \begin_inset Flex Code
16532 status collapsed
16533
16534 \begin_layout Plain Layout
16535
16536 \backslash
16537 begin{program}
16538 \end_layout
16539
16540 \end_inset
16541
16542
16543 \begin_inset Flex Code
16544 status collapsed
16545
16546 \begin_layout Plain Layout
16547
16548 \backslash
16549 end{algorithm*}
16550 \end_layout
16551
16552 \end_inset
16553
16554 といったコマンドが利用できます.
16555 \end_layout
16556
16557 \begin_layout Description
16558 \begin_inset Flex Code
16559 status collapsed
16560
16561 \begin_layout Plain Layout
16562 UsesFloatPkg
16563 \end_layout
16564
16565 \end_inset
16566
16567  [
16568 \begin_inset Flex Code
16569 status collapsed
16570
16571 \begin_layout Plain Layout
16572 0
16573 \end_layout
16574
16575 \end_inset
16576
16577 ,
16578 \begin_inset space \thinspace{}
16579 \end_inset
16580
16581
16582 \begin_inset Flex Code
16583 status collapsed
16584
16585 \begin_layout Plain Layout
16586
16587 \emph on
16588 1
16589 \end_layout
16590
16591 \end_inset
16592
16593 ] このフロートが,
16594 クラスファイルやパッケージ中で,
16595 \SpecialChar LaTeX
16596 パッケージ
16597 \begin_inset Flex Code
16598 status collapsed
16599
16600 \begin_layout Plain Layout
16601 float
16602 \end_layout
16603
16604 \end_inset
16605
16606 が提供しているものを使用して定義されているのか,
16607 \SpecialChar LyX
16608 自身がオン・ザ・フライで定義しているのかを示します.
16609 \end_layout
16610
16611 \begin_layout Standard
16612 \begin_inset Flex Code
16613 status collapsed
16614
16615 \begin_layout Plain Layout
16616
16617 \emph on
16618 type
16619 \end_layout
16620
16621 \end_inset
16622
16623 型のフロートを定義すると,
16624 自動的に
16625 \emph on
16626 対応する
16627 \emph default
16628
16629 \begin_inset Flex Code
16630 status collapsed
16631
16632 \begin_layout Plain Layout
16633
16634 \emph on
16635 type
16636 \end_layout
16637
16638 \end_inset
16639
16640 名カウンタが定義されます.
16641 \end_layout
16642
16643 \begin_layout Subsection
16644 自由差込枠と差込枠レイアウト
16645 \begin_inset CommandInset label
16646 LatexCommand label
16647 name "subsec:任意設定差込枠"
16648
16649 \end_inset
16650
16651
16652 \end_layout
16653
16654 \begin_layout Standard
16655 自由差込枠には次の3種類があります.
16656 \end_layout
16657
16658 \begin_layout Itemize
16659 文字様式(
16660 \begin_inset Flex Code
16661 status collapsed
16662
16663 \begin_layout Plain Layout
16664 CharStyle
16665 \end_layout
16666
16667 \end_inset
16668
16669 ).これは,
16670
16671 \begin_inset Flex Code
16672 status collapsed
16673
16674 \begin_layout Plain Layout
16675
16676 \backslash
16677 noun
16678 \end_layout
16679
16680 \end_inset
16681
16682
16683 \begin_inset Flex Code
16684 status collapsed
16685
16686 \begin_layout Plain Layout
16687
16688 \backslash
16689 code
16690 \end_layout
16691
16692 \end_inset
16693
16694 などの\SpecialChar LaTeX
16695 コマンドに対応した意味論的マークアップを定義するものです.
16696 \end_layout
16697
16698 \begin_layout Itemize
16699 ユーザ設定(
16700 \begin_inset Flex Code
16701 status collapsed
16702
16703 \begin_layout Plain Layout
16704 Custom
16705 \end_layout
16706
16707 \end_inset
16708
16709 ).これは,
16710 \SpecialChar TeX
16711 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,
16712 これは
16713 \begin_inset Flex Code
16714 status collapsed
16715
16716 \begin_layout Plain Layout
16717 endnote
16718 \end_layout
16719
16720 \end_inset
16721
16722 モジュール中で定義されています.
16723 \end_layout
16724
16725 \begin_layout Itemize
16726 XML要素(
16727 \begin_inset Flex Code
16728 status collapsed
16729
16730 \begin_layout Plain Layout
16731 Element
16732 \end_layout
16733
16734 \end_inset
16735
16736 ).DocBookクラスで使用するものです.
16737 \end_layout
16738
16739 \begin_layout Standard
16740 自由差込枠は,
16741 以下で説明する
16742 \begin_inset Flex Code
16743 status collapsed
16744
16745 \begin_layout Plain Layout
16746 InsetLayout
16747 \end_layout
16748
16749 \end_inset
16750
16751 タグを使用して定義されます.
16752 \end_layout
16753
16754 \begin_layout Standard
16755 \begin_inset Flex Code
16756 status collapsed
16757
16758 \begin_layout Plain Layout
16759 InsetLayout
16760 \end_layout
16761
16762 \end_inset
16763
16764 タグは,
16765 もう一つ別の機能も提供します.これを使えば,
16766 いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
16767
16768 \begin_inset Flex Code
16769 status collapsed
16770
16771 \begin_layout Plain Layout
16772 InsetLayout
16773 \end_layout
16774
16775 \end_inset
16776
16777 は自由差込枠を定義することの他に,
16778 脚註・傍註・註釈差込枠・\SpecialChar TeX
16779 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザー定義するのに使用されます.
16780 \end_layout
16781
16782 \begin_layout Standard
16783 \begin_inset Flex Code
16784 status collapsed
16785
16786 \begin_layout Plain Layout
16787 InsetLayout
16788 \end_layout
16789
16790 \end_inset
16791
16792 定義は以下の形の行では始まらなくてはなりません.
16793 \end_layout
16794
16795 \begin_layout LyX-Code
16796 InsetLayout <型>
16797 \end_layout
16798
16799 \begin_layout Standard
16800 ここで
16801 \begin_inset Flex Code
16802 status collapsed
16803
16804 \begin_layout Plain Layout
16805 <型>
16806 \end_layout
16807
16808 \end_inset
16809
16810 は,
16811 レイアウトを定義しようとしている差込枠を指し,
16812 4つの場合があります.
16813 \end_layout
16814
16815 \begin_layout Enumerate
16816 既存の差込枠のレイアウトを変更する場合.この場合,
16817
16818 \begin_inset Flex Code
16819 status collapsed
16820
16821 \begin_layout Plain Layout
16822 <型>
16823 \end_layout
16824
16825 \end_inset
16826
16827 は以下のいずれかになります:
16828
16829 \begin_inset Flex Code
16830 status collapsed
16831
16832 \begin_layout Plain Layout
16833 Algorithm
16834 \end_layout
16835
16836 \end_inset
16837
16838
16839 \begin_inset Flex Code
16840 status collapsed
16841
16842 \begin_layout Plain Layout
16843 Branch
16844 \end_layout
16845
16846 \end_inset
16847
16848
16849 \begin_inset Flex Code
16850 status collapsed
16851
16852 \begin_layout Plain Layout
16853 Box
16854 \end_layout
16855
16856 \end_inset
16857
16858
16859 \begin_inset Flex Code
16860 status collapsed
16861
16862 \begin_layout Plain Layout
16863 Box:shaded
16864 \end_layout
16865
16866 \end_inset
16867
16868
16869 \begin_inset Flex Code
16870 status collapsed
16871
16872 \begin_layout Plain Layout
16873 Caption:Standard
16874 \end_layout
16875
16876 \end_inset
16877
16878
16879 \begin_inset Flex Code
16880 status collapsed
16881
16882 \begin_layout Plain Layout
16883 ERT
16884 \end_layout
16885
16886 \end_inset
16887
16888
16889 \begin_inset Flex Code
16890 status collapsed
16891
16892 \begin_layout Plain Layout
16893 Figure
16894 \end_layout
16895
16896 \end_inset
16897
16898
16899 \begin_inset Flex Code
16900 status collapsed
16901
16902 \begin_layout Plain Layout
16903 Foot
16904 \end_layout
16905
16906 \end_inset
16907
16908
16909 \begin_inset Flex Code
16910 status collapsed
16911
16912 \begin_layout Plain Layout
16913 Index
16914 \end_layout
16915
16916 \end_inset
16917
16918
16919 \begin_inset Flex Code
16920 status collapsed
16921
16922 \begin_layout Plain Layout
16923 Info
16924 \end_layout
16925
16926 \end_inset
16927
16928
16929 \begin_inset Flex Code
16930 status collapsed
16931
16932 \begin_layout Plain Layout
16933 Info:menu
16934 \end_layout
16935
16936 \end_inset
16937
16938
16939 \begin_inset Flex Code
16940 status collapsed
16941
16942 \begin_layout Plain Layout
16943 Info:shortcut
16944 \end_layout
16945
16946 \end_inset
16947
16948
16949 \begin_inset Flex Code
16950 status collapsed
16951
16952 \begin_layout Plain Layout
16953 Info:shortcuts
16954 \end_layout
16955
16956 \end_inset
16957
16958
16959 \begin_inset Flex Code
16960 status collapsed
16961
16962 \begin_layout Plain Layout
16963 Listings
16964 \end_layout
16965
16966 \end_inset
16967
16968
16969 \begin_inset Flex Code
16970 status collapsed
16971
16972 \begin_layout Plain Layout
16973 Marginal
16974 \end_layout
16975
16976 \end_inset
16977
16978
16979 \begin_inset Flex Code
16980 status collapsed
16981
16982 \begin_layout Plain Layout
16983 Note:Comment
16984 \end_layout
16985
16986 \end_inset
16987
16988
16989 \begin_inset Flex Code
16990 status collapsed
16991
16992 \begin_layout Plain Layout
16993 Note:Note
16994 \end_layout
16995
16996 \end_inset
16997
16998
16999 \begin_inset Flex Code
17000 status collapsed
17001
17002 \begin_layout Plain Layout
17003 Note:GreyedOut
17004 \end_layout
17005
17006 \end_inset
17007
17008
17009 \begin_inset Flex Code
17010 status collapsed
17011
17012 \begin_layout Plain Layout
17013 Table
17014 \end_layout
17015
17016 \end_inset
17017
17018
17019 \begin_inset Flex Code
17020 status collapsed
17021
17022 \begin_layout Plain Layout
17023 URL
17024 \end_layout
17025
17026 \end_inset
17027
17028
17029 \end_layout
17030
17031 \begin_layout Enumerate
17032 自由差込枠のレイアウトを定義する場合.この場合,
17033
17034 \begin_inset Flex Code
17035 status collapsed
17036
17037 \begin_layout Plain Layout
17038 <型>
17039 \end_layout
17040
17041 \end_inset
17042
17043
17044 \begin_inset Flex Code
17045 status collapsed
17046
17047 \begin_layout Plain Layout
17048 Flex:<名称>
17049 \end_layout
17050
17051 \end_inset
17052
17053 の形でなくてはなりません.ここで,
17054
17055 \begin_inset Flex Code
17056 status collapsed
17057
17058 \begin_layout Plain Layout
17059 名称
17060 \end_layout
17061
17062 \end_inset
17063
17064 は,
17065 既存の自由差込枠で使用されていない有効な識別子であれば,
17066 何でも構いません.識別子には空白を入れることもできますが,
17067 この場合には全体を引用符で囲まなくてはなりません.自由差込枠の定義には,
17068 この定義がどの差込枠型なのか宣言するために,
17069
17070 \begin_inset Flex Code
17071 status collapsed
17072
17073 \begin_layout Plain Layout
17074 LyXType
17075 \end_layout
17076
17077 \end_inset
17078
17079 項目が含まれていなくてはならないことに注意してください.
17080 \end_layout
17081
17082 \begin_layout Enumerate
17083 ユーザー定義派生枝を定義する場合.この場合,
17084
17085 \begin_inset Flex Code
17086 status collapsed
17087
17088 \begin_layout Plain Layout
17089 <型>
17090 \end_layout
17091
17092 \end_inset
17093
17094 は「
17095 \begin_inset Flex Code
17096 status collapsed
17097
17098 \begin_layout Plain Layout
17099 Branch:<名称>
17100 \end_layout
17101
17102 \end_inset
17103
17104 」の形でなくてはなりません.ここで,
17105
17106 \begin_inset Flex Code
17107 status collapsed
17108
17109 \begin_layout Plain Layout
17110 名称
17111 \end_layout
17112
17113 \end_inset
17114
17115 は,
17116 ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,
17117 その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主な目的は,
17118 ユーザーの必要に応じて,
17119 特定の派生枝を\SpecialChar LaTeX
17120 がくるむことができるようにすることです.
17121 \end_layout
17122
17123 \begin_layout Enumerate
17124 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
17125
17126 \begin_inset Flex Code
17127 status collapsed
17128
17129 \begin_layout Plain Layout
17130 <型>
17131 \end_layout
17132
17133 \end_inset
17134
17135 は「
17136 \begin_inset Flex Code
17137 status collapsed
17138
17139 \begin_layout Plain Layout
17140 Caption:<名称>
17141 \end_layout
17142
17143 \end_inset
17144
17145 」の形でなくてはなりません.ここで,
17146
17147 \begin_inset Flex Code
17148 status collapsed
17149
17150 \begin_layout Plain Layout
17151 名称
17152 \end_layout
17153
17154 \end_inset
17155
17156 は,
17157 メニューに表示されるキャプション名です.応用例については,
17158 標準キャプション(
17159 \begin_inset Flex Code
17160 status collapsed
17161
17162 \begin_layout Plain Layout
17163 Caption:Standard
17164 \end_layout
17165
17166 \end_inset
17167
17168 ),
17169 若しくはKOMA-Scriptクラスのクラス定義キャプション(
17170 \begin_inset Flex Code
17171 status collapsed
17172
17173 \begin_layout Plain Layout
17174 Caption:Above
17175 \end_layout
17176
17177 \end_inset
17178
17179 ,
17180  
17181 \begin_inset Flex Code
17182 status collapsed
17183
17184 \begin_layout Plain Layout
17185 Caption:Below
17186 \end_layout
17187
17188 \end_inset
17189
17190 ),
17191
17192 \family sans
17193 多言語キャプション
17194 \family default
17195 モジュール(
17196 \begin_inset Flex Code
17197 status collapsed
17198
17199 \begin_layout Plain Layout
17200 Caption:\SpecialChar allowbreak
17201 Bicaption
17202 \end_layout
17203
17204 \end_inset
17205
17206 )をご覧ください.
17207 \end_layout
17208
17209 \begin_layout Standard
17210 \begin_inset Flex Code
17211 status collapsed
17212
17213 \begin_layout Plain Layout
17214 InsetLayout
17215 \end_layout
17216
17217 \end_inset
17218
17219 定義には以下の項目を入れることができます.
17220 \end_layout
17221
17222 \begin_layout Description
17223 \begin_inset Flex Code
17224 status collapsed
17225
17226 \begin_layout Plain Layout
17227 AddToToc
17228 \end_layout
17229
17230 \end_inset
17231
17232  [
17233 \begin_inset Flex Code
17234 status collapsed
17235
17236 \begin_layout Plain Layout
17237 文字列
17238 \end_layout
17239
17240 \end_inset
17241
17242 =""] この差込枠は,
17243 この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参照してください.これは,
17244 自由差込枠にのみ実装されています.既定値:
17245 無効.
17246 \end_layout
17247
17248 \begin_layout Description
17249 \begin_inset Flex Code
17250 status collapsed
17251
17252 \begin_layout Plain Layout
17253 Argument
17254 \end_layout
17255
17256 \end_inset
17257
17258  [
17259 \begin_inset Flex Code
17260 status collapsed
17261
17262 \begin_layout Plain Layout
17263 整数
17264 \end_layout
17265
17266 \end_inset
17267
17268 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
17269 \begin_inset Flex Code
17270 status collapsed
17271
17272 \begin_layout Plain Layout
17273 EndArgument
17274 \end_layout
17275
17276 \end_inset
17277
17278 で閉じなくてはなりません.詳細は第
17279 \begin_inset CommandInset ref
17280 LatexCommand ref
17281 reference "subsec:段落様式"
17282 nolink "false"
17283
17284 \end_inset
17285
17286 節参照.
17287 \end_layout
17288
17289 \begin_layout Description
17290 \begin_inset Flex Code
17291 status collapsed
17292
17293 \begin_layout Plain Layout
17294 BabelPreamble
17295 \end_layout
17296
17297 \end_inset
17298
17299  言語コマンドを変更するプリアンブル.第
17300 \begin_inset CommandInset ref
17301 LatexCommand ref
17302 reference "subsec:段落様式の国際化"
17303 nolink "false"
17304
17305 \end_inset
17306
17307 節参照.
17308 \end_layout
17309
17310 \begin_layout Description
17311 \begin_inset Flex Code
17312 status collapsed
17313
17314 \begin_layout Plain Layout
17315 BgColor
17316 \end_layout
17317
17318 \end_inset
17319
17320  [
17321 \begin_inset Flex Code
17322 status collapsed
17323
17324 \begin_layout Plain Layout
17325 <名称>
17326 \end_layout
17327
17328 \end_inset
17329
17330 ] 差込枠の背景色.使用できる色名一覧は第
17331 \begin_inset CommandInset ref
17332 LatexCommand ref
17333 reference "chap:色名"
17334 nolink "false"
17335
17336 \end_inset
17337
17338 節参照.
17339 \end_layout
17340
17341 \begin_layout Description
17342 \begin_inset Flex Code
17343 status collapsed
17344
17345 \begin_layout Plain Layout
17346 ContentAsLabel
17347 \end_layout
17348
17349 \end_inset
17350
17351  [
17352 \begin_inset Flex Code
17353 status collapsed
17354
17355 \begin_layout Plain Layout
17356
17357 \emph on
17358 0
17359 \end_layout
17360
17361 \end_inset
17362
17363 ,
17364 \begin_inset space \thinspace{}
17365 \end_inset
17366
17367
17368 \begin_inset Flex Code
17369 status collapsed
17370
17371 \begin_layout Plain Layout
17372 1
17373 \end_layout
17374
17375 \end_inset
17376
17377 ] 差込枠を閉じた際,
17378 差込枠の内容をラベルとして使用するか否か.既定値は偽です.
17379 \end_layout
17380
17381 \begin_layout Description
17382 \begin_inset Flex Code
17383 status collapsed
17384
17385 \begin_layout Plain Layout
17386 CopyStyle
17387 \end_layout
17388
17389 \end_inset
17390
17391  [<型>] 段落様式と同様です.第
17392 \begin_inset CommandInset ref
17393 LatexCommand ref
17394 reference "subsec:段落様式"
17395 nolink "false"
17396
17397 \end_inset
17398
17399 節参照のこと.完全な型を指定する必要があることに注意してください.例:
17400 \begin_inset Flex Code
17401 status collapsed
17402
17403 \begin_layout Plain Layout
17404 CopyStyle Flex:<名称>
17405 \end_layout
17406
17407 \end_inset
17408
17409
17410 \end_layout
17411
17412 \begin_layout Description
17413 \begin_inset Flex Code
17414 status collapsed
17415
17416 \begin_layout Plain Layout
17417 CustomPars
17418 \end_layout
17419
17420 \end_inset
17421
17422  [
17423 \begin_inset Flex Code
17424 status collapsed
17425
17426 \begin_layout Plain Layout
17427
17428 \emph on
17429 0
17430 \end_layout
17431
17432 \end_inset
17433
17434 ,
17435 \begin_inset space \thinspace{}
17436 \end_inset
17437
17438
17439 \begin_inset Flex Code
17440 status collapsed
17441
17442 \begin_layout Plain Layout
17443 1
17444 \end_layout
17445
17446 \end_inset
17447
17448 ] 段落を設定するのに,
17449 段落設定ダイアログをユーザが使えるかどうかを指定します.
17450 \end_layout
17451
17452 \begin_layout Description
17453 \begin_inset Flex Code
17454 status collapsed
17455
17456 \begin_layout Plain Layout
17457 Decoration
17458 \end_layout
17459
17460 \end_inset
17461
17462  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
17463
17464 \begin_inset Flex Code
17465 status collapsed
17466
17467 \begin_layout Plain Layout
17468 Classic
17469 \end_layout
17470
17471 \end_inset
17472
17473
17474 \begin_inset Flex Code
17475 status collapsed
17476
17477 \begin_layout Plain Layout
17478 Minimalistic
17479 \end_layout
17480
17481 \end_inset
17482
17483
17484 \begin_inset Flex Code
17485 status collapsed
17486
17487 \begin_layout Plain Layout
17488 Conglomerate
17489 \end_layout
17490
17491 \end_inset
17492
17493 のいずれかを指定することができます.脚註は通常
17494 \begin_inset Flex Code
17495 status collapsed
17496
17497 \begin_layout Plain Layout
17498 Classic
17499 \end_layout
17500
17501 \end_inset
17502
17503 を使用し,
17504 \SpecialChar TeX
17505 コード差込枠は通常
17506 \begin_inset Flex Code
17507 status collapsed
17508
17509 \begin_layout Plain Layout
17510 Minimalistic
17511 \end_layout
17512
17513 \end_inset
17514
17515
17516 文字様式は
17517 \begin_inset Flex Code
17518 status collapsed
17519
17520 \begin_layout Plain Layout
17521 Conglomerate
17522 \end_layout
17523
17524 \end_inset
17525
17526 を使用します.
17527 \end_layout
17528
17529 \begin_layout Description
17530 \begin_inset Flex Code
17531 status collapsed
17532
17533 \begin_layout Plain Layout
17534 Display
17535 \end_layout
17536
17537 \end_inset
17538
17539  [
17540 \begin_inset Flex Code
17541 status collapsed
17542
17543 \begin_layout Plain Layout
17544 0
17545 \end_layout
17546
17547 \end_inset
17548
17549 ,
17550 \begin_inset space \thinspace{}
17551 \end_inset
17552
17553
17554 \begin_inset Flex Code
17555 status collapsed
17556
17557 \begin_layout Plain Layout
17558
17559 \emph on
17560 1
17561 \end_layout
17562
17563 \end_inset
17564
17565
17566 \begin_inset Flex Code
17567 status collapsed
17568
17569 \begin_layout Plain Layout
17570 LatexType
17571 \end_layout
17572
17573 \end_inset
17574
17575
17576 \begin_inset Flex Code
17577 status collapsed
17578
17579 \begin_layout Plain Layout
17580 Environment
17581 \end_layout
17582
17583 \end_inset
17584
17585 の時のみ意味をもちます.環境を,
17586 出力中で独立して出力させるか,
17587 周囲のテキストとインラインで出力させるかを示します.偽にすると,
17588 \SpecialChar LaTeX
17589 環境は,
17590
17591 \begin_inset Flex Code
17592 status collapsed
17593
17594 \begin_layout Plain Layout
17595
17596 \backslash
17597 begin{LatexName}
17598 \end_layout
17599
17600 \end_inset
17601
17602 タグと
17603 \begin_inset Flex Code
17604 status collapsed
17605
17606 \begin_layout Plain Layout
17607
17608 \backslash
17609 end{LatexName}
17610 \end_layout
17611
17612 \end_inset
17613
17614 タグの後の空白(改行文字を含む)を無視するものと仮定します.
17615 \end_layout
17616
17617 \begin_layout Description
17618 \begin_inset Flex Code
17619 status collapsed
17620
17621 \begin_layout Plain Layout
17622 End
17623 \end_layout
17624
17625 \end_inset
17626
17627  
17628 \begin_inset Flex Code
17629 status collapsed
17630
17631 \begin_layout Plain Layout
17632 InsetLayout
17633 \end_layout
17634
17635 \end_inset
17636
17637 宣言を閉じるのに必要です.
17638 \end_layout
17639
17640 \begin_layout Description
17641 \begin_inset Flex Code
17642 status collapsed
17643
17644 \begin_layout Plain Layout
17645 Font
17646 \end_layout
17647
17648 \end_inset
17649
17650  本文本体とラベル
17651 \emph on
17652 両方に
17653 \emph default
17654 使用されるフォントです.第
17655 \begin_inset CommandInset ref
17656 LatexCommand ref
17657 reference "subsec:フォント指定"
17658 nolink "false"
17659
17660 \end_inset
17661
17662 節を参照.このフォントを定義すると自動的に
17663 \begin_inset Flex Code
17664 status collapsed
17665
17666 \begin_layout Plain Layout
17667 LabelFont
17668 \end_layout
17669
17670 \end_inset
17671
17672 も同じ値に定義されるので,
17673 これらを別々の値にしたいときは,
17674 これを先に定義してから後に
17675 \begin_inset Flex Code
17676 status collapsed
17677
17678 \begin_layout Plain Layout
17679 LabelFont
17680 \end_layout
17681
17682 \end_inset
17683
17684 を定義しなくてはならないことに注意してください.
17685 \end_layout
17686
17687 \begin_layout Description
17688 \begin_inset Flex Code
17689 status collapsed
17690
17691 \begin_layout Plain Layout
17692 FixedWidthPreambleEncoding
17693 \end_layout
17694
17695 \end_inset
17696
17697  [
17698 \begin_inset Flex Code
17699 status collapsed
17700
17701 \begin_layout Plain Layout
17702
17703 \emph on
17704 0
17705 \end_layout
17706
17707 \end_inset
17708
17709 ,
17710 \begin_inset space \thinspace{}
17711 \end_inset
17712
17713
17714 \begin_inset Flex Code
17715 status collapsed
17716
17717 \begin_layout Plain Layout
17718 1
17719 \end_layout
17720
17721 \end_inset
17722
17723 ] このレイアウトによって生成される
17724 \begin_inset Flex Code
17725 status collapsed
17726
17727 \begin_layout Plain Layout
17728 BabelPreamble
17729 \end_layout
17730
17731 \end_inset
17732
17733 および
17734 \begin_inset Flex Code
17735 status collapsed
17736
17737 \begin_layout Plain Layout
17738 LangPreamble
17739 \end_layout
17740
17741 \end_inset
17742
17743 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
17744
17745 \family typewriter
17746 listings
17747 \family default
17748 のように,
17749
17750 \family sans
17751 utf8
17752 \family default
17753 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
17754 パッケージのために必要です.この設定は,
17755 Xe\SpecialChar TeX
17756 やLua\SpecialChar TeX
17757 のようなUnicodeを完全に解する\SpecialChar LaTeX
17758 バックエンドを使用している場合には,
17759 無視されます.
17760 \end_layout
17761
17762 \begin_layout Description
17763 \begin_inset Flex Code
17764 status collapsed
17765
17766 \begin_layout Plain Layout
17767 ForceLocalFontSwitch
17768 \end_layout
17769
17770 \end_inset
17771
17772  [
17773 \begin_inset Flex Code
17774 status collapsed
17775
17776 \begin_layout Plain Layout
17777
17778 \emph on
17779 0
17780 \end_layout
17781
17782 \end_inset
17783
17784 ,
17785 \begin_inset space \thinspace{}
17786 \end_inset
17787
17788
17789 \begin_inset Flex Code
17790 status collapsed
17791
17792 \begin_layout Plain Layout
17793 1
17794 \end_layout
17795
17796 \end_inset
17797
17798 ] babel使用時に,
17799 常にローカルフォント切替(
17800 \begin_inset Flex Code
17801 status collapsed
17802
17803 \begin_layout Plain Layout
17804
17805 \backslash
17806 foreignlanguage
17807 \end_layout
17808
17809 \end_inset
17810
17811 )を使い,
17812 グローバル切替(
17813 \begin_inset Flex Code
17814 status collapsed
17815
17816 \begin_layout Plain Layout
17817
17818 \backslash
17819 selectlanguage
17820 \end_layout
17821
17822 \end_inset
17823
17824 など)は使わない.
17825 \end_layout
17826
17827 \begin_layout Description
17828 \begin_inset Flex Code
17829 status collapsed
17830
17831 \begin_layout Plain Layout
17832 ForceLTR
17833 \end_layout
17834
17835 \end_inset
17836
17837  [
17838 \begin_inset Flex Code
17839 status collapsed
17840
17841 \begin_layout Plain Layout
17842
17843 \emph on
17844 0
17845 \end_layout
17846
17847 \end_inset
17848
17849 ,
17850 \begin_inset space \thinspace{}
17851 \end_inset
17852
17853
17854 \begin_inset Flex Code
17855 status collapsed
17856
17857 \begin_layout Plain Layout
17858 1
17859 \end_layout
17860
17861 \end_inset
17862
17863 ] たとえば\SpecialChar TeX
17864 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
17865 \end_layout
17866
17867 \begin_layout Description
17868 \begin_inset Flex Code
17869 status collapsed
17870
17871 \begin_layout Plain Layout
17872 ForceOwnlines
17873 \end_layout
17874
17875 \end_inset
17876
17877  [
17878 \begin_inset Flex Code
17879 status collapsed
17880
17881 \begin_layout Plain Layout
17882
17883 \emph on
17884 0
17885 \end_layout
17886
17887 \end_inset
17888
17889 ,
17890 \begin_inset space \thinspace{}
17891 \end_inset
17892
17893
17894 \begin_inset Flex Code
17895 status collapsed
17896
17897 \begin_layout Plain Layout
17898 1
17899 \end_layout
17900
17901 \end_inset
17902
17903 ] \SpecialChar LaTeX
17904 出力において,
17905 この差込枠が開始する前と終了する後に,
17906 改行を強制します.これは,
17907 解析上の目的のために,
17908 差込枠が単独行に出力されるように保証します.
17909 \end_layout
17910
17911 \begin_layout Description
17912 \begin_inset Flex Code
17913 status collapsed
17914
17915 \begin_layout Plain Layout
17916 ForcePlain
17917 \end_layout
17918
17919 \end_inset
17920
17921  [
17922 \begin_inset Flex Code
17923 status collapsed
17924
17925 \begin_layout Plain Layout
17926
17927 \emph on
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 1
17943 \end_layout
17944
17945 \end_inset
17946
17947 ] PlainLayoutを使用するべきなのか,
17948 それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
17949 \end_layout
17950
17951 \begin_layout Description
17952 \begin_inset Flex Code
17953 status collapsed
17954
17955 \begin_layout Plain Layout
17956 FreeSpacing
17957 \end_layout
17958
17959 \end_inset
17960
17961  [
17962 \emph on
17963
17964 \begin_inset Flex Code
17965 status collapsed
17966
17967 \begin_layout Plain Layout
17968 0
17969 \end_layout
17970
17971 \end_inset
17972
17973
17974 \emph default
17975 ,
17976 \begin_inset space \thinspace{}
17977 \end_inset
17978
17979
17980 \begin_inset Flex Code
17981 status collapsed
17982
17983 \begin_layout Plain Layout
17984 1
17985 \end_layout
17986
17987 \end_inset
17988
17989 ] 段落様式と同様.第
17990 \begin_inset CommandInset ref
17991 LatexCommand ref
17992 reference "subsec:段落様式"
17993 nolink "false"
17994
17995 \end_inset
17996
17997 節参照.
17998 \end_layout
17999
18000 \begin_layout Description
18001 \begin_inset Flex Code
18002 status collapsed
18003
18004 \begin_layout Plain Layout
18005 HTML*
18006 \end_layout
18007
18008 \end_inset
18009
18010  これらは,
18011 XHTML出力で使用されます.第
18012 \begin_inset CommandInset ref
18013 LatexCommand ref
18014 reference "sec:XHTML出力のタグ"
18015 nolink "false"
18016
18017 \end_inset
18018
18019 節をご覧ください.
18020 \end_layout
18021
18022 \begin_layout Description
18023 \begin_inset Flex Code
18024 status collapsed
18025
18026 \begin_layout Plain Layout
18027 InToc
18028 \end_layout
18029
18030 \end_inset
18031
18032  [
18033 \begin_inset Flex Code
18034 status collapsed
18035
18036 \begin_layout Plain Layout
18037
18038 \emph on
18039 0
18040 \end_layout
18041
18042 \end_inset
18043
18044 ,
18045 \begin_inset space \thinspace{}
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 ] AddToTocの設定に関わらず,
18059 「文書構造」面用に出力される文字列に,
18060 この差込枠の内容を含めるかどうか.たとえば,
18061 節見出しの脚註の内容が,
18062 文書構造の目次に表示されることは望まないでしょうが,
18063 通常,
18064 文字様式の内容は表示されることを望むでしょう.既定値は偽,
18065 すなわち含めません.
18066 \end_layout
18067
18068 \begin_layout Description
18069 \begin_inset Flex Code
18070 status collapsed
18071
18072 \begin_layout Plain Layout
18073 IsTocCaption
18074 \end_layout
18075
18076 \end_inset
18077
18078  [
18079 \begin_inset Flex Code
18080 status collapsed
18081
18082 \begin_layout Plain Layout
18083
18084 \emph on
18085 0
18086 \end_layout
18087
18088 \end_inset
18089
18090 ,
18091 \begin_inset space \thinspace{}
18092 \end_inset
18093
18094
18095 \begin_inset Flex Code
18096 status collapsed
18097
18098 \begin_layout Plain Layout
18099 1
18100 \end_layout
18101
18102 \end_inset
18103
18104 ] AddToTocが有効なときに,
18105 これが1に設定されていると,
18106 差込枠の内容の要約が,
18107 目次項目に表示されます.0の場合は,
18108 ラベルのみが表示されます.
18109 \end_layout
18110
18111 \begin_layout Description
18112 \begin_inset Flex Code
18113 status collapsed
18114
18115 \begin_layout Plain Layout
18116 KeepEmpty
18117 \end_layout
18118
18119 \end_inset
18120
18121  [
18122 \emph on
18123
18124 \begin_inset Flex Code
18125 status collapsed
18126
18127 \begin_layout Plain Layout
18128 0
18129 \end_layout
18130
18131 \end_inset
18132
18133
18134 \emph default
18135 ,
18136 \begin_inset space \thinspace{}
18137 \end_inset
18138
18139
18140 \begin_inset Flex Code
18141 status collapsed
18142
18143 \begin_layout Plain Layout
18144 1
18145 \end_layout
18146
18147 \end_inset
18148
18149 ] 段落様式と同様.第
18150 \begin_inset CommandInset ref
18151 LatexCommand ref
18152 reference "subsec:段落様式"
18153 nolink "false"
18154
18155 \end_inset
18156
18157 節参照.
18158 \end_layout
18159
18160 \begin_layout Description
18161 \begin_inset Flex Code
18162 status collapsed
18163
18164 \begin_layout Plain Layout
18165 LabelFont
18166 \end_layout
18167
18168 \end_inset
18169
18170  ラベルに使用されるフォント.第
18171 \begin_inset CommandInset ref
18172 LatexCommand ref
18173 reference "subsec:フォント指定"
18174 nolink "false"
18175
18176 \end_inset
18177
18178 節を参照.非効率を回避するため,
18179 この定義は
18180 \begin_inset Flex Code
18181 status collapsed
18182
18183 \begin_layout Plain Layout
18184 Font
18185 \end_layout
18186
18187 \end_inset
18188
18189 の前には決して現れてはなりません.
18190 \end_layout
18191
18192 \begin_layout Description
18193 \begin_inset Flex Code
18194 status collapsed
18195
18196 \begin_layout Plain Layout
18197 LabelString
18198 \end_layout
18199
18200 \end_inset
18201
18202  [
18203 \begin_inset Flex Code
18204 status collapsed
18205
18206 \begin_layout Plain Layout
18207 文字列
18208 \end_layout
18209
18210 \end_inset
18211
18212 =
18213 \begin_inset Quotes erd
18214 \end_inset
18215
18216
18217 \begin_inset Quotes erd
18218 \end_inset
18219
18220 ]
18221 \lang english
18222  
18223 \lang japanese
18224 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
18225 コードや派生枝),
18226 ラベルが動的に変更されます.
18227 \end_layout
18228
18229 \begin_layout Description
18230 \begin_inset Flex Code
18231 status collapsed
18232
18233 \begin_layout Plain Layout
18234 LangPreamble
18235 \end_layout
18236
18237 \end_inset
18238
18239  言語依存のプリアンブル.第
18240 \begin_inset CommandInset ref
18241 LatexCommand ref
18242 reference "subsec:段落様式の国際化"
18243 nolink "false"
18244
18245 \end_inset
18246
18247 節参照.
18248 \end_layout
18249
18250 \begin_layout Description
18251 \begin_inset Flex Code
18252 status collapsed
18253
18254 \begin_layout Plain Layout
18255 LatexName
18256 \end_layout
18257
18258 \end_inset
18259
18260  [
18261 \begin_inset Flex Code
18262 status collapsed
18263
18264 \begin_layout Plain Layout
18265 <名称>
18266 \end_layout
18267
18268 \end_inset
18269
18270 ] 対応する\SpecialChar LaTeX
18271 関連物の名称.環境名ないしはコマンド名.
18272 \end_layout
18273
18274 \begin_layout Description
18275 \begin_inset Flex Code
18276 status collapsed
18277
18278 \begin_layout Plain Layout
18279 LatexParam
18280 \end_layout
18281
18282 \end_inset
18283
18284  [
18285 \begin_inset Flex Code
18286 status collapsed
18287
18288 \begin_layout Plain Layout
18289 <パラメータ>
18290 \end_layout
18291
18292 \end_inset
18293
18294 ]
18295 \lang english
18296  
18297 \lang japanese
18298 対応する
18299 \begin_inset Flex Code
18300 status collapsed
18301
18302 \begin_layout Plain Layout
18303 LatexName
18304 \end_layout
18305
18306 \end_inset
18307
18308 関連物の非必須パラメータ.
18309 \begin_inset Flex Code
18310 status collapsed
18311
18312 \begin_layout Plain Layout
18313 []
18314 \end_layout
18315
18316 \end_inset
18317
18318 のような括弧対を含む.このパラメータは\SpecialChar LyX
18319 内部から変更することはできません(変更可能なパラメータには
18320 \begin_inset Flex Code
18321 status collapsed
18322
18323 \begin_layout Plain Layout
18324 Argument
18325 \end_layout
18326
18327 \end_inset
18328
18329 を使用してください).これは,
18330 全ての\SpecialChar LaTeX
18331  
18332 \begin_inset Flex Code
18333 status collapsed
18334
18335 \begin_layout Plain Layout
18336 Argument
18337 \end_layout
18338
18339 \end_inset
18340
18341 の後にそのままの形で出力されます.
18342 \end_layout
18343
18344 \begin_layout Description
18345 \begin_inset Flex Code
18346 status collapsed
18347
18348 \begin_layout Plain Layout
18349 LatexType
18350 \end_layout
18351
18352 \end_inset
18353
18354  [
18355 \begin_inset Flex Code
18356 status collapsed
18357
18358 \begin_layout Plain Layout
18359 Command,
18360  Environment,
18361  None
18362 \end_layout
18363
18364 \end_inset
18365
18366 ] 様式がどのように\SpecialChar LaTeX
18367 に変換されるべきかを示します
18368 \begin_inset Foot
18369 status collapsed
18370
18371 \begin_layout Plain Layout
18372 これらのルールはSGMLクラスにも適用されるので,
18373
18374 \begin_inset Flex Code
18375 status collapsed
18376
18377 \begin_layout Plain Layout
18378 LatexType
18379 \end_layout
18380
18381 \end_inset
18382
18383 の名称は,
18384 少しミスリーディングかもしれません.特定の例については,
18385 SGMLクラスファイルを見てください.
18386 \end_layout
18387
18388 \end_inset
18389
18390
18391 \end_layout
18392
18393 \begin_deeper
18394 \begin_layout Description
18395 \begin_inset Flex Code
18396 status collapsed
18397
18398 \begin_layout Plain Layout
18399 None
18400 \end_layout
18401
18402 \end_inset
18403
18404  は,
18405 何も特別なことは意味しません
18406 \end_layout
18407
18408 \begin_layout Description
18409 \begin_inset Flex Code
18410 status collapsed
18411
18412 \begin_layout Plain Layout
18413 Command
18414 \end_layout
18415
18416 \end_inset
18417
18418  は,
18419
18420 \begin_inset Flex Code
18421 status collapsed
18422
18423 \begin_layout Plain Layout
18424
18425 \backslash
18426
18427 \emph on
18428 LatexName
18429 \emph default
18430 {\SpecialChar ldots
18431 }
18432 \end_layout
18433
18434 \end_inset
18435
18436 を意味します
18437 \end_layout
18438
18439 \begin_layout Description
18440 \begin_inset Flex Code
18441 status collapsed
18442
18443 \begin_layout Plain Layout
18444 Environment
18445 \end_layout
18446
18447 \end_inset
18448
18449  は,
18450
18451 \begin_inset Flex Code
18452 status collapsed
18453
18454 \begin_layout Plain Layout
18455
18456 \backslash
18457 begin{
18458 \emph on
18459 LatexName
18460 \emph default
18461 }\SpecialChar ldots
18462
18463 \backslash
18464 end{
18465 \emph on
18466 LatexName
18467 \emph default
18468 }
18469 \end_layout
18470
18471 \end_inset
18472
18473 を意味します
18474 \end_layout
18475
18476 \begin_layout Standard
18477 上記最後のいくつかをまとめると,
18478 \SpecialChar LaTeX
18479 出力は,
18480 \SpecialChar LaTeX
18481 型に依存して
18482 \end_layout
18483
18484 \begin_layout LyX-Code
18485
18486 \backslash
18487 LatexName[LatexParam]{\SpecialChar ldots
18488 }
18489 \end_layout
18490
18491 \begin_layout Standard
18492 のようになるか,
18493
18494 \end_layout
18495
18496 \begin_layout LyX-Code
18497
18498 \backslash
18499 begin{LatexName}[LatexParam] \SpecialChar ldots
18500  
18501 \backslash
18502 end{LatexName}.
18503 \end_layout
18504
18505 \begin_layout Standard
18506 となります.
18507 \end_layout
18508
18509 \end_deeper
18510 \begin_layout Description
18511 \begin_inset Flex Code
18512 status collapsed
18513
18514 \begin_layout Plain Layout
18515 LeftDelim
18516 \end_layout
18517
18518 \end_inset
18519
18520  [
18521 \begin_inset Flex Code
18522 status collapsed
18523
18524 \begin_layout Plain Layout
18525 文字列
18526 \end_layout
18527
18528 \end_inset
18529
18530 ] 様式の内容の最初に置かれる文字列.出力中の改行は
18531 \begin_inset Flex Code
18532 status collapsed
18533
18534 \begin_layout Plain Layout
18535 <br/>
18536 \end_layout
18537
18538 \end_inset
18539
18540 で指示できます.
18541 \end_layout
18542
18543 \begin_layout Description
18544 \begin_inset Flex Code
18545 status collapsed
18546
18547 \begin_layout Plain Layout
18548 LyxType
18549 \end_layout
18550
18551 \end_inset
18552
18553  
18554 \begin_inset Flex Code
18555 status collapsed
18556
18557 \begin_layout Plain Layout
18558 charstyle
18559 \end_layout
18560
18561 \end_inset
18562
18563
18564 \begin_inset Flex Code
18565 status collapsed
18566
18567 \begin_layout Plain Layout
18568 custom
18569 \end_layout
18570
18571 \end_inset
18572
18573
18574 \begin_inset Flex Code
18575 status collapsed
18576
18577 \begin_layout Plain Layout
18578 element
18579 \end_layout
18580
18581 \end_inset
18582
18583
18584 \begin_inset Flex Code
18585 status collapsed
18586
18587 \begin_layout Plain Layout
18588 end
18589 \end_layout
18590
18591 \end_inset
18592
18593 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,
18594 自由差込枠に必須であり,
18595 かつ自由差込枠でしか意味を持ちません.この項目は,
18596 就中,
18597 差込枠がどのメニューに表示されるかを決定します.
18598 \begin_inset Flex Code
18599 status collapsed
18600
18601 \begin_layout Plain Layout
18602 LyxType
18603 \end_layout
18604
18605 \end_inset
18606
18607
18608 \begin_inset Flex Code
18609 status collapsed
18610
18611 \begin_layout Plain Layout
18612 charstyle
18613 \end_layout
18614
18615 \end_inset
18616
18617 に設定すると,
18618
18619 \begin_inset Flex Code
18620 status collapsed
18621
18622 \begin_layout Plain Layout
18623 MultiPar
18624 \end_layout
18625
18626 \end_inset
18627
18628 が偽に設定されます
18629 \lang english
18630  and 
18631 \lang japanese
18632
18633 \begin_inset Flex Code
18634 status collapsed
18635
18636 \begin_layout Plain Layout
18637 ForcePlain
18638 \end_layout
18639
18640 \end_inset
18641
18642
18643 \lang english
18644  to true
18645 \lang japanese
18646 .文字様式差込枠で
18647 \begin_inset Flex Code
18648 status collapsed
18649
18650 \begin_layout Plain Layout
18651 MultiPar
18652 \end_layout
18653
18654 \end_inset
18655
18656 を真にしたい時には
18657 \lang english
18658 ,
18659  or 
18660 \lang japanese
18661
18662 \begin_inset Flex Code
18663 status collapsed
18664
18665 \begin_layout Plain Layout
18666 ForcePlain
18667 \end_layout
18668
18669 \end_inset
18670
18671
18672 \lang english
18673  to false
18674 \lang japanese
18675
18676
18677 \begin_inset Flex Code
18678 status collapsed
18679
18680 \begin_layout Plain Layout
18681 LyxType
18682 \end_layout
18683
18684 \end_inset
18685
18686 を設定した
18687 \emph on
18688 後に
18689 \emph default
18690 設定すれば,
18691 真に設定することができます.
18692 \end_layout
18693
18694 \begin_layout Description
18695 \begin_inset Flex Code
18696 status collapsed
18697
18698 \begin_layout Plain Layout
18699 MultiPar
18700 \end_layout
18701
18702 \end_inset
18703
18704  [
18705 \begin_inset Flex Code
18706 status collapsed
18707
18708 \begin_layout Plain Layout
18709
18710 \emph on
18711 0
18712 \end_layout
18713
18714 \end_inset
18715
18716 ,
18717 \begin_inset space \thinspace{}
18718 \end_inset
18719
18720
18721 \begin_inset Flex Code
18722 status collapsed
18723
18724 \begin_layout Plain Layout
18725 1
18726 \end_layout
18727
18728 \end_inset
18729
18730 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
18731
18732 \begin_inset Flex Code
18733 status collapsed
18734
18735 \begin_layout Plain Layout
18736 CustomPars
18737 \end_layout
18738
18739 \end_inset
18740
18741 を同じ値に設定し,
18742
18743 \begin_inset Flex Code
18744 status collapsed
18745
18746 \begin_layout Plain Layout
18747 ForcePlain
18748 \end_layout
18749
18750 \end_inset
18751
18752 を逆の値に設定します.これらは,
18753
18754 \begin_inset Flex Code
18755 status collapsed
18756
18757 \begin_layout Plain Layout
18758 MultiPar
18759 \end_layout
18760
18761 \end_inset
18762
18763
18764 \emph on
18765 後に
18766 \emph default
18767 指定されれば,
18768 他の値に指定し直すことができます.既定値は真です.
18769 \end_layout
18770
18771 \begin_layout Description
18772 \begin_inset Flex Code
18773 status collapsed
18774
18775 \begin_layout Plain Layout
18776 NeedProtect
18777 \end_layout
18778
18779 \end_inset
18780
18781  [
18782 \begin_inset Flex Code
18783 status collapsed
18784
18785 \begin_layout Plain Layout
18786
18787 \emph on
18788 0
18789 \end_layout
18790
18791 \end_inset
18792
18793 ,
18794 \begin_inset space \thinspace{}
18795 \end_inset
18796
18797
18798 \begin_inset Flex Code
18799 status collapsed
18800
18801 \begin_layout Plain Layout
18802 1
18803 \end_layout
18804
18805 \end_inset
18806
18807 ] 本レイアウト中で脆弱なコマンドを
18808 \begin_inset Flex Code
18809 status collapsed
18810
18811 \begin_layout Plain Layout
18812
18813 \backslash
18814 protect
18815 \end_layout
18816
18817 \end_inset
18818
18819 するか否か(註:
18820 当該コマンド自身をprotectするかどうかでは
18821 \emph on
18822 ありません
18823 \emph default
18824 ).既定値は偽です.
18825 \end_layout
18826
18827 \begin_layout Description
18828 \begin_inset Flex Code
18829 status collapsed
18830
18831 \begin_layout Plain Layout
18832 NoInsetLayout
18833 \end_layout
18834
18835 \end_inset
18836
18837  [
18838 \begin_inset Flex Code
18839 status collapsed
18840
18841 \begin_layout Plain Layout
18842 <レイアウト>
18843 \end_layout
18844
18845 \end_inset
18846
18847 ] 既存の
18848 \begin_inset Flex Code
18849 status collapsed
18850
18851 \begin_layout Plain Layout
18852 InsetLayout
18853 \end_layout
18854
18855 \end_inset
18856
18857 を削除します.
18858 \end_layout
18859
18860 \begin_layout Description
18861 \begin_inset Flex Code
18862 status collapsed
18863
18864 \begin_layout Plain Layout
18865 ObsoletedBy
18866 \end_layout
18867
18868 \end_inset
18869
18870  [
18871 \begin_inset Flex Code
18872 status collapsed
18873
18874 \begin_layout Plain Layout
18875 <レイアウト>
18876 \end_layout
18877
18878 \end_inset
18879
18880 ] この古い
18881 \begin_inset Flex Code
18882 status collapsed
18883
18884 \begin_layout Plain Layout
18885 InsetLayout
18886 \end_layout
18887
18888 \end_inset
18889
18890 を引き継いだ
18891 \begin_inset Flex Code
18892 status collapsed
18893
18894 \begin_layout Plain Layout
18895 InsetLayout
18896 \end_layout
18897
18898 \end_inset
18899
18900 の名称.これは,
18901
18902 \begin_inset Flex Code
18903 status collapsed
18904
18905 \begin_layout Plain Layout
18906 InsetLayout
18907 \end_layout
18908
18909 \end_inset
18910
18911 の改名を,
18912 後方互換性を維持しながら行うために用いられます.
18913 \end_layout
18914
18915 \begin_layout Description
18916 \begin_inset Flex Code
18917 status collapsed
18918
18919 \begin_layout Plain Layout
18920 ParbreakIsNewline
18921 \end_layout
18922
18923 \end_inset
18924
18925  [
18926 \begin_inset Flex Code
18927 status collapsed
18928
18929 \begin_layout Plain Layout
18930
18931 \emph on
18932 0
18933 \end_layout
18934
18935 \end_inset
18936
18937 ,
18938 \begin_inset space \thinspace{}
18939 \end_inset
18940
18941
18942 \begin_inset Flex Code
18943 status collapsed
18944
18945 \begin_layout Plain Layout
18946 1
18947 \end_layout
18948
18949 \end_inset
18950
18951 ] 段落様式と同様.第
18952 \begin_inset CommandInset ref
18953 LatexCommand ref
18954 reference "subsec:段落様式"
18955 nolink "false"
18956
18957 \end_inset
18958
18959 節参照.
18960 \end_layout
18961
18962 \begin_layout Description
18963 \begin_inset Flex Code
18964 status collapsed
18965
18966 \begin_layout Plain Layout
18967 PassThru
18968 \end_layout
18969
18970 \end_inset
18971
18972  [
18973 \emph on
18974
18975 \begin_inset Flex Code
18976 status collapsed
18977
18978 \begin_layout Plain Layout
18979 0
18980 \end_layout
18981
18982 \end_inset
18983
18984
18985 \emph default
18986 ,
18987 \begin_inset space \thinspace{}
18988 \end_inset
18989
18990
18991 \begin_inset Flex Code
18992 status collapsed
18993
18994 \begin_layout Plain Layout
18995 1
18996 \end_layout
18997
18998 \end_inset
18999
19000 ] 段落様式と同様.第
19001 \begin_inset CommandInset ref
19002 LatexCommand ref
19003 reference "subsec:段落様式"
19004 nolink "false"
19005
19006 \end_inset
19007
19008 節参照.
19009 \end_layout
19010
19011 \begin_layout Description
19012 \begin_inset Flex Code
19013 status collapsed
19014
19015 \begin_layout Plain Layout
19016 Preamble
19017 \end_layout
19018
19019 \end_inset
19020
19021  段落様式と同様.第
19022 \begin_inset CommandInset ref
19023 LatexCommand ref
19024 reference "subsec:段落様式"
19025 nolink "false"
19026
19027 \end_inset
19028
19029 節参照.
19030 \end_layout
19031
19032 \begin_layout Description
19033 \begin_inset Flex Code
19034 status collapsed
19035
19036 \begin_layout Plain Layout
19037 RefPrefix
19038 \end_layout
19039
19040 \end_inset
19041
19042  [
19043 \begin_inset Flex Code
19044 status collapsed
19045
19046 \begin_layout Plain Layout
19047 文字列
19048 \end_layout
19049
19050 \end_inset
19051
19052 ] この型の差込枠を参照する際,
19053 生成されるラベルに使用する前置句.これによって,
19054 整形参照を使用することができるようになります.
19055 \end_layout
19056
19057 \begin_layout Description
19058 \begin_inset Flex Code
19059 status collapsed
19060
19061 \begin_layout Plain Layout
19062 Requires
19063 \end_layout
19064
19065 \end_inset
19066
19067  [
19068 \begin_inset Flex Code
19069 status collapsed
19070
19071 \begin_layout Plain Layout
19072 文字列
19073 \end_layout
19074
19075 \end_inset
19076
19077 ] 段落様式と同様.第
19078 \begin_inset CommandInset ref
19079 LatexCommand ref
19080 reference "subsec:段落様式"
19081 nolink "false"
19082
19083 \end_inset
19084
19085 節参照.
19086 \end_layout
19087
19088 \begin_layout Description
19089 \begin_inset Flex Code
19090 status collapsed
19091
19092 \begin_layout Plain Layout
19093 ResetArgs
19094 \end_layout
19095
19096 \end_inset
19097
19098  [
19099 \begin_inset Flex Code
19100 status collapsed
19101
19102 \begin_layout Plain Layout
19103
19104 \emph on
19105 0
19106 \end_layout
19107
19108 \end_inset
19109
19110 ,
19111 \begin_inset space \thinspace{}
19112 \end_inset
19113
19114
19115 \begin_inset Flex Code
19116 status collapsed
19117
19118 \begin_layout Plain Layout
19119 1
19120 \end_layout
19121
19122 \end_inset
19123
19124 ] (
19125 \begin_inset Flex Code
19126 status collapsed
19127
19128 \begin_layout Plain Layout
19129 Argument
19130 \end_layout
19131
19132 \end_inset
19133
19134 タグで定義された)この様式の\SpecialChar LaTeX
19135 引数をリセットします.これは,
19136 様式を
19137 \begin_inset Flex Code
19138 status collapsed
19139
19140 \begin_layout Plain Layout
19141 CopyStyle
19142 \end_layout
19143
19144 \end_inset
19145
19146 でコピーし,
19147 その(必須及び非必須)引数は継承したくない場合に便利です.
19148 \end_layout
19149
19150 \begin_layout Description
19151 \begin_inset Flex Code
19152 status collapsed
19153
19154 \begin_layout Plain Layout
19155 ResetsFont
19156 \end_layout
19157
19158 \end_inset
19159
19160  [
19161 \begin_inset Flex Code
19162 status collapsed
19163
19164 \begin_layout Plain Layout
19165 0
19166 \end_layout
19167
19168 \end_inset
19169
19170 ,
19171 \begin_inset space \thinspace{}
19172 \end_inset
19173
19174
19175 \begin_inset Flex Code
19176 status collapsed
19177
19178 \begin_layout Plain Layout
19179
19180 \emph on
19181 1
19182 \end_layout
19183
19184 \end_inset
19185
19186 ] この差込枠が周囲の環境と同じフォントを用いるか,
19187 独自のフォントを用いるか.既定値は真,
19188 すなわち独自のフォントを用います.
19189 \begin_inset Note Note
19190 status open
19191
19192 \begin_layout Plain Layout
19193 This is outdated:
19194  The default changed from 1 to 0
19195 \end_layout
19196
19197 \end_inset
19198
19199
19200 \end_layout
19201
19202 \begin_layout Description
19203 \begin_inset Flex Code
19204 status collapsed
19205
19206 \begin_layout Plain Layout
19207 RightDelim
19208 \end_layout
19209
19210 \end_inset
19211
19212  [
19213 \begin_inset Flex Code
19214 status collapsed
19215
19216 \begin_layout Plain Layout
19217 文字列
19218 \end_layout
19219
19220 \end_inset
19221
19222 ] 様式の内容の最後に置かれる文字列.出力中の改行は
19223 \begin_inset Flex Code
19224 status collapsed
19225
19226 \begin_layout Plain Layout
19227 <br/>
19228 \end_layout
19229
19230 \end_inset
19231
19232 で指示できます.
19233 \end_layout
19234
19235 \begin_layout Description
19236 \begin_inset Flex Code
19237 status collapsed
19238
19239 \begin_layout Plain Layout
19240 Spellcheck
19241 \end_layout
19242
19243 \end_inset
19244
19245  [
19246 \begin_inset Flex Code
19247 status collapsed
19248
19249 \begin_layout Plain Layout
19250 0
19251 \end_layout
19252
19253 \end_inset
19254
19255 ,
19256 \begin_inset space \thinspace{}
19257 \end_inset
19258
19259
19260 \begin_inset Flex Code
19261 status collapsed
19262
19263 \begin_layout Plain Layout
19264
19265 \emph on
19266 1
19267 \end_layout
19268
19269 \end_inset
19270
19271 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
19272 \end_layout
19273
19274 \begin_layout Subsection
19275 カウンタ
19276 \begin_inset CommandInset label
19277 LatexCommand label
19278 name "subsec:カウンタ"
19279
19280 \end_inset
19281
19282
19283 \end_layout
19284
19285 \begin_layout Standard
19286 テキストクラスには,
19287 カウンタ(
19288 \begin_inset Flex MenuItem
19289 status collapsed
19290
19291 \begin_layout Plain Layout
19292 chapter
19293 \end_layout
19294
19295 \end_inset
19296
19297
19298 \begin_inset Flex MenuItem
19299 status collapsed
19300
19301 \begin_layout Plain Layout
19302 figure
19303 \end_layout
19304
19305 \end_inset
19306
19307 ・\SpecialChar ldots
19308 )を定義することが必要です.標準的なカウンタは
19309 \begin_inset Flex Code
19310 status collapsed
19311
19312 \begin_layout Plain Layout
19313 stdcounters.inc
19314 \end_layout
19315
19316 \end_inset
19317
19318 ファイルに含まれているので,
19319 作業中のレイアウトファイルに
19320 \end_layout
19321
19322 \begin_layout LyX-Code
19323 Input stdcounters.inc
19324 \end_layout
19325
19326 \begin_layout Standard
19327 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,
19328 そうすることもできます.カウンタ宣言は,
19329
19330 \end_layout
19331
19332 \begin_layout LyX-Code
19333 Counter カウンタ名
19334 \end_layout
19335
19336 \begin_layout Standard
19337 で始まらなくてはなりません.ここで「
19338 \begin_inset Flex Code
19339 status collapsed
19340
19341 \begin_layout Plain Layout
19342 カウンタ名
19343 \end_layout
19344
19345 \end_inset
19346
19347 」は,
19348 実際のカウンタ名で置き換えます.また,
19349 宣言は「
19350 \begin_inset Flex Code
19351 status collapsed
19352
19353 \begin_layout Plain Layout
19354 End
19355 \end_layout
19356
19357 \end_inset
19358
19359 」で終わらなくてはなりません.
19360 \end_layout
19361
19362 \begin_layout Standard
19363 以下のパラメータを使用することができます.
19364 \end_layout
19365
19366 \begin_layout Description
19367 \begin_inset Flex Code
19368 status collapsed
19369
19370 \begin_layout Plain Layout
19371 InitialValue
19372 \end_layout
19373
19374 \end_inset
19375
19376  [
19377 \begin_inset Flex Code
19378 status collapsed
19379
19380 \begin_layout Plain Layout
19381 整数=1
19382 \end_layout
19383
19384 \end_inset
19385
19386 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,
19387 既定値1のままで充分でしょう.
19388 \end_layout
19389
19390 \begin_layout Description
19391 \begin_inset Flex Code
19392 status collapsed
19393
19394 \begin_layout Plain Layout
19395 LabelString [文字列=""]
19396 \end_layout
19397
19398 \end_inset
19399
19400  定義されていると,
19401 ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
19402
19403 \begin_inset Flex Code
19404 status collapsed
19405
19406 \begin_layout Plain Layout
19407 LabelStringAppendix
19408 \end_layout
19409
19410 \end_inset
19411
19412 も同じ値に設定されます.文字列中では,
19413 以下の構成要素を使用することができます.
19414 \end_layout
19415
19416 \begin_deeper
19417 \begin_layout Itemize
19418 \begin_inset Flex Code
19419 status collapsed
19420
19421 \begin_layout Plain Layout
19422
19423 \backslash
19424 thecounter
19425 \end_layout
19426
19427 \end_inset
19428
19429 は,
19430 カウンタ
19431 \begin_inset Flex Code
19432 status collapsed
19433
19434 \begin_layout Plain Layout
19435 counter
19436 \end_layout
19437
19438 \end_inset
19439
19440
19441 \begin_inset Flex Code
19442 status collapsed
19443
19444 \begin_layout Plain Layout
19445 LabelString
19446 \end_layout
19447
19448 \end_inset
19449
19450 (または
19451 \begin_inset Newline linebreak
19452 \end_inset
19453
19454
19455 \begin_inset Flex Code
19456 status collapsed
19457
19458 \begin_layout Plain Layout
19459 LabelStringAppendix
19460 \end_layout
19461
19462 \end_inset
19463
19464 )を展開したもので置き換えられます. 
19465 \end_layout
19466
19467 \begin_layout Itemize
19468 カウンタ値は,
19469 \SpecialChar LaTeX
19470 型マクロ
19471 \begin_inset Flex Code
19472 status collapsed
19473
19474 \begin_layout Plain Layout
19475
19476 \backslash
19477
19478 \emph on
19479 numbertype
19480 \emph default
19481 {
19482 \emph on
19483 カウンタ
19484 \emph default
19485 }
19486 \end_layout
19487
19488 \end_inset
19489
19490 を用いて表現することができます.ここで
19491 \begin_inset Flex Code
19492 status collapsed
19493
19494 \begin_layout Plain Layout
19495
19496 \emph on
19497 numbertype
19498 \end_layout
19499
19500 \end_inset
19501
19502 は以下のいずれかです.
19503 \begin_inset Flex Code
19504 status collapsed
19505
19506 \begin_layout Plain Layout
19507 arabic
19508 \end_layout
19509
19510 \end_inset
19511
19512
19513 1,
19514  2,
19515  3,\SpecialChar ldots
19516
19517
19518 \begin_inset Flex Code
19519 status collapsed
19520
19521 \begin_layout Plain Layout
19522 alph
19523 \end_layout
19524
19525 \end_inset
19526
19527
19528 a,
19529  b,
19530  c,
19531  \SpecialChar ldots
19532 (小文字);
19533
19534 \begin_inset Flex Code
19535 status collapsed
19536
19537 \begin_layout Plain Layout
19538 Alph
19539 \end_layout
19540
19541 \end_inset
19542
19543
19544 A,
19545  B,
19546  C,
19547  \SpecialChar ldots
19548 (大文字);
19549
19550 \begin_inset Flex Code
19551 status collapsed
19552
19553 \begin_layout Plain Layout
19554 roman
19555 \end_layout
19556
19557 \end_inset
19558
19559
19560 i,
19561  ii,
19562  iii,
19563  \SpecialChar ldots
19564 (小文字ローマ数字);
19565
19566 \begin_inset Flex Code
19567 status collapsed
19568
19569 \begin_layout Plain Layout
19570 Roman
19571 \end_layout
19572
19573 \end_inset
19574
19575
19576 I,
19577  II,
19578  III\SpecialChar ldots
19579 (大文字ローマ数字).
19580 \end_layout
19581
19582 \end_deeper
19583 \begin_layout Standard
19584 \begin_inset Flex Code
19585 status collapsed
19586
19587 \begin_layout Plain Layout
19588 LabelString
19589 \end_layout
19590
19591 \end_inset
19592
19593 が定義されていないときは,
19594 既定値は以下のように組み立てられます.このカウンタに親カウンタ
19595 \begin_inset Flex Code
19596 status collapsed
19597
19598 \begin_layout Plain Layout
19599 master
19600 \end_layout
19601
19602 \end_inset
19603
19604
19605 \begin_inset Flex Code
19606 status collapsed
19607
19608 \begin_layout Plain Layout
19609 Within
19610 \end_layout
19611
19612 \end_inset
19613
19614 で定義)があるときには,
19615 文字列
19616 \begin_inset Newline linebreak
19617 \end_inset
19618
19619
19620 \begin_inset Flex Code
19621 status collapsed
19622
19623 \begin_layout Plain Layout
19624
19625 \backslash
19626 themaster.
19627 \backslash
19628 arabic{カウンタ}
19629 \end_layout
19630
19631 \end_inset
19632
19633 が使用されます.それ以外の場合は,
19634
19635 \begin_inset Flex Code
19636 status collapsed
19637
19638 \begin_layout Plain Layout
19639
19640 \backslash
19641 arabic{カウンタ}
19642 \end_layout
19643
19644 \end_inset
19645
19646 が使用されます.
19647 \end_layout
19648
19649 \begin_layout Description
19650 \begin_inset Flex Code
19651 status collapsed
19652
19653 \begin_layout Plain Layout
19654 LabelStringAppendix
19655 \end_layout
19656
19657 \end_inset
19658
19659  [
19660 \begin_inset Flex Code
19661 status collapsed
19662
19663 \begin_layout Plain Layout
19664 文字列
19665 \end_layout
19666
19667 \end_inset
19668
19669 =""] 
19670 \begin_inset Flex Code
19671 status collapsed
19672
19673 \begin_layout Plain Layout
19674 LabelString
19675 \end_layout
19676
19677 \end_inset
19678
19679 と同様ですが,
19680 付録で使用するためのものです.
19681 \end_layout
19682
19683 \begin_layout Description
19684 \begin_inset Flex Code
19685 status collapsed
19686
19687 \begin_layout Plain Layout
19688 PrettyFormat
19689 \end_layout
19690
19691 \end_inset
19692
19693  [
19694 \begin_inset Flex Code
19695 status collapsed
19696
19697 \begin_layout Plain Layout
19698 文字列
19699 \end_layout
19700
19701 \end_inset
19702
19703 =
19704 \begin_inset Quotes erd
19705 \end_inset
19706
19707
19708 \begin_inset Quotes erd
19709 \end_inset
19710
19711 ] このカウンタの整形参照で使用する書式.たとえば,
19712 節番号への参照を「Section
19713 \begin_inset space ~
19714 \end_inset
19715
19716 2.4」のように表示させたい場合には,
19717 文字列に「##」を含めます.これは,
19718 カウンタ番号で置換されます.したがって,
19719 節の場合には「Section ##」のようにします.
19720 \end_layout
19721
19722 \begin_layout Description
19723 \begin_inset Flex Code
19724 status collapsed
19725
19726 \begin_layout Plain Layout
19727 Within
19728 \end_layout
19729
19730 \end_inset
19731
19732  [
19733 \begin_inset Flex Code
19734 status collapsed
19735
19736 \begin_layout Plain Layout
19737 文字列
19738 \end_layout
19739
19740 \end_inset
19741
19742 =
19743 \begin_inset Quotes erd
19744 \end_inset
19745
19746
19747 \begin_inset Quotes erd
19748 \end_inset
19749
19750 ] これを別のカウンタ名に設定すると,
19751 現在のカウンタは,
19752 別のカウンタが増加する毎にリセットされます.たとえば,
19753
19754 \begin_inset Flex Code
19755 status collapsed
19756
19757 \begin_layout Plain Layout
19758 subsection
19759 \end_layout
19760
19761 \end_inset
19762
19763
19764 \begin_inset Flex Code
19765 status collapsed
19766
19767 \begin_layout Plain Layout
19768 section
19769 \end_layout
19770
19771 \end_inset
19772
19773 毎に番号がリセットされます.
19774 \end_layout
19775
19776 \begin_layout Subsection
19777 フォント指定
19778 \begin_inset CommandInset label
19779 LatexCommand label
19780 name "subsec:フォント指定"
19781
19782 \end_inset
19783
19784
19785 \end_layout
19786
19787 \begin_layout Standard
19788 フォント指定は,
19789 以下のような形を取ります.
19790 \end_layout
19791
19792 \begin_layout LyX-Code
19793 Font 
19794 \family roman
19795 \emph on
19796 または
19797 \family default
19798 \emph default
19799  LabelFont 
19800 \family roman
19801 \emph on
19802 または
19803 \family default
19804 \emph default
19805  DefaultFont
19806 \end_layout
19807
19808 \begin_layout LyX-Code
19809  ...
19810 \end_layout
19811
19812 \begin_layout LyX-Code
19813 EndFont
19814 \end_layout
19815
19816 \begin_layout Standard
19817 以下のコマンドを使用することができます.
19818 \end_layout
19819
19820 \begin_layout Description
19821 \begin_inset Flex Code
19822 status collapsed
19823
19824 \begin_layout Plain Layout
19825 Color
19826 \end_layout
19827
19828 \end_inset
19829
19830  [
19831 \begin_inset Flex Code
19832 status collapsed
19833
19834 \begin_layout Plain Layout
19835
19836 \emph on
19837 none
19838 \end_layout
19839
19840 \end_inset
19841
19842 ,
19843  
19844 \begin_inset Flex Code
19845 status collapsed
19846
19847 \begin_layout Plain Layout
19848 black
19849 \end_layout
19850
19851 \end_inset
19852
19853 ,
19854  
19855 \begin_inset Flex Code
19856 status collapsed
19857
19858 \begin_layout Plain Layout
19859 white
19860 \end_layout
19861
19862 \end_inset
19863
19864 ,
19865  
19866 \begin_inset Flex Code
19867 status collapsed
19868
19869 \begin_layout Plain Layout
19870 red
19871 \end_layout
19872
19873 \end_inset
19874
19875 ,
19876  
19877 \begin_inset Flex Code
19878 status collapsed
19879
19880 \begin_layout Plain Layout
19881 green
19882 \end_layout
19883
19884 \end_inset
19885
19886 ,
19887  
19888 \begin_inset Flex Code
19889 status collapsed
19890
19891 \begin_layout Plain Layout
19892 blue
19893 \end_layout
19894
19895 \end_inset
19896
19897 ,
19898  
19899 \begin_inset Flex Code
19900 status collapsed
19901
19902 \begin_layout Plain Layout
19903 cyan
19904 \end_layout
19905
19906 \end_inset
19907
19908 ,
19909  
19910 \begin_inset Flex Code
19911 status collapsed
19912
19913 \begin_layout Plain Layout
19914 magenta
19915 \end_layout
19916
19917 \end_inset
19918
19919 ,
19920  
19921 \begin_inset Flex Code
19922 status collapsed
19923
19924 \begin_layout Plain Layout
19925 yellow
19926 \end_layout
19927
19928 \end_inset
19929
19930 ,
19931  
19932 \begin_inset Flex Code
19933 status collapsed
19934
19935 \begin_layout Plain Layout
19936 brown
19937 \end_layout
19938
19939 \end_inset
19940
19941 ,
19942  
19943 \begin_inset Flex Code
19944 status collapsed
19945
19946 \begin_layout Plain Layout
19947 darkgray
19948 \end_layout
19949
19950 \end_inset
19951
19952 ,
19953  
19954 \begin_inset Flex Code
19955 status collapsed
19956
19957 \begin_layout Plain Layout
19958 gray
19959 \end_layout
19960
19961 \end_inset
19962
19963 ,
19964  
19965 \begin_inset Flex Code
19966 status collapsed
19967
19968 \begin_layout Plain Layout
19969 lightgray
19970 \end_layout
19971
19972 \end_inset
19973
19974 ,
19975  
19976 \begin_inset Flex Code
19977 status collapsed
19978
19979 \begin_layout Plain Layout
19980 lime
19981 \end_layout
19982
19983 \end_inset
19984
19985 ,
19986  
19987 \begin_inset Flex Code
19988 status collapsed
19989
19990 \begin_layout Plain Layout
19991 orange
19992 \end_layout
19993
19994 \end_inset
19995
19996 ,
19997  
19998 \begin_inset Flex Code
19999 status collapsed
20000
20001 \begin_layout Plain Layout
20002 olive
20003 \end_layout
20004
20005 \end_inset
20006
20007 ,
20008  
20009 \begin_inset Flex Code
20010 status collapsed
20011
20012 \begin_layout Plain Layout
20013 pink
20014 \end_layout
20015
20016 \end_inset
20017
20018 ,
20019  
20020 \begin_inset Flex Code
20021 status collapsed
20022
20023 \begin_layout Plain Layout
20024 purple
20025 \end_layout
20026
20027 \end_inset
20028
20029 ,
20030  
20031 \begin_inset Flex Code
20032 status collapsed
20033
20034 \begin_layout Plain Layout
20035 teal
20036 \end_layout
20037
20038 \end_inset
20039
20040 ,
20041  
20042 \begin_inset Flex Code
20043 status collapsed
20044
20045 \begin_layout Plain Layout
20046 violet
20047 \end_layout
20048
20049 \end_inset
20050
20051 ]
20052 \end_layout
20053
20054 \begin_layout Description
20055 \begin_inset Flex Code
20056 status collapsed
20057
20058 \begin_layout Plain Layout
20059 Family
20060 \end_layout
20061
20062 \end_inset
20063
20064  [
20065 \emph on
20066
20067 \begin_inset Flex Code
20068 status collapsed
20069
20070 \begin_layout Plain Layout
20071 Roman
20072 \end_layout
20073
20074 \end_inset
20075
20076
20077 \emph default
20078 ,
20079  
20080 \begin_inset Flex Code
20081 status collapsed
20082
20083 \begin_layout Plain Layout
20084 Sans
20085 \end_layout
20086
20087 \end_inset
20088
20089 ,
20090  
20091 \begin_inset Flex Code
20092 status collapsed
20093
20094 \begin_layout Plain Layout
20095 Typewriter
20096 \end_layout
20097
20098 \end_inset
20099
20100
20101 \end_layout
20102
20103 \begin_layout Description
20104 \begin_inset Flex Code
20105 status collapsed
20106
20107 \begin_layout Plain Layout
20108 Misc
20109 \end_layout
20110
20111 \end_inset
20112
20113  [
20114 \begin_inset Flex Code
20115 status collapsed
20116
20117 \begin_layout Plain Layout
20118 文字列
20119 \end_layout
20120
20121 \end_inset
20122
20123 ] 有効な引数は,
20124
20125 \begin_inset Flex Code
20126 status collapsed
20127
20128 \begin_layout Plain Layout
20129 emph
20130 \end_layout
20131
20132 \end_inset
20133
20134
20135 \begin_inset Flex Code
20136 status collapsed
20137
20138 \begin_layout Plain Layout
20139 noun
20140 \end_layout
20141
20142 \end_inset
20143
20144
20145 \begin_inset Flex Code
20146 status collapsed
20147
20148 \begin_layout Plain Layout
20149 strikeout
20150 \end_layout
20151
20152 \end_inset
20153
20154
20155 \begin_inset Flex Code
20156 status collapsed
20157
20158 \begin_layout Plain Layout
20159 underbar
20160 \end_layout
20161
20162 \end_inset
20163
20164
20165 \begin_inset Flex Code
20166 status collapsed
20167
20168 \begin_layout Plain Layout
20169 uuline
20170 \end_layout
20171
20172 \end_inset
20173
20174
20175 \begin_inset Flex Code
20176 status collapsed
20177
20178 \begin_layout Plain Layout
20179 uwave
20180 \end_layout
20181
20182 \end_inset
20183
20184
20185 \begin_inset Flex Code
20186 status collapsed
20187
20188 \begin_layout Plain Layout
20189 no_emph
20190 \end_layout
20191
20192 \end_inset
20193
20194
20195 \begin_inset Flex Code
20196 status collapsed
20197
20198 \begin_layout Plain Layout
20199 no_noun
20200 \end_layout
20201
20202 \end_inset
20203
20204
20205 \begin_inset Flex Code
20206 status collapsed
20207
20208 \begin_layout Plain Layout
20209 no_strikeout
20210 \end_layout
20211
20212 \end_inset
20213
20214
20215 \begin_inset Flex Code
20216 status collapsed
20217
20218 \begin_layout Plain Layout
20219 no_bar
20220 \end_layout
20221
20222 \end_inset
20223
20224
20225 \begin_inset Flex Code
20226 status collapsed
20227
20228 \begin_layout Plain Layout
20229 no_uuline
20230 \end_layout
20231
20232 \end_inset
20233
20234
20235 \begin_inset Flex Code
20236 status collapsed
20237
20238 \begin_layout Plain Layout
20239 no_uwave
20240 \end_layout
20241
20242 \end_inset
20243
20244 です.それぞれ,
20245 対応する属性を有効にしたり無効にしたりします.
20246 \begin_inset Newline newline
20247 \end_inset
20248
20249 たとえば,
20250
20251 \begin_inset Flex Code
20252 status collapsed
20253
20254 \begin_layout Plain Layout
20255 emph
20256 \end_layout
20257
20258 \end_inset
20259
20260 は強調を有効にし,
20261
20262 \begin_inset Flex Code
20263 status collapsed
20264
20265 \begin_layout Plain Layout
20266 no_emph
20267 \end_layout
20268
20269 \end_inset
20270
20271 はそれを無効にします.もし後者がわかりにくければ,
20272 現在のコンテクストのフォント設定は,
20273 一般的に周囲のコンテクストから継承していることを思い出してください.ですから
20274 \begin_inset Flex Code
20275 status collapsed
20276
20277 \begin_layout Plain Layout
20278 no_emph
20279 \end_layout
20280
20281 \end_inset
20282
20283 は,
20284 たとえば定理環境で,
20285 何をせずとも有効となっている強調を無効にするのです.
20286 \end_layout
20287
20288 \begin_layout Description
20289 \begin_inset Flex Code
20290 status collapsed
20291
20292 \begin_layout Plain Layout
20293 Series
20294 \end_layout
20295
20296 \end_inset
20297
20298  [
20299 \emph on
20300
20301 \begin_inset Flex Code
20302 status collapsed
20303
20304 \begin_layout Plain Layout
20305 Medium
20306 \end_layout
20307
20308 \end_inset
20309
20310
20311 \emph default
20312 ,
20313  
20314 \begin_inset Flex Code
20315 status collapsed
20316
20317 \begin_layout Plain Layout
20318 Bold
20319 \end_layout
20320
20321 \end_inset
20322
20323
20324 \end_layout
20325
20326 \begin_layout Description
20327 \begin_inset Flex Code
20328 status collapsed
20329
20330 \begin_layout Plain Layout
20331 Shape
20332 \end_layout
20333
20334 \end_inset
20335
20336  [
20337 \emph on
20338
20339 \begin_inset Flex Code
20340 status collapsed
20341
20342 \begin_layout Plain Layout
20343 Up
20344 \end_layout
20345
20346 \end_inset
20347
20348
20349 \emph default
20350 ,
20351  
20352 \begin_inset Flex Code
20353 status collapsed
20354
20355 \begin_layout Plain Layout
20356 Italic
20357 \end_layout
20358
20359 \end_inset
20360
20361 ,
20362  
20363 \begin_inset Flex Code
20364 status collapsed
20365
20366 \begin_layout Plain Layout
20367 SmallCaps
20368 \end_layout
20369
20370 \end_inset
20371
20372 ,
20373  
20374 \begin_inset Flex Code
20375 status collapsed
20376
20377 \begin_layout Plain Layout
20378 Slanted
20379 \end_layout
20380
20381 \end_inset
20382
20383
20384 \end_layout
20385
20386 \begin_layout Description
20387 \begin_inset Flex Code
20388 status collapsed
20389
20390 \begin_layout Plain Layout
20391 Size
20392 \end_layout
20393
20394 \end_inset
20395
20396  [
20397 \begin_inset Flex Code
20398 status collapsed
20399
20400 \begin_layout Plain Layout
20401 tiny
20402 \end_layout
20403
20404 \end_inset
20405
20406 ,
20407  
20408 \begin_inset Flex Code
20409 status collapsed
20410
20411 \begin_layout Plain Layout
20412 small
20413 \end_layout
20414
20415 \end_inset
20416
20417 ,
20418  
20419 \begin_inset Flex Code
20420 status collapsed
20421
20422 \begin_layout Plain Layout
20423
20424 \emph on
20425 normal
20426 \end_layout
20427
20428 \end_inset
20429
20430 ,
20431  
20432 \begin_inset Flex Code
20433 status collapsed
20434
20435 \begin_layout Plain Layout
20436 large
20437 \end_layout
20438
20439 \end_inset
20440
20441 ,
20442  
20443 \begin_inset Flex Code
20444 status collapsed
20445
20446 \begin_layout Plain Layout
20447 larger
20448 \end_layout
20449
20450 \end_inset
20451
20452 ,
20453  
20454 \begin_inset Flex Code
20455 status collapsed
20456
20457 \begin_layout Plain Layout
20458 largest
20459 \end_layout
20460
20461 \end_inset
20462
20463 ,
20464  
20465 \begin_inset Flex Code
20466 status collapsed
20467
20468 \begin_layout Plain Layout
20469 huge
20470 \end_layout
20471
20472 \end_inset
20473
20474 ,
20475  
20476 \begin_inset Flex Code
20477 status collapsed
20478
20479 \begin_layout Plain Layout
20480 giant
20481 \end_layout
20482
20483 \end_inset
20484
20485 ]
20486 \end_layout
20487
20488 \begin_layout Subsection
20489 \begin_inset CommandInset label
20490 LatexCommand label
20491 name "subsec:引用エンジンの説明"
20492
20493 \end_inset
20494
20495 引用エンジンの説明
20496 \end_layout
20497
20498 \begin_layout Standard
20499 主に引用エンジンファイル(第
20500 \begin_inset CommandInset ref
20501 LatexCommand ref
20502 reference "subsec:引用エンジンファイル"
20503 plural "false"
20504 caps "false"
20505 noprefix "false"
20506 nolink "false"
20507
20508 \end_inset
20509
20510 節参照)で用いられる
20511 \begin_inset Flex Code
20512 status collapsed
20513
20514 \begin_layout Plain Layout
20515 CiteEngine
20516 \end_layout
20517
20518 \end_inset
20519
20520 ブロックは,
20521 特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
20522 の用語では,
20523 引用エンジンとは,
20524 番号や著者名,
20525 刊行年を使って,
20526 引用を整形する特定の方法のことを指します.\SpecialChar LyX
20527 は,
20528 3つのエンジンの型をサポートします.すなわち,
20529
20530 \end_layout
20531
20532 \begin_layout Enumerate
20533 \begin_inset Flex Code
20534 status collapsed
20535
20536 \begin_layout Plain Layout
20537 default
20538 \end_layout
20539
20540 \end_inset
20541
20542 :
20543  既定のBib\SpecialChar TeX
20544 流の引用方法である,
20545 単純な番号による様式(例:
20546 「[1]」)
20547 \end_layout
20548
20549 \begin_layout Enumerate
20550 \begin_inset Flex Code
20551 status collapsed
20552
20553 \begin_layout Plain Layout
20554 authoryear
20555 \end_layout
20556
20557 \end_inset
20558
20559 :
20560  著者名と刊行年を使ったHarvard様式の引用(例:
20561 「Smith and Miller (2017b)」)
20562 \end_layout
20563
20564 \begin_layout Enumerate
20565 \begin_inset Flex Code
20566 status collapsed
20567
20568 \begin_layout Plain Layout
20569 numerical
20570 \end_layout
20571
20572 \end_inset
20573
20574 :
20575  番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:
20576 「Smith and Miller [1]」)
20577 \end_layout
20578
20579 \begin_layout Standard
20580 \begin_inset Flex Code
20581 status collapsed
20582
20583 \begin_layout Plain Layout
20584 CiteEngine
20585 \end_layout
20586
20587 \end_inset
20588
20589 ブロックは以下のようになります.
20590 \end_layout
20591
20592 \begin_layout LyX-Code
20593 CiteEngine default
20594 \end_layout
20595
20596 \begin_layout LyX-Code
20597  cite
20598 \end_layout
20599
20600 \begin_layout LyX-Code
20601  Citep*[][]
20602 \end_layout
20603
20604 \begin_layout LyX-Code
20605  citeyearpar[][]=parencite*
20606 \end_layout
20607
20608 \begin_layout LyX-Code
20609  ...
20610 \end_layout
20611
20612 \begin_layout LyX-Code
20613 End
20614 \end_layout
20615
20616 \begin_layout Standard
20617 \begin_inset Flex Code
20618 status collapsed
20619
20620 \begin_layout Plain Layout
20621 CiteEngine
20622 \end_layout
20623
20624 \end_inset
20625
20626 に続くタグがエンジンを表します.各行は,
20627 このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,
20628 \SpecialChar LyX
20629 コマンドと\SpecialChar LaTeX
20630 出力を命名するのに使われる引用コマンドのみを含むこともあれば,
20631 色々変えるために複雑なこともあります.完全な文法は
20632 \end_layout
20633
20634 \begin_layout LyX-Code
20635 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
20636 \end_layout
20637
20638 \begin_layout Standard
20639 という形になっています.ここで
20640 \end_layout
20641
20642 \begin_layout Itemize
20643 \begin_inset Flex Code
20644 status collapsed
20645
20646 \begin_layout Plain Layout
20647 LyXName
20648 \end_layout
20649
20650 \end_inset
20651
20652 :
20653  
20654 \begin_inset Flex Code
20655 status collapsed
20656
20657 \begin_layout Plain Layout
20658 *.lyx
20659 \end_layout
20660
20661 \end_inset
20662
20663 ファイルで使用される名前.
20664 \end_layout
20665
20666 \begin_deeper
20667 \begin_layout Standard
20668 可搬性のために,
20669 異なる引用パッケージ中の同じ形をしたコマンドには,
20670 同じ名前をつけるようにしています(したがって,
20671 多くの名前がnatbibから派生しており,
20672 \SpecialChar LaTeX
20673 コマンド名が異なる場合には,
20674 しばしば
20675 \begin_inset Flex Code
20676 status collapsed
20677
20678 \begin_layout Plain Layout
20679 latexcmd
20680 \end_layout
20681
20682 \end_inset
20683
20684 を変える必要があります).
20685 \end_layout
20686
20687 \end_deeper
20688 \begin_layout Itemize
20689 \begin_inset Flex Code
20690 status collapsed
20691
20692 \begin_layout Plain Layout
20693 alias
20694 \end_layout
20695
20696 \end_inset
20697
20698 :
20699  このエンジンにおいて,
20700 与えられた
20701 \begin_inset Flex Code
20702 status collapsed
20703
20704 \begin_layout Plain Layout
20705 LyXName
20706 \end_layout
20707
20708 \end_inset
20709
20710 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,
20711 引用パッケージとエンジンを切り替えるのが楽になります.
20712 \begin_inset Flex Code
20713 status collapsed
20714
20715 \begin_layout Plain Layout
20716 alias
20717 \end_layout
20718
20719 \end_inset
20720
20721 はレイアウト定義中での
20722 \begin_inset Flex Code
20723 status collapsed
20724
20725 \begin_layout Plain Layout
20726 ObsoletedBy
20727 \end_layout
20728
20729 \end_inset
20730
20731 に相当するものと考えてよいでしょう.
20732 \end_layout
20733
20734 \begin_layout Itemize
20735 \begin_inset Flex Code
20736 status collapsed
20737
20738 \begin_layout Plain Layout
20739 latexcmd
20740 \end_layout
20741
20742 \end_inset
20743
20744 :
20745  出力される実際の\SpecialChar LaTeX
20746 コマンド.
20747 \end_layout
20748
20749 \begin_layout Standard
20750 \begin_inset Flex Code
20751 status collapsed
20752
20753 \begin_layout Plain Layout
20754 Alias
20755 \end_layout
20756
20757 \end_inset
20758
20759
20760 \begin_inset Flex Code
20761 status collapsed
20762
20763 \begin_layout Plain Layout
20764 latexcmd
20765 \end_layout
20766
20767 \end_inset
20768
20769 は必須ではありません.
20770 \begin_inset Flex Code
20771 status collapsed
20772
20773 \begin_layout Plain Layout
20774 latexcmd
20775 \end_layout
20776
20777 \end_inset
20778
20779 が与えられない時は,
20780
20781 \begin_inset Flex Code
20782 status collapsed
20783
20784 \begin_layout Plain Layout
20785 LyXName
20786 \end_layout
20787
20788 \end_inset
20789
20790 が\SpecialChar LaTeX
20791 に出力されます.
20792 \end_layout
20793
20794 \begin_layout Standard
20795 さらに,
20796 下記の点に注意してください.
20797 \end_layout
20798
20799 \begin_layout Itemize
20800 大文字にするとコマンドも大文字化されたものになります(
20801 \begin_inset Flex Code
20802 status collapsed
20803
20804 \begin_layout Plain Layout
20805
20806 \backslash
20807 latexcmd
20808 \end_layout
20809
20810 \end_inset
20811
20812
20813 \begin_inset Flex Code
20814 status collapsed
20815
20816 \begin_layout Plain Layout
20817
20818 \backslash
20819 Latexcmd
20820 \end_layout
20821
20822 \end_inset
20823
20824 に).これらは通常,
20825 名前の前置詞を大文字化するのを確実にします(
20826 \emph on
20827 von Goethe
20828 \emph default
20829  
20830 \begin_inset Formula $\Rightarrow$
20831 \end_inset
20832
20833  
20834 \emph on
20835 Von Goethe
20836 \emph default
20837 ).
20838 \end_layout
20839
20840 \begin_layout Itemize
20841 括弧
20842 \begin_inset Flex Code
20843 status collapsed
20844
20845 \begin_layout Plain Layout
20846 []
20847 \end_layout
20848
20849 \end_inset
20850
20851 は非必須引数の数を表します(0-2をとりえます).
20852 \end_layout
20853
20854 \begin_layout Itemize
20855 星印
20856 \begin_inset Flex Code
20857 status collapsed
20858
20859 \begin_layout Plain Layout
20860 *
20861 \end_layout
20862
20863 \end_inset
20864
20865 は星印付きコマンドを示します(
20866 \begin_inset Flex Code
20867 status collapsed
20868
20869 \begin_layout Plain Layout
20870
20871 \backslash
20872 latexcmd
20873 \end_layout
20874
20875 \end_inset
20876
20877
20878 \begin_inset Flex Code
20879 status collapsed
20880
20881 \begin_layout Plain Layout
20882
20883 \backslash
20884 latexcmd*
20885 \end_layout
20886
20887 \end_inset
20888
20889 に).
20890 \end_layout
20891
20892 \begin_deeper
20893 \begin_layout Standard
20894 既定では,
20895 星印付きバージョンは,
20896
20897 \begin_inset Flex Code
20898 status collapsed
20899
20900 \begin_layout Plain Layout
20901 MaxCiteNames
20902 \end_layout
20903
20904 \end_inset
20905
20906 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
20907 \end_layout
20908
20909 \begin_layout Standard
20910 星印が,
20911 当該コマンドについては別の意味を持つ場合には,
20912
20913 \begin_inset Flex Code
20914 status collapsed
20915
20916 \begin_layout Plain Layout
20917 <!_stardesc!_stardesctooltip>
20918 \end_layout
20919
20920 \end_inset
20921
20922 のように三角括弧で指定することができます.前置詞
20923 \begin_inset Flex Code
20924 status collapsed
20925
20926 \begin_layout Plain Layout
20927 !_
20928 \end_layout
20929
20930 \end_inset
20931
20932 で標識した,
20933 翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,
20934 引用ダイアログ中の「Full aut&hor list」チェックボックスラベルを書き換える文字列を指し,
20935 二つ目のキーワードは,
20936 このチェックボックスに対する非必須のツールチップの文字列を指します.
20937 \end_layout
20938
20939 \begin_layout Standard
20940 これらの2つのマクロは,
20941 下記のように,
20942 前置詞から
20943 \begin_inset Flex Code
20944 status collapsed
20945
20946 \begin_layout Plain Layout
20947 !
20948 \end_layout
20949
20950 \end_inset
20951
20952 を落とした形で
20953 \begin_inset Flex Code
20954 status collapsed
20955
20956 \begin_layout Plain Layout
20957 CiteFormat
20958 \end_layout
20959
20960 \end_inset
20961
20962 (次節参照)で定義されなくてはなりません.
20963 \end_layout
20964
20965 \begin_layout LyX-Code
20966 _stardesc Sta&rred command label
20967 \end_layout
20968
20969 \begin_layout LyX-Code
20970 _stardesctooltip Tooltip for the starred command checkbox.
20971 \end_layout
20972
20973 \end_deeper
20974 \begin_layout Itemize
20975 ドル記号
20976 \begin_inset Flex Code
20977 status collapsed
20978
20979 \begin_layout Plain Layout
20980 $
20981 \end_layout
20982
20983 \end_inset
20984
20985 は,
20986 このコマンドが「qualified citation lists」を取り扱うことを示します.これは,
20987 リスト中の個別の引用に対して,
20988 前置文字列と後置文字列を置くことができる,
20989
20990 \family sans
20991 Biblatex
20992 \family default
20993 に特有の複数文献引用機能です.詳細については,
20994
20995 \family sans
20996 Biblatex
20997 \family default
20998 の取扱説明書をご覧ください.
20999 \end_layout
21000
21001 \begin_layout Subsection
21002 \begin_inset CommandInset label
21003 LatexCommand label
21004 name "subsec:引用書式指定"
21005
21006 \end_inset
21007
21008 引用書式指定
21009 \end_layout
21010
21011 \begin_layout Standard
21012 (引用ダイアログやツールチップなどの)\SpecialChar LyX
21013 内部やXHTML出力において,
21014 書誌情報をどのように表示するべきかの叙述には,
21015
21016 \begin_inset Flex Code
21017 status collapsed
21018
21019 \begin_layout Plain Layout
21020 CiteFormat
21021 \end_layout
21022
21023 \end_inset
21024
21025 ブロックが使用されています.このブロックは,
21026 以下のような形をしています.
21027 \end_layout
21028
21029 \begin_layout LyX-Code
21030 CiteFormat
21031 \end_layout
21032
21033 \begin_layout LyX-Code
21034  article ...
21035 \end_layout
21036
21037 \begin_layout LyX-Code
21038  book ...
21039 \end_layout
21040
21041 \begin_layout LyX-Code
21042 End
21043 \end_layout
21044
21045 \begin_layout Standard
21046 あるいは
21047 \end_layout
21048
21049 \begin_layout LyX-Code
21050 CiteFormat
21051 \end_layout
21052
21053 \begin_layout LyX-Code
21054  cite ...
21055 \end_layout
21056
21057 \begin_layout LyX-Code
21058  citet*[][] ...
21059 \end_layout
21060
21061 \begin_layout LyX-Code
21062 End
21063 \end_layout
21064
21065 \begin_layout Standard
21066 最初の例の各行は,
21067 それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,
21068 このような定義は,
21069 Bib\SpecialChar TeX
21070 ファイル中に存在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,
21071 \SpecialChar LyX
21072 は,
21073 ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
21074 は,
21075 いくつかの書式を
21076 \begin_inset Flex Code
21077 status collapsed
21078
21079 \begin_layout Plain Layout
21080 stdciteformats.inc
21081 \end_layout
21082
21083 \end_inset
21084
21085 ファイルで事前定義しており,
21086 これはほとんどの\SpecialChar LyX
21087 文書クラスにインクルードされています.
21088 \end_layout
21089
21090 \begin_layout Standard
21091 2つ目の例では,
21092 各行は,
21093 特定の引用コマンド(この例では
21094 \begin_inset Flex Code
21095 status collapsed
21096
21097 \begin_layout Plain Layout
21098
21099 \backslash
21100 cite
21101 \end_layout
21102
21103 \end_inset
21104
21105 及び
21106 \begin_inset Flex Code
21107 status collapsed
21108
21109 \begin_layout Plain Layout
21110
21111 \backslash
21112 citet
21113 \end_layout
21114
21115 \end_inset
21116
21117 )が,
21118 引用差込枠ラベルや引用ダイアログ,
21119 メニュー,
21120 XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
21121 は,
21122 \SpecialChar LyX
21123 に同梱されている個別の
21124 \begin_inset Flex Code
21125 status collapsed
21126
21127 \begin_layout Plain Layout
21128 *.citeengine
21129 \end_layout
21130
21131 \end_inset
21132
21133 ファイル中において,
21134
21135 \family sans
21136 文書\SpecialChar menuseparator
21137 設定\SpecialChar menuseparator
21138 書誌情報\SpecialChar ldots
21139
21140 \family default
21141 でサポートしている引用様式用に,
21142 そのような書式を定義しています(第
21143 \begin_inset CommandInset ref
21144 LatexCommand ref
21145 reference "subsec:引用エンジンファイル"
21146 plural "false"
21147 caps "false"
21148 noprefix "false"
21149 nolink "false"
21150
21151 \end_inset
21152
21153 節参照).
21154 \end_layout
21155
21156 \begin_layout Standard
21157 この定義は,
21158 Bib\SpecialChar TeX
21159 キーをその値で置換できる機能を持った,
21160 簡単な言語を使用しています.キーは,
21161
21162 \begin_inset Flex Code
21163 status collapsed
21164
21165 \begin_layout Plain Layout
21166 %author%
21167 \end_layout
21168
21169 \end_inset
21170
21171 のように
21172 \begin_inset Flex Code
21173 status collapsed
21174
21175 \begin_layout Plain Layout
21176 %
21177 \end_layout
21178
21179 \end_inset
21180
21181 記号でくくらなくてはなりません.したがって,
21182 簡単な定義は以下のようになります.
21183 \end_layout
21184
21185 \begin_layout LyX-Code
21186 misc %author%,
21187  
21188 \begin_inset Quotes eld
21189 \end_inset
21190
21191 %title%
21192 \begin_inset Quotes erd
21193 \end_inset
21194
21195
21196 \end_layout
21197
21198 \begin_layout Standard
21199 これは,
21200 「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
21201 \end_layout
21202
21203 \begin_layout Standard
21204 もちろん,
21205 キーが存在するときのみ,
21206 そのキーを出力したい時があるはずです.このようなときには
21207 \begin_inset Flex Code
21208 status collapsed
21209
21210 \begin_layout Plain Layout
21211 {%volume%[[vol.
21212 \begin_inset space ~
21213 \end_inset
21214
21215 %volume%]]}
21216 \end_layout
21217
21218 \end_inset
21219
21220 のように,
21221 条件付きの構成を使用することができます.これは,
21222
21223 \begin_inset Flex Code
21224 status collapsed
21225
21226 \begin_layout Plain Layout
21227 volume
21228 \end_layout
21229
21230 \end_inset
21231
21232 が存在するならば,
21233 「vol.
21234 \begin_inset space ~
21235 \end_inset
21236
21237 」とvolumeキーを出力するという意味です.また,
21238
21239 \begin_inset Newline newline
21240 \end_inset
21241
21242
21243 \begin_inset Flex Code
21244 status collapsed
21245
21246 \begin_layout Plain Layout
21247 {%author%[[%author%]][[%editor%,
21248  ed.]]}
21249 \end_layout
21250
21251 \end_inset
21252
21253
21254 \begin_inset Newline newline
21255 \end_inset
21256
21257 のように,
21258 条件の中にelse節を含めることも可能です.ここでは,
21259 もし
21260 \begin_inset Flex Code
21261 status collapsed
21262
21263 \begin_layout Plain Layout
21264 author
21265 \end_layout
21266
21267 \end_inset
21268
21269 キーが存在するならば出力され,
21270 そうでなければeditorキーと「,
21271 \begin_inset space ~
21272 \end_inset
21273
21274 ed.」が出力されます.ここでもキーは,
21275
21276 \begin_inset Flex Code
21277 status collapsed
21278
21279 \begin_layout Plain Layout
21280 %
21281 \end_layout
21282
21283 \end_inset
21284
21285 記号でくくられていることに注意してください.条件全体は,
21286 波括弧で囲まれています.if節およびelse節は,
21287
21288 \begin_inset Flex Code
21289 status collapsed
21290
21291 \begin_layout Plain Layout
21292 [[
21293 \end_layout
21294
21295 \end_inset
21296
21297 」と「
21298 \begin_inset Flex Code
21299 status collapsed
21300
21301 \begin_layout Plain Layout
21302 ]]
21303 \end_layout
21304
21305 \end_inset
21306
21307 」の二重角括弧で囲まれています.これらすべてのあいだには,
21308 空白は入ってはなりません.
21309 \end_layout
21310
21311 \begin_layout Standard
21312 これらの条件文に使うことができるものには,
21313 項目キーの他に,
21314 以下の特殊キーがあります.
21315 \end_layout
21316
21317 \begin_layout Itemize
21318 \begin_inset Flex Code
21319 status collapsed
21320
21321 \begin_layout Plain Layout
21322 {%dialog%[[真]][[偽]]}
21323 \end_layout
21324
21325 \end_inset
21326
21327 :
21328  ダイアログとメニューに対しては「真」の部分を処理し,
21329 他の文脈(作業領域や書き出し)には「偽」の部分を処理します
21330 \end_layout
21331
21332 \begin_layout Itemize
21333 \begin_inset Flex Code
21334 status collapsed
21335
21336 \begin_layout Plain Layout
21337 {%export%[[真]][[偽]]}
21338 \end_layout
21339
21340 \end_inset
21341
21342 :
21343  書き出しとメニューに対しては「真」の部分を処理し,
21344 他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
21345 \end_layout
21346
21347 \begin_layout Itemize
21348 \begin_inset Flex Code
21349 status collapsed
21350
21351 \begin_layout Plain Layout
21352 {%next%[[真]]}
21353 \end_layout
21354
21355 \end_inset
21356
21357 :
21358  他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
21359 \end_layout
21360
21361 \begin_layout Itemize
21362 \begin_inset Flex Code
21363 status collapsed
21364
21365 \begin_layout Plain Layout
21366 {%second%[[真]][[偽]]}
21367 \end_layout
21368
21369 \end_inset
21370
21371 :
21372  これが複数項目の2番目の場合には「真」の部分を処理し,
21373 それ以外の場合には「偽」の部分を処理します
21374 \end_layout
21375
21376 \begin_layout Itemize
21377 \begin_inset Flex Code
21378 status collapsed
21379
21380 \begin_layout Plain Layout
21381 {%ifstar%[[真]][[偽]]}
21382 \end_layout
21383
21384 \end_inset
21385
21386 :
21387  (
21388 \begin_inset Flex Code
21389 status collapsed
21390
21391 \begin_layout Plain Layout
21392
21393 \backslash
21394 cite*
21395 \end_layout
21396
21397 \end_inset
21398
21399 など)星印付き引用コマンドの場合には「真」の部分を処理し,
21400 星印付きでない場合には「偽」の部分を処理します
21401 \end_layout
21402
21403 \begin_layout Itemize
21404 \begin_inset Flex Code
21405 status collapsed
21406
21407 \begin_layout Plain Layout
21408 {%ifentrytype:<type>%[[真]][[偽]]}
21409 \end_layout
21410
21411 \end_inset
21412
21413 :
21414  現行の項目が
21415 \begin_inset Flex Code
21416 status collapsed
21417
21418 \begin_layout Plain Layout
21419 <型>
21420 \end_layout
21421
21422 \end_inset
21423
21424 に一致する場合には「真」の部分を処理し,
21425 それ以外の場合には「偽」の部分を処理します(例:
21426 引用定義において
21427 \begin_inset Flex Code
21428 status collapsed
21429
21430 \begin_layout Plain Layout
21431 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
21432 \end_layout
21433
21434 \end_inset
21435
21436
21437 \end_layout
21438
21439 \begin_layout Itemize
21440 \begin_inset Flex Code
21441 status collapsed
21442
21443 \begin_layout Plain Layout
21444 {%ifmultiple:<authortype>%[[真]][[偽]]}
21445 \end_layout
21446
21447 \end_inset
21448
21449 :
21450  現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,
21451 それ以外の場合には「偽」の部分を処理します(例:
21452 書誌情報定義において
21453 \begin_inset Flex Code
21454 status collapsed
21455
21456 \begin_layout Plain Layout
21457 {%ifmultiple:editor%[[eds.]][[ed.]]}
21458 \end_layout
21459
21460 \end_inset
21461
21462
21463 \end_layout
21464
21465 \begin_layout Itemize
21466 \begin_inset Flex Code
21467 status collapsed
21468
21469 \begin_layout Plain Layout
21470 {%ifqualified%[[真]][[偽]]}
21471 \end_layout
21472
21473 \end_inset
21474
21475 :
21476  現行の引用がqualified citation listである(複数文献引用に対する
21477 \family sans
21478 Biblatex
21479 \family default
21480 特有の形式)場合には「真」の部分を処理し,
21481 それ以外の場合には「偽」の部分を処理します
21482 \end_layout
21483
21484 \begin_layout Standard
21485 \begin_inset Flex Code
21486 status collapsed
21487
21488 \begin_layout Plain Layout
21489 %author%
21490 \end_layout
21491
21492 \end_inset
21493
21494 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller,
21495  Peter and Smith,
21496  Mary and White,
21497  Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
21498 では著者を区切るのに「and」が用いられるため),
21499 望ましい結果ではありません.したがって,
21500 \SpecialChar LyX
21501 は,
21502 正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
21503 \end_layout
21504
21505 \begin_layout Enumerate
21506 書誌情報項目の主要著者・編者に適した,
21507 姓名付き名前リスト用.
21508 \begin_inset Flex Code
21509 status collapsed
21510
21511 \begin_layout Plain Layout
21512 <nametype>
21513 \end_layout
21514
21515 \end_inset
21516
21517 部分は要請されているリスト型を表します(例:
21518
21519 \begin_inset Flex Code
21520 status collapsed
21521
21522 \begin_layout Plain Layout
21523 <nametype:author>
21524 \end_layout
21525
21526 \end_inset
21527
21528
21529 \end_layout
21530
21531 \begin_deeper
21532 \begin_layout Itemize
21533 \begin_inset Flex Code
21534 status collapsed
21535
21536 \begin_layout Plain Layout
21537 %abbrvnames:<nametype>%
21538 \end_layout
21539
21540 \end_inset
21541
21542 :
21543  
21544 \begin_inset Flex Code
21545 status collapsed
21546
21547 \begin_layout Plain Layout
21548 MaxCiteNames
21549 \end_layout
21550
21551 \end_inset
21552
21553 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
21554 \end_layout
21555
21556 \begin_layout Itemize
21557 \begin_inset Flex Code
21558 status collapsed
21559
21560 \begin_layout Plain Layout
21561 %fullnames:<nametype>%
21562 \end_layout
21563
21564 \end_inset
21565
21566 :
21567  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
21568 \end_layout
21569
21570 \begin_layout Itemize
21571 \begin_inset Flex Code
21572 status collapsed
21573
21574 \begin_layout Plain Layout
21575 %forceabbrvnames:<nametype>%
21576 \end_layout
21577
21578 \end_inset
21579
21580 :
21581  
21582 \begin_inset Flex Code
21583 status collapsed
21584
21585 \begin_layout Plain Layout
21586 MaxCiteNames
21587 \end_layout
21588
21589 \end_inset
21590
21591 に関わらず,
21592 常に短縮される(「et al.」と共に供される)名前リストを提供します.
21593 \end_layout
21594
21595 \end_deeper
21596 \begin_layout Enumerate
21597 書誌情報項目中の姓名の順序が異なっている場合の,
21598 姓名付き名前リスト(例:
21599 「Miller,
21600  John:
21601  何らかの文,
21602  in:
21603  Mary Smith,
21604  ed.:
21605  A volume」
21606 \end_layout
21607
21608 \begin_deeper
21609 \begin_layout Itemize
21610 \begin_inset Flex Code
21611 status collapsed
21612
21613 \begin_layout Plain Layout
21614 %abbrvbynames:<nametype>%
21615 \end_layout
21616
21617 \end_inset
21618
21619 :
21620  
21621 \begin_inset Flex Code
21622 status collapsed
21623
21624 \begin_layout Plain Layout
21625 MaxCiteNames
21626 \end_layout
21627
21628 \end_inset
21629
21630 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
21631 \end_layout
21632
21633 \begin_layout Itemize
21634 \begin_inset Flex Code
21635 status collapsed
21636
21637 \begin_layout Plain Layout
21638 %fullbynames:<nametype>%
21639 \end_layout
21640
21641 \end_inset
21642
21643 :
21644  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
21645 \end_layout
21646
21647 \begin_layout Itemize
21648 \begin_inset Flex Code
21649 status collapsed
21650
21651 \begin_layout Plain Layout
21652 %forceabbrvbynames:<nametype>%
21653 \end_layout
21654
21655 \end_inset
21656
21657 :
21658  
21659 \begin_inset Flex Code
21660 status collapsed
21661
21662 \begin_layout Plain Layout
21663 MaxCiteNames
21664 \end_layout
21665
21666 \end_inset
21667
21668 に関わらず,
21669 常に短縮される(「et al.」と共に供される)名前リストを提供します.
21670 \end_layout
21671
21672 \end_deeper
21673 \begin_layout Enumerate
21674 著者-発行年引用ラベルで用いられるような,
21675 姓のみを含む姓リスト.これらは
21676 \begin_inset Flex Code
21677 status collapsed
21678
21679 \begin_layout Plain Layout
21680 <nametype>
21681 \end_layout
21682
21683 \end_inset
21684
21685 部分を取りませんが,
21686 (著者-発行年ラベルで通例であるように)常に著者リストか,
21687 存在しない場合には編者リストを返します.
21688 \end_layout
21689
21690 \begin_deeper
21691 \begin_layout Itemize
21692 \begin_inset Flex Code
21693 status collapsed
21694
21695 \begin_layout Plain Layout
21696 %abbrvciteauthor%
21697 \end_layout
21698
21699 \end_inset
21700
21701 :
21702  
21703 \begin_inset Flex Code
21704 status collapsed
21705
21706 \begin_layout Plain Layout
21707 MaxCiteNames
21708 \end_layout
21709
21710 \end_inset
21711
21712 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
21713 \end_layout
21714
21715 \begin_layout Itemize
21716 \begin_inset Flex Code
21717 status collapsed
21718
21719 \begin_layout Plain Layout
21720 %fullciteauthor%
21721 \end_layout
21722
21723 \end_inset
21724
21725 :
21726  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
21727 \end_layout
21728
21729 \begin_layout Itemize
21730 \begin_inset Flex Code
21731 status collapsed
21732
21733 \begin_layout Plain Layout
21734 %forceabbrvciteauthor%
21735 \end_layout
21736
21737 \end_inset
21738
21739 :
21740  
21741 \begin_inset Flex Code
21742 status collapsed
21743
21744 \begin_layout Plain Layout
21745 MaxCiteNames
21746 \end_layout
21747
21748 \end_inset
21749
21750 に関わらず,
21751 常に短縮される(「et al.」と共に供される)名前リストを提供します.
21752 \end_layout
21753
21754 \end_deeper
21755 \begin_layout Standard
21756 前二者の姓名の順序は,
21757 下記のマクロで変更することができます.
21758 \end_layout
21759
21760 \begin_layout Itemize
21761 \begin_inset Flex Code
21762 status collapsed
21763
21764 \begin_layout Plain Layout
21765 !firstnameform %surname%,
21766  %prename%
21767 \end_layout
21768
21769 \end_inset
21770
21771 (1の場合の最初の著者)
21772 \end_layout
21773
21774 \begin_layout Itemize
21775 \begin_inset Flex Code
21776 status collapsed
21777
21778 \begin_layout Plain Layout
21779 !othernameform %surname%,
21780  %prename%
21781 \end_layout
21782
21783 \end_inset
21784
21785 (1の場合の他の著者)
21786 \end_layout
21787
21788 \begin_layout Itemize
21789 \begin_inset Flex Code
21790 status collapsed
21791
21792 \begin_layout Plain Layout
21793 !firstbynameform %prename% %surname%
21794 \end_layout
21795
21796 \end_inset
21797
21798 (2の場合の最初の著者)
21799 \end_layout
21800
21801 \begin_layout Itemize
21802 \begin_inset Flex Code
21803 status collapsed
21804
21805 \begin_layout Plain Layout
21806 !otherbynameform %prename% %surname%
21807 \end_layout
21808
21809 \end_inset
21810
21811 (2の場合の他の著者)
21812 \end_layout
21813
21814 \begin_layout Standard
21815 これによって,
21816 名前を「Miller,
21817  Peter and Mary Smith:
21818  \SpecialChar ldots
21819 ,
21820  in:
21821  John Doe and Pat Green,
21822  eds.:\SpecialChar ldots
21823 」のように設定することができます.
21824 \end_layout
21825
21826 \begin_layout Standard
21827 もう一つ,
21828 定義中で使用することのできる文法として,
21829
21830 \begin_inset Flex Code
21831 status collapsed
21832
21833 \begin_layout Plain Layout
21834 {!<i>!}
21835 \end_layout
21836
21837 \end_inset
21838
21839 という形をしたものがあります.これは,
21840 「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,
21841 平文を書き出すときには,
21842 HTMLタグを出力させたくはありませんから,
21843 HTMLタグは「
21844 \begin_inset Flex Code
21845 status collapsed
21846
21847 \begin_layout Plain Layout
21848 {!
21849 \end_layout
21850
21851 \end_inset
21852
21853 」と「
21854 \begin_inset Flex Code
21855 status collapsed
21856
21857 \begin_layout Plain Layout
21858 !}
21859 \end_layout
21860
21861 \end_inset
21862
21863 」でくるんでやらなくてはならないのです.
21864 \end_layout
21865
21866 \begin_layout Standard
21867 \begin_inset Flex Code
21868 status collapsed
21869
21870 \begin_layout Plain Layout
21871 CiteFormat
21872 \end_layout
21873
21874 \end_inset
21875
21876 ブロックでは,
21877 他に2つの特殊な定義が可能です.一つめの例としては,
21878
21879 \end_layout
21880
21881 \begin_layout LyX-Code
21882 !quotetitle 
21883 \begin_inset Quotes eld
21884 \end_inset
21885
21886 %title%
21887 \begin_inset Quotes erd
21888 \end_inset
21889
21890
21891 \end_layout
21892
21893 \begin_layout Standard
21894 といった例が挙げられます.これは,
21895 短縮形ないしはマクロであり,
21896
21897 \begin_inset Flex Code
21898 status collapsed
21899
21900 \begin_layout Plain Layout
21901 %!quotetitle%
21902 \end_layout
21903
21904 \end_inset
21905
21906 のように,
21907 これがキーであるかのように扱って使用することができます.\SpecialChar LyX
21908 は,
21909
21910 \begin_inset Flex Code
21911 status collapsed
21912
21913 \begin_layout Plain Layout
21914 %!quotetitle%
21915 \end_layout
21916
21917 \end_inset
21918
21919 を,
21920 そこで定義されているものを扱う場合と同じように取り扱います.ですから,
21921 明白な警告を敢えてさせて頂くと,
21922
21923 \end_layout
21924
21925 \begin_layout LyX-Code
21926 !funfun %funfun%
21927 \end_layout
21928
21929 \begin_layout Standard
21930 のようなことはしないでください.\SpecialChar LyX
21931 は,
21932 無限ループに陥るようなことはありませんが,
21933 諦めるまでに時間のかかる長いループに入るかもしれません.
21934 \end_layout
21935
21936 \begin_layout Standard
21937 特殊な定義の二つめは,
21938
21939 \end_layout
21940
21941 \begin_layout LyX-Code
21942 B_pptext pp.
21943 \end_layout
21944
21945 \begin_layout Standard
21946 のようなものです.これは翻訳対象となるテキスト部分を定義し,
21947 これによって書誌情報や引用の対応する部分が翻訳されるようになります.
21948 \begin_inset Flex Code
21949 status collapsed
21950
21951 \begin_layout Plain Layout
21952 %B_pptext%
21953 \end_layout
21954
21955 \end_inset
21956
21957 のように,
21958 これをキーとして扱って,
21959 定義の中に入れることもできます.
21960 \lang english
21961 Note that there are two different translation paths:
21962  All definitions starting with 
21963 \begin_inset Flex Code
21964 status collapsed
21965
21966 \begin_layout Plain Layout
21967
21968 \lang english
21969 B_
21970 \end_layout
21971
21972 \end_inset
21973
21974 ,
21975  such as in the example above,
21976  will be translated to the currently active buffer language (so the translation will match the generated document).
21977  All definitions starting with underscore only will be translated to the GUI language.
21978  This is the proper translation for strings that only occur in the dialogs or on buttons,
21979  such as this one:
21980 \end_layout
21981
21982 \begin_layout LyX-Code
21983
21984 \lang english
21985 _addtobib Add to bibliography only.
21986 \end_layout
21987
21988 \begin_layout Standard
21989 これらのうちいくつかは
21990 \lang english
21991 translatable strings
21992 \lang japanese
21993
21994
21995 \begin_inset Flex Code
21996 status collapsed
21997
21998 \begin_layout Plain Layout
21999 stdciteformats.inc
22000 \end_layout
22001
22002 \end_inset
22003
22004 及び様々な
22005 \begin_inset Flex Code
22006 status collapsed
22007
22008 \begin_layout Plain Layout
22009 *.citeengine
22010 \end_layout
22011
22012 \end_inset
22013
22014 ファイル中に事前定義されています.これは,
22015 上記で述べたような意味でのマクロではないことに注意してください.
22016 \end_layout
22017
22018 \begin_layout Standard
22019 以下は,
22020 これらの機能を全て使った例です.
22021 \begin_inset VSpace defskip
22022 \end_inset
22023
22024
22025 \end_layout
22026
22027 \begin_layout Standard
22028 \noindent
22029
22030 \family sans
22031 !authoredit {%author%[[%author%,
22032  ]][[{%editor%[[%editor%,
22033  %B_edtext%,
22034  ]]}]]}
22035 \end_layout
22036
22037 \begin_layout Standard
22038 \begin_inset VSpace defskip
22039 \end_inset
22040
22041 これは,
22042
22043 \begin_inset Flex Code
22044 status collapsed
22045
22046 \begin_layout Plain Layout
22047 author
22048 \end_layout
22049
22050 \end_inset
22051
22052 キーが定義されているならば,
22053 著者とコンマを出力し,
22054
22055 \begin_inset Flex Code
22056 status collapsed
22057
22058 \begin_layout Plain Layout
22059 author
22060 \end_layout
22061
22062 \end_inset
22063
22064 キーが定義されておらず,
22065
22066 \begin_inset Flex Code
22067 status collapsed
22068
22069 \begin_layout Plain Layout
22070 editor
22071 \end_layout
22072
22073 \end_inset
22074
22075 キーが定義されているならば,
22076 編集者名の後に
22077 \begin_inset Flex Code
22078 status collapsed
22079
22080 \begin_layout Plain Layout
22081 B_edtext
22082 \end_layout
22083
22084 \end_inset
22085
22086 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
22087 \begin_inset Flex Code
22088 status collapsed
22089
22090 \begin_layout Plain Layout
22091 stdciteformats.inc
22092 \end_layout
22093
22094 \end_inset
22095
22096 の中で定義されていますので,
22097 このファイルをまず読みこめば,
22098 ご自身の定義ないしは再定義の中で使用することができます.
22099 \end_layout
22100
22101 \begin_layout Section
22102 \begin_inset CommandInset label
22103 LatexCommand label
22104 name "sec:XHTML出力のタグ"
22105
22106 \end_inset
22107
22108 XHTML出力のタグ
22109 \end_layout
22110
22111 \begin_layout Standard
22112 \SpecialChar LaTeX
22113 やDocBookと同様,
22114 \SpecialChar LyX
22115 のXHTML出力の書式も,
22116 レイアウト情報によって制御することができます.一般的に,
22117 \SpecialChar LyX
22118 は適切な既定値を提供し,
22119 前述したように,
22120 他のレイアウトタグに基づいて,
22121 既定のCSSスタイルの構成まで行ないます.たとえば,
22122 章見出しを適切に整形するためのCSSを書き出すために,
22123 \SpecialChar LyX
22124 は,
22125 章様式の
22126 \begin_inset Flex Code
22127 status collapsed
22128
22129 \begin_layout Plain Layout
22130 Font
22131 \end_layout
22132
22133 \end_inset
22134
22135 宣言で提供されている情報を利用しようと試みます.
22136 \end_layout
22137
22138 \begin_layout Standard
22139 したがって,
22140 多くの場合,
22141 使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,
22142 まったく何もしなくてよいことになるでしょう.しかしながら,
22143 これが必要になる場合もあるので,
22144 \SpecialChar LyX
22145 は,
22146 生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,
22147 たくさん提供しています.
22148 \end_layout
22149
22150 \begin_layout Standard
22151 様式宣言や差込枠宣言の外で使用することができるタグに,
22152
22153 \begin_inset Flex Code
22154 status collapsed
22155
22156 \begin_layout Plain Layout
22157 HTMLPreamble
22158 \end_layout
22159
22160 \end_inset
22161
22162
22163 \begin_inset Flex Code
22164 status collapsed
22165
22166 \begin_layout Plain Layout
22167 AddToHTMLPreamble
22168 \end_layout
22169
22170 \end_inset
22171
22172 の2つがあることに注意してください.これらの詳細については,
22173
22174 \begin_inset CommandInset ref
22175 LatexCommand ref
22176 reference "subsec:汎用テキストクラスパラメータ"
22177 nolink "false"
22178
22179 \end_inset
22180
22181 をご覧ください.
22182 \end_layout
22183
22184 \begin_layout Subsection
22185 \begin_inset CommandInset label
22186 LatexCommand label
22187 name "subsec:段落様式-XHTML"
22188
22189 \end_inset
22190
22191 段落様式
22192 \end_layout
22193
22194 \begin_layout Standard
22195 \SpecialChar LyX
22196 が段落のために出力するXHTMLの種類は,
22197 通常の段落を取り扱っているのか,
22198 コマンドを取り扱っているのか,
22199 あるいは環境を取り扱っているのかに依存し,
22200 これは対応する
22201 \begin_inset Flex Code
22202 status collapsed
22203
22204 \begin_layout Plain Layout
22205 \SpecialChar LaTeX
22206 Type
22207 \end_layout
22208
22209 \end_inset
22210
22211 タグの内容によって決定されます.
22212 \end_layout
22213
22214 \begin_layout Standard
22215 コマンドや通常の段落の場合には,
22216 XHTML出力は以下の形になります.
22217 \end_layout
22218
22219 \begin_layout LyX-Code
22220
22221 \family sans
22222 <tag attr=
22223 \begin_inset Quotes erd
22224 \end_inset
22225
22226 value
22227 \begin_inset Quotes erd
22228 \end_inset
22229
22230 >
22231 \end_layout
22232
22233 \begin_layout LyX-Code
22234
22235 \family sans
22236 <labeltag attr=
22237 \begin_inset Quotes erd
22238 \end_inset
22239
22240 value
22241 \begin_inset Quotes erd
22242 \end_inset
22243
22244 >ラベル</labeltag>
22245 \end_layout
22246
22247 \begin_layout LyX-Code
22248
22249 \family sans
22250 段落の内容
22251 \end_layout
22252
22253 \begin_layout LyX-Code
22254
22255 \family sans
22256 </tag>
22257 \end_layout
22258
22259 \begin_layout Standard
22260 もちろん,
22261 段落にラベルがなければ,
22262 ラベルタグは省略することができます.
22263 \end_layout
22264
22265 \begin_layout Standard
22266 環境のうち,
22267 リストの変種でないものに関しては,
22268 XHTMLは以下の形を取ります.
22269 \end_layout
22270
22271 \begin_layout LyX-Code
22272
22273 \family sans
22274 <tag attr=
22275 \begin_inset Quotes erd
22276 \end_inset
22277
22278 value
22279 \begin_inset Quotes erd
22280 \end_inset
22281
22282 >
22283 \end_layout
22284
22285 \begin_layout LyX-Code
22286
22287 \family sans
22288 <itemtag attr=
22289 \begin_inset Quotes erd
22290 \end_inset
22291
22292 value
22293 \begin_inset Quotes erd
22294 \end_inset
22295
22296 ><labeltag attr=
22297 \begin_inset Quotes erd
22298 \end_inset
22299
22300 value
22301 \begin_inset Quotes erd
22302 \end_inset
22303
22304 >環境ラベル</labeltag>最初の段落.
22305 \end_layout
22306
22307 \begin_layout LyX-Code
22308
22309 \family sans
22310 </itemtag>
22311 \end_layout
22312
22313 \begin_layout LyX-Code
22314
22315 \family sans
22316 <itemtag>二つめの段落.</itemtag>
22317 \end_layout
22318
22319 \begin_layout LyX-Code
22320
22321 \family sans
22322 </tag>
22323 \end_layout
22324
22325 \begin_layout Standard
22326 ラベルは,
22327 たとえば定理の場合にそうであるように,
22328 最初の段落にだけ出力されることに注意してください.
22329 \end_layout
22330
22331 \begin_layout Standard
22332 リストに関しては,
22333 次のような形になります.
22334 \end_layout
22335
22336 \begin_layout LyX-Code
22337
22338 \family sans
22339 <tag attr=
22340 \begin_inset Quotes erd
22341 \end_inset
22342
22343 value
22344 \begin_inset Quotes erd
22345 \end_inset
22346
22347 >
22348 \end_layout
22349
22350 \begin_layout LyX-Code
22351
22352 \family sans
22353 <itemtag attr=
22354 \begin_inset Quotes erd
22355 \end_inset
22356
22357 value
22358 \begin_inset Quotes erd
22359 \end_inset
22360
22361 ><labeltag attr=
22362 \begin_inset Quotes erd
22363 \end_inset
22364
22365 value
22366 \begin_inset Quotes erd
22367 \end_inset
22368
22369 >リストのラベル</labeltag>最初の項目.</itemtag>
22370 \end_layout
22371
22372 \begin_layout LyX-Code
22373
22374 \family sans
22375 <itemtag attr=
22376 \begin_inset Quotes erd
22377 \end_inset
22378
22379 value
22380 \begin_inset Quotes erd
22381 \end_inset
22382
22383 ><labeltag attr=
22384 \begin_inset Quotes erd
22385 \end_inset
22386
22387 value
22388 \begin_inset Quotes erd
22389 \end_inset
22390
22391 >リストのラベル</labeltag>二つめの項目.</itemtag>
22392 \end_layout
22393
22394 \begin_layout LyX-Code
22395
22396 \family sans
22397 </tag>
22398 \end_layout
22399
22400 \begin_layout LyX-Code
22401
22402 \end_layout
22403
22404 \begin_layout LyX-Code
22405
22406 \family sans
22407 <tag attr=
22408 \begin_inset Quotes erd
22409 \end_inset
22410
22411 value
22412 \begin_inset Quotes erd
22413 \end_inset
22414
22415 >
22416 \end_layout
22417
22418 \begin_layout LyX-Code
22419
22420 \family sans
22421 <labeltag attr=
22422 \begin_inset Quotes erd
22423 \end_inset
22424
22425 value
22426 \begin_inset Quotes erd
22427 \end_inset
22428
22429 >リストのラベル</labeltag><itemtag attr=
22430 \begin_inset Quotes erd
22431 \end_inset
22432
22433 value
22434 \begin_inset Quotes erd
22435 \end_inset
22436
22437 >最初の項目.</itemtag>
22438 \end_layout
22439
22440 \begin_layout LyX-Code
22441
22442 \family sans
22443 <labeltag attr=
22444 \begin_inset Quotes erd
22445 \end_inset
22446
22447 value
22448 \begin_inset Quotes erd
22449 \end_inset
22450
22451 >リストのラベル</labeltag><itemtag attr=
22452 \begin_inset Quotes erd
22453 \end_inset
22454
22455 value
22456 \begin_inset Quotes erd
22457 \end_inset
22458
22459 >二つめの項目</itemtag>
22460 \end_layout
22461
22462 \begin_layout LyX-Code
22463
22464 \family sans
22465 </tag>
22466 \end_layout
22467
22468 \begin_layout Standard
22469 ここで
22470 \begin_inset Flex Code
22471 status collapsed
22472
22473 \begin_layout Plain Layout
22474 labeltag
22475 \end_layout
22476
22477 \end_inset
22478
22479
22480 \begin_inset Flex Code
22481 status collapsed
22482
22483 \begin_layout Plain Layout
22484 itemtag
22485 \end_layout
22486
22487 \end_inset
22488
22489 の順序が違っていることに注意してください.どちらの順序になるかは,
22490
22491 \begin_inset Flex Code
22492 status collapsed
22493
22494 \begin_layout Plain Layout
22495 HTMLLabelFirst
22496 \end_layout
22497
22498 \end_inset
22499
22500 の設定に依存します.もし
22501 \begin_inset Flex Code
22502 status collapsed
22503
22504 \begin_layout Plain Layout
22505 HTMLLabelFirst
22506 \end_layout
22507
22508 \end_inset
22509
22510 が偽であれば(既定値),
22511 最初のケースのようになり,
22512 これが真であれば,
22513 二番めのケースのように,
22514 labelがitemの外側に来るようになります.
22515 \end_layout
22516
22517 \begin_layout Standard
22518 各段落の特定のタグ出力や属性出力は,
22519 以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,
22520 前述のように,
22521 多くの場合,
22522 \SpecialChar LyX
22523 は適切な既定値を生成するので,
22524 たいしたことをしなくても,
22525 望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,
22526 自分の好みにあわせて微調整する目的でここにあるものと考えてください.
22527 \end_layout
22528
22529 \begin_layout Description
22530 \begin_inset Flex Code
22531 status collapsed
22532
22533 \begin_layout Plain Layout
22534 HTMLAttr
22535 \end_layout
22536
22537 \end_inset
22538
22539  [
22540 \begin_inset Flex Code
22541 status collapsed
22542
22543 \begin_layout Plain Layout
22544 文字列
22545 \end_layout
22546
22547 \end_inset
22548
22549 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
22550
22551 \begin_inset Flex Code
22552 status collapsed
22553
22554 \begin_layout Plain Layout
22555 class=`mydiv'
22556 \end_layout
22557
22558 \end_inset
22559
22560 」のようなものです.既定においては,
22561 \SpecialChar LyX
22562 は「
22563 \begin_inset Flex Code
22564 status collapsed
22565
22566 \begin_layout Plain Layout
22567 class=`レイアウト名'
22568 \end_layout
22569
22570 \end_inset
22571
22572 」と出力します.ここで
22573 \begin_inset Flex Code
22574 status collapsed
22575
22576 \begin_layout Plain Layout
22577 レイアウト名
22578 \end_layout
22579
22580 \end_inset
22581
22582 は,
22583 レイアウトの\SpecialChar LyX
22584 名であり,
22585 chapterのように小文字で記述します.
22586 \end_layout
22587
22588 \begin_layout Description
22589 \begin_inset Flex Code
22590 status collapsed
22591
22592 \begin_layout Plain Layout
22593 HTMLForceCSS
22594 \end_layout
22595
22596 \end_inset
22597
22598  [
22599 \begin_inset Flex Code
22600 status collapsed
22601
22602 \begin_layout Plain Layout
22603
22604 \emph on
22605 0
22606 \emph default
22607 ,1
22608 \end_layout
22609
22610 \end_inset
22611
22612 ] 
22613 \begin_inset Flex Code
22614 status collapsed
22615
22616 \begin_layout Plain Layout
22617 HTMLStyle
22618 \end_layout
22619
22620 \end_inset
22621
22622 で追加情報が明示的に与えられているときでも,
22623 \SpecialChar LyX
22624 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
22625 \begin_inset Flex Code
22626 status collapsed
22627
22628 \begin_layout Plain Layout
22629 1
22630 \end_layout
22631
22632 \end_inset
22633
22634 にすると,
22635 生成されたCSSを完全に上書きする代わりに,
22636 変更したり追加したりすることができます.既定値は
22637 \begin_inset Flex Code
22638 status collapsed
22639
22640 \begin_layout Plain Layout
22641 0
22642 \end_layout
22643
22644 \end_inset
22645
22646 です.
22647 \end_layout
22648
22649 \begin_layout Description
22650 \begin_inset Flex Code
22651 status collapsed
22652
22653 \begin_layout Plain Layout
22654 HTMLItem
22655 \end_layout
22656
22657 \end_inset
22658
22659  [
22660 \begin_inset Flex Code
22661 status collapsed
22662
22663 \begin_layout Plain Layout
22664 文字列
22665 \end_layout
22666
22667 \end_inset
22668
22669 ] 環境の段落に使用されるタグ.上記各例の
22670 \begin_inset Flex Code
22671 status collapsed
22672
22673 \begin_layout Plain Layout
22674 itemtag
22675 \end_layout
22676
22677 \end_inset
22678
22679 を置き換えます.既定値は
22680 \begin_inset Flex Code
22681 status collapsed
22682
22683 \begin_layout Plain Layout
22684 div
22685 \end_layout
22686
22687 \end_inset
22688
22689 です.
22690 \end_layout
22691
22692 \begin_layout Description
22693 \begin_inset Flex Code
22694 status collapsed
22695
22696 \begin_layout Plain Layout
22697 HTMLItemAttr
22698 \end_layout
22699
22700 \end_inset
22701
22702  [
22703 \begin_inset Flex Code
22704 status collapsed
22705
22706 \begin_layout Plain Layout
22707 文字列
22708 \end_layout
22709
22710 \end_inset
22711
22712 ] itemタグの属性.既定値は
22713 \begin_inset Flex Code
22714 status collapsed
22715
22716 \begin_layout Plain Layout
22717 class=`レイアウト名_item'
22718 \end_layout
22719
22720 \end_inset
22721
22722 です.ここには,
22723 様式情報は含まれては
22724 \emph on
22725 なりません
22726 \emph default
22727 .その目的のためには,
22728
22729 \begin_inset Flex Code
22730 status collapsed
22731
22732 \begin_layout Plain Layout
22733 HTMLStyle
22734 \end_layout
22735
22736 \end_inset
22737
22738 を使用してください.
22739 \end_layout
22740
22741 \begin_layout Description
22742 \begin_inset Flex Code
22743 status collapsed
22744
22745 \begin_layout Plain Layout
22746 HTMLLabel
22747 \end_layout
22748
22749 \end_inset
22750
22751  [
22752 \begin_inset Flex Code
22753 status collapsed
22754
22755 \begin_layout Plain Layout
22756 文字列
22757 \end_layout
22758
22759 \end_inset
22760
22761 ] 段落と項目ラベルに使用されるタグ.上記各例の
22762 \begin_inset Flex Code
22763 status collapsed
22764
22765 \begin_layout Plain Layout
22766 labeltag
22767 \end_layout
22768
22769 \end_inset
22770
22771 を置き換えます.
22772 \begin_inset Flex Code
22773 status collapsed
22774
22775 \begin_layout Plain Layout
22776 LabelType
22777 \end_layout
22778
22779 \end_inset
22780
22781
22782 \begin_inset Flex Code
22783 status collapsed
22784
22785 \begin_layout Plain Layout
22786 Top_Environment
22787 \end_layout
22788
22789 \end_inset
22790
22791
22792 \begin_inset Flex Code
22793 status collapsed
22794
22795 \begin_layout Plain Layout
22796 Centered_Top_Environment
22797 \end_layout
22798
22799 \end_inset
22800
22801 の時は,
22802 既定値は
22803 \begin_inset Flex Code
22804 status collapsed
22805
22806 \begin_layout Plain Layout
22807 div
22808 \end_layout
22809
22810 \end_inset
22811
22812 ですが,
22813 それ以外の時の既定値は
22814 \begin_inset Flex Code
22815 status collapsed
22816
22817 \begin_layout Plain Layout
22818 span
22819 \end_layout
22820
22821 \end_inset
22822
22823 です.
22824 \end_layout
22825
22826 \begin_layout Description
22827 \begin_inset Flex Code
22828 status collapsed
22829
22830 \begin_layout Plain Layout
22831 HTMLLabelAttr
22832 \end_layout
22833
22834 \end_inset
22835
22836  [
22837 \begin_inset Flex Code
22838 status collapsed
22839
22840 \begin_layout Plain Layout
22841 文字列
22842 \end_layout
22843
22844 \end_inset
22845
22846 ] labelタグの属性.既定値は
22847 \begin_inset Flex Code
22848 status collapsed
22849
22850 \begin_layout Plain Layout
22851 class=`レイアウト名_label'
22852 \end_layout
22853
22854 \end_inset
22855
22856 です.ここには,
22857 様式情報は含まれては
22858 \emph on
22859 なりません
22860 \emph default
22861 .その目的のためには,
22862
22863 \begin_inset Flex Code
22864 status collapsed
22865
22866 \begin_layout Plain Layout
22867 HTMLStyle
22868 \end_layout
22869
22870 \end_inset
22871
22872 を使用してください.
22873 \end_layout
22874
22875 \begin_layout Description
22876 \begin_inset Flex Code
22877 status collapsed
22878
22879 \begin_layout Plain Layout
22880 HTMLLabelFirst
22881 \end_layout
22882
22883 \end_inset
22884
22885  [
22886 \begin_inset Flex Code
22887 status collapsed
22888
22889 \begin_layout Plain Layout
22890
22891 \emph on
22892 0
22893 \emph default
22894 ,1
22895 \end_layout
22896
22897 \end_inset
22898
22899 ] このタグは,
22900 リスト関係環境でのみ意味を持ち,
22901 labelタグが,
22902 itemタグの前に出力されるか,
22903 中に出力されるかを制御します.これは,
22904 たとえば,
22905 description環境の中で,
22906
22907 \begin_inset Flex Code
22908 status collapsed
22909
22910 \begin_layout Plain Layout
22911 `<dt>\SpecialChar ldots
22912 </dt><dd>\SpecialChar ldots
22913 </dd>
22914 \end_layout
22915
22916 \end_inset
22917
22918 という形を得るために使用されます.既定値は
22919 \begin_inset Flex Code
22920 status collapsed
22921
22922 \begin_layout Plain Layout
22923 0
22924 \end_layout
22925
22926 \end_inset
22927
22928 で,
22929 labelタグはitemタグの中に出力されます.
22930 \end_layout
22931
22932 \begin_layout Description
22933 \begin_inset Flex Code
22934 status collapsed
22935
22936 \begin_layout Plain Layout
22937 HTMLPreamble
22938 \end_layout
22939
22940 \end_inset
22941
22942  この様式が使用されたときに,
22943
22944 \begin_inset Flex Code
22945 status collapsed
22946
22947 \begin_layout Plain Layout
22948 <head>
22949 \end_layout
22950
22951 \end_inset
22952
22953 セクションに出力される情報.これは,
22954 たとえば,
22955
22956 \begin_inset Flex Code
22957 status collapsed
22958
22959 \begin_layout Plain Layout
22960 onclick
22961 \end_layout
22962
22963 \end_inset
22964
22965 ハンドラを定義するために
22966 \begin_inset Flex Code
22967 status collapsed
22968
22969 \begin_layout Plain Layout
22970 <script>
22971 \end_layout
22972
22973 \end_inset
22974
22975 ブロックをインクルードするのに使用することができます.
22976 \end_layout
22977
22978 \begin_layout Description
22979 \begin_inset Flex Code
22980 status collapsed
22981
22982 \begin_layout Plain Layout
22983 HTMLStyle
22984 \end_layout
22985
22986 \end_inset
22987
22988   この様式が使用されたときに,
22989 インクルードするCSSスタイル情報.これは,
22990 レイアウトが生成する
22991 \begin_inset Flex Code
22992 status collapsed
22993
22994 \begin_layout Plain Layout
22995 <style>
22996 \end_layout
22997
22998 \end_inset
22999
23000 ブロックで自動的に包まれますので,
23001 CSS自体をインクルードするだけで大丈夫です.
23002 \begin_inset Flex Code
23003 status collapsed
23004
23005 \begin_layout Plain Layout
23006 EndHTMLStyle
23007 \end_layout
23008
23009 \end_inset
23010
23011 で閉じなくてはなりません.
23012 \end_layout
23013
23014 \begin_layout Description
23015 \begin_inset Flex Code
23016 status collapsed
23017
23018 \begin_layout Plain Layout
23019 HTMLTag
23020 \end_layout
23021
23022 \end_inset
23023
23024  [
23025 \begin_inset Flex Code
23026 status collapsed
23027
23028 \begin_layout Plain Layout
23029 文字列
23030 \end_layout
23031
23032 \end_inset
23033
23034 ] 主幹ラベルに使用されるタグ.上記各例の
23035 \begin_inset Flex Code
23036 status collapsed
23037
23038 \begin_layout Plain Layout
23039 tag
23040 \end_layout
23041
23042 \end_inset
23043
23044 を置き換えます.既定値は
23045 \begin_inset Flex Code
23046 status collapsed
23047
23048 \begin_layout Plain Layout
23049 div
23050 \end_layout
23051
23052 \end_inset
23053
23054 です.
23055 \end_layout
23056
23057 \begin_layout Description
23058 \begin_inset Flex Code
23059 status collapsed
23060
23061 \begin_layout Plain Layout
23062 HTMLTitle
23063 \end_layout
23064
23065 \end_inset
23066
23067  [
23068 \begin_inset Flex Code
23069 status collapsed
23070
23071 \begin_layout Plain Layout
23072
23073 \emph on
23074 0
23075 \emph default
23076 ,1
23077 \end_layout
23078
23079 \end_inset
23080
23081 ] この様式が,
23082 XHTMLファイルの
23083 \begin_inset Flex Code
23084 status collapsed
23085
23086 \begin_layout Plain Layout
23087 <title>
23088 \end_layout
23089
23090 \end_inset
23091
23092 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
23093 \begin_inset Flex Code
23094 status collapsed
23095
23096 \begin_layout Plain Layout
23097 stdtitle.inc
23098 \end_layout
23099
23100 \end_inset
23101
23102 ファイルでは,
23103
23104 \begin_inset Flex Code
23105 status collapsed
23106
23107 \begin_layout Plain Layout
23108 title
23109 \end_layout
23110
23111 \end_inset
23112
23113 環境のこの項目を真に設定しています.
23114 \end_layout
23115
23116 \begin_layout Subsection
23117 差込枠レイアウトXHTML
23118 \end_layout
23119
23120 \begin_layout Standard
23121 差込枠のXHTML出力も,
23122 レイアウトファイル内の情報によって制御することができます
23123 \begin_inset Foot
23124 status collapsed
23125
23126 \begin_layout Plain Layout
23127 現在のところ,
23128 これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,
23129 「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されません.
23130 \end_layout
23131
23132 \end_inset
23133
23134 .ここでも,
23135 \SpecialChar LyX
23136 は適切な既定値を提供しようと試み,
23137 既定のCSS様式を構成します.しかし,
23138 すべてカスタマイズ可能です.
23139 \end_layout
23140
23141 \begin_layout Standard
23142 \SpecialChar LyX
23143 が差込枠用に出力するXHTMLは,
23144 以下の形を取ります.
23145 \end_layout
23146
23147 \begin_layout LyX-Code
23148 <tag attr=
23149 \begin_inset Quotes erd
23150 \end_inset
23151
23152 value
23153 \begin_inset Quotes erd
23154 \end_inset
23155
23156 >
23157 \end_layout
23158
23159 \begin_layout LyX-Code
23160 <labeltag>ラベル</labeltag>
23161 \end_layout
23162
23163 \begin_layout LyX-Code
23164 <innertag attr=
23165 \begin_inset Quotes erd
23166 \end_inset
23167
23168 value
23169 \begin_inset Quotes erd
23170 \end_inset
23171
23172 >差込枠の内容.</innertag>
23173 \end_layout
23174
23175 \begin_layout LyX-Code
23176 </tag>
23177 \end_layout
23178
23179 \begin_layout Standard
23180 差込枠が多段落を許可している—
23181 つまり
23182 \begin_inset Flex Code
23183 status collapsed
23184
23185 \begin_layout Plain Layout
23186 MultiPar
23187 \end_layout
23188
23189 \end_inset
23190
23191 が真—
23192 ならば,
23193 差込枠の内容は,
23194 それ自身段落として出力され,
23195 それらの段落に用いられる様式(標準,
23196 引用など)を用いて整形されます.もちろん,
23197 段落にラベルがなければ,
23198 labelタグは省略され,
23199 ラベルがあれば,
23200 現在のところ,
23201 つねに
23202 \begin_inset Flex Code
23203 status collapsed
23204
23205 \begin_layout Plain Layout
23206 span
23207 \end_layout
23208
23209 \end_inset
23210
23211 が用いられます.innerタグは非必須であり,
23212 既定では出力されません.各差込枠用に出力される特定のタグや属性は,
23213 以下のレイアウトタグによって制御することができます.
23214 \end_layout
23215
23216 \begin_layout Description
23217 \begin_inset Flex Code
23218 status collapsed
23219
23220 \begin_layout Plain Layout
23221 HTMLAttr
23222 \end_layout
23223
23224 \end_inset
23225
23226  [
23227 \begin_inset Flex Code
23228 status collapsed
23229
23230 \begin_layout Plain Layout
23231 文字列
23232 \end_layout
23233
23234 \end_inset
23235
23236 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
23237
23238 \begin_inset Flex Code
23239 status collapsed
23240
23241 \begin_layout Plain Layout
23242 class=`myinset' onclick=`\SpecialChar ldots
23243 '
23244 \end_layout
23245
23246 \end_inset
23247
23248 」のようなものです.既定においては,
23249 \SpecialChar LyX
23250 は「
23251 \begin_inset Flex Code
23252 status collapsed
23253
23254 \begin_layout Plain Layout
23255 class=`差込枠名'
23256 \end_layout
23257
23258 \end_inset
23259
23260 」と出力します.ここで
23261 \begin_inset Flex Code
23262 status collapsed
23263
23264 \begin_layout Plain Layout
23265 差込枠名
23266 \end_layout
23267
23268 \end_inset
23269
23270 は,
23271 差込枠の\SpecialChar LyX
23272 名であり,
23273 小文字で記述します.アルファベットや数字以外の文字は,
23274 アンダースコアに置き換えられます.
23275 \end_layout
23276
23277 \begin_layout Description
23278 \begin_inset Flex Code
23279 status collapsed
23280
23281 \begin_layout Plain Layout
23282 HTMLForceCSS
23283 \end_layout
23284
23285 \end_inset
23286
23287  [
23288 \begin_inset Flex Code
23289 status collapsed
23290
23291 \begin_layout Plain Layout
23292
23293 \emph on
23294 0
23295 \emph default
23296 ,1
23297 \end_layout
23298
23299 \end_inset
23300
23301 ] 
23302 \begin_inset Flex Code
23303 status collapsed
23304
23305 \begin_layout Plain Layout
23306 HTMLStyle
23307 \end_layout
23308
23309 \end_inset
23310
23311 で追加情報が明示的に与えられているときでも,
23312 \SpecialChar LyX
23313 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
23314 \begin_inset Flex Code
23315 status collapsed
23316
23317 \begin_layout Plain Layout
23318 1
23319 \end_layout
23320
23321 \end_inset
23322
23323 にすると,
23324 生成されたCSSを完全に上書きする代わりに,
23325 変更したり追加したりすることができます.既定値は
23326 \begin_inset Flex Code
23327 status collapsed
23328
23329 \begin_layout Plain Layout
23330 0
23331 \end_layout
23332
23333 \end_inset
23334
23335 です.
23336 \end_layout
23337
23338 \begin_layout Description
23339 \begin_inset Flex Code
23340 status collapsed
23341
23342 \begin_layout Plain Layout
23343 HTMLInnerAttr
23344 \end_layout
23345
23346 \end_inset
23347
23348  [
23349 \begin_inset Flex Code
23350 status collapsed
23351
23352 \begin_layout Plain Layout
23353 文字列
23354 \end_layout
23355
23356 \end_inset
23357
23358 ] innerタグの属性.既定値は
23359 \begin_inset Flex Code
23360 status collapsed
23361
23362 \begin_layout Plain Layout
23363 class=`差込枠名_inner'
23364 \end_layout
23365
23366 \end_inset
23367
23368 です.
23369 \end_layout
23370
23371 \begin_layout Description
23372 \begin_inset Flex Code
23373 status collapsed
23374
23375 \begin_layout Plain Layout
23376 HTMLInnerTag
23377 \end_layout
23378
23379 \end_inset
23380
23381  [
23382 \begin_inset Flex Code
23383 status collapsed
23384
23385 \begin_layout Plain Layout
23386 文字列
23387 \end_layout
23388
23389 \end_inset
23390
23391 ] innerタグです.上記各例の
23392 \begin_inset Flex Code
23393 status collapsed
23394
23395 \begin_layout Plain Layout
23396 innertag
23397 \end_layout
23398
23399 \end_inset
23400
23401 を置き換えます.既定値はなしです.
23402 \end_layout
23403
23404 \begin_layout Description
23405 \begin_inset Flex Code
23406 status collapsed
23407
23408 \begin_layout Plain Layout
23409 HTMLIsBlock
23410 \end_layout
23411
23412 \end_inset
23413
23414  [
23415 \begin_inset Flex Code
23416 status collapsed
23417
23418 \begin_layout Plain Layout
23419 0,
23420 \emph on
23421 1
23422 \end_layout
23423
23424 \end_inset
23425
23426 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,
23427 それとも,
23428 (派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
23429 \end_layout
23430
23431 \begin_layout Description
23432 \begin_inset Flex Code
23433 status collapsed
23434
23435 \begin_layout Plain Layout
23436 HTMLLabel
23437 \end_layout
23438
23439 \end_inset
23440
23441  [
23442 \begin_inset Flex Code
23443 status collapsed
23444
23445 \begin_layout Plain Layout
23446 文字列
23447 \end_layout
23448
23449 \end_inset
23450
23451 ] 場合によっては,
23452 カウンタへの参照を含む,
23453 この差込枠のラベル.たとえば,
23454 脚註用には
23455 \begin_inset Flex Code
23456 status collapsed
23457
23458 \begin_layout Plain Layout
23459
23460 \backslash
23461 arabic{footnote}
23462 \end_layout
23463
23464 \end_inset
23465
23466 など.これは非必須であり,
23467 既定値はありません.
23468 \end_layout
23469
23470 \begin_layout Description
23471 \begin_inset Flex Code
23472 status collapsed
23473
23474 \begin_layout Plain Layout
23475 HTMLPreamble
23476 \end_layout
23477
23478 \end_inset
23479
23480  この様式が使用されたときに,
23481
23482 \begin_inset Flex Code
23483 status collapsed
23484
23485 \begin_layout Plain Layout
23486 <head>
23487 \end_layout
23488
23489 \end_inset
23490
23491 セクションに出力される情報.これは,
23492 たとえば,
23493
23494 \begin_inset Flex Code
23495 status collapsed
23496
23497 \begin_layout Plain Layout
23498 onclick
23499 \end_layout
23500
23501 \end_inset
23502
23503 ハンドラを定義するために
23504 \begin_inset Flex Code
23505 status collapsed
23506
23507 \begin_layout Plain Layout
23508 <script>
23509 \end_layout
23510
23511 \end_inset
23512
23513 ブロックをインクルードするのに使用することができます.
23514 \end_layout
23515
23516 \begin_layout Description
23517 \begin_inset Flex Code
23518 status collapsed
23519
23520 \begin_layout Plain Layout
23521 HTMLStyle
23522 \end_layout
23523
23524 \end_inset
23525
23526   この様式が使用されたときに,
23527 インクルードするCSSスタイル情報.これは,
23528 レイアウトが生成する
23529 \begin_inset Flex Code
23530 status collapsed
23531
23532 \begin_layout Plain Layout
23533 <style>
23534 \end_layout
23535
23536 \end_inset
23537
23538 ブロックで自動的に包まれますので,
23539 CSS自体をインクルードするだけで大丈夫です.
23540 \end_layout
23541
23542 \begin_layout Description
23543 \begin_inset Flex Code
23544 status collapsed
23545
23546 \begin_layout Plain Layout
23547 HTMLTag
23548 \end_layout
23549
23550 \end_inset
23551
23552  [
23553 \begin_inset Flex Code
23554 status collapsed
23555
23556 \begin_layout Plain Layout
23557 文字列
23558 \end_layout
23559
23560 \end_inset
23561
23562 ] 主幹ラベルに使用されるタグ.上記各例の
23563 \begin_inset Flex Code
23564 status collapsed
23565
23566 \begin_layout Plain Layout
23567 tag
23568 \end_layout
23569
23570 \end_inset
23571
23572 を置き換えます.既定値は
23573 \begin_inset Flex Code
23574 status collapsed
23575
23576 \begin_layout Plain Layout
23577 MultiPar
23578 \end_layout
23579
23580 \end_inset
23581
23582 の設定に依存し,
23583
23584 \begin_inset Flex Code
23585 status collapsed
23586
23587 \begin_layout Plain Layout
23588 MultiPar
23589 \end_layout
23590
23591 \end_inset
23592
23593 が真ならば
23594 \begin_inset Flex Code
23595 status collapsed
23596
23597 \begin_layout Plain Layout
23598 div
23599 \end_layout
23600
23601 \end_inset
23602
23603
23604 偽ならば
23605 \begin_inset Flex Code
23606 status collapsed
23607
23608 \begin_layout Plain Layout
23609 span
23610 \end_layout
23611
23612 \end_inset
23613
23614 です.
23615 \end_layout
23616
23617 \begin_layout Subsection
23618 フロートXHTML
23619 \end_layout
23620
23621 \begin_layout Standard
23622 フロートのXHTML出力も,
23623 レイアウトファイル内の情報によって制御することができます.出力は,
23624 以下の形を取ります.
23625 \end_layout
23626
23627 \begin_layout LyX-Code
23628 <tag attr=
23629 \begin_inset Quotes erd
23630 \end_inset
23631
23632 value
23633 \begin_inset Quotes erd
23634 \end_inset
23635
23636 >
23637 \end_layout
23638
23639 \begin_layout LyX-Code
23640 フロートの内容.
23641 \end_layout
23642
23643 \begin_layout LyX-Code
23644 </tag>
23645 \end_layout
23646
23647 \begin_layout Standard
23648 キャプションは,
23649 存在している場合には,
23650 独立した差込枠となり,
23651 そのような形で出力されます.その外観は,
23652 キャプション差込枠のInsetLayoutで制御することができます.
23653 \end_layout
23654
23655 \begin_layout Description
23656 \begin_inset Flex Code
23657 status collapsed
23658
23659 \begin_layout Plain Layout
23660 HTMLAttr
23661 \end_layout
23662
23663 \end_inset
23664
23665  [
23666 \begin_inset Flex Code
23667 status collapsed
23668
23669 \begin_layout Plain Layout
23670 文字列
23671 \end_layout
23672
23673 \end_inset
23674
23675 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
23676
23677 \begin_inset Flex Code
23678 status collapsed
23679
23680 \begin_layout Plain Layout
23681 class=`myfloat' onclick=`\SpecialChar ldots
23682 '
23683 \end_layout
23684
23685 \end_inset
23686
23687 」のようなものです.既定においては,
23688 \SpecialChar LyX
23689 は「
23690 \begin_inset Flex Code
23691 status collapsed
23692
23693 \begin_layout Plain Layout
23694 class=`float フロート-フロート型'
23695 \end_layout
23696
23697 \end_inset
23698
23699 」と出力します.ここで
23700 \begin_inset Flex Code
23701 status collapsed
23702
23703 \begin_layout Plain Layout
23704 フロート型
23705 \end_layout
23706
23707 \end_inset
23708
23709 は,
23710 フロート宣言で定義された(
23711 \begin_inset CommandInset ref
23712 LatexCommand ref
23713 reference "subsec:フロート"
23714 nolink "false"
23715
23716 \end_inset
23717
23718 参照),
23719 この型のフロートの\SpecialChar LyX
23720 名です.ただし,
23721 これは小文字に変換され,
23722 アルファベットや数字でない文字はアンダースコアに変換されます.例:
23723 float-table.
23724 \end_layout
23725
23726 \begin_layout Description
23727 \begin_inset Flex Code
23728 status collapsed
23729
23730 \begin_layout Plain Layout
23731 HTMLStyle
23732 \end_layout
23733
23734 \end_inset
23735
23736   このフロートが使用されたときに,
23737 インクルードするCSSスタイル情報.これは,
23738 レイアウトが生成する
23739 \begin_inset Flex Code
23740 status collapsed
23741
23742 \begin_layout Plain Layout
23743 <style>
23744 \end_layout
23745
23746 \end_inset
23747
23748 ブロックで自動的に包まれますので,
23749 CSS自体をインクルードするだけで大丈夫です.
23750 \end_layout
23751
23752 \begin_layout Description
23753 \begin_inset Flex Code
23754 status collapsed
23755
23756 \begin_layout Plain Layout
23757 HTMLTag
23758 \end_layout
23759
23760 \end_inset
23761
23762  [
23763 \begin_inset Flex Code
23764 status collapsed
23765
23766 \begin_layout Plain Layout
23767 文字列
23768 \end_layout
23769
23770 \end_inset
23771
23772 ] このフロートに使用されるタグ.上記各例の
23773 \begin_inset Flex Code
23774 status collapsed
23775
23776 \begin_layout Plain Layout
23777 tag
23778 \end_layout
23779
23780 \end_inset
23781
23782 を置き換えます.既定値は
23783 \begin_inset Flex Code
23784 status collapsed
23785
23786 \begin_layout Plain Layout
23787 div
23788 \end_layout
23789
23790 \end_inset
23791
23792 であり,
23793 ほとんどの場合変更する必要はありません.
23794 \end_layout
23795
23796 \begin_layout Subsection
23797 書誌情報の整形
23798 \end_layout
23799
23800 \begin_layout Standard
23801 書誌情報は,
23802
23803 \begin_inset Flex Code
23804 status collapsed
23805
23806 \begin_layout Plain Layout
23807 CiteFormat
23808 \end_layout
23809
23810 \end_inset
23811
23812 ブロックを使用して整形することができます.詳細については,
23813
23814 \begin_inset CommandInset ref
23815 LatexCommand ref
23816 reference "subsec:引用書式指定"
23817 nolink "false"
23818
23819 \end_inset
23820
23821 を参照してください.
23822 \end_layout
23823
23824 \begin_layout Subsection
23825 \SpecialChar LyX
23826 が生成したCSS
23827 \end_layout
23828
23829 \begin_layout Standard
23830 \SpecialChar LyX
23831 は,
23832 提供されている他のレイアウト情報に基づいて,
23833 差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,
23834 これまでに何度か触れました.この節では,
23835 \SpecialChar LyX
23836 がどのレイアウト情報を,
23837 どのように使うのか,
23838 ひとこと述べておきたいと思います.
23839 \end_layout
23840
23841 \begin_layout Standard
23842 \SpecialChar LyX
23843 は,
23844 現在のところ,
23845
23846 \begin_inset Flex Code
23847 status collapsed
23848
23849 \begin_layout Plain Layout
23850 Font
23851 \end_layout
23852
23853 \end_inset
23854
23855 宣言で指定されている
23856 \begin_inset Flex Code
23857 status collapsed
23858
23859 \begin_layout Plain Layout
23860 Family
23861 \end_layout
23862
23863 \end_inset
23864
23865
23866 \begin_inset Flex Code
23867 status collapsed
23868
23869 \begin_layout Plain Layout
23870 Series
23871 \end_layout
23872
23873 \end_inset
23874
23875
23876 \begin_inset Flex Code
23877 status collapsed
23878
23879 \begin_layout Plain Layout
23880 Shape
23881 \end_layout
23882
23883 \end_inset
23884
23885
23886 \begin_inset Flex Code
23887 status collapsed
23888
23889 \begin_layout Plain Layout
23890 Size
23891 \end_layout
23892
23893 \end_inset
23894
23895 を利用して,
23896 フォント情報についてのみCSSを自動生成します(
23897 \begin_inset CommandInset ref
23898 LatexCommand ref
23899 reference "subsec:フォント指定"
23900 nolink "false"
23901
23902 \end_inset
23903
23904 を参照).この変換は,
23905 きわめて分かりやすく自明です.たとえば,
23906
23907 \begin_inset Flex Code
23908 status collapsed
23909
23910 \begin_layout Plain Layout
23911 Family Sans
23912 \end_layout
23913
23914 \end_inset
23915
23916 」は「
23917 \begin_inset Flex Code
23918 status collapsed
23919
23920 \begin_layout Plain Layout
23921 font-family:
23922  sans-serif
23923 \end_layout
23924
23925 \end_inset
23926
23927 」になります.\SpecialChar LyX
23928 の寸法とCSSの寸法のあいだの対応は,
23929 少し複雑ですが,
23930 それでも直感的に分かります.詳細については,
23931
23932 \begin_inset Flex URL
23933 status collapsed
23934
23935 \begin_layout Plain Layout
23936
23937 src/FontInfo.cpp
23938 \end_layout
23939
23940 \end_inset
23941
23942
23943 \begin_inset Flex Code
23944 status collapsed
23945
23946 \begin_layout Plain Layout
23947 getSizeCSS()
23948 \end_layout
23949
23950 \end_inset
23951
23952 関数をご覧ください.
23953 \end_layout
23954
23955 \begin_layout Chapter
23956 外部素材を取り込む
23957 \begin_inset CommandInset label
23958 LatexCommand label
23959 name "chap:外部素材を取り込む"
23960
23961 \end_inset
23962
23963
23964 \end_layout
23965
23966 \begin_layout Standard
23967 \begin_inset Box Shadowbox
23968 position "t"
23969 hor_pos "c"
23970 has_inner_box 1
23971 inner_pos "t"
23972 use_parbox 0
23973 use_makebox 0
23974 width "100col%"
23975 special "none"
23976 height "1in"
23977 height_special "totalheight"
23978 thickness "0.4pt"
23979 separation "3pt"
23980 shadowsize "4pt"
23981 framecolor "black"
23982 backgroundcolor "none"
23983 status open
23984
23985 \begin_layout Plain Layout
23986 【警告】本説明書のこの部分は,
23987 しばらく更新されていません.もちろんまだ正確であることを期待していますが,
23988 保証の限りではありません.
23989 \end_layout
23990
23991 \end_inset
23992
23993
23994 \end_layout
23995
23996 \begin_layout Standard
23997 \SpecialChar LyX
23998 外部のソースから素材を使用する方法は,
23999 取扱説明書『
24000 \emph on
24001 埋込オブジェクト篇
24002 \emph default
24003 』で詳細にカバーされています.本章は,
24004 新種の素材を取り込む際に,
24005 舞台裏で何をする必要があるかをカバーします.
24006 \end_layout
24007
24008 \begin_layout Section
24009 どのように機能するのか
24010 \end_layout
24011
24012 \begin_layout Standard
24013 外部素材の機能は,
24014 ひな型の概念に基づいています.ひな型は,
24015 \SpecialChar LyX
24016 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,
24017 \SpecialChar LyX
24018 は,
24019 Xfigの図や,
24020 様々なラスター形式画像,
24021 チェス棋譜,
24022 LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
24023
24024 \begin_inset Flex MenuItem
24025 status collapsed
24026
24027 \begin_layout Plain Layout
24028 挿入\SpecialChar menuseparator
24029 ファイル\SpecialChar menuseparator
24030 外部素材
24031 \end_layout
24032
24033 \end_inset
24034
24035 メニューで見ることができます.さらに,
24036 特定の型の素材をサポートするのに,
24037 自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しますが,
24038 できればあなたが作ったすべてのひな型を投稿して,
24039 我々が\SpecialChar LyX
24040 の後の版に取り込むことができるようにしてくださることを希望します.
24041 \end_layout
24042
24043 \begin_layout Standard
24044 外部素材の機能におけるもう一つの基本的な発想は,
24045 最終素材の元となるオリジナルファイルと,
24046 書き出された文書や印刷された文書に取り込むための生成ファイルとを区別していることです.たとえば,
24047
24048 \begin_inset Flex Code
24049 status collapsed
24050
24051 \begin_layout Plain Layout
24052 Xfig
24053 \end_layout
24054
24055 \end_inset
24056
24057 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
24058
24059 \begin_inset Flex Code
24060 status collapsed
24061
24062 \begin_layout Plain Layout
24063 .fig
24064 \end_layout
24065
24066 \end_inset
24067
24068 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,
24069 作業が終われば
24070 \begin_inset Flex Code
24071 status collapsed
24072
24073 \begin_layout Plain Layout
24074 fig
24075 \end_layout
24076
24077 \end_inset
24078
24079 ファイルに保存します.この図をお使いの文書に取り込みたいときには,
24080 \SpecialChar LaTeX
24081 ファイルにそのままインクルードできるように,
24082
24083 \begin_inset Flex Code
24084 status collapsed
24085
24086 \begin_layout Plain Layout
24087 transfig
24088 \end_layout
24089
24090 \end_inset
24091
24092 を呼び出してPostScriptファイルを生成します.この場合には,
24093
24094 \begin_inset Flex Code
24095 status collapsed
24096
24097 \begin_layout Plain Layout
24098 .fig
24099 \end_layout
24100
24101 \end_inset
24102
24103 ファイルがオリジナルファイルであり,
24104 PostScriptファイルが生成ファイルになります.
24105 \end_layout
24106
24107 \begin_layout Standard
24108 この区別は,
24109 文書を執筆している最中に,
24110 素材を更新することができるようにするために重要です.さらに,
24111 これによって,
24112 複数の書き出し書式をサポートするために必要な柔軟性が提供されます.たとえば,
24113 平文テキストファイルの場合には,
24114 図を生のPostScriptファイルとして取り込むのは,
24115 とても褒められた発想とはいえません.むしろ,
24116 その図への参照だけを含めるか,
24117 最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
24118 の外部素材マネジメントは,
24119 \SpecialChar LyX
24120 がサポートする各書き出し書式別に仕分けしているので,
24121 ユーザがこれを行うことが可能となっています.
24122 \end_layout
24123
24124 \begin_layout Standard
24125 \SpecialChar LyX
24126 の外部素材マネジメントは,
24127 書き出し書式によって異なる生成物をサポートすることの他に,
24128 編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図の場合には,
24129 \SpecialChar LyX
24130 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,
24131 ダブルクリックすることで生成されたPostScriptファイルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,
24132 オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファイルブラウザをいじくり回す必要はないのです.このようにして,
24133 文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,
24134 最終的により生産性を上げることができるようになるのです.
24135 \end_layout
24136
24137 \begin_layout Section
24138 外用ひな型設定ファイル
24139 \end_layout
24140
24141 \begin_layout Standard
24142 \SpecialChar LyX
24143 に自製の外用ひな型を付け加えるのは,
24144 比較的簡単です.しかしながら,
24145 これを不用心に行ってしまうと,
24146 たいていの場合,
24147 簡単に濫用されてしまうようなセキュリティホールを作ってしまいがちであることを心に留めておいてください.したがって,
24148 これを実行に移す前に,
24149
24150 \begin_inset CommandInset ref
24151 LatexCommand ref
24152 reference "sec:セキュリティに関する論点"
24153 nolink "false"
24154
24155 \end_inset
24156
24157 のセキュリティに関する議論を読んでおいてください.
24158 \end_layout
24159
24160 \begin_layout Standard
24161 このことに言及した上で,
24162 あなたが作成した面白いひな型は,
24163 ぜひ投稿してください.
24164 \end_layout
24165
24166 \begin_layout Standard
24167 外用ひな型ファイルは,
24168
24169 \begin_inset Flex Code
24170 status collapsed
24171
24172 \begin_layout Plain Layout
24173 LyXDir/lib/xtemplates/
24174 \end_layout
24175
24176 \end_inset
24177
24178 ディレクトリ中にある
24179 \begin_inset Flex Code
24180 status collapsed
24181
24182 \begin_layout Plain Layout
24183 *.xtemplate
24184 \end_layout
24185
24186 \end_inset
24187
24188 ファイルに定義されています.各ひな型は,
24189 そのファイル完結で定義されています.自分専用のひな型を
24190 \begin_inset Flex Code
24191 status collapsed
24192
24193 \begin_layout Plain Layout
24194 UserDir/xtemplates/
24195 \end_layout
24196
24197 \end_inset
24198
24199 に置くこともできますし,
24200 既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
24201 \end_layout
24202
24203 \begin_layout Standard
24204 典型的なひな型は以下のようになります.
24205 \end_layout
24206
24207 \begin_layout LyX-Code
24208 Template XFig
24209 \end_layout
24210
24211 \begin_layout LyX-Code
24212 GuiName "XFig:
24213  $$AbsOrRelPathParent$$Basename"
24214 \end_layout
24215
24216 \begin_layout LyX-Code
24217 HelpText
24218 \end_layout
24219
24220 \begin_layout LyX-Code
24221 An XFig figure.
24222 \end_layout
24223
24224 \begin_layout LyX-Code
24225 HelpTextEnd
24226 \end_layout
24227
24228 \begin_layout LyX-Code
24229 InputFormat fig
24230 \end_layout
24231
24232 \begin_layout LyX-Code
24233 FileFilter "*.fig"
24234 \end_layout
24235
24236 \begin_layout LyX-Code
24237 AutomaticProduction true
24238 \end_layout
24239
24240 \begin_layout LyX-Code
24241 Transform Rotate
24242 \end_layout
24243
24244 \begin_layout LyX-Code
24245 Transform Resize
24246 \end_layout
24247
24248 \begin_layout LyX-Code
24249 Format LaTeX
24250 \end_layout
24251
24252 \begin_layout LyX-Code
24253 TransformCommand Rotate RotationLatexCommand
24254 \end_layout
24255
24256 \begin_layout LyX-Code
24257 TransformCommand Resize ResizeLatexCommand
24258 \end_layout
24259
24260 \begin_layout LyX-Code
24261 Product "$$RotateFront$$ResizeFront
24262 \end_layout
24263
24264 \begin_layout LyX-Code
24265          
24266 \backslash
24267
24268 \backslash
24269 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
24270 \end_layout
24271
24272 \begin_layout LyX-Code
24273          $$ResizeBack$$RotateBack"
24274 \end_layout
24275
24276 \begin_layout LyX-Code
24277 UpdateFormat pstex
24278 \end_layout
24279
24280 \begin_layout LyX-Code
24281 UpdateResult "$$AbsPath$$Basename.pstex_t"
24282 \end_layout
24283
24284 \begin_layout LyX-Code
24285 Requirement "graphicx"
24286 \end_layout
24287
24288 \begin_layout LyX-Code
24289 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
24290 \end_layout
24291
24292 \begin_layout LyX-Code
24293 ReferencedFile latex "$$AbsPath$$Basename.eps"
24294 \end_layout
24295
24296 \begin_layout LyX-Code
24297 ReferencedFile dvi "$$AbsPath$$Basename.eps"
24298 \end_layout
24299
24300 \begin_layout LyX-Code
24301 FormatEnd
24302 \end_layout
24303
24304 \begin_layout LyX-Code
24305 Format PDFLaTeX
24306 \end_layout
24307
24308 \begin_layout LyX-Code
24309 TransformCommand Rotate RotationLatexCommand
24310 \end_layout
24311
24312 \begin_layout LyX-Code
24313 TransformCommand Resize ResizeLatexCommand
24314 \end_layout
24315
24316 \begin_layout LyX-Code
24317 Product "$$RotateFront$$ResizeFront
24318 \end_layout
24319
24320 \begin_layout LyX-Code
24321          
24322 \backslash
24323
24324 \backslash
24325 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
24326 \end_layout
24327
24328 \begin_layout LyX-Code
24329          $$ResizeBack$$RotateBack"
24330 \end_layout
24331
24332 \begin_layout LyX-Code
24333 UpdateFormat pdftex
24334 \end_layout
24335
24336 \begin_layout LyX-Code
24337 UpdateResult "$$AbsPath$$Basename.pdftex_t"
24338 \end_layout
24339
24340 \begin_layout LyX-Code
24341 Requirement "graphicx"
24342 \end_layout
24343
24344 \begin_layout LyX-Code
24345 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
24346 \end_layout
24347
24348 \begin_layout LyX-Code
24349 ReferencedFile latex "$$AbsPath$$Basename.pdf"
24350 \end_layout
24351
24352 \begin_layout LyX-Code
24353 FormatEnd
24354 \end_layout
24355
24356 \begin_layout LyX-Code
24357 Format Ascii
24358 \end_layout
24359
24360 \begin_layout LyX-Code
24361 Product "$$Contents(
24362 \backslash
24363 "$$AbsPath$$Basename.asc
24364 \backslash
24365 ")"
24366 \end_layout
24367
24368 \begin_layout LyX-Code
24369 UpdateFormat asciixfig
24370 \end_layout
24371
24372 \begin_layout LyX-Code
24373 UpdateResult "$$AbsPath$$Basename.asc"
24374 \end_layout
24375
24376 \begin_layout LyX-Code
24377 FormatEnd
24378 \end_layout
24379
24380 \begin_layout LyX-Code
24381 Format DocBook
24382 \end_layout
24383
24384 \begin_layout LyX-Code
24385 Product "<graphic fileref=
24386 \backslash
24387 "$$AbsOrRelPathMaster$$Basename.eps
24388 \backslash
24389 ">
24390 \end_layout
24391
24392 \begin_layout LyX-Code
24393          </graphic>"
24394 \end_layout
24395
24396 \begin_layout LyX-Code
24397 UpdateFormat eps
24398 \end_layout
24399
24400 \begin_layout LyX-Code
24401 UpdateResult "$$AbsPath$$Basename.eps"
24402 \end_layout
24403
24404 \begin_layout LyX-Code
24405 ReferencedFile docbook "$$AbsPath$$Basename.eps"
24406 \end_layout
24407
24408 \begin_layout LyX-Code
24409 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
24410 \end_layout
24411
24412 \begin_layout LyX-Code
24413 FormatEnd
24414 \end_layout
24415
24416 \begin_layout LyX-Code
24417 Product "[XFig:
24418  $$FName]"
24419 \end_layout
24420
24421 \begin_layout LyX-Code
24422 FormatEnd
24423 \end_layout
24424
24425 \begin_layout LyX-Code
24426 TemplateEnd
24427 \end_layout
24428
24429 \begin_layout Standard
24430 ご覧の通り,
24431 ひな型は
24432 \begin_inset Flex Code
24433 status collapsed
24434
24435 \begin_layout Plain Layout
24436 Template
24437 \end_layout
24438
24439 \end_inset
24440
24441  \SpecialChar ldots
24442  
24443 \begin_inset Flex Code
24444 status collapsed
24445
24446 \begin_layout Plain Layout
24447 TemplateEnd
24448 \end_layout
24449
24450 \end_inset
24451
24452 で閉じられます.ひな型には,
24453 一般的な設定を行うヘッダ部と,
24454 サポートされている主要な文書ファイル形式の設定を行う
24455 \begin_inset Flex Code
24456 status collapsed
24457
24458 \begin_layout Plain Layout
24459 Format
24460 \end_layout
24461
24462 \end_inset
24463
24464  \SpecialChar ldots
24465  
24466 \begin_inset Flex Code
24467 status collapsed
24468
24469 \begin_layout Plain Layout
24470 FormatEnd
24471 \end_layout
24472
24473 \end_inset
24474
24475 部があります.
24476 \end_layout
24477
24478 \begin_layout Subsection
24479 ひな型のヘッダ
24480 \end_layout
24481
24482 \begin_layout Description
24483 \begin_inset Flex Code
24484 status collapsed
24485
24486 \begin_layout Plain Layout
24487 AutomaticProduction
24488 \begin_inset space ~
24489 \end_inset
24490
24491 true|false
24492 \end_layout
24493
24494 \end_inset
24495
24496  このひな型で扱うファイルを\SpecialChar LyX
24497 が生成しなくてはならないか否か.このコマンドは,
24498 一度だけ必ず現れなくてはなりません.
24499 \end_layout
24500
24501 \begin_layout Description
24502 \begin_inset Flex Code
24503 status collapsed
24504
24505 \begin_layout Plain Layout
24506 FileFilter
24507 \begin_inset space ~
24508 \end_inset
24509
24510 <パターン>
24511 \end_layout
24512
24513 \end_inset
24514
24515  望むファイル群を表示するために,
24516 ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,
24517 tgifには
24518 \begin_inset Flex Code
24519 status collapsed
24520
24521 \begin_layout Plain Layout
24522 .obj
24523 \end_layout
24524
24525 \end_inset
24526
24527
24528 \begin_inset Flex Code
24529 status collapsed
24530
24531 \begin_layout Plain Layout
24532 .tgo
24533 \end_layout
24534
24535 \end_inset
24536
24537 があります),
24538
24539 \begin_inset Flex Code
24540 status collapsed
24541
24542 \begin_layout Plain Layout
24543 *.{obj,tgo}
24544 \end_layout
24545
24546 \end_inset
24547
24548 」の様なパターンを使用してください.このコマンドは,
24549 一度だけ必ず現れなくてはなりません.
24550 \end_layout
24551
24552 \begin_layout Description
24553 \begin_inset Flex Code
24554 status collapsed
24555
24556 \begin_layout Plain Layout
24557 GuiName
24558 \begin_inset space ~
24559 \end_inset
24560
24561 <GUI名>
24562 \end_layout
24563
24564 \end_inset
24565
24566  この文字列はボタン上に表示されます.このコマンドは,
24567 一度だけ必ず現れなくてはなりません.
24568 \end_layout
24569
24570 \begin_layout Description
24571 \begin_inset Flex Code
24572 status collapsed
24573
24574 \begin_layout Plain Layout
24575 HelpText
24576 \begin_inset space ~
24577 \end_inset
24578
24579 <文章>
24580 \begin_inset space ~
24581 \end_inset
24582
24583 HelpTextEnd
24584 \end_layout
24585
24586 \end_inset
24587
24588  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,
24589 ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,
24590 一度だけ必ず現れなくてはなりません.
24591 \end_layout
24592
24593 \begin_layout Description
24594 \begin_inset Flex Code
24595 status collapsed
24596
24597 \begin_layout Plain Layout
24598 InputFormat
24599 \begin_inset space ~
24600 \end_inset
24601
24602 <書式>
24603 \end_layout
24604
24605 \end_inset
24606
24607  オリジナルファイルのファイル形式.これは,
24608 \SpecialChar LyX
24609 が知っている書式名でなくてはなりません(
24610 \begin_inset CommandInset ref
24611 LatexCommand ref
24612 reference "sec:ファイル形式"
24613 nolink "false"
24614
24615 \end_inset
24616
24617 参照).このひな型が,
24618 2つ以上の書式のオリジナルファイルを取り扱える場合は,
24619
24620 \begin_inset Flex Code
24621 status collapsed
24622
24623 \begin_layout Plain Layout
24624 *
24625 \end_layout
24626
24627 \end_inset
24628
24629 」を使用してください.この場合,
24630 \SpecialChar LyX
24631 はファイル形式を推定するために,
24632 ファイル自体に詮索を試みます.このコマンドは,
24633 一度だけ必ず現れなくてはなりません.
24634 \end_layout
24635
24636 \begin_layout Description
24637 \begin_inset Flex Code
24638 status collapsed
24639
24640 \begin_layout Plain Layout
24641 Template
24642 \begin_inset space ~
24643 \end_inset
24644
24645 <ID>
24646 \end_layout
24647
24648 \end_inset
24649
24650  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
24651 \end_layout
24652
24653 \begin_layout Description
24654 \begin_inset Flex Code
24655 status collapsed
24656
24657 \begin_layout Plain Layout
24658 Transform
24659 \begin_inset space ~
24660 \end_inset
24661
24662 Rotate|Resize|Clip|Extra
24663 \end_layout
24664
24665 \end_inset
24666
24667  このコマンドは,
24668 このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,
24669 外部素材ダイアログ中の対応するタブを使用可能にします.
24670 \begin_inset Flex Code
24671 status collapsed
24672
24673 \begin_layout Plain Layout
24674 Transform
24675 \end_layout
24676
24677 \end_inset
24678
24679 コマンド一つずつに応じて,
24680
24681 \begin_inset Flex Code
24682 status collapsed
24683
24684 \begin_layout Plain Layout
24685 Format
24686 \end_layout
24687
24688 \end_inset
24689
24690 部に,
24691 対応する
24692 \begin_inset Flex Code
24693 status collapsed
24694
24695 \begin_layout Plain Layout
24696 TransformCommand
24697 \end_layout
24698
24699 \end_inset
24700
24701 コマンドか
24702 \begin_inset Flex Code
24703 status collapsed
24704
24705 \begin_layout Plain Layout
24706 TransformOption
24707 \end_layout
24708
24709 \end_inset
24710
24711 コマンドを置かなくてはなりません.これを行わないと,
24712 この書式での変換はサポートされません.
24713 \end_layout
24714
24715 \begin_layout Subsection
24716 \begin_inset Flex Code
24717 status collapsed
24718
24719 \begin_layout Plain Layout
24720 Format
24721 \end_layout
24722
24723 \end_inset
24724
24725
24726 \end_layout
24727
24728 \begin_layout Description
24729 \begin_inset Flex Code
24730 status collapsed
24731
24732 \begin_layout Plain Layout
24733 Format
24734 \begin_inset space ~
24735 \end_inset
24736
24737 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
24738 \end_layout
24739
24740 \end_inset
24741
24742  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,
24743 全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,
24744 全書式に対して
24745 \begin_inset Flex Code
24746 status collapsed
24747
24748 \begin_layout Plain Layout
24749 Format
24750 \end_layout
24751
24752 \end_inset
24753
24754 部を定義してください.表示する方法がないときは,
24755 ダミーテキストを使用してください.これによって,
24756 書き出した文書内で,
24757 少なくとも外部素材への参照を見ることができるようになります.
24758 \end_layout
24759
24760 \begin_layout Description
24761 \begin_inset Flex Code
24762 status collapsed
24763
24764 \begin_layout Plain Layout
24765 Option
24766 \begin_inset space ~
24767 \end_inset
24768
24769 <名称>
24770 \begin_inset space ~
24771 \end_inset
24772
24773 <値>
24774 \end_layout
24775
24776 \end_inset
24777
24778  このコマンドは,
24779
24780 \begin_inset Flex Code
24781 status collapsed
24782
24783 \begin_layout Plain Layout
24784 Product
24785 \end_layout
24786
24787 \end_inset
24788
24789 での代入に使うマクロ
24790 \begin_inset Flex Code
24791 status collapsed
24792
24793 \begin_layout Plain Layout
24794 $$<名称>
24795 \end_layout
24796
24797 \end_inset
24798
24799 を新たに定義します.
24800 \begin_inset Flex Code
24801 status collapsed
24802
24803 \begin_layout Plain Layout
24804 <値>
24805 \end_layout
24806
24807 \end_inset
24808
24809 自体にも代入マクロを使うことができます.
24810 \begin_inset Flex Code
24811 status collapsed
24812
24813 \begin_layout Plain Layout
24814 Product
24815 \end_layout
24816
24817 \end_inset
24818
24819
24820 \begin_inset Flex Code
24821 status collapsed
24822
24823 \begin_layout Plain Layout
24824 <値>
24825 \end_layout
24826
24827 \end_inset
24828
24829 を直接使用するよりも優れた点は,
24830
24831 \begin_inset Flex Code
24832 status collapsed
24833
24834 \begin_layout Plain Layout
24835 $$<名称>
24836 \end_layout
24837
24838 \end_inset
24839
24840 に代入された値が,
24841 その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
24842 \end_layout
24843
24844 \begin_layout Description
24845 \begin_inset Flex Code
24846 status collapsed
24847
24848 \begin_layout Plain Layout
24849 Product
24850 \begin_inset space ~
24851 \end_inset
24852
24853 <文>
24854 \end_layout
24855
24856 \end_inset
24857
24858  書き出された文書に挿入される文.実のところ,
24859 これが最も重要なコマンドであり,
24860 とても複雑になることがあります.このコマンドは,
24861 一度だけ必ず現れなくてはなりません.
24862 \end_layout
24863
24864 \begin_layout Description
24865 \begin_inset Flex Code
24866 status collapsed
24867
24868 \begin_layout Plain Layout
24869 Preamble
24870 \begin_inset space ~
24871 \end_inset
24872
24873 <名称>
24874 \end_layout
24875
24876 \end_inset
24877
24878  このコマンドは,
24879 \SpecialChar LaTeX
24880 プリアンブルに入れるプリアンブル片を指定します.これは
24881 \begin_inset Flex Code
24882 status collapsed
24883
24884 \begin_layout Plain Layout
24885 PreambleDef
24886 \end_layout
24887
24888 \end_inset
24889
24890  \SpecialChar ldots
24891  
24892 \begin_inset Flex Code
24893 status collapsed
24894
24895 \begin_layout Plain Layout
24896 PreambleDefEnd
24897 \end_layout
24898
24899 \end_inset
24900
24901 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
24902 \end_layout
24903
24904 \begin_layout Description
24905 \begin_inset Flex Code
24906 status collapsed
24907
24908 \begin_layout Plain Layout
24909 ReferencedFile
24910 \begin_inset space ~
24911 \end_inset
24912
24913 <書式>
24914 \begin_inset space ~
24915 \end_inset
24916
24917 <ファイル名>
24918 \end_layout
24919
24920 \end_inset
24921
24922  このコマンドは,
24923 変換過程で生成され,
24924 特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,
24925 親文書に対する相対パスとして解釈されます.このコマンドは全く登場しなくても1回以上現れても構いません.
24926 \end_layout
24927
24928 \begin_layout Description
24929 \begin_inset Flex Code
24930 status collapsed
24931
24932 \begin_layout Plain Layout
24933 Requirement
24934 \begin_inset space ~
24935 \end_inset
24936
24937 <package>
24938 \end_layout
24939
24940 \end_inset
24941
24942  必要とされる\SpecialChar LaTeX
24943 パッケージ名.パッケージは,
24944 \SpecialChar LaTeX
24945 プリアンブル中で
24946 \begin_inset Flex Code
24947 status collapsed
24948
24949 \begin_layout Plain Layout
24950
24951 \backslash
24952 usepackage{}
24953 \end_layout
24954
24955 \end_inset
24956
24957 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
24958 \end_layout
24959
24960 \begin_layout Description
24961 \begin_inset Flex Code
24962 status collapsed
24963
24964 \begin_layout Plain Layout
24965 TransformCommand
24966 \begin_inset space ~
24967 \end_inset
24968
24969 Rotate
24970 \begin_inset space ~
24971 \end_inset
24972
24973 RotationLatexCommand
24974 \end_layout
24975
24976 \end_inset
24977
24978  このコマンドは,
24979 回転用に,
24980 組み込みの\SpecialChar LaTeX
24981 コマンドを使用するように指定します.このコマンドは,
24982 1回現れても全く現れなくても構いません.
24983 \end_layout
24984
24985 \begin_layout Description
24986 \begin_inset Flex Code
24987 status collapsed
24988
24989 \begin_layout Plain Layout
24990 TransformCommand
24991 \begin_inset space ~
24992 \end_inset
24993
24994 Resize
24995 \begin_inset space ~
24996 \end_inset
24997
24998 ResizeLatexCommand
24999 \end_layout
25000
25001 \end_inset
25002
25003  このコマンドは,
25004 伸縮用に,
25005 組み込みの\SpecialChar LaTeX
25006 コマンドを使用するように指定します.このコマンドは,
25007 1回現れても全く現れなくても構いません.
25008 \end_layout
25009
25010 \begin_layout Description
25011 \begin_inset Flex Code
25012 status collapsed
25013
25014 \begin_layout Plain Layout
25015 TransformOption
25016 \begin_inset space ~
25017 \end_inset
25018
25019 Rotate
25020 \begin_inset space ~
25021 \end_inset
25022
25023 RotationLatexOption
25024 \end_layout
25025
25026 \end_inset
25027
25028  このコマンドは,
25029 回転が非必須引数を通じて行われるように指定します.このコマンドは,
25030 1回現れても全く現れなくても構いません.
25031 \end_layout
25032
25033 \begin_layout Description
25034 \begin_inset Flex Code
25035 status collapsed
25036
25037 \begin_layout Plain Layout
25038 TransformOption
25039 \begin_inset space ~
25040 \end_inset
25041
25042 Resize
25043 \begin_inset space ~
25044 \end_inset
25045
25046 ResizeLatexOption
25047 \end_layout
25048
25049 \end_inset
25050
25051  このコマンドは,
25052 伸縮が非必須引数を通じて行われるように指定します.このコマンドは,
25053 1回現れても全く現れなくても構いません.
25054 \end_layout
25055
25056 \begin_layout Description
25057 \begin_inset Flex Code
25058 status collapsed
25059
25060 \begin_layout Plain Layout
25061 TransformOption
25062 \begin_inset space ~
25063 \end_inset
25064
25065 Clip
25066 \begin_inset space ~
25067 \end_inset
25068
25069 ClipLatexOption
25070 \end_layout
25071
25072 \end_inset
25073
25074  このコマンドは,
25075 切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,
25076 1回現れても全く現れなくても構いません.
25077 \end_layout
25078
25079 \begin_layout Description
25080 \begin_inset Flex Code
25081 status collapsed
25082
25083 \begin_layout Plain Layout
25084 TransformOption
25085 \begin_inset space ~
25086 \end_inset
25087
25088 Extra
25089 \begin_inset space ~
25090 \end_inset
25091
25092 ExtraLatexOption
25093 \end_layout
25094
25095 \end_inset
25096
25097  このコマンドは,
25098 追加の非必須引数を使用することを指定します.このコマンドは,
25099 1回現れても全く現れなくても構いません.
25100 \end_layout
25101
25102 \begin_layout Description
25103 \begin_inset Flex Code
25104 status collapsed
25105
25106 \begin_layout Plain Layout
25107 UpdateFormat
25108 \begin_inset space ~
25109 \end_inset
25110
25111 <書式>
25112 \end_layout
25113
25114 \end_inset
25115
25116  変換されたファイルのファイル形式.これは,
25117 \SpecialChar LyX
25118 が知っている書式名でなくてはなりません(
25119 \begin_inset Flex MenuItem
25120 status collapsed
25121
25122 \begin_layout Plain Layout
25123 ツール\SpecialChar menuseparator
25124 設定\SpecialChar menuseparator
25125 ファイル処理\SpecialChar menuseparator
25126 ファイル書式
25127 \end_layout
25128
25129 \end_inset
25130
25131 ダイアログを参照).このコマンドは,
25132 一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,
25133 書式
25134 \begin_inset Flex Code
25135 status collapsed
25136
25137 \begin_layout Plain Layout
25138 pdf6
25139 \end_layout
25140
25141 \end_inset
25142
25143 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
25144 \end_layout
25145
25146 \begin_layout Description
25147 \begin_inset Flex Code
25148 status collapsed
25149
25150 \begin_layout Plain Layout
25151 UpdateResult
25152 \begin_inset space ~
25153 \end_inset
25154
25155 <ファイル名>
25156 \end_layout
25157
25158 \end_inset
25159
25160  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,
25161 一度だけ必ず現れなくてはなりません.
25162 \end_layout
25163
25164 \begin_layout Subsection
25165 プリアンブルの定義
25166 \end_layout
25167
25168 \begin_layout Standard
25169 外用ひな型設定ファイルには,
25170
25171 \begin_inset Flex Code
25172 status collapsed
25173
25174 \begin_layout Plain Layout
25175 PreambleDef
25176 \end_layout
25177
25178 \end_inset
25179
25180  \SpecialChar ldots
25181  
25182 \begin_inset Flex Code
25183 status collapsed
25184
25185 \begin_layout Plain Layout
25186 PreambleDefEnd
25187 \end_layout
25188
25189 \end_inset
25190
25191 で囲んだプリアンブル定義を追加することができます.これらの定義は,
25192 ひな型の
25193 \begin_inset Flex Code
25194 status collapsed
25195
25196 \begin_layout Plain Layout
25197 Format
25198 \end_layout
25199
25200 \end_inset
25201
25202 部で使用することができます.
25203 \end_layout
25204
25205 \begin_layout Section
25206 代入機構
25207 \end_layout
25208
25209 \begin_layout Standard
25210 外部素材機構が外部プログラムを呼び出すときには,
25211 ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,
25212 実行前に展開されるマクロをいろいろ入れることができます.実行は,
25213 つねに元の文書があるディレクトリで行われます.
25214 \end_layout
25215
25216 \begin_layout Standard
25217 また,
25218 外部素材が表示されるときにはいつでも,
25219 その名称は代入機構によって組み立てられ,
25220 ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
25221 \end_layout
25222
25223 \begin_layout Standard
25224 使用できるマクロは以下の通りです.
25225 \end_layout
25226
25227 \begin_layout Description
25228 \begin_inset Flex Code
25229 status collapsed
25230
25231 \begin_layout Plain Layout
25232 $$AbsOrRelPathMaster
25233 \end_layout
25234
25235 \end_inset
25236
25237  \SpecialChar LyX
25238 親文書への絶対ファイルパスないしは相対ファイルパス
25239 \end_layout
25240
25241 \begin_layout Description
25242 \begin_inset Flex Code
25243 status collapsed
25244
25245 \begin_layout Plain Layout
25246 $$AbsOrRelPathParent
25247 \end_layout
25248
25249 \end_inset
25250
25251  \SpecialChar LyX
25252 文書への絶対ファイルパスないしは相対ファイルパス
25253 \end_layout
25254
25255 \begin_layout Description
25256 \begin_inset Flex Code
25257 status collapsed
25258
25259 \begin_layout Plain Layout
25260 $$AbsPath
25261 \end_layout
25262
25263 \end_inset
25264
25265  絶対ファイルパス
25266 \end_layout
25267
25268 \begin_layout Description
25269 \begin_inset Flex Code
25270 status collapsed
25271
25272 \begin_layout Plain Layout
25273 $$Basename
25274 \end_layout
25275
25276 \end_inset
25277
25278  パスおよび拡張子を除いたファイル名
25279 \end_layout
25280
25281 \begin_layout Description
25282 \begin_inset Flex Code
25283 status collapsed
25284
25285 \begin_layout Plain Layout
25286 $$Contents(
25287 \begin_inset Quotes eld
25288 \end_inset
25289
25290 filename.ext
25291 \begin_inset Quotes erd
25292 \end_inset
25293
25294 )
25295 \end_layout
25296
25297 \end_inset
25298
25299  このマクロは,
25300
25301 \begin_inset Flex Code
25302 status collapsed
25303
25304 \begin_layout Plain Layout
25305 filename.ext
25306 \end_layout
25307
25308 \end_inset
25309
25310 と云う名のファイルの中身を展開します.
25311 \end_layout
25312
25313 \begin_layout Description
25314 \begin_inset Flex Code
25315 status collapsed
25316
25317 \begin_layout Plain Layout
25318 $$Extension
25319 \end_layout
25320
25321 \end_inset
25322
25323  ファイル拡張子(点を含む)
25324 \end_layout
25325
25326 \begin_layout Description
25327 \begin_inset Flex Code
25328 status collapsed
25329
25330 \begin_layout Plain Layout
25331 $$pngOrjpg
25332 \end_layout
25333
25334 \end_inset
25335
25336  これは,
25337 ファイルがJPEG形式の場合は,
25338 文字列「jpg」となり,
25339 それ以外では文字列「png」となります.これは,
25340 PNG形式とJPEG形式の両方をサポートする出力形式に対して,
25341 不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,
25342 pdf\SpecialChar TeX
25343 出力形式に対してこのマクロを使用します.
25344 \end_layout
25345
25346 \begin_layout Description
25347 \begin_inset Flex Code
25348 status collapsed
25349
25350 \begin_layout Plain Layout
25351 $$FName
25352 \end_layout
25353
25354 \end_inset
25355
25356  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
25357 文書への絶対パスでも良いですし,
25358 相対パスでも構いません.
25359 \end_layout
25360
25361 \begin_layout Description
25362 \begin_inset Flex Code
25363 status collapsed
25364
25365 \begin_layout Plain Layout
25366 $$FPath
25367 \end_layout
25368
25369 \end_inset
25370
25371  
25372 \begin_inset Flex Code
25373 status collapsed
25374
25375 \begin_layout Plain Layout
25376 $$FName
25377 \end_layout
25378
25379 \end_inset
25380
25381 のパス部分(\SpecialChar LyX
25382 文書への絶対パス名か相対パス名)
25383 \end_layout
25384
25385 \begin_layout Description
25386 \begin_inset Flex Code
25387 status collapsed
25388
25389 \begin_layout Plain Layout
25390 $$RelPathMaster
25391 \end_layout
25392
25393 \end_inset
25394
25395  \SpecialChar LyX
25396 親文書への相対ファイルパス
25397 \end_layout
25398
25399 \begin_layout Description
25400 \begin_inset Flex Code
25401 status collapsed
25402
25403 \begin_layout Plain Layout
25404 $$RelPathParent
25405 \end_layout
25406
25407 \end_inset
25408
25409  \SpecialChar LyX
25410 文書への相対ファイルパス
25411 \end_layout
25412
25413 \begin_layout Description
25414 \begin_inset Flex Code
25415 status collapsed
25416
25417 \begin_layout Plain Layout
25418 $$Sysdir
25419 \end_layout
25420
25421 \end_inset
25422
25423  このマクロは,
25424 システムディレクトリの絶対パスを展開します.これは,
25425 典型的には,
25426 \SpecialChar LyX
25427 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
25428 \end_layout
25429
25430 \begin_layout Description
25431 \begin_inset Flex Code
25432 status collapsed
25433
25434 \begin_layout Plain Layout
25435 $$Tempname
25436 \end_layout
25437
25438 \end_inset
25439
25440  元の文書が閉じられたり,
25441 挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
25442 \end_layout
25443
25444 \begin_layout Standard
25445 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,
25446 たとえば絶対パスのファイル名を 
25447 \begin_inset Flex Code
25448 status collapsed
25449
25450 \begin_layout Plain Layout
25451 $$AbsPath$$Basename$$Extension
25452 \end_layout
25453
25454 \end_inset
25455
25456 のようにして作ることができます.
25457 \end_layout
25458
25459 \begin_layout Standard
25460 上記マクロは,
25461 特記しない限りはすべてのコマンドで代入が行われます.
25462 \begin_inset Flex Code
25463 status collapsed
25464
25465 \begin_layout Plain Layout
25466 Transform
25467 \end_layout
25468
25469 \end_inset
25470
25471 コマンドと
25472 \begin_inset Flex Code
25473 status collapsed
25474
25475 \begin_layout Plain Layout
25476 TransformCommand
25477 \end_layout
25478
25479 \end_inset
25480
25481 コマンドが有効にされている場合,
25482
25483 \begin_inset Flex Code
25484 status collapsed
25485
25486 \begin_layout Plain Layout
25487 Product
25488 \end_layout
25489
25490 \end_inset
25491
25492 コマンドは,
25493 これらに加えて以下の代入もサポートします.
25494 \end_layout
25495
25496 \begin_layout Description
25497 \begin_inset Flex Code
25498 status collapsed
25499
25500 \begin_layout Plain Layout
25501 $$ResizeFront
25502 \end_layout
25503
25504 \end_inset
25505
25506  伸縮コマンドの前置部.
25507 \end_layout
25508
25509 \begin_layout Description
25510 \begin_inset Flex Code
25511 status collapsed
25512
25513 \begin_layout Plain Layout
25514 $$ResizeBack
25515 \end_layout
25516
25517 \end_inset
25518
25519  伸縮コマンドの後置部.
25520 \end_layout
25521
25522 \begin_layout Description
25523 \begin_inset Flex Code
25524 status collapsed
25525
25526 \begin_layout Plain Layout
25527 $$RotateFront
25528 \end_layout
25529
25530 \end_inset
25531
25532  回転コマンドの前置部.
25533 \end_layout
25534
25535 \begin_layout Description
25536 \begin_inset Flex Code
25537 status collapsed
25538
25539 \begin_layout Plain Layout
25540 $$RotateBack
25541 \end_layout
25542
25543 \end_inset
25544
25545  回転コマンドの後置部.
25546 \end_layout
25547
25548 \begin_layout Standard
25549 \begin_inset Flex Code
25550 status collapsed
25551
25552 \begin_layout Plain Layout
25553 Option
25554 \end_layout
25555
25556 \end_inset
25557
25558 コマンドの値に入れる文字列では,
25559
25560 \begin_inset Flex Code
25561 status collapsed
25562
25563 \begin_layout Plain Layout
25564 Transform
25565 \end_layout
25566
25567 \end_inset
25568
25569 コマンドと
25570 \begin_inset Flex Code
25571 status collapsed
25572
25573 \begin_layout Plain Layout
25574 TransformOption
25575 \end_layout
25576
25577 \end_inset
25578
25579 コマンドが有効にされていれば,
25580 以下の代入もサポートされます.
25581 \end_layout
25582
25583 \begin_layout Description
25584 \begin_inset Flex Code
25585 status collapsed
25586
25587 \begin_layout Plain Layout
25588 $$Clip
25589 \end_layout
25590
25591 \end_inset
25592
25593  切り抜きオプション.
25594 \end_layout
25595
25596 \begin_layout Description
25597 \begin_inset Flex Code
25598 status collapsed
25599
25600 \begin_layout Plain Layout
25601 $$Extra
25602 \end_layout
25603
25604 \end_inset
25605
25606  追加オプション.
25607 \end_layout
25608
25609 \begin_layout Description
25610 \begin_inset Flex Code
25611 status collapsed
25612
25613 \begin_layout Plain Layout
25614 $$Resize
25615 \end_layout
25616
25617 \end_inset
25618
25619  伸縮オプション.
25620 \end_layout
25621
25622 \begin_layout Description
25623 \begin_inset Flex Code
25624 status collapsed
25625
25626 \begin_layout Plain Layout
25627 $$Rotate
25628 \end_layout
25629
25630 \end_inset
25631
25632  回転オプション.
25633 \end_layout
25634
25635 \begin_layout Standard
25636 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
25637 \end_layout
25638
25639 \begin_layout Enumerate
25640 相対ファイル名と絶対ファイル名は,
25641 それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえば相対名は,
25642 いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,
25643 プログラムによっては必要とされることがあり得ます.
25644 \end_layout
25645
25646 \begin_layout Enumerate
25647 \SpecialChar LaTeX
25648 は,
25649 相対ファイル名に関して,
25650 \SpecialChar LyX
25651 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
25652 にとって相対ファイル名とは,
25653 常にこのファイル名が書かれている文書に対して相対的なものになります.\SpecialChar LaTeX
25654 にとっての相対ファイル名は,
25655 常に親文書に対するものになります.これら二つの定義は,
25656 一つの文書しかないときには同じですが,
25657 部分文書を含む親文書があるときには異なったものとなってきます.つまり,
25658 相対ファイル名は,
25659 \SpecialChar LaTeX
25660 に提示されるときに変換されなくてはならないのです.幸い,
25661 正しいマクロを選びさえすれば,
25662 これは\SpecialChar LyX
25663 が自動的に行ってくれます.
25664 \end_layout
25665
25666 \begin_layout Standard
25667 すると,
25668 新しく作ったひな型定義では,
25669 どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
25670
25671 \end_layout
25672
25673 \begin_layout Itemize
25674 絶対パスが必要とされるときには
25675 \begin_inset Flex Code
25676 status collapsed
25677
25678 \begin_layout Plain Layout
25679 $$AbsPath
25680 \end_layout
25681
25682 \end_inset
25683
25684 を使う.
25685 \end_layout
25686
25687 \begin_layout Itemize
25688 代入された文字列が,
25689 \SpecialChar LaTeX
25690 インプットの一種である場合には,
25691
25692 \begin_inset Flex Code
25693 status collapsed
25694
25695 \begin_layout Plain Layout
25696 $$AbsOrRelPathMaster
25697 \end_layout
25698
25699 \end_inset
25700
25701 を使う.
25702 \end_layout
25703
25704 \begin_layout Itemize
25705 それ以外ならば,
25706 ユーザの選択を尊重するために
25707 \begin_inset Flex Code
25708 status collapsed
25709
25710 \begin_layout Plain Layout
25711 $$AbsOrRelPathParent
25712 \end_layout
25713
25714 \end_inset
25715
25716 を使う.
25717 \end_layout
25718
25719 \begin_layout Standard
25720 このルールが機能せずに,
25721 たとえば相対名が必要となる特殊な場合もありますが,
25722 通常,
25723 上記でうまく動作します.特殊例の例としては,
25724 上述のXFigひな型での
25725 \begin_inset Flex Code
25726 status collapsed
25727
25728 \begin_layout Plain Layout
25729 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
25730 \end_layout
25731
25732 \end_inset
25733
25734 というコマンドがあります.この場合,
25735
25736 \begin_inset Flex Code
25737 status collapsed
25738
25739 \begin_layout Plain Layout
25740 .pstex_t
25741 \end_layout
25742
25743 \end_inset
25744
25745 ファイルの複写子は,
25746 ファイル内容を書き換えるのに相対名を必要とするために,
25747 絶対名を使用することができないのです.
25748 \end_layout
25749
25750 \begin_layout Section
25751 セキュリティに関する論点
25752 \begin_inset CommandInset label
25753 LatexCommand label
25754 name "sec:セキュリティに関する論点"
25755
25756 \end_inset
25757
25758
25759 \end_layout
25760
25761 \begin_layout Standard
25762 外部素材機能は,
25763 多くの外部プログラムとの橋渡しをし,
25764 しかもそれを自動的に行うので,
25765 そのセキュリティ面での帰結を考慮しなくてはなりません.特に,
25766 ユーザは好きなファイル名やパラメータ文字列を含めることが許されていて,
25767 しかもそれらがコマンドに展開されるので,
25768 ユーザが文書を閲覧したり印刷したりしたときに,
25769 任意のコマンドを実行することができるような悪意ある文書を作成することが可能となりましょう.これは,
25770 我々がぜひとも避けたいことなのです.
25771 \end_layout
25772
25773 \begin_layout Standard
25774 しかしながら,
25775 外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,
25776 \SpecialChar LyX
25777 が安全なひな型でのみ適切に設定されているならば,
25778 セキュリティ上の問題は発生しません.これは,
25779 外部プログラムが
25780 \begin_inset Flex Code
25781 status collapsed
25782
25783 \begin_layout Plain Layout
25784 system
25785 \end_layout
25786
25787 \end_inset
25788
25789 システムコールではなく,
25790
25791 \begin_inset Flex Code
25792 status collapsed
25793
25794 \begin_layout Plain Layout
25795 execvp
25796 \end_layout
25797
25798 \end_inset
25799
25800 システムコールで呼び出されているため,
25801 ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
25802 \end_layout
25803
25804 \begin_layout Standard
25805 これは,
25806 外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,
25807 制限があることを意味します.特に,
25808 パイプやリダイレクトはそのまま使用することはできません.これは,
25809 \SpecialChar LyX
25810 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,
25811 これを完全に統御の下においたまま行う安全なスクリプトを書いた上で,
25812 このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
25813 \end_layout
25814
25815 \begin_layout Standard
25816 シェルと直接やりとりするひな型を設計することは可能ではありますが,
25817 悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,
25818 任意のコマンドを実行できるようになるため,
25819 一般的には,
25820 統御下に置いた状態で
25821 \begin_inset Flex Code
25822 status collapsed
25823
25824 \begin_layout Plain Layout
25825 execvp
25826 \end_layout
25827
25828 \end_inset
25829
25830 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,
25831 管理された環境下で使用する分には,
25832 通常のシェルスクリプトを使用する方に流れる誘惑はあります.そうした場合には,
25833 お使いのシステムに簡単に濫用することのできるセキュリティホールを,
25834
25835 \emph on
25836 間違いなく
25837 \emph default
25838 導入することを理解しておいてください.オープンソースの伝統に従って,
25839 私たちは人々に新しいひな型を投稿してくれるよう促していますが,
25840 そのような安全でないひな型はLyXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
25841 には,
25842 安全でないひな型は決して入っていません.
25843 \end_layout
25844
25845 \begin_layout Standard
25846 外部素材を含めることで強力な力を手に入れることができますが,
25847 この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリプトのたった一行に入り込んだ,
25848 ちょっとしたエラーが,
25849 巨大なセキュリティ上の問題に扉を開きうるのです.したがって,
25850 もしこの問題を完全に理解していないならば,
25851 特定のひな型が安全であるかどうか疑問がある際には,
25852 知識豊富なセキュリティの専門家か,
25853 \SpecialChar LyX
25854 開発チームに相談してみてください.そしてこの相談は,
25855 管理されていない環境下でこれを使用する前に,
25856 行うようにしてください.
25857 \end_layout
25858
25859 \begin_layout Chapter
25860 \start_of_appendix
25861 サポートされているレイアウト用\SpecialChar LyX
25862 関数一覧
25863 \begin_inset CommandInset label
25864 LatexCommand label
25865 name "chap:関数一覧"
25866
25867 \end_inset
25868
25869
25870 \end_layout
25871
25872 \begin_layout Standard
25873 \align center
25874 \begin_inset Tabular
25875 <lyxtabular version="3" rows="11" columns="8">
25876 <features tabularvalignment="middle">
25877 <column alignment="left" valignment="top">
25878 <column alignment="left" valignment="top">
25879 <column alignment="left" valignment="top">
25880 <column alignment="left" valignment="top">
25881 <column alignment="left" valignment="top">
25882 <column alignment="left" valignment="top">
25883 <column alignment="left" valignment="top">
25884 <column alignment="left" valignment="top">
25885 <row>
25886 <cell alignment="left" valignment="top" usebox="none">
25887 \begin_inset Text
25888
25889 \begin_layout Plain Layout
25890 accents
25891 \end_layout
25892
25893 \end_inset
25894 </cell>
25895 <cell alignment="left" valignment="top" usebox="none">
25896 \begin_inset Text
25897
25898 \begin_layout Plain Layout
25899 booktabs
25900 \end_layout
25901
25902 \end_inset
25903 </cell>
25904 <cell alignment="left" valignment="top" usebox="none">
25905 \begin_inset Text
25906
25907 \begin_layout Plain Layout
25908 feyn
25909 \end_layout
25910
25911 \end_inset
25912 </cell>
25913 <cell alignment="left" valignment="top" usebox="none">
25914 \begin_inset Text
25915
25916 \begin_layout Plain Layout
25917 listings
25918 \end_layout
25919
25920 \end_inset
25921 </cell>
25922 <cell alignment="center" valignment="top" usebox="none">
25923 \begin_inset Text
25924
25925 \begin_layout Plain Layout
25926 natbib
25927 \end_layout
25928
25929 \end_inset
25930 </cell>
25931 <cell alignment="center" valignment="top" usebox="none">
25932 \begin_inset Text
25933
25934 \begin_layout Plain Layout
25935 rotfloat
25936 \end_layout
25937
25938 \end_inset
25939 </cell>
25940 <cell alignment="center" valignment="top" usebox="none">
25941 \begin_inset Text
25942
25943 \begin_layout Plain Layout
25944 tfrupee
25945 \end_layout
25946
25947 \end_inset
25948 </cell>
25949 <cell alignment="center" valignment="top" usebox="none">
25950 \begin_inset Text
25951
25952 \begin_layout Plain Layout
25953 wasysym
25954 \end_layout
25955
25956 \end_inset
25957 </cell>
25958 </row>
25959 <row>
25960 <cell alignment="left" valignment="top" usebox="none">
25961 \begin_inset Text
25962
25963 \begin_layout Plain Layout
25964 amsbsy
25965 \end_layout
25966
25967 \end_inset
25968 </cell>
25969 <cell alignment="left" valignment="top" usebox="none">
25970 \begin_inset Text
25971
25972 \begin_layout Plain Layout
25973 calc
25974 \end_layout
25975
25976 \end_inset
25977 </cell>
25978 <cell alignment="left" valignment="top" usebox="none">
25979 \begin_inset Text
25980
25981 \begin_layout Plain Layout
25982 fixltx2e
25983 \end_layout
25984
25985 \end_inset
25986 </cell>
25987 <cell alignment="left" valignment="top" usebox="none">
25988 \begin_inset Text
25989
25990 \begin_layout Plain Layout
25991 longtable
25992 \end_layout
25993
25994 \end_inset
25995 </cell>
25996 <cell alignment="center" valignment="top" usebox="none">
25997 \begin_inset Text
25998
25999 \begin_layout Plain Layout
26000 nomencl
26001 \end_layout
26002
26003 \end_inset
26004 </cell>
26005 <cell alignment="center" valignment="top" usebox="none">
26006 \begin_inset Text
26007
26008 \begin_layout Plain Layout
26009 rsphrase
26010 \end_layout
26011
26012 \end_inset
26013 </cell>
26014 <cell alignment="center" valignment="top" usebox="none">
26015 \begin_inset Text
26016
26017 \begin_layout Plain Layout
26018 tipa
26019 \end_layout
26020
26021 \end_inset
26022 </cell>
26023 <cell alignment="center" valignment="top" usebox="none">
26024 \begin_inset Text
26025
26026 \begin_layout Plain Layout
26027 wrapfig
26028 \end_layout
26029
26030 \end_inset
26031 </cell>
26032 </row>
26033 <row>
26034 <cell alignment="left" valignment="top" usebox="none">
26035 \begin_inset Text
26036
26037 \begin_layout Plain Layout
26038 amscd
26039 \end_layout
26040
26041 \end_inset
26042 </cell>
26043 <cell alignment="left" valignment="top" usebox="none">
26044 \begin_inset Text
26045
26046 \begin_layout Plain Layout
26047 CJK
26048 \end_layout
26049
26050 \end_inset
26051 </cell>
26052 <cell alignment="left" valignment="top" usebox="none">
26053 \begin_inset Text
26054
26055 \begin_layout Plain Layout
26056 float
26057 \end_layout
26058
26059 \end_inset
26060 </cell>
26061 <cell alignment="left" valignment="top" usebox="none">
26062 \begin_inset Text
26063
26064 \begin_layout Plain Layout
26065 lyxskak
26066 \end_layout
26067
26068 \end_inset
26069 </cell>
26070 <cell alignment="center" valignment="top" usebox="none">
26071 \begin_inset Text
26072
26073 \begin_layout Plain Layout
26074 pdfcolmk
26075 \end_layout
26076
26077 \end_inset
26078 </cell>
26079 <cell alignment="center" valignment="top" usebox="none">
26080 \begin_inset Text
26081
26082 \begin_layout Plain Layout
26083 setspace
26084 \end_layout
26085
26086 \end_inset
26087 </cell>
26088 <cell alignment="center" valignment="top" usebox="none">
26089 \begin_inset Text
26090
26091 \begin_layout Plain Layout
26092 tipx
26093 \end_layout
26094
26095 \end_inset
26096 </cell>
26097 <cell alignment="center" valignment="top" usebox="none">
26098 \begin_inset Text
26099
26100 \begin_layout Plain Layout
26101 xargs
26102 \end_layout
26103
26104 \end_inset
26105 </cell>
26106 </row>
26107 <row>
26108 <cell alignment="left" valignment="top" usebox="none">
26109 \begin_inset Text
26110
26111 \begin_layout Plain Layout
26112 amsmath
26113 \end_layout
26114
26115 \end_inset
26116 </cell>
26117 <cell alignment="left" valignment="top" usebox="none">
26118 \begin_inset Text
26119
26120 \begin_layout Plain Layout
26121 color
26122 \end_layout
26123
26124 \end_inset
26125 </cell>
26126 <cell alignment="left" valignment="top" usebox="none">
26127 \begin_inset Text
26128
26129 \begin_layout Plain Layout
26130 framed
26131 \end_layout
26132
26133 \end_inset
26134 </cell>
26135 <cell alignment="left" valignment="top" usebox="none">
26136 \begin_inset Text
26137
26138 \begin_layout Plain Layout
26139 makeidx
26140 \end_layout
26141
26142 \end_inset
26143 </cell>
26144 <cell alignment="center" valignment="top" usebox="none">
26145 \begin_inset Text
26146
26147 \begin_layout Plain Layout
26148 pdfpages
26149 \end_layout
26150
26151 \end_inset
26152 </cell>
26153 <cell alignment="center" valignment="top" usebox="none">
26154 \begin_inset Text
26155
26156 \begin_layout Plain Layout
26157 shapepar
26158 \end_layout
26159
26160 \end_inset
26161 </cell>
26162 <cell alignment="center" valignment="top" usebox="none">
26163 \begin_inset Text
26164
26165 \begin_layout Plain Layout
26166 tone
26167 \end_layout
26168
26169 \end_inset
26170 </cell>
26171 <cell alignment="center" valignment="top" usebox="none">
26172 \begin_inset Text
26173
26174 \begin_layout Plain Layout
26175 xcolor
26176 \end_layout
26177
26178 \end_inset
26179 </cell>
26180 </row>
26181 <row>
26182 <cell alignment="left" valignment="top" usebox="none">
26183 \begin_inset Text
26184
26185 \begin_layout Plain Layout
26186 amssymb
26187 \end_layout
26188
26189 \end_inset
26190 </cell>
26191 <cell alignment="left" valignment="top" usebox="none">
26192 \begin_inset Text
26193
26194 \begin_layout Plain Layout
26195 covington
26196 \end_layout
26197
26198 \end_inset
26199 </cell>
26200 <cell alignment="left" valignment="top" usebox="none">
26201 \begin_inset Text
26202
26203 \begin_layout Plain Layout
26204 graphicx
26205 \end_layout
26206
26207 \end_inset
26208 </cell>
26209 <cell alignment="left" valignment="top" usebox="none">
26210 \begin_inset Text
26211
26212 \begin_layout Plain Layout
26213 marvosym
26214 \end_layout
26215
26216 \end_inset
26217 </cell>
26218 <cell alignment="center" valignment="top" usebox="none">
26219 \begin_inset Text
26220
26221 \begin_layout Plain Layout
26222 pifont
26223 \end_layout
26224
26225 \end_inset
26226 </cell>
26227 <cell alignment="center" valignment="top" usebox="none">
26228 \begin_inset Text
26229
26230 \begin_layout Plain Layout
26231 slashed
26232 \end_layout
26233
26234 \end_inset
26235 </cell>
26236 <cell alignment="center" valignment="top" usebox="none">
26237 \begin_inset Text
26238
26239 \begin_layout Plain Layout
26240 txfonts
26241 \end_layout
26242
26243 \end_inset
26244 </cell>
26245 <cell alignment="center" valignment="top" usebox="none">
26246 \begin_inset Text
26247
26248 \begin_layout Plain Layout
26249 xy
26250 \end_layout
26251
26252 \end_inset
26253 </cell>
26254 </row>
26255 <row>
26256 <cell alignment="left" valignment="top" usebox="none">
26257 \begin_inset Text
26258
26259 \begin_layout Plain Layout
26260 amstext
26261 \end_layout
26262
26263 \end_inset
26264 </cell>
26265 <cell alignment="left" valignment="top" usebox="none">
26266 \begin_inset Text
26267
26268 \begin_layout Plain Layout
26269 csquotes
26270 \end_layout
26271
26272 \end_inset
26273 </cell>
26274 <cell alignment="left" valignment="top" usebox="none">
26275 \begin_inset Text
26276
26277 \begin_layout Plain Layout
26278 hhline
26279 \end_layout
26280
26281 \end_inset
26282 </cell>
26283 <cell alignment="left" valignment="top" usebox="none">
26284 \begin_inset Text
26285
26286 \begin_layout Plain Layout
26287 mathdesign
26288 \end_layout
26289
26290 \end_inset
26291 </cell>
26292 <cell alignment="center" valignment="top" usebox="none">
26293 \begin_inset Text
26294
26295 \begin_layout Plain Layout
26296 pmboxdraw
26297 \end_layout
26298
26299 \end_inset
26300 </cell>
26301 <cell alignment="center" valignment="top" usebox="none">
26302 \begin_inset Text
26303
26304 \begin_layout Plain Layout
26305 soul
26306 \end_layout
26307
26308 \end_inset
26309 </cell>
26310 <cell alignment="center" valignment="top" usebox="none">
26311 \begin_inset Text
26312
26313 \begin_layout Plain Layout
26314 ulem
26315 \end_layout
26316
26317 \end_inset
26318 </cell>
26319 <cell alignment="center" valignment="top" usebox="none">
26320 \begin_inset Text
26321
26322 \begin_layout Plain Layout
26323 yhmath
26324 \end_layout
26325
26326 \end_inset
26327 </cell>
26328 </row>
26329 <row>
26330 <cell alignment="left" valignment="top" usebox="none">
26331 \begin_inset Text
26332
26333 \begin_layout Plain Layout
26334 amsthm
26335 \end_layout
26336
26337 \end_inset
26338 </cell>
26339 <cell alignment="left" valignment="top" usebox="none">
26340 \begin_inset Text
26341
26342 \begin_layout Plain Layout
26343 dvipost
26344 \end_layout
26345
26346 \end_inset
26347 </cell>
26348 <cell alignment="left" valignment="top" usebox="none">
26349 \begin_inset Text
26350
26351 \begin_layout Plain Layout
26352 hyperref
26353 \end_layout
26354
26355 \end_inset
26356 </cell>
26357 <cell alignment="left" valignment="top" usebox="none">
26358 \begin_inset Text
26359
26360 \begin_layout Plain Layout
26361 mathdots
26362 \end_layout
26363
26364 \end_inset
26365 </cell>
26366 <cell alignment="center" valignment="top" usebox="none">
26367 \begin_inset Text
26368
26369 \begin_layout Plain Layout
26370 polyglossia
26371 \end_layout
26372
26373 \end_inset
26374 </cell>
26375 <cell alignment="center" valignment="top" usebox="none">
26376 \begin_inset Text
26377
26378 \begin_layout Plain Layout
26379 splitidx
26380 \end_layout
26381
26382 \end_inset
26383 </cell>
26384 <cell alignment="center" valignment="top" usebox="none">
26385 \begin_inset Text
26386
26387 \begin_layout Plain Layout
26388 undertilde
26389 \end_layout
26390
26391 \end_inset
26392 </cell>
26393 <cell alignment="center" valignment="top" usebox="none">
26394 \begin_inset Text
26395
26396 \begin_layout Plain Layout
26397
26398 \end_layout
26399
26400 \end_inset
26401 </cell>
26402 </row>
26403 <row>
26404 <cell alignment="left" valignment="top" usebox="none">
26405 \begin_inset Text
26406
26407 \begin_layout Plain Layout
26408 array
26409 \end_layout
26410
26411 \end_inset
26412 </cell>
26413 <cell alignment="left" valignment="top" usebox="none">
26414 \begin_inset Text
26415
26416 \begin_layout Plain Layout
26417 endnotes
26418 \end_layout
26419
26420 \end_inset
26421 </cell>
26422 <cell alignment="left" valignment="top" usebox="none">
26423 \begin_inset Text
26424
26425 \begin_layout Plain Layout
26426 ifsym
26427 \end_layout
26428
26429 \end_inset
26430 </cell>
26431 <cell alignment="left" valignment="top" usebox="none">
26432 \begin_inset Text
26433
26434 \begin_layout Plain Layout
26435 mathrsfs
26436 \end_layout
26437
26438 \end_inset
26439 </cell>
26440 <cell alignment="center" valignment="top" usebox="none">
26441 \begin_inset Text
26442
26443 \begin_layout Plain Layout
26444 prettyref
26445 \end_layout
26446
26447 \end_inset
26448 </cell>
26449 <cell alignment="center" valignment="top" usebox="none">
26450 \begin_inset Text
26451
26452 \begin_layout Plain Layout
26453 subfig
26454 \end_layout
26455
26456 \end_inset
26457 </cell>
26458 <cell alignment="center" valignment="top" usebox="none">
26459 \begin_inset Text
26460
26461 \begin_layout Plain Layout
26462 units
26463 \end_layout
26464
26465 \end_inset
26466 </cell>
26467 <cell alignment="center" valignment="top" usebox="none">
26468 \begin_inset Text
26469
26470 \begin_layout Plain Layout
26471
26472 \end_layout
26473
26474 \end_inset
26475 </cell>
26476 </row>
26477 <row>
26478 <cell alignment="left" valignment="top" usebox="none">
26479 \begin_inset Text
26480
26481 \begin_layout Plain Layout
26482 ascii
26483 \end_layout
26484
26485 \end_inset
26486 </cell>
26487 <cell alignment="left" valignment="top" usebox="none">
26488 \begin_inset Text
26489
26490 \begin_layout Plain Layout
26491 enumitem
26492 \end_layout
26493
26494 \end_inset
26495 </cell>
26496 <cell alignment="left" valignment="top" usebox="none">
26497 \begin_inset Text
26498
26499 \begin_layout Plain Layout
26500 ifthen
26501 \end_layout
26502
26503 \end_inset
26504 </cell>
26505 <cell alignment="left" valignment="top" usebox="none">
26506 \begin_inset Text
26507
26508 \begin_layout Plain Layout
26509 mhchem
26510 \end_layout
26511
26512 \end_inset
26513 </cell>
26514 <cell alignment="center" valignment="top" usebox="none">
26515 \begin_inset Text
26516
26517 \begin_layout Plain Layout
26518 pxfonts
26519 \end_layout
26520
26521 \end_inset
26522 </cell>
26523 <cell alignment="center" valignment="top" usebox="none">
26524 \begin_inset Text
26525
26526 \begin_layout Plain Layout
26527 subscript
26528 \end_layout
26529
26530 \end_inset
26531 </cell>
26532 <cell alignment="center" valignment="top" usebox="none">
26533 \begin_inset Text
26534
26535 \begin_layout Plain Layout
26536 url
26537 \end_layout
26538
26539 \end_inset
26540 </cell>
26541 <cell alignment="center" valignment="top" usebox="none">
26542 \begin_inset Text
26543
26544 \begin_layout Plain Layout
26545
26546 \end_layout
26547
26548 \end_inset
26549 </cell>
26550 </row>
26551 <row>
26552 <cell alignment="left" valignment="top" usebox="none">
26553 \begin_inset Text
26554
26555 \begin_layout Plain Layout
26556 bbding
26557 \end_layout
26558
26559 \end_inset
26560 </cell>
26561 <cell alignment="left" valignment="top" usebox="none">
26562 \begin_inset Text
26563
26564 \begin_layout Plain Layout
26565 esint
26566 \end_layout
26567
26568 \end_inset
26569 </cell>
26570 <cell alignment="left" valignment="top" usebox="none">
26571 \begin_inset Text
26572
26573 \begin_layout Plain Layout
26574 jurabib
26575 \end_layout
26576
26577 \end_inset
26578 </cell>
26579 <cell alignment="left" valignment="top" usebox="none">
26580 \begin_inset Text
26581
26582 \begin_layout Plain Layout
26583 multicol
26584 \end_layout
26585
26586 \end_inset
26587 </cell>
26588 <cell alignment="center" valignment="top" usebox="none">
26589 \begin_inset Text
26590
26591 \begin_layout Plain Layout
26592 refstyle
26593 \end_layout
26594
26595 \end_inset
26596 </cell>
26597 <cell alignment="center" valignment="top" usebox="none">
26598 \begin_inset Text
26599
26600 \begin_layout Plain Layout
26601 textcomp
26602 \end_layout
26603
26604 \end_inset
26605 </cell>
26606 <cell alignment="center" valignment="top" usebox="none">
26607 \begin_inset Text
26608
26609 \begin_layout Plain Layout
26610 varioref
26611 \end_layout
26612
26613 \end_inset
26614 </cell>
26615 <cell alignment="center" valignment="top" usebox="none">
26616 \begin_inset Text
26617
26618 \begin_layout Plain Layout
26619
26620 \end_layout
26621
26622 \end_inset
26623 </cell>
26624 </row>
26625 <row>
26626 <cell alignment="center" valignment="top" usebox="none">
26627 \begin_inset Text
26628
26629 \begin_layout Plain Layout
26630 bm
26631 \end_layout
26632
26633 \end_inset
26634 </cell>
26635 <cell alignment="center" valignment="top" usebox="none">
26636 \begin_inset Text
26637
26638 \begin_layout Plain Layout
26639 fancybox
26640 \end_layout
26641
26642 \end_inset
26643 </cell>
26644 <cell alignment="center" valignment="top" usebox="none">
26645 \begin_inset Text
26646
26647 \begin_layout Plain Layout
26648 latexsym
26649 \end_layout
26650
26651 \end_inset
26652 </cell>
26653 <cell alignment="center" valignment="top" usebox="none">
26654 \begin_inset Text
26655
26656 \begin_layout Plain Layout
26657 multirow
26658 \end_layout
26659
26660 \end_inset
26661 </cell>
26662 <cell alignment="center" valignment="top" usebox="none">
26663 \begin_inset Text
26664
26665 \begin_layout Plain Layout
26666 rotating
26667 \end_layout
26668
26669 \end_inset
26670 </cell>
26671 <cell alignment="center" valignment="top" usebox="none">
26672 \begin_inset Text
26673
26674 \begin_layout Plain Layout
26675 textgreek
26676 \end_layout
26677
26678 \end_inset
26679 </cell>
26680 <cell alignment="center" valignment="top" usebox="none">
26681 \begin_inset Text
26682
26683 \begin_layout Plain Layout
26684 verbatim
26685 \end_layout
26686
26687 \end_inset
26688 </cell>
26689 <cell alignment="center" valignment="top" usebox="none">
26690 \begin_inset Text
26691
26692 \begin_layout Plain Layout
26693
26694 \end_layout
26695
26696 \end_inset
26697 </cell>
26698 </row>
26699 </lyxtabular>
26700
26701 \end_inset
26702
26703
26704 \end_layout
26705
26706 \begin_layout Chapter
26707 レイアウトで使用できる色名
26708 \begin_inset CommandInset label
26709 LatexCommand label
26710 name "chap:色名"
26711
26712 \end_inset
26713
26714
26715 \end_layout
26716
26717 \begin_layout Standard
26718 ここに列挙されている色は標準色であり,
26719 \SpecialChar LyX
26720 設定で調整できるものです.
26721 \end_layout
26722
26723 \begin_layout Section
26724
26725 \lang english
26726 Color functions
26727 \end_layout
26728
26729 \begin_layout Standard
26730
26731 \lang english
26732 The following are no real colors,
26733  but rather act on color definitions:
26734 \end_layout
26735
26736 \begin_layout Description
26737 ignore この色を無視します
26738 \end_layout
26739
26740 \begin_layout Description
26741 inherit この色を継承します
26742 \end_layout
26743
26744 \begin_layout Description
26745 none
26746 \series medium
26747  
26748 \series default
26749 特定の色ではありません – 透明か既定色です
26750 \end_layout
26751
26752 \begin_layout Section
26753
26754 \lang english
26755 Static colors
26756 \end_layout
26757
26758 \begin_layout Standard
26759
26760 \lang english
26761 These are fixed colors that cannot me customized:
26762 \end_layout
26763
26764 \begin_layout Description
26765 black
26766 \end_layout
26767
26768 \begin_layout Description
26769 white
26770 \end_layout
26771
26772 \begin_layout Description
26773 blue
26774 \end_layout
26775
26776 \begin_layout Description
26777 brown
26778 \end_layout
26779
26780 \begin_layout Description
26781 cyan
26782 \end_layout
26783
26784 \begin_layout Description
26785 darkgray
26786 \end_layout
26787
26788 \begin_layout Description
26789 gray
26790 \end_layout
26791
26792 \begin_layout Description
26793 green
26794 \end_layout
26795
26796 \begin_layout Description
26797 lightgray
26798 \end_layout
26799
26800 \begin_layout Description
26801 lime
26802 \end_layout
26803
26804 \begin_layout Description
26805 magenta
26806 \end_layout
26807
26808 \begin_layout Description
26809 olive
26810 \end_layout
26811
26812 \begin_layout Description
26813 orange
26814 \end_layout
26815
26816 \begin_layout Description
26817 pink
26818 \end_layout
26819
26820 \begin_layout Description
26821 purple
26822 \end_layout
26823
26824 \begin_layout Description
26825 red
26826 \end_layout
26827
26828 \begin_layout Description
26829 teal
26830 \end_layout
26831
26832 \begin_layout Description
26833 violet
26834 \end_layout
26835
26836 \begin_layout Description
26837 yellow
26838 \end_layout
26839
26840 \begin_layout Section
26841
26842 \lang english
26843 Dynamic colors
26844 \end_layout
26845
26846 \begin_layout Standard
26847
26848 \lang english
26849 These are the colors allocated to specific elements in
26850 \lang japanese
26851
26852 \begin_inset Flex MenuItem
26853 status collapsed
26854
26855 \begin_layout Plain Layout
26856 ツール\SpecialChar menuseparator
26857 設定
26858 \end_layout
26859
26860 \end_inset
26861
26862 :
26863 \end_layout
26864
26865 \begin_layout Description
26866 added_space 空白マーカ色
26867 \end_layout
26868
26869 \begin_layout Description
26870 addedtext 追加された文章色
26871 \end_layout
26872
26873 \begin_layout Description
26874 appendix 付録マーカ色
26875 \end_layout
26876
26877 \begin_layout Description
26878 background 背景色
26879 \end_layout
26880
26881 \begin_layout Description
26882 bottomarea 下部領域色
26883 \end_layout
26884
26885 \begin_layout Description
26886 branchlabel 派生枝ラベル色
26887 \end_layout
26888
26889 \begin_layout Description
26890 buttonbg ボタンの背景色
26891 \end_layout
26892
26893 \begin_layout Description
26894 buttonframe 差込枠の縁色
26895 \end_layout
26896
26897 \begin_layout Description
26898 buttonhoverbg フォーカスを得ているボタンの背景色
26899 \end_layout
26900
26901 \begin_layout Description
26902 changebar 変更バー色
26903 \end_layout
26904
26905 \begin_layout Description
26906 changedtextauthor1 変更された文章:第1著者の色
26907 \end_layout
26908
26909 \begin_layout Description
26910 changedtextauthor2 変更された文章:第2著者の色
26911 \end_layout
26912
26913 \begin_layout Description
26914 changedtextauthor3 変更された文章:第3著者の色
26915 \end_layout
26916
26917 \begin_layout Description
26918 changedtextauthor4 変更された文章:第4著者の色
26919 \end_layout
26920
26921 \begin_layout Description
26922 changedtextauthor5 変更された文章:第5著者の色
26923 \end_layout
26924
26925 \begin_layout Description
26926 collapsibletext 畳み込み可能枠の文字色
26927 \end_layout
26928
26929 \begin_layout Description
26930 collapsibleframe 畳み込み可能枠の縁色
26931 \end_layout
26932
26933 \begin_layout Description
26934 command コマンド差込枠の文字色
26935 \end_layout
26936
26937 \begin_layout Description
26938 commandbg コマンド差込枠の背景色
26939 \end_layout
26940
26941 \begin_layout Description
26942 commandframe コマンド差込枠の縁色
26943 \end_layout
26944
26945 \begin_layout Description
26946 comment コメント色
26947 \end_layout
26948
26949 \begin_layout Description
26950 commentbg コメントの背景色
26951 \end_layout
26952
26953 \begin_layout Description
26954 cursor カーソル色
26955 \end_layout
26956
26957 \begin_layout Description
26958 deletedtext 削除された文章の色
26959 \end_layout
26960
26961 \begin_layout Description
26962 deletedtextmodifier 削除された文章の修飾子の色
26963 \end_layout
26964
26965 \begin_layout Description
26966 depthbar 余白部の階層表示線の色
26967 \end_layout
26968
26969 \begin_layout Description
26970 eolmarker 行末標色
26971 \end_layout
26972
26973 \begin_layout Description
26974 error \SpecialChar LaTeX
26975 エラーボックス色
26976 \end_layout
26977
26978 \begin_layout Description
26979 footlabel 脚註ラベル色
26980 \end_layout
26981
26982 \begin_layout Description
26983 foreground 
26984 \lang english
26985 Foreground color
26986 \end_layout
26987
26988 \begin_layout Description
26989 graphicsbg 画像差込枠の背景色
26990 \end_layout
26991
26992 \begin_layout Description
26993 greyedoutbg 淡色表示差込枠の背景色
26994 \end_layout
26995
26996 \begin_layout Description
26997 greyedoutlabel 淡色表示差込枠のラベル色
26998 \end_layout
26999
27000 \begin_layout Description
27001 greyedouttext 淡色表示差込枠の文字色
27002 \end_layout
27003
27004 \begin_layout Description
27005 indexlabel 索引差込枠のラベル色
27006 \end_layout
27007
27008 \begin_layout Description
27009 inlinecompletion 行内補完色
27010 \end_layout
27011
27012 \begin_layout Description
27013 insetbg 差込枠標の背景色
27014 \end_layout
27015
27016 \begin_layout Description
27017 insetframe 差込枠標の縁色
27018 \end_layout
27019
27020 \begin_layout Description
27021 language 外国語の単語を標識するための色
27022 \end_layout
27023
27024 \begin_layout Description
27025 latex \SpecialChar LaTeX
27026 モードの文字色
27027 \end_layout
27028
27029 \begin_layout Description
27030 listingsbg プログラムリスト差込枠の背景色
27031 \end_layout
27032
27033 \begin_layout Description
27034 marginlabel 傍註のラベル色
27035 \end_layout
27036
27037 \begin_layout Description
27038 math 数式差込枠の文字色
27039 \end_layout
27040
27041 \begin_layout Description
27042 mathbg 数式差込枠の背景色
27043 \end_layout
27044
27045 \begin_layout Description
27046 mathcorners フォーカスを得ていない数式差込枠の縁色
27047 \end_layout
27048
27049 \begin_layout Description
27050 mathframe フォーカスを得ている数式差込枠の縁色
27051 \end_layout
27052
27053 \begin_layout Description
27054 mathline 数式行色
27055 \end_layout
27056
27057 \begin_layout Description
27058 mathmacrobg 数式マクロ差込枠の背景色
27059 \end_layout
27060
27061 \begin_layout Description
27062 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
27063 \end_layout
27064
27065 \begin_layout Description
27066 mathmacroframe 数式マクロ差込枠の縁色
27067 \end_layout
27068
27069 \begin_layout Description
27070 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
27071 \end_layout
27072
27073 \begin_layout Description
27074 mathmacrolabel 数式マクロ差込枠のラベル色
27075 \end_layout
27076
27077 \begin_layout Description
27078 mathmacronewarg 数式マクロ新パラメーターのひな型色
27079 \end_layout
27080
27081 \begin_layout Description
27082 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
27083 \end_layout
27084
27085 \begin_layout Description
27086 newpage 新規頁色
27087 \end_layout
27088
27089 \begin_layout Description
27090 nonunique_inlinecompletion 行内補完の一意でない部分の色
27091 \end_layout
27092
27093 \begin_layout Description
27094 note 註釈のラベル色
27095 \end_layout
27096
27097 \begin_layout Description
27098 notebg 註釈の背景色
27099 \end_layout
27100
27101 \begin_layout Description
27102 pagebreak 改頁/改行色
27103 \end_layout
27104
27105 \begin_layout Description
27106 paragraphmarker 段落末を標識するための段落標の色
27107 \end_layout
27108
27109 \begin_layout Description
27110 phantomtext 埋め草差込枠の文字色
27111 \end_layout
27112
27113 \begin_layout Description
27114 preview プレビューに用いられる色
27115 \end_layout
27116
27117 \begin_layout Description
27118 previewframe プレビュー縁色
27119 \end_layout
27120
27121 \begin_layout Description
27122 regexpframe 正規表現枠の色
27123 \end_layout
27124
27125 \begin_layout Description
27126 scroll 
27127 \lang english
27128 Color that indicates when a row can be scrolled
27129 \end_layout
27130
27131 \begin_layout Description
27132 selection 文章選択部の背景色
27133 \end_layout
27134
27135 \begin_layout Description
27136 selectiontext 文章選択部の前景色
27137 \end_layout
27138
27139 \begin_layout Description
27140 shadedbg 影付きボックスの背景色
27141 \end_layout
27142
27143 \begin_layout Description
27144 special 特殊文字の色
27145 \end_layout
27146
27147 \begin_layout Description
27148 tabularline 罫線色
27149 \end_layout
27150
27151 \begin_layout Description
27152 tabularonoffline 罫線色
27153 \end_layout
27154
27155 \begin_layout Description
27156 urllabel URL差込枠のラベル色
27157 \end_layout
27158
27159 \begin_layout Description
27160 urltext URL差込枠の文字色
27161 \end_layout
27162
27163 \end_body
27164 \end_document