]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Customization.lyx
* Customization.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 Series              Bold
44 EndFont
45 Preamble
46 \newcommand*{\menuitem}[1]{{\sffamily #1}}
47 EndPreamble
48 ResetsFont true
49 End
50 # In case we need to do with sans...
51 #InsetLayout CharStyle:Code
52 #Font
53 #Family              Sans
54 #EndFont
55 #Preamble
56 #\renewcommand{\code}[1]{{\sffamily #1}}
57 #EndPreamble
58 #End
59 InsetLayout Flex:圏点
60   LyxType       charstyle
61   LatexType     command
62   LatexName     kenten
63   HTMLTag       kenten
64   HTMLAttr      ""
65   HTMLInnerTag  kt
66   HTMLInnerAttr ""
67   BgColor       none
68   LabelString   "圏点"
69   Decoration    Conglomerate
70   Preamble
71     \usepackage{pxrubrica}
72   EndPreamble
73   Argument  post:1
74     LabelString  "Kenten option"
75     MenuString  "圏点オプション"
76     Tooltip    "Emphasize Chinese characters."
77     Decoration  Conglomerate
78     Font
79       Size    tiny
80     EndFont
81     LabelFont
82       Size    tiny
83     EndFont
84     Mandatory  0
85   EndArgument
86 End
87 \end_local_layout
88 \language japanese
89 \language_package default
90 \inputencoding utf8
91 \fontencoding auto
92 \font_roman "lmodern" "IPAexMincho"
93 \font_sans "default" "IPAexGothic"
94 \font_typewriter "default" "default"
95 \font_math "auto" "auto"
96 \font_default_family default
97 \use_non_tex_fonts false
98 \font_sc false
99 \font_roman_osf false
100 \font_sans_osf false
101 \font_typewriter_osf false
102 \font_sf_scale 100 100
103 \font_tt_scale 100 100
104 \use_microtype false
105 \use_dash_ligatures false
106 \graphics default
107 \default_output_format default
108 \output_sync 0
109 \bibtex_command default
110 \index_command default
111 \float_placement class
112 \float_alignment class
113 \paperfontsize 12
114 \spacing single
115 \use_hyperref true
116 \pdf_title "LyX Configuration Manual"
117 \pdf_author "LyX Team"
118 \pdf_subject "LyX-Documentation Customization"
119 \pdf_keywords "LyX, documentation, customization"
120 \pdf_bookmarks false
121 \pdf_bookmarksnumbered true
122 \pdf_bookmarksopen true
123 \pdf_bookmarksopenlevel 1
124 \pdf_breaklinks false
125 \pdf_pdfborder false
126 \pdf_colorlinks true
127 \pdf_backref false
128 \pdf_pdfusetitle false
129 \pdf_quoted_options "driverfallback=dvipdfmx, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
130 \papersize default
131 \use_geometry false
132 \use_package amsmath 1
133 \use_package amssymb 1
134 \use_package cancel 1
135 \use_package esint 1
136 \use_package mathdots 1
137 \use_package mathtools 1
138 \use_package mhchem 1
139 \use_package stackrel 1
140 \use_package stmaryrd 1
141 \use_package undertilde 1
142 \cite_engine basic
143 \cite_engine_type default
144 \biblio_style plain
145 \use_bibtopic false
146 \use_indices false
147 \paperorientation portrait
148 \suppress_date false
149 \justification false
150 \use_refstyle 0
151 \use_minted 0
152 \use_lineno 0
153 \notefontcolor #0000ff
154 \branch OutDated
155 \selected 0
156 \filename_suffix 0
157 \color #f5fae7 #0a0518
158 \end_branch
159 \index 索引
160 \shortcut idx
161 \color #008000
162 \end_index
163 \secnumdepth 3
164 \tocdepth 3
165 \paragraph_separation indent
166 \paragraph_indentation default
167 \is_math_indent 1
168 \math_indentation default
169 \math_numbering_side default
170 \quotes_style english
171 \dynamic_quotes 0
172 \papercolumns 1
173 \papersides 2
174 \paperpagestyle headings
175 \tablestyle default
176 \tracking_changes false
177 \output_changes false
178 \change_bars false
179 \postpone_fragile_content false
180 \html_math_output 0
181 \html_css_as_file 0
182 \html_be_strict true
183 \docbook_table_output 0
184 \docbook_mathml_prefix 1
185 \end_header
186
187 \begin_body
188
189 \begin_layout Title
190 \SpecialChar LyX
191 の高度設定
192 \begin_inset Newline newline
193 \end_inset
194
195 熟練ユーザのための各機能
196 \end_layout
197
198 \begin_layout Author
199 \SpecialChar LyX
200 開発チーム
201 \begin_inset Foot
202 status collapsed
203
204 \begin_layout Plain Layout
205 \noindent
206 もしコメントや誤りの修正をお持ちでしたら,
207 \SpecialChar LyX
208 文書化メーリングリスト
209 \begin_inset CommandInset href
210 LatexCommand href
211 target "lyx-docs@lists.lyx.org"
212 type "mailto:"
213 literal "false"
214
215 \end_inset
216
217 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,
218 このファイルの現在のメンテナRichard Kimberly Heck <rgheck@comcast.net>をccにして送ってください.
219 \end_layout
220
221 \end_inset
222
223
224 \begin_inset Newline newline
225 \end_inset
226
227
228 \begin_inset Newline newline
229 \end_inset
230
231 第2.4.x版
232 \end_layout
233
234 \begin_layout Standard
235 \begin_inset CommandInset toc
236 LatexCommand tableofcontents
237
238 \end_inset
239
240
241 \begin_inset Note Note
242 status open
243
244 \begin_layout Plain Layout
245 本文書を修正する際には,
246 変更追跡機能を使用してください.これによって,
247
248 \end_layout
249
250 \begin_layout Plain Layout
251 \SpecialChar LyX
252 翻訳者陣が変更点を認識しやすくなり,
253 メンテナが最新の状態を維持することが容易になります.
254 \end_layout
255
256 \end_inset
257
258
259 \end_layout
260
261 \begin_layout Chapter
262 はじめに
263 \end_layout
264
265 \begin_layout Standard
266 この取扱説明書は,
267 \SpecialChar LyX
268 に備わっている高度設定機能を取り扱います.ここでは,
269 ショートカットや画面プレビューオプション,
270 プリンタオプション,
271 \SpecialChar LyX
272 サーバ経由での\SpecialChar LyX
273 へのコマンド送信,
274 国際化,
275 新しい\SpecialChar LaTeX
276 クラスや\SpecialChar LyX
277 レイアウトの導入などの題材について論じます.おそらくは変更可能なことすべてについて触れることは無理でしょうが—
278 私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—
279
280 もっとも一般的な高度設定については説明を行い,
281 わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
282 \end_layout
283
284 \begin_layout Standard
285 \begin_inset Branch OutDated
286 inverted 0
287 status collapsed
288
289 \begin_layout Standard
290 Information from previous versions of this document that now seems to be outdated is contained in the OutDated branch of this document.
291  By default,
292  this information will not appear in the \SpecialChar LaTeX
293  output.
294 \end_layout
295
296 \end_inset
297
298
299 \end_layout
300
301 \begin_layout Chapter
302 \SpecialChar LyX
303 設定ファイル
304 \end_layout
305
306 \begin_layout Standard
307 本章の目的は,
308 \SpecialChar LyX
309 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
310
311 \begin_inset Flex MenuItem
312 status collapsed
313
314 \begin_layout Plain Layout
315 ヘルプ\SpecialChar menuseparator
316 LyXについて
317 \end_layout
318
319 \end_inset
320
321 を使って,
322 \SpecialChar LyX
323 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,
324 \SpecialChar LyX
325 がシステム全体の設定ファイルを置いておくところです.一方,
326 ユーザディレクトリは,
327 自身がそれを修正した版を置いておくところです.私たちは,
328 本書の以下の部分で,
329 前者を
330 \begin_inset Flex Code
331 status collapsed
332
333 \begin_layout Plain Layout
334 LyXDir
335 \end_layout
336
337 \end_inset
338
339 と呼び,
340 後者を
341 \begin_inset Flex MenuItem
342 status collapsed
343
344 \begin_layout Plain Layout
345 UserDir
346 \end_layout
347
348 \end_inset
349
350 と呼ぶことにします.
351 \end_layout
352
353 \begin_layout Section
354 \begin_inset Flex Code
355 status collapsed
356
357 \begin_layout Plain Layout
358 LyXDir
359 \end_layout
360
361 \end_inset
362
363 にはなにがあるの?
364
365 \end_layout
366
367 \begin_layout Standard
368 \begin_inset Flex Code
369 status collapsed
370
371 \begin_layout Plain Layout
372 LyXDir
373 \end_layout
374
375 \end_inset
376
377 とそのサブディレクトリには,
378 多くのファイルがあり,
379 \SpecialChar LyX
380 の挙動を高度設定するのに使用されます.これらのファイルの多くは,
381 \SpecialChar LyX
382 内の
383 \begin_inset Flex MenuItem
384 status collapsed
385
386 \begin_layout Plain Layout
387 ツール\SpecialChar menuseparator
388 設定
389 \end_layout
390
391 \end_inset
392
393 ダイアログから変更することができます.\SpecialChar LyX
394 中で行いたいと思うような高度設定は,
395 ほとんどこのダイアログから行うことができるようになっています.しかしながら,
396 LyXの他の多くの内部動作は,
397
398 \begin_inset Flex Code
399 status collapsed
400
401 \begin_layout Plain Layout
402 LyXDir
403 \end_layout
404
405 \end_inset
406
407 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,
408 以下の各小節で説明します.
409 \end_layout
410
411 \begin_layout Subsection
412 自動的に生成されるファイル
413 \end_layout
414
415 \begin_layout Standard
416 \begin_inset Flex MenuItem
417 status collapsed
418
419 \begin_layout Plain Layout
420 UserDir
421 \end_layout
422
423 \end_inset
424
425 にある各ファイルは,
426 \SpecialChar LyX
427 が自動設定を行ったときに生成されます.これらのファイルは,
428 環境構成中に自動的に検出された様々な既定値が置かれています.これらは,
429 随時上書きされてしまうので,
430 一般的には修正しないことが望まれます.
431 \end_layout
432
433 \begin_layout Labeling
434 \labelwidthstring 00.00.0000
435 \begin_inset Flex Code
436 status collapsed
437
438 \begin_layout Plain Layout
439 lyxrc.defaults
440 \end_layout
441
442 \end_inset
443
444  このファイルには,
445 様々な既定コマンドが置かれています.
446 \end_layout
447
448 \begin_layout Labeling
449 \labelwidthstring 00.00.0000
450 \begin_inset Flex Code
451 status collapsed
452
453 \begin_layout Plain Layout
454 packages.lst
455 \end_layout
456
457 \end_inset
458
459  このファイルには,
460 \SpecialChar LyX
461 が認識したパッケージの一覧が収められています.現在のところ,
462 これは\SpecialChar LyX
463 プログラム自体には使用されていませんが,
464 抽出された情報その他は,
465
466 \begin_inset Flex MenuItem
467 status collapsed
468
469 \begin_layout Plain Layout
470 ヘルプ\SpecialChar menuseparator
471 LaTeXの設定
472 \end_layout
473
474 \end_inset
475
476 で見ることができます.
477 \end_layout
478
479 \begin_layout Labeling
480 \labelwidthstring 00.00.0000
481 \begin_inset Flex Code
482 status collapsed
483
484 \begin_layout Plain Layout
485 textclass.lst
486 \end_layout
487
488 \end_inset
489
490  ユーザの
491 \begin_inset Flex Code
492 status collapsed
493
494 \begin_layout Plain Layout
495 Plain L
496 \end_layout
497
498 \end_inset
499
500 ディレクトリで検出されたテキストクラスと,
501 関連した\SpecialChar LaTeX
502 文書クラスおよびその説明の一覧です.
503 \end_layout
504
505 \begin_layout Labeling
506 \labelwidthstring 00.00.0000
507 \begin_inset Flex Code
508 status collapsed
509
510 \begin_layout Plain Layout
511 lyxmodules.lst
512 \end_layout
513
514 \end_inset
515
516  ユーザの
517 \begin_inset Flex Code
518 status collapsed
519
520 \begin_layout Plain Layout
521 layout/
522 \end_layout
523
524 \end_inset
525
526 ディレクトリで検出されたレイアウトモジュールの一覧です.
527 \end_layout
528
529 \begin_layout Labeling
530 \labelwidthstring 00.00.0000
531 \begin_inset Flex Code
532 status collapsed
533
534 \begin_layout Plain Layout
535 *files.lst
536 \end_layout
537
538 \end_inset
539
540  ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
541 関連ファイルの一覧です.
542 \end_layout
543
544 \begin_layout Labeling
545 \labelwidthstring 00.00.0000
546 \begin_inset Flex Code
547 status collapsed
548
549 \begin_layout Plain Layout
550 doc/LaTeXConfig.lyx
551 \end_layout
552
553 \end_inset
554
555  このファイルは,
556 自動設定中に
557 \begin_inset Flex Code
558 status collapsed
559
560 \begin_layout Plain Layout
561 LaTeXConfig.lyx.in
562 \end_layout
563
564 \end_inset
565
566 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
567 の設定に関する情報が納められています.
568 \end_layout
569
570 \begin_layout Subsection
571 ディレクトリ
572 \end_layout
573
574 \begin_layout Standard
575 \begin_inset Flex Code
576 status collapsed
577
578 \begin_layout Plain Layout
579 LyXDir
580 \end_layout
581
582 \end_inset
583
584 に含まれる以下の各ディレクトリは,
585
586 \begin_inset Flex Code
587 status collapsed
588
589 \begin_layout Plain Layout
590 UserDir
591 \end_layout
592
593 \end_inset
594
595 にも重複して存在することがあります.特定のファイルが両方の場所にある場合には,
596
597 \begin_inset Flex Code
598 status collapsed
599
600 \begin_layout Plain Layout
601 UserDir
602 \end_layout
603
604 \end_inset
605
606 の方にあるものが使用されます.
607 \end_layout
608
609 \begin_layout Labeling
610 \labelwidthstring 00.00.0000
611 \begin_inset Flex Code
612 status collapsed
613
614 \begin_layout Plain Layout
615 bind/
616 \end_layout
617
618 \end_inset
619
620  このディレクトリには,
621 \SpecialChar LyX
622 で使用されるキー割当を定義している,
623 拡張子が
624 \begin_inset Flex Code
625 status collapsed
626
627 \begin_layout Plain Layout
628 .bind
629 \end_layout
630
631 \end_inset
632
633 のファイルが置かれています.サブディレクトリ
634 \begin_inset Flex Code
635 status collapsed
636
637 \begin_layout Plain Layout
638 bind/xx
639 \end_layout
640
641 \end_inset
642
643
644 \begin_inset Quotes eld
645 \end_inset
646
647 xx
648 \begin_inset Quotes erd
649 \end_inset
650
651 はISO言語コード)に割当ファイルの各国語版がある場合には,
652 そちらが用いられます.
653 \end_layout
654
655 \begin_layout Labeling
656 \labelwidthstring 00.00.0000
657 \begin_inset Flex Code
658 status collapsed
659
660 \begin_layout Plain Layout
661 citeengines/
662 \end_layout
663
664 \end_inset
665
666  このディレクトリには,
667 幅広い文献引用力(natbib,
668  biblatexなど)を定義する,
669 拡張子が
670 \begin_inset Flex Code
671 status collapsed
672
673 \begin_layout Plain Layout
674 .citeengine
675 \end_layout
676
677 \end_inset
678
679 のファイルが置かれています.詳細については,
680
681 \begin_inset CommandInset ref
682 LatexCommand ref
683 reference "subsec:引用エンジンファイル"
684 plural "false"
685 caps "false"
686 noprefix "false"
687 nolink "false"
688
689 \end_inset
690
691 節をご覧ください.
692 \end_layout
693
694 \begin_layout Labeling
695 \labelwidthstring 00.00.0000
696 \begin_inset Flex Code
697 status collapsed
698
699 \begin_layout Plain Layout
700 clipart/
701 \end_layout
702
703 \end_inset
704
705  このディレクトリには,
706 文書に取り込むことのできる画像ファイルが納められています.
707 \end_layout
708
709 \begin_layout Labeling
710 \labelwidthstring 00.00.0000
711 \begin_inset Flex Code
712 status collapsed
713
714 \begin_layout Plain Layout
715 doc/
716 \end_layout
717
718 \end_inset
719
720  このディレクトリには,
721 \SpecialChar LyX
722 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
723
724 \begin_inset Flex Code
725 status collapsed
726
727 \begin_layout Plain Layout
728 LaTeXConfig.lyx
729 \end_layout
730
731 \end_inset
732
733 ファイルは特に注目に値します.各国語版のヘルプ文書は,
734
735 \begin_inset Flex Code
736 status collapsed
737
738 \begin_layout Plain Layout
739 doc/xx
740 \end_layout
741
742 \end_inset
743
744 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
745
746 \begin_inset CommandInset ref
747 LatexCommand ref
748 reference "cha:LyXの各国語対応"
749 nolink "false"
750
751 \end_inset
752
753 をご覧ください.
754 \end_layout
755
756 \begin_layout Labeling
757 \labelwidthstring 00.00.0000
758 \begin_inset Flex Code
759 status collapsed
760
761 \begin_layout Plain Layout
762 examples/
763 \end_layout
764
765 \end_inset
766
767  このディレクトリには,
768 何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
769 \begin_inset Flex MenuItem
770 status collapsed
771
772 \begin_layout Plain Layout
773 用例
774 \end_layout
775
776 \end_inset
777
778 ボタンを押すと,
779 このディレクトリが表示されます.
780 \end_layout
781
782 \begin_layout Labeling
783 \labelwidthstring 00.00.0000
784 \begin_inset Flex Code
785 status collapsed
786
787 \begin_layout Plain Layout
788 images/
789 \end_layout
790
791 \end_inset
792
793  このディレクトリには,
794
795 \begin_inset Flex MenuItem
796 status collapsed
797
798 \begin_layout Plain Layout
799 文書
800 \end_layout
801
802 \end_inset
803
804 ダイアログで使用される画像ファイルが納められています.さらに,
805 ツールバーの各アイコンや,
806 \SpecialChar LyX
807 を起動したときに現れるバナーも納められています.
808 \end_layout
809
810 \begin_layout Labeling
811 \labelwidthstring 00.00.0000
812 \begin_inset Flex Code
813 status collapsed
814
815 \begin_layout Plain Layout
816 kbd/
817 \end_layout
818
819 \end_inset
820
821  このディレクトリには,
822 キーボードのキー割当ファイルが納められています.詳細については,
823
824 \begin_inset CommandInset ref
825 LatexCommand ref
826 reference "sec:国際キー配列"
827 nolink "false"
828
829 \end_inset
830
831 をご覧ください.
832 \end_layout
833
834 \begin_layout Labeling
835 \labelwidthstring 00.00.0000
836 \begin_inset Flex Code
837 status collapsed
838
839 \begin_layout Plain Layout
840 layouts/
841 \end_layout
842
843 \end_inset
844
845  このディレクトリには,
846
847 \begin_inset CommandInset ref
848 LatexCommand ref
849 reference "cha:新規文書を導入"
850 nolink "false"
851
852 \end_inset
853
854 に述べられているテキストクラスおよびモジュールのファイルが納められています.
855 \end_layout
856
857 \begin_layout Labeling
858 \labelwidthstring 00.00.0000
859 \begin_inset Flex Code
860 status collapsed
861
862 \begin_layout Plain Layout
863 lyx2lyx
864 \end_layout
865
866 \end_inset
867
868  このディレクトリには,
869 \SpecialChar LyX
870 の各バージョン間の変換に使用される
871 \begin_inset Flex Code
872 status collapsed
873
874 \begin_layout Plain Layout
875 lyx2lyx
876 \end_layout
877
878 \end_inset
879
880  Pythonスクリプトが納められています.たとえば,
881 複数のファイルの変換をバッチ処理したい場合には,
882 これらをコマンドラインから実行することもできます.
883 \end_layout
884
885 \begin_layout Labeling
886 \labelwidthstring 00.00.0000
887 \begin_inset Flex Code
888 status collapsed
889
890 \begin_layout Plain Layout
891 scripts/
892 \end_layout
893
894 \end_inset
895
896  このディレクトリには,
897
898 \begin_inset Flex MenuItem
899 status collapsed
900
901 \begin_layout Plain Layout
902 外用ひな型
903 \end_layout
904
905 \end_inset
906
907 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
908 自身が使用するスクリプトもいくつか収められています.
909 \end_layout
910
911 \begin_layout Labeling
912 \labelwidthstring 00.00.0000
913 \begin_inset Flex Code
914 status collapsed
915
916 \begin_layout Plain Layout
917 templates/
918 \end_layout
919
920 \end_inset
921
922  このディレクトリには,
923
924 \begin_inset CommandInset ref
925 LatexCommand ref
926 reference "sec:ひな型を作成する"
927 nolink "false"
928
929 \end_inset
930
931 で述べられている標準の\SpecialChar LyX
932 ひな型ファイルが納められています.
933 \end_layout
934
935 \begin_layout Labeling
936 \labelwidthstring 00.00.0000
937 \begin_inset Flex Code
938 status collapsed
939
940 \begin_layout Plain Layout
941 ui/
942 \end_layout
943
944 \end_inset
945
946  このディレクトリには,
947 \SpecialChar LyX
948 の操作画面を定義する拡張子
949 \begin_inset Flex Code
950 status collapsed
951
952 \begin_layout Plain Layout
953 .ui
954 \end_layout
955
956 \end_inset
957
958 のファイルが納められています.つまり,
959 これらのファイルは,
960 どのメニュー項目がどのメニューに現れるかを定義し,
961 どの項目がツールバーに現れるかを定義しています.
962 \end_layout
963
964 \begin_layout Labeling
965 \labelwidthstring 00.00.0000
966 \begin_inset Flex Code
967 status collapsed
968
969 \begin_layout Plain Layout
970 xtemplates/
971 \end_layout
972
973 \end_inset
974
975  このディレクトリには,
976 \SpecialChar LyX
977 文書への外部素材の挿入のひな型を定義する,
978 拡張子が
979 \begin_inset Flex Code
980 status collapsed
981
982 \begin_layout Plain Layout
983 .xtemplate
984 \end_layout
985
986 \end_inset
987
988 のファイルが置かれています.第
989 \begin_inset CommandInset ref
990 LatexCommand ref
991 reference "chap:外部素材を取り込む"
992 plural "false"
993 caps "false"
994 noprefix "false"
995 nolink "false"
996
997 \end_inset
998
999 節参照.
1000 \end_layout
1001
1002 \begin_layout Subsection
1003 変更を加えない方がよいファイル
1004 \end_layout
1005
1006 \begin_layout Standard
1007 これらのファイルは\SpecialChar LyX
1008 が内部的に使用するもので,
1009 あなたが開発者でない限りは,
1010 凡そこれらに変更を加える必要はありません.
1011 \end_layout
1012
1013 \begin_layout Labeling
1014 \labelwidthstring 00.00.0000
1015 \begin_inset Flex Code
1016 status collapsed
1017
1018 \begin_layout Plain Layout
1019 CREDITS
1020 \end_layout
1021
1022 \end_inset
1023
1024  このファイルは,
1025 \SpecialChar LyX
1026 開発陣の名簿です.この内容は,
1027 メニュー項目
1028 \begin_inset Flex MenuItem
1029 status collapsed
1030
1031 \begin_layout Plain Layout
1032 ヘルプ\SpecialChar menuseparator
1033 LyXについて
1034 \end_layout
1035
1036 \end_inset
1037
1038 で表示されます.
1039 \end_layout
1040
1041 \begin_layout Labeling
1042 \labelwidthstring 00.00.0000
1043 \begin_inset Flex Code
1044 status collapsed
1045
1046 \begin_layout Plain Layout
1047 chkconfig.ltx
1048 \end_layout
1049
1050 \end_inset
1051
1052  これは,
1053 自動設定プロセスによって使用される\SpecialChar LaTeX
1054 スクリプトです.直接実行しないでください.
1055 \end_layout
1056
1057 \begin_layout Labeling
1058 \labelwidthstring 00.00.0000
1059 \begin_inset Flex Code
1060 status collapsed
1061
1062 \begin_layout Plain Layout
1063 configure.py
1064 \end_layout
1065
1066 \end_inset
1067
1068  これは,
1069 \SpecialChar LyX
1070 の環境構成によって使用されるスクリプトです.これは,
1071 このスクリプトを実行したディレクトリに設定ファイルを生成します.
1072 \end_layout
1073
1074 \begin_layout Subsection
1075 ひとこと必要なファイル群
1076 \end_layout
1077
1078 \begin_layout Labeling
1079 \labelwidthstring 00.00.0000
1080 \begin_inset Flex Code
1081 status collapsed
1082
1083 \begin_layout Plain Layout
1084 encodings
1085 \end_layout
1086
1087 \end_inset
1088
1089  このファイルには,
1090 各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
1091 \end_layout
1092
1093 \begin_layout Labeling
1094 \labelwidthstring 00.00.0000
1095 \begin_inset Flex Code
1096 status collapsed
1097
1098 \begin_layout Plain Layout
1099 languages
1100 \end_layout
1101
1102 \end_inset
1103
1104  このファイルには,
1105 現在\SpecialChar LyX
1106 がサポートしている言語の全一覧が載っています.
1107 \end_layout
1108
1109 \begin_layout Labeling
1110 \labelwidthstring 00.00.0000
1111 \begin_inset Flex Code
1112 status collapsed
1113
1114 \begin_layout Plain Layout
1115 latexfonts
1116 \end_layout
1117
1118 \end_inset
1119
1120  サポートされているフォントに関する情報が掲載されています.
1121 \end_layout
1122
1123 \begin_layout Labeling
1124 \labelwidthstring 00.00.0000
1125 \begin_inset Flex Code
1126 status collapsed
1127
1128 \begin_layout Plain Layout
1129 layouttranslations
1130 \end_layout
1131
1132 \end_inset
1133
1134  このファイルは,
1135 国際化された段落様式の翻訳が収録されています(
1136 \begin_inset CommandInset ref
1137 LatexCommand ref
1138 reference "subsec:段落様式の国際化"
1139 nolink "false"
1140
1141 \end_inset
1142
1143 参照).
1144 \end_layout
1145
1146 \begin_layout Labeling
1147 \labelwidthstring 00.00.0000
1148 \begin_inset Flex Code
1149 status collapsed
1150
1151 \begin_layout Plain Layout
1152 unicodesymbols
1153 \end_layout
1154
1155 \end_inset
1156
1157  このファイルは,
1158 unicodeエンコーディングされたグリフに関する情報と,
1159 \SpecialChar LyX
1160 が\SpecialChar LaTeX
1161 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1162 \end_layout
1163
1164 \begin_layout Section
1165 ユーザのローカル設定ディレクトリ
1166 \end_layout
1167
1168 \begin_layout Standard
1169 \SpecialChar LyX
1170 を非特権ユーザとして利用している場合でも,
1171 自分自身で使うために,
1172 \SpecialChar LyX
1173 の設定を変更したいと思うかもしれません.
1174 \begin_inset Flex Code
1175 status collapsed
1176
1177 \begin_layout Plain Layout
1178 UserDir
1179 \end_layout
1180
1181 \end_inset
1182
1183 ディレクトリには,
1184 すべての個人設定ファイルが収められています.これは,
1185
1186 \begin_inset Flex MenuItem
1187 status collapsed
1188
1189 \begin_layout Plain Layout
1190 ヘルプ\SpecialChar menuseparator
1191 LyXについて
1192 \end_layout
1193
1194 \end_inset
1195
1196 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1197
1198 \begin_inset Flex Code
1199 status collapsed
1200
1201 \begin_layout Plain Layout
1202 LyXDir
1203 \end_layout
1204
1205 \end_inset
1206
1207 のミラーとして使用されており,
1208 これは
1209 \begin_inset Flex Code
1210 status collapsed
1211
1212 \begin_layout Plain Layout
1213 UserDir
1214 \end_layout
1215
1216 \end_inset
1217
1218 内のすべてのファイルが,
1219
1220 \begin_inset Flex Code
1221 status collapsed
1222
1223 \begin_layout Plain Layout
1224 LyXDir
1225 \end_layout
1226
1227 \end_inset
1228
1229 すし,
1230 自分自身で使うために個人のローカルディレクトリに置くこともできます.
1231 \end_layout
1232
1233 \begin_layout Standard
1234 わかりやすくするために,
1235 いくつか例を挙げましょう.
1236 \end_layout
1237
1238 \begin_layout Itemize
1239 \begin_inset Flex MenuItem
1240 status collapsed
1241
1242 \begin_layout Plain Layout
1243 ツール\SpecialChar menuseparator
1244 設定
1245 \end_layout
1246
1247 \end_inset
1248
1249 ダイアログで設定されるユーザ設定は,
1250
1251 \begin_inset Flex Code
1252 status collapsed
1253
1254 \begin_layout Plain Layout
1255 UserDir
1256 \end_layout
1257
1258 \end_inset
1259
1260 中の
1261 \begin_inset Flex Code
1262 status collapsed
1263
1264 \begin_layout Plain Layout
1265 preferences
1266 \end_layout
1267
1268 \end_inset
1269
1270 ファイルに保存されます.
1271 \end_layout
1272
1273 \begin_layout Itemize
1274 \begin_inset Flex MenuItem
1275 status collapsed
1276
1277 \begin_layout Plain Layout
1278 ツール\SpecialChar menuseparator
1279 環境構成
1280 \end_layout
1281
1282 \end_inset
1283
1284 を使用して環境構成を行うと,
1285 \SpecialChar LyX
1286
1287 \begin_inset Flex Code
1288 status collapsed
1289
1290 \begin_layout Plain Layout
1291 configure.py
1292 \end_layout
1293
1294 \end_inset
1295
1296 スクリプトを実行し,
1297 その結果のファイルは,
1298 ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1299
1300 \begin_inset Flex Code
1301 status collapsed
1302
1303 \begin_layout Plain Layout
1304 UserDir/layouts
1305 \end_layout
1306
1307 \end_inset
1308
1309 にご自身で追加したテキストファイルは,
1310
1311 \begin_inset Flex MenuItem
1312 status collapsed
1313
1314 \begin_layout Plain Layout
1315 文書\SpecialChar menuseparator
1316 設定
1317 \end_layout
1318
1319 \end_inset
1320
1321 ダイアログのクラス一覧に表示されるようになることを意味します.
1322 \end_layout
1323
1324 \begin_layout Itemize
1325 たとえば,
1326 \SpecialChar LyX
1327 のFTPサイトから最新の取扱説明書をとってきたものの,
1328 使用中のシステム上で管理者権限がないために,
1329 それをインストールすることができなかったとしても,
1330 それらのファイルを
1331 \begin_inset Flex Code
1332 status collapsed
1333
1334 \begin_layout Plain Layout
1335 UserDir/doc/
1336 \end_layout
1337
1338 \end_inset
1339
1340 ディレクトリにコピーすれば,
1341
1342 \begin_inset Flex MenuItem
1343 status collapsed
1344
1345 \begin_layout Plain Layout
1346 ヘルプ
1347 \end_layout
1348
1349 \end_inset
1350
1351 メニュー項目はこれらを開くようになります!
1352
1353 \end_layout
1354
1355 \begin_layout Section
1356 \SpecialChar LyX
1357 を複数の設定を使って実行するには
1358 \end_layout
1359
1360 \begin_layout Standard
1361 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,
1362 2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,
1363 使用する度に異なるキー割当を使用したり,
1364 異なるプリンタ設定を使用したいことがあるかもしれません.これは,
1365 複数の設定ディレクトリを作ることで実現することができます.そして,
1366 実行時にどのディレクトリを使用するか指定するのです.
1367 \end_layout
1368
1369 \begin_layout Standard
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 P
1382 \emph on
1383 <ディレクトリ名>
1384 \emph default
1385 と共に起動すると,
1386 設定を既定のディレクトリではなく,
1387 指定したディレクトリから読み込むように,
1388 指示することになります(\SpecialChar LyX
1389
1390 \begin_inset Flex Code
1391 status collapsed
1392
1393 \begin_layout Plain Layout
1394 -userdir
1395 \end_layout
1396
1397 \end_inset
1398
1399 スイッチなしで実行すれば,
1400 既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,
1401 \SpecialChar LyX
1402 は,
1403 初めて\SpecialChar LyX
1404 を実行したときに既定ディレクトリを訊いてくるのと同様に,
1405 そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,
1406 既定ディレクトリで行うのと全く同じように設定オプションを修正することができます.これらのディレクトリは完全に独立しています(が,
1407 読み進めてください).また,
1408 環境変数
1409 \begin_inset Flex Code
1410 status collapsed
1411
1412 \begin_layout Plain Layout
1413 LYX_USERDIR_20x
1414 \end_layout
1415
1416 \end_inset
1417
1418 を特定の値に設定しても,
1419 全く同じ効果があります.
1420 \end_layout
1421
1422 \begin_layout Standard
1423 複数の設定を持つことはまた,
1424 維持の手間も増えるということです.もし新しいレイアウトを
1425 \begin_inset Flex Code
1426 status collapsed
1427
1428 \begin_layout Plain Layout
1429 NewUserDir/layouts
1430 \end_layout
1431
1432 \end_inset
1433
1434 に加えて,
1435 これをすべての設定で利用できるようにしたいならば,
1436 これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,
1437 次のようなトリックを使用してください.\SpecialChar LyX
1438 が新しい設定ディレクトリを生成すると,
1439 そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1440 空のサブディレクトリを,
1441 既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1442 \begin_inset Flex Code
1443 status collapsed
1444
1445 \begin_layout Plain Layout
1446 doc/
1447 \end_layout
1448
1449 \end_inset
1450
1451 サブディレクトリには,
1452 設定スクリプト(
1453 \begin_inset Flex MenuItem
1454 status collapsed
1455
1456 \begin_layout Plain Layout
1457 ツール\SpecialChar menuseparator
1458 環境構成
1459 \end_layout
1460
1461 \end_inset
1462
1463 で使用可能)が書き出した,
1464 設定毎に異なるファイルが含まれていますので,
1465 注意を払ってください.
1466 \end_layout
1467
1468 \begin_layout Chapter
1469 設定ダイアログ
1470 \end_layout
1471
1472 \begin_layout Standard
1473 設定ダイアログのオプションのすべては,
1474
1475 \emph on
1476 ユーザーの手引き
1477 \emph default
1478 の付録
1479 \emph on
1480 設定ダイアログ
1481 \emph default
1482 に述べられています.オプションのうちいくつかについて,
1483 ここでさらに詳細に説明します.
1484 \end_layout
1485
1486 \begin_layout Section
1487 ファイル形式
1488 \begin_inset CommandInset label
1489 LatexCommand label
1490 name "sec:ファイル形式"
1491
1492 \end_inset
1493
1494
1495 \end_layout
1496
1497 \begin_layout Standard
1498 ファイル形式が定義されていない場合,
1499 はじめの一歩は,
1500 使いたいと思うファイル形式を定義することです.それには,
1501
1502 \begin_inset Flex MenuItem
1503 status collapsed
1504
1505 \begin_layout Plain Layout
1506 ツール\SpecialChar menuseparator
1507 設定
1508 \end_layout
1509
1510 \end_inset
1511
1512 ダイアログを開いてください.
1513 \begin_inset Flex MenuItem
1514 status collapsed
1515
1516 \begin_layout Plain Layout
1517 ファイル処理\SpecialChar menuseparator
1518 ファイル形式
1519 \end_layout
1520
1521 \end_inset
1522
1523 の中で
1524 \begin_inset Flex MenuItem
1525 status collapsed
1526
1527 \begin_layout Plain Layout
1528 新規\SpecialChar ldots
1529
1530 \end_layout
1531
1532 \end_inset
1533
1534 ボタンを押して,
1535 登録する新しい形式を定義してください.
1536 \begin_inset Flex MenuItem
1537 status collapsed
1538
1539 \begin_layout Plain Layout
1540 形式
1541 \end_layout
1542
1543 \end_inset
1544
1545 フィールドは,
1546 GUI中で形式を認識するために用いられる名称です.
1547 \begin_inset Flex MenuItem
1548 status collapsed
1549
1550 \begin_layout Plain Layout
1551 短縮名
1552 \end_layout
1553
1554 \end_inset
1555
1556 は,
1557 形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1558 \begin_inset Flex MenuItem
1559 status collapsed
1560
1561 \begin_layout Plain Layout
1562 ショートカット
1563 \end_layout
1564
1565 \end_inset
1566
1567 フィールドは,
1568 メニュー中でショートカットを提供するのに使用されます(たとえば,
1569
1570 \begin_inset Flex MenuItem
1571 status collapsed
1572
1573 \begin_layout Plain Layout
1574 Ctrl+D
1575 \end_layout
1576
1577 \end_inset
1578
1579 を押すと
1580 \begin_inset Flex MenuItem
1581 status collapsed
1582
1583 \begin_layout Plain Layout
1584 表示\SpecialChar menuseparator
1585 DVI
1586 \end_layout
1587
1588 \end_inset
1589
1590 となります).
1591 \end_layout
1592
1593 \begin_layout Standard
1594 形式には,
1595
1596 \begin_inset Flex MenuItem
1597 status collapsed
1598
1599 \begin_layout Plain Layout
1600 閲覧プログラム
1601 \end_layout
1602
1603 \end_inset
1604
1605
1606 \begin_inset Flex MenuItem
1607 status collapsed
1608
1609 \begin_layout Plain Layout
1610 編集プログラム
1611 \end_layout
1612
1613 \end_inset
1614
1615 を関連づけることができます.たとえば,
1616 PostScriptファイルを閲覧するのに
1617 \begin_inset Flex MenuItem
1618 status collapsed
1619
1620 \begin_layout Plain Layout
1621 Ghostview
1622 \end_layout
1623
1624 \end_inset
1625
1626 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,
1627 コマンドを定義するのに,
1628 次節に掲げる4つの変数を用いることができます.この閲覧プログラムは,
1629 \SpecialChar LyX
1630 中で画像を閲覧したり
1631 \begin_inset Flex MenuItem
1632 status collapsed
1633
1634 \begin_layout Plain Layout
1635 表示
1636 \end_layout
1637
1638 \end_inset
1639
1640 メニューを使用したときに起動されます.一方,
1641 編集プログラムは,
1642 たとえば,
1643 画像を右クリックして現れるコンテクストメニューで
1644 \begin_inset Flex MenuItem
1645 status collapsed
1646
1647 \begin_layout Plain Layout
1648 外部で編集
1649 \end_layout
1650
1651 \end_inset
1652
1653 を選択したときに起動します.
1654 \end_layout
1655
1656 \begin_layout Standard
1657 ファイル形式の
1658 \begin_inset Flex MenuItem
1659 status collapsed
1660
1661 \begin_layout Plain Layout
1662 MIME
1663 \end_layout
1664
1665 \end_inset
1666
1667 型は必須ではありませんが,
1668 指定するときには,
1669 すべての形式の中で一意的なものでなくてはなりません.これは,
1670 この形式のファイルをファイル内容から検出するのに用いられます.重要なファイル形式のうちには,
1671
1672 \begin_inset CommandInset href
1673 LatexCommand href
1674 name "IANA"
1675 target "http://www.iana.org/assignments/media-types/"
1676 literal "false"
1677
1678 \end_inset
1679
1680 に公式に登録されたMIME型がないものがあります.そこで,
1681 \SpecialChar LyX
1682 は,
1683
1684 \begin_inset CommandInset href
1685 LatexCommand href
1686 name "freedesktop.org"
1687 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1688 literal "false"
1689
1690 \end_inset
1691
1692 で指定されているMIME型拡張表を使用しています.
1693 \end_layout
1694
1695 \begin_layout Standard
1696 \begin_inset Flex MenuItem
1697 status collapsed
1698
1699 \begin_layout Plain Layout
1700 文書形式
1701 \end_layout
1702
1703 \end_inset
1704
1705 オプションは,
1706 \SpecialChar LyX
1707 に,
1708 この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,
1709 適切な変換経路が存在する場合には(第
1710 \begin_inset CommandInset ref
1711 LatexCommand ref
1712 reference "sec:変換子"
1713 nolink "false"
1714
1715 \end_inset
1716
1717 節を参照),
1718 この形式が
1719 \begin_inset Flex MenuItem
1720 status collapsed
1721
1722 \begin_layout Plain Layout
1723 ファイル\SpecialChar menuseparator
1724 書き出し
1725 \end_layout
1726
1727 \end_inset
1728
1729
1730 \begin_inset Flex MenuItem
1731 status collapsed
1732
1733 \begin_layout Plain Layout
1734 表示
1735 \end_layout
1736
1737 \end_inset
1738
1739 footlabel Label color for footnotす.
1740 \begin_inset Flex Code
1741 status collapsed
1742
1743 \begin_layout Plain Layout
1744 png
1745 \end_layout
1746
1747 \end_inset
1748
1749 のような純粋な画像形式は,
1750 このオプションを有効にしてはいけません.
1751 \begin_inset Flex Code
1752 status collapsed
1753
1754 \begin_layout Plain Layout
1755 pdf
1756 \end_layout
1757
1758 \end_inset
1759
1760 のようにベクター画像であると同時に文書でもあるような形式は,
1761 これを有効にします.
1762 \end_layout
1763
1764 \begin_layout Standard
1765 \begin_inset Flex MenuItem
1766 status collapsed
1767
1768 \begin_layout Plain Layout
1769 ベクター画像形式
1770 \end_layout
1771
1772 \end_inset
1773
1774 オプションは,
1775 \SpecialChar LyX
1776 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1777
1778 \begin_inset Flex MenuItem
1779 status collapsed
1780
1781 \begin_layout Plain Layout
1782 pdflatex
1783 \end_layout
1784
1785 \end_inset
1786
1787 を書き出す際に,
1788 内包されている画像をどの形式に変換するかを決定するのに使用されます.
1789 \begin_inset Flex MenuItem
1790 status collapsed
1791
1792 \begin_layout Plain Layout
1793 pdflatex
1794 \end_layout
1795
1796 \end_inset
1797
1798 は,
1799
1800 \begin_inset Flex MenuItem
1801 status collapsed
1802
1803 \begin_layout Plain Layout
1804 pdf
1805 \end_layout
1806
1807 \end_inset
1808
1809
1810 \begin_inset Flex MenuItem
1811 status collapsed
1812
1813 \begin_layout Plain Layout
1814 png
1815 \end_layout
1816
1817 \end_inset
1818
1819
1820 \begin_inset Flex MenuItem
1821 status collapsed
1822
1823 \begin_layout Plain Layout
1824 Des
1825 \end_layout
1826
1827 \end_inset
1828
1829 以外の画像形式を取り扱うことができないので,
1830 内包されている画像は,
1831 これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1832 \begin_inset Flex MenuItem
1833 status collapsed
1834
1835 \begin_layout Plain Layout
1836 pdf
1837 \end_layout
1838
1839 \end_inset
1840
1841
1842 \begin_inset Flex MenuItem
1843 status collapsed
1844
1845 \begin_layout Plain Layout
1846 png
1847 \end_layout
1848
1849 \end_inset
1850
1851
1852 \begin_inset Flex MenuItem
1853 status collapsed
1854
1855 \begin_layout Plain Layout
1856 jpg
1857 \end_layout
1858
1859 \end_inset
1860
1861 のいずれかになっていない場合には,
1862 ベクター画像形式オプションが有効になっている場合には
1863 \begin_inset Flex MenuItem
1864 status collapsed
1865
1866 \begin_layout Plain Layout
1867 pdf
1868 \end_layout
1869
1870 \end_inset
1871
1872 に変換され,
1873 そうでない場合には
1874 \begin_inset Flex MenuItem
1875 status collapsed
1876
1877 \begin_layout Plain Layout
1878 png
1879 \end_layout
1880
1881 \end_inset
1882
1883 に変換されます.
1884 \end_layout
1885
1886 \begin_layout Section
1887 複写子
1888 \end_layout
1889
1890 \begin_layout Standard
1891 形式の変換はすべて,
1892 \SpecialChar LyX
1893 の一時ディレクトリで行われるため,
1894 変換用にファイルを一時ディレクトリにコピーする前段階で,
1895 ファイルに変更を加える必要のあることがあります
1896 \begin_inset Foot
1897 status collapsed
1898
1899 \begin_layout Plain Layout
1900 たとえば,
1901 ファイルが他のファイル—
1902 たとえば画像—
1903 を,
1904 相対ファイル名を用いて参照している場合,
1905 このファイルが一時ディレクトリにコピーされると参照が無効になる場合があります.
1906 \end_layout
1907
1908 \end_inset
1909
1910 .これは複写子によって取り扱われ,
1911 複写子は,
1912 ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,
1913 その過程でファイルに変更を加えます.
1914 \end_layout
1915
1916 \begin_layout Standard
1917 複写子の定義においては,
1918 以下の8つの変数を用いることができます.
1919 \end_layout
1920
1921 \begin_layout Labeling
1922 \labelwidthstring 00.00.0000
1923 \begin_inset Flex Code
1924 status collapsed
1925
1926 \begin_layout Plain Layout
1927 $$s
1928 \end_layout
1929
1930 \end_inset
1931
1932  \SpecialChar LyX
1933 のシステムディレクトリ(例:
1934
1935 \begin_inset Flex MenuItem
1936 status collapsed
1937
1938 \begin_layout Plain Layout
1939 /usr/share/lyx
1940 \end_layout
1941
1942 \end_inset
1943
1944
1945 \end_layout
1946
1947 \begin_layout Labeling
1948 \labelwidthstring 00.00.0000
1949 \begin_inset Flex Code
1950 status collapsed
1951
1952 \begin_layout Plain Layout
1953 $$i
1954 \end_layout
1955
1956 \end_inset
1957
1958  入力ファイル
1959 \end_layout
1960
1961 \begin_layout Labeling
1962 \labelwidthstring 00.00.0000
1963 \begin_inset Flex Code
1964 status collapsed
1965
1966 \begin_layout Plain Layout
1967 $$o
1968 \end_layout
1969
1970 \end_inset
1971
1972  出力ファイル
1973 \end_layout
1974
1975 \begin_layout Labeling
1976 \labelwidthstring 00.00.0000
1977 \begin_inset Flex Code
1978 status collapsed
1979
1980 \begin_layout Plain Layout
1981 $$b
1982 \end_layout
1983
1984 \end_inset
1985
1986  \SpecialChar LyX
1987 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1988 \end_layout
1989
1990 \begin_layout Labeling
1991 \labelwidthstring 00.00.0000
1992 \begin_inset Flex Code
1993 status collapsed
1994
1995 \begin_layout Plain Layout
1996 $$p
1997 \end_layout
1998
1999 \end_inset
2000
2001  \SpecialChar LyX
2002 一時ディレクトリのフルパス名
2003 \end_layout
2004
2005 \begin_layout Labeling
2006 \labelwidthstring 00.00.0000
2007 \begin_inset Flex Code
2008 status collapsed
2009
2010 \begin_layout Plain Layout
2011 $$r
2012 \end_layout
2013
2014 \end_inset
2015
2016  処理されている元の\SpecialChar LyX
2017 ファイルのフルパス名
2018 \end_layout
2019
2020 \begin_layout Labeling
2021 \labelwidthstring 00.00.0000
2022 \begin_inset Flex Code
2023 status collapsed
2024
2025 \begin_layout Plain Layout
2026 $$f
2027 \end_layout
2028
2029 \end_inset
2030
2031  \SpecialChar LyX
2032 ファイルのファイル名(ディレクトリパスなし)
2033 \end_layout
2034
2035 \begin_layout Labeling
2036 \labelwidthstring 00.00.0000
2037 \begin_inset Flex Code
2038 status collapsed
2039
2040 \begin_layout Plain Layout
2041 $$l
2042 \end_layout
2043
2044 \end_inset
2045
2046  「\SpecialChar LaTeX
2047 名」
2048 \end_layout
2049
2050 \begin_layout Standard
2051 最後の変数は,
2052 \SpecialChar LaTeX
2053
2054 \series bold
2055
2056 \backslash
2057 include
2058 \series default
2059 コマンドで使用されるのと同形式のファイル名です.これは,
2060 書き出すファイルがそのようなインクルードに適している場合のみ,
2061 使用さるべきものです.
2062 \end_layout
2063
2064 \begin_layout Standard
2065 複写子は,
2066 出力ファイルに関する操作であれば,
2067 ほとんどすべてに対応することができます.たとえば,
2068 生成したPDFファイルを,
2069
2070 \begin_inset Flex Code
2071 status collapsed
2072
2073 \begin_layout Plain Layout
2074 /home/you/pdf/
2075 \end_layout
2076
2077 \end_inset
2078
2079 という特別なディレクトリにコピーしたいものとしましょう.その場合には,
2080 以下のようなシェルスクリプトを書きます.
2081 \end_layout
2082
2083 \begin_layout Standard
2084 \begin_inset listings
2085 inline false
2086 status open
2087
2088 \begin_layout Plain Layout
2089
2090 #!/bin/bash
2091 \end_layout
2092
2093 \begin_layout Plain Layout
2094
2095 FROMFILE=$1
2096 \end_layout
2097
2098 \begin_layout Plain Layout
2099
2100 TOFILE=`basename $2`
2101 \end_layout
2102
2103 \begin_layout Plain Layout
2104
2105 DescriptionE /home/you/pdf/$TOFILE
2106 \end_layout
2107
2108 \end_inset
2109
2110 これを,
2111 例えば
2112 \begin_inset Flex Code
2113 status collapsed
2114
2115 \begin_layout Plain Layout
2116 /home/you/.lyx/scripts/pdfcopier.sh
2117 \end_layout
2118
2119 \end_inset
2120
2121 のような,
2122 自身のローカル\SpecialChar LyX
2123 ディレクトリに保存し,
2124 お使いのプラットフォームが必要とするならば,
2125 実行可能属性を付与します.それから,
2126
2127 \begin_inset Flex MenuItem
2128 status collapsed
2129
2130 \begin_layout Plain Layout
2131 ツール\SpecialChar menuseparator
2132 設定
2133 \end_layout
2134
2135 \end_inset
2136
2137 ダイアログの
2138 \begin_inset Flex MenuItem
2139 status collapsed
2140
2141 \begin_layout Plain Layout
2142 ファイル処理\SpecialChar menuseparator
2143 ファイル形式
2144 \end_layout
2145
2146 \end_inset
2147
2148 の中で,
2149
2150 \begin_inset Flex MenuItem
2151 status collapsed
2152
2153 \begin_layout Plain Layout
2154 PDF(pdflatex)
2155 \end_layout
2156
2157 \end_inset
2158
2159 形式—
2160 あるいは他のPDF形式のうちどれか—
2161 を選択し,
2162
2163 \begin_inset Flex MenuItem
2164 status collapsed
2165
2166 \begin_layout Plain Layout
2167 複写子
2168 \end_layout
2169
2170 \end_inset
2171
2172 フィールドに
2173 \begin_inset Flex Code
2174 status collapsed
2175
2176 \begin_layout Plain Layout
2177 pdfcopier.sh $$i $$o
2178 \end_layout
2179
2180 \end_inset
2181
2182 と入力します.
2183 \end_layout
2184
2185 \begin_layout Standard
2186 複写子は,
2187 \SpecialChar LyX
2188 自身が様々な変換に使用します.たとえば,
2189 適切なプログラムが検出された場合,
2190 \SpecialChar LyX
2191 は自動的に
2192 \begin_inset Flex MenuItem
2193 status collapsed
2194
2195 \begin_layout Plain Layout
2196 HTML
2197 \end_layout
2198
2199 \end_inset
2200
2201 形式と
2202 \begin_inset Flex MenuItem
2203 status collapsed
2204
2205 \begin_layout Plain Layout
2206 HTML
2207 \begin_inset space ~
2208 \end_inset
2209
2210 (MS Word)
2211 \end_layout
2212
2213 \end_inset
2214
2215 形式の複写子を導入します.これらの形式を書き出す際,
2216 複写子は,
2217 本体のHTMLファイルだけでなく,
2218 関連した様々なファイル(スタイルファイルや画像など)もコピーされるように手配します.これらのファイルはすべて,
2219 元の\SpecialChar LyX
2220 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2221 \begin_inset Foot
2222 status collapsed
2223
2224 \begin_layout Plain Layout
2225 この複写子の挙動は調整することができます.非必須の「-e」オプションは,
2226 コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,
2227 すべてのファイルがコピーされます.「-t」引数は,
2228 生成したディレクトリに書き加える拡張子を指定するものです.既定値では,
2229 これは「
2230 \begin_inset Flex MenuItem
2231 status collapsed
2232
2233 \begin_layout Plain Layout
2234 LyXconv
2235 \end_layout
2236
2237 \end_inset
2238
2239 」となっているので,
2240
2241 \begin_inset Flex MenuItem
2242 status collapsed
2243
2244 \begin_layout Plain Layout
2245 /path/to/filename.lyx
2246 \end_layout
2247
2248 \end_inset
2249
2250 から生成されたHTMLファイルは,
2251
2252 \begin_inset Flex MenuItem
2253 status collapsed
2254
2255 \begin_layout Plain Layout
2256 /path/to/filename.html.LyXconv
2257 \end_layout
2258
2259 \end_inset
2260
2261 となります..
2262  
2263 \end_layout
2264
2265 \end_inset
2266
2267
2268 \end_layout
2269
2270 \begin_layout Section
2271 変換子
2272 \begin_inset CommandInset label
2273 LatexCommand label
2274 name "sec:変換子"
2275
2276 \end_inset
2277
2278
2279 \end_layout
2280
2281 \begin_layout Standard
2282 各形式間でファイルを変換するために,
2283 ご自身の変換子を定義することができます.これは,
2284
2285 \begin_inset Flex MenuItem
2286 status collapsed
2287
2288 \begin_layout Plain Layout
2289 ツール\SpecialChar menuseparator
2290 設定\SpecialChar menuseparator
2291 ファイル処理\SpecialChar menuseparator
2292 変換子
2293 \end_layout
2294
2295 \end_inset
2296
2297 ダイアログで行います.
2298 \end_layout
2299
2300 \begin_layout Standard
2301 新規に変換子を定義するには,
2302 ドロップダウンリストから
2303 \begin_inset Flex MenuItem
2304 status collapsed
2305
2306 \begin_layout Plain Layout
2307 変換元の形式
2308 \end_layout
2309
2310 \end_inset
2311
2312
2313 \begin_inset Flex MenuItem
2314 status collapsed
2315
2316 \begin_layout Plain Layout
2317 変換先の形式
2318 \end_layout
2319
2320 \end_inset
2321
2322 を選択し,
2323 変換に必要なコマンドを入力してから
2324 \begin_inset Flex MenuItem
2325 status collapsed
2326
2327 \begin_layout Plain Layout
2328 追加
2329 \end_layout
2330
2331 \end_inset
2332
2333 ボタンを押してください.変換子の定義には,
2334 以下のような変数を使用することができます.
2335 \end_layout
2336
2337 \begin_layout Labeling
2338 \labelwidthstring 00.00.0000
2339 \begin_inset Flex Code
2340 status collapsed
2341
2342 \begin_layout Plain Layout
2343 $$s
2344 \end_layout
2345
2346 \end_inset
2347
2348  \SpecialChar LyX
2349 システムディレクトリ
2350 \end_layout
2351
2352 \begin_layout Labeling
2353 \labelwidthstring 00.00.0000
2354 \begin_inset Flex Code
2355 status collapsed
2356
2357 \begin_layout Plain Layout
2358 $$i
2359 \end_layout
2360
2361 \end_inset
2362
2363  入力ファイル
2364 \end_layout
2365
2366 \begin_layout Labeling
2367 \labelwidthstring 00.00.0000
2368 \begin_inset Flex Code
2369 status collapsed
2370
2371 \begin_layout Plain Layout
2372 $$o
2373 \end_layout
2374
2375 \end_inset
2376
2377  出力ファイル
2378 \end_layout
2379
2380 \begin_layout Labeling
2381 \labelwidthstring 00.00.0000
2382 \begin_inset Flex Code
2383 status collapsed
2384
2385 \begin_layout Plain Layout
2386 $$b
2387 \end_layout
2388
2389 \end_inset
2390
2391  入力ファイルのベースファイル名(拡張子をとった部分)
2392 \end_layout
2393
2394 \begin_layout Labeling
2395 \labelwidthstring 00.00.0000
2396 \begin_inset Flex Code
2397 status collapsed
2398
2399 \begin_layout Plain Layout
2400 $$p
2401 \end_layout
2402
2403 \end_inset
2404
2405  入力ファイルのパス
2406 \end_layout
2407
2408 \begin_layout Labeling
2409 \labelwidthstring 00.00.0000
2410 \begin_inset Flex Code
2411 status collapsed
2412
2413 \begin_layout Plain Layout
2414 $$r
2415 \end_layout
2416
2417 \end_inset
2418
2419  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2420 \end_layout
2421
2422 \begin_layout Labeling
2423 \labelwidthstring 00.00.0000
2424 \begin_inset Flex Code
2425 status collapsed
2426
2427 \begin_layout Plain Layout
2428 $$e
2429 \end_layout
2430
2431 \end_inset
2432
2433  文書エンコーディングのiconv名
2434 \end_layout
2435
2436 \begin_layout Standard
2437 \begin_inset Flex MenuItem
2438 status collapsed
2439
2440 \begin_layout Plain Layout
2441 追加フラグ
2442 \end_layout
2443
2444 \end_inset
2445
2446 フィールドには,
2447 以下のフラグをコンマで区切って入力することができます.
2448 \end_layout
2449
2450 \begin_layout Labeling
2451 \labelwidthstring 00.00.0000
2452 \begin_inset Flex Code
2453 status collapsed
2454
2455 \begin_layout Plain Layout
2456 latex=flavor
2457 \end_layout
2458
2459 \end_inset
2460
2461  この変換子が\SpecialChar LaTeX
2462 の一種を実行することを示します.これによって,
2463 \SpecialChar LyX
2464 の\SpecialChar LaTeX
2465 エラーログに記録を残せるようになります.オプションの
2466 \begin_inset Flex Code
2467 status open
2468
2469 \begin_layout Plain Layout
2470 flavor
2471 \end_layout
2472
2473 \end_inset
2474
2475 値は実行する\SpecialChar LaTeX
2476 の形を指定します( 
2477 \begin_inset Flex Code
2478 status open
2479
2480 \begin_layout Plain Layout
2481 latex,
2482  pdflatex,
2483  platex,
2484  xetex,
2485  luatex
2486 \end_layout
2487
2488 \end_inset
2489
2490 ).値が指定されなければ
2491 \begin_inset Flex Code
2492 status open
2493
2494 \begin_layout Plain Layout
2495 latex
2496 \end_layout
2497
2498 \end_inset
2499
2500 が用いられます.
2501 \end_layout
2502
2503 \begin_layout Labeling
2504 \labelwidthstring 00.00.0000
2505 \begin_inset Flex Code
2506 status collapsed
2507
2508 \begin_layout Plain Layout
2509 needaux=flavor
2510 \end_layout
2511
2512 \end_inset
2513
2514  変換に\SpecialChar LaTeX
2515
2516 \begin_inset Flex MenuItem
2517 status collapsed
2518
2519 \begin_layout Plain Layout
2520 .aux
2521 \end_layout
2522
2523 \end_inset
2524
2525 ファイルが必要であることを示します.オプションの
2526 \begin_inset Flex Code
2527 status open
2528
2529 \begin_layout Plain Layout
2530 flavor
2531 \end_layout
2532
2533 \end_inset
2534
2535 値は
2536 \begin_inset Flex MenuItem
2537 status collapsed
2538
2539 \begin_layout Plain Layout
2540 .aux
2541 \end_layout
2542
2543 \end_inset
2544
2545 ファイルを生成するのに実行する\SpecialChar LaTeX
2546 の形を指定します( 
2547 \begin_inset Flex Code
2548 status open
2549
2550 \begin_layout Plain Layout
2551 latex,
2552  pdflatex,
2553  platex,
2554  xetex,
2555  luatex
2556 \end_layout
2557
2558 \end_inset
2559
2560 ).値が指定されなければ
2561 \begin_inset Flex Code
2562 status open
2563
2564 \begin_layout Plain Layout
2565 latex
2566 \end_layout
2567
2568 \end_inset
2569
2570 が用いられます.
2571 \end_layout
2572
2573 \begin_layout Labeling
2574 \labelwidthstring 00.00.0000
2575 \begin_inset Flex Code
2576 status collapsed
2577
2578 \begin_layout Plain Layout
2579 nice
2580 \end_layout
2581
2582 \end_inset
2583
2584  バックエンドからの
2585 \begin_inset Quotes erd
2586 \end_inset
2587
2588 nice
2589 \begin_inset Quotes erd
2590 \end_inset
2591
2592 なファイル,
2593 つまり\SpecialChar LyX
2594 が書き出す\SpecialChar LaTeX
2595 ファイルのように,
2596
2597 \begin_inset Flex Code
2598 status open
2599
2600 \begin_layout Plain Layout
2601 input@path
2602 \end_layout
2603
2604 \end_inset
2605
2606 のない\SpecialChar LaTeX
2607 ファイルを必要とします.
2608 \end_layout
2609
2610 \begin_layout Labeling
2611 \labelwidthstring 00.00.0000
2612 \begin_inset Flex Code
2613 status collapsed
2614
2615 \begin_layout Plain Layout
2616 xml
2617 \end_layout
2618
2619 \end_inset
2620
2621  出力がXMLであることを示します.
2622 \end_layout
2623
2624 \begin_layout Standard
2625 以下の4つのフラグは 
2626 \begin_inset Flex MenuItem
2627 status collapsed
2628
2629 \begin_layout Plain Layout
2630 key
2631 \begin_inset space ~
2632 \end_inset
2633
2634 =
2635 \begin_inset space ~
2636 \end_inset
2637
2638 value
2639 \end_layout
2640
2641 \end_inset
2642
2643 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2644 \end_layout
2645
2646 \begin_layout Labeling
2647 \labelwidthstring 00.00.0000
2648 \begin_inset Flex Code
2649 status collapsed
2650
2651 \begin_layout Plain Layout
2652 hyperref-driver
2653 \end_layout
2654
2655 \end_inset
2656
2657  この変換子が
2658 \family sans
2659 hyperref
2660 \family default
2661 パッケージとともに読み込む必要のあるドライバ名.一部のPDF機能を利用するには正しいドライバを読み込む必要があります.詳細については,
2662
2663 \family sans
2664 hyperref
2665 \family default
2666 の取扱説明書を参照してください.
2667 \end_layout
2668
2669 \begin_layout Labeling
2670 \labelwidthstring 00.00.0000
2671 \begin_inset Flex Code
2672 status collapsed
2673
2674 \begin_layout Plain Layout
2675 parselog
2676 \end_layout
2677
2678 \end_inset
2679
2680  これを指定すると,
2681 変換子の標準エラーが
2682 \begin_inset Flex Code
2683 status collapsed
2684
2685 \begin_layout Plain Layout
2686 infile.out
2687 \end_layout
2688
2689 \end_inset
2690
2691 ファイルにリダイレクトされ,
2692 引数に指定されたスクリプトが
2693 \begin_inset Flex Code
2694 status collapsed
2695
2696 \begin_layout Plain Layout
2697 script < infile.out > infile.log
2698 \end_layout
2699
2700 \end_inset
2701
2702 の形で実行されるようになります.引数には
2703 \begin_inset Flex Code
2704 status collapsed
2705
2706 \begin_layout Plain Layout
2707 $$s
2708 \end_layout
2709
2710 \end_inset
2711
2712 を指定することができます.
2713 \end_layout
2714
2715 \begin_layout Labeling
2716 \labelwidthstring 00.00.0000
2717 \begin_inset Flex Code
2718 status collapsed
2719
2720 \begin_layout Plain Layout
2721 resultdir
2722 \end_layout
2723
2724 \end_inset
2725
2726  これには,
2727 変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2728 はこのディレクトリを作成せず,
2729 ここに何もコピーしませんが,
2730 このディレクトリを宛先にコピーします.引数には,
2731
2732 \begin_inset Flex Code
2733 status collapsed
2734
2735 \begin_layout Plain Layout
2736 $$b
2737 \end_layout
2738
2739 \end_inset
2740
2741 を使用することができ,
2742 これはディレクトリがコピーされる際に,
2743 入力ファイルおよび出力ファイルのベース名で置換されます.
2744 \begin_inset Newline newline
2745 \end_inset
2746
2747 resultdirとusetempdirは,
2748 同時に用いることはできませんのでご注意ください.前者が指定されているときには,
2749 後者は無視されます.
2750 \end_layout
2751
2752 \begin_layout Labeling
2753 \labelwidthstring 00.00.0000
2754 \begin_inset Flex Code
2755 status collapsed
2756
2757 \begin_layout Plain Layout
2758 resultfile
2759 \end_layout
2760
2761 \end_inset
2762
2763  これは出力ファイル名を指定するもので,
2764
2765 \begin_inset Flex Code
2766 status collapsed
2767
2768 \begin_layout Plain Layout
2769 $$b
2770 \end_layout
2771
2772 \end_inset
2773
2774 を使用することができます.resultdirが指定されているときのみ有効で,
2775 必ず用いる必要はありません.指定されていなければ,
2776 既定値は「index」です.
2777 \end_layout
2778
2779 \begin_layout Standard
2780 \SpecialChar LyX
2781 とともに導入されている変換子の一部には適切なhyperref-driverが設定されています.しかしながら最後の3つは,
2782 \SpecialChar LyX
2783 に前もって導入されている変換子には,
2784 現在いずれも使用されておりません.
2785 \end_layout
2786
2787 \begin_layout Standard
2788 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,
2789 「\SpecialChar LyX
2790 からPostScript」変換子が定義されていないのに,
2791 \SpecialChar LyX
2792 はPostScriptを書き出していることに気づかれることでしょう.これは,
2793 まず\SpecialChar LaTeX
2794 ファイルを生成した後に(これには変換子を定義する必要はありません),
2795 「LaTeXからDVI」変換子を使用してDVIに変換し,
2796 最後に,
2797 得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2798 はこのような変換子の「連鎖」を自動的に見つけ,
2799 つねに最も短い連鎖を選択します.しかしながら,
2800 なお形式間に複数の変換方法を定義することも可能です.たとえば,
2801 標準的な\SpecialChar LyX
2802 設定は,
2803 \SpecialChar LaTeX
2804 からPDFへ変換するのに,
2805 以下の3つの方法を用意しています.
2806 \end_layout
2807
2808 \begin_layout Enumerate
2809 直接
2810 \begin_inset Flex MenuItem
2811 status collapsed
2812
2813 \begin_layout Plain Layout
2814 pdflatex
2815 \end_layout
2816
2817 \end_inset
2818
2819 を使用するもの
2820 \end_layout
2821
2822 \begin_layout Enumerate
2823 (DVIと)PostScriptを経由して
2824 \begin_inset Flex MenuItem
2825 status collapsed
2826
2827 \begin_layout Plain Layout
2828 ps2pdf
2829 \end_layout
2830
2831 \end_inset
2832
2833 を使用するもの
2834 \end_layout
2835
2836 \begin_layout Enumerate
2837 DVI経由で
2838 \begin_inset Flex MenuItem
2839 status collapsed
2840
2841 \begin_layout Plain Layout
2842 dvipdfm
2843 \end_layout
2844
2845 \end_inset
2846
2847 を使用するもの
2848 \end_layout
2849
2850 \begin_layout Enumerate
2851 直接
2852 \begin_inset Flex MenuItem
2853 status collapsed
2854
2855 \begin_layout Plain Layout
2856 Xe\SpecialChar TeX
2857
2858 \end_layout
2859
2860 \end_inset
2861
2862 を使用するもの
2863 \end_layout
2864
2865 \begin_layout Enumerate
2866 直接
2867 \begin_inset Flex MenuItem
2868 status collapsed
2869
2870 \begin_layout Plain Layout
2871 Lua\SpecialChar TeX
2872
2873 \end_layout
2874
2875 \end_inset
2876
2877 を使用するもの
2878 \end_layout
2879
2880 \begin_layout Standard
2881 このように代替連鎖を定義するには,
2882
2883 \begin_inset CommandInset ref
2884 LatexCommand ref
2885 reference "sec:ファイル形式"
2886 nolink "false"
2887
2888 \end_inset
2889
2890 節に述べられているように,
2891 ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,
2892 標準設定では,
2893
2894 \begin_inset Flex MenuItem
2895 status collapsed
2896
2897 \begin_layout Plain Layout
2898 pdf
2899 \end_layout
2900
2901 \end_inset
2902
2903 (
2904 \begin_inset Flex MenuItem
2905 status collapsed
2906
2907 \begin_layout Plain Layout
2908 ps2pdf
2909 \end_layout
2910
2911 \end_inset
2912
2913 用)・
2914 \begin_inset Flex MenuItem
2915 status collapsed
2916
2917 \begin_layout Plain Layout
2918 pdf2
2919 \end_layout
2920
2921 \end_inset
2922
2923 (
2924 \begin_inset Flex MenuItem
2925 status collapsed
2926
2927 \begin_layout Plain Layout
2928 pdflatex
2929 \end_layout
2930
2931 \end_inset
2932
2933 用)・
2934 \begin_inset Flex MenuItem
2935 status collapsed
2936
2937 \begin_layout Plain Layout
2938 pdf3
2939 \end_layout
2940
2941 \end_inset
2942
2943 (
2944 \begin_inset Flex MenuItem
2945 status collapsed
2946
2947 \begin_layout Plain Layout
2948 dvipdfm
2949 \end_layout
2950
2951 \end_inset
2952
2953 用)・
2954 \begin_inset Flex MenuItem
2955 status collapsed
2956
2957 \begin_layout Plain Layout
2958 pdf4
2959 \end_layout
2960
2961 \end_inset
2962
2963 (
2964 \begin_inset Flex MenuItem
2965 status collapsed
2966
2967 \begin_layout Plain Layout
2968 Xe\SpecialChar TeX
2969
2970 \end_layout
2971
2972 \end_inset
2973
2974 用)・
2975 \begin_inset Flex MenuItem
2976 status collapsed
2977
2978 \begin_layout Plain Layout
2979 pdf5
2980 \end_layout
2981
2982 \end_inset
2983
2984 (
2985 \begin_inset Flex MenuItem
2986 status collapsed
2987
2988 \begin_layout Plain Layout
2989 Lua\SpecialChar TeX
2990
2991 \end_layout
2992
2993 \end_inset
2994
2995 用\SpecialChar softhyphen
2996 ) と命名された形式が定義されていて,
2997 すべて共通の拡張子
2998 \begin_inset Flex MenuItem
2999 status collapsed
3000
3001 \begin_layout Plain Layout
3002 .pdf
3003 \end_layout
3004
3005 \end_inset
3006
3007 を持ち,
3008 上記で言及した各変換方法に対応しています.
3009 \end_layout
3010
3011 \begin_layout Chapter
3012 \SpecialChar LyX
3013 の各国語対応
3014 \begin_inset CommandInset label
3015 LatexCommand label
3016 name "cha:LyXの各国語対応"
3017
3018 \end_inset
3019
3020
3021 \end_layout
3022
3023 \begin_layout Standard
3024 \SpecialChar LyX
3025 は,
3026 翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,
3027 \SpecialChar LyX
3028 は30言語の翻訳を提供しています.選択した言語は,
3029 使用する
3030 \emph on
3031 ロケール
3032 \emph default
3033 と呼ばれます(ロケール設定についての詳しい資料は,
3034 お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,
3035 マニュアルページの
3036 \begin_inset Flex Code
3037 status collapsed
3038
3039 \begin_layout Plain Layout
3040 locale(5)
3041 \end_layout
3042
3043 \end_inset
3044
3045 から見ると良いかもしれません).
3046 \end_layout
3047
3048 \begin_layout Standard
3049 これらの翻訳は適切に機能しますが,
3050 欠点もいくつかあることに注意してください.たとえば,
3051 ダイアログはすべて英文を念頭にデザインされているため,
3052 翻訳文の一部は,
3053 割り当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,
3054 他の障害は引き起こしません.また,
3055 翻訳によっては,
3056 すべてのショートカットが定義されていないことに気づかれるでしょう.ショートカットのために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだショートカットを定義していないこともあるでしょう.もちろん,
3057 私たちの各国語対応チーム—
3058 あなたも参加したいと思われるかもしれません
3059 \begin_inset Foot
3060 status collapsed
3061
3062 \begin_layout Plain Layout
3063 もしあなたが英語以外の言語を流暢に操れるならば,
3064 これらのチームに参加することは,
3065 \SpecialChar LyX
3066 コミュニティに報いるたいへん素晴らしい方法です!
3067
3068 \end_layout
3069
3070 \end_inset
3071
3072
3073 は,
3074 \SpecialChar LyX
3075 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
3076 \end_layout
3077
3078 \begin_layout Section
3079 \SpecialChar LyX
3080 を翻訳する
3081 \end_layout
3082
3083 \begin_layout Subsection
3084 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
3085 \begin_inset Argument 1
3086 status collapsed
3087
3088 \begin_layout Plain Layout
3089 GUI(テキストメッセージ)を翻訳する
3090 \end_layout
3091
3092 \end_inset
3093
3094
3095 \end_layout
3096
3097 \begin_layout Standard
3098 \SpecialChar LyX
3099 は,
3100 操作画面の国際化対応にGNU 
3101 \begin_inset Flex Code
3102 status collapsed
3103
3104 \begin_layout Plain Layout
3105 gettext
3106 \end_layout
3107
3108 \end_inset
3109
3110 ライブラリを使用します.\SpecialChar LyX
3111 のすべてのメニューやダイアログでお好みの言語を話させたいときには,
3112 その言語の
3113 \begin_inset Flex Code
3114 status collapsed
3115
3116 \begin_layout Plain Layout
3117 po
3118 \end_layout
3119
3120 \end_inset
3121
3122 ファイルが必要です.このファイルが利用可能であれば,
3123 そこから
3124 \begin_inset Flex Code
3125 status collapsed
3126
3127 \begin_layout Plain Layout
3128 mo
3129 \end_layout
3130
3131 \end_inset
3132
3133 ファイルを生成して,
3134 この
3135 \begin_inset Flex Code
3136 status collapsed
3137
3138 \begin_layout Plain Layout
3139 mo
3140 \end_layout
3141
3142 \end_inset
3143
3144 ファイルをインストールしなくてはなりません.この全過程は,
3145 GNU 
3146 \begin_inset Flex Code
3147 status collapsed
3148
3149 \begin_layout Plain Layout
3150 gettext
3151 \end_layout
3152
3153 \end_inset
3154
3155 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,
3156 もしせっかくするのであれば,
3157 あなたの骨折りの結果を\SpecialChar LyX
3158 コミュニティの他の人々と分かち合いませんか.どのように段取りを進めればよいか,
3159 詳しくは\SpecialChar LyX
3160 開発者メーリングリストにメールを送ってください.
3161 \end_layout
3162
3163 \begin_layout Standard
3164 要約すれば,
3165 以下のように行います(xxは言語コードを表します).
3166 \end_layout
3167
3168 \begin_layout Itemize
3169 \SpecialChar LyX
3170 ソースコードをチェックアウトしてください(
3171 \begin_inset CommandInset href
3172 LatexCommand href
3173 name "ウェブ上の情報"
3174 target "https://www.lyx.org/HowToUseGIT"
3175 literal "false"
3176
3177 \end_inset
3178
3179 参照).
3180 \end_layout
3181
3182 \begin_layout Itemize
3183 \begin_inset Flex Code
3184 status collapsed
3185
3186 \begin_layout Plain Layout
3187 lyx.pot
3188 \end_layout
3189
3190 \end_inset
3191
3192 ファイルを
3193 \begin_inset Flex Code
3194 status collapsed
3195
3196 \begin_layout Plain Layout
3197 **.po
3198 \end_layout
3199
3200 \end_inset
3201
3202 ファイルのあるフォルダにコピーして,
3203
3204 \begin_inset Flex Code
3205 status collapsed
3206
3207 \begin_layout Plain Layout
3208 xx.po
3209 \end_layout
3210
3211 \end_inset
3212
3213 に名前を付け替えてください(
3214 \begin_inset Flex Code
3215 status collapsed
3216
3217 \begin_layout Plain Layout
3218 lyx.pot
3219 \end_layout
3220
3221 \end_inset
3222
3223 がどこにもない場合には,
3224 コンソールからそのディレクトリで
3225 \begin_inset Flex Code
3226 status collapsed
3227
3228 \begin_layout Plain Layout
3229 make lyx.pot
3230 \end_layout
3231
3232 \end_inset
3233
3234 コマンドを実行し,
3235 作成し直すか,
3236 他言語の既存のpoファイルをひな型として使用することができます).
3237 \end_layout
3238
3239 \begin_layout Itemize
3240 \begin_inset Flex Code
3241 status collapsed
3242
3243 \begin_layout Plain Layout
3244 xx.po
3245 \end_layout
3246
3247 \end_inset
3248
3249 を編集します.
3250 \begin_inset Foot
3251 status collapsed
3252
3253 \begin_layout Plain Layout
3254 これは単なるテキストファイルなので,
3255 どのテキストエディタでも編集できます.しかし,
3256
3257 \family typewriter
3258 Poedit
3259 \family default
3260 (全プラットフォーム用)や
3261 \family typewriter
3262 KBabel
3263 \family default
3264 (KDE用)のように,
3265 この目的の編集をサポートする特別なプログラムがあります.
3266 \family typewriter
3267 Emacs
3268 \family default
3269 にも
3270 \begin_inset Flex Code
3271 status collapsed
3272
3273 \begin_layout Plain Layout
3274 po
3275 \end_layout
3276
3277 \end_inset
3278
3279 ファイルを編集するための「モード」があります,
3280
3281 \begin_inset Flex URL
3282 status open
3283
3284 \begin_layout Plain Layout
3285
3286 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
3287 \end_layout
3288
3289 \end_inset
3290
3291
3292 \end_layout
3293
3294 \end_inset
3295
3296 メニューラベルやウィジェットラベルのうちには,
3297 翻訳しなくてはならないショートカットがある場合があります.これらのキーは「|」の後に記されており,
3298 当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,
3299 新しい
3300 \begin_inset Flex Code
3301 status collapsed
3302
3303 \begin_layout Plain Layout
3304 po
3305 \end_layout
3306
3307 \end_inset
3308
3309 ファイルの冒頭に,
3310 あなたの電子メールアドレスなどの情報も書き加えて,
3311 人々があなたに提案や,
3312 滑稽な怒りのメッセージを届けることができるようにしてください.
3313 \end_layout
3314
3315 \begin_layout Standard
3316 もし,
3317 あなたがこれを自身のためだけに行っているのであれば,
3318
3319 \end_layout
3320
3321 \begin_layout Itemize
3322 \begin_inset Flex Code
3323 status collapsed
3324
3325 \begin_layout Plain Layout
3326 xx.mo
3327 \end_layout
3328
3329 \end_inset
3330
3331 を生成してください.これは
3332 \begin_inset Flex Code
3333 status collapsed
3334
3335 \begin_layout Plain Layout
3336 msgfmt -o xx.mo < xx.po
3337 \end_layout
3338
3339 \end_inset
3340
3341 でできます.
3342 \end_layout
3343
3344 \begin_layout Itemize
3345 この
3346 \begin_inset Flex Code
3347 status collapsed
3348
3349 \begin_layout Plain Layout
3350 mo
3351 \end_layout
3352
3353 \end_inset
3354
3355 ファイルを,
3356 お使いのロケールツリー中,
3357 言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3358
3359 \begin_inset Flex Code
3360 status collapsed
3361
3362 \begin_layout Plain Layout
3363 lyx.mo
3364 \end_layout
3365
3366 \end_inset
3367
3368 という名称にしてください(例:
3369
3370 \begin_inset Flex Code
3371 status collapsed
3372
3373 \begin_layout Plain Layout
3374 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3375 \end_layout
3376
3377 \end_inset
3378
3379 ).
3380 \end_layout
3381
3382 \begin_layout Standard
3383 しかしながら前述のように,
3384 この新しい
3385 \begin_inset Flex Code
3386 status collapsed
3387
3388 \begin_layout Plain Layout
3389 po
3390 \end_layout
3391
3392 \end_inset
3393
3394 ファイルを他の人たちが使用できるよう,
3395 \SpecialChar LyX
3396 頒布版に追加できることが最善です.これを追加するには,
3397 \SpecialChar LyX
3398 に変更を加える必要がありますので,
3399 もしその気があれば,
3400 開発者メーリングリストに電子メールを送ってください.
3401 \end_layout
3402
3403 \begin_layout Subsubsection
3404 多義訳語メッセージ
3405 \end_layout
3406
3407 \begin_layout Standard
3408 時には,
3409 一つの英語のメッセージが,
3410 翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3411
3412 \begin_inset Flex Code
3413 status collapsed
3414
3415 \begin_layout Plain Layout
3416 To
3417 \end_layout
3418
3419 \end_inset
3420
3421 というメッセージで,
3422 これは英語で「to」がどういう意味を持っているかによって,
3423 独語ではNachと訳されたりBisと訳されたりします.GNU 
3424 \begin_inset Flex Code
3425 status collapsed
3426
3427 \begin_layout Plain Layout
3428 gettext
3429 \end_layout
3430
3431 \end_inset
3432
3433 は,
3434 このような多義訳語を
3435 \begin_inset Flex Code
3436 status collapsed
3437
3438 \begin_layout Plain Layout
3439 To
3440 \end_layout
3441
3442 \end_inset
3443
3444 の代わりに,
3445
3446 \begin_inset Flex Code
3447 status collapsed
3448
3449 \begin_layout Plain Layout
3450 To[[as in 'From format x to format y']]
3451 \end_layout
3452
3453 \end_inset
3454
3455
3456 \begin_inset Flex Code
3457 status collapsed
3458
3459 \begin_layout Plain Layout
3460 To[[as in 'From page x to page y']]
3461 \end_layout
3462
3463 \end_inset
3464
3465 としなくてはなりません.これによって,
3466 これら2つの
3467 \begin_inset Flex Code
3468 status collapsed
3469
3470 \begin_layout Plain Layout
3471 To
3472 \end_layout
3473
3474 \end_inset
3475
3476 は,
3477
3478 \begin_inset Flex Code
3479 status collapsed
3480
3481 \begin_layout Plain Layout
3482 gettext
3483 \end_layout
3484
3485 \end_inset
3486
3487 には別物と解釈され,
3488 それぞれ正しくNachとBisに訳すことができるようになります.
3489 \end_layout
3490
3491 \begin_layout Standard
3492 もちろん,
3493 この文脈情報は,
3494 翻訳が存在しないときには取り去られる必要がありますので,
3495 メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3496 の翻訳機構では,
3497 メッセージの終わりに二重大括弧で囲われているものはすべて,
3498 メッセージを表示する前に取り去るようにされています.
3499 \end_layout
3500
3501 \begin_layout Subsection
3502 説明書を翻訳する
3503 \end_layout
3504
3505 \begin_layout Standard
3506
3507 \begin_inset Flex MenuItem
3508 status collapsed
3509
3510 \begin_layout Plain Layout
3511 Help
3512 \end_layout
3513
3514 \end_inset
3515
3516 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!
3517 ).説明書の翻訳版が利用可能であり
3518 \begin_inset Foot
3519 status collapsed
3520
3521 \begin_layout Plain Layout
3522 2008年3月現在,
3523 説明書の少なくとも一部が翻訳されている言語は14言語に上り,
3524 入門編が訳されているものはさらにいくつかあります.
3525 \end_layout
3526
3527 \end_inset
3528
3529
3530 ロケールがその言語に設定されている場合,
3531 \SpecialChar LyX
3532 はこれを自動的に使用します.\SpecialChar LyX
3533 は,
3534 翻訳版を
3535 \begin_inset Flex Code
3536 status collapsed
3537
3538 \begin_layout Plain Layout
3539 LyXDir/doc/xx/DocName.lyx
3540 \end_layout
3541
3542 \end_inset
3543
3544
3545 \begin_inset Flex Code
3546 status collapsed
3547
3548 \begin_layout Plain Layout
3549 xx
3550 \end_layout
3551
3552 \end_inset
3553
3554 は現在使用している言語コード)で探します.翻訳文書がない場合には,
3555 既定の英語版が表示されます.翻訳版は,
3556 原典と同じファイル名(上述の
3557 \begin_inset Flex Code
3558 status collapsed
3559
3560 \begin_layout Plain Layout
3561 DocName
3562 \end_layout
3563
3564 \end_inset
3565
3566 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!
3567 ),
3568 以下のような点をすぐに行うべきです.
3569 \end_layout
3570
3571 \begin_layout Itemize
3572 説明書翻訳ウェブページ
3573 \begin_inset CommandInset href
3574 LatexCommand href
3575 name "https://www.lyx.org/Translation"
3576 target "https://www.lyx.org/Translation"
3577 literal "false"
3578
3579 \end_inset
3580
3581 を確認してください.ここで,
3582 どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,
3583 説明書をお使いの言語に翻訳する作業の面倒を見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,
3584 私たちにあなたが興味をお持ちであることを知らせてください.
3585 \end_layout
3586
3587 \begin_layout Standard
3588 いったん実際の翻訳の仕事に取りかかったならば,
3589 トラブルを回避するいくつかのヒントがあります.
3590 \end_layout
3591
3592 \begin_layout Itemize
3593 文書化チームに所属してください!
3594 そのための情報が
3595 \begin_inset Flex Code
3596 status collapsed
3597
3598 \begin_layout Plain Layout
3599 Intro.lyx
3600 \end_layout
3601
3602 \end_inset
3603
3604
3605 \begin_inset Flex MenuItem
3606 status collapsed
3607
3608 \begin_layout Plain Layout
3609 ヘルプ\SpecialChar menuseparator
3610 はじめの一歩
3611 \end_layout
3612
3613 \end_inset
3614
3615 )にあります.また,
3616 この
3617 \begin_inset Flex Code
3618 status collapsed
3619
3620 \begin_layout Plain Layout
3621 Intro.lyx
3622 \end_layout
3623
3624 \end_inset
3625
3626 が最初に訳すべき文書です.
3627 \end_layout
3628
3629 \begin_layout Itemize
3630 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,
3631 何世紀にもわたって世界の至る所で,
3632 様々な慣行を発達させてきました.また,
3633 あなたの国で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3634 \emph on
3635 警告!
3636 活版技術は病みつきになる可能性があるので注意してくさい!
3637
3638 \emph default
3639
3640 \end_layout
3641
3642 \begin_layout Itemize
3643 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3644 \begin_inset Flex Code
3645 status collapsed
3646
3647 \begin_layout Plain Layout
3648 UserDir/doc/xx/
3649 \end_layout
3650
3651 \end_inset
3652
3653 ディレクトリにコピーすれば,
3654 個人用の翻訳ヘルプファイルとして使用することができます.
3655 \begin_inset Newline newline
3656 \end_inset
3657
3658
3659 \begin_inset Note Greyedout
3660 status open
3661
3662 \begin_layout Plain Layout
3663
3664 \series bold
3665 【註】
3666 \series default
3667 外部素材(画像など)のある複雑な文書の場合,
3668 例えば一時ディレクトリなどにコピーを作ると,
3669 文書を別の場所に移したとき,
3670 外部素材へのリンクは壊れてしまうかもしれないことに注意してください.最も良い方法は,
3671 LyXツリーをgit (
3672 \begin_inset Flex URL
3673 status collapsed
3674
3675 \begin_layout Plain Layout
3676
3677 https://www.lyx.org/HowToUseGIT
3678 \end_layout
3679
3680 \end_inset
3681
3682 参照)からとってきて,
3683 そのdocファイルを直接編集するのが良いでしょう.
3684 \end_layout
3685
3686 \end_inset
3687
3688
3689 \end_layout
3690
3691 \begin_layout Itemize
3692 (\SpecialChar LyX
3693 チームが維持している)原典の説明書は,
3694 時折更新されます.変更点については,
3695
3696 \begin_inset CommandInset href
3697 LatexCommand href
3698 name "https://www.lyx.org/trac/timeline"
3699 target "https://www.lyx.org/trac/timeline"
3700 literal "false"
3701
3702 \end_inset
3703
3704 のソースビューアでご覧ください.この方法で,
3705 翻訳文書のどの部分を更新しなくてはならないか,
3706 たやすく見つけることができます.
3707 \end_layout
3708
3709 \begin_layout Standard
3710 もし原典に誤りを見つけたならば,
3711 修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3712 \end_layout
3713
3714 \begin_layout Standard
3715 \begin_inset Branch OutDated
3716 inverted 0
3717 status collapsed
3718
3719 \begin_layout Section
3720 International Keyboard Support
3721 \end_layout
3722
3723 \begin_layout Standard
3724
3725 \emph on
3726 [Editor's Note:
3727  The following section is by
3728 \emph default
3729  
3730 \shape smallcaps
3731 \emph on
3732 Ivan Schreter
3733 \shape default
3734 .
3735  It needs to be fixed to conform to the new Documentation Style sheet and to make use of the new v1.0 features.
3736  The whole thing also needs to be merged with the section following it.-jw It may also be badly out of date.-rh (2008)]
3737 \end_layout
3738
3739 \begin_layout Subsection
3740 Defining Own Keymaps:
3741  Keymap File Format
3742 \end_layout
3743
3744 \begin_layout Standard
3745 Let's look at a keyboard definition file a little closer.
3746  It is a plain text file defining
3747 \end_layout
3748
3749 \begin_layout Itemize
3750 key-to-key or key-to-string translations
3751 \end_layout
3752
3753 \begin_layout Itemize
3754 dead keys
3755 \end_layout
3756
3757 \begin_layout Itemize
3758 dead keys exceptions
3759 \end_layout
3760
3761 \begin_layout Standard
3762 To define key-to-key or key-to-string translation,
3763  use this command:
3764 \end_layout
3765
3766 \begin_layout Quotation
3767 \begin_inset Flex Code
3768 status collapsed
3769
3770 \begin_layout Plain Layout
3771
3772 \backslash
3773 kmap
3774 \end_layout
3775
3776 \end_inset
3777
3778  
3779 \begin_inset Flex Code
3780 status collapsed
3781
3782 \begin_layout Plain Layout
3783 key
3784 \end_layout
3785
3786 \end_inset
3787
3788  outstring 
3789 \end_layout
3790
3791 \begin_layout Standard
3792 where 
3793 \begin_inset Flex Code
3794 status collapsed
3795
3796 \begin_layout Plain Layout
3797 key
3798 \end_layout
3799
3800 \end_inset
3801
3802  is the key to be translated and 
3803 \begin_inset Flex Code
3804 status collapsed
3805
3806 \begin_layout Plain Layout
3807 outstring
3808 \end_layout
3809
3810 \end_inset
3811
3812  is the string to be inserted into the document.
3813  To define dead keys,
3814  use:
3815 \end_layout
3816
3817 \begin_layout Quotation
3818 \begin_inset Flex Code
3819 status collapsed
3820
3821 \begin_layout Plain Layout
3822
3823 \backslash
3824 kmod
3825 \end_layout
3826
3827 \end_inset
3828
3829  
3830 \begin_inset Flex Code
3831 status collapsed
3832
3833 \begin_layout Plain Layout
3834 key
3835 \end_layout
3836
3837 \end_inset
3838
3839  deadkey
3840 \end_layout
3841
3842 \begin_layout Standard
3843 where 
3844 \begin_inset Flex Code
3845 status collapsed
3846
3847 \begin_layout Plain Layout
3848 key
3849 \end_layout
3850
3851 \end_inset
3852
3853  is a keyboard key and 
3854 \begin_inset Flex Code
3855 status collapsed
3856
3857 \begin_layout Plain Layout
3858 deadkey
3859 \end_layout
3860
3861 \end_inset
3862
3863  is dead key name.
3864  The following dead keys are supported (shortcut name is in parentheses):
3865 \end_layout
3866
3867 \begin_layout Quotation
3868
3869 \emph on
3870 Name
3871 \begin_inset space \hfill{}
3872 \end_inset
3873
3874 Example
3875 \end_layout
3876
3877 \begin_layout Quotation
3878 acute (acu)
3879 \begin_inset space \hfill{}
3880 \end_inset
3881
3882
3883 \lang english
3884 áéíóú
3885 \end_layout
3886
3887 \begin_layout Quotation
3888 grave (gra)
3889 \begin_inset space \hfill{}
3890 \end_inset
3891
3892
3893 \lang english
3894 àèìòù
3895 \end_layout
3896
3897 \begin_layout Quotation
3898 macron (mac)
3899 \begin_inset space \hfill{}
3900 \end_inset
3901
3902
3903 \lang english
3904  ō
3905 \end_layout
3906
3907 \begin_layout Quotation
3908 tilde (til)
3909 \begin_inset space \hfill{}
3910 \end_inset
3911
3912
3913 \lang english
3914 ñÑ
3915 \end_layout
3916
3917 \begin_layout Quotation
3918 underbar (underb)
3919 \begin_inset space \hfill{}
3920 \end_inset
3921
3922
3923 \begin_inset ERT
3924 status open
3925
3926 \begin_layout Plain Layout
3927
3928
3929 \backslash
3930 b o
3931 \end_layout
3932
3933 \end_inset
3934
3935
3936 \end_layout
3937
3938 \begin_layout Quotation
3939 cedilla (ced)
3940 \begin_inset space \hfill{}
3941 \end_inset
3942
3943
3944 \lang english
3945 çÇ
3946 \end_layout
3947
3948 \begin_layout Quotation
3949 underdot (underd)
3950 \begin_inset space \hfill{}
3951 \end_inset
3952
3953
3954 \begin_inset ERT
3955 status open
3956
3957 \begin_layout Plain Layout
3958
3959
3960 \backslash
3961 d o
3962 \end_layout
3963
3964 \end_inset
3965
3966
3967 \end_layout
3968
3969 \begin_layout Quotation
3970 circumflex (circu)
3971 \begin_inset space \hfill{}
3972 \end_inset
3973
3974
3975 \lang english
3976 âêîôû
3977 \end_layout
3978
3979 \begin_layout Quotation
3980 circle (circl)
3981 \begin_inset space \hfill{}
3982 \end_inset
3983
3984
3985 \lang english
3986 ÅůŮ
3987 \end_layout
3988
3989 \begin_layout Quotation
3990 tie (tie)
3991 \begin_inset space \hfill{}
3992 \end_inset
3993
3994
3995 \begin_inset ERT
3996 status open
3997
3998 \begin_layout Plain Layout
3999
4000
4001 \backslash
4002 t o
4003 \end_layout
4004
4005 \end_inset
4006
4007
4008 \end_layout
4009
4010 \begin_layout Quotation
4011 breve (bre)
4012 \begin_inset space \hfill{}
4013 \end_inset
4014
4015
4016 \lang english
4017 ă
4018 \lang japanese
4019
4020 \begin_inset ERT
4021 status open
4022
4023 \begin_layout Plain Layout
4024
4025
4026 \backslash
4027 u o
4028 \end_layout
4029
4030 \end_inset
4031
4032
4033 \end_layout
4034
4035 \begin_layout Quotation
4036 caron (car)
4037 \begin_inset space \hfill{}
4038 \end_inset
4039
4040
4041 \lang english
4042 čšž
4043 \end_layout
4044
4045 \begin_layout Quotation
4046 hungarian umlaut (hug)
4047 \begin_inset space \hfill{}
4048 \end_inset
4049
4050
4051 \lang english
4052 őű
4053 \end_layout
4054
4055 \begin_layout Quotation
4056 umlaut (uml)
4057 \begin_inset space \hfill{}
4058 \end_inset
4059
4060
4061 \lang english
4062 äöü
4063 \end_layout
4064
4065 \begin_layout Quotation
4066 dot (dot)
4067 \begin_inset space \hfill{}
4068 \end_inset
4069
4070
4071 \lang english
4072 ż
4073 \lang japanese
4074
4075 \begin_inset ERT
4076 status open
4077
4078 \begin_layout Plain Layout
4079
4080
4081 \backslash
4082 .s
4083 \end_layout
4084
4085 \end_inset
4086
4087
4088 \end_layout
4089
4090 \begin_layout Standard
4091 Since in many international keyboards there are exceptions to what some dead keys should do,
4092  you can define them using
4093 \end_layout
4094
4095 \begin_layout Quotation
4096 \begin_inset Flex Code
4097 status collapsed
4098
4099 \begin_layout Plain Layout
4100
4101 \backslash
4102 kxmod
4103 \end_layout
4104
4105 \end_inset
4106
4107  deadkey key outstring
4108 \end_layout
4109
4110 \begin_layout Standard
4111 For example,
4112  on Slovak keyboard,
4113  if you enter caron-o,
4114  it generates circumflex-o,
4115  so you put in
4116 \end_layout
4117
4118 \begin_layout Quotation
4119 \begin_inset Flex Code
4120 status collapsed
4121
4122 \begin_layout Plain Layout
4123
4124 \backslash
4125 kxmod
4126 \end_layout
4127
4128 \end_inset
4129
4130  caron o "
4131 \backslash
4132 ^o"
4133 \end_layout
4134
4135 \begin_layout Standard
4136 to make it work correctly.
4137  Also,
4138  you have to define as exceptions dead keys over i and j,
4139  to remove the dot from them before inserting an accent mark.
4140  I will change this when the time comes,
4141  but so far I haven't had time.
4142 \end_layout
4143
4144 \begin_layout Standard
4145 Oh,
4146  and about characters:
4147  backslash is escaped,
4148  so to enter it,
4149  you'll need double backslash.
4150  Also,
4151  quotes and 
4152 \begin_inset Flex Code
4153 status collapsed
4154
4155 \begin_layout Plain Layout
4156 #
4157 \end_layout
4158
4159 \end_inset
4160
4161  have different meaning.
4162  
4163 \begin_inset Flex Code
4164 status collapsed
4165
4166 \begin_layout Plain Layout
4167 #
4168 \end_layout
4169
4170 \end_inset
4171
4172  marks comments,
4173  quotes start and end \SpecialChar LaTeX
4174 -style commands.
4175  To enter quote,
4176  you'll need to use 
4177 \begin_inset Flex Code
4178 status collapsed
4179
4180 \begin_layout Plain Layout
4181
4182 \backslash
4183 "
4184 \end_layout
4185
4186 \end_inset
4187
4188 ,
4189  to enter 
4190 \begin_inset Flex Code
4191 status collapsed
4192
4193 \begin_layout Plain Layout
4194 #
4195 \end_layout
4196
4197 \end_inset
4198
4199 ,
4200  use 
4201 \begin_inset Flex Code
4202 status collapsed
4203
4204 \begin_layout Plain Layout
4205
4206 \backslash
4207 #
4208 \end_layout
4209
4210 \end_inset
4211
4212 .
4213 \end_layout
4214
4215 \begin_layout Standard
4216 If you make a keyboard description file that works for your language,
4217  please mail it to me,
4218  so I can include it in the next keymap distribution.
4219 \end_layout
4220
4221 \begin_layout Standard
4222 More keywords will be supported in keymap configuration file in future,
4223  like
4224 \end_layout
4225
4226 \begin_layout Itemize
4227 \begin_inset Flex Code
4228 status collapsed
4229
4230 \begin_layout Plain Layout
4231
4232 \backslash
4233 kinclude filename
4234 \end_layout
4235
4236 \end_inset
4237
4238
4239 \emph on
4240
4241 \begin_inset space \hfill{}
4242 \end_inset
4243
4244
4245 \begin_inset Flex Code
4246 status collapsed
4247
4248 \begin_layout Plain Layout
4249 include
4250 \end_layout
4251
4252 \end_inset
4253
4254  another file
4255 \end_layout
4256
4257 \begin_layout Itemize
4258 \begin_inset Flex Code
4259 status collapsed
4260
4261 \begin_layout Plain Layout
4262
4263 \backslash
4264 kprog program
4265 \end_layout
4266
4267 \end_inset
4268
4269
4270 \emph on
4271
4272 \begin_inset space \hfill{}
4273 \end_inset
4274
4275
4276 \begin_inset Flex Code
4277 status collapsed
4278
4279 \begin_layout Plain Layout
4280 define
4281 \end_layout
4282
4283 \end_inset
4284
4285  an external keymap translation program 
4286 \end_layout
4287
4288 \begin_layout Standard
4289 Also,
4290  it should look into 
4291 \begin_inset Flex Code
4292 status collapsed
4293
4294 \begin_layout Plain Layout
4295 lyxrc
4296 \end_layout
4297
4298 \end_inset
4299
4300  file for defaults,
4301  too (for example,
4302  a 
4303 \begin_inset Flex Code
4304 status collapsed
4305
4306 \begin_layout Plain Layout
4307
4308 \backslash
4309 kinclude
4310 \end_layout
4311
4312 \end_inset
4313
4314  option to include default keyboard).
4315 \end_layout
4316
4317 \end_inset
4318
4319
4320 \end_layout
4321
4322 \begin_layout Section
4323 国際キー配列
4324 \begin_inset CommandInset label
4325 LatexCommand label
4326 name "sec:国際キー配列"
4327
4328 \end_inset
4329
4330
4331 \end_layout
4332
4333 \begin_layout Standard
4334 \begin_inset Note Note
4335 status open
4336
4337 \begin_layout Plain Layout
4338 2008年3月にこの文書を改訂するに当たって,
4339 改訂者が本節の内容に詳しくなかったために,
4340 本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
4341 \end_layout
4342
4343 \begin_layout Plain Layout
4344 (RH)
4345 \end_layout
4346
4347 \end_inset
4348
4349
4350 \end_layout
4351
4352 \begin_layout Standard
4353 以下の2節では,
4354
4355 \begin_inset Flex Code
4356 status collapsed
4357
4358 \begin_layout Plain Layout
4359 .kmap
4360 \end_layout
4361
4362 \end_inset
4363
4364 および
4365 \begin_inset Flex Code
4366 status collapsed
4367
4368 \begin_layout Plain Layout
4369 .cdef
4370 \end_layout
4371
4372 \end_inset
4373
4374 ファイルの文法を詳細に解説します.これらの節は,
4375 提供されているキー配列があなたのニーズに合わない場合に,
4376 自身用のキー配列をデザインする手助けとなるでしょう.
4377 \end_layout
4378
4379 \begin_layout Subsection
4380 .kmapファイル
4381 \end_layout
4382
4383 \begin_layout Standard
4384 \begin_inset Flex Code
4385 status collapsed
4386
4387 \begin_layout Plain Layout
4388 .kmap
4389 \end_layout
4390
4391 \end_inset
4392
4393 ファイルは,
4394 打鍵したものを文字や文字列に割り当てます.名前が示唆するように,
4395 これはキーボード配列表を定義します.
4396 \begin_inset Flex Code
4397 status collapsed
4398
4399 \begin_layout Plain Layout
4400 .kmap
4401 \end_layout
4402
4403 \end_inset
4404
4405 ファイルは,
4406 以下の各項で説明するように,
4407
4408 \begin_inset Flex Code
4409 status collapsed
4410
4411 \begin_layout Plain Layout
4412 kmap
4413 \end_layout
4414
4415 \end_inset
4416
4417
4418 \begin_inset Flex Code
4419 status collapsed
4420
4421 \begin_layout Plain Layout
4422 kmod
4423 \end_layout
4424
4425 \end_inset
4426
4427
4428 \begin_inset Flex Code
4429 status collapsed
4430
4431 \begin_layout Plain Layout
4432 ksmod
4433 \end_layout
4434
4435 \end_inset
4436
4437
4438 \begin_inset Flex Code
4439 status collapsed
4440
4441 \begin_layout Plain Layout
4442 kcomb
4443 \end_layout
4444
4445 \end_inset
4446
4447 のキーワードを定義します.
4448 \end_layout
4449
4450 \begin_layout Labeling
4451 \labelwidthstring 00.00.0000
4452 \begin_inset Flex Code
4453 status collapsed
4454
4455 \begin_layout Plain Layout
4456 kmap
4457 \end_layout
4458
4459 \end_inset
4460
4461  文字を文字列に割り当てる
4462 \end_layout
4463
4464 \begin_layout LyX-Code
4465
4466 \backslash
4467 kmap 
4468 \family roman
4469 \emph on
4470 文字
4471 \family default
4472 \emph default
4473  
4474 \family roman
4475 \emph on
4476 文字列
4477 \end_layout
4478
4479 \begin_layout Standard
4480 これは,
4481
4482 \emph on
4483 文字
4484 \emph default
4485
4486 \emph on
4487 文字列
4488 \emph default
4489 に割り当てます.
4490 \emph on
4491 文字列
4492 \emph default
4493 中では,
4494 二重引用符(")とバックスラッシュ(
4495 \backslash
4496 )は,
4497 前にバックスラッシュ(
4498 \backslash
4499 )を付けてエスケープしなくてはならないことに注意してください.
4500 \end_layout
4501
4502 \begin_layout Standard
4503 \begin_inset Flex MenuItem
4504 status collapsed
4505
4506 \begin_layout Plain Layout
4507 &
4508 \end_layout
4509
4510 \end_inset
4511
4512 を打鍵すると
4513 \begin_inset Flex MenuItem
4514 status collapsed
4515
4516 \begin_layout Plain Layout
4517 /
4518 \end_layout
4519
4520 \end_inset
4521
4522 記号が出力される
4523 \begin_inset Flex MenuItem
4524 status collapsed
4525
4526 \begin_layout Plain Layout
4527 kmap
4528 \end_layout
4529
4530 \end_inset
4531
4532 ステートメントを,
4533 一例としてあげると,
4534
4535 \end_layout
4536
4537 \begin_layout LyX-Code
4538
4539 \backslash
4540 kmap & /
4541 \end_layout
4542
4543 \begin_layout Standard
4544 のようになります.
4545 \end_layout
4546
4547 \begin_layout Labeling
4548 \labelwidthstring 00.00.0000
4549 \begin_inset Flex Code
4550 status collapsed
4551
4552 \begin_layout Plain Layout
4553 kmod
4554 \end_layout
4555
4556 \end_inset
4557
4558  アクセント文字を指定する
4559 \end_layout
4560
4561 \begin_layout LyX-Code
4562
4563 \backslash
4564 kmod 
4565 \family roman
4566 \emph on
4567 文字 アクセント 許可文字
4568 \end_layout
4569
4570 \begin_layout Standard
4571 これは
4572 \emph on
4573 文字
4574 \emph default
4575
4576 \emph on
4577 許可文字
4578 \emph default
4579 のアクセントとするものです.これはデッドキー
4580 \begin_inset Foot
4581 status collapsed
4582
4583 \begin_layout Plain Layout
4584
4585 \emph on
4586 デッドキー
4587 \emph default
4588 という用語は,
4589 それ自身で文字を出力しないけれども,
4590 別のキーを続けて打つと,
4591 望んだアクセント文字を出力するキーのことを指し示します.たとえば,
4592 独語で
4593 \emph on
4594 ä
4595 \emph default
4596 のようなウムラウトのついた文字は,
4597 このようにして出すことができます.
4598 \end_layout
4599
4600 \end_inset
4601
4602 機構です.
4603 \end_layout
4604
4605 \begin_layout Standard
4606
4607 \emph on
4608 文字
4609 \emph default
4610 を打鍵してから
4611 \emph on
4612 許可文字
4613 \emph default
4614 にないキーを打鍵すると,
4615
4616 \emph on
4617 文字
4618 \emph default
4619 の後に許可文字ではないその文字が出力として表示されます.
4620 \begin_inset Flex MenuItem
4621 status collapsed
4622
4623 \begin_layout Plain Layout
4624 Backspace
4625 \end_layout
4626
4627 \end_inset
4628
4629 はデッドキーを取り消しますので,
4630
4631 \emph on
4632 文字
4633 \emph default
4634
4635 \begin_inset Flex MenuItem
4636 status collapsed
4637
4638 \begin_layout Plain Layout
4639 Backspace
4640 \end_layout
4641
4642 \end_inset
4643
4644 と打鍵すると,
4645 カーソルは一文字戻ることなく,
4646 文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4647 \end_layout
4648
4649 \begin_layout Standard
4650 以下の例は,
4651 '文字をacuteアクセントとして,
4652 a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4653 \end_layout
4654
4655 \begin_layout LyX-Code
4656
4657 \backslash
4658 kmod ' acute aeiouAEIOU
4659 \end_layout
4660
4661 \begin_layout Labeling
4662 \labelwidthstring 00.00.0000
4663 \begin_inset Flex Code
4664 status collapsed
4665
4666 \begin_layout Plain Layout
4667 ksmod
4668 \end_layout
4669
4670 \end_inset
4671
4672  アクセント文字に例外を指定する
4673 \end_layout
4674
4675 \begin_layout LyX-Code
4676
4677 \backslash
4678 kxmod  
4679 \family roman
4680 \emph on
4681 アクセント 文字 結果
4682 \end_layout
4683
4684 \begin_layout Standard
4685 これは
4686 \emph on
4687 文字
4688 \emph default
4689 上の
4690 \emph on
4691 アクセント
4692 \emph default
4693 について例外を指定するものです.ここで
4694 \emph on
4695 アクセント
4696 \emph default
4697 には,
4698 前出の
4699 \begin_inset Flex Code
4700 status collapsed
4701
4702 \begin_layout Plain Layout
4703
4704 \backslash
4705 kmod
4706 \end_layout
4707
4708 \end_inset
4709
4710 宣言で打鍵キーを既に割り当てられてなくてはならず,
4711
4712 \emph on
4713 文字
4714 \emph default
4715
4716 \emph on
4717 アクセント
4718 \emph default
4719
4720 \emph on
4721 許可文字
4722 \emph default
4723 の集合に属していてはなりません.こうして
4724 \emph on
4725 アクセント
4726 \emph default
4727
4728 \emph on
4729 文字
4730 \emph default
4731 の順に入力すると,
4732
4733 \emph on
4734 結果
4735 \emph default
4736 が出力されるようになります.
4737 \begin_inset Flex Code
4738 status collapsed
4739
4740 \begin_layout Plain Layout
4741 .kmap
4742 \end_layout
4743
4744 \end_inset
4745
4746 ファイルにこの宣言がない場合には,
4747
4748 \emph on
4749 アクセント
4750 \emph default
4751
4752 \emph on
4753 文字
4754 \emph default
4755 と入力すると,
4756
4757 \emph on
4758 アクセントキー
4759 \emph default
4760
4761 \emph on
4762 文字
4763 \emph default
4764
4765 \emph on
4766 アクセントキー
4767 \emph default
4768
4769 \begin_inset Flex Code
4770 status collapsed
4771
4772 \begin_layout Plain Layout
4773
4774 \backslash
4775 kmod
4776 \end_layout
4777
4778 \end_inset
4779
4780 宣言の最初の変数)と出力されます.
4781 \end_layout
4782
4783 \begin_layout Standard
4784 以下のコマンドを用いると,
4785 acute-i('i)と入力した場合,
4786 äiと出力されるようになります.
4787 \end_layout
4788
4789 \begin_layout LyX-Code
4790
4791 \backslash
4792 kxmod acute i "
4793 \backslash
4794
4795 \backslash
4796 '{
4797 \backslash
4798
4799 \backslash
4800 i}"
4801 \end_layout
4802
4803 \begin_layout Labeling
4804 \labelwidthstring 00.00.0000
4805 \begin_inset Flex Code
4806 status collapsed
4807
4808 \begin_layout Plain Layout
4809 kcomb
4810 \end_layout
4811
4812 \end_inset
4813
4814  2つのアクセント文字を結合する
4815 \end_layout
4816
4817 \begin_layout LyX-Code
4818
4819 \backslash
4820 kcomb 
4821 \family roman
4822 \emph on
4823 アクセント1 アクセント2 許可文字
4824 \end_layout
4825
4826 \begin_layout Standard
4827 これはなかなか難解になってきます.これは
4828 \emph on
4829 アクセント1
4830 \emph default
4831
4832 \emph on
4833 アクセント2
4834 \emph default
4835 を(この順番で)結びつけて,
4836
4837 \emph on
4838 許可文字
4839 \emph default
4840 に効果を及ぼすようにします.
4841 \emph on
4842 アクセント1
4843 \emph default
4844
4845 \emph on
4846 アクセント2
4847 \emph default
4848 の打鍵キーは,
4849 ファイル内のこのコマンド
4850 \emph on
4851 よりも前に
4852 \emph default
4853
4854
4855 \begin_inset Flex Code
4856 status collapsed
4857
4858 \begin_layout Plain Layout
4859
4860 \backslash
4861 kmod
4862 \end_layout
4863
4864 \end_inset
4865
4866 コマンドで設定されていなくてはなりません.
4867 \end_layout
4868
4869 \begin_layout Standard
4870 \begin_inset Flex Code
4871 status collapsed
4872
4873 \begin_layout Plain Layout
4874 greek.kmap
4875 \end_layout
4876
4877 \end_inset
4878
4879 ファイル上にある例をとってみましょう.
4880 \end_layout
4881
4882 \begin_layout LyX-Code
4883
4884 \backslash
4885 kmod ;
4886  acute aeioyvhAEIOYVH 
4887 \backslash
4888 kmod :
4889  umlaut iyIY 
4890 \backslash
4891 kcomb acute umlaut iyIY
4892 \end_layout
4893
4894 \begin_layout Standard
4895 これは
4896 \begin_inset Flex MenuItem
4897 status collapsed
4898
4899 \begin_layout Plain Layout
4900 ;:i
4901 \end_layout
4902
4903 \end_inset
4904
4905 を押すと
4906 \begin_inset Flex Code
4907 status collapsed
4908
4909 \begin_layout Plain Layout
4910
4911 \backslash
4912 '{
4913 \backslash
4914 "{i}}
4915 \end_layout
4916
4917 \end_inset
4918
4919 という効果を得るようにするものです.この場合のバックスペースは,
4920 最後のデッドキーを取り消すので,
4921
4922 \begin_inset Flex MenuItem
4923 status collapsed
4924
4925 \begin_layout Plain Layout
4926 ;:
4927  Backspace i
4928 \end_layout
4929
4930 \end_inset
4931
4932 と押した場合には,
4933
4934 \begin_inset Flex Code
4935 status collapsed
4936
4937 \begin_layout Plain Layout
4938
4939 \backslash
4940 '{i}
4941 \end_layout
4942
4943 \end_inset
4944
4945 となります.
4946 \end_layout
4947
4948 \begin_layout Subsection
4949 .cdefファイル
4950 \end_layout
4951
4952 \begin_layout Standard
4953 \begin_inset Flex Code
4954 status collapsed
4955
4956 \begin_layout Plain Layout
4957 .kmap
4958 \end_layout
4959
4960 \end_inset
4961
4962 による割り当てが行われた後,
4963
4964 \begin_inset Flex Code
4965 status collapsed
4966
4967 \begin_layout Plain Layout
4968 .cdef
4969 \end_layout
4970
4971 \end_inset
4972
4973 ファイルは,
4974 記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
4975 頒布版には,
4976 現在のところ,
4977 少なくとも
4978 \begin_inset Flex Code
4979 status collapsed
4980
4981 \begin_layout Plain Layout
4982 iso8859-1.cdef
4983 \end_layout
4984
4985 \end_inset
4986
4987 ファイルと
4988 \begin_inset Flex Code
4989 status collapsed
4990
4991 \begin_layout Plain Layout
4992 iso8859-2.cdef
4993 \end_layout
4994
4995 \end_inset
4996
4997 ファイルが含まれています.
4998 \end_layout
4999
5000 \begin_layout Standard
5001 一般的に
5002 \begin_inset Flex Code
5003 status collapsed
5004
5005 \begin_layout Plain Layout
5006 .cdef
5007 \end_layout
5008
5009 \end_inset
5010
5011 ファイルは,
5012
5013 \end_layout
5014
5015 \begin_layout LyX-Code
5016
5017 \family roman
5018 \emph on
5019 セット中の文字番号
5020 \family default
5021 \emph default
5022  
5023 \family roman
5024 \emph on
5025  文字列
5026 \end_layout
5027
5028 \begin_layout Standard
5029 という形の宣言の羅列です.たとえば,
5030
5031 \begin_inset Flex MenuItem
5032 status collapsed
5033
5034 \begin_layout Plain Layout
5035
5036 \backslash
5037 '{e}
5038 \end_layout
5039
5040 \end_inset
5041
5042 をiso-8859-1セットの対応する文字(233)に割り当てるには,
5043 以下の宣言を用います.
5044 \end_layout
5045
5046 \begin_layout LyX-Code
5047 233 "
5048 \backslash
5049
5050 \backslash
5051 '{e}"
5052 \end_layout
5053
5054 \begin_layout Standard
5055 ここで,
5056
5057 \emph on
5058 文字列
5059 \emph default
5060 中の
5061 \begin_inset Flex Code
5062 status collapsed
5063
5064 \begin_layout Plain Layout
5065
5066 \backslash
5067
5068 \end_layout
5069
5070 \end_inset
5071
5072
5073 \begin_inset Flex Code
5074 status collapsed
5075
5076 \begin_layout Plain Layout
5077 "
5078 \end_layout
5079
5080 \end_inset
5081
5082 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
5083 \begin_inset Flex Code
5084 status collapsed
5085
5086 \begin_layout Plain Layout
5087 iso-8859-7.cdef
5088 \end_layout
5089
5090 \end_inset
5091
5092 ファイルには,
5093
5094 \end_layout
5095
5096 \begin_layout LyX-Code
5097 192 "
5098 \backslash
5099
5100 \backslash
5101 '{
5102 \backslash
5103
5104 \backslash
5105
5106 \backslash
5107 "{i}}"
5108 \begin_inset Newline newline
5109 \end_inset
5110
5111 192 "
5112 \backslash
5113
5114 \backslash
5115
5116 \backslash
5117 "{
5118 \backslash
5119
5120 \backslash
5121 '{i}}"
5122 \end_layout
5123
5124 \begin_layout Standard
5125 という例があります.\SpecialChar LyX
5126 は,
5127 キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,
5128 それがアクセント付き文字のように解釈ができないかどうかチェックして,
5129 画面上の文字にアクセントを引くことを試みます.
5130 \end_layout
5131
5132 \begin_layout Subsection
5133 デッドキー
5134 \end_layout
5135
5136 \begin_layout Standard
5137 国際文字のサポートを追加する第2の方法として,
5138 いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,
5139 アクセント付き文字を生成します.ここではその機能を説明するために,
5140 きわめて単純なデッドキーの作り方を説明します.
5141 \end_layout
5142
5143 \begin_layout Standard
5144 仮に,
5145 曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,
5146 自身の
5147 \begin_inset Flex Code
5148 status collapsed
5149
5150 \begin_layout Plain Layout
5151 lyxrc
5152 \end_layout
5153
5154 \end_inset
5155
5156 ファイル中で,
5157
5158 \begin_inset Flex MenuItem
5159 status collapsed
5160
5161 \begin_layout Plain Layout
5162 ^
5163 \end_layout
5164
5165 \end_inset
5166
5167 キー(すなわち
5168 \begin_inset Flex MenuItem
5169 status collapsed
5170
5171 \begin_layout Plain Layout
5172 Shift-6
5173 \end_layout
5174
5175 \end_inset
5176
5177 キー)を,
5178 \SpecialChar LyX
5179 コマンドの
5180 \begin_inset Flex Code
5181 status collapsed
5182
5183 \begin_layout Plain Layout
5184 accent-circumflex
5185 \end_layout
5186
5187 \end_inset
5188
5189 に結びつけることができます.すると
5190 \begin_inset Flex MenuItem
5191 status collapsed
5192
5193 \begin_layout Plain Layout
5194 ^
5195 \end_layout
5196
5197 \end_inset
5198
5199 キーの後に文字を打ったときはいつでも,
5200 この文字上に曲折アクセントが付けられるようになります.たとえば「
5201 \begin_inset Flex MenuItem
5202 status collapsed
5203
5204 \begin_layout Plain Layout
5205 ^e
5206 \end_layout
5207
5208 \end_inset
5209
5210 」という打鍵順は「ê」という文字を生成します.しかしながら,
5211 もし「
5212 \begin_inset Flex MenuItem
5213 status collapsed
5214
5215 \begin_layout Plain Layout
5216 ^t
5217 \end_layout
5218
5219 \end_inset
5220
5221 」と打鍵したならば,
5222
5223 \begin_inset Flex MenuItem
5224 status collapsed
5225
5226 \begin_layout Plain Layout
5227 t
5228 \end_layout
5229
5230 \end_inset
5231
5232 」は曲折アクセントをとることは決してないために,
5233 \SpecialChar LyX
5234 はビープを鳴らして文句を付けます.デッドキーの後に
5235 \begin_inset Flex MenuItem
5236 status collapsed
5237
5238 \begin_layout Plain Layout
5239 スペース
5240 \end_layout
5241
5242 \end_inset
5243
5244 を打つと,
5245 アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,
5246 このキー上の文字を別のキーに割り当て直す必要があります.たとえば,
5247
5248 \begin_inset Flex MenuItem
5249 status collapsed
5250
5251 \begin_layout Plain Layout
5252 ,キー
5253 \end_layout
5254
5255 \end_inset
5256
5257 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
5258 \end_layout
5259
5260 \begin_layout Standard
5261 デッドキーを割り当てるのによく用いられる方法は,
5262
5263 \begin_inset Flex MenuItem
5264 status collapsed
5265
5266 \begin_layout Plain Layout
5267 Meta-
5268 \end_layout
5269
5270 \end_inset
5271
5272
5273 \begin_inset Flex MenuItem
5274 status collapsed
5275
5276 \begin_layout Plain Layout
5277 Ctrl-
5278 \end_layout
5279
5280 \end_inset
5281
5282
5283 \begin_inset Flex MenuItem
5284 status collapsed
5285
5286 \begin_layout Plain Layout
5287 Shift-
5288 \end_layout
5289
5290 \end_inset
5291
5292 キーを,
5293
5294 \begin_inset Flex MenuItem
5295 status collapsed
5296
5297 \begin_layout Plain Layout
5298 ~
5299 \end_layout
5300
5301 \end_inset
5302
5303 」・「
5304 \begin_inset Flex MenuItem
5305 status collapsed
5306
5307 \begin_layout Plain Layout
5308 ,
5309 \end_layout
5310
5311 \end_inset
5312
5313 」・「
5314 \begin_inset Flex MenuItem
5315 status collapsed
5316
5317 \begin_layout Plain Layout
5318 ^
5319 \end_layout
5320
5321 \end_inset
5322
5323 」のようなアクセントと一緒に用いる方法です.また,
5324
5325 \begin_inset Flex Code
5326 status collapsed
5327
5328 \begin_layout Plain Layout
5329 xmodmap
5330 \end_layout
5331
5332 \end_inset
5333
5334
5335 \begin_inset Flex Code
5336 status collapsed
5337
5338 \begin_layout Plain Layout
5339 xkeycaps
5340 \end_layout
5341
5342 \end_inset
5343
5344 を使って,
5345 特別な
5346 \begin_inset Flex Code
5347 status collapsed
5348
5349 \begin_layout Plain Layout
5350 Mode_Switch
5351 \end_layout
5352
5353 \end_inset
5354
5355 キーを設定する方法もあります.
5356 \begin_inset Flex Code
5357 status collapsed
5358
5359 \begin_layout Plain Layout
5360 Mode_Switch
5361 \end_layout
5362
5363 \end_inset
5364
5365 キーは,
5366 ちょうど
5367 \begin_inset Flex MenuItem
5368 status collapsed
5369
5370 \begin_layout Plain Layout
5371 Shift
5372 \end_layout
5373
5374 \end_inset
5375
5376 キーのように機能するので,
5377 アクセント文字を割り当てるのに使用できます.また,
5378 特定のキーを
5379 \begin_inset Flex Code
5380 status collapsed
5381
5382 \begin_layout Plain Layout
5383 usldead_cedilla
5384 \end_layout
5385
5386 \end_inset
5387
5388 などに割り当てることで,
5389 これらのキーをデッドキーに仕立て,
5390 このシンボリックキーを対応する\SpecialChar LyX
5391 コマンドに割り当てることもできます
5392 \begin_inset Foot
5393 status collapsed
5394
5395 \begin_layout Plain Layout
5396
5397 \noun on
5398 John Weiss
5399 \noun default
5400 からの註:
5401 これはまさに私が,
5402 自分の
5403 \begin_inset Flex Code
5404 status collapsed
5405
5406 \begin_layout Plain Layout
5407 ~/.lyx/lyxrc
5408 \end_layout
5409
5410 \end_inset
5411
5412
5413 \begin_inset Flex Code
5414 status collapsed
5415
5416 \begin_layout Plain Layout
5417 ~/.xmodmap
5418 \end_layout
5419
5420 \end_inset
5421
5422 で行っていることです.私は,
5423
5424 \begin_inset Flex MenuItem
5425 status collapsed
5426
5427 \begin_layout Plain Layout
5428 Scroll
5429 \begin_inset space ~
5430 \end_inset
5431
5432 Lock
5433 \end_layout
5434
5435 \end_inset
5436
5437 キーを
5438 \begin_inset Flex Code
5439 status collapsed
5440
5441 \begin_layout Plain Layout
5442 Mode_Shift
5443 \end_layout
5444
5445 \end_inset
5446
5447 に仕立てて,
5448 多数の
5449 \begin_inset Flex Code
5450 status collapsed
5451
5452 \begin_layout Plain Layout
5453 usldead_*
5454 \end_layout
5455
5456 \end_inset
5457
5458 シンボリックキーを
5459 \begin_inset Flex MenuItem
5460 status collapsed
5461
5462 \begin_layout Plain Layout
5463 Scroll
5464 \begin_inset space ~
5465 \end_inset
5466
5467 Lock-^
5468 \end_layout
5469
5470 \end_inset
5471
5472
5473 \begin_inset Flex MenuItem
5474 status collapsed
5475
5476 \begin_layout Plain Layout
5477 Scroll
5478 \begin_inset space ~
5479 \end_inset
5480
5481 Lock-~
5482 \end_layout
5483
5484 \end_inset
5485
5486 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5487 \end_layout
5488
5489 \end_inset
5490
5491 .この
5492 \begin_inset Flex Code
5493 status collapsed
5494
5495 \begin_layout Plain Layout
5496 Mode_Switch
5497 \end_layout
5498
5499 \end_inset
5500
5501 キーには,
5502
5503 \begin_inset Flex MenuItem
5504 status collapsed
5505
5506 \begin_layout Plain Layout
5507 Ctrl-
5508 \end_layout
5509
5510 \end_inset
5511
5512 キーの片方や使われていないファンクションキーなど,
5513 ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5514 コマンドについては,
5515
5516 \emph on
5517 \SpecialChar LyX
5518 関数説明書
5519 \emph default
5520
5521 \begin_inset Flex Code
5522 status collapsed
5523
5524 \begin_layout Plain Layout
5525 LFUN_ACCENT_*
5526 \end_layout
5527
5528 \end_inset
5529
5530 の項をご覧ください.ここには完備した一覧があります.
5531 \end_layout
5532
5533 \begin_layout Subsection
5534 自分の言語設定を保存する
5535 \end_layout
5536
5537 \begin_layout Standard
5538 \begin_inset Flex MenuItem
5539 status collapsed
5540
5541 \begin_layout Plain Layout
5542 ツール\SpecialChar menuseparator
5543 設定
5544 \end_layout
5545
5546 \end_inset
5547
5548 ダイアログを使えば,
5549 \SpecialChar LyX
5550 を起動したときに,
5551 ご希望の言語環境に自動的に設定されるように,
5552 設定を編集することができます.
5553 \end_layout
5554
5555 \begin_layout Chapter
5556 文書クラス・レイアウト・ひな型の作成と新規導入
5557 \begin_inset CommandInset label
5558 LatexCommand label
5559 name "cha:新規文書を導入"
5560
5561 \end_inset
5562
5563
5564 \begin_inset Argument 1
5565 status collapsed
5566
5567 \begin_layout Plain Layout
5568 文書クラスを新規に導入する
5569 \end_layout
5570
5571 \end_inset
5572
5573
5574 \end_layout
5575
5576 \begin_layout Standard
5577 この章では,
5578 新しく\SpecialChar LyX
5579 のレイアウトファイルやひな型ファイルを作成して,
5580 導入する手順を説明すると共に,
5581 新規に\SpecialChar LaTeX
5582 文書クラス(ドキュメントクラス)を正しく導入する方法を復習します.
5583 \end_layout
5584
5585 \begin_layout Standard
5586 まず,
5587 \SpecialChar LyX
5588 と\SpecialChar LaTeX
5589 の間の関係をどのように考えるべきか,
5590 若干の註釈を加えておくことにしましょう.理解していただきたいことは,
5591 ある意味において,
5592 \SpecialChar LyX
5593 は,
5594 La\SpecialChar TeX
5595 について何も知らないと云うことです.実際のところ,
5596 \SpecialChar LyX
5597 の観点からは,
5598 \SpecialChar LaTeX
5599 は,
5600 \SpecialChar LyX
5601 が出力を生成することができる,
5602 複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形式には,
5603 DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5604 は,
5605 とくに重要な形式ですが,
5606 \SpecialChar LyX
5607 がLa\SpecialChar TeX
5608 について持っている情報のほとんどは,
5609 実はプログラム本体には含まれていないのです
5610 \begin_inset Foot
5611 status collapsed
5612
5613 \begin_layout Plain Layout
5614 過度に複雑なため,
5615 \SpecialChar LyX
5616 に「ハードコード化」されているコマンドもありますが,
5617 一般的に開発者は,
5618 これを「わるいこと」とみなしています.
5619 \end_layout
5620
5621 \end_inset
5622
5623 .このような情報は,
5624
5625 \begin_inset Flex Code
5626 status collapsed
5627
5628 \begin_layout Plain Layout
5629 article.cls
5630 \end_layout
5631
5632 \end_inset
5633
5634 のような標準クラスでも,
5635 「レイアウトファイル」に保管されています.同様に,
5636 \SpecialChar LyX
5637 は,
5638 DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5639 が知っていることは,
5640 レイアウトファイルの中にあります.
5641 \end_layout
5642
5643 \begin_layout Standard
5644 文書クラス用のレイアウトファイルは,
5645 \SpecialChar LyX
5646 構成体—
5647 対応する様式や何らかの差込枠などを有する段落群—
5648 と,
5649 それに対応する\SpecialChar LaTeX
5650 構成体・DocBook構成体・XHTML構成体との間の翻訳指南書のようなものです.たとえば,
5651 \SpecialChar LyX
5652
5653 \begin_inset Flex Code
5654 status collapsed
5655
5656 \begin_layout Plain Layout
5657 article.cls
5658 \end_layout
5659
5660 \end_inset
5661
5662 について知っていることのほとんど総ては,
5663
5664 \begin_inset Flex Code
5665 status collapsed
5666
5667 \begin_layout Plain Layout
5668 article.layout
5669 \end_layout
5670
5671 \end_inset
5672
5673 と,
5674 それが呼び出す他の様々なファイルに書き込まれています.このことから,
5675 レイアウトファイルを書こうとする人は,
5676 既存のファイルを研究することを勧めます.とっかかりとしては,
5677
5678 \begin_inset Flex Code
5679 status collapsed
5680
5681 \begin_layout Plain Layout
5682 article.layout
5683 \end_layout
5684
5685 \end_inset
5686
5687
5688 \begin_inset Flex Code
5689 status collapsed
5690
5691 \begin_layout Plain Layout
5692 book.layout
5693 \end_layout
5694
5695 \end_inset
5696
5697 や,
5698 文書クラス用の他のレイアウトファイルに取り込まれている
5699 \begin_inset Flex Code
5700 status collapsed
5701
5702 \begin_layout Plain Layout
5703 stdsections.inc
5704 \end_layout
5705
5706 \end_inset
5707
5708 から見始めるのがよいでしょう.このファイルは,
5709 節などの定義が為されている場所です.
5710 \begin_inset Flex Code
5711 status collapsed
5712
5713 \begin_layout Plain Layout
5714 stdsections.inc
5715 \end_layout
5716
5717 \end_inset
5718
5719 は,
5720 節様式や小節様式などとしてマークされている段落を,
5721 対応する\SpecialChar LaTeX
5722 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5723 に知らせるものです.基本的に
5724 \begin_inset Flex Code
5725 status collapsed
5726
5727 \begin_layout Plain Layout
5728 article.layout
5729 \end_layout
5730
5731 \end_inset
5732
5733 ファイルは,
5734 これらの
5735 \begin_inset Flex Code
5736 status collapsed
5737
5738 \begin_layout Plain Layout
5739 std*.inc
5740 \end_layout
5741
5742 \end_inset
5743
5744 ファイルを取り込んでいるだけのものです.
5745 \end_layout
5746
5747 \begin_layout Standard
5748 しかしながら,
5749 \SpecialChar LyX
5750 –\SpecialChar LaTeX
5751 間の対応を定義するだけが,
5752 レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,
5753 \SpecialChar LyX
5754 構成体自身が画面上にどのように表示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,
5755 レイアウトファイルが2つの仕事を行うという事実は,
5756 しばしば混乱を引き起こす元となります.ある段落様式を\SpecialChar LaTeX
5757 に翻訳する仕方を\SpecialChar LyX
5758 に指示することは,
5759 その表示の仕方を\SpecialChar LyX
5760 に指示するものではありません.逆に,
5761 ある段落様式の表示の仕方を\SpecialChar LyX
5762 に指示することは,
5763 その段落様式をどのように\SpecialChar LaTeX
5764 に翻訳するかを\SpecialChar LyX
5765 に指示するものではありません(ましてや\SpecialChar LaTeX
5766 に表示の仕方を指示するものではありません).つまり,
5767 一般的に,
5768 新しい\SpecialChar LyX
5769 構成体を定義する際には,
5770 (i)
5771 \begin_inset space ~
5772 \end_inset
5773
5774 \SpecialChar LaTeX
5775 にどのように翻訳するかを\SpecialChar LyX
5776 に指示する,
5777 (ii)
5778 \begin_inset space ~
5779 \end_inset
5780
5781 それをどのように表示するかを\SpecialChar LyX
5782 に指示する,
5783 という,
5784 二つのかなり異なることを行わなくてはならないのです.
5785 \end_layout
5786
5787 \begin_layout Standard
5788 もちろん,
5789 \SpecialChar LyX
5790 の他のバックエンド形式に関しても,
5791 ほぼ同じことが言えますが,
5792 XHTMLの場合には若干事情が異なり,
5793 \SpecialChar LyX
5794 が,
5795 ブラウザ中での段落の表示方法を(CSSの形で)出力するにあたって,
5796 当該段落を\SpecialChar LyX
5797 が画面上に出力する仕方の情報を,
5798 ある程度利用することができます.しかし,
5799 この場合でも,
5800 \SpecialChar LyX
5801 が内部的に行うことと,
5802 外部的に行う物事の間の区別は,
5803 依然として有効であり,
5804 この2つは独立して制御することができます.詳細に関しては,
5805
5806 \begin_inset CommandInset ref
5807 LatexCommand ref
5808 reference "sec:XHTML出力のタグ"
5809 nolink "false"
5810
5811 \end_inset
5812
5813 節をご覧ください.
5814 \end_layout
5815
5816 \begin_layout Section
5817 新しい\SpecialChar LaTeX
5818 ファイルの導入
5819 \end_layout
5820
5821 \begin_layout Standard
5822 頒布版によっては,
5823 \SpecialChar LyX
5824 で使いたい\SpecialChar LaTeX
5825 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,
5826 オーバーヘッドプロジェクタ用のスライドを準備するためのパッケージである,
5827 Foil\SpecialChar TeX
5828 がないかもしれません.\SpecialChar TeX
5829 Live(2008年以降)やMiK\SpecialChar TeX
5830 のような最近の\SpecialChar LaTeX
5831 頒布版には,
5832 これらのパッケージを導入するためのユーザーインタフェースが用意されています.たとえば,
5833 MiK\SpecialChar TeX
5834 では,
5835 付属の「Package
5836 \begin_inset space ~
5837 \end_inset
5838
5839 Manager」プログラムを起動すると,
5840 利用できるパッケージの一覧を得ることができます.どれかを導入するには,
5841 その上で右クリックするかツールバーボタンを押してください.
5842 \end_layout
5843
5844 \begin_layout Standard
5845 お使いの\SpecialChar LaTeX
5846 頒布版がこのような「パッケージマネジャー」を提供していなかったり,
5847 使用中の頒布版にそのパッケージが入っていない場合には,
5848 以下のステップに従って手動で導入してください.
5849 \end_layout
5850
5851 \begin_layout Enumerate
5852 \begin_inset CommandInset href
5853 LatexCommand href
5854 name "CTAN"
5855 target "http://www.ctan.org/"
5856 literal "false"
5857
5858 \end_inset
5859
5860 などから欲しいパッケージを入手してください.
5861 \end_layout
5862
5863 \begin_layout Enumerate
5864 パッケージに「
5865 \begin_inset Flex Code
5866 status collapsed
5867
5868 \begin_layout Plain Layout
5869 .ins
5870 \end_layout
5871
5872 \end_inset
5873
5874 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5875 がその一例です)は,
5876 コンソールを開いて,
5877 このファイルのフォルダに移動し,
5878 コマンド
5879 \begin_inset Flex Code
5880 status collapsed
5881
5882 \begin_layout Plain Layout
5883 latex foiltex.ins
5884 \end_layout
5885
5886 \end_inset
5887
5888 を実行してください.すると,
5889 パッケージが解凍されて,
5890 導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5891 パッケージは圧縮されていないので,
5892 このステップは飛ばすことができます.
5893 \end_layout
5894
5895 \begin_layout Enumerate
5896 ここで,
5897 パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5898 \end_layout
5899
5900 \begin_deeper
5901 \begin_layout Enumerate
5902 (Linux・OSXなどの)*nix系システムでは,
5903 システム上の全ユーザーに新パッケージを利用可能にしたければ,
5904 「ローカル」\SpecialChar TeX
5905 ツリーに導入し,
5906 そうでなければ「ユーザー」\SpecialChar TeX
5907 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,
5908 お使いのシステムに依存します.これを見いだすには,
5909
5910 \begin_inset Flex Code
5911 status collapsed
5912
5913 \begin_layout Plain Layout
5914 texmf.cnf
5915 \end_layout
5916
5917 \end_inset
5918
5919 ファイルを参照してください
5920 \begin_inset Foot
5921 status collapsed
5922
5923 \begin_layout Plain Layout
5924 このファイルは,
5925 通常
5926 \family sans
5927 $TEXMF/web2c
5928 \family default
5929 ディレクトリにありますが,
5930 コマンド
5931 \begin_inset Flex Code
5932 status collapsed
5933
5934 \begin_layout Plain Layout
5935 kpsewhich texmf.cnf
5936 \end_layout
5937
5938 \end_inset
5939
5940 を実行してその場所を見つけることもできます.
5941 \end_layout
5942
5943 \end_inset
5944
5945 .「ローカル」\SpecialChar TeX
5946 ツリーの場所は,
5947
5948 \begin_inset Flex Code
5949 status collapsed
5950
5951 \begin_layout Plain Layout
5952 TEXMFLOCAL
5953 \end_layout
5954
5955 \end_inset
5956
5957 変数で定義されており,
5958 通常は
5959 \begin_inset Flex Code
5960 status collapsed
5961
5962 \begin_layout Plain Layout
5963 /usr/local/share/texmf/
5964 \end_layout
5965
5966 \end_inset
5967
5968
5969 \begin_inset Flex Code
5970 status collapsed
5971
5972 \begin_layout Plain Layout
5973 /usr/local/texlive/XXXX
5974 \end_layout
5975
5976 \end_inset
5977
5978  (XXXXは導入されている\SpecialChar TeX
5979 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
5980 ツリーの場所は,
5981
5982 \begin_inset Flex Code
5983 status collapsed
5984
5985 \begin_layout Plain Layout
5986 TEXMFHOME
5987 \end_layout
5988
5989 \end_inset
5990
5991 で定義されており,
5992 通常は
5993 \begin_inset Flex Code
5994 status collapsed
5995
5996 \begin_layout Plain Layout
5997 $HOME/texmf/
5998 \end_layout
5999
6000 \end_inset
6001
6002
6003 \begin_inset Flex Code
6004 status collapsed
6005
6006 \begin_layout Plain Layout
6007 $HOME/.texliveXXXX
6008 \end_layout
6009
6010 \end_inset
6011
6012 です(もしこれらの変数が事前定義されていなければ,
6013 定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,
6014 おそらくroot権限が必要ですが,
6015 「ユーザー」ツリーにはこのような制限はありません.
6016 \begin_inset Newline newline
6017 \end_inset
6018
6019 一般的に,
6020 システムをアップグレードした際に,
6021 ユーザーが修正されたり上書きされたりということが起こらないので,
6022 ユーザーツリーに導入することが推奨されます.こうすると,
6023 自分のホームディレクトリをバックアップする際に,
6024 パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
6025 \end_layout
6026
6027 \begin_layout Enumerate
6028 Windowで,
6029 システム上の全ユーザーに新パッケージを利用可能にしたい場合には,
6030 \SpecialChar LaTeX
6031 の導入されているフォルダのサブフォルダ
6032 \begin_inset Flex Code
6033 status collapsed
6034
6035 \begin_layout Plain Layout
6036 ~
6037 \backslash
6038 tex
6039 \backslash
6040 latex
6041 \end_layout
6042
6043 \end_inset
6044
6045 に移動します(MiK\SpecialChar TeX
6046 の既定値では,
6047 これは
6048 \begin_inset Flex Code
6049 status collapsed
6050
6051 \begin_layout Plain Layout
6052 ~:Programs
6053 \backslash
6054 MiKTeX
6055 \backslash
6056 tex
6057 \backslash
6058 latex
6059 \end_layout
6060
6061 \end_inset
6062
6063 です)
6064 \begin_inset Foot
6065 status open
6066
6067 \begin_layout Plain Layout
6068 これは,
6069 英語版でのみ正しいパスになっています.独語版では
6070 \begin_inset Flex Code
6071 status collapsed
6072
6073 \begin_layout Plain Layout
6074 ~:Programme
6075 \backslash
6076 MiKTeX
6077 \backslash
6078 tex
6079 \backslash
6080 latex
6081 \end_layout
6082
6083 \end_inset
6084
6085 となり,
6086 他の言語でも同様です.
6087 \end_layout
6088
6089 \end_inset
6090
6091 .ここに新規フォルダ
6092 \begin_inset Flex Code
6093 status collapsed
6094
6095 \begin_layout Plain Layout
6096 foiltex
6097 \end_layout
6098
6099 \end_inset
6100
6101 を作成し,
6102 パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,
6103 admin権限を持っていない場合には,
6104 ローカル\SpecialChar LaTeX
6105 フォルダで同じことを行います.たとえばMiK\SpecialChar TeX
6106
6107 \begin_inset space ~
6108 \end_inset
6109
6110 2.8では,
6111 これはWinXP上では
6112 \begin_inset Newline newline
6113 \end_inset
6114
6115
6116 \begin_inset Flex Code
6117 status collapsed
6118
6119 \begin_layout Plain Layout
6120 ~:
6121 \backslash
6122 Documents and Settings
6123 \backslash
6124 <ユーザー名>
6125 \backslash
6126 Application Data
6127 \backslash
6128
6129 \end_layout
6130
6131 \end_inset
6132
6133
6134 \begin_inset Newline newline
6135 \end_inset
6136
6137
6138 \begin_inset Phantom HPhantom
6139 status open
6140
6141 \begin_layout Plain Layout
6142
6143 \family typewriter
6144 ~:
6145 \backslash
6146
6147 \end_layout
6148
6149 \end_inset
6150
6151
6152 \begin_inset Flex Code
6153 status collapsed
6154
6155 \begin_layout Plain Layout
6156 MiKTeX
6157 \backslash
6158 2.8
6159 \backslash
6160 tex
6161 \backslash
6162 latex
6163 \end_layout
6164
6165 \end_inset
6166
6167
6168 \begin_inset Newline newline
6169 \end_inset
6170
6171 フォルダ,
6172 WinVista上では
6173 \begin_inset Newline newline
6174 \end_inset
6175
6176
6177 \begin_inset Flex Code
6178 status collapsed
6179
6180 \begin_layout Plain Layout
6181 ~:
6182 \backslash
6183 Users
6184 \backslash
6185 <ユーザー名>
6186 \backslash
6187 AppData
6188 \backslash
6189 Roaming
6190 \backslash
6191 2.8
6192 \backslash
6193 MiKTeX
6194 \backslash
6195 tex
6196 \backslash
6197 latex
6198 \end_layout
6199
6200 \end_inset
6201
6202
6203 \begin_inset Newline newline
6204 \end_inset
6205
6206 フォルダになります.
6207 \end_layout
6208
6209 \end_deeper
6210 \begin_layout Enumerate
6211 ここまで来れば,
6212 あとは\SpecialChar LaTeX
6213 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
6214 頒布版に依存します.
6215 \end_layout
6216
6217 \begin_deeper
6218 \begin_layout Enumerate
6219 \SpecialChar TeX
6220 Liveの場合には,
6221 コンソールから
6222 \begin_inset Flex Code
6223 status collapsed
6224
6225 \begin_layout Plain Layout
6226 texhash
6227 \end_layout
6228
6229 \end_inset
6230
6231 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,
6232 おそらくroot権限で行う必要があります.
6233 \end_layout
6234
6235 \begin_layout Enumerate
6236 MiK\SpecialChar TeX
6237 では,
6238 パッケージを全ユーザー用に導入した場合には,
6239 「Settings
6240 \begin_inset space ~
6241 \end_inset
6242
6243 (Admin)」を起動し,
6244 「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,
6245 「Settings」を起動して同様に行ってください.
6246 \end_layout
6247
6248 \end_deeper
6249 \begin_layout Enumerate
6250 最後に,
6251 \SpecialChar LyX
6252 に新しいパッケージがあることを告げなくてはなりません.そこで,
6253 \SpecialChar LyX
6254 からツール\SpecialChar menuseparator
6255 環境構成メニューを実行して,
6256 \SpecialChar LyX
6257 を再起動します.
6258 \end_layout
6259
6260 \begin_layout Standard
6261 これでパッケージが導入されました.この例では,
6262 文書クラス
6263 \begin_inset Flex Code
6264 status collapsed
6265
6266 \begin_layout Plain Layout
6267 Slides
6268 \begin_inset space ~
6269 \end_inset
6270
6271 (FoilTeX)
6272 \end_layout
6273
6274 \end_inset
6275
6276
6277 \begin_inset Flex MenuItem
6278 status collapsed
6279
6280 \begin_layout Plain Layout
6281 文書\SpecialChar menuseparator
6282 設定\SpecialChar menuseparator
6283 文書クラス
6284 \end_layout
6285
6286 \end_inset
6287
6288 で利用可能になっているはずです.
6289 \end_layout
6290
6291 \begin_layout Standard
6292 \begin_inset Flex MenuItem
6293 status collapsed
6294
6295 \begin_layout Plain Layout
6296 文書\SpecialChar menuseparator
6297 設定\SpecialChar menuseparator
6298 文書クラス
6299 \end_layout
6300
6301 \end_inset
6302
6303 メニューに列挙されてもいない\SpecialChar LaTeX
6304 文書クラスを使用したい場合には,
6305 その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
6306 \end_layout
6307
6308 \begin_layout Section
6309 レイアウトファイルの型
6310 \end_layout
6311
6312 \begin_layout Standard
6313 この節は,
6314 レイアウト情報を含む各種\SpecialChar LyX
6315 ファイルについて述べます.これらのファイルは,
6316 各種段落様式や文字様式についての記述がされているものであり,
6317 \SpecialChar LyX
6318 がそれらをどのように表示すべきなのか,
6319 また,
6320 それらをどのように\SpecialChar LaTeX
6321 やDocBook,
6322 XHTMLその他の出力形式に翻訳すればよいのかが記されています.
6323 \end_layout
6324
6325 \begin_layout Standard
6326 ここでは,
6327 レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,
6328 \SpecialChar LaTeX
6329 クラスだけでもサポートする文書の種類があまりにたくさんあるので,
6330 読者が出会いうるケースや問題をすべてカバーすることはとても望めません.\SpecialChar LyX
6331 ユーザーメーリングリストには,
6332 自身の経験を人々と分かち合いたいと望む,
6333 レイアウトデザインの経験豊かな人々がよく顔を出していますので,
6334 気軽に質問を投げかけてみてください.
6335 \end_layout
6336
6337 \begin_layout Standard
6338 新しいレイアウトを準備するに当たっては,
6339 \SpecialChar LyX
6340 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
6341 文書クラス用の\SpecialChar LyX
6342 レイアウトを作ったり,
6343 他の人々にも有用なモジュールをお書きになった場合には,
6344
6345 \begin_inset CommandInset href
6346 LatexCommand href
6347 name "LyX Wikiのレイアウトに関する節"
6348 target "https://wiki.lyx.org/Layouts/Layouts"
6349 literal "false"
6350
6351 \end_inset
6352
6353 か,
6354 \SpecialChar LyX
6355 開発者メーリングリストに投稿して,
6356 \SpecialChar LyX
6357 頒布版に同梱することができるようにしてください
6358 \begin_inset Foot
6359 status collapsed
6360
6361 \begin_layout Plain Layout
6362 \SpecialChar LyX
6363 はGeneral Public Licenseの下でライセンスされていますので,
6364 \SpecialChar LyX
6365 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
6366 \end_layout
6367
6368 \end_inset
6369
6370
6371 \end_layout
6372
6373 \begin_layout Subsection
6374 レイアウトモジュール
6375 \begin_inset CommandInset label
6376 LatexCommand label
6377 name "subsec:レイアウトモジュール"
6378
6379 \end_inset
6380
6381
6382 \end_layout
6383
6384 \begin_layout Standard
6385 ここまで,
6386 「レイアウトファイル」についてお話してきました.しかし,
6387 レイアウト情報を含むものには,
6388 他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき,
6389 それは
6390 \begin_inset Flex Code
6391 status collapsed
6392
6393 \begin_layout Plain Layout
6394 .layout
6395 \end_layout
6396
6397 \end_inset
6398
6399 拡張子を持ち,
6400 文書クラスに関する情報を\SpecialChar LyX
6401 に提供するものを指します.しかしながら,
6402 \SpecialChar LyX
6403  1.6以降,
6404 レイアウト情報は,
6405 拡張子が
6406 \begin_inset Flex Code
6407 status collapsed
6408
6409 \begin_layout Plain Layout
6410 .module
6411 \end_layout
6412
6413 \end_inset
6414
6415 のレイアウト
6416 \emph on
6417 モジュール
6418 \emph default
6419 にも含めることができます.レイアウトが\SpecialChar LaTeX
6420 クラスに対応しているように,
6421 モジュールは\SpecialChar LaTeX
6422 パッケージに対応するものであり,
6423
6424 \begin_inset Flex Code
6425 status collapsed
6426
6427 \begin_layout Plain Layout
6428 endnotes
6429 \end_layout
6430
6431 \end_inset
6432
6433 モジュールのように,
6434 特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,
6435 特定の文書レイアウトに特化したものではなく,
6436 多くのレイアウトで使用できるという意味において,
6437 一面,
6438
6439 \begin_inset Flex Code
6440 status collapsed
6441
6442 \begin_layout Plain Layout
6443 stdsections.inc
6444 \end_layout
6445
6446 \end_inset
6447
6448 等のインクルードファイル
6449 \begin_inset Foot
6450 status collapsed
6451
6452 \begin_layout Plain Layout
6453 これらは任意の拡張子をつけることができますが,
6454 慣習的に
6455 \begin_inset Flex Code
6456 status collapsed
6457
6458 \begin_layout Plain Layout
6459 .inc
6460 \end_layout
6461
6462 \end_inset
6463
6464 拡張子が用いられます.
6465 \end_layout
6466
6467 \end_inset
6468
6469 のようなものです.相異なる点といえば,
6470
6471 \begin_inset Flex Code
6472 status collapsed
6473
6474 \begin_layout Plain Layout
6475 article.cls
6476 \end_layout
6477
6478 \end_inset
6479
6480 でインクルードファイルを使用するには,
6481 そのファイルを編集しなくてはなりませんが,
6482 モジュールの場合は,
6483
6484 \begin_inset Flex MenuItem
6485 status collapsed
6486
6487 \begin_layout Plain Layout
6488 文書\SpecialChar menuseparator
6489 設定
6490 \end_layout
6491
6492 \end_inset
6493
6494 ダイアログで選択するだけですみます.
6495 \end_layout
6496
6497 \begin_layout Standard
6498 モジュール作成は,
6499 新しく段落様式を一つ加えたり,
6500 自由差込枠を加えたりするだけで済むことも多いので,
6501 レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的には,
6502 レイアウトファイルに入れることのできるものはすべて入れることができます.
6503 \end_layout
6504
6505 \begin_layout Standard
6506 新しいモジュールを作成し,
6507 それを
6508 \begin_inset Flex Code
6509 status collapsed
6510
6511 \begin_layout Plain Layout
6512 layout/
6513 \end_layout
6514
6515 \end_inset
6516
6517 フォルダにコピーした後,
6518 モジュールがメニューに現れるようにするためには,
6519 \SpecialChar LyX
6520 の環境構成を行って再起動しなくてはなりません.しかしながら,
6521 モジュールの修正の場合には,
6522
6523 \begin_inset Flex MenuItem
6524 status collapsed
6525
6526 \begin_layout Plain Layout
6527 文書\SpecialChar menuseparator
6528 設定
6529 \end_layout
6530
6531 \end_inset
6532
6533 を開いてどれかを選択し「OK」を押せば,
6534 直ちに反映されます.
6535 \emph on
6536 これを実行する前に,
6537 作業中の文書を保存しておくことを強く勧めます
6538 \emph default
6539 .もっと言えば,
6540
6541 \emph on
6542 実際の文書で作業しているときに,
6543 同時にモジュールの編集をしようとしないことを強く勧めます
6544 \emph default
6545 .もちろん開発陣は,
6546 そのような場合でも\SpecialChar LyX
6547 が安定性を維持するように努力していますが,
6548 あなたが作成したモジュール中の文法エラー等によって,
6549 奇妙な挙動が引き起こされることがあるからです.
6550 \end_layout
6551
6552 \begin_layout Subsubsection
6553 ローカルレイアウト
6554 \end_layout
6555
6556 \begin_layout Standard
6557 \SpecialChar LyX
6558 に於けるモジュールは,
6559 \SpecialChar LaTeX
6560 に於けるパッケージに当たります.しかしながら,
6561 特定の差込枠や文字様式を,
6562 ひとつの文書のためだけに作りたいこともあるでしょうから,
6563 そのような場合に,
6564 他の文書でも利用できるようなモジュールをわざわざ書くことには,
6565 あまり意味がありません.このような場合に必要となるのが,
6566 「ローカルレイアウト」なのです.
6567 \end_layout
6568
6569 \begin_layout Standard
6570 これは,
6571
6572 \family sans
6573 文書\SpecialChar menuseparator
6574 設定\SpecialChar menuseparator
6575 ローカルのレイアウト
6576 \family default
6577 にあります.そこにある大きなテキストボックスは,
6578 本来ならレイアウトファイルやモジュールに入力すべきものを,
6579 入力するためのものです.特定の文書のローカルレイアウトは,
6580 その文書専属のモジュールだと考えることができます.したがって,
6581
6582 \begin_inset Flex Code
6583 status collapsed
6584
6585 \begin_layout Plain Layout
6586 Format
6587 \end_layout
6588
6589 \end_inset
6590
6591 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,
6592 通常は,
6593 執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
6594  
6595 \begin_inset Info
6596 type  "lyxinfo"
6597 arg   "version"
6598 \end_inset
6599
6600 では,
6601 最新書式は69です)
6602 \end_layout
6603
6604 \begin_layout Standard
6605 \begin_inset Flex Code
6606 status collapsed
6607
6608 \begin_layout Plain Layout
6609 ローカルのレイアウト
6610 \end_layout
6611
6612 \end_inset
6613
6614 面に何かを入力すると,
6615 下部にある「検証」ボタンが有効になります.このボタンを押すと,
6616 ユーザーの入力したものが,
6617 指定された書式に沿って,
6618 有効なレイアウト情報になっているかどうかが検証されます.すると,
6619 \SpecialChar LyX
6620 がその結果を返しますが,
6621 残念ながら,
6622 エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,
6623 \SpecialChar LyX
6624 をターミナル(擬似端末)から起動した場合には,
6625 そのエラーがターミナルに返されます.ローカルレイアウトは,
6626 正しい書式で入力されないうちは,
6627 保存することができません.
6628 \end_layout
6629
6630 \begin_layout Standard
6631 ここで,
6632 前節と同じ警告があります.ローカルレイアウトは,
6633 作業中の文書上で,
6634 特に保存していない文書上ではいじらないでください.それに注意すれば,
6635 テスト用文書上でローカルレイアウトを用いるのは,
6636 レイアウトのアイディアを試すのに便利ですし,
6637 モジュール開発の第一歩としても便利です.
6638 \end_layout
6639
6640 \begin_layout Subsection
6641 \begin_inset Flex MenuItem
6642 status collapsed
6643
6644 \begin_layout Plain Layout
6645 .sty
6646 \end_layout
6647
6648 \end_inset
6649
6650 ファイル用のレイアウト
6651 \end_layout
6652
6653 \begin_layout Standard
6654 新しく\SpecialChar LaTeX
6655 文書クラスをサポートしようとするとき,
6656 \SpecialChar LaTeX2e
6657 クラス(
6658 \begin_inset Flex Code
6659 status collapsed
6660
6661 \begin_layout Plain Layout
6662 .cls
6663 \end_layout
6664
6665 \end_inset
6666
6667 )ファイルが絡む場合と,
6668 スタイル(
6669 \begin_inset Flex Code
6670 status collapsed
6671
6672 \begin_layout Plain Layout
6673 .sty
6674 \end_layout
6675
6676 \end_inset
6677
6678 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,
6679 通常は,
6680 かなり容易ですが,
6681 新しくクラスファイルをサポートすることは,
6682 もう少し難しくなります.この節では,
6683 前者について述べることとし,
6684 後者については次節に譲ります.
6685 \end_layout
6686
6687 \begin_layout Standard
6688 この易しい方の場合では,
6689 新しい文書クラスは,
6690 既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,
6691 スタイルファイルは
6692 \begin_inset Flex MenuItem
6693 status collapsed
6694
6695 \begin_layout Plain Layout
6696 myclass.sty
6697 \end_layout
6698
6699 \end_inset
6700
6701 という名称で,
6702 標準的なクラスである
6703 \begin_inset Flex MenuItem
6704 status collapsed
6705
6706 \begin_layout Plain Layout
6707 report.cls
6708 \end_layout
6709
6710 \end_inset
6711
6712 と共に用いられるものと仮定しましょう.
6713 \end_layout
6714
6715 \begin_layout Standard
6716 既存の文書クラスのレイアウトファイルを,
6717 以下のように,
6718 お使いのローカルディレクトリにコピーすることから始めてください
6719 \begin_inset Foot
6720 status collapsed
6721
6722 \begin_layout Plain Layout
6723 もちろん,
6724 どのディレクトリがローカルディレクトリとなるかは,
6725 プラットフォームに依存します.\SpecialChar LyX
6726 では,
6727 起動時に
6728 \begin_inset Flex MenuItem
6729 status collapsed
6730
6731 \begin_layout Plain Layout
6732 -userdir
6733 \end_layout
6734
6735 \end_inset
6736
6737 オプションを指定することによって,
6738 ローカルディレクトリを指定することも可能です.
6739 \end_layout
6740
6741 \end_inset
6742
6743
6744 \end_layout
6745
6746 \begin_layout LyX-Code
6747 cp report.layout ~/.lyx/layouts/myclass.layout
6748 \end_layout
6749
6750 \begin_layout Standard
6751 それから,
6752
6753 \begin_inset Flex Code
6754 status collapsed
6755
6756 \begin_layout Plain Layout
6757 myclass.layout
6758 \end_layout
6759
6760 \end_inset
6761
6762 を編集して,
6763
6764 \end_layout
6765
6766 \begin_layout LyX-Code
6767
6768 \backslash
6769 DeclareLaTeXClass{report}
6770 \end_layout
6771
6772 \begin_layout Standard
6773 という行を
6774 \end_layout
6775
6776 \begin_layout LyX-Code
6777
6778 \backslash
6779 DeclareLaTeXClass[report,
6780  myclass.sty]{report (myclass)}
6781 \end_layout
6782
6783 \begin_layout Standard
6784 のように変更してください.それから,
6785 ファイル冒頭辺りに
6786 \end_layout
6787
6788 \begin_layout LyX-Code
6789 Preamble 
6790 \begin_inset Newline newline
6791 \end_inset
6792
6793     
6794 \backslash
6795 usepackage{myclass}
6796 \begin_inset Newline newline
6797 \end_inset
6798
6799 EndPreamble
6800 \end_layout
6801
6802 \begin_layout Standard
6803 と書き加えてください.
6804 \end_layout
6805
6806 \begin_layout Standard
6807 \SpecialChar LyX
6808 を起動して
6809 \begin_inset Flex MenuItem
6810 status collapsed
6811
6812 \begin_layout Plain Layout
6813 ツール\SpecialChar menuseparator
6814 環境構成
6815 \end_layout
6816
6817 \end_inset
6818
6819 を選択してください.それから\SpecialChar LyX
6820 を再起動し,
6821 新規文書を作成してみてください.すると,
6822
6823 \begin_inset Flex MenuItem
6824 status collapsed
6825
6826 \begin_layout Plain Layout
6827 文書\SpecialChar menuseparator
6828 設定
6829 \end_layout
6830
6831 \end_inset
6832
6833 ダイアログの文書クラスオプションに「
6834 \begin_inset Flex MenuItem
6835 status collapsed
6836
6837 \begin_layout Plain Layout
6838 report (myclass)
6839 \end_layout
6840
6841 \end_inset
6842
6843 」が現れるはずです.新しいクラスにおいて,
6844 節区切り用コマンドなどの一部が,
6845 基礎となったクラス—
6846 この例では
6847 \begin_inset Flex Code
6848 status collapsed
6849
6850 \begin_layout Plain Layout
6851 report
6852 \end_layout
6853
6854 \end_inset
6855
6856
6857 とは違う挙動をすることはよくありますので,
6858 希望に応じて,
6859 各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6860
6861 \begin_inset Flex Code
6862 status collapsed
6863
6864 \begin_layout Plain Layout
6865 stdsections.inc
6866 \end_layout
6867
6868 \end_inset
6869
6870 に含まれていますが,
6871 このファイルをコピーしたり変更したりする必要はありません.代わりに,
6872 自身のレイアウトファイル中,
6873
6874 \begin_inset Flex Code
6875 status collapsed
6876
6877 \begin_layout Plain Layout
6878 stdsections.inc
6879 \end_layout
6880
6881 \end_inset
6882
6883 も取り込む
6884 \begin_inset Flex Code
6885 status collapsed
6886
6887 \begin_layout Plain Layout
6888 Input stdclass.inc
6889 \end_layout
6890
6891 \end_inset
6892
6893 の後に変更を加えるだけです.たとえば,
6894 章見だしのフォントをサンセリフ体に変更するには,
6895 以下のような行を加えます.
6896 \end_layout
6897
6898 \begin_layout LyX-Code
6899 Style Chapter
6900 \end_layout
6901
6902 \begin_layout LyX-Code
6903     Font
6904 \end_layout
6905
6906 \begin_layout LyX-Code
6907         Family Sans
6908 \end_layout
6909
6910 \begin_layout LyX-Code
6911     EndFont
6912 \end_layout
6913
6914 \begin_layout LyX-Code
6915 End
6916 \end_layout
6917
6918 \begin_layout Standard
6919 これは,
6920 既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6921 \end_layout
6922
6923 \begin_layout Standard
6924 新しいパッケージでは,
6925 基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,
6926 これらをレイアウトファイルに加えます.そのやり方については,
6927
6928 \begin_inset CommandInset ref
6929 LatexCommand ref
6930 reference "sec:テキストクラス"
6931 nolink "false"
6932
6933 \end_inset
6934
6935 節の情報を参照してください.
6936 \end_layout
6937
6938 \begin_layout Standard
6939 もし
6940 \begin_inset Flex Code
6941 status collapsed
6942
6943 \begin_layout Plain Layout
6944 myclass.sty
6945 \end_layout
6946
6947 \end_inset
6948
6949 が他の文書クラスで使用することができたり,
6950 あるいはできない場合でも,
6951 基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょう.最も簡単なモジュールの例としては,
6952 以下のようなものになります.
6953 \end_layout
6954
6955 \begin_layout LyX-Code
6956 #
6957 \backslash
6958 DeclareLyXModule{My Package}
6959 \end_layout
6960
6961 \begin_layout LyX-Code
6962 #DescriptionBegin
6963 \end_layout
6964
6965 \begin_layout LyX-Code
6966 #Support for mypkg.sty.
6967 \end_layout
6968
6969 \begin_layout LyX-Code
6970 #DescriptionEnd
6971 \begin_inset Newline newline
6972 \end_inset
6973
6974
6975 \end_layout
6976
6977 \begin_layout LyX-Code
6978 Format 69
6979 \begin_inset Newline newline
6980 \end_inset
6981
6982
6983 \end_layout
6984
6985 \begin_layout LyX-Code
6986 Preamble
6987 \begin_inset Newline newline
6988 \end_inset
6989
6990     
6991 \backslash
6992 usepackage{mypkg}
6993 \begin_inset Newline newline
6994 \end_inset
6995
6996 EndPreamble
6997 \end_layout
6998
6999 \begin_layout Standard
7000 もう少し複雑なモジュールでは,
7001 既存の構成物の挙動を修正したり,
7002 新しい構成物を定義したりすることになるでしょう.この辺りの議論については,
7003
7004 \begin_inset CommandInset ref
7005 LatexCommand ref
7006 reference "sec:テキストクラス"
7007 nolink "false"
7008
7009 \end_inset
7010
7011 節を参照してください.
7012 \end_layout
7013
7014 \begin_layout Subsection
7015 \begin_inset Flex MenuItem
7016 status collapsed
7017
7018 \begin_layout Plain Layout
7019 .cls
7020 \end_layout
7021
7022 \end_inset
7023
7024 ファイル用のレイアウト
7025 \end_layout
7026
7027 \begin_layout Standard
7028 これには2つのケースがありえます.ひとつは,
7029 クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,
7030 多くの学位論文用クラスは
7031 \begin_inset Flex MenuItem
7032 status collapsed
7033
7034 \begin_layout Plain Layout
7035 book.cls
7036 \end_layout
7037
7038 \end_inset
7039
7040 に基づいています.お使いのものがどうであるかを見るには,
7041 クラスファイル中に
7042 \end_layout
7043
7044 \begin_layout LyX-Code
7045
7046 \backslash
7047 LoadClass{book}
7048 \end_layout
7049
7050 \begin_layout Standard
7051 という行がないかどうか探してください.もしこれがあれば,
7052
7053 \begin_inset Flex Code
7054 status collapsed
7055
7056 \begin_layout Plain Layout
7057 Declare\SpecialChar LaTeX
7058 Class
7059 \end_layout
7060
7061 \end_inset
7062
7063 行は異なりますが,
7064 おおよそ前節のように進めることができます.あなたが新しく作るクラスが
7065 \begin_inset Flex Code
7066 status collapsed
7067
7068 \begin_layout Plain Layout
7069 thesis
7070 \end_layout
7071
7072 \end_inset
7073
7074 であり,
7075
7076 \begin_inset Flex Code
7077 status collapsed
7078
7079 \begin_layout Plain Layout
7080 book
7081 \end_layout
7082
7083 \end_inset
7084
7085 クラスに基づいていれば,
7086
7087 \begin_inset Flex Code
7088 status collapsed
7089
7090 \begin_layout Plain Layout
7091 Declare\SpecialChar LaTeX
7092 Class
7093 \end_layout
7094
7095 \end_inset
7096
7097 行は以下のようにします
7098 \begin_inset Foot
7099 status collapsed
7100
7101 \begin_layout Plain Layout
7102 さらに\SpecialChar LyX
7103 は,
7104 文書クラス名がレイアウトファイル名と同じだと仮定するので,
7105 クラスファイルを
7106 \begin_inset Flex Code
7107 status collapsed
7108
7109 \begin_layout Plain Layout
7110 thesis.layout
7111 \end_layout
7112
7113 \end_inset
7114
7115 という名前で保存するのが最も簡単です. 
7116 \end_layout
7117
7118 \end_inset
7119
7120
7121 \end_layout
7122
7123 \begin_layout LyX-Code
7124
7125 \backslash
7126 DeclareLaTeXClass[thesis,book]{thesis}
7127 \end_layout
7128
7129 \begin_layout Standard
7130 他方,
7131 新しいクラスが既存のクラスに基づいていない場合には,
7132 おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,
7133 類似した\SpecialChar LaTeX
7134 クラスを使用している既存のレイアウトファイルをコピーして,
7135 それに修正を加えるようにすることを強くお勧めします.少なくとも,
7136 どの項目を考慮すべきかがわかるように,
7137 既存のファイルを作業の開始点としてください.
7138 \end_layout
7139
7140 \begin_layout Subsection
7141 ひな型を作成する
7142 \begin_inset CommandInset label
7143 LatexCommand label
7144 name "sec:ひな型を作成する"
7145
7146 \end_inset
7147
7148
7149 \end_layout
7150
7151 \begin_layout Standard
7152 新しい文書クラス用のレイアウトファイルを書いたならば,
7153 そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,
7154 内容はダミーですが,
7155 レイアウトの使い方を示す一種のチュートリアルとして動作します.もちろん,
7156 イメージを得るために,
7157 \SpecialChar LyX
7158 添付のひな型をあれこれ見てみるのもよいでしょう.
7159 \end_layout
7160
7161 \begin_layout Standard
7162 ひな型は,
7163 通常の文書と同様,
7164 \SpecialChar LyX
7165 を使って作成することができます.唯一違う点は,
7166 通常の文書では,
7167 フォント構成や用紙寸法を含め,
7168 すべてのあり得る設定が為されている点です.これらの場合,
7169 通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,
7170 ひな型の設計者は,
7171
7172 \begin_inset Flex Code
7173 status collapsed
7174
7175 \begin_layout Plain Layout
7176
7177 \backslash
7178 fontscheme
7179 \end_layout
7180
7181 \end_inset
7182
7183
7184 \begin_inset Flex Code
7185 status collapsed
7186
7187 \begin_layout Plain Layout
7188
7189 \backslash
7190 papersize
7191 \end_layout
7192
7193 \end_inset
7194
7195 などの対応するコマンドをひな型\SpecialChar LyX
7196 ファイルから取り除く必要があります.これは,
7197 たとえば
7198 \begin_inset Flex Code
7199 status collapsed
7200
7201 \begin_layout Plain Layout
7202 vi
7203 \end_layout
7204
7205 \end_inset
7206
7207
7208 \begin_inset Flex Code
7209 status collapsed
7210
7211 \begin_layout Plain Layout
7212 notepad
7213 \end_layout
7214
7215 \end_inset
7216
7217 のような,
7218 どの軽いテキストエディタでも行うことができます.
7219 \end_layout
7220
7221 \begin_layout Standard
7222 編集したひな型を
7223 \begin_inset Flex Code
7224 status collapsed
7225
7226 \begin_layout Plain Layout
7227 UserDir/templates/
7228 \end_layout
7229
7230 \end_inset
7231
7232 に置き,
7233 グローバルなひな型ディレクトリ
7234 \begin_inset Flex Code
7235 status collapsed
7236
7237 \begin_layout Plain Layout
7238 LyXDir/templates/
7239 \end_layout
7240
7241 \end_inset
7242
7243 から使用したいものを同じ場所にコピーし,
7244
7245 \begin_inset Flex MenuItem
7246 status collapsed
7247
7248 \begin_layout Plain Layout
7249 ツール\SpecialChar menuseparator
7250 設定\SpecialChar menuseparator
7251 パス
7252 \end_layout
7253
7254 \end_inset
7255
7256 ダイアログのひな型パスを再定義してください.
7257 \end_layout
7258
7259 \begin_layout Standard
7260 ところで,
7261 特別な意味を持つひな型
7262 \begin_inset Flex Code
7263 status collapsed
7264
7265 \begin_layout Plain Layout
7266 defaults.lyx
7267 \end_layout
7268
7269 \end_inset
7270
7271 があることに注意してください.このひな型は,
7272
7273 \begin_inset Flex MenuItem
7274 status collapsed
7275
7276 \begin_layout Plain Layout
7277 ファイル\SpecialChar menuseparator
7278 新規
7279 \end_layout
7280
7281 \end_inset
7282
7283 を使って新規文書を作成する際,
7284 便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
7285 内部から作成するのにしなくてはならないことは,
7286 対応する設定を持つ文書を開き,
7287
7288 \begin_inset Flex MenuItem
7289 status collapsed
7290
7291 \begin_layout Plain Layout
7292 文書既定値として保存
7293 \end_layout
7294
7295 \end_inset
7296
7297 ボタンを押すことです.
7298 \end_layout
7299
7300 \begin_layout Subsection
7301 旧レイアウトファイルの更新
7302 \end_layout
7303
7304 \begin_layout Standard
7305 レイアウトファイルの書式は,
7306 \SpecialChar LyX
7307 のリリース毎に変更されますので,
7308 古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
7309 が古い書式のレイアウトファイルを読み込むと,
7310 \SpecialChar LyX
7311 は,
7312 自動的に変換ツール
7313 \begin_inset Flex Code
7314 status collapsed
7315
7316 \begin_layout Plain Layout
7317 \SpecialChar LyX
7318 Dir/scripts/layout2layout.py
7319 \end_layout
7320
7321 \end_inset
7322
7323 を呼び出し,
7324 それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,
7325 \SpecialChar LyX
7326 がこれを毎回行なわくて済むように,
7327 レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,
7328 以下のように変換子を手動で呼び出してください.
7329 \end_layout
7330
7331 \begin_layout Enumerate
7332 ファイル
7333 \begin_inset Flex Code
7334 status collapsed
7335
7336 \begin_layout Plain Layout
7337 myclass.layout
7338 \end_layout
7339
7340 \end_inset
7341
7342
7343 \begin_inset Flex Code
7344 status collapsed
7345
7346 \begin_layout Plain Layout
7347 myclass.old
7348 \end_layout
7349
7350 \end_inset
7351
7352 に改称
7353 \end_layout
7354
7355 \begin_layout Enumerate
7356 以下のコマンドをコール
7357 \begin_inset Newline newline
7358 \end_inset
7359
7360
7361 \begin_inset Flex Code
7362 status collapsed
7363
7364 \begin_layout Plain Layout
7365 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
7366 \end_layout
7367
7368 \end_inset
7369
7370
7371 \begin_inset Newline newline
7372 \end_inset
7373
7374 ここで
7375 \begin_inset Flex Code
7376 status collapsed
7377
7378 \begin_layout Plain Layout
7379 LyXDir
7380 \end_layout
7381
7382 \end_inset
7383
7384 は\SpecialChar LyX
7385 システムディレクトリの名前です.
7386 \end_layout
7387
7388 \begin_layout Standard
7389 手動変換は,
7390 インクルードされているファイル内部の変更までは取り扱いませんので,
7391 それらのファイルは別に変換されなくてはなりません.
7392 \end_layout
7393
7394 \begin_layout Subsection
7395 \begin_inset CommandInset label
7396 LatexCommand label
7397 name "subsec:引用エンジンファイル"
7398
7399 \end_inset
7400
7401 引用エンジンファイル
7402 \end_layout
7403
7404 \begin_layout Standard
7405 \begin_inset Flex Code
7406 status collapsed
7407
7408 \begin_layout Plain Layout
7409 citeengines/
7410 \end_layout
7411
7412 \end_inset
7413
7414 サブディレクトリ以下に収められている,
7415 いわゆる
7416 \begin_inset Flex Code
7417 status collapsed
7418
7419 \begin_layout Plain Layout
7420 *.citeengine
7421 \end_layout
7422
7423 \end_inset
7424
7425 ファイルは,
7426 レイアウトファイルの特殊形です.これらの目的は,
7427
7428 \family sans
7429 natbib
7430 \family default
7431
7432 \family sans
7433 jurabib
7434 \family default
7435
7436 \family sans
7437 biblatex
7438 \family default
7439 など,
7440 書誌情報を生成する\SpecialChar LaTeX
7441 パッケージの詳細を定義することですが,
7442 通常の(追加パッケージのない)Bib\SpecialChar TeX
7443 引用が\SpecialChar LyX
7444 中でどのように取り扱われるかも,
7445 これらのファイルの中で定義されます.
7446 \end_layout
7447
7448 \begin_layout Standard
7449 より具体的には,
7450 どのパッケージを\SpecialChar LyX
7451 が読み込む必要があるのか,
7452 どの引用コマンドが利用可能であるのか,
7453 これらが\SpecialChar LyX
7454 中(作業領域・ダイアログ・コンテクストメニュー)で,
7455 さらにはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,
7456 これらのファイルは,
7457 使用できる派生様式(著者-刊行年,
7458 数値など)とその子細を特定します.引用エンジンファイルは,
7459
7460 \family sans
7461 文書\SpecialChar menuseparator
7462 設定\SpecialChar ldots
7463 \SpecialChar menuseparator
7464 書誌情報\SpecialChar menuseparator
7465 様式整形子
7466 \family default
7467 で利用できる選択肢を生成するのにも使用されます.
7468 \end_layout
7469
7470 \begin_layout Standard
7471 引用エンジンファイルは,
7472 本質的に通常のレイアウトファイルであり,
7473 理論上どのようなレイアウト情報も内包することができますが,
7474 通常は
7475 \begin_inset Flex Code
7476 status collapsed
7477
7478 \begin_layout Plain Layout
7479 MaxCiteNames
7480 \end_layout
7481
7482 \end_inset
7483
7484
7485 \begin_inset Flex Code
7486 status collapsed
7487
7488 \begin_layout Plain Layout
7489 CiteFramework
7490 \end_layout
7491
7492 \end_inset
7493
7494
7495 \begin_inset Flex Code
7496 status collapsed
7497
7498 \begin_layout Plain Layout
7499 CiteEngine
7500 \end_layout
7501
7502 \end_inset
7503
7504
7505 \begin_inset Flex Code
7506 status collapsed
7507
7508 \begin_layout Plain Layout
7509 CiteFormat
7510 \end_layout
7511
7512 \end_inset
7513
7514 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,
7515 ファイル自身に加え,
7516 第 
7517 \begin_inset CommandInset ref
7518 LatexCommand ref
7519 reference "subsec:引用エンジンの説明"
7520 plural "false"
7521 caps "false"
7522 noprefix "false"
7523 nolink "false"
7524
7525 \end_inset
7526
7527 節と第
7528 \begin_inset CommandInset ref
7529 LatexCommand ref
7530 reference "subsec:引用書式指定"
7531 plural "false"
7532 caps "false"
7533 noprefix "false"
7534 nolink "false"
7535
7536 \end_inset
7537
7538 節に述べられています.
7539 \end_layout
7540
7541 \begin_layout Section
7542 \begin_inset CommandInset label
7543 LatexCommand label
7544 name "sec:テキストクラス"
7545
7546 \end_inset
7547
7548 レイアウトファイルの書式
7549 \end_layout
7550
7551 \begin_layout Standard
7552 以下の各節では,
7553 いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,
7554 直面することの説明を行います.私たちからのアドバイスとしては,
7555 ゆっくりと進めるようにして,
7556 ちょっと進むごとに保存やテストを行い,
7557 心休まる音楽を聴き,
7558 好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰まってしまったときにはそうです.実際にはそんなに難しいことではないのですが,
7559 特に一度に多くのことをやろうとすると,
7560 選択肢が多くありすぎて圧倒されてしまうのです.さて,
7561 もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
7562 の既存のレイアウトを例や参考に使ったり,
7563 既存のレイアウトを自身の目的に合わせて修正したりすると,
7564 作業が容易になります.
7565 \end_layout
7566
7567 \begin_layout Standard
7568 この章で述べられているタグは,
7569 すべて大文字小文字を区別しません.つまり,
7570
7571 \begin_inset Flex Code
7572 status collapsed
7573
7574 \begin_layout Plain Layout
7575 Style
7576 \end_layout
7577
7578 \end_inset
7579
7580
7581 \begin_inset Flex Code
7582 status collapsed
7583
7584 \begin_layout Plain Layout
7585 style
7586 \end_layout
7587
7588 \end_inset
7589
7590
7591 \begin_inset Flex Code
7592 status collapsed
7593
7594 \begin_layout Plain Layout
7595 StYlE
7596 \end_layout
7597
7598 \end_inset
7599
7600 は同じコマンドとなります.機能名の後にある角括弧は,
7601 その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,
7602 既定値は
7603 \begin_inset Flex Code
7604 status collapsed
7605
7606 \begin_layout Plain Layout
7607
7608 \emph on
7609 強調
7610 \end_layout
7611
7612 \end_inset
7613
7614 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,
7615 既定値は
7616 \begin_inset Flex Code
7617 status collapsed
7618
7619 \begin_layout Plain Layout
7620 浮動小数点型=
7621 \emph on
7622 既定値
7623 \end_layout
7624
7625 \end_inset
7626
7627 のように表示されます.
7628 \end_layout
7629
7630 \begin_layout Subsection
7631 文書クラス宣言と分類
7632 \end_layout
7633
7634 \begin_layout Standard
7635 レイアウトファイル中の
7636 \begin_inset Flex Code
7637 status collapsed
7638
7639 \begin_layout Plain Layout
7640 #
7641 \end_layout
7642
7643 \end_inset
7644
7645 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
7646 \begin_inset Flex Code
7647 status collapsed
7648
7649 \begin_layout Plain Layout
7650 *.layout
7651 \end_layout
7652
7653 \end_inset
7654
7655 ファイルは,
7656 以下のような行で始めなくてはならないのです.
7657 \end_layout
7658
7659 \begin_layout LyX-Code
7660
7661 \size small
7662 #% Do not delete the line below;
7663  configure depends on this
7664 \end_layout
7665
7666 \begin_layout LyX-Code
7667
7668 \size small
7669 #  
7670 \backslash
7671 DeclareLaTeXClass{Article (Standard Class)}
7672 \end_layout
7673
7674 \begin_layout LyX-Code
7675
7676 \size small
7677 #  
7678 \backslash
7679 DeclareCategory{Articles}
7680 \end_layout
7681
7682 \begin_layout Standard
7683 2行目と3行目は,
7684 \SpecialChar LyX
7685 が環境構成を行う際に用いられます.このレイアウトファイルは,
7686 \SpecialChar LaTeX
7687 スクリプト
7688 \begin_inset Flex Code
7689 status collapsed
7690
7691 \begin_layout Plain Layout
7692 chkconfig.ltx
7693 \end_layout
7694
7695 \end_inset
7696
7697 が,
7698
7699 \begin_inset Flex Code
7700 status collapsed
7701
7702 \begin_layout Plain Layout
7703 #
7704 \end_layout
7705
7706 \end_inset
7707
7708 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
7709 コメントですが,
7710 2行目にはテキストクラスの宣言が,
7711 3行目にはクラスの分類(非必須)が書かれています.これらの行が
7712 \begin_inset Flex Code
7713 status collapsed
7714
7715 \begin_layout Plain Layout
7716 article.layout
7717 \end_layout
7718
7719 \end_inset
7720
7721 と名付けられたファイルにあると,
7722
7723 \begin_inset Flex Code
7724 status collapsed
7725
7726 \begin_layout Plain Layout
7727 article
7728 \end_layout
7729
7730 \end_inset
7731
7732 (レイアウトファイル名)という名称のテキストクラスを定義し,
7733 \SpecialChar LaTeX
7734 文書クラス
7735 \begin_inset Flex Code
7736 status collapsed
7737
7738 \begin_layout Plain Layout
7739 article.cls
7740 \end_layout
7741
7742 \end_inset
7743
7744 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
7745
7746 \begin_inset Flex MenuItem
7747 status collapsed
7748
7749 \begin_layout Plain Layout
7750 文書\SpecialChar menuseparator
7751 設定
7752 \end_layout
7753
7754 \end_inset
7755
7756 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
7757
7758 \begin_inset Flex MenuItem
7759 status collapsed
7760
7761 \begin_layout Plain Layout
7762 文書\SpecialChar menuseparator
7763 設定
7764 \end_layout
7765
7766 \end_inset
7767
7768 ダイアログで使用され,
7769 文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,
7770 典型的なものには,
7771 「Articles」「Books」「Reports」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,
7772 このクラスは「Uncategorized」グループに属することになります.
7773 \end_layout
7774
7775 \begin_layout Standard
7776 節見出し表示に変更を加えた,
7777
7778 \begin_inset Flex Code
7779 status collapsed
7780
7781 \begin_layout Plain Layout
7782 article.cls
7783 \end_layout
7784
7785 \end_inset
7786
7787 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7788 \begin_inset Flex Code
7789 status collapsed
7790
7791 \begin_layout Plain Layout
7792 myarticle.layout
7793 \end_layout
7794
7795 \end_inset
7796
7797 というファイルに置いたとすると,
7798 このファイルのヘッダは以下のようになります.
7799 \end_layout
7800
7801 \begin_layout LyX-Code
7802
7803 \size small
7804 #% Do not delete the line below;
7805  configure depends on this 
7806 \end_layout
7807
7808 \begin_layout LyX-Code
7809
7810 \size small
7811 #  
7812 \backslash
7813 DeclareLaTeXClass[article]{article (with My Own Headings)}
7814 \end_layout
7815
7816 \begin_layout LyX-Code
7817
7818 \size small
7819 #  
7820 \backslash
7821 DeclareCategory{Articles}
7822 \end_layout
7823
7824 \begin_layout Standard
7825 これは,
7826 \SpecialChar LaTeX
7827 文書クラス
7828 \begin_inset Flex Code
7829 status collapsed
7830
7831 \begin_layout Plain Layout
7832 article.cls
7833 \end_layout
7834
7835 \end_inset
7836
7837 に関連づけられ,
7838 「Article (with My Own Headings)」と表示される,
7839
7840 \begin_inset Flex Code
7841 status collapsed
7842
7843 \begin_layout Plain Layout
7844 myarticle
7845 \end_layout
7846
7847 \end_inset
7848
7849 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,
7850 以下のように宣言すると良いでしょう.
7851 \end_layout
7852
7853 \begin_layout LyX-Code
7854
7855 \size small
7856 #% Do not delete the line below;
7857  configure depends on this 
7858 \end_layout
7859
7860 \begin_layout LyX-Code
7861
7862 \size small
7863 #  
7864 \backslash
7865 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7866 \end_layout
7867
7868 \begin_layout LyX-Code
7869
7870 \size small
7871 #  
7872 \backslash
7873 DeclareCategory{Articles}
7874 \end_layout
7875
7876 \begin_layout Standard
7877 これは,
7878 このテキストクラスが
7879 \begin_inset Flex Code
7880 status collapsed
7881
7882 \begin_layout Plain Layout
7883 foo.sty
7884 \end_layout
7885
7886 \end_inset
7887
7888 パッケージを使用することを示しています.
7889 \end_layout
7890
7891 \begin_layout Standard
7892 これらの宣言には,
7893 文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7894 \end_layout
7895
7896 \begin_layout Standard
7897 できる限り明示的に要約すると,
7898 レイアウト宣言は以下の形をとります.
7899 \end_layout
7900
7901 \begin_layout LyX-Code
7902
7903 \size small
7904 #  
7905 \backslash
7906 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7907 \end_layout
7908
7909 \begin_layout LyX-Code
7910
7911 \size small
7912 #  
7913 \backslash
7914 DeclareCategory{分類}
7915 \end_layout
7916
7917 \begin_layout Standard
7918 ここで「クラス」は,
7919 \SpecialChar LaTeX
7920 クラスファイル名とレイアウトファイル名が異なるときのみ,
7921 指定する必要があります.クラスファイル名が指定されなければ,
7922 \SpecialChar LyX
7923 は単純に,
7924 クラスファイル名がレイアウトファイル名と同じであると仮定します.
7925 \end_layout
7926
7927 \begin_layout Standard
7928 テキストクラスがあなたの嗜好に合うように修正できたならば,
7929 他にしなくてはならないことは,
7930 それを
7931 \begin_inset Flex Code
7932 status collapsed
7933
7934 \begin_layout Plain Layout
7935 LyXDir/layouts/
7936 \end_layout
7937
7938 \end_inset
7939
7940
7941 \begin_inset Flex Code
7942 status collapsed
7943
7944 \begin_layout Plain Layout
7945 UserDir/layouts
7946 \end_layout
7947
7948 \end_inset
7949
7950 にコピーし,
7951
7952 \begin_inset Flex MenuItem
7953 status collapsed
7954
7955 \begin_layout Plain Layout
7956 ツール\SpecialChar menuseparator
7957 環境構成
7958 \end_layout
7959
7960 \end_inset
7961
7962 を実行し,
7963 \SpecialChar LyX
7964 を終了して再起動するだけです.そうすれば,
7965 この新しいテキストクラスが,
7966 他のテキストクラスと同様に使用できるようになります.
7967 \end_layout
7968
7969 \begin_layout Standard
7970 レイアウトファイルが導入されたならば,
7971 これを編集して,
7972 環境構成したり\SpecialChar LyX
7973 を再起動したりすることなく,
7974 その変更を確認することができます
7975 \begin_inset Foot
7976 status collapsed
7977
7978 \begin_layout Plain Layout
7979 第1.6版よりも前の\SpecialChar LyX
7980 では,
7981 これを行うことはできませんでした.その結果,
7982 レイアウトファイルに加えた変更を反映させるには,
7983 その度に\SpecialChar LyX
7984 を再起動しなくてはならなかったので,
7985 レイアウトファイルを編集する作業は,
7986 たいへん時間を浪費する作業だったのです.
7987 \end_layout
7988
7989 \end_inset
7990
7991 .\SpecialChar LyX
7992 関数
7993 \begin_inset Flex MenuItem
7994 status collapsed
7995
7996 \begin_layout Plain Layout
7997 layout-reload
7998 \end_layout
7999
8000 \end_inset
8001
8002 を使用すれば,
8003 現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—
8004 もちろん自分でどれかのキーに割り当てることもできますが—
8005 .しかし,
8006 通常は,
8007 この関数を使用する場合は,
8008 これをミニバッファに入力します.
8009 \end_layout
8010
8011 \begin_layout Standard
8012
8013 \emph on
8014 注意
8015 \emph default
8016
8017
8018 \begin_inset Flex MenuItem
8019 status collapsed
8020
8021 \begin_layout Plain Layout
8022 layout-reload
8023 \end_layout
8024
8025 \end_inset
8026
8027 はかなり「高度な機能」です.この機能を利用する前に,
8028 作業中の文書を保存しておくことを
8029 \emph on
8030 強く
8031 \emph default
8032 勧めます.もっと言えば,
8033 大事な文書の作業をしているときに,
8034 同時にレイアウト情報の編集をしようとしないことを
8035 \emph on
8036 強く
8037 \emph default
8038 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,
8039 そのようなエラーが起こると,
8040 \SpecialChar LyX
8041 は現在のレイアウトが無効であるものと判断して,
8042 別のレイアウトに切り替えようとする可能性があります
8043 \begin_inset Foot
8044 status collapsed
8045
8046 \begin_layout Plain Layout
8047 非常に悪質な文法エラーの場合には,
8048 \SpecialChar LyX
8049 が終了してしまうことさえあります.これは,
8050 ある種のエラーでは,
8051 \SpecialChar LyX
8052 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意ください.
8053 \end_layout
8054
8055 \end_inset
8056
8057 .\SpecialChar LyX
8058 開発陣は,
8059 このような状況下でも安定性を保つよう努力していますが,
8060 後悔よりも安心の方が良いでしょう
8061 \begin_inset Foot
8062 status collapsed
8063
8064 \begin_layout Plain Layout
8065 重ねての助言ですが,
8066 つねにバックアップを取ってください.それから,
8067 お母さんのお片づけに注意.
8068 \end_layout
8069
8070 \end_inset
8071
8072
8073 \end_layout
8074
8075 \begin_layout Subsection
8076 モジュール宣言
8077 \end_layout
8078
8079 \begin_layout Standard
8080 モジュールは,
8081 以下のような行で始まらなくてはなりません.
8082 \end_layout
8083
8084 \begin_layout LyX-Code
8085 #
8086 \backslash
8087 DeclareLyXModule[endnotes.sty]{Endnotes}
8088 \end_layout
8089
8090 \begin_layout LyX-Code
8091 #
8092 \backslash
8093 DeclareCategory{Foot- and Endnotes}
8094 \end_layout
8095
8096 \begin_layout Standard
8097 波括弧内に入っている
8098 \family typewriter
8099
8100 \backslash
8101 DeclareLyXModule
8102 \family default
8103 の必須引数はモジュール名で,
8104 これは
8105 \begin_inset Flex MenuItem
8106 status collapsed
8107
8108 \begin_layout Plain Layout
8109 文書\SpecialChar menuseparator
8110 設定
8111 \end_layout
8112
8113 \end_inset
8114
8115 内に表示されます.角括弧内の引数は非必須です.これは,
8116 モジュールが依存する\SpecialChar LaTeX
8117 パッケージをすべて宣言します.また,
8118 非必須引数として,
8119
8120 \begin_inset Flex Code
8121 status collapsed
8122
8123 \begin_layout Plain Layout
8124 変換元->変換先
8125 \end_layout
8126
8127 \end_inset
8128
8129 の形を使用することができます.これは,
8130
8131 \begin_inset Flex Code
8132 status collapsed
8133
8134 \begin_layout Plain Layout
8135 変換元
8136 \end_layout
8137
8138 \end_inset
8139
8140 形式から
8141 \begin_inset Flex Code
8142 status collapsed
8143
8144 \begin_layout Plain Layout
8145 変換先
8146 \end_layout
8147
8148 \end_inset
8149
8150 形式への変換鎖が存在するときのみ,
8151 このモジュールを使用できることを宣言するものです.
8152 \family typewriter
8153
8154 \backslash
8155 DeclareLyXModule
8156 \family default
8157 宣言は,
8158 厳密には必須ではありませんが,
8159 モジュールを見つけやすくするために書いておくべきです.既存のモジュールカテゴリを見て,
8160 適切ならばそのどれかを使用してください.
8161 \end_layout
8162
8163 \begin_layout Standard
8164 モジュール宣言とカテゴリ宣言の後には,
8165 以下のような行を続けます
8166 \begin_inset Foot
8167 status collapsed
8168
8169 \begin_layout Plain Layout
8170 モジュールを\SpecialChar LyX
8171 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,
8172 次回のインタフェースの更新時に翻訳されることになります.
8173 \end_layout
8174
8175 \end_inset
8176
8177
8178 \end_layout
8179
8180 \begin_layout LyX-Code
8181 #DescriptionBegin 
8182 \end_layout
8183
8184 \begin_layout LyX-Code
8185 #Adds an endnote command,
8186  in addition to footnotes.
8187  
8188 \end_layout
8189
8190 \begin_layout LyX-Code
8191 #You will need to add  
8192 \backslash
8193 theendnotes in TeX code where you 
8194 \end_layout
8195
8196 \begin_layout LyX-Code
8197 #want the endnotes to appear.
8198  
8199 \end_layout
8200
8201 \begin_layout LyX-Code
8202 #DescriptionEnd 
8203 \end_layout
8204
8205 \begin_layout LyX-Code
8206 #Requires:
8207  somemodule | othermodule
8208 \end_layout
8209
8210 \begin_layout LyX-Code
8211 #Excludes:
8212  badmodule
8213 \end_layout
8214
8215 \begin_layout Standard
8216 ここで説明(Description)は,
8217
8218 \begin_inset Flex MenuItem
8219 status collapsed
8220
8221 \begin_layout Plain Layout
8222 文書\SpecialChar menuseparator
8223 設定
8224 \end_layout
8225
8226 \end_inset
8227
8228 でこのモジュールが何をするものか,
8229 ユーザに情報を与えるために使用されます.
8230 \begin_inset Flex Code
8231 status collapsed
8232
8233 \begin_layout Plain Layout
8234 Requires
8235 \end_layout
8236
8237 \end_inset
8238
8239 行は,
8240 このモジュールが共に使用する必要がある,
8241 他のモジュールを特定するのに用いられます.一方,
8242
8243 \begin_inset Flex Code
8244 status collapsed
8245
8246 \begin_layout Plain Layout
8247 Excludes
8248 \end_layout
8249
8250 \end_inset
8251
8252 行は,
8253 このモジュールが共に使用してはならない,
8254 他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,
8255 上記のようにモジュールが複数ある場合には,
8256 パイプ記号「|」で区切らなくてはなりません.
8257 \begin_inset Flex Code
8258 status collapsed
8259
8260 \begin_layout Plain Layout
8261 Requires
8262 \end_layout
8263
8264 \end_inset
8265
8266 に指定されたモジュールは,
8267 選言的に取り扱われることに注意してください.つまり,
8268
8269 \begin_inset Flex Code
8270 status collapsed
8271
8272 \begin_layout Plain Layout
8273 Requires
8274 \end_layout
8275
8276 \end_inset
8277
8278 に指定されたモジュールのうち,
8279
8280 \emph on
8281 少なくとも一つ
8282 \emph default
8283 が使用されていればよいということです.同様に,
8284
8285 \begin_inset Flex Code
8286 status collapsed
8287
8288 \begin_layout Plain Layout
8289 Excludes
8290 \end_layout
8291
8292 \end_inset
8293
8294 に指定されたモジュールは,
8295 一つも使用されてはなりません.ここでモジュールは,
8296
8297 \begin_inset Flex Code
8298 status collapsed
8299
8300 \begin_layout Plain Layout
8301 .module
8302 \end_layout
8303
8304 \end_inset
8305
8306 拡張子を除いたファイル名で認識されることに注意してください.つまり
8307 \begin_inset Flex Code
8308 status collapsed
8309
8310 \begin_layout Plain Layout
8311 somemodule
8312 \end_layout
8313
8314 \end_inset
8315
8316 とは,
8317 実のところ
8318 \begin_inset Flex Code
8319 status collapsed
8320
8321 \begin_layout Plain Layout
8322 somemodule.module
8323 \end_layout
8324
8325 \end_inset
8326
8327 に他なりません.
8328 \end_layout
8329
8330 \begin_layout Subsection
8331 引用エンジンファイルの宣言
8332 \end_layout
8333
8334 \begin_layout Standard
8335 引用エンジンファイルは,
8336 次のような行で始まらなくてはなりません.
8337 \end_layout
8338
8339 \begin_layout LyX-Code
8340 #
8341 \backslash
8342 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8343 \end_layout
8344
8345 \begin_layout Standard
8346 波括弧内の必須引数はモジュール名で,
8347
8348 \begin_inset Flex Noun
8349 status collapsed
8350
8351 \begin_layout Plain Layout
8352 文書\SpecialChar menuseparator
8353 設定\SpecialChar menuseparator
8354 書誌情報
8355 \end_layout
8356
8357 \end_inset
8358
8359 にそのまま現れます.角括弧内の引数は非必須です.これは,
8360 引用エンジンが依存する\SpecialChar LaTeX
8361 パッケージを宣言します.
8362 \end_layout
8363
8364 \begin_layout Standard
8365 引用エンジン宣言には,
8366 その後,
8367 以下のような行が続きます
8368 \begin_inset Foot
8369 status collapsed
8370
8371 \begin_layout Plain Layout
8372 \SpecialChar LyX
8373 とともに公表するモジュールの場合は,
8374 英語で書かれることが望まれます.この説明は,
8375 翻訳対象メッセージのリストに含まれますので,
8376 次回インタフェースの更新の際に翻訳されることになります.
8377 \end_layout
8378
8379 \end_inset
8380
8381
8382 \end_layout
8383
8384 \begin_layout LyX-Code
8385 # DescriptionBegin
8386 \end_layout
8387
8388 \begin_layout LyX-Code
8389 #   Biblatex supports many author-year and numerical styles.
8390 \end_layout
8391
8392 \begin_layout LyX-Code
8393 #   It is mainly aimed at the Humanities.
8394  It is highly
8395 \end_layout
8396
8397 \begin_layout LyX-Code
8398 #   customizable,
8399  fully localized and provides many features
8400 \end_layout
8401
8402 \begin_layout LyX-Code
8403 #   that are not possible with BibTeX.
8404  The use of 'biber' as
8405 \end_layout
8406
8407 \begin_layout LyX-Code
8408 #   bibliography processor is advised.
8409 \end_layout
8410
8411 \begin_layout LyX-Code
8412 # DescriptionEnd
8413 \end_layout
8414
8415 \begin_layout Standard
8416 この説明は,
8417
8418 \begin_inset Flex Noun
8419 status collapsed
8420
8421 \begin_layout Plain Layout
8422 文書\SpecialChar menuseparator
8423 設定\SpecialChar menuseparator
8424 書誌情報
8425 \end_layout
8426
8427 \end_inset
8428
8429 の中で,
8430 ユーザーに引用エンジンに関する情報を提供するために使われます.
8431 \end_layout
8432
8433 \begin_layout Subsection
8434 書式番号
8435 \end_layout
8436
8437 \begin_layout Standard
8438 レイアウトファイルやインクルードされたファイル,
8439 またはモジュールの最初の非コメント行には,
8440 以下のように,
8441 かならずファイル形式番号が記されていなくてはなりません.
8442 \end_layout
8443
8444 \begin_layout Description
8445 \begin_inset Flex Code
8446 status collapsed
8447
8448 \begin_layout Plain Layout
8449 Format
8450 \end_layout
8451
8452 \end_inset
8453
8454  [
8455 \begin_inset Flex Code
8456 status collapsed
8457
8458 \begin_layout Plain Layout
8459 整数型
8460 \end_layout
8461
8462 \end_inset
8463
8464 ] このレイアウトファイルの書式
8465 \end_layout
8466
8467 \begin_layout Standard
8468 このタグは\SpecialChar LyX
8469
8470 \begin_inset space ~
8471 \end_inset
8472
8473 1.4.0で導入されました.\SpecialChar LyX
8474
8475 \begin_inset space ~
8476 \end_inset
8477
8478 1.3.x以前のレイアウトファイルには,
8479 明示されたファイル形式がないため,
8480 書式1と解されます.\SpecialChar LyX
8481 現行版のファイル形式は,
8482 書式69です.しかし,
8483 \SpecialChar LyX
8484 の各版は,
8485 旧版の\SpecialChar LyX
8486 で作成されたファイルを読むことができるように,
8487 旧版のレイアウトファイルも読むことができます.しかしながら,
8488 以前の書式に変換する方法はありません.
8489 \end_layout
8490
8491 \begin_layout Subsection
8492 \begin_inset CommandInset label
8493 LatexCommand label
8494 name "subsec:汎用テキストクラスパラメータ"
8495
8496 \end_inset
8497
8498 汎用テキストクラスパラメータ
8499 \end_layout
8500
8501 \begin_layout Standard
8502 以下は,
8503 文書クラス全体の挙動を決定する汎用パラメータです(これは,
8504
8505 \begin_inset Flex Code
8506 status collapsed
8507
8508 \begin_layout Plain Layout
8509 .layout
8510 \end_layout
8511
8512 \end_inset
8513
8514 ファイルのみに使用されるべきで,
8515 モジュールでは使ってはならない,
8516 ということを意味するものでは
8517 \emph on
8518 ありません
8519 \emph default
8520 .モジュールには,
8521 すべてのレイアウトタグを使用することができます).
8522 \end_layout
8523
8524 \begin_layout Description
8525 \begin_inset Flex Code
8526 status collapsed
8527
8528 \begin_layout Plain Layout
8529 AddToCiteEngine <エンジン>
8530 \end_layout
8531
8532 \end_inset
8533
8534  引用参考文献の表示能力を拡張します.詳細については、第
8535 \begin_inset CommandInset ref
8536 LatexCommand ref
8537 reference "subsec:引用エンジンの説明"
8538 plural "false"
8539 caps "false"
8540 noprefix "false"
8541 nolink "false"
8542
8543 \end_inset
8544
8545 節を参照してください.「
8546 \begin_inset Flex Code
8547 status collapsed
8548
8549 \begin_layout Plain Layout
8550 End
8551 \end_layout
8552
8553 \end_inset
8554
8555 」で閉じる必要があります.
8556 \end_layout
8557
8558 \begin_layout Description
8559 \begin_inset Flex Code
8560 status collapsed
8561
8562 \begin_layout Plain Layout
8563 AddToHTMLPreamble
8564 \end_layout
8565
8566 \end_inset
8567
8568  この文書クラスがXHTMLに出力されるときに,
8569
8570 \begin_inset Flex Code
8571 status collapsed
8572
8573 \begin_layout Plain Layout
8574 <head>
8575 \end_layout
8576
8577 \end_inset
8578
8579 ブロックに追加出力される情報です.典型的には,
8580 これはCSSスタイル情報を出力するのに用いられますが,
8581
8582 \begin_inset Flex Code
8583 status collapsed
8584
8585 \begin_layout Plain Layout
8586 <head>
8587 \end_layout
8588
8589 \end_inset
8590
8591 に出力するものであれば,
8592 何でも使用することができます.「
8593 \begin_inset Flex Code
8594 status collapsed
8595
8596 \begin_layout Plain Layout
8597 EndPreamble
8598 \end_layout
8599
8600 \end_inset
8601
8602 」で閉じる必要があります.
8603 \end_layout
8604
8605 \begin_layout Description
8606 \begin_inset Flex Code
8607 status collapsed
8608
8609 \begin_layout Plain Layout
8610 AddToPreamble
8611 \end_layout
8612
8613 \end_inset
8614
8615  文書プリアンブルに書き加えられる情報です.「
8616 \begin_inset Flex Code
8617 status collapsed
8618
8619 \begin_layout Plain Layout
8620 EndPreamble
8621 \end_layout
8622
8623 \end_inset
8624
8625 」で閉じる必要があります.
8626 \end_layout
8627
8628 \begin_layout Description
8629 \begin_inset Flex Code
8630 status collapsed
8631
8632 \begin_layout Plain Layout
8633 BibInToc
8634 \end_layout
8635
8636 \end_inset
8637
8638  [
8639 \begin_inset Flex Code
8640 status collapsed
8641
8642 \begin_layout Plain Layout
8643
8644 \emph on
8645 0
8646 \end_layout
8647
8648 \end_inset
8649
8650 ,
8651 \begin_inset Flex Code
8652 status collapsed
8653
8654 \begin_layout Plain Layout
8655 1
8656 \end_layout
8657
8658 \end_inset
8659
8660 ] この文書クラスが書誌情報を目次に入れるとき,
8661 このオプションの値を
8662 \begin_inset Flex Code
8663 status collapsed
8664
8665 \begin_layout Plain Layout
8666 1
8667 \end_layout
8668
8669 \end_inset
8670
8671 (もしくは
8672 \begin_inset Flex Code
8673 status collapsed
8674
8675 \begin_layout Plain Layout
8676 true
8677 \end_layout
8678
8679 \end_inset
8680
8681 )にしてください.これによって,
8682 書誌情報が2回目次に現れるのを防ぐことができます.
8683 \end_layout
8684
8685 \begin_layout Description
8686 \begin_inset Flex Code
8687 status collapsed
8688
8689 \begin_layout Plain Layout
8690 CiteEngine <エンジン>
8691 \end_layout
8692
8693 \end_inset
8694
8695  文献参照を表示する方法を定義します.詳細については,
8696
8697 \begin_inset CommandInset ref
8698 LatexCommand ref
8699 reference "subsec:引用エンジンの説明"
8700 plural "false"
8701 caps "false"
8702 noprefix "false"
8703 nolink "false"
8704
8705 \end_inset
8706
8707 節をご覧ください.「
8708 \begin_inset Flex Code
8709 status collapsed
8710
8711 \begin_layout Plain Layout
8712 End
8713 \end_layout
8714
8715 \end_inset
8716
8717 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
8718 \begin_inset CommandInset ref
8719 LatexCommand ref
8720 reference "subsec:引用エンジンファイル"
8721 plural "false"
8722 caps "false"
8723 noprefix "false"
8724 nolink "false"
8725
8726 \end_inset
8727
8728 節参照).これをレイアウトファイルやモジュールに追加した場合,
8729 引用エンジンの定義は,
8730 すべて上書きされることに注意してください.
8731 \begin_inset Flex Code
8732 status collapsed
8733
8734 \begin_layout Plain Layout
8735 AddToCiteEngine
8736 \end_layout
8737
8738 \end_inset
8739
8740 も参照してください.
8741 \end_layout
8742
8743 \begin_layout Description
8744 \begin_inset Flex Code
8745 status collapsed
8746
8747 \begin_layout Plain Layout
8748 CiteFormat
8749 \end_layout
8750
8751 \end_inset
8752
8753  書誌情報の表示に使う書式を定義します.詳細については,
8754
8755 \begin_inset CommandInset ref
8756 LatexCommand ref
8757 reference "subsec:引用書式指定"
8758 nolink "false"
8759
8760 \end_inset
8761
8762 節をご覧ください.「
8763 \begin_inset Flex Code
8764 status collapsed
8765
8766 \begin_layout Plain Layout
8767 End
8768 \end_layout
8769
8770 \end_inset
8771
8772 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
8773 \begin_inset CommandInset ref
8774 LatexCommand ref
8775 reference "subsec:引用エンジンファイル"
8776 plural "false"
8777 caps "false"
8778 noprefix "false"
8779 nolink "false"
8780
8781 \end_inset
8782
8783 節参照).レイアウトやモジュールにCiteFormatが指定されると,
8784 引用エンジンの定義は上書きされます.
8785 \end_layout
8786
8787 \begin_layout Description
8788 \begin_inset Flex Code
8789 status collapsed
8790
8791 \begin_layout Plain Layout
8792 CiteFramework
8793 \end_layout
8794
8795 \end_inset
8796
8797  [
8798 \begin_inset Flex Code
8799 status collapsed
8800
8801 \begin_layout Plain Layout
8802
8803 \emph on
8804 bibtex
8805 \end_layout
8806
8807 \end_inset
8808
8809 ,
8810 \begin_inset Flex Code
8811 status collapsed
8812
8813 \begin_layout Plain Layout
8814 biblatex
8815 \end_layout
8816
8817 \end_inset
8818
8819 ] 書誌情報を生成するのに,
8820
8821 \family sans
8822 Biblatex
8823 \family default
8824 を用いるのかBib\SpecialChar TeX
8825 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
8826 \begin_inset CommandInset ref
8827 LatexCommand ref
8828 reference "subsec:引用エンジンファイル"
8829 plural "false"
8830 caps "false"
8831 noprefix "false"
8832 nolink "false"
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 ClassOptions
8845 \end_layout
8846
8847 \end_inset
8848
8849  文書クラスがサポートする様々な大域オプションを記します.説明は,
8850
8851 \begin_inset CommandInset ref
8852 LatexCommand ref
8853 reference "subsec:ClassOptions"
8854 nolink "false"
8855
8856 \end_inset
8857
8858 節を参照してください.「
8859 \begin_inset Flex Code
8860 status collapsed
8861
8862 \begin_layout Plain Layout
8863 End
8864 \end_layout
8865
8866 \end_inset
8867
8868 」で閉じる必要があります.
8869 \end_layout
8870
8871 \begin_layout Description
8872 \begin_inset Flex Code
8873 status collapsed
8874
8875 \begin_layout Plain Layout
8876 Columns
8877 \end_layout
8878
8879 \end_inset
8880
8881  [
8882 \begin_inset Flex Code
8883 status collapsed
8884
8885 \begin_layout Plain Layout
8886
8887 \emph on
8888 1
8889 \end_layout
8890
8891 \end_inset
8892
8893 ,
8894 \begin_inset space \thinspace{}
8895 \end_inset
8896
8897
8898 \begin_inset Flex Code
8899 status collapsed
8900
8901 \begin_layout Plain Layout
8902 2
8903 \end_layout
8904
8905 \end_inset
8906
8907 ] 文書クラスが既定で1段組か2段組かを指定します.
8908 \begin_inset Flex MenuItem
8909 status collapsed
8910
8911 \begin_layout Plain Layout
8912 文書\SpecialChar menuseparator
8913 設定
8914 \end_layout
8915
8916 \end_inset
8917
8918 ダイアログで変更することができます.
8919 \end_layout
8920
8921 \begin_layout Description
8922 \begin_inset Flex Code
8923 status collapsed
8924
8925 \begin_layout Plain Layout
8926 Counter
8927 \end_layout
8928
8929 \end_inset
8930
8931  [
8932 \begin_inset Flex Code
8933 status collapsed
8934
8935 \begin_layout Plain Layout
8936 文字列
8937 \end_layout
8938
8939 \end_inset
8940
8941 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,
8942 生成されます.もし存在しなければ修正されます.「
8943 \begin_inset Flex Code
8944 status collapsed
8945
8946 \begin_layout Plain Layout
8947 End
8948 \end_layout
8949
8950 \end_inset
8951
8952 」で閉じる必要があります.
8953 \begin_inset Newline newline
8954 \end_inset
8955
8956 カウンタについての詳細は,
8957
8958 \begin_inset CommandInset ref
8959 LatexCommand ref
8960 reference "subsec:カウンタ"
8961 nolink "false"
8962
8963 \end_inset
8964
8965 節を参照してください.
8966 \end_layout
8967
8968 \begin_layout Description
8969 \begin_inset Flex Code
8970 status collapsed
8971
8972 \begin_layout Plain Layout
8973 DefaultFont
8974 \end_layout
8975
8976 \end_inset
8977
8978  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,
8979
8980 \begin_inset CommandInset ref
8981 LatexCommand ref
8982 reference "subsec:フォント指定"
8983 nolink "false"
8984
8985 \end_inset
8986
8987 節を参照してください.「
8988 \begin_inset Flex Code
8989 status collapsed
8990
8991 \begin_layout Plain Layout
8992 EndFont
8993 \end_layout
8994
8995 \end_inset
8996
8997 」で閉じる必要があります.
8998 \end_layout
8999
9000 \begin_layout Description
9001 \begin_inset Flex Code
9002 status collapsed
9003
9004 \begin_layout Plain Layout
9005 DefaultModule
9006 \end_layout
9007
9008 \end_inset
9009
9010  [
9011 \begin_inset Flex Code
9012 status collapsed
9013
9014 \begin_layout Plain Layout
9015 <モジュール>
9016 \end_layout
9017
9018 \end_inset
9019
9020 ] この文書クラスに,
9021 既定で取り込むモジュールを指定します.モジュールは,
9022
9023 \begin_inset Flex Code
9024 status collapsed
9025
9026 \begin_layout Plain Layout
9027 .module
9028 \end_layout
9029
9030 \end_inset
9031
9032 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,
9033 当初は有効の状態になっています(これは新しいファイルが作成されたときや,
9034 既存の文書にこの文書クラスが選択したときのみ該当します).
9035 \end_layout
9036
9037 \begin_layout Description
9038 \begin_inset Flex Code
9039 status collapsed
9040
9041 \begin_layout Plain Layout
9042 DefaultStyle
9043 \end_layout
9044
9045 \end_inset
9046
9047  [
9048 \begin_inset Flex Code
9049 status collapsed
9050
9051 \begin_layout Plain Layout
9052 <様式>
9053 \end_layout
9054
9055 \end_inset
9056
9057 ]
9058 \lang english
9059  
9060 \lang japanese
9061 これは新規段落に割り当てられる様式であり,
9062 通常は
9063 \begin_inset Flex MenuItem
9064 status collapsed
9065
9066 \begin_layout Plain Layout
9067 標準
9068 \end_layout
9069
9070 \end_inset
9071
9072 です.もしこれを指定しなければ,
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 DocBookRoot
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 ] 文書をDocBookのこのクラスで出力する際に使用する(文書の最上位の)ルート要素.既定値は「
9098 \begin_inset Flex Code
9099 status collapsed
9100
9101 \begin_layout Plain Layout
9102 article
9103 \end_layout
9104
9105 \end_inset
9106
9107 」です.
9108 \end_layout
9109
9110 \begin_layout Description
9111 \begin_inset Flex Code
9112 status collapsed
9113
9114 \begin_layout Plain Layout
9115 DocBookForceAbstract
9116 \end_layout
9117
9118 \end_inset
9119
9120  [
9121 \begin_inset Flex Code
9122 status collapsed
9123
9124 \begin_layout Plain Layout
9125 ブール値
9126 \end_layout
9127
9128 \end_inset
9129
9130 ] 「
9131 \begin_inset Flex Code
9132 status collapsed
9133
9134 \begin_layout Plain Layout
9135 true
9136 \end_layout
9137
9138 \end_inset
9139
9140 」ならばルート要素は常に
9141 \family typewriter
9142 <abstract>
9143 \family default
9144 タグを持つことになります.既定値は「
9145 \family typewriter
9146 false
9147 \family default
9148 」です.
9149 \end_layout
9150
9151 \begin_layout Description
9152 \begin_inset Flex Code
9153 status collapsed
9154
9155 \begin_layout Plain Layout
9156 ExcludesModule
9157 \end_layout
9158
9159 \end_inset
9160
9161  [
9162 \begin_inset Flex Code
9163 status collapsed
9164
9165 \begin_layout Plain Layout
9166 <モジュール>
9167 \end_layout
9168
9169 \end_inset
9170
9171 ] このタグは,
9172 指定されたモジュール—
9173
9174 \begin_inset Flex Code
9175 status collapsed
9176
9177 \begin_layout Plain Layout
9178 .module
9179 \end_layout
9180
9181 \end_inset
9182
9183 拡張子を除いたファイル名で指定します—
9184 が,
9185 この文書クラスでは使用できないように設定します.これはたとえば,
9186 特定の学術誌用レイアウトファイルの中で,
9187 定理番号を節毎に振る
9188 \begin_inset Flex Code
9189 status collapsed
9190
9191 \begin_layout Plain Layout
9192 theorems-sec
9193 \end_layout
9194
9195 \end_inset
9196
9197 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,
9198 モジュール内で
9199 \emph on
9200 使用してはいけません
9201 \emph default
9202 .モジュールは,
9203 他のモジュールを排除する独自の枠組みがあります(第
9204 \begin_inset CommandInset ref
9205 LatexCommand ref
9206 reference "subsec:レイアウトモジュール"
9207 nolink "false"
9208
9209 \end_inset
9210
9211 節参照).
9212 \end_layout
9213
9214 \begin_layout Description
9215 \begin_inset Flex Code
9216 status collapsed
9217
9218 \begin_layout Plain Layout
9219 Float
9220 \end_layout
9221
9222 \end_inset
9223
9224  フロートを新規に定義します.詳細は,
9225
9226 \begin_inset CommandInset ref
9227 LatexCommand ref
9228 reference "subsec:フロート"
9229 nolink "false"
9230
9231 \end_inset
9232
9233 節を参照してください.「
9234 \begin_inset Flex Code
9235 status collapsed
9236
9237 \begin_layout Plain Layout
9238 End
9239 \end_layout
9240
9241 \end_inset
9242
9243 」で閉じる必要があります.
9244 \end_layout
9245
9246 \begin_layout Description
9247 \begin_inset Flex Code
9248 status collapsed
9249
9250 \begin_layout Plain Layout
9251 HTMLPreamble
9252 \end_layout
9253
9254 \end_inset
9255
9256  この文書クラスがXHTMLに出力されるときに,
9257
9258 \begin_inset Flex Code
9259 status collapsed
9260
9261 \begin_layout Plain Layout
9262 <head>
9263 \end_layout
9264
9265 \end_inset
9266
9267 ブロックに出力される情報です.これより前に出現した
9268 \begin_inset Flex Code
9269 status collapsed
9270
9271 \begin_layout Plain Layout
9272 HTMLPreamble
9273 \end_layout
9274
9275 \end_inset
9276
9277
9278 \begin_inset Flex Code
9279 status collapsed
9280
9281 \begin_layout Plain Layout
9282 AddToHTMLPreamble
9283 \end_layout
9284
9285 \end_inset
9286
9287 宣言は,
9288 すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
9289
9290 \begin_inset Flex Code
9291 status collapsed
9292
9293 \begin_layout Plain Layout
9294 AddToHTMLPreamble
9295 \end_layout
9296
9297 \end_inset
9298
9299 を使用してください).これは「
9300 \begin_inset Flex Code
9301 status collapsed
9302
9303 \begin_layout Plain Layout
9304 EndPreamble
9305 \end_layout
9306
9307 \end_inset
9308
9309 」で閉じる必要があります.
9310 \end_layout
9311
9312 \begin_layout Description
9313 \begin_inset Flex Code
9314 status collapsed
9315
9316 \begin_layout Plain Layout
9317 HTMLTOCSection
9318 \end_layout
9319
9320 \end_inset
9321
9322  [
9323 \begin_inset Flex Code
9324 status collapsed
9325
9326 \begin_layout Plain Layout
9327 <様式>
9328 \end_layout
9329
9330 \end_inset
9331
9332 ] 文書がHTMLに出力されるときに,
9333 目次や書誌情報などに使用されるレイアウトです.articleの場合には,
9334 これは通常「節」であり,
9335 bookの場合は「章」です.これを指定しない場合には,
9336 \SpecialChar LyX
9337 はどのレイアウトを使用するべきか,
9338 解析しようと試みます.
9339 \end_layout
9340
9341 \begin_layout Description
9342 \begin_inset Flex Code
9343 status collapsed
9344
9345 \begin_layout Plain Layout
9346 IfCounter 
9347 \end_layout
9348
9349 \end_inset
9350
9351  [
9352 \begin_inset Flex Code
9353 status collapsed
9354
9355 \begin_layout Plain Layout
9356 <カウンタ>
9357 \end_layout
9358
9359 \end_inset
9360
9361 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,
9362 この節は無視されます.「
9363 \begin_inset Flex Code
9364 status collapsed
9365
9366 \begin_layout Plain Layout
9367 End
9368 \end_layout
9369
9370 \end_inset
9371
9372 」で閉じる必要があります.
9373 \begin_inset Newline newline
9374 \end_inset
9375
9376 カウンタについての詳細は,
9377
9378 \begin_inset CommandInset ref
9379 LatexCommand ref
9380 reference "subsec:カウンタ"
9381 nolink "false"
9382
9383 \end_inset
9384
9385 節をご覧ください.
9386 \end_layout
9387
9388 \begin_layout Description
9389 \begin_inset Flex Code
9390 status collapsed
9391
9392 \begin_layout Plain Layout
9393 IfStyle
9394 \end_layout
9395
9396 \end_inset
9397
9398  [
9399 \begin_inset Flex Code
9400 status collapsed
9401
9402 \begin_layout Plain Layout
9403 <様式>
9404 \end_layout
9405
9406 \end_inset
9407
9408 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,
9409 この節は無視されます.「
9410 \begin_inset Flex Code
9411 status collapsed
9412
9413 \begin_layout Plain Layout
9414 End
9415 \end_layout
9416
9417 \end_inset
9418
9419 」で閉じる必要があります.
9420 \end_layout
9421
9422 \begin_layout Description
9423 \begin_inset Flex Code
9424 status collapsed
9425
9426 \begin_layout Plain Layout
9427 Input
9428 \end_layout
9429
9430 \end_inset
9431
9432  [
9433 \begin_inset Flex Code
9434 status collapsed
9435
9436 \begin_layout Plain Layout
9437 <ファイル名>
9438 \end_layout
9439
9440 \end_inset
9441
9442 ]
9443 \lang english
9444  
9445 \lang japanese
9446 名称の指し示すように,
9447 このコマンドは,
9448 同じコマンドを何度も指定せずに済むように,
9449 別のレイアウト定義ファイルを取り込ませます.よく使われる例は,
9450 基本的なレイアウトのほとんどを収録している
9451 \begin_inset Flex Code
9452 status collapsed
9453
9454 \begin_layout Plain Layout
9455 stdclass.inc
9456 \end_layout
9457
9458 \end_inset
9459
9460 のような標準レイアウトファイルです.
9461 \end_layout
9462
9463 \begin_layout Description
9464 \begin_inset Flex Code
9465 status collapsed
9466
9467 \begin_layout Plain Layout
9468 InputGlobal
9469 \end_layout
9470
9471 \end_inset
9472
9473  [
9474 \begin_inset Flex Code
9475 status collapsed
9476
9477 \begin_layout Plain Layout
9478 <ファイル名>
9479 \end_layout
9480
9481 \end_inset
9482
9483 ] は
9484 \begin_inset Flex Code
9485 status collapsed
9486
9487 \begin_layout Plain Layout
9488 Input
9489 \end_layout
9490
9491 \end_inset
9492
9493 コマンドの派生ですが,
9494 ユーザーディレクトリのファイルは探しません.これによって,
9495 ユーザーディレクトリ中に
9496 \begin_inset Flex Code
9497 status collapsed
9498
9499 \begin_layout Plain Layout
9500 name.layout
9501 \end_layout
9502
9503 \end_inset
9504
9505 または
9506 \begin_inset Flex Code
9507 status collapsed
9508
9509 \begin_layout Plain Layout
9510 name.inc
9511 \end_layout
9512
9513 \end_inset
9514
9515 というファイルを作成して,
9516
9517 \begin_inset Flex Code
9518 status collapsed
9519
9520 \begin_layout Plain Layout
9521 InputGlobal name
9522 \end_layout
9523
9524 \end_inset
9525
9526 あるいは
9527 \begin_inset Flex Code
9528 status collapsed
9529
9530 \begin_layout Plain Layout
9531 InputGlobal name.inc
9532 \end_layout
9533
9534 \end_inset
9535
9536 と指定し(ファイル名同順),
9537 同名のグローバルファイルを読み込むことができます(
9538 \begin_inset Flex Code
9539 status collapsed
9540
9541 \begin_layout Plain Layout
9542 Input
9543 \end_layout
9544
9545 \end_inset
9546
9547 ではファイルを再帰的に読み込んでしまいます).このようにすることで,
9548 グローバルファイル全体をコピーすることなく,
9549 修正できるようになります.
9550 \end_layout
9551
9552 \begin_layout Description
9553 \begin_inset Flex Code
9554 status collapsed
9555
9556 \begin_layout Plain Layout
9557 InsetLayout
9558 \end_layout
9559
9560 \end_inset
9561
9562  [
9563 \begin_inset Flex Code
9564 status collapsed
9565
9566 \begin_layout Plain Layout
9567 <型>
9568 \end_layout
9569
9570 \end_inset
9571
9572 ]
9573 \lang english
9574  
9575 \lang japanese
9576 このセクションは,
9577 差込枠のレイアウトを定義(再定義)します.これは,
9578 既存の差込枠にも,
9579 新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
9580 \begin_inset Flex Code
9581 status collapsed
9582
9583 \begin_layout Plain Layout
9584 End
9585 \end_layout
9586
9587 \end_inset
9588
9589 」で閉じる必要があります.
9590 \begin_inset Newline newline
9591 \end_inset
9592
9593 詳しい情報は,
9594
9595 \begin_inset CommandInset ref
9596 LatexCommand ref
9597 reference "subsec:任意設定差込枠"
9598 nolink "false"
9599
9600 \end_inset
9601
9602 節をご覧ください.
9603 \end_layout
9604
9605 \begin_layout Description
9606 \begin_inset Flex Code
9607 status collapsed
9608
9609 \begin_layout Plain Layout
9610 LeftMargin
9611 \end_layout
9612
9613 \end_inset
9614
9615  [
9616 \begin_inset Flex Code
9617 status collapsed
9618
9619 \begin_layout Plain Layout
9620 文字列
9621 \end_layout
9622
9623 \end_inset
9624
9625 ] 画面上の左余白の幅を指示する文字列.例:
9626
9627 \begin_inset Flex Code
9628 status collapsed
9629
9630 \begin_layout Plain Layout
9631 MMMMM
9632 \end_layout
9633
9634 \end_inset
9635
9636 」.(これは,
9637 「2ex」のような「長さ」ではないことに注意してください.)
9638 \end_layout
9639
9640 \begin_layout Description
9641 \begin_inset Flex Code
9642 status collapsed
9643
9644 \begin_layout Plain Layout
9645 MaxCiteNames
9646 \end_layout
9647
9648 \end_inset
9649
9650  [
9651 \begin_inset Flex Code
9652 status collapsed
9653
9654 \begin_layout Plain Layout
9655 整数
9656 \end_layout
9657
9658 \end_inset
9659
9660 ] 著者-刊行年引用で,
9661 引用が「第一著者 et al.」に切り替わる前に,
9662 表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
9663 \begin_inset CommandInset ref
9664 LatexCommand ref
9665 reference "subsec:引用エンジンファイル"
9666 plural "false"
9667 caps "false"
9668 noprefix "false"
9669 nolink "false"
9670
9671 \end_inset
9672
9673 節参照).
9674 \end_layout
9675
9676 \begin_layout Description
9677 \begin_inset Flex Code
9678 status collapsed
9679
9680 \begin_layout Plain Layout
9681 ModifyInsetLayout
9682 \end_layout
9683
9684 \end_inset
9685
9686  [
9687 \begin_inset Flex Code
9688 status collapsed
9689
9690 \begin_layout Plain Layout
9691 <型>
9692 \end_layout
9693
9694 \end_inset
9695
9696 ] は差込枠のレイアウトを修正します.レイアウトが存在しない場合には,
9697 このセクションは無視されます.「
9698 \begin_inset Flex Code
9699 status collapsed
9700
9701 \begin_layout Plain Layout
9702 End
9703 \end_layout
9704
9705 \end_inset
9706
9707 」で閉じる必要があります.
9708 \end_layout
9709
9710 \begin_layout Description
9711 \begin_inset Flex Code
9712 status collapsed
9713
9714 \begin_layout Plain Layout
9715 NoCounter
9716 \end_layout
9717
9718 \end_inset
9719
9720  [
9721 \begin_inset Flex Code
9722 status collapsed
9723
9724 \begin_layout Plain Layout
9725 <カウンタ>
9726 \end_layout
9727
9728 \end_inset
9729
9730 ] このコマンドは,
9731 既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
9732 \end_layout
9733
9734 \begin_layout Description
9735 \begin_inset Flex Code
9736 status collapsed
9737
9738 \begin_layout Plain Layout
9739 NoFloat
9740 \end_layout
9741
9742 \end_inset
9743
9744  [
9745 \begin_inset Flex Code
9746 status collapsed
9747
9748 \begin_layout Plain Layout
9749 <フロート>
9750 \end_layout
9751
9752 \end_inset
9753
9754 ] このコマンドは既存のフロートを削除します.これは特に,
9755 Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
9756 \end_layout
9757
9758 \begin_layout Description
9759 \begin_inset Flex Code
9760 status collapsed
9761
9762 \begin_layout Plain Layout
9763 NoStyle
9764 \end_layout
9765
9766 \end_inset
9767
9768  [
9769 \begin_inset Flex Code
9770 status collapsed
9771
9772 \begin_layout Plain Layout
9773 <様式>
9774 \end_layout
9775
9776 \end_inset
9777
9778 ] このコマンドは既存の様式を削除します.これは特に,
9779 Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
9780 \end_layout
9781
9782 \begin_layout Description
9783 \begin_inset Flex Code
9784 status collapsed
9785
9786 \begin_layout Plain Layout
9787 OutlinerName
9788 \end_layout
9789
9790 \end_inset
9791
9792  [
9793 \begin_inset Flex Code
9794 status collapsed
9795
9796 \begin_layout Plain Layout
9797 <型>
9798 \end_layout
9799
9800 \end_inset
9801
9802 ] [
9803 \begin_inset Flex Code
9804 status collapsed
9805
9806 \begin_layout Plain Layout
9807 <文字列>
9808 \end_layout
9809
9810 \end_inset
9811
9812 ] 型が
9813 \begin_inset Flex Code
9814 status collapsed
9815
9816 \begin_layout Plain Layout
9817 <型>
9818 \end_layout
9819
9820 \end_inset
9821
9822 で名前が
9823 \begin_inset Flex Code
9824 status collapsed
9825
9826 \begin_layout Plain Layout
9827 <文字列>
9828 \end_layout
9829
9830 \end_inset
9831
9832 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
9833 \end_layout
9834
9835 \begin_layout Description
9836 \begin_inset Flex Code
9837 status collapsed
9838
9839 \begin_layout Plain Layout
9840 OutputFormat
9841 \end_layout
9842
9843 \end_inset
9844
9845  [
9846 \begin_inset Flex Code
9847 status collapsed
9848
9849 \begin_layout Plain Layout
9850 <形式>
9851 \end_layout
9852
9853 \end_inset
9854
9855 ] このクラスによって生成されるファイル形式を示す文字列(
9856 \family sans
9857 設定
9858 \family default
9859 ダイアログで定義される形のもの).おもに,
9860
9861 \begin_inset Flex Code
9862 status collapsed
9863
9864 \begin_layout Plain Layout
9865 OutputType
9866 \end_layout
9867
9868 \end_inset
9869
9870
9871 \begin_inset Flex Code
9872 status collapsed
9873
9874 \begin_layout Plain Layout
9875 literate
9876 \end_layout
9877
9878 \end_inset
9879
9880 になっていて,
9881 新しい型のliterate文書を定義したい時に便利です.対応する
9882 \begin_inset Flex Code
9883 status collapsed
9884
9885 \begin_layout Plain Layout
9886 OutputType
9887 \end_layout
9888
9889 \end_inset
9890
9891 パラメーターに遭遇したときには,
9892 この文字列は,
9893
9894 \begin_inset Flex Code
9895 status collapsed
9896
9897 \begin_layout Plain Layout
9898 lat
9899 \emph on
9900 ex
9901 \end_layout
9902
9903 \end_inset
9904
9905 」にリセットされます.
9906 \end_layout
9907
9908 \begin_layout Description
9909 \begin_inset Flex Code
9910 status collapsed
9911
9912 \begin_layout Plain Layout
9913 OutputType
9914 \end_layout
9915
9916 \end_inset
9917
9918  [
9919 \begin_inset Flex Code
9920 status collapsed
9921
9922 \begin_layout Plain Layout
9923
9924 \emph on
9925 lat
9926 \emph default
9927 ex
9928 \end_layout
9929
9930 \end_inset
9931
9932 ,
9933  
9934 \begin_inset Flex Code
9935 status collapsed
9936
9937 \begin_layout Plain Layout
9938 literate
9939 \end_layout
9940
9941 \end_inset
9942
9943 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,
9944 取り得る値は「docbook」・「latex」・「literate」です.
9945 \end_layout
9946
9947 \begin_layout Description
9948 \begin_inset Flex Code
9949 status collapsed
9950
9951 \begin_layout Plain Layout
9952 PackageOptions
9953 \end_layout
9954
9955 \end_inset
9956
9957  [
9958 \begin_inset Flex Code
9959 status collapsed
9960
9961 \begin_layout Plain Layout
9962 文字列
9963 \end_layout
9964
9965 \end_inset
9966
9967  
9968 \begin_inset Flex Code
9969 status collapsed
9970
9971 \begin_layout Plain Layout
9972 文字列
9973 \end_layout
9974
9975 \end_inset
9976
9977 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,
9978
9979 \begin_inset Flex Code
9980 status collapsed
9981
9982 \begin_layout Plain Layout
9983 PackageOptions natbib square
9984 \end_layout
9985
9986 \end_inset
9987
9988 」とすると,
9989
9990 \begin_inset Flex Code
9991 status collapsed
9992
9993 \begin_layout Plain Layout
9994 natbib
9995 \end_layout
9996
9997 \end_inset
9998
9999
10000 \begin_inset Flex Code
10001 status collapsed
10002
10003 \begin_layout Plain Layout
10004 square
10005 \end_layout
10006
10007 \end_inset
10008
10009 オプションとともに読み込みます(\SpecialChar TeX
10010 perts向けに述べると,
10011 これは,
10012
10013 \begin_inset Flex Code
10014 status collapsed
10015
10016 \begin_layout Plain Layout
10017 natbib
10018 \end_layout
10019
10020 \end_inset
10021
10022 を読み込む前に,
10023 \SpecialChar LyX
10024
10025 \begin_inset Flex Code
10026 status collapsed
10027
10028 \begin_layout Plain Layout
10029
10030 \backslash
10031 PassOptionsToPackage{natbib}{square}
10032 \end_layout
10033
10034 \end_inset
10035
10036 を出力させます).
10037 \end_layout
10038
10039 \begin_layout Description
10040 \begin_inset Flex Code
10041 status collapsed
10042
10043 \begin_layout Plain Layout
10044 PageSize
10045 \end_layout
10046
10047 \end_inset
10048
10049  [
10050 \begin_inset Flex Code
10051 status collapsed
10052
10053 \begin_layout Plain Layout
10054
10055 \emph on
10056 custom
10057 \emph default
10058 ,
10059  letter,
10060  legal,
10061  executive,
10062  a0,
10063  a1,
10064  a2,
10065  a3,
10066  a4,
10067  a5,
10068  a6,
10069  b0,
10070  b1,
10071  b2,
10072  b3,
10073  b4,
10074  b5,
10075  b6,
10076  c0,
10077  c1,
10078  c2,
10079  c3,
10080  c4,
10081  c5,
10082  c6,
10083  b0j,
10084  b1j,
10085  b2j,
10086  b3j,
10087  b4j,
10088  b5j,
10089  b6j
10090 \end_layout
10091
10092 \end_inset
10093
10094 ] 既定のページサイズです.これは一部の変換子に使われます.
10095 \end_layout
10096
10097 \begin_layout Description
10098 \begin_inset Flex Code
10099 status collapsed
10100
10101 \begin_layout Plain Layout
10102 PageStyle
10103 \end_layout
10104
10105 \end_inset
10106
10107  [
10108 \emph on
10109
10110 \begin_inset Flex Code
10111 status collapsed
10112
10113 \begin_layout Plain Layout
10114 plain
10115 \end_layout
10116
10117 \end_inset
10118
10119
10120 \emph default
10121 ,
10122  
10123 \begin_inset Flex Code
10124 status collapsed
10125
10126 \begin_layout Plain Layout
10127 empty
10128 \end_layout
10129
10130 \end_inset
10131
10132 ,
10133  
10134 \begin_inset Flex Code
10135 status collapsed
10136
10137 \begin_layout Plain Layout
10138 headings
10139 \end_layout
10140
10141 \end_inset
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 Preamble
10163 \end_layout
10164
10165 \end_inset
10166
10167  \SpecialChar LaTeX
10168 文書のプリアンブルを設定します.前に行った
10169 \begin_inset Flex Code
10170 status collapsed
10171
10172 \begin_layout Plain Layout
10173 Preamble
10174 \end_layout
10175
10176 \end_inset
10177
10178 宣言や
10179 \begin_inset Flex Code
10180 status collapsed
10181
10182 \begin_layout Plain Layout
10183 AddToPreamble
10184 \end_layout
10185
10186 \end_inset
10187
10188 宣言は,
10189 すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
10190
10191 \begin_inset Flex Code
10192 status collapsed
10193
10194 \begin_layout Plain Layout
10195 AddToPreamble
10196 \end_layout
10197
10198 \end_inset
10199
10200 を使用してください.)「
10201 \begin_inset Flex Code
10202 status collapsed
10203
10204 \begin_layout Plain Layout
10205 EndPreamble
10206 \end_layout
10207
10208 \end_inset
10209
10210 」で閉じる必要があります.
10211 \end_layout
10212
10213 \begin_layout Description
10214 \begin_inset Flex Code
10215 status collapsed
10216
10217 \begin_layout Plain Layout
10218 ProvideInsetLayout
10219 \end_layout
10220
10221 \end_inset
10222
10223  [
10224 \begin_inset Flex Code
10225 status collapsed
10226
10227 \begin_layout Plain Layout
10228 <型>
10229 \end_layout
10230
10231 \end_inset
10232
10233 ] 差込枠のレイアウトが存在しない場合に,
10234 それを定義します.レイアウトが存在する場合には,
10235 このセクションは無視されます.「
10236 \begin_inset Flex Code
10237 status collapsed
10238
10239 \begin_layout Plain Layout
10240 End
10241 \end_layout
10242
10243 \end_inset
10244
10245 」で閉じる必要があります.
10246 \end_layout
10247
10248 \begin_layout Description
10249 \begin_inset Flex Code
10250 status collapsed
10251
10252 \begin_layout Plain Layout
10253 Provides
10254 \end_layout
10255
10256 \end_inset
10257
10258  [
10259 \begin_inset Flex Code
10260 status collapsed
10261
10262 \begin_layout Plain Layout
10263 文字列
10264 \end_layout
10265
10266 \end_inset
10267
10268 ] [
10269 \begin_inset Flex Code
10270 status collapsed
10271
10272 \begin_layout Plain Layout
10273
10274 \emph on
10275 0
10276 \end_layout
10277
10278 \end_inset
10279
10280 ,
10281  
10282 \begin_inset Flex Code
10283 status collapsed
10284
10285 \begin_layout Plain Layout
10286 1
10287 \end_layout
10288
10289 \end_inset
10290
10291 ] このクラスが
10292 \begin_inset Flex Code
10293 status collapsed
10294
10295 \begin_layout Plain Layout
10296 文字列
10297 \end_layout
10298
10299 \end_inset
10300
10301 で示される機能を既に提供しているかどうかを示します.機能は,
10302 一般的にパッケージ名(
10303 \begin_inset Flex Code
10304 status collapsed
10305
10306 \begin_layout Plain Layout
10307 amsmath
10308 \end_layout
10309
10310 \end_inset
10311
10312
10313 \begin_inset Flex Code
10314 status collapsed
10315
10316 \begin_layout Plain Layout
10317 makeidx
10318 \end_layout
10319
10320 \end_inset
10321
10322 ・\SpecialChar ldots
10323 )やマクロ名(
10324 \begin_inset Flex Code
10325 status collapsed
10326
10327 \begin_layout Plain Layout
10328 url
10329 \end_layout
10330
10331 \end_inset
10332
10333
10334 \begin_inset Flex Code
10335 status collapsed
10336
10337 \begin_layout Plain Layout
10338 boldsymbol
10339 \end_layout
10340
10341 \end_inset
10342
10343 ・\SpecialChar ldots
10344 )です.機能一覧については,
10345
10346 \begin_inset CommandInset ref
10347 LatexCommand ref
10348 reference "chap:関数一覧"
10349 nolink "false"
10350
10351 \end_inset
10352
10353 を参照.
10354 \end_layout
10355
10356 \begin_layout Description
10357 \begin_inset Flex Code
10358 status collapsed
10359
10360 \begin_layout Plain Layout
10361 ProvidesModule
10362 \end_layout
10363
10364 \end_inset
10365
10366  [
10367 \begin_inset Flex Code
10368 status collapsed
10369
10370 \begin_layout Plain Layout
10371 文字列
10372 \end_layout
10373
10374 \end_inset
10375
10376 ] このレイアウトが
10377 \begin_inset Flex Code
10378 status collapsed
10379
10380 \begin_layout Plain Layout
10381 文字列
10382 \end_layout
10383
10384 \end_inset
10385
10386 で表されているモジュールの機能を提供することを示し,
10387
10388 \begin_inset Flex Code
10389 status collapsed
10390
10391 \begin_layout Plain Layout
10392 .module
10393 \end_layout
10394
10395 \end_inset
10396
10397 拡張子を除いたファイル名で指定します.
10398 \begin_inset Flex Code
10399 status collapsed
10400
10401 \begin_layout Plain Layout
10402 DefaultModule
10403 \end_layout
10404
10405 \end_inset
10406
10407 タグを使用すると,
10408 モジュールを使用しなくてはならないことを示しますが,
10409 このタグは主に,
10410 このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いられます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
10411 \end_layout
10412
10413 \begin_layout Description
10414 \begin_inset Flex Code
10415 status collapsed
10416
10417 \begin_layout Plain Layout
10418 Requires
10419 \end_layout
10420
10421 \end_inset
10422
10423  [
10424 \begin_inset Flex Code
10425 status collapsed
10426
10427 \begin_layout Plain Layout
10428 文字列
10429 \end_layout
10430
10431 \end_inset
10432
10433 ] このクラスが
10434 \begin_inset Flex Code
10435 status collapsed
10436
10437 \begin_layout Plain Layout
10438 文字列
10439 \end_layout
10440
10441 \end_inset
10442
10443 で表されている機能を要求することを示します.機能が複数ある場合には,
10444 コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してください(機能一覧については
10445 \begin_inset CommandInset ref
10446 LatexCommand ref
10447 reference "chap:関数一覧"
10448 nolink "false"
10449
10450 \end_inset
10451
10452 を参照).特定のオプションをとるパッケージを要求する場合,
10453
10454 \begin_inset Flex Code
10455 status collapsed
10456
10457 \begin_layout Plain Layout
10458 PackageOptions
10459 \end_layout
10460
10461 \end_inset
10462
10463 を追加して使うことができます.
10464 \end_layout
10465
10466 \begin_layout Description
10467 \begin_inset Flex Code
10468 status collapsed
10469
10470 \begin_layout Plain Layout
10471 RightMargin
10472 \end_layout
10473
10474 \end_inset
10475
10476  [
10477 \begin_inset Flex Code
10478 status collapsed
10479
10480 \begin_layout Plain Layout
10481 文字列
10482 \end_layout
10483
10484 \end_inset
10485
10486 ] 画面上の右余白の幅を指示する文字列.例:
10487
10488 \begin_inset Flex Code
10489 status collapsed
10490
10491 \begin_layout Plain Layout
10492 MMMMM
10493 \end_layout
10494
10495 \end_inset
10496
10497 」.
10498 \end_layout
10499
10500 \begin_layout Description
10501 \begin_inset Flex Code
10502 status collapsed
10503
10504 \begin_layout Plain Layout
10505 SecNumDepth
10506 \end_layout
10507
10508 \end_inset
10509
10510  [
10511 \begin_inset Flex Code
10512 status collapsed
10513
10514 \begin_layout Plain Layout
10515 int=3
10516 \end_layout
10517
10518 \end_inset
10519
10520 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
10521 における
10522 \begin_inset Flex Code
10523 status collapsed
10524
10525 \begin_layout Plain Layout
10526 secnumdepth
10527 \end_layout
10528
10529 \end_inset
10530
10531 カウンタに対応します.
10532 \end_layout
10533
10534 \begin_layout Description
10535 \begin_inset Flex Code
10536 status collapsed
10537
10538 \begin_layout Plain Layout
10539 Sides
10540 \end_layout
10541
10542 \end_inset
10543
10544  [
10545 \emph on
10546
10547 \begin_inset Flex Code
10548 status collapsed
10549
10550 \begin_layout Plain Layout
10551 1
10552 \end_layout
10553
10554 \end_inset
10555
10556
10557 \emph default
10558 ,
10559 \begin_inset space \thinspace{}
10560 \end_inset
10561
10562
10563 \begin_inset Flex Code
10564 status collapsed
10565
10566 \begin_layout Plain Layout
10567 2
10568 \end_layout
10569
10570 \end_inset
10571
10572 ] クラスの既定値として,
10573 用紙の片面に印字するか両面に印字するかを指定します.
10574 \begin_inset Flex MenuItem
10575 status collapsed
10576
10577 \begin_layout Plain Layout
10578 文書\SpecialChar menuseparator
10579 設定
10580 \end_layout
10581
10582 \end_inset
10583
10584 ダイアログで変更することができます.
10585 \end_layout
10586
10587 \begin_layout Description
10588 \begin_inset Flex Code
10589 status collapsed
10590
10591 \begin_layout Plain Layout
10592 Style
10593 \end_layout
10594
10595 \end_inset
10596
10597  [
10598 \begin_inset Flex Code
10599 status collapsed
10600
10601 \begin_layout Plain Layout
10602 <名称>
10603 \end_layout
10604
10605 \end_inset
10606
10607 ]
10608 \lang english
10609  
10610 \lang japanese
10611 この部分は段落様式を定義します.様式がまだ存在していなければ,
10612 生成されます.既に存在していれば,
10613 そのパラメータが修正されます.「
10614 \begin_inset Flex Code
10615 status collapsed
10616
10617 \begin_layout Plain Layout
10618 End
10619 \end_layout
10620
10621 \end_inset
10622
10623 」で閉じる必要があります.
10624 \begin_inset Newline newline
10625 \end_inset
10626
10627 段落様式に関する詳細は,
10628
10629 \begin_inset CommandInset ref
10630 LatexCommand ref
10631 reference "subsec:段落様式-XHTML"
10632 nolink "false"
10633
10634 \end_inset
10635
10636 をご覧ください.
10637 \end_layout
10638
10639 \begin_layout Description
10640 \begin_inset Flex Code
10641 status collapsed
10642
10643 \begin_layout Plain Layout
10644 TableStyle
10645 \end_layout
10646
10647 \end_inset
10648
10649  [
10650 \begin_inset Flex Code
10651 status collapsed
10652
10653 \begin_layout Plain Layout
10654 <名称>
10655 \end_layout
10656
10657 \end_inset
10658
10659 ] は,
10660 表を挿入する際に用いられる既定の表様式を定義します.下記の様式が利用可能です.
10661 \end_layout
10662
10663 \begin_deeper
10664 \begin_layout Itemize
10665 \begin_inset Flex Code
10666 status collapsed
10667
10668 \begin_layout Plain Layout
10669 Formal_with_Footline
10670 \end_layout
10671
10672 \end_inset
10673
10674
10675 フォーマル様式(「ブックタブ」様式).すなわち,
10676 水平罫線のみで最上部と最下部が太く,
10677 ときに第一行と最終行は表本体とは細い内部罫線で区切られます.
10678 \end_layout
10679
10680 \begin_layout Itemize
10681 \begin_inset Flex Code
10682 status collapsed
10683
10684 \begin_layout Plain Layout
10685 Formal_without_Footline
10686 \end_layout
10687
10688 \end_inset
10689
10690
10691 上記と同様ですが,
10692 最終行は本体から内部罫線で区切られることはありません.
10693 \end_layout
10694
10695 \begin_layout Itemize
10696 \begin_inset Flex Code
10697 status collapsed
10698
10699 \begin_layout Plain Layout
10700 Simple_Grid
10701 \end_layout
10702
10703 \end_inset
10704
10705
10706 シンプルな表罫線.
10707 \end_layout
10708
10709 \begin_layout Itemize
10710 \begin_inset Flex Code
10711 status collapsed
10712
10713 \begin_layout Plain Layout
10714 Grid_with_Head
10715 \end_layout
10716
10717 \end_inset
10718
10719
10720
10721 \begin_inset Flex Code
10722 status collapsed
10723
10724 \begin_layout Plain Layout
10725 Simple_Grid
10726 \end_layout
10727
10728 \end_inset
10729
10730 と同様ですが,
10731 ヘッダ行は2本目の罫線が余分に引かれます.これは\SpecialChar LyX
10732 の既定様式でもあります.
10733 \end_layout
10734
10735 \begin_layout Itemize
10736 \begin_inset Flex Code
10737 status collapsed
10738
10739 \begin_layout Plain Layout
10740 No_Borders
10741 \end_layout
10742
10743 \end_inset
10744
10745
10746 罫線のない表です.
10747 \end_layout
10748
10749 \end_deeper
10750 \begin_layout Description
10751 \begin_inset Flex Code
10752 status collapsed
10753
10754 \begin_layout Plain Layout
10755 TitleLatexName
10756 \end_layout
10757
10758 \end_inset
10759
10760  [
10761 \begin_inset Flex Code
10762 status collapsed
10763
10764 \begin_layout Plain Layout
10765 文字列="maketitle"
10766 \end_layout
10767
10768 \end_inset
10769
10770 ] コマンド名あるいは環境名.
10771 \begin_inset Flex Code
10772 status collapsed
10773
10774 \begin_layout Plain Layout
10775 TitleLatexType
10776 \end_layout
10777
10778 \end_inset
10779
10780 とともに使用します.
10781 \end_layout
10782
10783 \begin_layout Description
10784 \begin_inset Flex Code
10785 status collapsed
10786
10787 \begin_layout Plain Layout
10788 TitleLatexType
10789 \end_layout
10790
10791 \end_inset
10792
10793  [
10794 \begin_inset Flex Code
10795 status collapsed
10796
10797 \begin_layout Plain Layout
10798
10799 \emph on
10800 CommandAfter
10801 \end_layout
10802
10803 \end_inset
10804
10805 ,
10806  
10807 \begin_inset Flex Code
10808 status collapsed
10809
10810 \begin_layout Plain Layout
10811 Environment
10812 \end_layout
10813
10814 \end_inset
10815
10816 ] 文書のタイトルを定義するのに,
10817 どのようなマークアップを使用するのかを示します.
10818 \begin_inset Flex Code
10819 status collapsed
10820
10821 \begin_layout Plain Layout
10822 CommandAfter
10823 \end_layout
10824
10825 \end_inset
10826
10827 は,
10828
10829 \begin_inset Flex Code
10830 status collapsed
10831
10832 \begin_layout Plain Layout
10833 InTitle
10834 \begin_inset space ~
10835 \end_inset
10836
10837 1
10838 \end_layout
10839
10840 \end_inset
10841
10842 」が指定されている最後のレイアウトの後に,
10843
10844 \begin_inset Flex Code
10845 status collapsed
10846
10847 \begin_layout Plain Layout
10848 TitleLatexName
10849 \end_layout
10850
10851 \end_inset
10852
10853 で指定したマクロ名を挿入することを意味します.
10854 \begin_inset Flex Code
10855 status collapsed
10856
10857 \begin_layout Plain Layout
10858 Environment
10859 \end_layout
10860
10861 \end_inset
10862
10863 は,
10864
10865 \begin_inset Flex Code
10866 status collapsed
10867
10868 \begin_layout Plain Layout
10869 InTitle
10870 \begin_inset space ~
10871 \end_inset
10872
10873 1
10874 \end_layout
10875
10876 \end_inset
10877
10878 」を持つ段落群を
10879 \begin_inset Flex Code
10880 status collapsed
10881
10882 \begin_layout Plain Layout
10883 TitleLatexName
10884 \end_layout
10885
10886 \end_inset
10887
10888 で指定した環境でくるむ場合に対応します.
10889 \end_layout
10890
10891 \begin_layout Description
10892 \begin_inset Flex Code
10893 status collapsed
10894
10895 \begin_layout Plain Layout
10896 TocDepth
10897 \end_layout
10898
10899 \end_inset
10900
10901  [
10902 \begin_inset Flex Code
10903 status collapsed
10904
10905 \begin_layout Plain Layout
10906 int=3
10907 \end_layout
10908
10909 \end_inset
10910
10911 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
10912
10913 \begin_inset Flex Code
10914 status collapsed
10915
10916 \begin_layout Plain Layout
10917 tocdepth
10918 \end_layout
10919
10920 \end_inset
10921
10922 カウンタに対応します.
10923 \end_layout
10924
10925 \begin_layout Subsection
10926 \begin_inset Flex Code
10927 status collapsed
10928
10929 \begin_layout Plain Layout
10930 ClassOptions
10931 \end_layout
10932
10933 \end_inset
10934
10935
10936 \begin_inset CommandInset label
10937 LatexCommand label
10938 name "subsec:ClassOptions"
10939
10940 \end_inset
10941
10942
10943 \end_layout
10944
10945 \begin_layout Standard
10946 \begin_inset Flex Code
10947 status collapsed
10948
10949 \begin_layout Plain Layout
10950 ClassOptions
10951 \end_layout
10952
10953 \end_inset
10954
10955 部は,
10956 以下の項目を取り得ます.
10957 \end_layout
10958
10959 \begin_layout Description
10960 \begin_inset Flex Code
10961 status collapsed
10962
10963 \begin_layout Plain Layout
10964 FontSize
10965 \end_layout
10966
10967 \end_inset
10968
10969  [
10970 \begin_inset Flex Code
10971 status collapsed
10972
10973 \begin_layout Plain Layout
10974 文字列="10|11|12"
10975 \end_layout
10976
10977 \end_inset
10978
10979 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
10980 \begin_inset Flex Code
10981 status collapsed
10982
10983 \begin_layout Plain Layout
10984 |
10985 \end_layout
10986
10987 \end_inset
10988
10989 」で区切ります.任意の数値が使用できます.
10990 \end_layout
10991
10992 \begin_layout Description
10993 \begin_inset Flex Code
10994 status collapsed
10995
10996 \begin_layout Plain Layout
10997 FontSizeFormat
10998 \end_layout
10999
11000 \end_inset
11001
11002  [
11003 \begin_inset Flex Code
11004 status collapsed
11005
11006 \begin_layout Plain Layout
11007 文字列
11008 \end_layout
11009
11010 \end_inset
11011
11012 ] フォント寸法オプションのフォーマット.既定値:
11013
11014 \begin_inset Flex Code
11015 status collapsed
11016
11017 \begin_layout Plain Layout
11018 $$spt
11019 \end_layout
11020
11021 \end_inset
11022
11023
11024 ここで
11025 \begin_inset Flex Code
11026 status collapsed
11027
11028 \begin_layout Plain Layout
11029 $$s
11030 \end_layout
11031
11032 \end_inset
11033
11034 はフォント寸法のプレイスホルダです.
11035 \end_layout
11036
11037 \begin_layout Description
11038 \begin_inset Flex Code
11039 status collapsed
11040
11041 \begin_layout Plain Layout
11042 PageSize
11043 \end_layout
11044
11045 \end_inset
11046
11047  [
11048 \begin_inset Flex Code
11049 status collapsed
11050
11051 \begin_layout Plain Layout
11052 文字列="letter|\SpecialChar allowbreak
11053 legal|\SpecialChar allowbreak
11054 executive|\SpecialChar allowbreak
11055 a0|\SpecialChar allowbreak
11056 a1|\SpecialChar allowbreak
11057 a2|\SpecialChar allowbreak
11058 a3|\SpecialChar allowbreak
11059 a4|\SpecialChar allowbreak
11060 a5|\SpecialChar allowbreak
11061 a6|\SpecialChar allowbreak
11062 b0|\SpecialChar allowbreak
11063 b1|\SpecialChar allowbreak
11064 b2|\SpecialChar allowbreak
11065 b3|\SpecialChar allowbreak
11066 b4|\SpecialChar allowbreak
11067 b5|\SpecialChar allowbreak
11068 b6|\SpecialChar allowbreak
11069 c0|\SpecialChar allowbreak
11070 c1|\SpecialChar allowbreak
11071 c2|\SpecialChar allowbreak
11072 c3|\SpecialChar allowbreak
11073 c4|\SpecialChar allowbreak
11074 c5|\SpecialChar allowbreak
11075 c6|\SpecialChar allowbreak
11076 b0j|\SpecialChar allowbreak
11077 b1j|\SpecialChar allowbreak
11078 b2j|\SpecialChar allowbreak
11079 b3j|\SpecialChar allowbreak
11080 b4j|\SpecialChar allowbreak
11081 b5j|\SpecialChar allowbreak
11082 b6j"
11083 \end_layout
11084
11085 \end_inset
11086
11087 ] 使用できるページ寸法を「
11088 \begin_inset Flex Code
11089 status collapsed
11090
11091 \begin_layout Plain Layout
11092 |
11093 \end_layout
11094
11095 \end_inset
11096
11097 」で区切ったのリスト.現在,
11098 表記の寸法のみサポートされています.他の寸法は,
11099 クラスオプション設定で入力することができます.
11100 \end_layout
11101
11102 \begin_layout Description
11103 \begin_inset Flex Code
11104 status collapsed
11105
11106 \begin_layout Plain Layout
11107 PageSizeFormat
11108 \end_layout
11109
11110 \end_inset
11111
11112  [
11113 \begin_inset Flex Code
11114 status collapsed
11115
11116 \begin_layout Plain Layout
11117 文字列
11118 \end_layout
11119
11120 \end_inset
11121
11122 ] ページ寸法オプションの書式.既定値:
11123
11124 \begin_inset Flex Code
11125 status collapsed
11126
11127 \begin_layout Plain Layout
11128 $$spaper
11129 \end_layout
11130
11131 \end_inset
11132
11133 .ここで
11134 \begin_inset Flex Code
11135 status collapsed
11136
11137 \begin_layout Plain Layout
11138 $$s
11139 \end_layout
11140
11141 \end_inset
11142
11143 はページ寸法のプレイスホルダです.
11144 \end_layout
11145
11146 \begin_layout Description
11147 \begin_inset Flex Code
11148 status collapsed
11149
11150 \begin_layout Plain Layout
11151 PageStyle
11152 \end_layout
11153
11154 \end_inset
11155
11156  [
11157 \begin_inset Flex Code
11158 status collapsed
11159
11160 \begin_layout Plain Layout
11161 文字列="empty|plain|headings|fancy"
11162 \end_layout
11163
11164 \end_inset
11165
11166 ] 使用できるページ様式の一覧です.「
11167 \begin_inset Flex Code
11168 status collapsed
11169
11170 \begin_layout Plain Layout
11171 |
11172 \end_layout
11173
11174 \end_inset
11175
11176 」で区切ります.
11177 \end_layout
11178
11179 \begin_layout Description
11180 \begin_inset Flex Code
11181 status collapsed
11182
11183 \begin_layout Plain Layout
11184 Other
11185 \end_layout
11186
11187 \end_inset
11188
11189  [
11190 \begin_inset Flex Code
11191 status collapsed
11192
11193 \begin_layout Plain Layout
11194 文字列=""
11195 \end_layout
11196
11197 \end_inset
11198
11199
11200 \begin_inset Flex Code
11201 status collapsed
11202
11203 \begin_layout Plain Layout
11204
11205 \backslash
11206 documentclass
11207 \end_layout
11208
11209 \end_inset
11210
11211 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
11212 \end_layout
11213
11214 \begin_layout Standard
11215 \begin_inset Flex Code
11216 status collapsed
11217
11218 \begin_layout Plain Layout
11219 ClassOptions
11220 \end_layout
11221
11222 \end_inset
11223
11224 部は「
11225 \begin_inset Flex Code
11226 status collapsed
11227
11228 \begin_layout Plain Layout
11229 End
11230 \end_layout
11231
11232 \end_inset
11233
11234 」で閉じる必要があります.
11235 \end_layout
11236
11237 \begin_layout Subsection
11238 段落様式
11239 \begin_inset CommandInset label
11240 LatexCommand label
11241 name "subsec:段落様式"
11242
11243 \end_inset
11244
11245
11246 \end_layout
11247
11248 \begin_layout Standard
11249 段落様式の記述は,
11250 以下のようになります
11251 \begin_inset Foot
11252 status collapsed
11253
11254 \begin_layout Plain Layout
11255 これは新しいレイアウトを定義するか,
11256 既存のレイアウトを修正することになることに注意してください.
11257 \end_layout
11258
11259 \end_inset
11260
11261
11262 \end_layout
11263
11264 \begin_layout LyX-Code
11265 Style 
11266 \family roman
11267 \emph on
11268 名称
11269 \end_layout
11270
11271 \begin_layout LyX-Code
11272  ...
11273 \end_layout
11274
11275 \begin_layout LyX-Code
11276 End
11277 \end_layout
11278
11279 \begin_layout Standard
11280 ここでは,
11281 以下のコマンドを使用することができます.
11282 \end_layout
11283
11284 \begin_layout Description
11285 \begin_inset Flex Code
11286 status collapsed
11287
11288 \begin_layout Plain Layout
11289 AddToToc
11290 \end_layout
11291
11292 \end_inset
11293
11294  [
11295 \begin_inset Flex Code
11296 status collapsed
11297
11298 \begin_layout Plain Layout
11299 文字列
11300 \end_layout
11301
11302 \end_inset
11303
11304 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧ください.既定値:
11305 無効.
11306 \end_layout
11307
11308 \begin_layout Description
11309 \begin_inset Flex Code
11310 status collapsed
11311
11312 \begin_layout Plain Layout
11313 Align
11314 \end_layout
11315
11316 \end_inset
11317
11318  [
11319 \begin_inset Flex Code
11320 status collapsed
11321
11322 \begin_layout Plain Layout
11323
11324 \emph on
11325 block
11326 \emph default
11327 ,
11328  left,
11329  right,
11330  center
11331 \end_layout
11332
11333 \end_inset
11334
11335 ] 段落の揃え.
11336 \end_layout
11337
11338 \begin_layout Description
11339 \begin_inset Flex Code
11340 status collapsed
11341
11342 \begin_layout Plain Layout
11343 AlignPossible
11344 \end_layout
11345
11346 \end_inset
11347
11348  [
11349 \begin_inset Flex Code
11350 status collapsed
11351
11352 \begin_layout Plain Layout
11353
11354 \emph on
11355 block
11356 \emph default
11357 ,
11358  left,
11359  right,
11360  center
11361 \end_layout
11362
11363 \end_inset
11364
11365 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
11366 スタイルには,
11367 意味を成さない一部の揃えが禁じられているものがあります.たとえば,
11368 連番箇条書きを右揃えや中央揃えにすることはできません).
11369 \end_layout
11370
11371 \begin_layout Description
11372 \begin_inset Flex Code
11373 status collapsed
11374
11375 \begin_layout Plain Layout
11376 Argument
11377 \end_layout
11378
11379 \end_inset
11380
11381  [
11382 \begin_inset Flex Code
11383 status collapsed
11384
11385 \begin_layout Plain Layout
11386 整数
11387 \end_layout
11388
11389 \end_inset
11390
11391 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.定義は「
11392 \begin_inset Flex Code
11393 status collapsed
11394
11395 \begin_layout Plain Layout
11396 EndArgument
11397 \end_layout
11398
11399 \end_inset
11400
11401 」で閉じる必要があります.詳細については第
11402 \begin_inset CommandInset ref
11403 LatexCommand ref
11404 reference "subsec:引数"
11405 plural "false"
11406 caps "false"
11407 noprefix "false"
11408 nolink "false"
11409
11410 \end_inset
11411
11412 節をご覧ください.
11413 \end_layout
11414
11415 \begin_layout Description
11416 \begin_inset Flex Code
11417 status collapsed
11418
11419 \begin_layout Plain Layout
11420 AutoNests
11421 \end_layout
11422
11423 \end_inset
11424
11425  現在のレイアウト中もしくは後にネストすべきレイアウトのコンマ区切りリストを入れます.(環境など)ネスト可能なレイアウトでのみ意味を持ちます.「
11426 \begin_inset Flex Code
11427 status collapsed
11428
11429 \begin_layout Plain Layout
11430 EndAutoNests
11431 \end_layout
11432
11433 \end_inset
11434
11435 」で閉じる必要があります.
11436 \begin_inset Flex Code
11437 status collapsed
11438
11439 \begin_layout Plain Layout
11440 IsAutoNestedBy
11441 \end_layout
11442
11443 \end_inset
11444
11445 もご参照ください.
11446 \end_layout
11447
11448 \begin_layout Description
11449 \begin_inset Flex Code
11450 status collapsed
11451
11452 \begin_layout Plain Layout
11453 BabelPreamble
11454 \end_layout
11455
11456 \end_inset
11457
11458  これは,
11459 前に現れたこの様式の
11460 \begin_inset Flex Code
11461 status collapsed
11462
11463 \begin_layout Plain Layout
11464 BabelPreamble
11465 \end_layout
11466
11467 \end_inset
11468
11469 宣言をすべて,
11470 完全に上書きしますので注意してください.「
11471 \begin_inset Flex Code
11472 status collapsed
11473
11474 \begin_layout Plain Layout
11475 EndBabelPreamble
11476 \end_layout
11477
11478 \end_inset
11479
11480 」で閉じる必要があります.これの利用法についての詳細は,
11481
11482 \begin_inset CommandInset ref
11483 LatexCommand ref
11484 reference "subsec:段落様式の国際化"
11485 nolink "false"
11486
11487 \end_inset
11488
11489 節をご覧ください.
11490 \end_layout
11491
11492 \begin_layout Description
11493 \begin_inset Flex Code
11494 status collapsed
11495
11496 \begin_layout Plain Layout
11497 BottomSep
11498 \end_layout
11499
11500 \end_inset
11501
11502  [
11503 \begin_inset Flex Code
11504 status collapsed
11505
11506 \begin_layout Plain Layout
11507 浮動小数点型=0
11508 \end_layout
11509
11510 \end_inset
11511
11512 ]
11513 \begin_inset Foot
11514 status collapsed
11515
11516 \begin_layout Plain Layout
11517 ここで「浮動小数点型」とは1.5のような実数を指します.
11518 \end_layout
11519
11520 \end_inset
11521
11522  このレイアウト型の段落塊の最後の段落と,
11523 次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,
11524 分離幅は足し上げられるのではなく,
11525 最大値がとられます.
11526 \end_layout
11527
11528 \begin_layout Description
11529 \begin_inset Flex Code
11530 status collapsed
11531
11532 \begin_layout Plain Layout
11533 Category
11534 \end_layout
11535
11536 \end_inset
11537
11538  [
11539 \begin_inset Flex Code
11540 status collapsed
11541
11542 \begin_layout Plain Layout
11543 文字列
11544 \end_layout
11545
11546 \end_inset
11547
11548 ] この様式のカテゴリです.これは,
11549 ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが,
11550 作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
11551 \end_layout
11552
11553 \begin_layout Description
11554 \begin_inset Flex Code
11555 status collapsed
11556
11557 \begin_layout Plain Layout
11558 CommandDepth
11559 \end_layout
11560
11561 \end_inset
11562
11563  XMLコマンドの深度.XML型の書式でのみ使用されます.
11564 \end_layout
11565
11566 \begin_layout Description
11567 \begin_inset Flex Code
11568 status collapsed
11569
11570 \begin_layout Plain Layout
11571 CopyStyle
11572 \end_layout
11573
11574 \end_inset
11575
11576  [
11577 \begin_inset Flex Code
11578 status collapsed
11579
11580 \begin_layout Plain Layout
11581 文字列
11582 \end_layout
11583
11584 \end_inset
11585
11586 ] 既存の様式から,
11587 すべての機能を現在の様式にコピーします.
11588 \end_layout
11589
11590 \begin_layout Description
11591 \begin_inset Flex Code
11592 status collapsed
11593
11594 \begin_layout Plain Layout
11595 DependsOn
11596 \end_layout
11597
11598 \end_inset
11599
11600  [
11601 \begin_inset Flex Code
11602 status collapsed
11603
11604 \begin_layout Plain Layout
11605 <名称>
11606 \end_layout
11607
11608 \end_inset
11609
11610 ]
11611 \lang english
11612  
11613 \lang japanese
11614 この
11615 \emph on
11616 前に
11617 \emph default
11618 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,
11619 プリアンブルの断片の順序を確実にするためのものです
11620 \begin_inset Foot
11621 status collapsed
11622
11623 \begin_layout Plain Layout
11624 この機能以外には,
11625 プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
11626 の特定のバージョンで観察された順序は,
11627 将来のバージョンで警告なしに変わる可能性があります.
11628 \end_layout
11629
11630 \end_inset
11631
11632
11633 \end_layout
11634
11635 \begin_layout Description
11636 \begin_inset Flex Code
11637 status collapsed
11638
11639 \begin_layout Plain Layout
11640 EndLabelType
11641 \end_layout
11642
11643 \end_inset
11644
11645  [
11646 \begin_inset Flex Code
11647 status collapsed
11648
11649 \begin_layout Plain Layout
11650
11651 \emph on
11652 No_Label
11653 \emph default
11654 ,
11655  Box,
11656  Filled_Box,
11657  Static
11658 \end_layout
11659
11660 \end_inset
11661
11662 ] 段落の最後(あるいは
11663 \begin_inset Flex Code
11664 status collapsed
11665
11666 \begin_layout Plain Layout
11667 LatexType
11668 \end_layout
11669
11670 \end_inset
11671
11672 が,
11673
11674 \begin_inset Flex Code
11675 status collapsed
11676
11677 \begin_layout Plain Layout
11678 Environment
11679 \end_layout
11680
11681 \end_inset
11682
11683
11684 \begin_inset Flex Code
11685 status collapsed
11686
11687 \begin_layout Plain Layout
11688 Item_Environment
11689 \end_layout
11690
11691 \end_inset
11692
11693
11694 \begin_inset Flex Code
11695 status collapsed
11696
11697 \begin_layout Plain Layout
11698 List_Environment
11699 \end_layout
11700
11701 \end_inset
11702
11703 のいずれかの場合は,
11704 段落群の最後)に置くラベル.
11705 \begin_inset Flex Code
11706 status collapsed
11707
11708 \begin_layout Plain Layout
11709 No_Label
11710 \end_layout
11711
11712 \end_inset
11713
11714 の場合は「何もない」ことを指し,
11715
11716 \begin_inset Flex Code
11717 status collapsed
11718
11719 \begin_layout Plain Layout
11720 Box
11721 \end_layout
11722
11723 \end_inset
11724
11725 (あるいは
11726 \begin_inset Flex Code
11727 status collapsed
11728
11729 \begin_layout Plain Layout
11730 Filled_Box
11731 \end_layout
11732
11733 \end_inset
11734
11735 )の場合は,
11736 証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
11737
11738 \begin_inset Flex Code
11739 status collapsed
11740
11741 \begin_layout Plain Layout
11742 Static
11743 \end_layout
11744
11745 \end_inset
11746
11747 は明示したテキスト文字列を指します.
11748 \end_layout
11749
11750 \begin_layout Description
11751 \begin_inset Flex Code
11752 status collapsed
11753
11754 \begin_layout Plain Layout
11755 EndLabelString
11756 \end_layout
11757
11758 \end_inset
11759
11760  [
11761 \begin_inset Flex Code
11762 status collapsed
11763
11764 \begin_layout Plain Layout
11765 文字列=""
11766 \end_layout
11767
11768 \end_inset
11769
11770
11771 \begin_inset Flex Code
11772 status collapsed
11773
11774 \begin_layout Plain Layout
11775 Static
11776 \end_layout
11777
11778 \end_inset
11779
11780
11781 \begin_inset Flex Code
11782 status collapsed
11783
11784 \begin_layout Plain Layout
11785 EndLabelType
11786 \end_layout
11787
11788 \end_inset
11789
11790 のラベルで用いる文字列.
11791 \end_layout
11792
11793 \begin_layout Description
11794 \begin_inset Flex Code
11795 status collapsed
11796
11797 \begin_layout Plain Layout
11798 Font
11799 \end_layout
11800
11801 \end_inset
11802
11803  本文テキストとラベルの
11804 \emph on
11805 両方で
11806 \emph default
11807 用いられるフォント.第
11808 \begin_inset CommandInset ref
11809 LatexCommand ref
11810 reference "subsec:フォント指定"
11811 nolink "false"
11812
11813 \end_inset
11814
11815 節を参照.このフォントを定義すると,
11816 自動的に
11817 \begin_inset Flex Code
11818 status collapsed
11819
11820 \begin_layout Plain Layout
11821 LabelFont
11822 \end_layout
11823
11824 \end_inset
11825
11826 も同じ値で定義されることに注意してください.したがって,
11827
11828 \begin_inset Flex Code
11829 status collapsed
11830
11831 \begin_layout Plain Layout
11832 LabelFont
11833 \end_layout
11834
11835 \end_inset
11836
11837 も同時に定義したい場合には,
11838 これを先に定義してください.
11839 \end_layout
11840
11841 \begin_layout Description
11842 \begin_inset Flex Code
11843 status collapsed
11844
11845 \begin_layout Plain Layout
11846 ForceLocal
11847 \end_layout
11848
11849 \end_inset
11850
11851  [
11852 \begin_inset Flex Code
11853 status collapsed
11854
11855 \begin_layout Plain Layout
11856 int=0
11857 \end_layout
11858
11859 \end_inset
11860
11861 ] 新しい様式を\SpecialChar LyX
11862 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11863  2.1.0です.引数は数字で,
11864 0・-1・1以上の任意の数をとることができます.様式の
11865 \begin_inset Flex Code
11866 status collapsed
11867
11868 \begin_layout Plain Layout
11869 ForceLocal
11870 \end_layout
11871
11872 \end_inset
11873
11874 フラグが1以上ならば,
11875 これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,
11876 文書ヘッダからの様式定義が文書クラスに追加されます.したがって,
11877 古い版の\SpecialChar LyX
11878 もこの様式を取り扱えるようになります.
11879 \begin_inset Flex Code
11880 status collapsed
11881
11882 \begin_layout Plain Layout
11883 ForceLocal
11884 \end_layout
11885
11886 \end_inset
11887
11888 の引数は版数です.様式が読み込まれたときに,
11889 文書クラス中の既存の様式の版数よりも小さいと,
11890 新しい様式は無視されます.版数が大きいと,
11891 既存の様式に代わって新しい様式が用いられます.値-1は無限大の版数を意味し,
11892 この様式が常に用いられることになります.
11893 \end_layout
11894
11895 \begin_layout Description
11896 \begin_inset Flex Code
11897 status collapsed
11898
11899 \begin_layout Plain Layout
11900 FreeSpacing
11901 \end_layout
11902
11903 \end_inset
11904
11905  [
11906 \emph on
11907
11908 \begin_inset Flex Code
11909 status collapsed
11910
11911 \begin_layout Plain Layout
11912 0
11913 \end_layout
11914
11915 \end_inset
11916
11917
11918 \emph default
11919 ,
11920 \begin_inset space \thinspace{}
11921 \end_inset
11922
11923
11924 \begin_inset Flex Code
11925 status collapsed
11926
11927 \begin_layout Plain Layout
11928 1
11929 \end_layout
11930
11931 \end_inset
11932
11933 ] \SpecialChar LyX
11934 は,
11935 空白をそれ自体文字や記号ではなく,
11936 2つの単語の間の分割子として捉えているため,
11937 単語間に2つ以上の空白を入れることは,
11938 通常許可していません.これ自体はとても素晴らしいことですが,
11939 たとえばプログラムコードや生の\SpecialChar LaTeX
11940 コードを入力しようとするときなどに,
11941 煩わしくなることがあります.このことから,
11942
11943 \begin_inset Flex Code
11944 status collapsed
11945
11946 \begin_layout Plain Layout
11947 FreeSpacing
11948 \end_layout
11949
11950 \end_inset
11951
11952 を有効にすることが認められています.
11953 \begin_inset Flex Code
11954 status collapsed
11955
11956 \begin_layout Plain Layout
11957 Passthru 1
11958 \end_layout
11959
11960 \end_inset
11961
11962 が指定されていなければ,
11963 \SpecialChar LyX
11964 は2つめ以降の空白には非改行空白を生成します.
11965 \begin_inset Flex Code
11966 status collapsed
11967
11968 \begin_layout Plain Layout
11969 FreeSpacing
11970 \end_layout
11971
11972 \end_inset
11973
11974
11975 \begin_inset Flex Code
11976 status collapsed
11977
11978 \begin_layout Plain Layout
11979 KeepEmpty
11980 \end_layout
11981
11982 \end_inset
11983
11984 を意味することに注意してください.
11985 \end_layout
11986
11987 \begin_layout Description
11988 \begin_inset Flex Code
11989 status collapsed
11990
11991 \begin_layout Plain Layout
11992 HTML*
11993 \end_layout
11994
11995 \end_inset
11996
11997  これらのタグは,
11998 XHTML出力で使用されます.第
11999 \begin_inset CommandInset ref
12000 LatexCommand ref
12001 reference "subsec:段落様式-XHTML"
12002 nolink "false"
12003
12004 \end_inset
12005
12006 節をご覧ください.
12007 \end_layout
12008
12009 \begin_layout Description
12010 \begin_inset Flex Code
12011 status collapsed
12012
12013 \begin_layout Plain Layout
12014 InnerTag
12015 \end_layout
12016
12017 \end_inset
12018
12019  [[FIXME]] (XML型書式でのみ使用されます.)
12020 \end_layout
12021
12022 \begin_layout Description
12023 \begin_inset Flex Code
12024 status collapsed
12025
12026 \begin_layout Plain Layout
12027 InPreamble
12028 \end_layout
12029
12030 \end_inset
12031
12032  [
12033 \emph on
12034
12035 \begin_inset Flex Code
12036 status collapsed
12037
12038 \begin_layout Plain Layout
12039 0
12040 \end_layout
12041
12042 \end_inset
12043
12044
12045 \emph default
12046 ,
12047 \begin_inset space \thinspace{}
12048 \end_inset
12049
12050
12051 \begin_inset Flex Code
12052 status collapsed
12053
12054 \begin_layout Plain Layout
12055 1
12056 \end_layout
12057
12058 \end_inset
12059
12060
12061 \begin_inset Flex Code
12062 status collapsed
12063
12064 \begin_layout Plain Layout
12065 1
12066 \end_layout
12067
12068 \end_inset
12069
12070 の場合,
12071 様式が文書本体ではなく,
12072 文書プリアンブルにインクルードされるようにします.これは,
12073 タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利です.これは,
12074
12075 \begin_inset Flex Code
12076 status collapsed
12077
12078 \begin_layout Plain Layout
12079 LatexType
12080 \end_layout
12081
12082 \end_inset
12083
12084
12085 \begin_inset Flex Code
12086 status collapsed
12087
12088 \begin_layout Plain Layout
12089 Command
12090 \end_layout
12091
12092 \end_inset
12093
12094 または
12095 \begin_inset Flex Code
12096 status collapsed
12097
12098 \begin_layout Plain Layout
12099 Paragraph
12100 \end_layout
12101
12102 \end_inset
12103
12104 の様式に対してのみ動作します.
12105 \end_layout
12106
12107 \begin_layout Description
12108 \begin_inset Flex Code
12109 status collapsed
12110
12111 \begin_layout Plain Layout
12112 InTitle
12113 \end_layout
12114
12115 \end_inset
12116
12117  [
12118 \emph on
12119
12120 \begin_inset Flex Code
12121 status collapsed
12122
12123 \begin_layout Plain Layout
12124 0
12125 \end_layout
12126
12127 \end_inset
12128
12129
12130 \emph default
12131 ,
12132 \begin_inset space \thinspace{}
12133 \end_inset
12134
12135
12136 \begin_inset Flex Code
12137 status collapsed
12138
12139 \begin_layout Plain Layout
12140 1
12141 \end_layout
12142
12143 \end_inset
12144
12145
12146 \begin_inset Flex Code
12147 status collapsed
12148
12149 \begin_layout Plain Layout
12150 1
12151 \end_layout
12152
12153 \end_inset
12154
12155 の場合,
12156 このレイアウトをタイトルブロックの一部としてマークします(大域項目の
12157 \begin_inset Flex Code
12158 status collapsed
12159
12160 \begin_layout Plain Layout
12161 TitleLatexType
12162 \end_layout
12163
12164 \end_inset
12165
12166
12167 \begin_inset Flex Code
12168 status collapsed
12169
12170 \begin_layout Plain Layout
12171 TitleLatexName
12172 \end_layout
12173
12174 \end_inset
12175
12176 も参照).
12177 \end_layout
12178
12179 \begin_layout Description
12180 \begin_inset Flex Code
12181 status collapsed
12182
12183 \begin_layout Plain Layout
12184 IsAutoNestedBy
12185 \end_layout
12186
12187 \end_inset
12188
12189  このレイアウトがネストされるべき親レイアウトのコンマ区切りリストを入れます.(環境など)ネスト可能なレイアウトでのみ意味を持ちます.「
12190 \begin_inset Flex Code
12191 status collapsed
12192
12193 \begin_layout Plain Layout
12194 EndAutoNestedBy
12195 \end_layout
12196
12197 \end_inset
12198
12199 」で閉じる必要があります.
12200 \begin_inset Flex Code
12201 status collapsed
12202
12203 \begin_layout Plain Layout
12204 AutoNests
12205 \end_layout
12206
12207 \end_inset
12208
12209 もご参照ください.
12210 \end_layout
12211
12212 \begin_layout Description
12213 \begin_inset Flex Code
12214 status collapsed
12215
12216 \begin_layout Plain Layout
12217 IsTocCaption
12218 \end_layout
12219
12220 \end_inset
12221
12222  [
12223 \begin_inset Flex Code
12224 status collapsed
12225
12226 \begin_layout Plain Layout
12227
12228 \emph on
12229 0
12230 \end_layout
12231
12232 \end_inset
12233
12234 ,
12235 \begin_inset space \thinspace{}
12236 \end_inset
12237
12238
12239 \begin_inset Flex Code
12240 status collapsed
12241
12242 \begin_layout Plain Layout
12243 1
12244 \end_layout
12245
12246 \end_inset
12247
12248 ] これを1に設定すると,
12249 AddToTocが有効になり,
12250 段落は,
12251 その内容の要約を一覧表の項目に表示します.0に設定すると,
12252 ラベルが存在すれば,
12253 それのみが表示されます.
12254 \end_layout
12255
12256 \begin_layout Description
12257 \begin_inset Flex Code
12258 status collapsed
12259
12260 \begin_layout Plain Layout
12261 ItemCommand
12262 \end_layout
12263
12264 \end_inset
12265
12266  [
12267 \begin_inset Flex Code
12268 status collapsed
12269
12270 \begin_layout Plain Layout
12271 文字列="item"
12272 \end_layout
12273
12274 \end_inset
12275
12276 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
12277 コマンド.コマンドは,
12278 前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,
12279 \SpecialChar LaTeX
12280 出力中では
12281 \begin_inset Flex Code
12282 status collapsed
12283
12284 \begin_layout Plain Layout
12285
12286 \backslash
12287 item
12288 \end_layout
12289
12290 \end_inset
12291
12292 となります).
12293 \end_layout
12294
12295 \begin_layout Description
12296 \begin_inset Flex Code
12297 status collapsed
12298
12299 \begin_layout Plain Layout
12300 ItemSep
12301 \end_layout
12302
12303 \end_inset
12304
12305  [
12306 \begin_inset Flex Code
12307 status collapsed
12308
12309 \begin_layout Plain Layout
12310 浮動小数点型=0
12311 \end_layout
12312
12313 \end_inset
12314
12315 ] これは,
12316 同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,
12317 それぞれのレイアウトは,
12318 その環境の
12319 \begin_inset Flex Code
12320 status collapsed
12321
12322 \begin_layout Plain Layout
12323 ParSep
12324 \end_layout
12325
12326 \end_inset
12327
12328 だけ分離されます.しかし,
12329 その環境の項目全体は,
12330 さらにこの
12331 \begin_inset Flex Code
12332 status collapsed
12333
12334 \begin_layout Plain Layout
12335 ItemSep
12336 \end_layout
12337
12338 \end_inset
12339
12340 分だけ離されます.これは
12341 \emph on
12342 乗数
12343 \emph default
12344 であることに注意してください.
12345 \end_layout
12346
12347 \begin_layout Description
12348 \begin_inset Flex Code
12349 status collapsed
12350
12351 \begin_layout Plain Layout
12352 ItemTag
12353 \end_layout
12354
12355 \end_inset
12356
12357  [[FIXME]] (XML型書式でのみ使用されます.)
12358 \end_layout
12359
12360 \begin_layout Description
12361 \begin_inset Flex Code
12362 status collapsed
12363
12364 \begin_layout Plain Layout
12365 KeepEmpty
12366 \end_layout
12367
12368 \end_inset
12369
12370  [
12371 \emph on
12372
12373 \begin_inset Flex Code
12374 status collapsed
12375
12376 \begin_layout Plain Layout
12377 0
12378 \end_layout
12379
12380 \end_inset
12381
12382
12383 \emph default
12384 ,
12385 \begin_inset space \thinspace{}
12386 \end_inset
12387
12388
12389 \begin_inset Flex Code
12390 status collapsed
12391
12392 \begin_layout Plain Layout
12393 1
12394 \end_layout
12395
12396 \end_inset
12397
12398 ] 段落を空のままにすると,
12399 \SpecialChar LaTeX
12400 出力が空になってしまうので,
12401 通常,
12402 \SpecialChar LyX
12403 は段落を空にすることを許可しません.しかしながら,
12404 これを無効にすることが望ましい場合が存在します.たとえば,
12405 書簡のひな型では,
12406 必須フィールドを人々が忘れないように,
12407 空のフィールドのまま提供する手もあります.特別なクラスにおいては,
12408 レイアウトを実際には文章を含まないある種の改行として使用することもあります.
12409 \end_layout
12410
12411 \begin_layout Description
12412 \begin_inset Flex Code
12413 status collapsed
12414
12415 \begin_layout Plain Layout
12416 LabelBottomsep
12417 \end_layout
12418
12419 \end_inset
12420
12421  [
12422 \begin_inset Flex Code
12423 status collapsed
12424
12425 \begin_layout Plain Layout
12426 浮動小数点型=0
12427 \end_layout
12428
12429 \end_inset
12430
12431 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
12432 \begin_inset Flex Code
12433 status collapsed
12434
12435 \begin_layout Plain Layout
12436 Top_Environment
12437 \end_layout
12438
12439 \end_inset
12440
12441 および
12442 \begin_inset Newline linebreak
12443 \end_inset
12444
12445
12446 \begin_inset Flex Code
12447 status collapsed
12448
12449 \begin_layout Plain Layout
12450 Centered_Top_Environment
12451 \end_layout
12452
12453 \end_inset
12454
12455 ).
12456 \end_layout
12457
12458 \begin_layout Description
12459 \begin_inset Flex Code
12460 status collapsed
12461
12462 \begin_layout Plain Layout
12463 LabelCounter
12464 \end_layout
12465
12466 \end_inset
12467
12468  [
12469 \begin_inset Flex Code
12470 status collapsed
12471
12472 \begin_layout Plain Layout
12473 文字列=""
12474 \end_layout
12475
12476 \end_inset
12477
12478 ] 自動連番に使われるカウンタ名(詳しくは第
12479 \begin_inset CommandInset ref
12480 LatexCommand ref
12481 reference "subsec:カウンタ"
12482 plural "false"
12483 caps "false"
12484 noprefix "false"
12485 nolink "false"
12486
12487 \end_inset
12488
12489 節参照).カウンタがラベル中に表示されるようにするためには,
12490
12491 \begin_inset Flex Code
12492 status collapsed
12493
12494 \begin_layout Plain Layout
12495 LabelString
12496 \end_layout
12497
12498 \end_inset
12499
12500 中で参照する必要があります.これは,
12501 少なくとも
12502 \begin_inset Flex Code
12503 status collapsed
12504
12505 \begin_layout Plain Layout
12506 Static
12507 \end_layout
12508
12509 \end_inset
12510
12511
12512 \begin_inset Flex Code
12513 status collapsed
12514
12515 \begin_layout Plain Layout
12516 Above
12517 \end_layout
12518
12519 \end_inset
12520
12521
12522 \begin_inset Flex Code
12523 status collapsed
12524
12525 \begin_layout Plain Layout
12526 Centered
12527 \end_layout
12528
12529 \end_inset
12530
12531 の各
12532 \begin_inset Flex Code
12533 status collapsed
12534
12535 \begin_layout Plain Layout
12536 LabelType
12537 \end_layout
12538
12539 \end_inset
12540
12541 で動作します.
12542 \begin_inset Newline newline
12543 \end_inset
12544
12545 また,
12546
12547 \begin_inset Flex Code
12548 status collapsed
12549
12550 \begin_layout Plain Layout
12551 LabelType
12552 \end_layout
12553
12554 \end_inset
12555
12556
12557 \begin_inset Flex Code
12558 status collapsed
12559
12560 \begin_layout Plain Layout
12561 Enumerate
12562 \end_layout
12563
12564 \end_inset
12565
12566 型のときにも,
12567 若干複雑にはなりますが,
12568 本項目を使うことができます.たとえば,
12569
12570 \begin_inset Flex Code
12571 status collapsed
12572
12573 \begin_layout Plain Layout
12574 LabelCounter myenum
12575 \end_layout
12576
12577 \end_inset
12578
12579 」と宣言したものとしましょう.すると,
12580 \SpecialChar LaTeX
12581 におけるのと同様,
12582 実際に使われるカウンタは,
12583
12584 \begin_inset Flex Code
12585 status collapsed
12586
12587 \begin_layout Plain Layout
12588 myenumi
12589 \end_layout
12590
12591 \end_inset
12592
12593
12594 \begin_inset Flex Code
12595 status collapsed
12596
12597 \begin_layout Plain Layout
12598 myenumii
12599 \end_layout
12600
12601 \end_inset
12602
12603
12604 \begin_inset Flex Code
12605 status collapsed
12606
12607 \begin_layout Plain Layout
12608 myenumii
12609 \end_layout
12610
12611 \end_inset
12612
12613
12614 \begin_inset Flex Code
12615 status collapsed
12616
12617 \begin_layout Plain Layout
12618 myenumiv
12619 \end_layout
12620
12621 \end_inset
12622
12623 のようになります.これらのカウンタは,
12624 全て別々に宣言されなくてはなりません.
12625 \begin_inset Newline newline
12626 \end_inset
12627
12628 カウンタの詳細については,
12629
12630 \begin_inset CommandInset ref
12631 LatexCommand ref
12632 reference "subsec:カウンタ"
12633 nolink "false"
12634
12635 \end_inset
12636
12637 をご覧ください.
12638 \end_layout
12639
12640 \begin_layout Description
12641 \begin_inset Flex Code
12642 status collapsed
12643
12644 \begin_layout Plain Layout
12645 LabelFont
12646 \end_layout
12647
12648 \end_inset
12649
12650  ラベルに使用されるフォント.
12651 \begin_inset CommandInset ref
12652 LatexCommand ref
12653 reference "subsec:フォント指定"
12654 nolink "false"
12655
12656 \end_inset
12657
12658 を参照.
12659 \end_layout
12660
12661 \begin_layout Description
12662 \begin_inset Flex Code
12663 status collapsed
12664
12665 \begin_layout Plain Layout
12666 LabelIndent
12667 \end_layout
12668
12669 \end_inset
12670
12671  [
12672 \begin_inset Flex Code
12673 status collapsed
12674
12675 \begin_layout Plain Layout
12676 文字列=""
12677 \end_layout
12678
12679 \end_inset
12680
12681 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
12682 \end_layout
12683
12684 \begin_layout Description
12685 \begin_inset Flex Code
12686 status collapsed
12687
12688 \begin_layout Plain Layout
12689 LabelSep
12690 \end_layout
12691
12692 \end_inset
12693
12694  [
12695 \begin_inset Flex Code
12696 status collapsed
12697
12698 \begin_layout Plain Layout
12699 文字列=""
12700 \end_layout
12701
12702 \end_inset
12703
12704 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
12705 \end_layout
12706
12707 \begin_layout Description
12708 \begin_inset Flex Code
12709 status collapsed
12710
12711 \begin_layout Plain Layout
12712 LabelString
12713 \end_layout
12714
12715 \end_inset
12716
12717  [
12718 \begin_inset Flex Code
12719 status collapsed
12720
12721 \begin_layout Plain Layout
12722 文字列=""
12723 \end_layout
12724
12725 \end_inset
12726
12727
12728 \begin_inset Flex Code
12729 status collapsed
12730
12731 \begin_layout Plain Layout
12732 Static
12733 \end_layout
12734
12735 \end_inset
12736
12737 ラベル型でラベルに使用する文字列.
12738 \begin_inset Flex Code
12739 status collapsed
12740
12741 \begin_layout Plain Layout
12742 LabelCounter
12743 \end_layout
12744
12745 \end_inset
12746
12747 を設定している場合,
12748
12749 \begin_inset CommandInset ref
12750 LatexCommand ref
12751 reference "subsec:カウンタ"
12752 nolink "false"
12753
12754 \end_inset
12755
12756 に述べられている特別な整形コマンドを含めることができます.
12757 \end_layout
12758
12759 \begin_layout Description
12760 \begin_inset Flex Code
12761 status collapsed
12762
12763 \begin_layout Plain Layout
12764 LabelStringAppendix
12765 \end_layout
12766
12767 \end_inset
12768
12769  [
12770 \begin_inset Flex Code
12771 status collapsed
12772
12773 \begin_layout Plain Layout
12774 文字列=""
12775 \end_layout
12776
12777 \end_inset
12778
12779 ] これは付録の中で
12780 \begin_inset Flex Code
12781 status collapsed
12782
12783 \begin_layout Plain Layout
12784 LabelString
12785 \end_layout
12786
12787 \end_inset
12788
12789 の代わりに用いられます.各
12790 \begin_inset Flex Code
12791 status collapsed
12792
12793 \begin_layout Plain Layout
12794 LabelString
12795 \end_layout
12796
12797 \end_inset
12798
12799 ステートメントは,
12800
12801 \begin_inset Flex Code
12802 status collapsed
12803
12804 \begin_layout Plain Layout
12805 LabelStringAppendix
12806 \end_layout
12807
12808 \end_inset
12809
12810 をもリセットすることに注意してください.
12811 \end_layout
12812
12813 \begin_layout Description
12814 \begin_inset Flex Code
12815 status collapsed
12816
12817 \begin_layout Plain Layout
12818 LabelTag
12819 \end_layout
12820
12821 \end_inset
12822
12823  [FIXME] (XML型書式でのみ使用されます.)
12824 \end_layout
12825
12826 \begin_layout Description
12827 \begin_inset Flex Code
12828 status collapsed
12829
12830 \begin_layout Plain Layout
12831 LabelType
12832 \end_layout
12833
12834 \end_inset
12835
12836  [
12837 \begin_inset Flex Code
12838 status collapsed
12839
12840 \begin_layout Plain Layout
12841
12842 \emph on
12843 No_Label
12844 \emph default
12845 ,
12846  Manual,
12847  Static,
12848  Above,
12849 \begin_inset Newline newline
12850 \end_inset
12851
12852 Centered,
12853  Sensitive,
12854  Enumerate,
12855 \begin_inset Newline newline
12856 \end_inset
12857
12858 Itemize,
12859  Bibliography
12860 \end_layout
12861
12862 \end_inset
12863
12864 ]
12865 \end_layout
12866
12867 \begin_deeper
12868 \begin_layout Description
12869 \begin_inset Flex Code
12870 status collapsed
12871
12872 \begin_layout Plain Layout
12873 Manual
12874 \end_layout
12875
12876 \end_inset
12877
12878  は,
12879 ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,
12880 非改行空白を使用してください.
12881 \end_layout
12882
12883 \begin_layout Description
12884 \begin_inset Flex Code
12885 status collapsed
12886
12887 \begin_layout Plain Layout
12888 Static
12889 \end_layout
12890
12891 \end_inset
12892
12893  は,
12894 ラベルが
12895 \begin_inset Flex Code
12896 status collapsed
12897
12898 \begin_layout Plain Layout
12899 LabelString
12900 \end_layout
12901
12902 \end_inset
12903
12904 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12905 \begin_inset Flex Code
12906 status collapsed
12907
12908 \begin_layout Plain Layout
12909 LatexType
12910 \end_layout
12911
12912 \end_inset
12913
12914
12915 \begin_inset Flex Code
12916 status collapsed
12917
12918 \begin_layout Plain Layout
12919 Environment
12920 \end_layout
12921
12922 \end_inset
12923
12924 のときは,
12925 連続する同じ
12926 \begin_inset Flex Code
12927 status collapsed
12928
12929 \begin_layout Plain Layout
12930 Style
12931 \end_layout
12932
12933 \end_inset
12934
12935 の段落中,
12936 最初の段落にのみ表示されます.
12937 \end_layout
12938
12939 \begin_layout Description
12940 \begin_inset Flex Code
12941 status collapsed
12942
12943 \begin_layout Plain Layout
12944 Above
12945 \end_layout
12946
12947 \end_inset
12948
12949 および
12950 \begin_inset Flex Code
12951 status collapsed
12952
12953 \begin_layout Plain Layout
12954 Centered
12955 \end_layout
12956
12957 \end_inset
12958
12959  は,
12960
12961 \begin_inset Flex Code
12962 status collapsed
12963
12964 \begin_layout Plain Layout
12965 Static
12966 \end_layout
12967
12968 \end_inset
12969
12970 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
12971 \end_layout
12972
12973 \begin_layout Description
12974 \begin_inset Flex Code
12975 status collapsed
12976
12977 \begin_layout Plain Layout
12978 Sensitive
12979 \end_layout
12980
12981 \end_inset
12982
12983  はキャプションラベルの「図」や「表」の特別な場合です.
12984 \begin_inset Flex Code
12985 status collapsed
12986
12987 \begin_layout Plain Layout
12988 Sensitive
12989 \end_layout
12990
12991 \end_inset
12992
12993 は,
12994 (ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,
12995 フロートに関連付けられたカウンタの値がNであるものとすると,
12996 「FloatType N」にハードコードされています.キャプションがフロートの外に挿入されると,
12997
12998 \begin_inset Flex Code
12999 status collapsed
13000
13001 \begin_layout Plain Layout
13002 LabelString
13003 \end_layout
13004
13005 \end_inset
13006
13007 は「意味を成しません!」と表示されます.
13008 \end_layout
13009
13010 \begin_layout Description
13011 \begin_inset Flex Code
13012 status collapsed
13013
13014 \begin_layout Plain Layout
13015 Enumerate
13016 \end_layout
13017
13018 \end_inset
13019
13020  は,
13021 通常の連番ラベルを生成します.数値型を
13022 \family sans
13023 Counter
13024 \family default
13025 で設定する必要があります.第
13026 \begin_inset CommandInset ref
13027 LatexCommand ref
13028 reference "subsec:カウンタ"
13029 nolink "false"
13030
13031 \end_inset
13032
13033 節を参照してください.
13034 \end_layout
13035
13036 \begin_layout Description
13037 \begin_inset Flex Code
13038 status collapsed
13039
13040 \begin_layout Plain Layout
13041 Itemize
13042 \end_layout
13043
13044 \end_inset
13045
13046  は,
13047 各階層でさまざまなブリットを生成します.表示されるブリット型は
13048 \begin_inset Flex Noun
13049 status collapsed
13050
13051 \begin_layout Plain Layout
13052 文書\SpecialChar menuseparator
13053 設定\SpecialChar menuseparator
13054 ブリット
13055 \end_layout
13056
13057 \end_inset
13058
13059 で設定できます.
13060 \end_layout
13061
13062 \begin_layout Description
13063 \begin_inset Flex Code
13064 status collapsed
13065
13066 \begin_layout Plain Layout
13067 Bibliography
13068 \end_layout
13069
13070 \end_inset
13071
13072  は
13073 \begin_inset Flex Code
13074 status collapsed
13075
13076 \begin_layout Plain Layout
13077 LatexType BibEnvironment
13078 \end_layout
13079
13080 \end_inset
13081
13082 とともにのみ使用されます.
13083 \end_layout
13084
13085 \end_deeper
13086 \begin_layout Description
13087 \begin_inset Flex Code
13088 status collapsed
13089
13090 \begin_layout Plain Layout
13091 LangPreamble
13092 \end_layout
13093
13094 \end_inset
13095
13096  これは,
13097 この様式で既に出現した
13098 \begin_inset Flex Code
13099 status collapsed
13100
13101 \begin_layout Plain Layout
13102 LangPreamble
13103 \end_layout
13104
13105 \end_inset
13106
13107 宣言をすべて,
13108 完全に上書きしますので,
13109 注意してください.使用法についての詳細は,
13110
13111 \begin_inset CommandInset ref
13112 LatexCommand ref
13113 reference "subsec:段落様式の国際化"
13114 nolink "false"
13115
13116 \end_inset
13117
13118 をご覧ください.
13119 \end_layout
13120
13121 \begin_layout Description
13122 \begin_inset Flex Code
13123 status collapsed
13124
13125 \begin_layout Plain Layout
13126 LatexName
13127 \end_layout
13128
13129 \end_inset
13130
13131  [
13132 \begin_inset Flex Code
13133 status collapsed
13134
13135 \begin_layout Plain Layout
13136 <名称>
13137 \end_layout
13138
13139 \end_inset
13140
13141 ] 対応する\SpecialChar LaTeX
13142 の名称です.環境名かコマンド名を指します.
13143 \end_layout
13144
13145 \begin_layout Description
13146 \begin_inset Flex Code
13147 status collapsed
13148
13149 \begin_layout Plain Layout
13150 LatexParam
13151 \end_layout
13152
13153 \end_inset
13154
13155  [
13156 \begin_inset Flex Code
13157 status collapsed
13158
13159 \begin_layout Plain Layout
13160 <パラメータ>
13161 \end_layout
13162
13163 \end_inset
13164
13165 ] 対応する
13166 \begin_inset Flex Code
13167 status collapsed
13168
13169 \begin_layout Plain Layout
13170 LatexName
13171 \end_layout
13172
13173 \end_inset
13174
13175 の非必須パラメータです.このパラメータは,
13176 \SpecialChar LyX
13177 内部から変更することはできません(変更可能なパラメータには
13178 \begin_inset Flex Code
13179 status collapsed
13180
13181 \begin_layout Plain Layout
13182 Argument
13183 \end_layout
13184
13185 \end_inset
13186
13187 を使用してください).これは,
13188 全ての\SpecialChar LaTeX
13189  
13190 \begin_inset Flex Code
13191 status collapsed
13192
13193 \begin_layout Plain Layout
13194 Argument
13195 \end_layout
13196
13197 \end_inset
13198
13199 の後にそのままの形で出力されます.
13200 \end_layout
13201
13202 \begin_layout Description
13203 \begin_inset Flex Code
13204 status collapsed
13205
13206 \begin_layout Plain Layout
13207 LatexType
13208 \end_layout
13209
13210 \end_inset
13211
13212  [
13213 \begin_inset Flex Code
13214 status collapsed
13215
13216 \begin_layout Plain Layout
13217
13218 \emph on
13219 Paragraph
13220 \emph default
13221 ,
13222  Command,
13223  Environment,
13224  Item_Environment,
13225 \begin_inset Newline newline
13226 \end_inset
13227
13228 List_Environment,
13229  Bib_Environment
13230 \end_layout
13231
13232 \end_inset
13233
13234 ] レイアウトがどのように\SpecialChar LaTeX
13235 に変換されるべきかを示します
13236 \begin_inset Foot
13237 status collapsed
13238
13239 \begin_layout Plain Layout
13240 これらのルールはSGMLクラスにも適用されるので,
13241
13242 \begin_inset Flex Code
13243 status collapsed
13244
13245 \begin_layout Plain Layout
13246 LatexType
13247 \end_layout
13248
13249 \end_inset
13250
13251 の名称は,
13252 少しミスリーディングかもしれません.特定の例については,
13253 SGMLクラスファイル(ファイル名
13254 \begin_inset Flex Code
13255 status collapsed
13256
13257 \begin_layout Plain Layout
13258 db_*.inc
13259 \end_layout
13260
13261 \end_inset
13262
13263 )を見てください.
13264 \end_layout
13265
13266 \end_inset
13267
13268
13269 \end_layout
13270
13271 \begin_deeper
13272 \begin_layout Description
13273 \begin_inset Flex Code
13274 status collapsed
13275
13276 \begin_layout Plain Layout
13277 Paragraph
13278 \end_layout
13279
13280 \end_inset
13281
13282  は,
13283 何も特別なことは意味しません.
13284 \end_layout
13285
13286 \begin_layout Description
13287 \begin_inset Flex Code
13288 status collapsed
13289
13290 \begin_layout Plain Layout
13291 Command
13292 \end_layout
13293
13294 \end_inset
13295
13296  は,
13297
13298 \begin_inset Flex Code
13299 status collapsed
13300
13301 \begin_layout Plain Layout
13302
13303 \backslash
13304
13305 \emph on
13306 LatexName
13307 \emph default
13308 {\SpecialChar ldots
13309 }
13310 \end_layout
13311
13312 \end_inset
13313
13314 を意味します.
13315 \end_layout
13316
13317 \begin_layout Description
13318 \begin_inset Flex Code
13319 status collapsed
13320
13321 \begin_layout Plain Layout
13322 Environment
13323 \end_layout
13324
13325 \end_inset
13326
13327  は,
13328
13329 \begin_inset Flex Code
13330 status collapsed
13331
13332 \begin_layout Plain Layout
13333
13334 \backslash
13335 begin{
13336 \emph on
13337 LatexName
13338 \emph default
13339 }\SpecialChar ldots
13340
13341 \backslash
13342 end{
13343 \emph on
13344 LatexName
13345 \emph default
13346 }
13347 \end_layout
13348
13349 \end_inset
13350
13351 を意味します.
13352 \end_layout
13353
13354 \begin_layout Description
13355 \begin_inset Flex Code
13356 status collapsed
13357
13358 \begin_layout Plain Layout
13359 Item_Environment
13360 \end_layout
13361
13362 \end_inset
13363
13364  は
13365 \begin_inset Flex Code
13366 status collapsed
13367
13368 \begin_layout Plain Layout
13369 Environment
13370 \end_layout
13371
13372 \end_inset
13373
13374 と同じですが,
13375
13376 \begin_inset Flex Code
13377 status collapsed
13378
13379 \begin_layout Plain Layout
13380
13381 \backslash
13382 item
13383 \end_layout
13384
13385 \end_inset
13386
13387 がこの環境のすべての段落に付けられるところだけが異なっています.
13388 \end_layout
13389
13390 \begin_layout Description
13391 \begin_inset Flex Code
13392 status collapsed
13393
13394 \begin_layout Plain Layout
13395 List_Environment
13396 \end_layout
13397
13398 \end_inset
13399
13400  は
13401 \begin_inset Flex Code
13402 status collapsed
13403
13404 \begin_layout Plain Layout
13405 Item_Environment
13406 \end_layout
13407
13408 \end_inset
13409
13410 と同じですが,
13411
13412 \begin_inset Flex Code
13413 status collapsed
13414
13415 \begin_layout Plain Layout
13416 LabelWidthString
13417 \end_layout
13418
13419 \end_inset
13420
13421 が環境の引数として渡されるところだけが異なっています.
13422 \begin_inset Flex Code
13423 status collapsed
13424
13425 \begin_layout Plain Layout
13426 LabelWidthString
13427 \end_layout
13428
13429 \end_inset
13430
13431 は,
13432
13433 \begin_inset Flex MenuItem
13434 status collapsed
13435
13436 \begin_layout Plain Layout
13437 編集\SpecialChar menuseparator
13438 段落設定
13439 \end_layout
13440
13441 \end_inset
13442
13443 ダイアログで定義することができます.
13444 \end_layout
13445
13446 \begin_layout Description
13447 \begin_inset Flex Code
13448 status collapsed
13449
13450 \begin_layout Plain Layout
13451 Bib_Environment
13452 \end_layout
13453
13454 \end_inset
13455
13456  は
13457 \begin_inset Flex Code
13458 status collapsed
13459
13460 \begin_layout Plain Layout
13461 Environment
13462 \end_layout
13463
13464 \end_inset
13465
13466 に似ていますが,
13467 以下のように,
13468 書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
13469 \begin_inset Newline newline
13470 \end_inset
13471
13472
13473 \begin_inset Flex Code
13474 status collapsed
13475
13476 \begin_layout Plain Layout
13477
13478 \backslash
13479 begin{thebibliography}{99}
13480 \end_layout
13481
13482 \end_inset
13483
13484
13485 \begin_inset Newline newline
13486 \end_inset
13487
13488 したがって,
13489 これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,
13490 書誌情報項目の段落設定で,
13491 ユーザーが変更することができます.
13492 \end_layout
13493
13494 \begin_layout Standard
13495 上記最後のいくつかをまとめると,
13496 \SpecialChar LaTeX
13497 出力は,
13498 \SpecialChar LaTeX
13499 型に依存して
13500 \end_layout
13501
13502 \begin_layout LyX-Code
13503
13504 \backslash
13505 LatexName[LatexParam]{\SpecialChar ldots
13506 }
13507 \end_layout
13508
13509 \begin_layout Standard
13510 のようになるか,
13511
13512 \end_layout
13513
13514 \begin_layout LyX-Code
13515
13516 \backslash
13517 begin{LatexName}[LatexParam] \SpecialChar ldots
13518  
13519 \backslash
13520 end{LatexName}.
13521 \end_layout
13522
13523 \begin_layout Standard
13524 となります.
13525 \end_layout
13526
13527 \end_deeper
13528 \begin_layout Description
13529 \begin_inset Flex Code
13530 status collapsed
13531
13532 \begin_layout Plain Layout
13533 LeftDelim
13534 \end_layout
13535
13536 \end_inset
13537
13538  [
13539 \begin_inset Flex Code
13540 status collapsed
13541
13542 \begin_layout Plain Layout
13543 文字列
13544 \end_layout
13545
13546 \end_inset
13547
13548 ] 様式の内容の最初に置かれる文字列.出力中の改行は
13549 \begin_inset Flex Code
13550 status collapsed
13551
13552 \begin_layout Plain Layout
13553 <br/>
13554 \end_layout
13555
13556 \end_inset
13557
13558 で指示できます.
13559 \end_layout
13560
13561 \begin_layout Description
13562 \begin_inset Flex Code
13563 status collapsed
13564
13565 \begin_layout Plain Layout
13566 LeftMargin
13567 \end_layout
13568
13569 \end_inset
13570
13571  [
13572 \begin_inset Flex Code
13573 status collapsed
13574
13575 \begin_layout Plain Layout
13576 文字列=""
13577 \end_layout
13578
13579 \end_inset
13580
13581 ] レイアウトを環境の中に入れた場合,
13582 左余白は単純に加えられるのではなく,
13583 因子
13584 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13585 \end_inset
13586
13587 をかけて加えられます.このパラメータは,
13588
13589 \begin_inset Flex Code
13590 status collapsed
13591
13592 \begin_layout Plain Layout
13593 Margin
13594 \end_layout
13595
13596 \end_inset
13597
13598
13599 \begin_inset Flex Code
13600 status collapsed
13601
13602 \begin_layout Plain Layout
13603 Manual
13604 \end_layout
13605
13606 \end_inset
13607
13608 あるいは
13609 \begin_inset Flex Code
13610 status collapsed
13611
13612 \begin_layout Plain Layout
13613 Dynamic
13614 \end_layout
13615
13616 \end_inset
13617
13618 に設定されているときにも用いられることに注意してください.その場合には,
13619 これは手動設定余白または動的設定余白に加えられることに注意してください.
13620 \begin_inset Newline newline
13621 \end_inset
13622
13623 たとえば「
13624 \begin_inset Flex Code
13625 status collapsed
13626
13627 \begin_layout Plain Layout
13628 MM
13629 \end_layout
13630
13631 \end_inset
13632
13633 」と指定すると,
13634 段落を通常フォントの「
13635 \begin_inset Flex Code
13636 status collapsed
13637
13638 \begin_layout Plain Layout
13639 MM
13640 \end_layout
13641
13642 \end_inset
13643
13644 」の幅だけ行頭下げを行います.文字列の前に「
13645 \begin_inset Flex Code
13646 status collapsed
13647
13648 \begin_layout Plain Layout
13649 -
13650 \end_layout
13651
13652 \end_inset
13653
13654 」を付けると,
13655 負の幅を与えることができます.この方法が採用されたのは,
13656 どの画面フォントでも見かけが同じになるようにするためです.
13657 \end_layout
13658
13659 \begin_layout Description
13660 \begin_inset Flex Code
13661 status collapsed
13662
13663 \begin_layout Plain Layout
13664 Margin
13665 \end_layout
13666
13667 \end_inset
13668
13669  [
13670 \begin_inset Flex Code
13671 status collapsed
13672
13673 \begin_layout Plain Layout
13674
13675 \emph on
13676 Static
13677 \emph default
13678 ,
13679  Manual,
13680  Dynamic,
13681  First_Dynamic,
13682  Right_Address_Box
13683 \end_layout
13684
13685 \end_inset
13686
13687
13688 \begin_inset Newline newline
13689 \end_inset
13690
13691 このレイアウトの左余白の種類です.
13692 \end_layout
13693
13694 \begin_deeper
13695 \begin_layout Description
13696 \begin_inset Flex Code
13697 status collapsed
13698
13699 \begin_layout Plain Layout
13700 Static
13701 \end_layout
13702
13703 \end_inset
13704
13705  は固定余白を示します.
13706 \end_layout
13707
13708 \begin_layout Description
13709 \begin_inset Flex Code
13710 status collapsed
13711
13712 \begin_layout Plain Layout
13713 Manual
13714 \end_layout
13715
13716 \end_inset
13717
13718  は,
13719 左余白が
13720 \begin_inset Flex MenuItem
13721 status collapsed
13722
13723 \begin_layout Plain Layout
13724 編集\SpecialChar menuseparator
13725 段落設定
13726 \end_layout
13727
13728 \end_inset
13729
13730 ダイアログで入力した文字列によって決められることを示します.これは,
13731 タブを用いずに整った一覧表を組むのに使用されます.
13732 \end_layout
13733
13734 \begin_layout Description
13735 \begin_inset Flex Code
13736 status collapsed
13737
13738 \begin_layout Plain Layout
13739 Dynamic
13740 \end_layout
13741
13742 \end_inset
13743
13744  は,
13745 余白がラベルの大きさに依存することを示します.これは,
13746 自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,
13747 「3.2 非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
13748 \end_layout
13749
13750 \begin_layout Description
13751 \begin_inset Flex Code
13752 status collapsed
13753
13754 \begin_layout Plain Layout
13755 First_Dynamic
13756 \end_layout
13757
13758 \end_inset
13759
13760  は似ていますが,
13761 段落の最初の行だけがDynamicでその他の行はStaticです.これは,
13762 たとえば,
13763 箇条書き(記述)に使用されます.
13764 \end_layout
13765
13766 \begin_layout Description
13767 \begin_inset Flex Code
13768 status collapsed
13769
13770 \begin_layout Plain Layout
13771 Right_Address_Box
13772 \end_layout
13773
13774 \end_inset
13775
13776  は,
13777 段落中,
13778 最も長い行が右余白に合うように余白を選択します.これは,
13779 ページの右端に住所を組版するのに用いられます.
13780 \end_layout
13781
13782 \end_deeper
13783 \begin_layout Description
13784 \begin_inset Flex Code
13785 status collapsed
13786
13787 \begin_layout Plain Layout
13788 NeedProtect
13789 \end_layout
13790
13791 \end_inset
13792
13793  [
13794 \begin_inset Flex Code
13795 status collapsed
13796
13797 \begin_layout Plain Layout
13798
13799 \emph on
13800 0
13801 \end_layout
13802
13803 \end_inset
13804
13805 ,
13806 \begin_inset space \thinspace{}
13807 \end_inset
13808
13809
13810 \begin_inset Flex Code
13811 status collapsed
13812
13813 \begin_layout Plain Layout
13814 1
13815 \end_layout
13816
13817 \end_inset
13818
13819 ] このレイアウト中の脆弱なコマンドが
13820 \begin_inset Flex Code
13821 status collapsed
13822
13823 \begin_layout Plain Layout
13824
13825 \backslash
13826 protect
13827 \end_layout
13828
13829 \end_inset
13830
13831 されるべきか否か(註:
13832 これはこのコマンド自体が
13833 \begin_inset Flex Code
13834 status collapsed
13835
13836 \begin_layout Plain Layout
13837
13838 \backslash
13839 protect
13840 \end_layout
13841
13842 \end_inset
13843
13844 されるべきかでは
13845 \begin_inset Flex 圏点
13846 status open
13847
13848 \begin_layout Plain Layout
13849 ありません
13850 \end_layout
13851
13852 \end_inset
13853
13854 ).
13855 \end_layout
13856
13857 \begin_layout Description
13858 \begin_inset Flex Code
13859 status collapsed
13860
13861 \begin_layout Plain Layout
13862 NeedCProtect
13863 \end_layout
13864
13865 \end_inset
13866
13867  [
13868 \begin_inset Flex Code
13869 status collapsed
13870
13871 \begin_layout Plain Layout
13872
13873 \emph on
13874 0
13875 \end_layout
13876
13877 \end_inset
13878
13879 ,
13880 \begin_inset space \thinspace{}
13881 \end_inset
13882
13883
13884 \begin_inset Flex Code
13885 status collapsed
13886
13887 \begin_layout Plain Layout
13888 1
13889 \end_layout
13890
13891 \end_inset
13892
13893 ] これは必要ならば,
13894 このレイアウトを含むマクロを
13895 \begin_inset Flex Code
13896 status collapsed
13897
13898 \begin_layout Plain Layout
13899
13900 \backslash
13901 cprotect
13902 \end_layout
13903
13904 \end_inset
13905
13906 (cf.
13907  
13908 \family sans
13909 cprotect
13910 \family default
13911 パッケージ)を用いて保護するようにし,
13912 マクロ中でverbatimを使えるようにします.
13913 \end_layout
13914
13915 \begin_layout Description
13916 \begin_inset Flex Code
13917 status collapsed
13918
13919 \begin_layout Plain Layout
13920 NeedMBoxProtect
13921 \end_layout
13922
13923 \end_inset
13924
13925  [
13926 \begin_inset Flex Code
13927 status collapsed
13928
13929 \begin_layout Plain Layout
13930
13931 \emph on
13932 0
13933 \end_layout
13934
13935 \end_inset
13936
13937 ,
13938 \begin_inset space \thinspace{}
13939 \end_inset
13940
13941
13942 \begin_inset Flex Code
13943 status collapsed
13944
13945 \begin_layout Plain Layout
13946 1
13947 \end_layout
13948
13949 \end_inset
13950
13951 ] この様式中の(
13952 \begin_inset Flex Code
13953 status collapsed
13954
13955 \begin_layout Plain Layout
13956
13957 \backslash
13958 cite
13959 \end_layout
13960
13961 \end_inset
13962
13963
13964 \begin_inset Flex Code
13965 status collapsed
13966
13967 \begin_layout Plain Layout
13968
13969 \backslash
13970 ref
13971 \end_layout
13972
13973 \end_inset
13974
13975 のような)特定のコマンドが
13976 \begin_inset Flex Code
13977 status collapsed
13978
13979 \begin_layout Plain Layout
13980
13981 \backslash
13982 mbox
13983 \end_layout
13984
13985 \end_inset
13986
13987 中で保護されるか否か.これは,
13988 中身を複雑な方法で解析する
13989 \family sans
13990 ulem
13991 \family default
13992
13993 \family sans
13994 soul
13995 \family default
13996 コマンドに頼る様式でとくに必要になります.
13997 \end_layout
13998
13999 \begin_layout Description
14000 \begin_inset Flex Code
14001 status collapsed
14002
14003 \begin_layout Plain Layout
14004 Newline
14005 \end_layout
14006
14007 \end_inset
14008
14009  [
14010 \begin_inset Flex Code
14011 status collapsed
14012
14013 \begin_layout Plain Layout
14014 0
14015 \end_layout
14016
14017 \end_inset
14018
14019 ,
14020 \begin_inset space \thinspace{}
14021 \end_inset
14022
14023
14024 \begin_inset Flex Code
14025 status collapsed
14026
14027 \begin_layout Plain Layout
14028
14029 \emph on
14030 1
14031 \end_layout
14032
14033 \end_inset
14034
14035 ] 新規行を\SpecialChar LaTeX
14036 の新規行(
14037 \begin_inset Flex Code
14038 status collapsed
14039
14040 \begin_layout Plain Layout
14041
14042 \backslash
14043
14044 \backslash
14045
14046 \end_layout
14047
14048 \end_inset
14049
14050 )に変換するか否か.\SpecialChar LyX
14051 中で\SpecialChar LaTeX
14052 編集をやりやすくするために,
14053 変換は無効にすることができます.
14054 \end_layout
14055
14056 \begin_layout Description
14057 \begin_inset Flex Code
14058 status collapsed
14059
14060 \begin_layout Plain Layout
14061 NextNoIndent
14062 \end_layout
14063
14064 \end_inset
14065
14066  [
14067 \begin_inset Flex Code
14068 status collapsed
14069
14070 \begin_layout Plain Layout
14071
14072 \emph on
14073 0
14074 \end_layout
14075
14076 \end_inset
14077
14078 ,
14079 \begin_inset space \thinspace{}
14080 \end_inset
14081
14082
14083 \begin_inset Flex Code
14084 status collapsed
14085
14086 \begin_layout Plain Layout
14087 1
14088 \end_layout
14089
14090 \end_inset
14091
14092 ] 真に設定すると,
14093
14094 \begin_inset Flex Code
14095 status collapsed
14096
14097 \begin_layout Plain Layout
14098 DefaultStyle
14099 \end_layout
14100
14101 \end_inset
14102
14103  (通常
14104 \begin_inset Flex Code
14105 status collapsed
14106
14107 \begin_layout Plain Layout
14108 Standard
14109 \end_layout
14110
14111 \end_inset
14112
14113 )段落が行頭下げになっている場合でも,
14114 この型の段落に続くそれらの段落は,
14115 字下げされません(逆に言えば,
14116 既定でない段落には影響を与えません).
14117 \end_layout
14118
14119 \begin_layout Description
14120 \begin_inset Flex Code
14121 status collapsed
14122
14123 \begin_layout Plain Layout
14124 ObsoletedBy
14125 \end_layout
14126
14127 \end_inset
14128
14129  [
14130 \begin_inset Flex Code
14131 status collapsed
14132
14133 \begin_layout Plain Layout
14134 <名称>
14135 \end_layout
14136
14137 \end_inset
14138
14139 ] このレイアウトが置き換えられたレイアウト名.これは,
14140 後方互換性を維持しながら,
14141 レイアウトの名称を変更するのに使用されます.
14142 \end_layout
14143
14144 \begin_layout Description
14145 \begin_inset Flex Code
14146 status collapsed
14147
14148 \begin_layout Plain Layout
14149 ParagraphGroup
14150 \end_layout
14151
14152 \end_inset
14153
14154  [
14155 \begin_inset Flex Code
14156 status collapsed
14157
14158 \begin_layout Plain Layout
14159 0
14160 \end_layout
14161
14162 \end_inset
14163
14164 ,
14165 \begin_inset space \thinspace{}
14166 \end_inset
14167
14168
14169 \begin_inset Flex Code
14170 status collapsed
14171
14172 \begin_layout Plain Layout
14173 1
14174 \end_layout
14175
14176 \end_inset
14177
14178 ] 同じ型の段落が引き続く場合,
14179 同じ段落として取り扱うか否かを決定します.これは,
14180 そのような連続グループに対して,
14181
14182 \begin_inset Flex Code
14183 status collapsed
14184
14185 \begin_layout Plain Layout
14186 GuiLabel
14187 \end_layout
14188
14189 \end_inset
14190
14191 が一度だけ出力される効果があります.既定では,
14192
14193 \begin_inset Flex Code
14194 status collapsed
14195
14196 \begin_layout Plain Layout
14197 LaTeXType
14198 \end_layout
14199
14200 \end_inset
14201
14202
14203
14204 \begin_inset Flex Code
14205 status collapsed
14206
14207 \begin_layout Plain Layout
14208 Environment
14209 \end_layout
14210
14211 \end_inset
14212
14213 および
14214 \begin_inset Flex Code
14215 status collapsed
14216
14217 \begin_layout Plain Layout
14218 Bib_Environment
14219 \end_layout
14220
14221 \end_inset
14222
14223  については有効であり,
14224 他の型すべてについて無効になっています.
14225 \end_layout
14226
14227 \begin_layout Description
14228 \begin_inset Flex Code
14229 status collapsed
14230
14231 \begin_layout Plain Layout
14232 ParbreakIsNewline
14233 \end_layout
14234
14235 \end_inset
14236
14237  [
14238 \begin_inset Flex Code
14239 status collapsed
14240
14241 \begin_layout Plain Layout
14242
14243 \emph on
14244 0
14245 \end_layout
14246
14247 \end_inset
14248
14249 ,
14250 \begin_inset space \thinspace{}
14251 \end_inset
14252
14253
14254 \begin_inset Flex Code
14255 status collapsed
14256
14257 \begin_layout Plain Layout
14258 1
14259 \end_layout
14260
14261 \end_inset
14262
14263 ] \SpecialChar LaTeX
14264 出力中で,
14265 段落を空行ではなく,
14266 改行で区切るよう指定します.
14267 \begin_inset Flex Code
14268 status collapsed
14269
14270 \begin_layout Plain Layout
14271 PassThru 1
14272 \end_layout
14273
14274 \end_inset
14275
14276 と併用すれば,
14277 (\SpecialChar TeX
14278 コードを使用したときのように)テキストエディタをエミュレートすることができます.
14279 \end_layout
14280
14281 \begin_layout Description
14282 \begin_inset Flex Code
14283 status collapsed
14284
14285 \begin_layout Plain Layout
14286 ParIndent
14287 \end_layout
14288
14289 \end_inset
14290
14291  [
14292 \begin_inset Flex Code
14293 status collapsed
14294
14295 \begin_layout Plain Layout
14296 文字列=""
14297 \end_layout
14298
14299 \end_inset
14300
14301 ] 段落の最初の行の行頭下げ.レイアウトによっては
14302 \begin_inset Flex Code
14303 status collapsed
14304
14305 \begin_layout Plain Layout
14306 Parindent
14307 \end_layout
14308
14309 \end_inset
14310
14311 は固定されています.例外には標準レイアウトがあり,
14312 標準レイアウトの段落の行頭下げは,
14313
14314 \begin_inset Flex Code
14315 status collapsed
14316
14317 \begin_layout Plain Layout
14318 NextNoIndent
14319 \end_layout
14320
14321 \end_inset
14322
14323 で禁止することができるようになっています.また,
14324 環境中の標準レイアウト段落は,
14325 当該段落の
14326 \begin_inset Flex Code
14327 status collapsed
14328
14329 \begin_layout Plain Layout
14330 Parindent
14331 \end_layout
14332
14333 \end_inset
14334
14335 ではなく,
14336 この環境の
14337 \begin_inset Flex Code
14338 status collapsed
14339
14340 \begin_layout Plain Layout
14341 Parindent
14342 \end_layout
14343
14344 \end_inset
14345
14346 を使用します.たとえば,
14347 箇条書き(連番)内の標準段落は,
14348 行頭下げされません.
14349 \end_layout
14350
14351 \begin_layout Description
14352 \begin_inset Flex Code
14353 status collapsed
14354
14355 \begin_layout Plain Layout
14356 ParSep
14357 \end_layout
14358
14359 \end_inset
14360
14361  [
14362 \begin_inset Flex Code
14363 status collapsed
14364
14365 \begin_layout Plain Layout
14366 浮動小数点型=0
14367 \end_layout
14368
14369 \end_inset
14370
14371 ] このレイアウトの2段落間の垂直余白.
14372 \end_layout
14373
14374 \begin_layout Description
14375 \begin_inset Flex Code
14376 status collapsed
14377
14378 \begin_layout Plain Layout
14379 Parskip
14380 \end_layout
14381
14382 \end_inset
14383
14384  [
14385 \begin_inset Flex Code
14386 status collapsed
14387
14388 \begin_layout Plain Layout
14389 浮動小数点型=0
14390 \end_layout
14391
14392 \end_inset
14393
14394 ] \SpecialChar LyX
14395 では,
14396 文書を組版するのに,
14397 ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,
14398 この値は完全に無視されます.「スキップ」を選択した際には,
14399 \SpecialChar LaTeX
14400 型「段落」レイアウトの
14401 \begin_inset Flex Code
14402 status collapsed
14403
14404 \begin_layout Plain Layout
14405 ParIndent
14406 \end_layout
14407
14408 \end_inset
14409
14410 は無視され,
14411 すべての段落はこの
14412 \begin_inset Flex Code
14413 status collapsed
14414
14415 \begin_layout Plain Layout
14416 Parskip
14417 \end_layout
14418
14419 \end_inset
14420
14421 引数分だけ引き離されます.垂直余白は,
14422
14423 \begin_inset Flex Code
14424 status collapsed
14425
14426 \begin_layout Plain Layout
14427 DefaultHeight
14428 \end_layout
14429
14430 \end_inset
14431
14432 を標準フォントでの1行の高さとすると,
14433
14434 \begin_inset Flex Code
14435 status collapsed
14436
14437 \begin_layout Plain Layout
14438 Parskipの値
14439 \end_layout
14440
14441 \end_inset
14442
14443
14444 \begin_inset Formula $\times$
14445 \end_inset
14446
14447
14448 \begin_inset Flex Code
14449 status collapsed
14450
14451 \begin_layout Plain Layout
14452 DefaultHeight
14453 \end_layout
14454
14455 \end_inset
14456
14457 によって計算されます.このようにして,
14458 画面フォントを変更しても同じように表示されるのです.
14459 \end_layout
14460
14461 \begin_layout Description
14462 \begin_inset Flex Code
14463 status collapsed
14464
14465 \begin_layout Plain Layout
14466 PassThru
14467 \end_layout
14468
14469 \end_inset
14470
14471  [
14472 \emph on
14473
14474 \begin_inset Flex Code
14475 status collapsed
14476
14477 \begin_layout Plain Layout
14478 0
14479 \end_layout
14480
14481 \end_inset
14482
14483
14484 \emph default
14485 ,
14486 \begin_inset space \thinspace{}
14487 \end_inset
14488
14489
14490 \begin_inset Flex Code
14491 status collapsed
14492
14493 \begin_layout Plain Layout
14494 1
14495 \end_layout
14496
14497 \end_inset
14498
14499 ] この段落の内容が,
14500 \SpecialChar LaTeX
14501 が必要とするような特別な変換を行わずに,
14502 生の形で出力されるべきかどうか.
14503 \end_layout
14504
14505 \begin_layout Description
14506 \begin_inset Flex Code
14507 status collapsed
14508
14509 \begin_layout Plain Layout
14510 PassThruChars
14511 \end_layout
14512
14513 \end_inset
14514
14515  [
14516 \begin_inset Flex Code
14517 status collapsed
14518
14519 \begin_layout Plain Layout
14520 文字列
14521 \end_layout
14522
14523 \end_inset
14524
14525 ]
14526 \family typewriter
14527  
14528 \family default
14529 \SpecialChar LaTeX
14530 が要請する特別な翻訳なしで.生の形で出力されるべき,
14531 それぞれの文字を定義します.
14532 \end_layout
14533
14534 \begin_layout Description
14535 \begin_inset Flex Code
14536 status collapsed
14537
14538 \begin_layout Plain Layout
14539 Preamble
14540 \end_layout
14541
14542 \end_inset
14543
14544  この様式が使用されたときに,
14545 \SpecialChar LaTeX
14546 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,
14547 パッケージを読み込んだりと言ったことに使用します.「
14548 \begin_inset Flex Code
14549 status collapsed
14550
14551 \begin_layout Plain Layout
14552 EndPreamble
14553 \end_layout
14554
14555 \end_inset
14556
14557 」で閉じる必要があります.
14558 \end_layout
14559
14560 \begin_layout Description
14561 \begin_inset Flex Code
14562 status collapsed
14563
14564 \begin_layout Plain Layout
14565 RefPrefix
14566 \end_layout
14567
14568 \end_inset
14569
14570  [
14571 \begin_inset Flex Code
14572 status collapsed
14573
14574 \begin_layout Plain Layout
14575 文字列
14576 \end_layout
14577
14578 \end_inset
14579
14580 ] この型の段落を参照する際,
14581 生成されるラベルに使用する前置句.これによって,
14582 整形参照を使用することができるようになります.
14583 \end_layout
14584
14585 \begin_layout Description
14586 \begin_inset Flex Code
14587 status collapsed
14588
14589 \begin_layout Plain Layout
14590 Requires
14591 \end_layout
14592
14593 \end_inset
14594
14595  [
14596 \begin_inset Flex Code
14597 status collapsed
14598
14599 \begin_layout Plain Layout
14600 文字列
14601 \end_layout
14602
14603 \end_inset
14604
14605 ] この様式が機能
14606 \begin_inset Flex Code
14607 status collapsed
14608
14609 \begin_layout Plain Layout
14610 文字列
14611 \end_layout
14612
14613 \end_inset
14614
14615 を必要とするかどうか(機能詳細については,
14616
14617 \begin_inset CommandInset ref
14618 LatexCommand ref
14619 reference "chap:関数一覧"
14620 nolink "false"
14621
14622 \end_inset
14623
14624 節参照).特定のオプションをとるパッケージを要求する場合,
14625
14626 \begin_inset Flex Code
14627 status collapsed
14628
14629 \begin_layout Plain Layout
14630 PackageOptions
14631 \end_layout
14632
14633 \end_inset
14634
14635 を汎用テキストクラスパラメータとして追加して使うことができます(
14636 \begin_inset CommandInset ref
14637 LatexCommand ref
14638 reference "subsec:汎用テキストクラスパラメータ"
14639 nolink "false"
14640
14641 \end_inset
14642
14643 を参照).
14644 \end_layout
14645
14646 \begin_layout Description
14647 \begin_inset Flex Code
14648 status collapsed
14649
14650 \begin_layout Plain Layout
14651 ResetArgs
14652 \end_layout
14653
14654 \end_inset
14655
14656  [
14657 \begin_inset Flex Code
14658 status collapsed
14659
14660 \begin_layout Plain Layout
14661
14662 \emph on
14663 0
14664 \end_layout
14665
14666 \end_inset
14667
14668 ,
14669 \begin_inset Flex Code
14670 status collapsed
14671
14672 \begin_layout Plain Layout
14673 1
14674 \end_layout
14675
14676 \end_inset
14677
14678 ] (
14679 \begin_inset Flex Code
14680 status collapsed
14681
14682 \begin_layout Plain Layout
14683 Argument
14684 \end_layout
14685
14686 \end_inset
14687
14688 タグで定義された)この様式の\SpecialChar LaTeX
14689 引数をリセットします.これは,
14690 様式を
14691 \begin_inset Flex Code
14692 status collapsed
14693
14694 \begin_layout Plain Layout
14695 CopyStyle
14696 \end_layout
14697
14698 \end_inset
14699
14700 でコピーし,
14701 その(必須及び非必須)引数は継承したくない場合に便利です.
14702 \end_layout
14703
14704 \begin_layout Description
14705 \begin_inset Flex Code
14706 status collapsed
14707
14708 \begin_layout Plain Layout
14709 ResumeCounter
14710 \end_layout
14711
14712 \end_inset
14713
14714  [
14715 \begin_inset Flex Code
14716 status collapsed
14717
14718 \begin_layout Plain Layout
14719
14720 \emph on
14721 0
14722 \end_layout
14723
14724 \end_inset
14725
14726 ,
14727 \begin_inset Flex Code
14728 status collapsed
14729
14730 \begin_layout Plain Layout
14731 1
14732 \end_layout
14733
14734 \end_inset
14735
14736 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
14737
14738 \begin_inset Flex Code
14739 status collapsed
14740
14741 \begin_layout Plain Layout
14742 LabelType
14743 \end_layout
14744
14745 \end_inset
14746
14747
14748 \begin_inset Flex Code
14749 status collapsed
14750
14751 \begin_layout Plain Layout
14752 Enumerate
14753 \end_layout
14754
14755 \end_inset
14756
14757 の時のみ有効です.
14758 \end_layout
14759
14760 \begin_layout Description
14761 \begin_inset Flex Code
14762 status collapsed
14763
14764 \begin_layout Plain Layout
14765 RightDelim
14766 \end_layout
14767
14768 \end_inset
14769
14770  [
14771 \begin_inset Flex Code
14772 status collapsed
14773
14774 \begin_layout Plain Layout
14775 文字列
14776 \end_layout
14777
14778 \end_inset
14779
14780 ] 様式の内容の最後に置かれる文字列.出力中の改行は
14781 \begin_inset Flex Code
14782 status collapsed
14783
14784 \begin_layout Plain Layout
14785 <br/>
14786 \end_layout
14787
14788 \end_inset
14789
14790 で指示できます.
14791 \end_layout
14792
14793 \begin_layout Description
14794 \begin_inset Flex Code
14795 status collapsed
14796
14797 \begin_layout Plain Layout
14798 RightMargin
14799 \end_layout
14800
14801 \end_inset
14802
14803  [
14804 \begin_inset Flex Code
14805 status collapsed
14806
14807 \begin_layout Plain Layout
14808 文字列=""
14809 \end_layout
14810
14811 \end_inset
14812
14813
14814 \begin_inset Flex Code
14815 status collapsed
14816
14817 \begin_layout Plain Layout
14818 LeftMargin
14819 \end_layout
14820
14821 \end_inset
14822
14823 に同様.
14824 \end_layout
14825
14826 \begin_layout Description
14827 \begin_inset Flex Code
14828 status collapsed
14829
14830 \begin_layout Plain Layout
14831 Spacing
14832 \end_layout
14833
14834 \end_inset
14835
14836  [
14837 \begin_inset Flex Code
14838 status collapsed
14839
14840 \begin_layout Plain Layout
14841
14842 \emph on
14843 single
14844 \end_layout
14845
14846 \end_inset
14847
14848 ,
14849  
14850 \begin_inset Flex Code
14851 status collapsed
14852
14853 \begin_layout Plain Layout
14854 onehalf
14855 \end_layout
14856
14857 \end_inset
14858
14859 ,
14860  
14861 \begin_inset Flex Code
14862 status collapsed
14863
14864 \begin_layout Plain Layout
14865 double
14866 \end_layout
14867
14868 \end_inset
14869
14870 ,
14871  
14872 \begin_inset Flex Code
14873 status collapsed
14874
14875 \begin_layout Plain Layout
14876 other
14877 \begin_inset space ~
14878 \end_inset
14879
14880 <
14881 \emph on
14882
14883 \emph default
14884 >
14885 \end_layout
14886
14887 \end_inset
14888
14889 ]
14890 \lang english
14891  
14892 \lang japanese
14893 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
14894 \begin_inset Flex Code
14895 status collapsed
14896
14897 \begin_layout Plain Layout
14898 single
14899 \end_layout
14900
14901 \end_inset
14902
14903
14904 \begin_inset Flex Code
14905 status collapsed
14906
14907 \begin_layout Plain Layout
14908 onehalf
14909 \end_layout
14910
14911 \end_inset
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 それぞれ乗数1・1.25・1.667に対応します.引数
14925 \begin_inset Flex Code
14926 status collapsed
14927
14928 \begin_layout Plain Layout
14929 other
14930 \end_layout
14931
14932 \end_inset
14933
14934 を指定した場合には,
14935 実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
14936 \begin_inset Flex Code
14937 status collapsed
14938
14939 \begin_layout Plain Layout
14940 Spacing
14941 \end_layout
14942
14943 \end_inset
14944
14945 は,
14946 \SpecialChar LaTeX
14947 パッケージ
14948 \begin_inset Flex Code
14949 status collapsed
14950
14951 \begin_layout Plain Layout
14952 setspace
14953 \end_layout
14954
14955 \end_inset
14956
14957 パッケージを使用した,
14958 限定的な\SpecialChar LaTeX
14959 コードを生成することを意味することにご注意ください.
14960 \end_layout
14961
14962 \begin_layout Description
14963 \begin_inset Flex Code
14964 status collapsed
14965
14966 \begin_layout Plain Layout
14967 Spellcheck
14968 \end_layout
14969
14970 \end_inset
14971
14972  [
14973 \begin_inset Flex Code
14974 status collapsed
14975
14976 \begin_layout Plain Layout
14977 0
14978 \end_layout
14979
14980 \end_inset
14981
14982 ,
14983 \begin_inset space \thinspace{}
14984 \end_inset
14985
14986
14987 \begin_inset Flex Code
14988 status collapsed
14989
14990 \begin_layout Plain Layout
14991 1
14992 \end_layout
14993
14994 \end_inset
14995
14996 ] この様式の段落をスペルチェックするか否か.既定値は真です.
14997 \end_layout
14998
14999 \begin_layout Description
15000 \begin_inset Flex Code
15001 status collapsed
15002
15003 \begin_layout Plain Layout
15004 StepParentCounter
15005 \end_layout
15006
15007 \end_inset
15008
15009  [
15010 \begin_inset Flex Code
15011 status collapsed
15012
15013 \begin_layout Plain Layout
15014
15015 \emph on
15016 0
15017 \end_layout
15018
15019 \end_inset
15020
15021 ,
15022 \begin_inset Flex Code
15023 status collapsed
15024
15025 \begin_layout Plain Layout
15026 1
15027 \end_layout
15028
15029 \end_inset
15030
15031 ] 新しいレイアウト群を開始する際に,
15032 このカウンタの親カウンタを進めるか否か.これは,
15033 現在のところ,
15034
15035 \begin_inset Flex Code
15036 status collapsed
15037
15038 \begin_layout Plain Layout
15039 LabelType
15040 \end_layout
15041
15042 \end_inset
15043
15044
15045 \begin_inset Flex Code
15046 status collapsed
15047
15048 \begin_layout Plain Layout
15049 Enumerate
15050 \end_layout
15051
15052 \end_inset
15053
15054 の時のみ有効です.
15055 \end_layout
15056
15057 \begin_layout Description
15058 \begin_inset Flex Code
15059 status collapsed
15060
15061 \begin_layout Plain Layout
15062 TextFont
15063 \end_layout
15064
15065 \end_inset
15066
15067  本文に使うフォント.第
15068 \begin_inset CommandInset ref
15069 LatexCommand ref
15070 reference "subsec:フォント指定"
15071 nolink "false"
15072
15073 \end_inset
15074
15075 節参照.
15076 \end_layout
15077
15078 \begin_layout Description
15079 \begin_inset Flex Code
15080 status collapsed
15081
15082 \begin_layout Plain Layout
15083 TocLevel
15084 \end_layout
15085
15086 \end_inset
15087
15088  [
15089 \begin_inset Flex Code
15090 status collapsed
15091
15092 \begin_layout Plain Layout
15093 整数型=3
15094 \end_layout
15095
15096 \end_inset
15097
15098 ] 目次中でのこの様式の階層.これは,
15099 節見出しの自動連番に使用されます.
15100 \end_layout
15101
15102 \begin_layout Description
15103 \begin_inset Flex Code
15104 status collapsed
15105
15106 \begin_layout Plain Layout
15107 ToggleIndent
15108 \end_layout
15109
15110 \end_inset
15111
15112  [
15113 \emph on
15114
15115 \begin_inset Flex Code
15116 status collapsed
15117
15118 \begin_layout Plain Layout
15119 default
15120 \end_layout
15121
15122 \end_inset
15123
15124
15125 \emph default
15126 ,
15127  
15128 \begin_inset Flex Code
15129 status collapsed
15130
15131 \begin_layout Plain Layout
15132 always
15133 \end_layout
15134
15135 \end_inset
15136
15137 ,
15138  
15139 \begin_inset Flex Code
15140 status collapsed
15141
15142 \begin_layout Plain Layout
15143 never
15144 \end_layout
15145
15146 \end_inset
15147
15148 ] このタグは,
15149 この段落の1行目の行頭下げが,
15150 段落設定ダイアログで切り替えられるかどうかを決めます.
15151 \begin_inset Flex Code
15152 status collapsed
15153
15154 \begin_layout Plain Layout
15155 default
15156 \end_layout
15157
15158 \end_inset
15159
15160 が指定されると,
15161 文書設定が「行頭下げ」段落様式を使用しているときに,
15162 行頭下げを変更することができます.
15163 \begin_inset Flex Code
15164 status collapsed
15165
15166 \begin_layout Plain Layout
15167 always
15168 \end_layout
15169
15170 \end_inset
15171
15172 は,
15173 文書設定にかかわらず変更することができ,
15174
15175 \begin_inset Flex Code
15176 status collapsed
15177
15178 \begin_layout Plain Layout
15179 never
15180 \end_layout
15181
15182 \end_inset
15183
15184 は,
15185 どのような場合でも変更することができません.
15186 \end_layout
15187
15188 \begin_layout Description
15189 \begin_inset Flex Code
15190 status collapsed
15191
15192 \begin_layout Plain Layout
15193 TopSep
15194 \end_layout
15195
15196 \end_inset
15197
15198  [
15199 \begin_inset Flex Code
15200 status collapsed
15201
15202 \begin_layout Plain Layout
15203 浮動小数点型=0
15204 \end_layout
15205
15206 \end_inset
15207
15208 ] このレイアウトを持つ一連の段落群の最初の段落と,
15209 その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,
15210 余白は単純に追加されるのではなく,
15211 それらの最大値がとられます.
15212 \end_layout
15213
15214 \begin_layout Subsection
15215 段落様式の国際化
15216 \begin_inset CommandInset label
15217 LatexCommand label
15218 name "subsec:段落様式の国際化"
15219
15220 \end_inset
15221
15222
15223 \end_layout
15224
15225 \begin_layout Standard
15226 \SpecialChar LyX
15227 は,
15228 長きにわたってレイアウト情報の国際化をサポートしてきましたが,
15229 第2.0版までは,
15230 これは操作画面にのみ適用されるものであって,
15231 たとえばPDF出力には適用されませんでした.たとえば,
15232 フランスの著者が,
15233 「Theorem 1」の代わりに「
15234 \lang french
15235 Théorème
15236 \lang japanese
15237  1」としたければ,
15238 醜いハックに頼るしかありませんでした.Georg Baumのおかげで,
15239 これは解消されました.
15240 \end_layout
15241
15242 \begin_layout Standard
15243 もし
15244 \begin_inset Flex MenuItem
15245 status collapsed
15246
15247 \begin_layout Plain Layout
15248 Style
15249 \end_layout
15250
15251 \end_inset
15252
15253 が,
15254 組版文書に出力される文字列を定義するのであれば,
15255 非英語文書や複数言語文書をサポートするために,
15256
15257 \begin_inset Flex MenuItem
15258 status collapsed
15259
15260 \begin_layout Plain Layout
15261 LangPreamble
15262 \end_layout
15263
15264 \end_inset
15265
15266
15267 \begin_inset Flex MenuItem
15268 status collapsed
15269
15270 \begin_layout Plain Layout
15271 BabelPreamble
15272 \end_layout
15273
15274 \end_inset
15275
15276 を使用することができます.以下の抜粋(
15277 \begin_inset Flex MenuItem
15278 status collapsed
15279
15280 \begin_layout Plain Layout
15281 theorems-ams.inc
15282 \end_layout
15283
15284 \end_inset
15285
15286 より)は,
15287 これがどう動作するかを示すものです.
15288 \end_layout
15289
15290 \begin_layout LyX-Code
15291 Preamble
15292 \end_layout
15293
15294 \begin_deeper
15295 \begin_layout LyX-Code
15296   
15297 \backslash
15298 theoremstyle{remark}
15299 \end_layout
15300
15301 \begin_layout LyX-Code
15302   
15303 \backslash
15304 newtheorem{claim}[thm]{
15305 \backslash
15306 protect
15307 \backslash
15308 claimname}
15309 \end_layout
15310
15311 \begin_layout LyX-Code
15312 EndPreamble
15313 \end_layout
15314
15315 \begin_layout LyX-Code
15316 LangPreamble
15317 \end_layout
15318
15319 \begin_layout LyX-Code
15320   
15321 \backslash
15322 providecommand{
15323 \backslash
15324 claimname}{_(Claim)}
15325 \end_layout
15326
15327 \begin_layout LyX-Code
15328 EndLangPreamble
15329 \end_layout
15330
15331 \begin_layout LyX-Code
15332 BabelPreamble
15333 \end_layout
15334
15335 \begin_layout LyX-Code
15336     
15337 \backslash
15338 addto
15339 \backslash
15340 captions$$lang{
15341 \backslash
15342 renewcommand{
15343 \backslash
15344 claimname}{_(Claim)}}
15345 \end_layout
15346
15347 \begin_layout LyX-Code
15348 EndBabelPreamble
15349 \end_layout
15350
15351 \end_deeper
15352 \begin_layout Standard
15353 原則として,
15354
15355 \begin_inset Flex MenuItem
15356 status collapsed
15357
15358 \begin_layout Plain Layout
15359 LangPreamble
15360 \end_layout
15361
15362 \end_inset
15363
15364
15365 \begin_inset Flex MenuItem
15366 status collapsed
15367
15368 \begin_layout Plain Layout
15369 BabelPreamble
15370 \end_layout
15371
15372 \end_inset
15373
15374 タグ内には,
15375 有効な\SpecialChar LaTeX
15376 コードはすべて用いることができますが,
15377 実際においては,
15378 ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるのは,
15379 \SpecialChar LaTeX
15380 コマンド
15381 \begin_inset Flex Code
15382 status collapsed
15383
15384 \begin_layout Plain Layout
15385
15386 \backslash
15387 claimname
15388 \end_layout
15389
15390 \end_inset
15391
15392 とその
15393 \begin_inset Flex Code
15394 status collapsed
15395
15396 \begin_layout Plain Layout
15397
15398 \backslash
15399 newtheorem
15400 \end_layout
15401
15402 \end_inset
15403
15404 中での用い方です.
15405 \end_layout
15406
15407 \begin_layout Standard
15408 \begin_inset Flex Code
15409 status collapsed
15410
15411 \begin_layout Plain Layout
15412 LangPreamble
15413 \end_layout
15414
15415 \end_inset
15416
15417 タグは,
15418 文書全体の言語に基づいた国際化を提供します.タグの内容は,
15419
15420 \begin_inset Flex Code
15421 status collapsed
15422
15423 \begin_layout Plain Layout
15424 Preamble
15425 \end_layout
15426
15427 \end_inset
15428
15429 タグと同様,
15430 プリアンブルに置かれるのですが,
15431 これを特別なものにしているのは,
15432 「関数」
15433 \begin_inset Flex Code
15434 status collapsed
15435
15436 \begin_layout Plain Layout
15437 _()
15438 \end_layout
15439
15440 \end_inset
15441
15442 が使用されていることです.これは,
15443 \SpecialChar LyX
15444 が\SpecialChar LaTeX
15445 出力を生成する際,
15446 その引数を文書言語に翻訳したもので置き換えられます.
15447 \end_layout
15448
15449 \begin_layout Standard
15450 \begin_inset Flex Code
15451 status collapsed
15452
15453 \begin_layout Plain Layout
15454 BabelPreamble
15455 \end_layout
15456
15457 \end_inset
15458
15459 タグは,
15460 複数言語文書をサポートし,
15461
15462 \begin_inset Flex Code
15463 status collapsed
15464
15465 \begin_layout Plain Layout
15466 babel
15467 \end_layout
15468
15469 \end_inset
15470
15471 パッケージへのインタフェースを提供することを意図しているので,
15472 もう少し複雑です.その内容は,
15473 文書に現れる言語それぞれについて一度,
15474 プリアンブルに追加されます.この場合には,
15475
15476 \begin_inset Flex Code
15477 status collapsed
15478
15479 \begin_layout Plain Layout
15480 _()
15481 \end_layout
15482
15483 \end_inset
15484
15485 の引数は,
15486 その当該言語への翻訳で置き換えられ,
15487
15488 \begin_inset Flex Code
15489 status collapsed
15490
15491 \begin_layout Plain Layout
15492 $$lang
15493 \end_layout
15494
15495 \end_inset
15496
15497 は言語名(babelパッケージで使用されるもの)で置き換えられます.
15498 \end_layout
15499
15500 \begin_layout Standard
15501 したがって,
15502 フランス語のセクションを持つドイツ語文書では,
15503 以下のような内容がプリアンブルに追加されます
15504 \end_layout
15505
15506 \begin_layout LyX-Code
15507
15508 \backslash
15509 addto
15510 \backslash
15511 captionsfrench{
15512 \backslash
15513 renewcommand{
15514 \backslash
15515 claimname}{Affirmation}}
15516 \begin_inset Newline newline
15517 \end_inset
15518
15519
15520 \backslash
15521 addto
15522 \backslash
15523 captionsngerman{
15524 \backslash
15525 renewcommand{
15526 \backslash
15527 claimname}{Behauptung}}
15528 \begin_inset Newline newline
15529 \end_inset
15530
15531
15532 \backslash
15533 providecommand{
15534 \backslash
15535 claimname}{Behauptung}
15536 \end_layout
15537
15538 \begin_layout Standard
15539 それから,
15540 \SpecialChar LaTeX
15541
15542 \begin_inset Flex Code
15543 status collapsed
15544
15545 \begin_layout Plain Layout
15546 babel
15547 \end_layout
15548
15549 \end_inset
15550
15551 は協力して,
15552 出力に正しい文字列を生成します.
15553 \end_layout
15554
15555 \begin_layout Standard
15556 ここで注意しておくべき一つの重要な点は,
15557 翻訳は,
15558
15559 \begin_inset Flex Code
15560 status collapsed
15561
15562 \begin_layout Plain Layout
15563 layouttranslations
15564 \end_layout
15565
15566 \end_inset
15567
15568 ファイルを通じて,
15569 \SpecialChar LyX
15570 自身によって提供されるということです.つまり,
15571 ユーザー作成のレイアウトファイルに入力された文字列は,
15572
15573 \begin_inset Flex Code
15574 status collapsed
15575
15576 \begin_layout Plain Layout
15577 layouttranslations
15578 \end_layout
15579
15580 \end_inset
15581
15582 ファイルをそれに応じて変更しない限り,
15583 \SpecialChar LyX
15584 の国際化ルーチンでは取り扱われないので,
15585
15586 \begin_inset Flex MenuItem
15587 status collapsed
15588
15589 \begin_layout Plain Layout
15590 LangPreamble
15591 \end_layout
15592
15593 \end_inset
15594
15595
15596 \begin_inset Flex MenuItem
15597 status collapsed
15598
15599 \begin_layout Plain Layout
15600 BabelPreamble
15601 \end_layout
15602
15603 \end_inset
15604
15605 は,
15606 事実上,
15607 \SpecialChar LyX
15608 とともに提供されるレイアウトファイルでのみ,
15609 使うことができるということを意味します.とはいえ,
15610 こういうことでありますので,
15611 将来的に\SpecialChar LyX
15612 に同梱させようという意図を以て作成されたレイアウトは,
15613 適切なところではすべて,
15614 これらのタグを使用するべきです.\SpecialChar LyX
15615 が提供する段落様式の翻訳は,
15616 マイナー更新(例えば2.1.x版から2.1.y版)では変更されないことに注意してください.しかしながら,
15617 メジャー更新(例えば2.0.x版から2.1.y版)では,
15618 新しい翻訳や修正が導入される可能性は大いにあります.
15619 \end_layout
15620
15621 \begin_layout Subsection
15622 フロート
15623 \begin_inset CommandInset label
15624 LatexCommand label
15625 name "subsec:フロート"
15626
15627 \end_inset
15628
15629
15630 \end_layout
15631
15632 \begin_layout Standard
15633 \SpecialChar LyX
15634 第1.3.0版以来,
15635 テキストクラス自体の中でフロート(
15636 \begin_inset Flex MenuItem
15637 status collapsed
15638
15639 \begin_layout Plain Layout
15640 figure
15641 \end_layout
15642
15643 \end_inset
15644
15645
15646 \begin_inset Flex MenuItem
15647 status collapsed
15648
15649 \begin_layout Plain Layout
15650 table
15651 \end_layout
15652
15653 \end_inset
15654
15655 ・\SpecialChar ldots
15656 )を定義することが可能となり,
15657 かつ必要となりました.標準的なフロートは
15658 \begin_inset Flex Code
15659 status collapsed
15660
15661 \begin_layout Plain Layout
15662 stdfloats.inc
15663 \end_layout
15664
15665 \end_inset
15666
15667 ファイルに含まれているので,
15668 作業中のレイアウトファイルに
15669 \end_layout
15670
15671 \begin_layout LyX-Code
15672 Input stdfloats.inc
15673 \end_layout
15674
15675 \begin_layout Standard
15676 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
15677 に同梱されているAGUクラスのように,
15678 それ以外のフロート型を提供するテキストクラスを実装するには,
15679 以下の情報が役立つでありましょう.
15680 \end_layout
15681
15682 \begin_layout Description
15683 \begin_inset Flex Code
15684 status collapsed
15685
15686 \begin_layout Plain Layout
15687 AllowedPlacement
15688 \end_layout
15689
15690 \end_inset
15691
15692  [
15693 \begin_inset Flex Code
15694 status collapsed
15695
15696 \begin_layout Plain Layout
15697 文字列
15698 \end_layout
15699
15700 \end_inset
15701
15702 =!htbpH] このフロート型に許可された配置用の選択肢.値は,
15703 配置文字からなる文字列です.使用できる文字には,
15704
15705 \emph on
15706 h
15707 \emph default
15708  (
15709 \begin_inset Quotes eld
15710 \end_inset
15711
15712 here if possible:
15713 可能ならば現在位置に
15714 \begin_inset Quotes erd
15715 \end_inset
15716
15717 ),
15718  
15719 \emph on
15720 t
15721 \emph default
15722  (
15723 \begin_inset Quotes eld
15724 \end_inset
15725
15726 top of page:
15727 ページ上部
15728 \begin_inset Quotes erd
15729 \end_inset
15730
15731 )・
15732 \emph on
15733 b
15734 \emph default
15735  (
15736 \begin_inset Quotes eld
15737 \end_inset
15738
15739 bottom of page:
15740 ページ下部
15741 \begin_inset Quotes erd
15742 \end_inset
15743
15744 )・
15745 \emph on
15746 p
15747 \emph default
15748  (
15749 \begin_inset Quotes eld
15750 \end_inset
15751
15752 page of floats:
15753 フロートを独立したページに
15754 \begin_inset Quotes erd
15755 \end_inset
15756
15757 )・
15758 \emph on
15759 H
15760 \emph default
15761  (
15762 \begin_inset Quotes eld
15763 \end_inset
15764
15765 here definitely:
15766 何としても現在位置に置く
15767 \begin_inset Quotes erd
15768 \end_inset
15769
15770 )・
15771 \emph on
15772 !
15773
15774 \emph default
15775  (
15776 \begin_inset Quotes eld
15777 \end_inset
15778
15779 ignore LaTeX rules:
15780 LaTeXの規則を無視する
15781 \begin_inset Quotes erd
15782 \end_inset
15783
15784 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,
15785 文字列として
15786 \emph on
15787 none
15788 \emph default
15789 を与えてください.
15790 \end_layout
15791
15792 \begin_layout Description
15793 \begin_inset Flex Code
15794 status collapsed
15795
15796 \begin_layout Plain Layout
15797 AllowsSideways
15798 \end_layout
15799
15800 \end_inset
15801
15802  [
15803 \begin_inset Flex Code
15804 status collapsed
15805
15806 \begin_layout Plain Layout
15807 0
15808 \end_layout
15809
15810 \end_inset
15811
15812 ,
15813 \begin_inset space \thinspace{}
15814 \end_inset
15815
15816
15817 \emph on
15818
15819 \begin_inset Flex Code
15820 status collapsed
15821
15822 \begin_layout Plain Layout
15823 1
15824 \end_layout
15825
15826 \end_inset
15827
15828
15829 \emph default
15830 ] フロートを,
15831 \SpecialChar LaTeX
15832 パッケージの
15833 \family typewriter
15834 rotfloat
15835 \family default
15836  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
15837
15838 \begin_inset Flex Code
15839 status collapsed
15840
15841 \begin_layout Plain Layout
15842 0
15843 \end_layout
15844
15845 \end_inset
15846
15847 を指定してください.
15848 \end_layout
15849
15850 \begin_layout Description
15851 \begin_inset Flex Code
15852 status collapsed
15853
15854 \begin_layout Plain Layout
15855 AllowsWide
15856 \end_layout
15857
15858 \end_inset
15859
15860  [
15861 \begin_inset Flex Code
15862 status collapsed
15863
15864 \begin_layout Plain Layout
15865 0
15866 \end_layout
15867
15868 \end_inset
15869
15870 ,
15871 \begin_inset space \thinspace{}
15872 \end_inset
15873
15874
15875 \emph on
15876
15877 \begin_inset Flex Code
15878 status collapsed
15879
15880 \begin_layout Plain Layout
15881 1
15882 \end_layout
15883
15884 \end_inset
15885
15886
15887 \emph default
15888 ] このフロートに,
15889 二段組段落において段落をまたぐ,
15890 星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
15891
15892 \begin_inset Flex Code
15893 status collapsed
15894
15895 \begin_layout Plain Layout
15896 0
15897 \end_layout
15898
15899 \end_inset
15900
15901 を指定してください.
15902 \end_layout
15903
15904 \begin_layout Description
15905 \begin_inset Flex Code
15906 status collapsed
15907
15908 \begin_layout Plain Layout
15909 Extension
15910 \end_layout
15911
15912 \end_inset
15913
15914  [
15915 \begin_inset Flex Code
15916 status collapsed
15917
15918 \begin_layout Plain Layout
15919 文字列
15920 \end_layout
15921
15922 \end_inset
15923
15924 =
15925 \begin_inset Quotes erd
15926 \end_inset
15927
15928
15929 \begin_inset Quotes erd
15930 \end_inset
15931
15932 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
15933 がキャプションを書き込むファイルです.
15934 \end_layout
15935
15936 \begin_layout Description
15937 \begin_inset Flex Code
15938 status collapsed
15939
15940 \begin_layout Plain Layout
15941 GuiName
15942 \end_layout
15943
15944 \end_inset
15945
15946  [
15947 \begin_inset Flex Code
15948 status collapsed
15949
15950 \begin_layout Plain Layout
15951 文字列
15952 \end_layout
15953
15954 \end_inset
15955
15956 =
15957 \begin_inset Quotes erd
15958 \end_inset
15959
15960
15961 \begin_inset Quotes erd
15962 \end_inset
15963
15964 ] メニューとキャプションに使用される文字列.babelが使用される場合には,
15965 これは現在の言語に翻訳されます.
15966 \end_layout
15967
15968 \begin_layout Description
15969 \begin_inset Flex Code
15970 status collapsed
15971
15972 \begin_layout Plain Layout
15973 HTML*
15974 \end_layout
15975
15976 \end_inset
15977
15978  これらは,
15979 XHTML出力で使用されます.
15980 \begin_inset CommandInset ref
15981 LatexCommand ref
15982 reference "sec:XHTML出力のタグ"
15983 nolink "false"
15984
15985 \end_inset
15986
15987 をご覧ください.
15988 \end_layout
15989
15990 \begin_layout Description
15991 \begin_inset Flex Code
15992 status collapsed
15993
15994 \begin_layout Plain Layout
15995 IsPredefined
15996 \end_layout
15997
15998 \end_inset
15999
16000  [
16001 \begin_inset Flex Code
16002 status collapsed
16003
16004 \begin_layout Plain Layout
16005
16006 \emph on
16007 0
16008 \end_layout
16009
16010 \end_inset
16011
16012 ,
16013 \begin_inset space \thinspace{}
16014 \end_inset
16015
16016
16017 \begin_inset Flex Code
16018 status collapsed
16019
16020 \begin_layout Plain Layout
16021 1
16022 \end_layout
16023
16024 \end_inset
16025
16026 ] フロートがドキュメントクラス中に既に定義されているのか,
16027 あるいは\SpecialChar LaTeX
16028 パッケージ
16029 \begin_inset Flex Code
16030 status collapsed
16031
16032 \begin_layout Plain Layout
16033 float
16034 \end_layout
16035
16036 \end_inset
16037
16038 を読み込む必要があり,
16039 そのファイル内のものを使用して,
16040 オン・ザ・フライで定義するかを示します.既定は
16041 \begin_inset Flex Code
16042 status collapsed
16043
16044 \begin_layout Plain Layout
16045 0
16046 \end_layout
16047
16048 \end_inset
16049
16050 で,
16051 この場合
16052 \begin_inset Flex Code
16053 status collapsed
16054
16055 \begin_layout Plain Layout
16056 float
16057 \end_layout
16058
16059 \end_inset
16060
16061 を使用します.\SpecialChar LaTeX
16062 ドキュメントクラス中に既に定義されているときには,
16063
16064 \begin_inset Flex Code
16065 status collapsed
16066
16067 \begin_layout Plain Layout
16068 0
16069 \end_layout
16070
16071 \end_inset
16072
16073 に設定しなくてはなりません.
16074 \end_layout
16075
16076 \begin_layout Description
16077 \begin_inset Flex Code
16078 status collapsed
16079
16080 \begin_layout Plain Layout
16081 ListCommand
16082 \end_layout
16083
16084 \end_inset
16085
16086  [
16087 \begin_inset Flex Code
16088 status collapsed
16089
16090 \begin_layout Plain Layout
16091 文字列
16092 \end_layout
16093
16094 \end_inset
16095
16096 =
16097 \begin_inset Quotes erd
16098 \end_inset
16099
16100
16101 \begin_inset Quotes erd
16102 \end_inset
16103
16104 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
16105 \backslash
16106 」は書きません.
16107 \begin_inset Flex Code
16108 status collapsed
16109
16110 \begin_layout Plain Layout
16111 NeedsFloatPkg
16112 \end_layout
16113
16114 \end_inset
16115
16116 が偽の時には,
16117 このコマンドを生成する標準的な方法はないので,
16118 これは
16119 \emph on
16120 必ず
16121 \emph default
16122 指定しなくてはなりません.
16123 \begin_inset Flex Code
16124 status collapsed
16125
16126 \begin_layout Plain Layout
16127 NeedsFloatPkg
16128 \end_layout
16129
16130 \end_inset
16131
16132 が真の時は,
16133 標準的な方法が存在するので,
16134 これは無視されます.
16135 \end_layout
16136
16137 \begin_layout Description
16138 \begin_inset Flex Code
16139 status collapsed
16140
16141 \begin_layout Plain Layout
16142 ListName
16143 \end_layout
16144
16145 \end_inset
16146
16147  [
16148 \begin_inset Flex Code
16149 status collapsed
16150
16151 \begin_layout Plain Layout
16152 文字列
16153 \end_layout
16154
16155 \end_inset
16156
16157 =
16158 \begin_inset Quotes erd
16159 \end_inset
16160
16161
16162 \begin_inset Quotes erd
16163 \end_inset
16164
16165 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
16166 中では,
16167 これは画面上のラベルとして使用されます.また,
16168 見出しとして使用するために,
16169 La\SpecialChar TeX
16170 に渡され,
16171 XHTML出力でも見出しとして使用されます.これは,
16172 文書言語に翻訳されます.
16173 \end_layout
16174
16175 \begin_layout Description
16176 \begin_inset Flex Code
16177 status collapsed
16178
16179 \begin_layout Plain Layout
16180 NumberWithin
16181 \end_layout
16182
16183 \end_inset
16184
16185  [
16186 \begin_inset Flex Code
16187 status collapsed
16188
16189 \begin_layout Plain Layout
16190 文字列
16191 \end_layout
16192
16193 \end_inset
16194
16195 =
16196 \begin_inset Quotes erd
16197 \end_inset
16198
16199
16200 \begin_inset Quotes erd
16201 \end_inset
16202
16203 ] この(非必須の)引数は,
16204 このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
16205
16206 \begin_inset Flex Code
16207 status collapsed
16208
16209 \begin_layout Plain Layout
16210 NumberWithin
16211 \end_layout
16212
16213 \end_inset
16214
16215 が「
16216 \begin_inset Flex Code
16217 status collapsed
16218
16219 \begin_layout Plain Layout
16220 chapter
16221 \end_layout
16222
16223 \end_inset
16224
16225 」に指定されていれば,
16226 フロートは章ごとに番号が振り直されます.
16227 \end_layout
16228
16229 \begin_layout Description
16230 \begin_inset Flex Code
16231 status collapsed
16232
16233 \begin_layout Plain Layout
16234 Placement
16235 \end_layout
16236
16237 \end_inset
16238
16239  [
16240 \begin_inset Flex Code
16241 status collapsed
16242
16243 \begin_layout Plain Layout
16244 文字列
16245 \end_layout
16246
16247 \end_inset
16248
16249 =
16250 \begin_inset Quotes erd
16251 \end_inset
16252
16253
16254 \begin_inset Quotes erd
16255 \end_inset
16256
16257 ] このクラスのフロートの既定の配置法.文字列は,
16258 標準的な\SpecialChar LaTeX
16259 表記に従い,
16260
16261 \begin_inset Flex Code
16262 status collapsed
16263
16264 \begin_layout Plain Layout
16265 t
16266 \end_layout
16267
16268 \end_inset
16269
16270 ならば上部(top),
16271
16272 \begin_inset Flex Code
16273 status collapsed
16274
16275 \begin_layout Plain Layout
16276 b
16277 \end_layout
16278
16279 \end_inset
16280
16281 ならば下部(bottom),
16282
16283 \begin_inset Flex Code
16284 status collapsed
16285
16286 \begin_layout Plain Layout
16287 p
16288 \end_layout
16289
16290 \end_inset
16291
16292 ならばページ(page),
16293
16294 \begin_inset Flex Code
16295 status collapsed
16296
16297 \begin_layout Plain Layout
16298 h
16299 \end_layout
16300
16301 \end_inset
16302
16303 ならばここ(here)を表します
16304 \begin_inset Foot
16305 status collapsed
16306
16307 \begin_layout Plain Layout
16308 \SpecialChar LaTeX
16309 同様,
16310 文字列中でのこれらの文字の順序は関係ありません.
16311 \end_layout
16312
16313 \end_inset
16314
16315 .これらの他に新しい型
16316 \begin_inset Flex Code
16317 status collapsed
16318
16319 \begin_layout Plain Layout
16320 H
16321 \end_layout
16322
16323 \end_inset
16324
16325 があり,
16326 これはフロートを「ここ」に置いていいけれども他の場所はだめ,
16327 というものなので,
16328 本当はフロートにあるものではありません.しかし,
16329
16330 \begin_inset Flex Code
16331 status collapsed
16332
16333 \begin_layout Plain Layout
16334 H
16335 \end_layout
16336
16337 \end_inset
16338
16339 指定子は特別なものであり,
16340 その細かい実装上の理由で,
16341 組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,
16342 代わりに「
16343 \begin_inset Flex Code
16344 status collapsed
16345
16346 \begin_layout Plain Layout
16347 tbp
16348 \end_layout
16349
16350 \end_inset
16351
16352 」を指定してください.
16353 \end_layout
16354
16355 \begin_layout Description
16356 \begin_inset Flex Code
16357 status collapsed
16358
16359 \begin_layout Plain Layout
16360 RefPrefix
16361 \end_layout
16362
16363 \end_inset
16364
16365  [
16366 \begin_inset Flex Code
16367 status collapsed
16368
16369 \begin_layout Plain Layout
16370 文字列
16371 \end_layout
16372
16373 \end_inset
16374
16375 ] この型のフロートを参照する際,
16376 生成されるラベルに使用する前置句.これによって,
16377 整形参照を使用することができるようになります.コピーした様式が設定した
16378 \begin_inset Flex Code
16379 status collapsed
16380
16381 \begin_layout Plain Layout
16382 RefPrefix
16383 \end_layout
16384
16385 \end_inset
16386
16387 は,
16388 特別な文字列「OFF」(すべて大文字)を使えば,
16389 いつでも削除することができます.
16390 \end_layout
16391
16392 \begin_layout Description
16393 \begin_inset Flex Code
16394 status collapsed
16395
16396 \begin_layout Plain Layout
16397 Requires
16398 \end_layout
16399
16400 \end_inset
16401
16402  [
16403 \begin_inset Flex Code
16404 status collapsed
16405
16406 \begin_layout Plain Layout
16407 文字列
16408 \end_layout
16409
16410 \end_inset
16411
16412 ] 段落様式におけるのと同様です.第
16413 \begin_inset CommandInset ref
16414 LatexCommand ref
16415 reference "subsec:段落様式"
16416 plural "false"
16417 caps "false"
16418 noprefix "false"
16419 nolink "false"
16420
16421 \end_inset
16422
16423 節を参照.
16424 \end_layout
16425
16426 \begin_layout Description
16427 \begin_inset Flex Code
16428 status collapsed
16429
16430 \begin_layout Plain Layout
16431 Style
16432 \end_layout
16433
16434 \end_inset
16435
16436  [
16437 \begin_inset Flex Code
16438 status collapsed
16439
16440 \begin_layout Plain Layout
16441 文字列
16442 \end_layout
16443
16444 \end_inset
16445
16446 =
16447 \begin_inset Quotes erd
16448 \end_inset
16449
16450
16451 \begin_inset Quotes erd
16452 \end_inset
16453
16454
16455 \begin_inset Flex Code
16456 status collapsed
16457
16458 \begin_layout Plain Layout
16459
16460 \backslash
16461 newfloat
16462 \end_layout
16463
16464 \end_inset
16465
16466 を使用してフロートを定義する際に使用される様式.
16467 \end_layout
16468
16469 \begin_layout Description
16470 \begin_inset Flex Code
16471 status collapsed
16472
16473 \begin_layout Plain Layout
16474 Type
16475 \end_layout
16476
16477 \end_inset
16478
16479  [
16480 \begin_inset Flex Code
16481 status collapsed
16482
16483 \begin_layout Plain Layout
16484 文字列
16485 \end_layout
16486
16487 \end_inset
16488
16489 =
16490 \begin_inset Quotes erd
16491 \end_inset
16492
16493
16494 \begin_inset Quotes erd
16495 \end_inset
16496
16497 ] プログラムやアルゴリズムのような,
16498 フロートの新しいクラス「型」.適切な
16499 \begin_inset Flex Code
16500 status collapsed
16501
16502 \begin_layout Plain Layout
16503
16504 \backslash
16505 newfloat
16506 \end_layout
16507
16508 \end_inset
16509
16510 の後で,
16511
16512 \begin_inset Flex Code
16513 status collapsed
16514
16515 \begin_layout Plain Layout
16516
16517 \backslash
16518 begin{program}
16519 \end_layout
16520
16521 \end_inset
16522
16523
16524 \begin_inset Flex Code
16525 status collapsed
16526
16527 \begin_layout Plain Layout
16528
16529 \backslash
16530 end{algorithm*}
16531 \end_layout
16532
16533 \end_inset
16534
16535 といったコマンドが利用できます.
16536 \end_layout
16537
16538 \begin_layout Description
16539 \begin_inset Flex Code
16540 status collapsed
16541
16542 \begin_layout Plain Layout
16543 UsesFloatPkg
16544 \end_layout
16545
16546 \end_inset
16547
16548  [
16549 \begin_inset Flex Code
16550 status collapsed
16551
16552 \begin_layout Plain Layout
16553 0
16554 \end_layout
16555
16556 \end_inset
16557
16558 ,
16559 \begin_inset space \thinspace{}
16560 \end_inset
16561
16562
16563 \begin_inset Flex Code
16564 status collapsed
16565
16566 \begin_layout Plain Layout
16567
16568 \emph on
16569 1
16570 \end_layout
16571
16572 \end_inset
16573
16574 ] このフロートが,
16575 クラスファイルやパッケージ中で,
16576 \SpecialChar LaTeX
16577 パッケージ
16578 \begin_inset Flex Code
16579 status collapsed
16580
16581 \begin_layout Plain Layout
16582 float
16583 \end_layout
16584
16585 \end_inset
16586
16587 が提供しているものを使用して定義されているのか,
16588 \SpecialChar LyX
16589 自身がオン・ザ・フライで定義しているのかを示します.
16590 \end_layout
16591
16592 \begin_layout Standard
16593 \begin_inset Flex Code
16594 status collapsed
16595
16596 \begin_layout Plain Layout
16597
16598 \emph on
16599 type
16600 \end_layout
16601
16602 \end_inset
16603
16604 型のフロートを定義すると,
16605 自動的に
16606 \emph on
16607 対応する
16608 \emph default
16609
16610 \begin_inset Flex Code
16611 status collapsed
16612
16613 \begin_layout Plain Layout
16614
16615 \emph on
16616 type
16617 \end_layout
16618
16619 \end_inset
16620
16621 名カウンタが定義されます.
16622 \end_layout
16623
16624 \begin_layout Subsection
16625 自由差込枠と差込枠レイアウト
16626 \begin_inset CommandInset label
16627 LatexCommand label
16628 name "subsec:任意設定差込枠"
16629
16630 \end_inset
16631
16632
16633 \end_layout
16634
16635 \begin_layout Standard
16636 自由差込枠には次の2種類があります.
16637 \end_layout
16638
16639 \begin_layout Itemize
16640 文字様式(
16641 \begin_inset Flex Code
16642 status collapsed
16643
16644 \begin_layout Plain Layout
16645 CharStyle
16646 \end_layout
16647
16648 \end_inset
16649
16650 ).これは,
16651
16652 \begin_inset Flex Code
16653 status collapsed
16654
16655 \begin_layout Plain Layout
16656
16657 \backslash
16658 noun
16659 \end_layout
16660
16661 \end_inset
16662
16663
16664 \begin_inset Flex Code
16665 status collapsed
16666
16667 \begin_layout Plain Layout
16668
16669 \backslash
16670 code
16671 \end_layout
16672
16673 \end_inset
16674
16675 などの\SpecialChar LaTeX
16676 コマンドに対応した意味論的マークアップを定義するものです.
16677 \end_layout
16678
16679 \begin_layout Itemize
16680 ユーザ設定(
16681 \begin_inset Flex Code
16682 status collapsed
16683
16684 \begin_layout Plain Layout
16685 Custom
16686 \end_layout
16687
16688 \end_inset
16689
16690 ).これは,
16691 \SpecialChar TeX
16692 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,
16693 これは
16694 \begin_inset Flex Code
16695 status collapsed
16696
16697 \begin_layout Plain Layout
16698 endnote
16699 \end_layout
16700
16701 \end_inset
16702
16703 モジュール中で定義されています.
16704 \end_layout
16705
16706 \begin_layout Standard
16707 自由差込枠は,
16708 以下で説明する
16709 \begin_inset Flex Code
16710 status collapsed
16711
16712 \begin_layout Plain Layout
16713 InsetLayout
16714 \end_layout
16715
16716 \end_inset
16717
16718 タグを使用して定義されます.
16719 \end_layout
16720
16721 \begin_layout Standard
16722 \begin_inset Flex Code
16723 status collapsed
16724
16725 \begin_layout Plain Layout
16726 InsetLayout
16727 \end_layout
16728
16729 \end_inset
16730
16731 タグは,
16732 もう一つ別の機能も提供します.これを使えば,
16733 いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
16734
16735 \begin_inset Flex Code
16736 status collapsed
16737
16738 \begin_layout Plain Layout
16739 InsetLayout
16740 \end_layout
16741
16742 \end_inset
16743
16744 は自由差込枠を定義することの他に,
16745 脚註・傍註・註釈差込枠・\SpecialChar TeX
16746 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザー定義するのに使用されます.
16747 \end_layout
16748
16749 \begin_layout Standard
16750 \begin_inset Flex Code
16751 status collapsed
16752
16753 \begin_layout Plain Layout
16754 InsetLayout
16755 \end_layout
16756
16757 \end_inset
16758
16759 定義は以下の形の行では始まらなくてはなりません.
16760 \end_layout
16761
16762 \begin_layout LyX-Code
16763 InsetLayout <型>
16764 \end_layout
16765
16766 \begin_layout Standard
16767 ここで
16768 \begin_inset Flex Code
16769 status collapsed
16770
16771 \begin_layout Plain Layout
16772 <型>
16773 \end_layout
16774
16775 \end_inset
16776
16777 は,
16778 レイアウトを定義しようとしている差込枠を指し,
16779 4つの場合があります.
16780 \end_layout
16781
16782 \begin_layout Enumerate
16783 既存の差込枠のレイアウトを変更する場合.この場合,
16784
16785 \begin_inset Flex Code
16786 status collapsed
16787
16788 \begin_layout Plain Layout
16789 <型>
16790 \end_layout
16791
16792 \end_inset
16793
16794 は以下のいずれかになります:
16795
16796 \begin_inset Flex Code
16797 status collapsed
16798
16799 \begin_layout Plain Layout
16800 Algorithm
16801 \end_layout
16802
16803 \end_inset
16804
16805
16806 \begin_inset Flex Code
16807 status collapsed
16808
16809 \begin_layout Plain Layout
16810 Branch
16811 \end_layout
16812
16813 \end_inset
16814
16815
16816 \begin_inset Flex Code
16817 status collapsed
16818
16819 \begin_layout Plain Layout
16820 Box
16821 \end_layout
16822
16823 \end_inset
16824
16825
16826 \begin_inset Flex Code
16827 status collapsed
16828
16829 \begin_layout Plain Layout
16830 Box:shaded
16831 \end_layout
16832
16833 \end_inset
16834
16835
16836 \begin_inset Flex Code
16837 status collapsed
16838
16839 \begin_layout Plain Layout
16840 Caption:Standard
16841 \end_layout
16842
16843 \end_inset
16844
16845
16846 \begin_inset Flex Code
16847 status collapsed
16848
16849 \begin_layout Plain Layout
16850 ERT
16851 \end_layout
16852
16853 \end_inset
16854
16855
16856 \begin_inset Flex Code
16857 status collapsed
16858
16859 \begin_layout Plain Layout
16860 Figure
16861 \end_layout
16862
16863 \end_inset
16864
16865
16866 \begin_inset Flex Code
16867 status collapsed
16868
16869 \begin_layout Plain Layout
16870 Foot
16871 \end_layout
16872
16873 \end_inset
16874
16875
16876 \begin_inset Flex Code
16877 status collapsed
16878
16879 \begin_layout Plain Layout
16880 Index
16881 \end_layout
16882
16883 \end_inset
16884
16885
16886 \begin_inset Flex Code
16887 status collapsed
16888
16889 \begin_layout Plain Layout
16890 Info
16891 \end_layout
16892
16893 \end_inset
16894
16895
16896 \begin_inset Flex Code
16897 status collapsed
16898
16899 \begin_layout Plain Layout
16900 Info:menu
16901 \end_layout
16902
16903 \end_inset
16904
16905
16906 \begin_inset Flex Code
16907 status collapsed
16908
16909 \begin_layout Plain Layout
16910 Info:shortcut
16911 \end_layout
16912
16913 \end_inset
16914
16915
16916 \begin_inset Flex Code
16917 status collapsed
16918
16919 \begin_layout Plain Layout
16920 Info:shortcuts
16921 \end_layout
16922
16923 \end_inset
16924
16925
16926 \begin_inset Flex Code
16927 status collapsed
16928
16929 \begin_layout Plain Layout
16930 Listings
16931 \end_layout
16932
16933 \end_inset
16934
16935
16936 \begin_inset Flex Code
16937 status collapsed
16938
16939 \begin_layout Plain Layout
16940 Marginal
16941 \end_layout
16942
16943 \end_inset
16944
16945
16946 \begin_inset Flex Code
16947 status collapsed
16948
16949 \begin_layout Plain Layout
16950 Note:Comment
16951 \end_layout
16952
16953 \end_inset
16954
16955
16956 \begin_inset Flex Code
16957 status collapsed
16958
16959 \begin_layout Plain Layout
16960 Note:Note
16961 \end_layout
16962
16963 \end_inset
16964
16965
16966 \begin_inset Flex Code
16967 status collapsed
16968
16969 \begin_layout Plain Layout
16970 Note:GreyedOut
16971 \end_layout
16972
16973 \end_inset
16974
16975
16976 \begin_inset Flex Code
16977 status collapsed
16978
16979 \begin_layout Plain Layout
16980 Table
16981 \end_layout
16982
16983 \end_inset
16984
16985
16986 \begin_inset Flex Code
16987 status collapsed
16988
16989 \begin_layout Plain Layout
16990 URL
16991 \end_layout
16992
16993 \end_inset
16994
16995
16996 \end_layout
16997
16998 \begin_layout Enumerate
16999 自由差込枠のレイアウトを定義する場合.この場合,
17000
17001 \begin_inset Flex Code
17002 status collapsed
17003
17004 \begin_layout Plain Layout
17005 <型>
17006 \end_layout
17007
17008 \end_inset
17009
17010
17011 \begin_inset Flex Code
17012 status collapsed
17013
17014 \begin_layout Plain Layout
17015 Flex:<名称>
17016 \end_layout
17017
17018 \end_inset
17019
17020 の形でなくてはなりません.ここで,
17021
17022 \begin_inset Flex Code
17023 status collapsed
17024
17025 \begin_layout Plain Layout
17026 名称
17027 \end_layout
17028
17029 \end_inset
17030
17031 は,
17032 既存の自由差込枠で使用されていない有効な識別子であれば,
17033 何でも構いません.識別子には空白を入れることもできますが,
17034 この場合には全体を引用符で囲まなくてはなりません.自由差込枠の定義には,
17035 この定義がどの差込枠型なのか宣言するために,
17036
17037 \begin_inset Flex Code
17038 status collapsed
17039
17040 \begin_layout Plain Layout
17041 LyXType
17042 \end_layout
17043
17044 \end_inset
17045
17046 項目が含まれていなくてはならないことに注意してください.
17047 \end_layout
17048
17049 \begin_layout Enumerate
17050 ユーザー定義派生枝を定義する場合.この場合,
17051
17052 \begin_inset Flex Code
17053 status collapsed
17054
17055 \begin_layout Plain Layout
17056 <型>
17057 \end_layout
17058
17059 \end_inset
17060
17061 は「
17062 \begin_inset Flex Code
17063 status collapsed
17064
17065 \begin_layout Plain Layout
17066 Branch:<名称>
17067 \end_layout
17068
17069 \end_inset
17070
17071 」の形でなくてはなりません.ここで,
17072
17073 \begin_inset Flex Code
17074 status collapsed
17075
17076 \begin_layout Plain Layout
17077 名称
17078 \end_layout
17079
17080 \end_inset
17081
17082 は,
17083 ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,
17084 その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主な目的は,
17085 ユーザーの必要に応じて,
17086 特定の派生枝を\SpecialChar LaTeX
17087 がくるむことができるようにすることです.
17088 \end_layout
17089
17090 \begin_layout Enumerate
17091 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
17092
17093 \begin_inset Flex Code
17094 status collapsed
17095
17096 \begin_layout Plain Layout
17097 <型>
17098 \end_layout
17099
17100 \end_inset
17101
17102 は「
17103 \begin_inset Flex Code
17104 status collapsed
17105
17106 \begin_layout Plain Layout
17107 Caption:<名称>
17108 \end_layout
17109
17110 \end_inset
17111
17112 」の形でなくてはなりません.ここで,
17113
17114 \begin_inset Flex Code
17115 status collapsed
17116
17117 \begin_layout Plain Layout
17118 名称
17119 \end_layout
17120
17121 \end_inset
17122
17123 は,
17124 メニューに表示されるキャプション名です.応用例については,
17125 標準キャプション(
17126 \begin_inset Flex Code
17127 status collapsed
17128
17129 \begin_layout Plain Layout
17130 Caption:Standard
17131 \end_layout
17132
17133 \end_inset
17134
17135 ),
17136 若しくはKOMA-Scriptクラスのクラス定義キャプション(
17137 \begin_inset Flex Code
17138 status collapsed
17139
17140 \begin_layout Plain Layout
17141 Caption:Above
17142 \end_layout
17143
17144 \end_inset
17145
17146 ,
17147  
17148 \begin_inset Flex Code
17149 status collapsed
17150
17151 \begin_layout Plain Layout
17152 Caption:Below
17153 \end_layout
17154
17155 \end_inset
17156
17157 ),
17158
17159 \family sans
17160 多言語キャプション
17161 \family default
17162 モジュール(
17163 \begin_inset Flex Code
17164 status collapsed
17165
17166 \begin_layout Plain Layout
17167 Caption:\SpecialChar allowbreak
17168 Bicaption
17169 \end_layout
17170
17171 \end_inset
17172
17173 )をご覧ください.
17174 \end_layout
17175
17176 \begin_layout Standard
17177 \begin_inset Flex Code
17178 status collapsed
17179
17180 \begin_layout Plain Layout
17181 InsetLayout
17182 \end_layout
17183
17184 \end_inset
17185
17186 定義には以下の項目を入れることができます.
17187 \end_layout
17188
17189 \begin_layout Description
17190 \begin_inset Flex Code
17191 status collapsed
17192
17193 \begin_layout Plain Layout
17194 AddToToc
17195 \end_layout
17196
17197 \end_inset
17198
17199  [
17200 \begin_inset Flex Code
17201 status collapsed
17202
17203 \begin_layout Plain Layout
17204 文字列
17205 \end_layout
17206
17207 \end_inset
17208
17209 =""] この差込枠は,
17210 この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参照してください.これは,
17211 自由差込枠にのみ実装されています.既定値:
17212 無効.
17213 \end_layout
17214
17215 \begin_layout Description
17216 \begin_inset Flex Code
17217 status collapsed
17218
17219 \begin_layout Plain Layout
17220 Argument
17221 \end_layout
17222
17223 \end_inset
17224
17225  [
17226 \begin_inset Flex Code
17227 status collapsed
17228
17229 \begin_layout Plain Layout
17230 整数
17231 \end_layout
17232
17233 \end_inset
17234
17235 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
17236 \begin_inset Flex Code
17237 status collapsed
17238
17239 \begin_layout Plain Layout
17240 EndArgument
17241 \end_layout
17242
17243 \end_inset
17244
17245 で閉じなくてはなりません.詳細は第
17246 \begin_inset CommandInset ref
17247 LatexCommand ref
17248 reference "subsec:引数"
17249 plural "false"
17250 caps "false"
17251 noprefix "false"
17252 nolink "false"
17253
17254 \end_inset
17255
17256 節参照.
17257 \end_layout
17258
17259 \begin_layout Description
17260 \begin_inset Flex Code
17261 status collapsed
17262
17263 \begin_layout Plain Layout
17264 BabelPreamble
17265 \end_layout
17266
17267 \end_inset
17268
17269  言語コマンドを変更するプリアンブル.第
17270 \begin_inset CommandInset ref
17271 LatexCommand ref
17272 reference "subsec:段落様式の国際化"
17273 nolink "false"
17274
17275 \end_inset
17276
17277 節参照.
17278 \end_layout
17279
17280 \begin_layout Description
17281 \begin_inset Flex Code
17282 status collapsed
17283
17284 \begin_layout Plain Layout
17285 BgColor
17286 \end_layout
17287
17288 \end_inset
17289
17290  [
17291 \begin_inset Flex Code
17292 status collapsed
17293
17294 \begin_layout Plain Layout
17295 <名称>
17296 \end_layout
17297
17298 \end_inset
17299
17300 ] 差込枠の背景色.使用できる色名一覧は第
17301 \begin_inset CommandInset ref
17302 LatexCommand ref
17303 reference "chap:色名"
17304 nolink "false"
17305
17306 \end_inset
17307
17308 節参照.
17309 \end_layout
17310
17311 \begin_layout Description
17312 \begin_inset Flex Code
17313 status collapsed
17314
17315 \begin_layout Plain Layout
17316 ContentAsLabel
17317 \end_layout
17318
17319 \end_inset
17320
17321  [
17322 \begin_inset Flex Code
17323 status collapsed
17324
17325 \begin_layout Plain Layout
17326
17327 \emph on
17328 0
17329 \end_layout
17330
17331 \end_inset
17332
17333 ,
17334 \begin_inset space \thinspace{}
17335 \end_inset
17336
17337
17338 \begin_inset Flex Code
17339 status collapsed
17340
17341 \begin_layout Plain Layout
17342 1
17343 \end_layout
17344
17345 \end_inset
17346
17347 ] 差込枠を閉じた際,
17348 差込枠の内容をラベルとして使用するか否か.既定値は偽です.
17349 \end_layout
17350
17351 \begin_layout Description
17352 \begin_inset Flex Code
17353 status collapsed
17354
17355 \begin_layout Plain Layout
17356 CopyStyle
17357 \end_layout
17358
17359 \end_inset
17360
17361  [<型>] 段落様式と同様です.第
17362 \begin_inset CommandInset ref
17363 LatexCommand ref
17364 reference "subsec:段落様式"
17365 nolink "false"
17366
17367 \end_inset
17368
17369 節参照のこと.完全な型を指定する必要があることに注意してください.例:
17370 \begin_inset Flex Code
17371 status collapsed
17372
17373 \begin_layout Plain Layout
17374 CopyStyle Flex:<名称>
17375 \end_layout
17376
17377 \end_inset
17378
17379
17380 \end_layout
17381
17382 \begin_layout Description
17383 \begin_inset Flex Code
17384 status collapsed
17385
17386 \begin_layout Plain Layout
17387 CustomPars
17388 \end_layout
17389
17390 \end_inset
17391
17392  [
17393 \begin_inset Flex Code
17394 status collapsed
17395
17396 \begin_layout Plain Layout
17397
17398 \emph on
17399 0
17400 \end_layout
17401
17402 \end_inset
17403
17404 ,
17405 \begin_inset space \thinspace{}
17406 \end_inset
17407
17408
17409 \begin_inset Flex Code
17410 status collapsed
17411
17412 \begin_layout Plain Layout
17413 1
17414 \end_layout
17415
17416 \end_inset
17417
17418 ] 段落を設定するのに,
17419 段落設定ダイアログをユーザが使えるかどうかを指定します.
17420 \end_layout
17421
17422 \begin_layout Description
17423 \begin_inset Flex Code
17424 status collapsed
17425
17426 \begin_layout Plain Layout
17427 Decoration
17428 \end_layout
17429
17430 \end_inset
17431
17432  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
17433
17434 \begin_inset Flex Code
17435 status collapsed
17436
17437 \begin_layout Plain Layout
17438 Classic
17439 \end_layout
17440
17441 \end_inset
17442
17443
17444 \begin_inset Flex Code
17445 status collapsed
17446
17447 \begin_layout Plain Layout
17448 Minimalistic
17449 \end_layout
17450
17451 \end_inset
17452
17453
17454 \begin_inset Flex Code
17455 status collapsed
17456
17457 \begin_layout Plain Layout
17458 Conglomerate
17459 \end_layout
17460
17461 \end_inset
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 \SpecialChar TeX
17475 コード差込枠は通常
17476 \begin_inset Flex Code
17477 status collapsed
17478
17479 \begin_layout Plain Layout
17480 Minimalistic
17481 \end_layout
17482
17483 \end_inset
17484
17485
17486 文字様式は
17487 \begin_inset Flex Code
17488 status collapsed
17489
17490 \begin_layout Plain Layout
17491 Conglomerate
17492 \end_layout
17493
17494 \end_inset
17495
17496 を使用します.
17497 \end_layout
17498
17499 \begin_layout Description
17500 \begin_inset Flex Code
17501 status collapsed
17502
17503 \begin_layout Plain Layout
17504 Display
17505 \end_layout
17506
17507 \end_inset
17508
17509  [
17510 \begin_inset Flex Code
17511 status collapsed
17512
17513 \begin_layout Plain Layout
17514 0
17515 \end_layout
17516
17517 \end_inset
17518
17519 ,
17520 \begin_inset space \thinspace{}
17521 \end_inset
17522
17523
17524 \begin_inset Flex Code
17525 status collapsed
17526
17527 \begin_layout Plain Layout
17528
17529 \emph on
17530 1
17531 \end_layout
17532
17533 \end_inset
17534
17535
17536 \begin_inset Flex Code
17537 status collapsed
17538
17539 \begin_layout Plain Layout
17540 LatexType
17541 \end_layout
17542
17543 \end_inset
17544
17545
17546 \begin_inset Flex Code
17547 status collapsed
17548
17549 \begin_layout Plain Layout
17550 Environment
17551 \end_layout
17552
17553 \end_inset
17554
17555 の時のみ意味をもちます.環境を,
17556 出力中で独立して出力させるか,
17557 周囲のテキストとインラインで出力させるかを示します.偽にすると,
17558 \SpecialChar LaTeX
17559 環境は,
17560
17561 \begin_inset Flex Code
17562 status collapsed
17563
17564 \begin_layout Plain Layout
17565
17566 \backslash
17567 begin{LatexName}
17568 \end_layout
17569
17570 \end_inset
17571
17572 タグと
17573 \begin_inset Flex Code
17574 status collapsed
17575
17576 \begin_layout Plain Layout
17577
17578 \backslash
17579 end{LatexName}
17580 \end_layout
17581
17582 \end_inset
17583
17584 タグの後の空白(改行文字を含む)を無視するものと仮定します.
17585 \end_layout
17586
17587 \begin_layout Description
17588 \begin_inset Flex Code
17589 status collapsed
17590
17591 \begin_layout Plain Layout
17592 EditExternal
17593 \end_layout
17594
17595 \end_inset
17596
17597  [
17598 \begin_inset Flex Code
17599 status collapsed
17600
17601 \begin_layout Plain Layout
17602
17603 \emph on
17604 0
17605 \end_layout
17606
17607 \end_inset
17608
17609 ,
17610 \begin_inset space \thinspace{}
17611 \end_inset
17612
17613
17614 \begin_inset Flex Code
17615 status collapsed
17616
17617 \begin_layout Plain Layout
17618 1
17619 \end_layout
17620
17621 \end_inset
17622
17623 ] 差込枠の内容を外部で編集できるか否か(文書の出力形式に定義されている編集ソフトウェアを使用).
17624 \end_layout
17625
17626 \begin_layout Description
17627 \begin_inset Flex Code
17628 status collapsed
17629
17630 \begin_layout Plain Layout
17631 End
17632 \end_layout
17633
17634 \end_inset
17635
17636  
17637 \begin_inset Flex Code
17638 status collapsed
17639
17640 \begin_layout Plain Layout
17641 InsetLayout
17642 \end_layout
17643
17644 \end_inset
17645
17646 宣言を閉じるのに必要です.
17647 \end_layout
17648
17649 \begin_layout Description
17650 \begin_inset Flex Code
17651 status collapsed
17652
17653 \begin_layout Plain Layout
17654 Font
17655 \end_layout
17656
17657 \end_inset
17658
17659  本文本体とラベル
17660 \emph on
17661 両方に
17662 \emph default
17663 使用されるフォントです.第
17664 \begin_inset CommandInset ref
17665 LatexCommand ref
17666 reference "subsec:フォント指定"
17667 nolink "false"
17668
17669 \end_inset
17670
17671 節を参照.このフォントを定義すると自動的に
17672 \begin_inset Flex Code
17673 status collapsed
17674
17675 \begin_layout Plain Layout
17676 LabelFont
17677 \end_layout
17678
17679 \end_inset
17680
17681 も同じ値に定義されるので,
17682 これらを別々の値にしたいときは,
17683 これを先に定義してから後に
17684 \begin_inset Flex Code
17685 status collapsed
17686
17687 \begin_layout Plain Layout
17688 LabelFont
17689 \end_layout
17690
17691 \end_inset
17692
17693 を定義しなくてはならないことに注意してください.
17694 \end_layout
17695
17696 \begin_layout Description
17697 \begin_inset Flex Code
17698 status collapsed
17699
17700 \begin_layout Plain Layout
17701 FixedWidthPreambleEncoding
17702 \end_layout
17703
17704 \end_inset
17705
17706  [
17707 \begin_inset Flex Code
17708 status collapsed
17709
17710 \begin_layout Plain Layout
17711
17712 \emph on
17713 0
17714 \end_layout
17715
17716 \end_inset
17717
17718 ,
17719 \begin_inset space \thinspace{}
17720 \end_inset
17721
17722
17723 \begin_inset Flex Code
17724 status collapsed
17725
17726 \begin_layout Plain Layout
17727 1
17728 \end_layout
17729
17730 \end_inset
17731
17732 ] このレイアウトによって生成される
17733 \begin_inset Flex Code
17734 status collapsed
17735
17736 \begin_layout Plain Layout
17737 BabelPreamble
17738 \end_layout
17739
17740 \end_inset
17741
17742 および
17743 \begin_inset Flex Code
17744 status collapsed
17745
17746 \begin_layout Plain Layout
17747 LangPreamble
17748 \end_layout
17749
17750 \end_inset
17751
17752 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
17753
17754 \family typewriter
17755 listings
17756 \family default
17757 のように,
17758
17759 \family sans
17760 utf8
17761 \family default
17762 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
17763 パッケージのために必要です.この設定は,
17764 Xe\SpecialChar TeX
17765 やLua\SpecialChar TeX
17766 のようなUnicodeを完全に解する\SpecialChar LaTeX
17767 バックエンドを使用している場合には,
17768 無視されます.
17769 \end_layout
17770
17771 \begin_layout Description
17772 \begin_inset Flex Code
17773 status collapsed
17774
17775 \begin_layout Plain Layout
17776 ForceLocalFontSwitch
17777 \end_layout
17778
17779 \end_inset
17780
17781  [
17782 \begin_inset Flex Code
17783 status collapsed
17784
17785 \begin_layout Plain Layout
17786
17787 \emph on
17788 0
17789 \end_layout
17790
17791 \end_inset
17792
17793 ,
17794 \begin_inset space \thinspace{}
17795 \end_inset
17796
17797
17798 \begin_inset Flex Code
17799 status collapsed
17800
17801 \begin_layout Plain Layout
17802 1
17803 \end_layout
17804
17805 \end_inset
17806
17807 ] babel使用時に,
17808 常にローカルフォント切替(
17809 \begin_inset Flex Code
17810 status collapsed
17811
17812 \begin_layout Plain Layout
17813
17814 \backslash
17815 foreignlanguage
17816 \end_layout
17817
17818 \end_inset
17819
17820 )を使い,
17821 グローバル切替(
17822 \begin_inset Flex Code
17823 status collapsed
17824
17825 \begin_layout Plain Layout
17826
17827 \backslash
17828 selectlanguage
17829 \end_layout
17830
17831 \end_inset
17832
17833 など)は使わない.
17834 \end_layout
17835
17836 \begin_layout Description
17837 \begin_inset Flex Code
17838 status collapsed
17839
17840 \begin_layout Plain Layout
17841 ForceLTR
17842 \end_layout
17843
17844 \end_inset
17845
17846  [
17847 \begin_inset Flex Code
17848 status collapsed
17849
17850 \begin_layout Plain Layout
17851
17852 \emph on
17853 0
17854 \end_layout
17855
17856 \end_inset
17857
17858 ,
17859 \begin_inset space \thinspace{}
17860 \end_inset
17861
17862
17863 \begin_inset Flex Code
17864 status collapsed
17865
17866 \begin_layout Plain Layout
17867 1
17868 \end_layout
17869
17870 \end_inset
17871
17872 ] たとえば\SpecialChar TeX
17873 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
17874 \end_layout
17875
17876 \begin_layout Description
17877 \begin_inset Flex Code
17878 status collapsed
17879
17880 \begin_layout Plain Layout
17881 ForceOwnlines
17882 \end_layout
17883
17884 \end_inset
17885
17886  [
17887 \begin_inset Flex Code
17888 status collapsed
17889
17890 \begin_layout Plain Layout
17891
17892 \emph on
17893 0
17894 \end_layout
17895
17896 \end_inset
17897
17898 ,
17899 \begin_inset space \thinspace{}
17900 \end_inset
17901
17902
17903 \begin_inset Flex Code
17904 status collapsed
17905
17906 \begin_layout Plain Layout
17907 1
17908 \end_layout
17909
17910 \end_inset
17911
17912 ] \SpecialChar LaTeX
17913 出力において,
17914 この差込枠が開始する前と終了する後に,
17915 改行を強制します.これは,
17916 解析上の目的のために,
17917 差込枠が単独行に出力されるように保証します.
17918 \end_layout
17919
17920 \begin_layout Description
17921 \begin_inset Flex Code
17922 status collapsed
17923
17924 \begin_layout Plain Layout
17925 ForcePlain
17926 \end_layout
17927
17928 \end_inset
17929
17930  [
17931 \begin_inset Flex Code
17932 status collapsed
17933
17934 \begin_layout Plain Layout
17935
17936 \emph on
17937 0
17938 \end_layout
17939
17940 \end_inset
17941
17942 ,
17943 \begin_inset space \thinspace{}
17944 \end_inset
17945
17946
17947 \begin_inset Flex Code
17948 status collapsed
17949
17950 \begin_layout Plain Layout
17951 1
17952 \end_layout
17953
17954 \end_inset
17955
17956 ] PlainLayoutを使用するべきなのか,
17957 それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
17958 \end_layout
17959
17960 \begin_layout Description
17961 \begin_inset Flex Code
17962 status collapsed
17963
17964 \begin_layout Plain Layout
17965 FreeSpacing
17966 \end_layout
17967
17968 \end_inset
17969
17970  [
17971 \emph on
17972
17973 \begin_inset Flex Code
17974 status collapsed
17975
17976 \begin_layout Plain Layout
17977 0
17978 \end_layout
17979
17980 \end_inset
17981
17982
17983 \emph default
17984 ,
17985 \begin_inset space \thinspace{}
17986 \end_inset
17987
17988
17989 \begin_inset Flex Code
17990 status collapsed
17991
17992 \begin_layout Plain Layout
17993 1
17994 \end_layout
17995
17996 \end_inset
17997
17998 ] 段落様式と同様.第
17999 \begin_inset CommandInset ref
18000 LatexCommand ref
18001 reference "subsec:段落様式"
18002 nolink "false"
18003
18004 \end_inset
18005
18006 節参照.
18007 \end_layout
18008
18009 \begin_layout Description
18010 \begin_inset Flex Code
18011 status collapsed
18012
18013 \begin_layout Plain Layout
18014 HTML*
18015 \end_layout
18016
18017 \end_inset
18018
18019  これらは,
18020 XHTML出力で使用されます.第
18021 \begin_inset CommandInset ref
18022 LatexCommand ref
18023 reference "sec:XHTML出力のタグ"
18024 nolink "false"
18025
18026 \end_inset
18027
18028 節をご覧ください.
18029 \end_layout
18030
18031 \begin_layout Description
18032 \begin_inset Flex Code
18033 status collapsed
18034
18035 \begin_layout Plain Layout
18036 InToc
18037 \end_layout
18038
18039 \end_inset
18040
18041  [
18042 \begin_inset Flex Code
18043 status collapsed
18044
18045 \begin_layout Plain Layout
18046
18047 \emph on
18048 0
18049 \end_layout
18050
18051 \end_inset
18052
18053 ,
18054 \begin_inset space \thinspace{}
18055 \end_inset
18056
18057
18058 \begin_inset Flex Code
18059 status collapsed
18060
18061 \begin_layout Plain Layout
18062 1
18063 \end_layout
18064
18065 \end_inset
18066
18067 ] AddToTocの設定に関わらず,
18068 「文書構造」面用に出力される文字列に,
18069 この差込枠の内容を含めるかどうか.たとえば,
18070 節見出しの脚註の内容が,
18071 文書構造の目次に表示されることは望まないでしょうが,
18072 通常,
18073 文字様式の内容は表示されることを望むでしょう.既定値は偽,
18074 すなわち含めません.
18075 \end_layout
18076
18077 \begin_layout Description
18078 \begin_inset Flex Code
18079 status collapsed
18080
18081 \begin_layout Plain Layout
18082 IsTocCaption
18083 \end_layout
18084
18085 \end_inset
18086
18087  [
18088 \begin_inset Flex Code
18089 status collapsed
18090
18091 \begin_layout Plain Layout
18092
18093 \emph on
18094 0
18095 \end_layout
18096
18097 \end_inset
18098
18099 ,
18100 \begin_inset space \thinspace{}
18101 \end_inset
18102
18103
18104 \begin_inset Flex Code
18105 status collapsed
18106
18107 \begin_layout Plain Layout
18108 1
18109 \end_layout
18110
18111 \end_inset
18112
18113 ] AddToTocが有効なときに,
18114 これが1に設定されていると,
18115 差込枠の内容の要約が,
18116 目次項目に表示されます.0の場合は,
18117 ラベルのみが表示されます.
18118 \end_layout
18119
18120 \begin_layout Description
18121 \begin_inset Flex Code
18122 status collapsed
18123
18124 \begin_layout Plain Layout
18125 KeepEmpty
18126 \end_layout
18127
18128 \end_inset
18129
18130  [
18131 \emph on
18132
18133 \begin_inset Flex Code
18134 status collapsed
18135
18136 \begin_layout Plain Layout
18137 0
18138 \end_layout
18139
18140 \end_inset
18141
18142
18143 \emph default
18144 ,
18145 \begin_inset space \thinspace{}
18146 \end_inset
18147
18148
18149 \begin_inset Flex Code
18150 status collapsed
18151
18152 \begin_layout Plain Layout
18153 1
18154 \end_layout
18155
18156 \end_inset
18157
18158 ] 段落様式と同様.第
18159 \begin_inset CommandInset ref
18160 LatexCommand ref
18161 reference "subsec:段落様式"
18162 nolink "false"
18163
18164 \end_inset
18165
18166 節参照.
18167 \end_layout
18168
18169 \begin_layout Description
18170 \begin_inset Flex Code
18171 status collapsed
18172
18173 \begin_layout Plain Layout
18174 LabelFont
18175 \end_layout
18176
18177 \end_inset
18178
18179  ラベルに使用されるフォント.第
18180 \begin_inset CommandInset ref
18181 LatexCommand ref
18182 reference "subsec:フォント指定"
18183 nolink "false"
18184
18185 \end_inset
18186
18187 節を参照.非効率を回避するため,
18188 この定義は
18189 \begin_inset Flex Code
18190 status collapsed
18191
18192 \begin_layout Plain Layout
18193 Font
18194 \end_layout
18195
18196 \end_inset
18197
18198 の前には決して現れてはなりません.
18199 \end_layout
18200
18201 \begin_layout Description
18202 \begin_inset Flex Code
18203 status collapsed
18204
18205 \begin_layout Plain Layout
18206 LabelString
18207 \end_layout
18208
18209 \end_inset
18210
18211  [
18212 \begin_inset Flex Code
18213 status collapsed
18214
18215 \begin_layout Plain Layout
18216 文字列
18217 \end_layout
18218
18219 \end_inset
18220
18221 =
18222 \begin_inset Quotes erd
18223 \end_inset
18224
18225
18226 \begin_inset Quotes erd
18227 \end_inset
18228
18229 ]
18230 \lang english
18231  
18232 \lang japanese
18233 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
18234 コードや派生枝),
18235 ラベルが動的に変更されます.
18236 \end_layout
18237
18238 \begin_layout Description
18239 \begin_inset Flex Code
18240 status collapsed
18241
18242 \begin_layout Plain Layout
18243 LangPreamble
18244 \end_layout
18245
18246 \end_inset
18247
18248  言語依存のプリアンブル.第
18249 \begin_inset CommandInset ref
18250 LatexCommand ref
18251 reference "subsec:段落様式の国際化"
18252 nolink "false"
18253
18254 \end_inset
18255
18256 節参照.
18257 \end_layout
18258
18259 \begin_layout Description
18260 \begin_inset Flex Code
18261 status collapsed
18262
18263 \begin_layout Plain Layout
18264 LatexName
18265 \end_layout
18266
18267 \end_inset
18268
18269  [
18270 \begin_inset Flex Code
18271 status collapsed
18272
18273 \begin_layout Plain Layout
18274 <名称>
18275 \end_layout
18276
18277 \end_inset
18278
18279 ] 対応する\SpecialChar LaTeX
18280 関連物の名称.環境名ないしはコマンド名.
18281 \end_layout
18282
18283 \begin_layout Description
18284 \begin_inset Flex Code
18285 status collapsed
18286
18287 \begin_layout Plain Layout
18288 LatexParam
18289 \end_layout
18290
18291 \end_inset
18292
18293  [
18294 \begin_inset Flex Code
18295 status collapsed
18296
18297 \begin_layout Plain Layout
18298 <パラメータ>
18299 \end_layout
18300
18301 \end_inset
18302
18303 ]
18304 \lang english
18305  
18306 \lang japanese
18307 対応する
18308 \begin_inset Flex Code
18309 status collapsed
18310
18311 \begin_layout Plain Layout
18312 LatexName
18313 \end_layout
18314
18315 \end_inset
18316
18317 関連物の非必須パラメータ.
18318 \begin_inset Flex Code
18319 status collapsed
18320
18321 \begin_layout Plain Layout
18322 []
18323 \end_layout
18324
18325 \end_inset
18326
18327 のような括弧対を含む.このパラメータは\SpecialChar LyX
18328 内部から変更することはできません(変更可能なパラメータには
18329 \begin_inset Flex Code
18330 status collapsed
18331
18332 \begin_layout Plain Layout
18333 Argument
18334 \end_layout
18335
18336 \end_inset
18337
18338 を使用してください).これは,
18339 全ての\SpecialChar LaTeX
18340  
18341 \begin_inset Flex Code
18342 status collapsed
18343
18344 \begin_layout Plain Layout
18345 Argument
18346 \end_layout
18347
18348 \end_inset
18349
18350 の後にそのままの形で出力されます.
18351 \end_layout
18352
18353 \begin_layout Description
18354 \begin_inset Flex Code
18355 status collapsed
18356
18357 \begin_layout Plain Layout
18358 LatexType
18359 \end_layout
18360
18361 \end_inset
18362
18363  [
18364 \begin_inset Flex Code
18365 status collapsed
18366
18367 \begin_layout Plain Layout
18368 Command,
18369  Environment,
18370  None
18371 \end_layout
18372
18373 \end_inset
18374
18375 ] 様式がどのように\SpecialChar LaTeX
18376 に変換されるべきかを示します
18377 \begin_inset Foot
18378 status collapsed
18379
18380 \begin_layout Plain Layout
18381 これらのルールはSGMLクラスにも適用されるので,
18382
18383 \begin_inset Flex Code
18384 status collapsed
18385
18386 \begin_layout Plain Layout
18387 LatexType
18388 \end_layout
18389
18390 \end_inset
18391
18392 の名称は,
18393 少しミスリーディングかもしれません.特定の例については,
18394 SGMLクラスファイルを見てください.
18395 \end_layout
18396
18397 \end_inset
18398
18399
18400 \end_layout
18401
18402 \begin_deeper
18403 \begin_layout Description
18404 \begin_inset Flex Code
18405 status collapsed
18406
18407 \begin_layout Plain Layout
18408 None
18409 \end_layout
18410
18411 \end_inset
18412
18413  は,
18414 何も特別なことは意味しません
18415 \end_layout
18416
18417 \begin_layout Description
18418 \begin_inset Flex Code
18419 status collapsed
18420
18421 \begin_layout Plain Layout
18422 Command
18423 \end_layout
18424
18425 \end_inset
18426
18427  は,
18428
18429 \begin_inset Flex Code
18430 status collapsed
18431
18432 \begin_layout Plain Layout
18433
18434 \backslash
18435
18436 \emph on
18437 LatexName
18438 \emph default
18439 {\SpecialChar ldots
18440 }
18441 \end_layout
18442
18443 \end_inset
18444
18445 を意味します
18446 \end_layout
18447
18448 \begin_layout Description
18449 \begin_inset Flex Code
18450 status collapsed
18451
18452 \begin_layout Plain Layout
18453 Environment
18454 \end_layout
18455
18456 \end_inset
18457
18458  は,
18459
18460 \begin_inset Flex Code
18461 status collapsed
18462
18463 \begin_layout Plain Layout
18464
18465 \backslash
18466 begin{
18467 \emph on
18468 LatexName
18469 \emph default
18470 }\SpecialChar ldots
18471
18472 \backslash
18473 end{
18474 \emph on
18475 LatexName
18476 \emph default
18477 }
18478 \end_layout
18479
18480 \end_inset
18481
18482 を意味します
18483 \end_layout
18484
18485 \begin_layout Standard
18486 上記最後のいくつかをまとめると,
18487 \SpecialChar LaTeX
18488 出力は,
18489 \SpecialChar LaTeX
18490 型に依存して
18491 \end_layout
18492
18493 \begin_layout LyX-Code
18494
18495 \backslash
18496 LatexName[LatexParam]{\SpecialChar ldots
18497 }
18498 \end_layout
18499
18500 \begin_layout Standard
18501 のようになるか,
18502
18503 \end_layout
18504
18505 \begin_layout LyX-Code
18506
18507 \backslash
18508 begin{LatexName}[LatexParam] \SpecialChar ldots
18509  
18510 \backslash
18511 end{LatexName}.
18512 \end_layout
18513
18514 \begin_layout Standard
18515 となります.
18516 \end_layout
18517
18518 \end_deeper
18519 \begin_layout Description
18520 \begin_inset Flex Code
18521 status collapsed
18522
18523 \begin_layout Plain Layout
18524 LeftDelim
18525 \end_layout
18526
18527 \end_inset
18528
18529  [
18530 \begin_inset Flex Code
18531 status collapsed
18532
18533 \begin_layout Plain Layout
18534 文字列
18535 \end_layout
18536
18537 \end_inset
18538
18539 ] 様式の内容の最初に置かれる文字列.出力中の改行は
18540 \begin_inset Flex Code
18541 status collapsed
18542
18543 \begin_layout Plain Layout
18544 <br/>
18545 \end_layout
18546
18547 \end_inset
18548
18549 で指示できます.
18550 \end_layout
18551
18552 \begin_layout Description
18553 \begin_inset Flex Code
18554 status collapsed
18555
18556 \begin_layout Plain Layout
18557 LyxType
18558 \end_layout
18559
18560 \end_inset
18561
18562  
18563 \begin_inset Flex Code
18564 status collapsed
18565
18566 \begin_layout Plain Layout
18567 charstyle
18568 \end_layout
18569
18570 \end_inset
18571
18572
18573 \begin_inset Flex Code
18574 status collapsed
18575
18576 \begin_layout Plain Layout
18577 custom
18578 \end_layout
18579
18580 \end_inset
18581
18582
18583 \begin_inset Flex Code
18584 status collapsed
18585
18586 \begin_layout Plain Layout
18587 end
18588 \end_layout
18589
18590 \end_inset
18591
18592 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,
18593 自由差込枠に必須であり,
18594 かつ自由差込枠でしか意味を持ちません.この項目は,
18595 就中,
18596 差込枠がどのメニューに表示されるかを決定します.
18597 \begin_inset Flex Code
18598 status collapsed
18599
18600 \begin_layout Plain Layout
18601 LyxType
18602 \end_layout
18603
18604 \end_inset
18605
18606
18607 \begin_inset Flex Code
18608 status collapsed
18609
18610 \begin_layout Plain Layout
18611 charstyle
18612 \end_layout
18613
18614 \end_inset
18615
18616 に設定すると,
18617
18618 \begin_inset Flex Code
18619 status collapsed
18620
18621 \begin_layout Plain Layout
18622 MultiPar
18623 \end_layout
18624
18625 \end_inset
18626
18627 が偽に,
18628
18629 \begin_inset Flex Code
18630 status collapsed
18631
18632 \begin_layout Plain Layout
18633 ForcePlain
18634 \end_layout
18635
18636 \end_inset
18637
18638 が真に設定されます.
18639 \begin_inset Flex Code
18640 status collapsed
18641
18642 \begin_layout Plain Layout
18643 charstyle
18644 \end_layout
18645
18646 \end_inset
18647
18648 差込枠で
18649 \begin_inset Flex Code
18650 status collapsed
18651
18652 \begin_layout Plain Layout
18653 MultiPar
18654 \end_layout
18655
18656 \end_inset
18657
18658 を真,
18659 あるいは
18660 \begin_inset Flex Code
18661 status collapsed
18662
18663 \begin_layout Plain Layout
18664 ForcePlain
18665 \end_layout
18666
18667 \end_inset
18668
18669 を偽に設定したい場合は,
18670
18671 \begin_inset Flex Code
18672 status collapsed
18673
18674 \begin_layout Plain Layout
18675 LyxType
18676 \end_layout
18677
18678 \end_inset
18679
18680 を設定した
18681 \begin_inset Flex 圏点
18682 status open
18683
18684 \begin_layout Plain Layout
18685 後に
18686 \end_layout
18687
18688 \end_inset
18689
18690 設定します.
18691 \end_layout
18692
18693 \begin_layout Description
18694 \begin_inset Flex Code
18695 status collapsed
18696
18697 \begin_layout Plain Layout
18698 MenuString
18699 \end_layout
18700
18701 \end_inset
18702
18703  
18704 \begin_inset Flex Code
18705 status collapsed
18706
18707 \begin_layout Plain Layout
18708 [文字列]
18709 \end_layout
18710
18711 \end_inset
18712
18713  メニュー用の文字列.この文字列に特定の文字を「|」で区切って追加することでアクセラレーターを定義することができます(例:
18714
18715 \begin_inset Flex Code
18716 status collapsed
18717
18718 \begin_layout Plain Layout
18719 My Inset|M
18720 \end_layout
18721
18722 \end_inset
18723
18724 ).この指定は必須ではありません.指定がない場合には,
18725 型宣言で指定された差込枠名が,
18726 代わりにメニューに用いられます.
18727 \end_layout
18728
18729 \begin_layout Description
18730 \begin_inset Flex Code
18731 status collapsed
18732
18733 \begin_layout Plain Layout
18734 MultiPar
18735 \end_layout
18736
18737 \end_inset
18738
18739  [
18740 \begin_inset Flex Code
18741 status collapsed
18742
18743 \begin_layout Plain Layout
18744
18745 \emph on
18746 0
18747 \end_layout
18748
18749 \end_inset
18750
18751 ,
18752 \begin_inset space \thinspace{}
18753 \end_inset
18754
18755
18756 \begin_inset Flex Code
18757 status collapsed
18758
18759 \begin_layout Plain Layout
18760 1
18761 \end_layout
18762
18763 \end_inset
18764
18765 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
18766
18767 \begin_inset Flex Code
18768 status collapsed
18769
18770 \begin_layout Plain Layout
18771 CustomPars
18772 \end_layout
18773
18774 \end_inset
18775
18776 を同じ値に設定し,
18777
18778 \begin_inset Flex Code
18779 status collapsed
18780
18781 \begin_layout Plain Layout
18782 ForcePlain
18783 \end_layout
18784
18785 \end_inset
18786
18787 を逆の値に設定します.これらは,
18788
18789 \begin_inset Flex Code
18790 status collapsed
18791
18792 \begin_layout Plain Layout
18793 MultiPar
18794 \end_layout
18795
18796 \end_inset
18797
18798
18799 \emph on
18800 後に
18801 \emph default
18802 指定されれば,
18803 他の値に指定し直すことができます.既定値は真です.
18804 \end_layout
18805
18806 \begin_layout Description
18807 \begin_inset Flex Code
18808 status collapsed
18809
18810 \begin_layout Plain Layout
18811 NeedProtect
18812 \end_layout
18813
18814 \end_inset
18815
18816  [
18817 \begin_inset Flex Code
18818 status collapsed
18819
18820 \begin_layout Plain Layout
18821
18822 \emph on
18823 0
18824 \end_layout
18825
18826 \end_inset
18827
18828 ,
18829 \begin_inset space \thinspace{}
18830 \end_inset
18831
18832
18833 \begin_inset Flex Code
18834 status collapsed
18835
18836 \begin_layout Plain Layout
18837 1
18838 \end_layout
18839
18840 \end_inset
18841
18842 ] 本レイアウト中で脆弱なコマンドを
18843 \begin_inset Flex Code
18844 status collapsed
18845
18846 \begin_layout Plain Layout
18847
18848 \backslash
18849 protect
18850 \end_layout
18851
18852 \end_inset
18853
18854 するか否か(註:
18855 当該コマンド自身をprotectするかどうかでは
18856 \emph on
18857 ありません
18858 \emph default
18859 ).既定値は偽です.
18860 \end_layout
18861
18862 \begin_layout Description
18863 \begin_inset Flex Code
18864 status collapsed
18865
18866 \begin_layout Plain Layout
18867 NeedCProtect
18868 \end_layout
18869
18870 \end_inset
18871
18872  [
18873 \begin_inset Flex Code
18874 status collapsed
18875
18876 \begin_layout Plain Layout
18877
18878 \emph on
18879 0
18880 \end_layout
18881
18882 \end_inset
18883
18884 ,
18885 \begin_inset space \thinspace{}
18886 \end_inset
18887
18888
18889 \begin_inset Flex Code
18890 status collapsed
18891
18892 \begin_layout Plain Layout
18893 1
18894 \end_layout
18895
18896 \end_inset
18897
18898 ] これは必要ならば,
18899 このレイアウトを含むマクロを
18900 \begin_inset Flex Code
18901 status collapsed
18902
18903 \begin_layout Plain Layout
18904
18905 \backslash
18906 cprotect
18907 \end_layout
18908
18909 \end_inset
18910
18911 (cf.
18912  
18913 \family sans
18914 cprotect
18915 \family default
18916 パッケージ)を用いて保護するようにし,
18917 マクロ中でverbatimを使えるようにします.既定値は偽です.
18918 \end_layout
18919
18920 \begin_layout Description
18921 \begin_inset Flex Code
18922 status collapsed
18923
18924 \begin_layout Plain Layout
18925 NeedMBoxProtect
18926 \end_layout
18927
18928 \end_inset
18929
18930  [
18931 \begin_inset Flex Code
18932 status collapsed
18933
18934 \begin_layout Plain Layout
18935
18936 \emph on
18937 0
18938 \end_layout
18939
18940 \end_inset
18941
18942 ,
18943 \begin_inset space \thinspace{}
18944 \end_inset
18945
18946
18947 \begin_inset Flex Code
18948 status collapsed
18949
18950 \begin_layout Plain Layout
18951 1
18952 \end_layout
18953
18954 \end_inset
18955
18956 ] この様式中の(
18957 \begin_inset Flex Code
18958 status collapsed
18959
18960 \begin_layout Plain Layout
18961
18962 \backslash
18963 cite
18964 \end_layout
18965
18966 \end_inset
18967
18968
18969 \begin_inset Flex Code
18970 status collapsed
18971
18972 \begin_layout Plain Layout
18973
18974 \backslash
18975 ref
18976 \end_layout
18977
18978 \end_inset
18979
18980 のような)特定のコマンドが
18981 \begin_inset Flex Code
18982 status collapsed
18983
18984 \begin_layout Plain Layout
18985
18986 \backslash
18987 mbox
18988 \end_layout
18989
18990 \end_inset
18991
18992 中で保護されるか否か.これは,
18993 中身を複雑な方法で解析する
18994 \family sans
18995 ulem
18996 \family default
18997
18998 \family sans
18999 soul
19000 \family default
19001 コマンドに頼る様式でとくに必要になります.既定値は偽です.
19002 \end_layout
19003
19004 \begin_layout Description
19005 \begin_inset Flex Code
19006 status collapsed
19007
19008 \begin_layout Plain Layout
19009 NewlineCmd
19010 \end_layout
19011
19012 \end_inset
19013
19014  
19015 \begin_inset Flex Code
19016 status collapsed
19017
19018 \begin_layout Plain Layout
19019 [文字列]
19020 \end_layout
19021
19022 \end_inset
19023
19024  改行に使用するコマンドを(
19025 \begin_inset Flex Code
19026 status collapsed
19027
19028 \begin_layout Plain Layout
19029
19030 \backslash
19031
19032 \backslash
19033
19034 \end_layout
19035
19036 \end_inset
19037
19038 以外に)定義するオプションです.初期値のバックスラッシュは指定できません.
19039 \end_layout
19040
19041 \begin_layout Description
19042 \begin_inset Flex Code
19043 status collapsed
19044
19045 \begin_layout Plain Layout
19046 NoInsetLayout
19047 \end_layout
19048
19049 \end_inset
19050
19051  [
19052 \begin_inset Flex Code
19053 status collapsed
19054
19055 \begin_layout Plain Layout
19056 <レイアウト>
19057 \end_layout
19058
19059 \end_inset
19060
19061 ] 既存の
19062 \begin_inset Flex Code
19063 status collapsed
19064
19065 \begin_layout Plain Layout
19066 InsetLayout
19067 \end_layout
19068
19069 \end_inset
19070
19071 を削除します.
19072 \end_layout
19073
19074 \begin_layout Description
19075 \begin_inset Flex Code
19076 status collapsed
19077
19078 \begin_layout Plain Layout
19079 ObsoletedBy
19080 \end_layout
19081
19082 \end_inset
19083
19084  [
19085 \begin_inset Flex Code
19086 status collapsed
19087
19088 \begin_layout Plain Layout
19089 <レイアウト>
19090 \end_layout
19091
19092 \end_inset
19093
19094 ] この古い
19095 \begin_inset Flex Code
19096 status collapsed
19097
19098 \begin_layout Plain Layout
19099 InsetLayout
19100 \end_layout
19101
19102 \end_inset
19103
19104 を引き継いだ
19105 \begin_inset Flex Code
19106 status collapsed
19107
19108 \begin_layout Plain Layout
19109 InsetLayout
19110 \end_layout
19111
19112 \end_inset
19113
19114 の名称.これは,
19115
19116 \begin_inset Flex Code
19117 status collapsed
19118
19119 \begin_layout Plain Layout
19120 InsetLayout
19121 \end_layout
19122
19123 \end_inset
19124
19125 の改名を,
19126 後方互換性を維持しながら行うために用いられます.
19127 \end_layout
19128
19129 \begin_layout Description
19130 \begin_inset Flex Code
19131 status collapsed
19132
19133 \begin_layout Plain Layout
19134 ParbreakIgnored
19135 \end_layout
19136
19137 \end_inset
19138
19139  [
19140 \begin_inset Flex Code
19141 status collapsed
19142
19143 \begin_layout Plain Layout
19144
19145 \emph on
19146 0
19147 \end_layout
19148
19149 \end_inset
19150
19151 ,
19152 \begin_inset space \thinspace{}
19153 \end_inset
19154
19155
19156 \begin_inset Flex Code
19157 status collapsed
19158
19159 \begin_layout Plain Layout
19160 1
19161 \end_layout
19162
19163 \end_inset
19164
19165
19166 \begin_inset Flex Code
19167 status collapsed
19168
19169 \begin_layout Plain Layout
19170 1
19171 \end_layout
19172
19173 \end_inset
19174
19175 に設定すると,
19176 段落の改行は出力では無視されます.これは,
19177 内容が\SpecialChar LyX
19178 作業領域内でのみ改行可能で,
19179 出力に影響を与えない差込枠において有用です.
19180 \end_layout
19181
19182 \begin_layout Description
19183 \begin_inset Flex Code
19184 status collapsed
19185
19186 \begin_layout Plain Layout
19187 ParbreakIsNewline
19188 \end_layout
19189
19190 \end_inset
19191
19192  [
19193 \begin_inset Flex Code
19194 status collapsed
19195
19196 \begin_layout Plain Layout
19197
19198 \emph on
19199 0
19200 \end_layout
19201
19202 \end_inset
19203
19204 ,
19205 \begin_inset space \thinspace{}
19206 \end_inset
19207
19208
19209 \begin_inset Flex Code
19210 status collapsed
19211
19212 \begin_layout Plain Layout
19213 1
19214 \end_layout
19215
19216 \end_inset
19217
19218 ] 段落様式と同様.第
19219 \begin_inset CommandInset ref
19220 LatexCommand ref
19221 reference "subsec:段落様式"
19222 nolink "false"
19223
19224 \end_inset
19225
19226 節参照.
19227 \end_layout
19228
19229 \begin_layout Description
19230 \begin_inset Flex Code
19231 status collapsed
19232
19233 \begin_layout Plain Layout
19234 PassThru
19235 \end_layout
19236
19237 \end_inset
19238
19239  [
19240 \emph on
19241
19242 \begin_inset Flex Code
19243 status collapsed
19244
19245 \begin_layout Plain Layout
19246 0
19247 \end_layout
19248
19249 \end_inset
19250
19251
19252 \emph default
19253 ,
19254 \begin_inset space \thinspace{}
19255 \end_inset
19256
19257
19258 \begin_inset Flex Code
19259 status collapsed
19260
19261 \begin_layout Plain Layout
19262 1
19263 \end_layout
19264
19265 \end_inset
19266
19267 ] 段落様式と同様.第
19268 \begin_inset CommandInset ref
19269 LatexCommand ref
19270 reference "subsec:段落様式"
19271 nolink "false"
19272
19273 \end_inset
19274
19275 節参照.
19276 \end_layout
19277
19278 \begin_layout Description
19279 \begin_inset Flex Code
19280 status collapsed
19281
19282 \begin_layout Plain Layout
19283 Preamble
19284 \end_layout
19285
19286 \end_inset
19287
19288  段落様式と同様.第
19289 \begin_inset CommandInset ref
19290 LatexCommand ref
19291 reference "subsec:段落様式"
19292 nolink "false"
19293
19294 \end_inset
19295
19296 節参照.
19297 \end_layout
19298
19299 \begin_layout Description
19300 \begin_inset Flex Code
19301 status collapsed
19302
19303 \begin_layout Plain Layout
19304 RefPrefix
19305 \end_layout
19306
19307 \end_inset
19308
19309  [
19310 \begin_inset Flex Code
19311 status collapsed
19312
19313 \begin_layout Plain Layout
19314 文字列
19315 \end_layout
19316
19317 \end_inset
19318
19319 ] この型の差込枠を参照する際,
19320 生成されるラベルに使用する前置句.これによって,
19321 整形参照を使用することができるようになります.
19322 \end_layout
19323
19324 \begin_layout Description
19325 \begin_inset Flex Code
19326 status collapsed
19327
19328 \begin_layout Plain Layout
19329 Requires
19330 \end_layout
19331
19332 \end_inset
19333
19334  [
19335 \begin_inset Flex Code
19336 status collapsed
19337
19338 \begin_layout Plain Layout
19339 文字列
19340 \end_layout
19341
19342 \end_inset
19343
19344 ] 段落様式と同様.第
19345 \begin_inset CommandInset ref
19346 LatexCommand ref
19347 reference "subsec:段落様式"
19348 nolink "false"
19349
19350 \end_inset
19351
19352 節参照.
19353 \end_layout
19354
19355 \begin_layout Description
19356 \begin_inset Flex Code
19357 status collapsed
19358
19359 \begin_layout Plain Layout
19360 ResetArgs
19361 \end_layout
19362
19363 \end_inset
19364
19365  [
19366 \begin_inset Flex Code
19367 status collapsed
19368
19369 \begin_layout Plain Layout
19370
19371 \emph on
19372 0
19373 \end_layout
19374
19375 \end_inset
19376
19377 ,
19378 \begin_inset space \thinspace{}
19379 \end_inset
19380
19381
19382 \begin_inset Flex Code
19383 status collapsed
19384
19385 \begin_layout Plain Layout
19386 1
19387 \end_layout
19388
19389 \end_inset
19390
19391 ] (
19392 \begin_inset Flex Code
19393 status collapsed
19394
19395 \begin_layout Plain Layout
19396 Argument
19397 \end_layout
19398
19399 \end_inset
19400
19401 タグで定義された)この様式の\SpecialChar LaTeX
19402 引数をリセットします.これは,
19403 様式を
19404 \begin_inset Flex Code
19405 status collapsed
19406
19407 \begin_layout Plain Layout
19408 CopyStyle
19409 \end_layout
19410
19411 \end_inset
19412
19413 でコピーし,
19414 その(必須及び非必須)引数は継承したくない場合に便利です.
19415 \end_layout
19416
19417 \begin_layout Description
19418 \begin_inset Flex Code
19419 status collapsed
19420
19421 \begin_layout Plain Layout
19422 ResetsFont
19423 \end_layout
19424
19425 \end_inset
19426
19427  [
19428 \begin_inset Flex Code
19429 status collapsed
19430
19431 \begin_layout Plain Layout
19432 0
19433 \end_layout
19434
19435 \end_inset
19436
19437 ,
19438 \begin_inset space \thinspace{}
19439 \end_inset
19440
19441
19442 \begin_inset Flex Code
19443 status collapsed
19444
19445 \begin_layout Plain Layout
19446
19447 \emph on
19448 1
19449 \end_layout
19450
19451 \end_inset
19452
19453
19454 \begin_inset Flex Code
19455 status collapsed
19456
19457 \begin_layout Plain Layout
19458
19459 \emph on
19460 1
19461 \end_layout
19462
19463 \end_inset
19464
19465 ならば,
19466 差込枠がフォント変更指定の中にあるとき,
19467 各差込枠の内部で再度フォント変更指定が為されます(たとえば
19468 \begin_inset Flex Code
19469 status collapsed
19470
19471 \begin_layout Plain Layout
19472
19473 \backslash
19474 textbf{周りの文字列
19475 \backslash
19476 myinset{中身}\SpecialChar ldots
19477 }
19478 \end_layout
19479
19480 \end_inset
19481
19482 ではなく
19483 \begin_inset Flex Code
19484 status collapsed
19485
19486 \begin_layout Plain Layout
19487
19488 \backslash
19489 textbf{周りの文字列
19490 \backslash
19491 myinset{
19492 \backslash
19493 textbf{中身}}\SpecialChar ldots
19494 }
19495 \end_layout
19496
19497 \end_inset
19498
19499 ).(脚註のような)内部的にフォント設定をリセットするコマンドで意味を持ちます.これを誤って設定してしまうと,
19500 望まない結果を生むことがあります(例:
19501
19502 \begin_inset Flex Code
19503 status collapsed
19504
19505 \begin_layout Plain Layout
19506
19507 \backslash
19508 emph{周りの文字列
19509 \backslash
19510 myinset{
19511 \backslash
19512 emph{中身t}}\SpecialChar ldots
19513 }
19514 \end_layout
19515
19516 \end_inset
19517
19518 では
19519 \begin_inset Flex Code
19520 status collapsed
19521
19522 \begin_layout Plain Layout
19523
19524 \backslash
19525 emph
19526 \end_layout
19527
19528 \end_inset
19529
19530 がトグルですので,
19531 中身がアップライト体になります).既定値は
19532 \begin_inset Flex Code
19533 status collapsed
19534
19535 \begin_layout Plain Layout
19536 0
19537 \end_layout
19538
19539 \end_inset
19540
19541
19542 フォント変更は差込枠内部で繰り返されません.
19543 \end_layout
19544
19545 \begin_layout Description
19546 \begin_inset Flex Code
19547 status collapsed
19548
19549 \begin_layout Plain Layout
19550 RightDelim
19551 \end_layout
19552
19553 \end_inset
19554
19555  [
19556 \begin_inset Flex Code
19557 status collapsed
19558
19559 \begin_layout Plain Layout
19560 文字列
19561 \end_layout
19562
19563 \end_inset
19564
19565 ] 様式の内容の最後に置かれる文字列.出力中の改行は
19566 \begin_inset Flex Code
19567 status collapsed
19568
19569 \begin_layout Plain Layout
19570 <br/>
19571 \end_layout
19572
19573 \end_inset
19574
19575 で指示できます.
19576 \end_layout
19577
19578 \begin_layout Description
19579 \begin_inset Flex Code
19580 status collapsed
19581
19582 \begin_layout Plain Layout
19583 Spellcheck
19584 \end_layout
19585
19586 \end_inset
19587
19588  [
19589 \begin_inset Flex Code
19590 status collapsed
19591
19592 \begin_layout Plain Layout
19593 0
19594 \end_layout
19595
19596 \end_inset
19597
19598 ,
19599 \begin_inset space \thinspace{}
19600 \end_inset
19601
19602
19603 \begin_inset Flex Code
19604 status collapsed
19605
19606 \begin_layout Plain Layout
19607
19608 \emph on
19609 1
19610 \end_layout
19611
19612 \end_inset
19613
19614 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
19615 \end_layout
19616
19617 \begin_layout Subsection
19618 引数
19619 \begin_inset CommandInset label
19620 LatexCommand label
19621 name "subsec:引数"
19622
19623 \end_inset
19624
19625
19626 \end_layout
19627
19628 \begin_layout Standard
19629 段落様式と差込枠レイアウトは,
19630 内容本体に加えて引数を取ることができます.これは,
19631 節見出しのようなものに便利で,
19632 また\SpecialChar LaTeX
19633 でのみ意味を持ちます.コマンドまたは環境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,
19634 必須・非必須を問わず–,
19635 別の場所で定義され,
19636 引数番号はその順序を表します.定義は
19637 \begin_inset Flex Code
19638 status collapsed
19639
19640 \begin_layout Plain Layout
19641 EndArgument
19642 \end_layout
19643
19644 \end_inset
19645
19646 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,
19647 以下のようになります.
19648 \end_layout
19649
19650 \begin_layout Quote
19651
19652 \family typewriter
19653 Argument 1
19654 \end_layout
19655
19656 \begin_layout Quote
19657
19658 \family typewriter
19659 ...
19660 \end_layout
19661
19662 \begin_layout Quote
19663
19664 \family typewriter
19665 EndArgument
19666 \end_layout
19667
19668 \begin_layout Quote
19669
19670 \family typewriter
19671 Argument 2
19672 \end_layout
19673
19674 \begin_layout Quote
19675
19676 \family typewriter
19677 ...
19678 \end_layout
19679
19680 \begin_layout Quote
19681
19682 \family typewriter
19683 EndArgument
19684 \end_layout
19685
19686 \begin_layout Standard
19687 \begin_inset Flex Code
19688 status collapsed
19689
19690 \begin_layout Plain Layout
19691 Argument
19692 \end_layout
19693
19694 \end_inset
19695
19696 定義内部では,
19697 以下の指定をすることができます.
19698 \end_layout
19699
19700 \begin_layout Itemize
19701 \begin_inset Flex Code
19702 status collapsed
19703
19704 \begin_layout Plain Layout
19705 LabelString
19706 \end_layout
19707
19708 \end_inset
19709
19710  
19711 \begin_inset Flex Code
19712 status collapsed
19713
19714 \begin_layout Plain Layout
19715 [文字列]
19716 \end_layout
19717
19718 \end_inset
19719
19720  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
19721 \begin_inset Flex Code
19722 status collapsed
19723
19724 \begin_layout Plain Layout
19725 MenuString
19726 \end_layout
19727
19728 \end_inset
19729
19730 を指定した場合を除く).メニューには,
19731 後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
19732 \begin_inset space \space{}
19733 \end_inset
19734
19735
19736 \begin_inset Quotes eld
19737 \end_inset
19738
19739
19740 \begin_inset Flex Code
19741 status collapsed
19742
19743 \begin_layout Plain Layout
19744 Short Title|S
19745 \end_layout
19746
19747 \end_inset
19748
19749
19750 \begin_inset Quotes erd
19751 \end_inset
19752
19753 ).
19754 \end_layout
19755
19756 \begin_layout Itemize
19757 \begin_inset Flex Code
19758 status collapsed
19759
19760 \begin_layout Plain Layout
19761 MenuString
19762 \end_layout
19763
19764 \end_inset
19765
19766  
19767 \begin_inset Flex Code
19768 status collapsed
19769
19770 \begin_layout Plain Layout
19771 [文字列]
19772 \end_layout
19773
19774 \end_inset
19775
19776  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
19777 \begin_inset space \space{}
19778 \end_inset
19779
19780
19781 \begin_inset Quotes eld
19782 \end_inset
19783
19784
19785 \begin_inset Flex Code
19786 status collapsed
19787
19788 \begin_layout Plain Layout
19789 Short Title|S
19790 \end_layout
19791
19792 \end_inset
19793
19794
19795 \begin_inset Quotes erd
19796 \end_inset
19797
19798 ).この指定は必須ではありません.指定しない場合には,
19799 代わりに
19800 \begin_inset Flex Code
19801 status collapsed
19802
19803 \begin_layout Plain Layout
19804 LabelString
19805 \end_layout
19806
19807 \end_inset
19808
19809 がメニューに用いられます.
19810 \end_layout
19811
19812 \begin_layout Itemize
19813 \begin_inset Flex Code
19814 status collapsed
19815
19816 \begin_layout Plain Layout
19817 Tooltip
19818 \end_layout
19819
19820 \end_inset
19821
19822  
19823 \begin_inset Flex Code
19824 status collapsed
19825
19826 \begin_layout Plain Layout
19827 [文字列]
19828 \end_layout
19829
19830 \end_inset
19831
19832  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
19833 \end_layout
19834
19835 \begin_layout Itemize
19836 \begin_inset Flex Code
19837 status collapsed
19838
19839 \begin_layout Plain Layout
19840 Mandatory
19841 \end_layout
19842
19843 \end_inset
19844
19845  [
19846 \begin_inset Flex Code
19847 status collapsed
19848
19849 \begin_layout Plain Layout
19850
19851 \emph on
19852 0
19853 \end_layout
19854
19855 \end_inset
19856
19857 ,
19858 \begin_inset space \thinspace{}
19859 \end_inset
19860
19861
19862 \begin_inset Flex Code
19863 status collapsed
19864
19865 \begin_layout Plain Layout
19866 1
19867 \end_layout
19868
19869 \end_inset
19870
19871 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,
19872 与えられなければ空の出力を行いますが,
19873 非必須引数の場合はそもそも出力されません.既定では,
19874 必須引数は
19875 \begin_inset Flex Code
19876 status collapsed
19877
19878 \begin_layout Plain Layout
19879 {...}
19880 \end_layout
19881
19882 \end_inset
19883
19884 で区切られ,
19885 非必須引数は
19886 \begin_inset Flex Code
19887 status collapsed
19888
19889 \begin_layout Plain Layout
19890 [...]
19891 \end_layout
19892
19893 \end_inset
19894
19895 で区切られます.
19896 \end_layout
19897
19898 \begin_layout Itemize
19899 \begin_inset Flex Code
19900 status collapsed
19901
19902 \begin_layout Plain Layout
19903 NewlineCmd
19904 \end_layout
19905
19906 \end_inset
19907
19908  
19909 \begin_inset Flex Code
19910 status collapsed
19911
19912 \begin_layout Plain Layout
19913 [文字列]
19914 \end_layout
19915
19916 \end_inset
19917
19918  改行に使用するコマンドを(
19919 \begin_inset Flex Code
19920 status collapsed
19921
19922 \begin_layout Plain Layout
19923
19924 \backslash
19925
19926 \backslash
19927
19928 \end_layout
19929
19930 \end_inset
19931
19932 以外に)定義するオプションです.初期値のバックスラッシュは指定できません.
19933 \end_layout
19934
19935 \begin_layout Itemize
19936 \begin_inset Flex Code
19937 status collapsed
19938
19939 \begin_layout Plain Layout
19940 Requires
19941 \end_layout
19942
19943 \end_inset
19944
19945  
19946 \begin_inset Flex Code
19947 status collapsed
19948
19949 \begin_layout Plain Layout
19950 [整数=0]
19951 \end_layout
19952
19953 \end_inset
19954
19955  この引数が出力されるとき,
19956 必要となる別の引数を(番号によって)指定します.例えば,
19957 \SpecialChar LaTeX
19958 コマンドでは,
19959
19960 \begin_inset Flex Code
19961 status collapsed
19962
19963 \begin_layout Plain Layout
19964
19965 \backslash
19966 command[][引数]{文字列}
19967 \end_layout
19968
19969 \end_inset
19970
19971 のように,
19972 前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
19973
19974 \begin_inset Flex Code
19975 status collapsed
19976
19977 \begin_layout Plain Layout
19978 Argument 2
19979 \end_layout
19980
19981 \end_inset
19982
19983 中に
19984 \begin_inset Flex Code
19985 status collapsed
19986
19987 \begin_layout Plain Layout
19988 Requires 1
19989 \end_layout
19990
19991 \end_inset
19992
19993 ステートメントを置くことで実現できます.
19994 \end_layout
19995
19996 \begin_layout Itemize
19997 \begin_inset Flex Code
19998 status collapsed
19999
20000 \begin_layout Plain Layout
20001 LeftDelim
20002 \end_layout
20003
20004 \end_inset
20005
20006  
20007 \begin_inset Flex Code
20008 status collapsed
20009
20010 \begin_layout Plain Layout
20011 [文字列]
20012 \end_layout
20013
20014 \end_inset
20015
20016  (
20017 \begin_inset Flex Code
20018 status collapsed
20019
20020 \begin_layout Plain Layout
20021 {
20022 \end_layout
20023
20024 \end_inset
20025
20026
20027 \begin_inset Flex Code
20028 status collapsed
20029
20030 \begin_layout Plain Layout
20031 [
20032 \end_layout
20033
20034 \end_inset
20035
20036 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
20037 \begin_inset Flex Code
20038 status collapsed
20039
20040 \begin_layout Plain Layout
20041 <br/>
20042 \end_layout
20043
20044 \end_inset
20045
20046 で指示できます.
20047 \end_layout
20048
20049 \begin_layout Itemize
20050 \begin_inset Flex Code
20051 status collapsed
20052
20053 \begin_layout Plain Layout
20054 RightDelim
20055 \end_layout
20056
20057 \end_inset
20058
20059  
20060 \begin_inset Flex Code
20061 status collapsed
20062
20063 \begin_layout Plain Layout
20064 [文字列]
20065 \end_layout
20066
20067 \end_inset
20068
20069  (
20070 \begin_inset Flex Code
20071 status collapsed
20072
20073 \begin_layout Plain Layout
20074 }
20075 \end_layout
20076
20077 \end_inset
20078
20079
20080 \begin_inset Flex Code
20081 status collapsed
20082
20083 \begin_layout Plain Layout
20084 ]
20085 \end_layout
20086
20087 \end_inset
20088
20089 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
20090 \begin_inset Flex Code
20091 status collapsed
20092
20093 \begin_layout Plain Layout
20094 <br/>
20095 \end_layout
20096
20097 \end_inset
20098
20099 で指示できます.
20100 \end_layout
20101
20102 \begin_layout Itemize
20103 \begin_inset Flex Code
20104 status collapsed
20105
20106 \begin_layout Plain Layout
20107 DefaultArg
20108 \end_layout
20109
20110 \end_inset
20111
20112  
20113 \begin_inset Flex Code
20114 status collapsed
20115
20116 \begin_layout Plain Layout
20117 [文字列]
20118 \end_layout
20119
20120 \end_inset
20121
20122  ユーザー指定引数が与えられなかったとき,
20123 すなわち引数差込枠が挿入されなかったときに限り,
20124 挿入される引数を定義します(空の引数差込枠が挿入されてもDefaultArgは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
20125 \end_layout
20126
20127 \begin_layout Itemize
20128 \begin_inset Flex Code
20129 status collapsed
20130
20131 \begin_layout Plain Layout
20132 PresetArg
20133 \end_layout
20134
20135 \end_inset
20136
20137  
20138 \begin_inset Flex Code
20139 status collapsed
20140
20141 \begin_layout Plain Layout
20142 [文字列]
20143 \end_layout
20144
20145 \end_inset
20146
20147  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
20148 \end_layout
20149
20150 \begin_layout Itemize
20151 \begin_inset Flex Code
20152 status collapsed
20153
20154 \begin_layout Plain Layout
20155 Font
20156 \end_layout
20157
20158 \end_inset
20159
20160  引数の内容に用いられるフォント.
20161 \begin_inset CommandInset ref
20162 LatexCommand ref
20163 reference "subsec:フォント指定"
20164 nolink "false"
20165
20166 \end_inset
20167
20168 参照.
20169 \end_layout
20170
20171 \begin_layout Itemize
20172 \begin_inset Flex Code
20173 status collapsed
20174
20175 \begin_layout Plain Layout
20176 FreeSpacing
20177 \end_layout
20178
20179 \end_inset
20180
20181  [
20182 \emph on
20183
20184 \begin_inset Flex Code
20185 status collapsed
20186
20187 \begin_layout Plain Layout
20188 0
20189 \end_layout
20190
20191 \end_inset
20192
20193
20194 \emph default
20195 ,
20196 \begin_inset space \thinspace{}
20197 \end_inset
20198
20199
20200 \begin_inset Flex Code
20201 status collapsed
20202
20203 \begin_layout Plain Layout
20204 1
20205 \end_layout
20206
20207 \end_inset
20208
20209 ] 段落様式と同様.第
20210 \begin_inset CommandInset ref
20211 LatexCommand ref
20212 reference "subsec:段落様式"
20213 nolink "false"
20214
20215 \end_inset
20216
20217 節参照.
20218 \end_layout
20219
20220 \begin_layout Itemize
20221 \begin_inset Flex Code
20222 status collapsed
20223
20224 \begin_layout Plain Layout
20225 LabelFont
20226 \end_layout
20227
20228 \end_inset
20229
20230  ラベルに用いられるフォント.
20231 \begin_inset CommandInset ref
20232 LatexCommand ref
20233 reference "subsec:フォント指定"
20234 nolink "false"
20235
20236 \end_inset
20237
20238 参照.
20239 \end_layout
20240
20241 \begin_layout Itemize
20242 \begin_inset Flex Code
20243 status collapsed
20244
20245 \begin_layout Plain Layout
20246 Decoration
20247 \end_layout
20248
20249 \end_inset
20250
20251  [
20252 \begin_inset Flex Code
20253 status collapsed
20254
20255 \begin_layout Plain Layout
20256
20257 \emph on
20258 Classic
20259 \emph default
20260 ,
20261  Minimalistic,
20262  Conglomerate
20263 \end_layout
20264
20265 \end_inset
20266
20267 ] 差込枠の枠とボタンに用いられる装飾様式.
20268 \end_layout
20269
20270 \begin_layout Itemize
20271 \begin_inset Flex Code
20272 status collapsed
20273
20274 \begin_layout Plain Layout
20275 AutoInsert
20276 \end_layout
20277
20278 \end_inset
20279
20280  
20281 \begin_inset Flex Code
20282 status collapsed
20283
20284 \begin_layout Plain Layout
20285 [整数=0]
20286 \end_layout
20287
20288 \end_inset
20289
20290  これが
20291 \begin_inset Flex Code
20292 status collapsed
20293
20294 \begin_layout Plain Layout
20295 1
20296 \end_layout
20297
20298 \end_inset
20299
20300 に設定されると,
20301 各様式が選択されたときに,
20302 この引数が自動的に挿入されます.
20303 \end_layout
20304
20305 \begin_layout Itemize
20306 \begin_inset Flex Code
20307 status collapsed
20308
20309 \begin_layout Plain Layout
20310 InsertOnNewline
20311 \end_layout
20312
20313 \end_inset
20314
20315  
20316 \begin_inset Flex Code
20317 status collapsed
20318
20319 \begin_layout Plain Layout
20320 [整数=0]
20321 \end_layout
20322
20323 \end_inset
20324
20325  これが
20326 \begin_inset Flex Code
20327 status collapsed
20328
20329 \begin_layout Plain Layout
20330 1
20331 \end_layout
20332
20333 \end_inset
20334
20335 に設定されると,
20336
20337 \begin_inset Flex Code
20338 status collapsed
20339
20340 \begin_layout Plain Layout
20341 AutoInsert
20342 \end_layout
20343
20344 \end_inset
20345
20346 時にこの変数は新規行に挿入されます(自由差込枠でのみ使用可能).
20347 \end_layout
20348
20349 \begin_layout Itemize
20350 \begin_inset Flex Code
20351 status collapsed
20352
20353 \begin_layout Plain Layout
20354 InsertCotext
20355 \end_layout
20356
20357 \end_inset
20358
20359  
20360 \begin_inset Flex Code
20361 status collapsed
20362
20363 \begin_layout Plain Layout
20364 [整数=0]
20365 \end_layout
20366
20367 \end_inset
20368
20369  これが
20370 \begin_inset Flex Code
20371 status collapsed
20372
20373 \begin_layout Plain Layout
20374 1
20375 \end_layout
20376
20377 \end_inset
20378
20379 に設定されると,
20380 この引数は,
20381 副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
20382 \end_layout
20383
20384 \begin_layout Itemize
20385 \begin_inset Flex Code
20386 status collapsed
20387
20388 \begin_layout Plain Layout
20389 PassThru
20390 \end_layout
20391
20392 \end_inset
20393
20394  [
20395 \begin_inset Flex Code
20396 status collapsed
20397
20398 \begin_layout Plain Layout
20399
20400 \emph on
20401 inherited
20402 \emph default
20403 ,
20404  true,
20405  false
20406 \end_layout
20407
20408 \end_inset
20409
20410 ] この引数の内容が,
20411 \SpecialChar LaTeX
20412 が要求する特別な書き換えを行うことなく,
20413 原文のまま出力されるべきかどうかを指定します.既定値では,
20414
20415 \begin_inset Flex Code
20416 status collapsed
20417
20418 \begin_layout Plain Layout
20419 PassThru
20420 \end_layout
20421
20422 \end_inset
20423
20424 の状態は,
20425 引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,
20426 この引数のみの状態を変更します.
20427 \end_layout
20428
20429 \begin_layout Itemize
20430 \begin_inset Flex Code
20431 status collapsed
20432
20433 \begin_layout Plain Layout
20434 PassThruChars
20435 \end_layout
20436
20437 \end_inset
20438
20439  [
20440 \begin_inset Flex Code
20441 status collapsed
20442
20443 \begin_layout Plain Layout
20444 文字列
20445 \end_layout
20446
20447 \end_inset
20448
20449 ]
20450 \family typewriter
20451  
20452 \family default
20453 \SpecialChar LaTeX
20454 が要求する特別な翻訳は抜きにして,
20455 生の形で出力されるべき各文字を定義します.PassThruとは違って,
20456 引数用に,
20457 これは明示的に定義されなくてはなりません.つまり,
20458 引数は,
20459 親差込枠や親レイアウトからPassThruCharsを継承しません.
20460 \end_layout
20461
20462 \begin_layout Itemize
20463 \begin_inset Flex Code
20464 status collapsed
20465
20466 \begin_layout Plain Layout
20467 IsTocCaption
20468 \end_layout
20469
20470 \end_inset
20471
20472  [
20473 \begin_inset Flex Code
20474 status collapsed
20475
20476 \begin_layout Plain Layout
20477
20478 \emph on
20479 0
20480 \end_layout
20481
20482 \end_inset
20483
20484 ,
20485 \begin_inset space \thinspace{}
20486 \end_inset
20487
20488
20489 \begin_inset Flex Code
20490 status collapsed
20491
20492 \begin_layout Plain Layout
20493 1
20494 \end_layout
20495
20496 \end_inset
20497
20498 ] これを1に設定すると,
20499 引数は,
20500 その内容を対応する一覧表の項目に出力します.AddToTocを参照.
20501 \end_layout
20502
20503 \begin_layout Standard
20504 既定では,
20505
20506 \begin_inset Flex Code
20507 status collapsed
20508
20509 \begin_layout Plain Layout
20510 LatexType
20511 \end_layout
20512
20513 \end_inset
20514
20515
20516 \begin_inset Flex Code
20517 status collapsed
20518
20519 \begin_layout Plain Layout
20520 Command
20521 \end_layout
20522
20523 \end_inset
20524
20525 のとき,
20526 各レイアウトで\SpecialChar LyX
20527 作業領域に入力した文字列は,
20528 コマンドの最後の(必須)引数になります.しかしながら,
20529 前置句
20530 \begin_inset Flex Code
20531 status collapsed
20532
20533 \begin_layout Plain Layout
20534 post:
20535 \end_layout
20536
20537 \end_inset
20538
20539 を付けた文字列は,
20540 この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,
20541 作業領域引数の後の最初の引数は
20542 \begin_inset Flex Code
20543 status collapsed
20544
20545 \begin_layout Plain Layout
20546 post:1
20547 \end_layout
20548
20549 \end_inset
20550
20551 となります.後置引数は,
20552
20553 \begin_inset Flex Code
20554 status collapsed
20555
20556 \begin_layout Plain Layout
20557 Command
20558 \end_layout
20559
20560 \end_inset
20561
20562 以外の
20563 \begin_inset Flex Code
20564 status collapsed
20565
20566 \begin_layout Plain Layout
20567 LatexType
20568 \end_layout
20569
20570 \end_inset
20571
20572 では無視されます.
20573 \end_layout
20574
20575 \begin_layout Standard
20576 (
20577 \begin_inset Flex Code
20578 status collapsed
20579
20580 \begin_layout Plain Layout
20581
20582 \backslash
20583 item[foo]
20584 \end_layout
20585
20586 \end_inset
20587
20588 のような)箇条書き
20589 \begin_inset Flex Code
20590 status collapsed
20591
20592 \begin_layout Plain Layout
20593
20594 \backslash
20595 item
20596 \end_layout
20597
20598 \end_inset
20599
20600 の引数は,
20601 前置句
20602 \begin_inset Flex Code
20603 status collapsed
20604
20605 \begin_layout Plain Layout
20606 item:
20607 \end_layout
20608
20609 \end_inset
20610
20611 の後に番号を付けます(例:
20612 \begin_inset Flex Code
20613 status collapsed
20614
20615 \begin_layout Plain Layout
20616 Argument item:1
20617 \end_layout
20618
20619 \end_inset
20620
20621 ).
20622 \end_layout
20623
20624 \begin_layout Standard
20625 最後に,
20626 前置句
20627 \begin_inset Flex Code
20628 status collapsed
20629
20630 \begin_layout Plain Layout
20631 listpreamble:
20632 \end_layout
20633
20634 \end_inset
20635
20636 を用いる特別な引数型があります.これは本当は引数ではありませんが,
20637 引数インタフェースを用います(したがって前置句後には数値が続きます.例:
20638
20639 \begin_inset Flex Code
20640 status collapsed
20641
20642 \begin_layout Plain Layout
20643 Argument listpreamble:1
20644 \end_layout
20645
20646 \end_inset
20647
20648 ).名前が示すように,
20649
20650 \family sans
20651 Itemize
20652 \family default
20653
20654 \family sans
20655 Enumerate
20656 \family default
20657
20658 \family sans
20659 Description
20660 \family default
20661
20662 \family sans
20663 Bibliography
20664 \family default
20665 のようなリストが対象です.その中身はリスト開始時,
20666 最初の
20667 \begin_inset Flex Code
20668 status collapsed
20669
20670 \begin_layout Plain Layout
20671
20672 \backslash
20673 item
20674 \end_layout
20675
20676 \end_inset
20677
20678 の前に独立した行として(\SpecialChar LyX
20679 からは他の方法ではアクセス不能な場所です)出力されます.このようにして,
20680 ユーザーは各リストに(長さ等の)再定義を入れることができます.既定では,
20681 これらの引数は区切り文字を持ちません.
20682 \end_layout
20683
20684 \begin_layout Subsection
20685 カウンタ
20686 \begin_inset CommandInset label
20687 LatexCommand label
20688 name "subsec:カウンタ"
20689
20690 \end_inset
20691
20692
20693 \end_layout
20694
20695 \begin_layout Standard
20696 テキストクラスには,
20697 カウンタ(
20698 \begin_inset Flex MenuItem
20699 status collapsed
20700
20701 \begin_layout Plain Layout
20702 chapter
20703 \end_layout
20704
20705 \end_inset
20706
20707
20708 \begin_inset Flex MenuItem
20709 status collapsed
20710
20711 \begin_layout Plain Layout
20712 figure
20713 \end_layout
20714
20715 \end_inset
20716
20717 ・\SpecialChar ldots
20718 )を定義することが必要です.標準的なカウンタは
20719 \begin_inset Flex Code
20720 status collapsed
20721
20722 \begin_layout Plain Layout
20723 stdcounters.inc
20724 \end_layout
20725
20726 \end_inset
20727
20728 ファイルに含まれているので,
20729 作業中のレイアウトファイルに
20730 \end_layout
20731
20732 \begin_layout LyX-Code
20733 Input stdcounters.inc
20734 \end_layout
20735
20736 \begin_layout Standard
20737 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,
20738 そうすることもできます.カウンタ宣言は,
20739
20740 \end_layout
20741
20742 \begin_layout LyX-Code
20743 Counter カウンタ名
20744 \end_layout
20745
20746 \begin_layout Standard
20747 で始まらなくてはなりません.ここで「
20748 \begin_inset Flex Code
20749 status collapsed
20750
20751 \begin_layout Plain Layout
20752 カウンタ名
20753 \end_layout
20754
20755 \end_inset
20756
20757 」は,
20758 実際のカウンタ名で置き換えます.また,
20759 宣言は「
20760 \begin_inset Flex Code
20761 status collapsed
20762
20763 \begin_layout Plain Layout
20764 End
20765 \end_layout
20766
20767 \end_inset
20768
20769 」で終わらなくてはなりません.
20770 \end_layout
20771
20772 \begin_layout Standard
20773 以下のパラメータを使用することができます.
20774 \end_layout
20775
20776 \begin_layout Description
20777 \begin_inset Flex Code
20778 status collapsed
20779
20780 \begin_layout Plain Layout
20781 InitialValue
20782 \end_layout
20783
20784 \end_inset
20785
20786  [
20787 \begin_inset Flex Code
20788 status collapsed
20789
20790 \begin_layout Plain Layout
20791 整数=1
20792 \end_layout
20793
20794 \end_inset
20795
20796 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,
20797 既定値1のままで充分でしょう.
20798 \end_layout
20799
20800 \begin_layout Description
20801 \begin_inset Flex Code
20802 status collapsed
20803
20804 \begin_layout Plain Layout
20805 LabelString
20806 \end_layout
20807
20808 \end_inset
20809
20810  [
20811 \begin_inset Flex Code
20812 status collapsed
20813
20814 \begin_layout Plain Layout
20815 文字列
20816 \end_layout
20817
20818 \end_inset
20819
20820 =""] 定義されていると,
20821 ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
20822
20823 \begin_inset Flex Code
20824 status collapsed
20825
20826 \begin_layout Plain Layout
20827 LabelStringAppendix
20828 \end_layout
20829
20830 \end_inset
20831
20832 も同じ値に設定されます.文字列中では,
20833 以下の構成要素を使用することができます.
20834 \end_layout
20835
20836 \begin_deeper
20837 \begin_layout Itemize
20838 \begin_inset Flex Code
20839 status collapsed
20840
20841 \begin_layout Plain Layout
20842
20843 \backslash
20844 thecounter
20845 \end_layout
20846
20847 \end_inset
20848
20849 は,
20850 カウンタ
20851 \begin_inset Flex Code
20852 status collapsed
20853
20854 \begin_layout Plain Layout
20855 counter
20856 \end_layout
20857
20858 \end_inset
20859
20860
20861 \begin_inset Flex Code
20862 status collapsed
20863
20864 \begin_layout Plain Layout
20865 LabelString
20866 \end_layout
20867
20868 \end_inset
20869
20870 (または
20871 \begin_inset Newline linebreak
20872 \end_inset
20873
20874
20875 \begin_inset Flex Code
20876 status collapsed
20877
20878 \begin_layout Plain Layout
20879 LabelStringAppendix
20880 \end_layout
20881
20882 \end_inset
20883
20884 )を展開したもので置き換えられます. 
20885 \end_layout
20886
20887 \begin_layout Itemize
20888 カウンタ値は,
20889 \SpecialChar LaTeX
20890 型マクロ
20891 \begin_inset Flex Code
20892 status collapsed
20893
20894 \begin_layout Plain Layout
20895
20896 \backslash
20897
20898 \emph on
20899 numbertype
20900 \emph default
20901 {
20902 \emph on
20903 カウンタ
20904 \emph default
20905 }
20906 \end_layout
20907
20908 \end_inset
20909
20910 を用いて表現することができます.ここで
20911 \begin_inset Flex Code
20912 status collapsed
20913
20914 \begin_layout Plain Layout
20915
20916 \emph on
20917 numbertype
20918 \end_layout
20919
20920 \end_inset
20921
20922 は以下のいずれかです.
20923 \begin_inset Flex Code
20924 status collapsed
20925
20926 \begin_layout Plain Layout
20927 arabic
20928 \end_layout
20929
20930 \end_inset
20931
20932
20933 1,
20934  2,
20935  3,\SpecialChar ldots
20936
20937
20938 \begin_inset Flex Code
20939 status collapsed
20940
20941 \begin_layout Plain Layout
20942 alph
20943 \end_layout
20944
20945 \end_inset
20946
20947
20948 a,
20949  b,
20950  c,
20951  \SpecialChar ldots
20952 (小文字);
20953
20954 \begin_inset Flex Code
20955 status collapsed
20956
20957 \begin_layout Plain Layout
20958 Alph
20959 \end_layout
20960
20961 \end_inset
20962
20963
20964 A,
20965  B,
20966  C,
20967  \SpecialChar ldots
20968 (大文字);
20969
20970 \begin_inset Flex Code
20971 status collapsed
20972
20973 \begin_layout Plain Layout
20974 roman
20975 \end_layout
20976
20977 \end_inset
20978
20979
20980 i,
20981  ii,
20982  iii,
20983  \SpecialChar ldots
20984 (小文字ローマ数字);
20985
20986 \begin_inset Flex Code
20987 status collapsed
20988
20989 \begin_layout Plain Layout
20990 Roman
20991 \end_layout
20992
20993 \end_inset
20994
20995
20996 I,
20997  II,
20998  III\SpecialChar ldots
20999 (大文字ローマ数字).
21000 \end_layout
21001
21002 \end_deeper
21003 \begin_layout Standard
21004 \begin_inset Flex Code
21005 status collapsed
21006
21007 \begin_layout Plain Layout
21008 LabelString
21009 \end_layout
21010
21011 \end_inset
21012
21013 が定義されていないときは,
21014 既定値は以下のように組み立てられます.このカウンタに親カウンタ
21015 \begin_inset Flex Code
21016 status collapsed
21017
21018 \begin_layout Plain Layout
21019 master
21020 \end_layout
21021
21022 \end_inset
21023
21024
21025 \begin_inset Flex Code
21026 status collapsed
21027
21028 \begin_layout Plain Layout
21029 Within
21030 \end_layout
21031
21032 \end_inset
21033
21034 で定義)があるときには,
21035 文字列
21036 \begin_inset Newline linebreak
21037 \end_inset
21038
21039
21040 \begin_inset Flex Code
21041 status collapsed
21042
21043 \begin_layout Plain Layout
21044
21045 \backslash
21046 themaster.
21047 \backslash
21048 arabic{カウンタ}
21049 \end_layout
21050
21051 \end_inset
21052
21053 が使用されます.それ以外の場合は,
21054
21055 \begin_inset Flex Code
21056 status collapsed
21057
21058 \begin_layout Plain Layout
21059
21060 \backslash
21061 arabic{カウンタ}
21062 \end_layout
21063
21064 \end_inset
21065
21066 が使用されます.
21067 \end_layout
21068
21069 \begin_layout Description
21070 \begin_inset Flex Code
21071 status collapsed
21072
21073 \begin_layout Plain Layout
21074 LabelStringAppendix
21075 \end_layout
21076
21077 \end_inset
21078
21079  [
21080 \begin_inset Flex Code
21081 status collapsed
21082
21083 \begin_layout Plain Layout
21084 文字列
21085 \end_layout
21086
21087 \end_inset
21088
21089 =""] 
21090 \begin_inset Flex Code
21091 status collapsed
21092
21093 \begin_layout Plain Layout
21094 LabelString
21095 \end_layout
21096
21097 \end_inset
21098
21099 と同様ですが,
21100 付録で使用するためのものです.
21101 \end_layout
21102
21103 \begin_layout Description
21104 \begin_inset Flex Code
21105 status collapsed
21106
21107 \begin_layout Plain Layout
21108 LaTeXName
21109 \end_layout
21110
21111 \end_inset
21112
21113  [
21114 \begin_inset Flex Code
21115 status collapsed
21116
21117 \begin_layout Plain Layout
21118 文字列
21119 \end_layout
21120
21121 \end_inset
21122
21123 =
21124 \begin_inset Quotes erd
21125 \end_inset
21126
21127
21128 \begin_inset Quotes erd
21129 \end_inset
21130
21131 ] \SpecialChar LaTeX
21132 で使用されるカウンタ名(たとえば\SpecialChar LyX
21133 では「theorem」というカウンタがありますが,
21134 \SpecialChar LaTeX
21135 には「thm」と出力されます).
21136 \end_layout
21137
21138 \begin_layout Description
21139 \begin_inset Flex Code
21140 status collapsed
21141
21142 \begin_layout Plain Layout
21143 PrettyFormat
21144 \end_layout
21145
21146 \end_inset
21147
21148  [
21149 \begin_inset Flex Code
21150 status collapsed
21151
21152 \begin_layout Plain Layout
21153 文字列
21154 \end_layout
21155
21156 \end_inset
21157
21158 =
21159 \begin_inset Quotes erd
21160 \end_inset
21161
21162
21163 \begin_inset Quotes erd
21164 \end_inset
21165
21166 ] このカウンタの整形参照で使用する書式.たとえば,
21167 節番号への参照を「Section
21168 \begin_inset space ~
21169 \end_inset
21170
21171 2.4」のように表示させたい場合には,
21172 文字列に「##」を含めます.これは,
21173 カウンタ番号で置換されます.したがって,
21174 節の場合には「Section ##」のようにします.
21175 \end_layout
21176
21177 \begin_layout Description
21178 \begin_inset Flex Code
21179 status collapsed
21180
21181 \begin_layout Plain Layout
21182 Within
21183 \end_layout
21184
21185 \end_inset
21186
21187  [
21188 \begin_inset Flex Code
21189 status collapsed
21190
21191 \begin_layout Plain Layout
21192 文字列
21193 \end_layout
21194
21195 \end_inset
21196
21197 =
21198 \begin_inset Quotes erd
21199 \end_inset
21200
21201
21202 \begin_inset Quotes erd
21203 \end_inset
21204
21205 ] これを別のカウンタ名に設定すると,
21206 現在のカウンタは,
21207 別のカウンタが増加する毎にリセットされます.たとえば,
21208
21209 \begin_inset Flex Code
21210 status collapsed
21211
21212 \begin_layout Plain Layout
21213 subsection
21214 \end_layout
21215
21216 \end_inset
21217
21218
21219 \begin_inset Flex Code
21220 status collapsed
21221
21222 \begin_layout Plain Layout
21223 section
21224 \end_layout
21225
21226 \end_inset
21227
21228 毎に番号がリセットされます.
21229 \end_layout
21230
21231 \begin_layout Subsection
21232 フォント指定
21233 \begin_inset CommandInset label
21234 LatexCommand label
21235 name "subsec:フォント指定"
21236
21237 \end_inset
21238
21239
21240 \end_layout
21241
21242 \begin_layout Standard
21243 フォント指定は,
21244 以下のような形を取ります.
21245 \end_layout
21246
21247 \begin_layout LyX-Code
21248 Font 
21249 \family roman
21250 \emph on
21251 または
21252 \family default
21253 \emph default
21254  LabelFont 
21255 \family roman
21256 \emph on
21257 または
21258 \family default
21259 \emph default
21260  DefaultFont
21261 \end_layout
21262
21263 \begin_layout LyX-Code
21264  ...
21265 \end_layout
21266
21267 \begin_layout LyX-Code
21268 EndFont
21269 \end_layout
21270
21271 \begin_layout Standard
21272 以下のコマンドを使用することができます.
21273 \end_layout
21274
21275 \begin_layout Description
21276 \begin_inset Flex Code
21277 status collapsed
21278
21279 \begin_layout Plain Layout
21280 Color
21281 \end_layout
21282
21283 \end_inset
21284
21285  [
21286 \begin_inset Flex Code
21287 status collapsed
21288
21289 \begin_layout Plain Layout
21290 文字列
21291 \end_layout
21292
21293 \end_inset
21294
21295 ] 有効な引数については,
21296 付録
21297 \begin_inset CommandInset ref
21298 LatexCommand ref
21299 reference "chap:色名"
21300 plural "false"
21301 caps "false"
21302 noprefix "false"
21303 nolink "false"
21304
21305 \end_inset
21306
21307 をご覧ください.
21308 \end_layout
21309
21310 \begin_layout Description
21311 \begin_inset Flex Code
21312 status collapsed
21313
21314 \begin_layout Plain Layout
21315 Family
21316 \end_layout
21317
21318 \end_inset
21319
21320  [
21321 \emph on
21322
21323 \begin_inset Flex Code
21324 status collapsed
21325
21326 \begin_layout Plain Layout
21327 Roman
21328 \end_layout
21329
21330 \end_inset
21331
21332
21333 \emph default
21334 ,
21335  
21336 \begin_inset Flex Code
21337 status collapsed
21338
21339 \begin_layout Plain Layout
21340 Sans
21341 \end_layout
21342
21343 \end_inset
21344
21345 ,
21346  
21347 \begin_inset Flex Code
21348 status collapsed
21349
21350 \begin_layout Plain Layout
21351 Typewriter
21352 \end_layout
21353
21354 \end_inset
21355
21356
21357 \end_layout
21358
21359 \begin_layout Description
21360 \begin_inset Flex Code
21361 status collapsed
21362
21363 \begin_layout Plain Layout
21364 Misc
21365 \end_layout
21366
21367 \end_inset
21368
21369  [
21370 \begin_inset Flex Code
21371 status collapsed
21372
21373 \begin_layout Plain Layout
21374 文字列
21375 \end_layout
21376
21377 \end_inset
21378
21379 ] 有効な引数は,
21380
21381 \begin_inset Flex Code
21382 status collapsed
21383
21384 \begin_layout Plain Layout
21385 emph
21386 \end_layout
21387
21388 \end_inset
21389
21390
21391 \begin_inset Flex Code
21392 status collapsed
21393
21394 \begin_layout Plain Layout
21395 noun
21396 \end_layout
21397
21398 \end_inset
21399
21400
21401 \begin_inset Flex Code
21402 status collapsed
21403
21404 \begin_layout Plain Layout
21405 strikeout
21406 \end_layout
21407
21408 \end_inset
21409
21410
21411 \begin_inset Flex Code
21412 status collapsed
21413
21414 \begin_layout Plain Layout
21415 underbar
21416 \end_layout
21417
21418 \end_inset
21419
21420
21421 \begin_inset Flex Code
21422 status collapsed
21423
21424 \begin_layout Plain Layout
21425 uuline
21426 \end_layout
21427
21428 \end_inset
21429
21430
21431 \begin_inset Flex Code
21432 status collapsed
21433
21434 \begin_layout Plain Layout
21435 uwave
21436 \end_layout
21437
21438 \end_inset
21439
21440
21441 \begin_inset Flex Code
21442 status collapsed
21443
21444 \begin_layout Plain Layout
21445 no_emph
21446 \end_layout
21447
21448 \end_inset
21449
21450
21451 \begin_inset Flex Code
21452 status collapsed
21453
21454 \begin_layout Plain Layout
21455 no_noun
21456 \end_layout
21457
21458 \end_inset
21459
21460
21461 \begin_inset Flex Code
21462 status collapsed
21463
21464 \begin_layout Plain Layout
21465 no_strikeout
21466 \end_layout
21467
21468 \end_inset
21469
21470
21471 \begin_inset Flex Code
21472 status collapsed
21473
21474 \begin_layout Plain Layout
21475 no_bar
21476 \end_layout
21477
21478 \end_inset
21479
21480
21481 \begin_inset Flex Code
21482 status collapsed
21483
21484 \begin_layout Plain Layout
21485 no_uuline
21486 \end_layout
21487
21488 \end_inset
21489
21490
21491 \begin_inset Flex Code
21492 status collapsed
21493
21494 \begin_layout Plain Layout
21495 no_uwave
21496 \end_layout
21497
21498 \end_inset
21499
21500 です.それぞれ,
21501 対応する属性を有効にしたり無効にしたりします.
21502 \begin_inset Newline newline
21503 \end_inset
21504
21505 たとえば,
21506
21507 \begin_inset Flex Code
21508 status collapsed
21509
21510 \begin_layout Plain Layout
21511 emph
21512 \end_layout
21513
21514 \end_inset
21515
21516 は強調を有効にし,
21517
21518 \begin_inset Flex Code
21519 status collapsed
21520
21521 \begin_layout Plain Layout
21522 no_emph
21523 \end_layout
21524
21525 \end_inset
21526
21527 はそれを無効にします.もし後者がわかりにくければ,
21528 現在のコンテクストのフォント設定は,
21529 一般的に周囲のコンテクストから継承していることを思い出してください.ですから
21530 \begin_inset Flex Code
21531 status collapsed
21532
21533 \begin_layout Plain Layout
21534 no_emph
21535 \end_layout
21536
21537 \end_inset
21538
21539 は,
21540 たとえば定理環境で,
21541 何をせずとも有効となっている強調を無効にするのです.
21542 \end_layout
21543
21544 \begin_layout Description
21545 \begin_inset Flex Code
21546 status collapsed
21547
21548 \begin_layout Plain Layout
21549 Series
21550 \end_layout
21551
21552 \end_inset
21553
21554  [
21555 \emph on
21556
21557 \begin_inset Flex Code
21558 status collapsed
21559
21560 \begin_layout Plain Layout
21561 Medium
21562 \end_layout
21563
21564 \end_inset
21565
21566
21567 \emph default
21568 ,
21569  
21570 \begin_inset Flex Code
21571 status collapsed
21572
21573 \begin_layout Plain Layout
21574 Bold
21575 \end_layout
21576
21577 \end_inset
21578
21579
21580 \end_layout
21581
21582 \begin_layout Description
21583 \begin_inset Flex Code
21584 status collapsed
21585
21586 \begin_layout Plain Layout
21587 Shape
21588 \end_layout
21589
21590 \end_inset
21591
21592  [
21593 \emph on
21594
21595 \begin_inset Flex Code
21596 status collapsed
21597
21598 \begin_layout Plain Layout
21599 Up
21600 \end_layout
21601
21602 \end_inset
21603
21604
21605 \emph default
21606 ,
21607  
21608 \begin_inset Flex Code
21609 status collapsed
21610
21611 \begin_layout Plain Layout
21612 Italic
21613 \end_layout
21614
21615 \end_inset
21616
21617 ,
21618  
21619 \begin_inset Flex Code
21620 status collapsed
21621
21622 \begin_layout Plain Layout
21623 SmallCaps
21624 \end_layout
21625
21626 \end_inset
21627
21628 ,
21629  
21630 \begin_inset Flex Code
21631 status collapsed
21632
21633 \begin_layout Plain Layout
21634 Slanted
21635 \end_layout
21636
21637 \end_inset
21638
21639
21640 \end_layout
21641
21642 \begin_layout Description
21643 \begin_inset Flex Code
21644 status collapsed
21645
21646 \begin_layout Plain Layout
21647 Size
21648 \end_layout
21649
21650 \end_inset
21651
21652  [
21653 \begin_inset Flex Code
21654 status collapsed
21655
21656 \begin_layout Plain Layout
21657 tiny
21658 \end_layout
21659
21660 \end_inset
21661
21662 ,
21663  
21664 \begin_inset Flex Code
21665 status collapsed
21666
21667 \begin_layout Plain Layout
21668 small
21669 \end_layout
21670
21671 \end_inset
21672
21673 ,
21674  
21675 \begin_inset Flex Code
21676 status collapsed
21677
21678 \begin_layout Plain Layout
21679
21680 \emph on
21681 normal
21682 \end_layout
21683
21684 \end_inset
21685
21686 ,
21687  
21688 \begin_inset Flex Code
21689 status collapsed
21690
21691 \begin_layout Plain Layout
21692 large
21693 \end_layout
21694
21695 \end_inset
21696
21697 ,
21698  
21699 \begin_inset Flex Code
21700 status collapsed
21701
21702 \begin_layout Plain Layout
21703 larger
21704 \end_layout
21705
21706 \end_inset
21707
21708 ,
21709  
21710 \begin_inset Flex Code
21711 status collapsed
21712
21713 \begin_layout Plain Layout
21714 largest
21715 \end_layout
21716
21717 \end_inset
21718
21719 ,
21720  
21721 \begin_inset Flex Code
21722 status collapsed
21723
21724 \begin_layout Plain Layout
21725 huge
21726 \end_layout
21727
21728 \end_inset
21729
21730 ,
21731  
21732 \begin_inset Flex Code
21733 status collapsed
21734
21735 \begin_layout Plain Layout
21736 giant
21737 \end_layout
21738
21739 \end_inset
21740
21741 ]
21742 \end_layout
21743
21744 \begin_layout Subsection
21745 \begin_inset CommandInset label
21746 LatexCommand label
21747 name "subsec:引用エンジンの説明"
21748
21749 \end_inset
21750
21751 引用エンジンの説明
21752 \end_layout
21753
21754 \begin_layout Standard
21755 主に引用エンジンファイル(第
21756 \begin_inset CommandInset ref
21757 LatexCommand ref
21758 reference "subsec:引用エンジンファイル"
21759 plural "false"
21760 caps "false"
21761 noprefix "false"
21762 nolink "false"
21763
21764 \end_inset
21765
21766 節参照)で用いられる
21767 \begin_inset Flex Code
21768 status collapsed
21769
21770 \begin_layout Plain Layout
21771 CiteEngine
21772 \end_layout
21773
21774 \end_inset
21775
21776 ブロックは,
21777 特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
21778 の用語では,
21779 引用エンジンとは,
21780 番号や著者名,
21781 刊行年を使って,
21782 引用を整形する特定の方法のことを指します.\SpecialChar LyX
21783 は,
21784 3つのエンジンの型をサポートします.すなわち,
21785
21786 \end_layout
21787
21788 \begin_layout Enumerate
21789 \begin_inset Flex Code
21790 status collapsed
21791
21792 \begin_layout Plain Layout
21793 default
21794 \end_layout
21795
21796 \end_inset
21797
21798 :
21799  既定のBib\SpecialChar TeX
21800 流の引用方法である,
21801 単純な番号による様式(例:
21802 「[1]」)
21803 \end_layout
21804
21805 \begin_layout Enumerate
21806 \begin_inset Flex Code
21807 status collapsed
21808
21809 \begin_layout Plain Layout
21810 authoryear
21811 \end_layout
21812
21813 \end_inset
21814
21815 :
21816  著者名と刊行年を使ったHarvard様式の引用(例:
21817 「Smith and Miller (2017b)」)
21818 \end_layout
21819
21820 \begin_layout Enumerate
21821 \begin_inset Flex Code
21822 status collapsed
21823
21824 \begin_layout Plain Layout
21825 numerical
21826 \end_layout
21827
21828 \end_inset
21829
21830 :
21831  番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:
21832 「Smith and Miller [1]」)
21833 \end_layout
21834
21835 \begin_layout Standard
21836 \begin_inset Flex Code
21837 status collapsed
21838
21839 \begin_layout Plain Layout
21840 CiteEngine
21841 \end_layout
21842
21843 \end_inset
21844
21845 ブロックは以下のようになります.
21846 \end_layout
21847
21848 \begin_layout LyX-Code
21849 CiteEngine default
21850 \end_layout
21851
21852 \begin_layout LyX-Code
21853  cite
21854 \end_layout
21855
21856 \begin_layout LyX-Code
21857  Citep*[][]
21858 \end_layout
21859
21860 \begin_layout LyX-Code
21861  citeyearpar[][]=parencite*
21862 \end_layout
21863
21864 \begin_layout LyX-Code
21865  ...
21866 \end_layout
21867
21868 \begin_layout LyX-Code
21869 End
21870 \end_layout
21871
21872 \begin_layout Standard
21873 \begin_inset Flex Code
21874 status collapsed
21875
21876 \begin_layout Plain Layout
21877 CiteEngine
21878 \end_layout
21879
21880 \end_inset
21881
21882 に続くタグがエンジンを表します.各行は,
21883 このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,
21884 \SpecialChar LyX
21885 コマンドと\SpecialChar LaTeX
21886 出力を命名するのに使われる引用コマンドのみを含むこともあれば,
21887 色々変えるために複雑なこともあります.完全な文法は
21888 \end_layout
21889
21890 \begin_layout LyX-Code
21891 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21892 \end_layout
21893
21894 \begin_layout Standard
21895 という形になっています.ここで
21896 \end_layout
21897
21898 \begin_layout Itemize
21899 \begin_inset Flex Code
21900 status collapsed
21901
21902 \begin_layout Plain Layout
21903 LyXName
21904 \end_layout
21905
21906 \end_inset
21907
21908 :
21909  
21910 \begin_inset Flex Code
21911 status collapsed
21912
21913 \begin_layout Plain Layout
21914 *.lyx
21915 \end_layout
21916
21917 \end_inset
21918
21919 ファイルで使用される名前.
21920 \end_layout
21921
21922 \begin_deeper
21923 \begin_layout Standard
21924 可搬性のために,
21925 異なる引用パッケージ中の同じ形をしたコマンドには,
21926 同じ名前をつけるようにしています(したがって,
21927 多くの名前がnatbibから派生しており,
21928 \SpecialChar LaTeX
21929 コマンド名が異なる場合には,
21930 しばしば
21931 \begin_inset Flex Code
21932 status collapsed
21933
21934 \begin_layout Plain Layout
21935 latexcmd
21936 \end_layout
21937
21938 \end_inset
21939
21940 を変える必要があります).
21941 \end_layout
21942
21943 \end_deeper
21944 \begin_layout Itemize
21945 \begin_inset Flex Code
21946 status collapsed
21947
21948 \begin_layout Plain Layout
21949 alias
21950 \end_layout
21951
21952 \end_inset
21953
21954 :
21955  このエンジンにおいて,
21956 与えられた
21957 \begin_inset Flex Code
21958 status collapsed
21959
21960 \begin_layout Plain Layout
21961 LyXName
21962 \end_layout
21963
21964 \end_inset
21965
21966 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,
21967 引用パッケージとエンジンを切り替えるのが楽になります.
21968 \begin_inset Flex Code
21969 status collapsed
21970
21971 \begin_layout Plain Layout
21972 alias
21973 \end_layout
21974
21975 \end_inset
21976
21977 はレイアウト定義中での
21978 \begin_inset Flex Code
21979 status collapsed
21980
21981 \begin_layout Plain Layout
21982 ObsoletedBy
21983 \end_layout
21984
21985 \end_inset
21986
21987 に相当するものと考えてよいでしょう.
21988 \end_layout
21989
21990 \begin_layout Itemize
21991 \begin_inset Flex Code
21992 status collapsed
21993
21994 \begin_layout Plain Layout
21995 latexcmd
21996 \end_layout
21997
21998 \end_inset
21999
22000 :
22001  出力される実際の\SpecialChar LaTeX
22002 コマンド.
22003 \end_layout
22004
22005 \begin_layout Standard
22006 \begin_inset Flex Code
22007 status collapsed
22008
22009 \begin_layout Plain Layout
22010 Alias
22011 \end_layout
22012
22013 \end_inset
22014
22015
22016 \begin_inset Flex Code
22017 status collapsed
22018
22019 \begin_layout Plain Layout
22020 latexcmd
22021 \end_layout
22022
22023 \end_inset
22024
22025 は必須ではありません.
22026 \begin_inset Flex Code
22027 status collapsed
22028
22029 \begin_layout Plain Layout
22030 latexcmd
22031 \end_layout
22032
22033 \end_inset
22034
22035 が与えられない時は,
22036
22037 \begin_inset Flex Code
22038 status collapsed
22039
22040 \begin_layout Plain Layout
22041 LyXName
22042 \end_layout
22043
22044 \end_inset
22045
22046 が\SpecialChar LaTeX
22047 に出力されます.
22048 \end_layout
22049
22050 \begin_layout Standard
22051 さらに,
22052 下記の点に注意してください.
22053 \end_layout
22054
22055 \begin_layout Itemize
22056 大文字にするとコマンドも大文字化されたものになります(
22057 \begin_inset Flex Code
22058 status collapsed
22059
22060 \begin_layout Plain Layout
22061
22062 \backslash
22063 latexcmd
22064 \end_layout
22065
22066 \end_inset
22067
22068
22069 \begin_inset Flex Code
22070 status collapsed
22071
22072 \begin_layout Plain Layout
22073
22074 \backslash
22075 Latexcmd
22076 \end_layout
22077
22078 \end_inset
22079
22080 に).これらは通常,
22081 名前の前置詞を大文字化するのを確実にします(
22082 \emph on
22083 von Goethe
22084 \emph default
22085  
22086 \begin_inset Formula $\Rightarrow$
22087 \end_inset
22088
22089  
22090 \emph on
22091 Von Goethe
22092 \emph default
22093 ).
22094 \end_layout
22095
22096 \begin_layout Itemize
22097 括弧
22098 \begin_inset Flex Code
22099 status collapsed
22100
22101 \begin_layout Plain Layout
22102 []
22103 \end_layout
22104
22105 \end_inset
22106
22107 は非必須引数の数を表します(0-2をとりえます).
22108 \end_layout
22109
22110 \begin_layout Itemize
22111 星印
22112 \begin_inset Flex Code
22113 status collapsed
22114
22115 \begin_layout Plain Layout
22116 *
22117 \end_layout
22118
22119 \end_inset
22120
22121 は星印付きコマンドを示します(
22122 \begin_inset Flex Code
22123 status collapsed
22124
22125 \begin_layout Plain Layout
22126
22127 \backslash
22128 latexcmd
22129 \end_layout
22130
22131 \end_inset
22132
22133
22134 \begin_inset Flex Code
22135 status collapsed
22136
22137 \begin_layout Plain Layout
22138
22139 \backslash
22140 latexcmd*
22141 \end_layout
22142
22143 \end_inset
22144
22145 に).
22146 \end_layout
22147
22148 \begin_deeper
22149 \begin_layout Standard
22150 既定では,
22151 星印付きバージョンは,
22152
22153 \begin_inset Flex Code
22154 status collapsed
22155
22156 \begin_layout Plain Layout
22157 MaxCiteNames
22158 \end_layout
22159
22160 \end_inset
22161
22162 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
22163 \end_layout
22164
22165 \begin_layout Standard
22166 星印が,
22167 当該コマンドについては別の意味を持つ場合には,
22168
22169 \begin_inset Flex Code
22170 status collapsed
22171
22172 \begin_layout Plain Layout
22173 <!_stardesc!_stardesctooltip>
22174 \end_layout
22175
22176 \end_inset
22177
22178 のように三角括弧で指定することができます.前置詞
22179 \begin_inset Flex Code
22180 status collapsed
22181
22182 \begin_layout Plain Layout
22183 !_
22184 \end_layout
22185
22186 \end_inset
22187
22188 で標識した,
22189 翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,
22190 引用ダイアログ中の「Full aut&hor list」チェックボックスラベルを書き換える文字列を指し,
22191 二つ目のキーワードは,
22192 このチェックボックスに対する非必須のツールチップの文字列を指します.
22193 \end_layout
22194
22195 \begin_layout Standard
22196 これらの2つのマクロは,
22197 下記のように,
22198 前置詞から
22199 \begin_inset Flex Code
22200 status collapsed
22201
22202 \begin_layout Plain Layout
22203 !
22204 \end_layout
22205
22206 \end_inset
22207
22208 を落とした形で
22209 \begin_inset Flex Code
22210 status collapsed
22211
22212 \begin_layout Plain Layout
22213 CiteFormat
22214 \end_layout
22215
22216 \end_inset
22217
22218 (次節参照)で定義されなくてはなりません.
22219 \end_layout
22220
22221 \begin_layout LyX-Code
22222 _stardesc Sta&rred command label
22223 \end_layout
22224
22225 \begin_layout LyX-Code
22226 _stardesctooltip Tooltip for the starred command checkbox.
22227 \end_layout
22228
22229 \end_deeper
22230 \begin_layout Itemize
22231 ドル記号
22232 \begin_inset Flex Code
22233 status collapsed
22234
22235 \begin_layout Plain Layout
22236 $
22237 \end_layout
22238
22239 \end_inset
22240
22241 は,
22242 このコマンドが「qualified citation lists」を取り扱うことを示します.これは,
22243 リスト中の個別の引用に対して,
22244 前置文字列と後置文字列を置くことができる,
22245
22246 \family sans
22247 Biblatex
22248 \family default
22249 に特有の複数文献引用機能です.詳細については,
22250
22251 \family sans
22252 Biblatex
22253 \family default
22254 の取扱説明書をご覧ください.
22255 \end_layout
22256
22257 \begin_layout Standard
22258 引用エンジンに引用コマンドを追加したい場合(たとえばクラスによって提供される特定のコマンドを追加するなど)には,
22259
22260 \begin_inset Flex Code
22261 status collapsed
22262
22263 \begin_layout Plain Layout
22264 AddToCiteEngine <engine type> \SpecialChar ldots
22265  End
22266 \end_layout
22267
22268 \end_inset
22269
22270 を使うことができます.まだ存在しない引用コマンドのみ追加することができます.
22271 \end_layout
22272
22273 \begin_layout Subsection
22274 \begin_inset CommandInset label
22275 LatexCommand label
22276 name "subsec:引用書式指定"
22277
22278 \end_inset
22279
22280 引用書式指定
22281 \end_layout
22282
22283 \begin_layout Standard
22284 (引用ダイアログやツールチップなどの)\SpecialChar LyX
22285 内部やXHTML出力において,
22286 書誌情報をどのように表示するべきかの叙述には,
22287
22288 \begin_inset Flex Code
22289 status collapsed
22290
22291 \begin_layout Plain Layout
22292 CiteFormat
22293 \end_layout
22294
22295 \end_inset
22296
22297 ブロックが使用されています.このブロックは,
22298 以下のような形をしています.
22299 \end_layout
22300
22301 \begin_layout LyX-Code
22302 CiteFormat
22303 \end_layout
22304
22305 \begin_layout LyX-Code
22306  article ...
22307 \end_layout
22308
22309 \begin_layout LyX-Code
22310  book ...
22311 \end_layout
22312
22313 \begin_layout LyX-Code
22314 End
22315 \end_layout
22316
22317 \begin_layout Standard
22318 あるいは
22319 \end_layout
22320
22321 \begin_layout LyX-Code
22322 CiteFormat
22323 \end_layout
22324
22325 \begin_layout LyX-Code
22326  cite ...
22327 \end_layout
22328
22329 \begin_layout LyX-Code
22330  citet*[][] ...
22331 \end_layout
22332
22333 \begin_layout LyX-Code
22334 End
22335 \end_layout
22336
22337 \begin_layout Standard
22338 最初の例の各行は,
22339 それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,
22340 このような定義は,
22341 Bib\SpecialChar TeX
22342 ファイル中に存在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,
22343 \SpecialChar LyX
22344 は,
22345 ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
22346 は,
22347 いくつかの書式を
22348 \begin_inset Flex Code
22349 status collapsed
22350
22351 \begin_layout Plain Layout
22352 stdciteformats.inc
22353 \end_layout
22354
22355 \end_inset
22356
22357 ファイルで事前定義しており,
22358 これはほとんどの\SpecialChar LyX
22359 文書クラスにインクルードされています.
22360 \end_layout
22361
22362 \begin_layout Standard
22363 2つ目の例では,
22364 各行は,
22365 特定の引用コマンド(この例では
22366 \begin_inset Flex Code
22367 status collapsed
22368
22369 \begin_layout Plain Layout
22370
22371 \backslash
22372 cite
22373 \end_layout
22374
22375 \end_inset
22376
22377 及び
22378 \begin_inset Flex Code
22379 status collapsed
22380
22381 \begin_layout Plain Layout
22382
22383 \backslash
22384 citet
22385 \end_layout
22386
22387 \end_inset
22388
22389 )が,
22390 引用差込枠ラベルや引用ダイアログ,
22391 メニュー,
22392 XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
22393 は,
22394 \SpecialChar LyX
22395 に同梱されている個別の
22396 \begin_inset Flex Code
22397 status collapsed
22398
22399 \begin_layout Plain Layout
22400 *.citeengine
22401 \end_layout
22402
22403 \end_inset
22404
22405 ファイル中において,
22406
22407 \family sans
22408 文書\SpecialChar menuseparator
22409 設定\SpecialChar menuseparator
22410 書誌情報\SpecialChar ldots
22411
22412 \family default
22413 でサポートしている引用様式用に,
22414 そのような書式を定義しています(第
22415 \begin_inset CommandInset ref
22416 LatexCommand ref
22417 reference "subsec:引用エンジンファイル"
22418 plural "false"
22419 caps "false"
22420 noprefix "false"
22421 nolink "false"
22422
22423 \end_inset
22424
22425 節参照).
22426 \end_layout
22427
22428 \begin_layout Standard
22429 この定義は,
22430 Bib\SpecialChar TeX
22431 キーをその値で置換できる機能を持った,
22432 簡単な言語を使用しています.キーは,
22433
22434 \begin_inset Flex Code
22435 status collapsed
22436
22437 \begin_layout Plain Layout
22438 %author%
22439 \end_layout
22440
22441 \end_inset
22442
22443 のように
22444 \begin_inset Flex Code
22445 status collapsed
22446
22447 \begin_layout Plain Layout
22448 %
22449 \end_layout
22450
22451 \end_inset
22452
22453 記号でくくらなくてはなりません.したがって,
22454 簡単な定義は以下のようになります.
22455 \end_layout
22456
22457 \begin_layout LyX-Code
22458 misc %author%,
22459  
22460 \begin_inset Quotes eld
22461 \end_inset
22462
22463 %title%
22464 \begin_inset Quotes erd
22465 \end_inset
22466
22467
22468 \end_layout
22469
22470 \begin_layout Standard
22471 これは,
22472 「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
22473 \end_layout
22474
22475 \begin_layout Standard
22476 もちろん,
22477 キーが存在するときのみ,
22478 そのキーを出力したい時があるはずです.このようなときには
22479 \begin_inset Flex Code
22480 status collapsed
22481
22482 \begin_layout Plain Layout
22483 {%volume%[[vol.
22484 \begin_inset space ~
22485 \end_inset
22486
22487 %volume%]]}
22488 \end_layout
22489
22490 \end_inset
22491
22492 のように,
22493 条件付きの構成を使用することができます.これは,
22494
22495 \begin_inset Flex Code
22496 status collapsed
22497
22498 \begin_layout Plain Layout
22499 volume
22500 \end_layout
22501
22502 \end_inset
22503
22504 が存在するならば,
22505 「vol.
22506 \begin_inset space ~
22507 \end_inset
22508
22509 」とvolumeキーを出力するという意味です.また,
22510
22511 \begin_inset Newline newline
22512 \end_inset
22513
22514
22515 \begin_inset Flex Code
22516 status collapsed
22517
22518 \begin_layout Plain Layout
22519 {%author%[[%author%]][[%editor%,
22520  ed.]]}
22521 \end_layout
22522
22523 \end_inset
22524
22525
22526 \begin_inset Newline newline
22527 \end_inset
22528
22529 のように,
22530 条件の中にelse節を含めることも可能です.ここでは,
22531 もし
22532 \begin_inset Flex Code
22533 status collapsed
22534
22535 \begin_layout Plain Layout
22536 author
22537 \end_layout
22538
22539 \end_inset
22540
22541 キーが存在するならば出力され,
22542 そうでなければeditorキーと「,
22543 \begin_inset space ~
22544 \end_inset
22545
22546 ed.」が出力されます.ここでもキーは,
22547
22548 \begin_inset Flex Code
22549 status collapsed
22550
22551 \begin_layout Plain Layout
22552 %
22553 \end_layout
22554
22555 \end_inset
22556
22557 記号でくくられていることに注意してください.条件全体は,
22558 波括弧で囲まれています.if節およびelse節は,
22559
22560 \begin_inset Flex Code
22561 status collapsed
22562
22563 \begin_layout Plain Layout
22564 [[
22565 \end_layout
22566
22567 \end_inset
22568
22569 」と「
22570 \begin_inset Flex Code
22571 status collapsed
22572
22573 \begin_layout Plain Layout
22574 ]]
22575 \end_layout
22576
22577 \end_inset
22578
22579 」の二重角括弧で囲まれています.これらすべてのあいだには,
22580 空白は入ってはなりません.
22581 \end_layout
22582
22583 \begin_layout Standard
22584 これらの条件文に使うことができるものには,
22585 項目キーの他に,
22586 以下の特殊キーがあります.
22587 \end_layout
22588
22589 \begin_layout Itemize
22590 \begin_inset Flex Code
22591 status collapsed
22592
22593 \begin_layout Plain Layout
22594 {%dialog%[[真]][[偽]]}
22595 \end_layout
22596
22597 \end_inset
22598
22599 :
22600  ダイアログとメニューに対しては「真」の部分を処理し,
22601 他の文脈(作業領域や書き出し)には「偽」の部分を処理します
22602 \end_layout
22603
22604 \begin_layout Itemize
22605 \begin_inset Flex Code
22606 status collapsed
22607
22608 \begin_layout Plain Layout
22609 {%export%[[真]][[偽]]}
22610 \end_layout
22611
22612 \end_inset
22613
22614 :
22615  書き出しとメニューに対しては「真」の部分を処理し,
22616 他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
22617 \end_layout
22618
22619 \begin_layout Itemize
22620 \begin_inset Flex Code
22621 status collapsed
22622
22623 \begin_layout Plain Layout
22624 {%next%[[真]]}
22625 \end_layout
22626
22627 \end_inset
22628
22629 :
22630  他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
22631 \end_layout
22632
22633 \begin_layout Itemize
22634 \begin_inset Flex Code
22635 status collapsed
22636
22637 \begin_layout Plain Layout
22638 {%second%[[真]][[偽]]}
22639 \end_layout
22640
22641 \end_inset
22642
22643 :
22644  これが複数項目の2番目の場合には「真」の部分を処理し,
22645 それ以外の場合には「偽」の部分を処理します
22646 \end_layout
22647
22648 \begin_layout Itemize
22649 \begin_inset Flex Code
22650 status collapsed
22651
22652 \begin_layout Plain Layout
22653 {%ifstar%[[真]][[偽]]}
22654 \end_layout
22655
22656 \end_inset
22657
22658 :
22659  (
22660 \begin_inset Flex Code
22661 status collapsed
22662
22663 \begin_layout Plain Layout
22664
22665 \backslash
22666 cite*
22667 \end_layout
22668
22669 \end_inset
22670
22671 など)星印付き引用コマンドの場合には「真」の部分を処理し,
22672 星印付きでない場合には「偽」の部分を処理します
22673 \end_layout
22674
22675 \begin_layout Itemize
22676 \begin_inset Flex Code
22677 status collapsed
22678
22679 \begin_layout Plain Layout
22680 {%ifentrytype:<type>%[[真]][[偽]]}
22681 \end_layout
22682
22683 \end_inset
22684
22685 :
22686  現行の項目が
22687 \begin_inset Flex Code
22688 status collapsed
22689
22690 \begin_layout Plain Layout
22691 <型>
22692 \end_layout
22693
22694 \end_inset
22695
22696 に一致する場合には「真」の部分を処理し,
22697 それ以外の場合には「偽」の部分を処理します(例:
22698 引用定義において
22699 \begin_inset Flex Code
22700 status collapsed
22701
22702 \begin_layout Plain Layout
22703 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
22704 \end_layout
22705
22706 \end_inset
22707
22708
22709 \end_layout
22710
22711 \begin_layout Itemize
22712 \begin_inset Flex Code
22713 status collapsed
22714
22715 \begin_layout Plain Layout
22716 {%ifmultiple:<authortype>%[[真]][[偽]]}
22717 \end_layout
22718
22719 \end_inset
22720
22721 :
22722  現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,
22723 それ以外の場合には「偽」の部分を処理します(例:
22724 書誌情報定義において
22725 \begin_inset Flex Code
22726 status collapsed
22727
22728 \begin_layout Plain Layout
22729 {%ifmultiple:editor%[[eds.]][[ed.]]}
22730 \end_layout
22731
22732 \end_inset
22733
22734
22735 \end_layout
22736
22737 \begin_layout Itemize
22738 \begin_inset Flex Code
22739 status collapsed
22740
22741 \begin_layout Plain Layout
22742 {%ifqualified%[[真]][[偽]]}
22743 \end_layout
22744
22745 \end_inset
22746
22747 :
22748  現行の引用がqualified citation listである(複数文献引用に対する
22749 \family sans
22750 Biblatex
22751 \family default
22752 特有の形式)場合には「真」の部分を処理し,
22753 それ以外の場合には「偽」の部分を処理します
22754 \end_layout
22755
22756 \begin_layout Standard
22757 \begin_inset Flex Code
22758 status collapsed
22759
22760 \begin_layout Plain Layout
22761 %author%
22762 \end_layout
22763
22764 \end_inset
22765
22766 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller,
22767  Peter and Smith,
22768  Mary and White,
22769  Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
22770 では著者を区切るのに「and」が用いられるため),
22771 望ましい結果ではありません.したがって,
22772 \SpecialChar LyX
22773 は,
22774 正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
22775 \end_layout
22776
22777 \begin_layout Enumerate
22778 書誌情報項目の主要著者・編者に適した,
22779 姓名付き名前リスト用.
22780 \begin_inset Flex Code
22781 status collapsed
22782
22783 \begin_layout Plain Layout
22784 <nametype>
22785 \end_layout
22786
22787 \end_inset
22788
22789 部分は要請されているリスト型を表します(例:
22790
22791 \begin_inset Flex Code
22792 status collapsed
22793
22794 \begin_layout Plain Layout
22795 <nametype:author>
22796 \end_layout
22797
22798 \end_inset
22799
22800
22801 \end_layout
22802
22803 \begin_deeper
22804 \begin_layout Itemize
22805 \begin_inset Flex Code
22806 status collapsed
22807
22808 \begin_layout Plain Layout
22809 %abbrvnames:<nametype>%
22810 \end_layout
22811
22812 \end_inset
22813
22814 :
22815  
22816 \begin_inset Flex Code
22817 status collapsed
22818
22819 \begin_layout Plain Layout
22820 MaxCiteNames
22821 \end_layout
22822
22823 \end_inset
22824
22825 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
22826 \end_layout
22827
22828 \begin_layout Itemize
22829 \begin_inset Flex Code
22830 status collapsed
22831
22832 \begin_layout Plain Layout
22833 %fullnames:<nametype>%
22834 \end_layout
22835
22836 \end_inset
22837
22838 :
22839  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
22840 \end_layout
22841
22842 \begin_layout Itemize
22843 \begin_inset Flex Code
22844 status collapsed
22845
22846 \begin_layout Plain Layout
22847 %forceabbrvnames:<nametype>%
22848 \end_layout
22849
22850 \end_inset
22851
22852 :
22853  
22854 \begin_inset Flex Code
22855 status collapsed
22856
22857 \begin_layout Plain Layout
22858 MaxCiteNames
22859 \end_layout
22860
22861 \end_inset
22862
22863 に関わらず,
22864 常に短縮される(「et al.」と共に供される)名前リストを提供します.
22865 \end_layout
22866
22867 \end_deeper
22868 \begin_layout Enumerate
22869 書誌情報項目中の姓名の順序が異なっている場合の,
22870 姓名付き名前リスト(例:
22871 「Miller,
22872  John:
22873  何らかの文,
22874  in:
22875  Mary Smith,
22876  ed.:
22877  A volume」
22878 \end_layout
22879
22880 \begin_deeper
22881 \begin_layout Itemize
22882 \begin_inset Flex Code
22883 status collapsed
22884
22885 \begin_layout Plain Layout
22886 %abbrvbynames:<nametype>%
22887 \end_layout
22888
22889 \end_inset
22890
22891 :
22892  
22893 \begin_inset Flex Code
22894 status collapsed
22895
22896 \begin_layout Plain Layout
22897 MaxCiteNames
22898 \end_layout
22899
22900 \end_inset
22901
22902 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
22903 \end_layout
22904
22905 \begin_layout Itemize
22906 \begin_inset Flex Code
22907 status collapsed
22908
22909 \begin_layout Plain Layout
22910 %fullbynames:<nametype>%
22911 \end_layout
22912
22913 \end_inset
22914
22915 :
22916  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
22917 \end_layout
22918
22919 \begin_layout Itemize
22920 \begin_inset Flex Code
22921 status collapsed
22922
22923 \begin_layout Plain Layout
22924 %forceabbrvbynames:<nametype>%
22925 \end_layout
22926
22927 \end_inset
22928
22929 :
22930  
22931 \begin_inset Flex Code
22932 status collapsed
22933
22934 \begin_layout Plain Layout
22935 MaxCiteNames
22936 \end_layout
22937
22938 \end_inset
22939
22940 に関わらず,
22941 常に短縮される(「et al.」と共に供される)名前リストを提供します.
22942 \end_layout
22943
22944 \end_deeper
22945 \begin_layout Enumerate
22946 著者-発行年引用ラベルで用いられるような,
22947 姓のみを含む姓リスト.これらは
22948 \begin_inset Flex Code
22949 status collapsed
22950
22951 \begin_layout Plain Layout
22952 <nametype>
22953 \end_layout
22954
22955 \end_inset
22956
22957 部分を取りませんが,
22958 (著者-発行年ラベルで通例であるように)常に著者リストか,
22959 存在しない場合には編者リストを返します.
22960 \end_layout
22961
22962 \begin_deeper
22963 \begin_layout Itemize
22964 \begin_inset Flex Code
22965 status collapsed
22966
22967 \begin_layout Plain Layout
22968 %abbrvciteauthor%
22969 \end_layout
22970
22971 \end_inset
22972
22973 :
22974  
22975 \begin_inset Flex Code
22976 status collapsed
22977
22978 \begin_layout Plain Layout
22979 MaxCiteNames
22980 \end_layout
22981
22982 \end_inset
22983
22984 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
22985 \end_layout
22986
22987 \begin_layout Itemize
22988 \begin_inset Flex Code
22989 status collapsed
22990
22991 \begin_layout Plain Layout
22992 %fullciteauthor%
22993 \end_layout
22994
22995 \end_inset
22996
22997 :
22998  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
22999 \end_layout
23000
23001 \begin_layout Itemize
23002 \begin_inset Flex Code
23003 status collapsed
23004
23005 \begin_layout Plain Layout
23006 %forceabbrvciteauthor%
23007 \end_layout
23008
23009 \end_inset
23010
23011 :
23012  
23013 \begin_inset Flex Code
23014 status collapsed
23015
23016 \begin_layout Plain Layout
23017 MaxCiteNames
23018 \end_layout
23019
23020 \end_inset
23021
23022 に関わらず,
23023 常に短縮される(「et al.」と共に供される)名前リストを提供します.
23024 \end_layout
23025
23026 \end_deeper
23027 \begin_layout Standard
23028 前二者の姓名の順序は,
23029 下記のマクロで変更することができます.
23030 \end_layout
23031
23032 \begin_layout Itemize
23033 \begin_inset Flex Code
23034 status collapsed
23035
23036 \begin_layout Plain Layout
23037 !firstnameform %surname%,
23038  %prename%
23039 \end_layout
23040
23041 \end_inset
23042
23043 (1の場合の最初の著者)
23044 \end_layout
23045
23046 \begin_layout Itemize
23047 \begin_inset Flex Code
23048 status collapsed
23049
23050 \begin_layout Plain Layout
23051 !othernameform %surname%,
23052  %prename%
23053 \end_layout
23054
23055 \end_inset
23056
23057 (1の場合の他の著者)
23058 \end_layout
23059
23060 \begin_layout Itemize
23061 \begin_inset Flex Code
23062 status collapsed
23063
23064 \begin_layout Plain Layout
23065 !firstbynameform %prename% %surname%
23066 \end_layout
23067
23068 \end_inset
23069
23070 (2の場合の最初の著者)
23071 \end_layout
23072
23073 \begin_layout Itemize
23074 \begin_inset Flex Code
23075 status collapsed
23076
23077 \begin_layout Plain Layout
23078 !otherbynameform %prename% %surname%
23079 \end_layout
23080
23081 \end_inset
23082
23083 (2の場合の他の著者)
23084 \end_layout
23085
23086 \begin_layout Standard
23087 これによって,
23088 名前を「Miller,
23089  Peter and Mary Smith:
23090  \SpecialChar ldots
23091 ,
23092  in:
23093  John Doe and Pat Green,
23094  eds.:\SpecialChar ldots
23095 」のように設定することができます.
23096 \end_layout
23097
23098 \begin_layout Standard
23099 もう一つ,
23100 定義中で使用することのできる文法として,
23101
23102 \begin_inset Flex Code
23103 status collapsed
23104
23105 \begin_layout Plain Layout
23106 {!<i>!}
23107 \end_layout
23108
23109 \end_inset
23110
23111 という形をしたものがあります.これは,
23112 「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,
23113 平文を書き出すときには,
23114 HTMLタグを出力させたくはありませんから,
23115 HTMLタグは「
23116 \begin_inset Flex Code
23117 status collapsed
23118
23119 \begin_layout Plain Layout
23120 {!
23121 \end_layout
23122
23123 \end_inset
23124
23125 」と「
23126 \begin_inset Flex Code
23127 status collapsed
23128
23129 \begin_layout Plain Layout
23130 !}
23131 \end_layout
23132
23133 \end_inset
23134
23135 」でくるんでやらなくてはならないのです.
23136 \end_layout
23137
23138 \begin_layout Standard
23139 \begin_inset Flex Code
23140 status collapsed
23141
23142 \begin_layout Plain Layout
23143 CiteFormat
23144 \end_layout
23145
23146 \end_inset
23147
23148 ブロックでは,
23149 他に2つの特殊な定義が可能です.一つめの例としては,
23150
23151 \end_layout
23152
23153 \begin_layout LyX-Code
23154 !quotetitle 
23155 \begin_inset Quotes eld
23156 \end_inset
23157
23158 %title%
23159 \begin_inset Quotes erd
23160 \end_inset
23161
23162
23163 \end_layout
23164
23165 \begin_layout Standard
23166 といった例が挙げられます.これは,
23167 短縮形ないしはマクロであり,
23168
23169 \begin_inset Flex Code
23170 status collapsed
23171
23172 \begin_layout Plain Layout
23173 %!quotetitle%
23174 \end_layout
23175
23176 \end_inset
23177
23178 のように,
23179 これがキーであるかのように扱って使用することができます.\SpecialChar LyX
23180 は,
23181
23182 \begin_inset Flex Code
23183 status collapsed
23184
23185 \begin_layout Plain Layout
23186 %!quotetitle%
23187 \end_layout
23188
23189 \end_inset
23190
23191 を,
23192 そこで定義されているものを扱う場合と同じように取り扱います.ですから,
23193 明白な警告を敢えてさせて頂くと,
23194
23195 \end_layout
23196
23197 \begin_layout LyX-Code
23198 !funfun %funfun%
23199 \end_layout
23200
23201 \begin_layout Standard
23202 のようなことはしないでください.\SpecialChar LyX
23203 は,
23204 無限ループに陥るようなことはありませんが,
23205 諦めるまでに時間のかかる長いループに入るかもしれません.
23206 \end_layout
23207
23208 \begin_layout Standard
23209 特殊な定義の二つめは,
23210
23211 \end_layout
23212
23213 \begin_layout LyX-Code
23214 B_pptext pp.
23215 \end_layout
23216
23217 \begin_layout Standard
23218 のようなものです.これは翻訳対象となるテキスト部分を定義し,
23219 これによって書誌情報や引用の対応する部分が翻訳されるようになります.
23220 \begin_inset Flex Code
23221 status collapsed
23222
23223 \begin_layout Plain Layout
23224 %B_pptext%
23225 \end_layout
23226
23227 \end_inset
23228
23229 のように,
23230 これをキーとして扱って,
23231 定義の中に入れることもできます.以下の2つの翻訳パスがあることに注意してください.上記の例のように
23232 \begin_inset Flex Code
23233 status collapsed
23234
23235 \begin_layout Plain Layout
23236 B_
23237 \end_layout
23238
23239 \end_inset
23240
23241 で始まる定義は,
23242 すべて現在アクティブなバッファ言語に翻訳されます(したがって翻訳は生成された文書に一致します).アンダースコアだけから始まる定義は,
23243 すべてGUI言語に翻訳されます.これは
23244 \end_layout
23245
23246 \begin_layout LyX-Code
23247 _addtobib Add to bibliography only
23248 \end_layout
23249
23250 \begin_layout Standard
23251 のように,
23252 ダイアログやボタンにのみ現れる文字列に適した翻訳です.
23253 \end_layout
23254
23255 \begin_layout Standard
23256 これらの翻訳可能な文字列のうちいくつかは,
23257
23258 \begin_inset Flex Code
23259 status collapsed
23260
23261 \begin_layout Plain Layout
23262 stdciteformats.inc
23263 \end_layout
23264
23265 \end_inset
23266
23267 及び様々な
23268 \begin_inset Flex Code
23269 status collapsed
23270
23271 \begin_layout Plain Layout
23272 *.citeengine
23273 \end_layout
23274
23275 \end_inset
23276
23277 ファイル中に事前定義されています.これは,
23278 上記で述べたような意味でのマクロではないことに注意してください.
23279 \end_layout
23280
23281 \begin_layout Standard
23282 以下は,
23283 これらの機能を全て使った例です.
23284 \begin_inset VSpace defskip
23285 \end_inset
23286
23287
23288 \end_layout
23289
23290 \begin_layout Standard
23291 \noindent
23292
23293 \family sans
23294 !authoredit {%author%[[%author%,
23295  ]][[{%editor%[[%editor%,
23296  %B_edtext%,
23297  ]]}]]}
23298 \end_layout
23299
23300 \begin_layout Standard
23301 \begin_inset VSpace defskip
23302 \end_inset
23303
23304 これは,
23305
23306 \begin_inset Flex Code
23307 status collapsed
23308
23309 \begin_layout Plain Layout
23310 author
23311 \end_layout
23312
23313 \end_inset
23314
23315 キーが定義されているならば,
23316 著者とコンマを出力し,
23317
23318 \begin_inset Flex Code
23319 status collapsed
23320
23321 \begin_layout Plain Layout
23322 author
23323 \end_layout
23324
23325 \end_inset
23326
23327 キーが定義されておらず,
23328
23329 \begin_inset Flex Code
23330 status collapsed
23331
23332 \begin_layout Plain Layout
23333 editor
23334 \end_layout
23335
23336 \end_inset
23337
23338 キーが定義されているならば,
23339 編集者名の後に
23340 \begin_inset Flex Code
23341 status collapsed
23342
23343 \begin_layout Plain Layout
23344 B_edtext
23345 \end_layout
23346
23347 \end_inset
23348
23349 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
23350 \begin_inset Flex Code
23351 status collapsed
23352
23353 \begin_layout Plain Layout
23354 stdciteformats.inc
23355 \end_layout
23356
23357 \end_inset
23358
23359 の中で定義されていますので,
23360 このファイルをまず読みこめば,
23361 ご自身の定義ないしは再定義の中で使用することができます.
23362 \end_layout
23363
23364 \begin_layout Section
23365 \begin_inset CommandInset label
23366 LatexCommand label
23367 name "sec:XHTML出力のタグ"
23368
23369 \end_inset
23370
23371 XHTML出力のタグ
23372 \end_layout
23373
23374 \begin_layout Standard
23375 \SpecialChar LaTeX
23376 やDocBookと同様,
23377 \SpecialChar LyX
23378 のXHTML出力の書式も,
23379 レイアウト情報によって制御することができます.一般的に,
23380 \SpecialChar LyX
23381 は適切な既定値を提供し,
23382 前述したように,
23383 他のレイアウトタグに基づいて,
23384 既定のCSSスタイルの構成まで行ないます.たとえば,
23385 章見出しを適切に整形するためのCSSを書き出すために,
23386 \SpecialChar LyX
23387 は,
23388 章様式の
23389 \begin_inset Flex Code
23390 status collapsed
23391
23392 \begin_layout Plain Layout
23393 Font
23394 \end_layout
23395
23396 \end_inset
23397
23398 宣言で提供されている情報を利用しようと試みます.
23399 \end_layout
23400
23401 \begin_layout Standard
23402 したがって,
23403 多くの場合,
23404 使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,
23405 まったく何もしなくてよいことになるでしょう.しかしながら,
23406 これが必要になる場合もあるので,
23407 \SpecialChar LyX
23408 は,
23409 生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,
23410 たくさん提供しています.
23411 \end_layout
23412
23413 \begin_layout Standard
23414 様式宣言や差込枠宣言の外で使用することができるタグに,
23415
23416 \begin_inset Flex Code
23417 status collapsed
23418
23419 \begin_layout Plain Layout
23420 HTMLPreamble
23421 \end_layout
23422
23423 \end_inset
23424
23425
23426 \begin_inset Flex Code
23427 status collapsed
23428
23429 \begin_layout Plain Layout
23430 AddToHTMLPreamble
23431 \end_layout
23432
23433 \end_inset
23434
23435 の2つがあることに注意してください.これらの詳細については,
23436
23437 \begin_inset CommandInset ref
23438 LatexCommand ref
23439 reference "subsec:汎用テキストクラスパラメータ"
23440 nolink "false"
23441
23442 \end_inset
23443
23444 をご覧ください.
23445 \end_layout
23446
23447 \begin_layout Subsection
23448 \begin_inset CommandInset label
23449 LatexCommand label
23450 name "subsec:段落様式-XHTML"
23451
23452 \end_inset
23453
23454 段落様式
23455 \end_layout
23456
23457 \begin_layout Standard
23458 \SpecialChar LyX
23459 が段落のために出力するXHTMLの種類は,
23460 通常の段落を取り扱っているのか,
23461 コマンドを取り扱っているのか,
23462 あるいは環境を取り扱っているのかに依存し,
23463 これは対応する
23464 \begin_inset Flex Code
23465 status collapsed
23466
23467 \begin_layout Plain Layout
23468 \SpecialChar LaTeX
23469 Type
23470 \end_layout
23471
23472 \end_inset
23473
23474 タグの内容によって決定されます.
23475 \end_layout
23476
23477 \begin_layout Standard
23478 コマンドや通常の段落の場合には,
23479 XHTML出力は以下の形になります.
23480 \end_layout
23481
23482 \begin_layout LyX-Code
23483
23484 \family sans
23485 <tag attr=
23486 \begin_inset Quotes erd
23487 \end_inset
23488
23489 value
23490 \begin_inset Quotes erd
23491 \end_inset
23492
23493 >
23494 \end_layout
23495
23496 \begin_layout LyX-Code
23497
23498 \family sans
23499 <labeltag attr=
23500 \begin_inset Quotes erd
23501 \end_inset
23502
23503 value
23504 \begin_inset Quotes erd
23505 \end_inset
23506
23507 >ラベル</labeltag>
23508 \end_layout
23509
23510 \begin_layout LyX-Code
23511
23512 \family sans
23513 段落の内容
23514 \end_layout
23515
23516 \begin_layout LyX-Code
23517
23518 \family sans
23519 </tag>
23520 \end_layout
23521
23522 \begin_layout Standard
23523 もちろん,
23524 段落にラベルがなければ,
23525 ラベルタグは省略することができます.
23526 \end_layout
23527
23528 \begin_layout Standard
23529 環境のうち,
23530 リストの変種でないものに関しては,
23531 XHTMLは以下の形を取ります.
23532 \end_layout
23533
23534 \begin_layout LyX-Code
23535
23536 \family sans
23537 <tag attr=
23538 \begin_inset Quotes erd
23539 \end_inset
23540
23541 value
23542 \begin_inset Quotes erd
23543 \end_inset
23544
23545 >
23546 \end_layout
23547
23548 \begin_layout LyX-Code
23549
23550 \family sans
23551 <itemtag attr=
23552 \begin_inset Quotes erd
23553 \end_inset
23554
23555 value
23556 \begin_inset Quotes erd
23557 \end_inset
23558
23559 ><labeltag attr=
23560 \begin_inset Quotes erd
23561 \end_inset
23562
23563 value
23564 \begin_inset Quotes erd
23565 \end_inset
23566
23567 >環境ラベル</labeltag>最初の段落.
23568 \end_layout
23569
23570 \begin_layout LyX-Code
23571
23572 \family sans
23573 </itemtag>
23574 \end_layout
23575
23576 \begin_layout LyX-Code
23577
23578 \family sans
23579 <itemtag>二つめの段落.</itemtag>
23580 \end_layout
23581
23582 \begin_layout LyX-Code
23583
23584 \family sans
23585 </tag>
23586 \end_layout
23587
23588 \begin_layout Standard
23589 ラベルは,
23590 たとえば定理の場合にそうであるように,
23591 最初の段落にだけ出力されることに注意してください.
23592 \end_layout
23593
23594 \begin_layout Standard
23595 リストに関しては,
23596 次のような形になります.
23597 \end_layout
23598
23599 \begin_layout LyX-Code
23600
23601 \family sans
23602 <tag attr=
23603 \begin_inset Quotes erd
23604 \end_inset
23605
23606 value
23607 \begin_inset Quotes erd
23608 \end_inset
23609
23610 >
23611 \end_layout
23612
23613 \begin_layout LyX-Code
23614
23615 \family sans
23616 <itemtag attr=
23617 \begin_inset Quotes erd
23618 \end_inset
23619
23620 value
23621 \begin_inset Quotes erd
23622 \end_inset
23623
23624 ><labeltag attr=
23625 \begin_inset Quotes erd
23626 \end_inset
23627
23628 value
23629 \begin_inset Quotes erd
23630 \end_inset
23631
23632 >リストのラベル</labeltag>最初の項目.</itemtag>
23633 \end_layout
23634
23635 \begin_layout LyX-Code
23636
23637 \family sans
23638 <itemtag attr=
23639 \begin_inset Quotes erd
23640 \end_inset
23641
23642 value
23643 \begin_inset Quotes erd
23644 \end_inset
23645
23646 ><labeltag attr=
23647 \begin_inset Quotes erd
23648 \end_inset
23649
23650 value
23651 \begin_inset Quotes erd
23652 \end_inset
23653
23654 >リストのラベル</labeltag>二つめの項目.</itemtag>
23655 \end_layout
23656
23657 \begin_layout LyX-Code
23658
23659 \family sans
23660 </tag>
23661 \end_layout
23662
23663 \begin_layout LyX-Code
23664
23665 \end_layout
23666
23667 \begin_layout LyX-Code
23668
23669 \family sans
23670 <tag attr=
23671 \begin_inset Quotes erd
23672 \end_inset
23673
23674 value
23675 \begin_inset Quotes erd
23676 \end_inset
23677
23678 >
23679 \end_layout
23680
23681 \begin_layout LyX-Code
23682
23683 \family sans
23684 <labeltag attr=
23685 \begin_inset Quotes erd
23686 \end_inset
23687
23688 value
23689 \begin_inset Quotes erd
23690 \end_inset
23691
23692 >リストのラベル</labeltag><itemtag attr=
23693 \begin_inset Quotes erd
23694 \end_inset
23695
23696 value
23697 \begin_inset Quotes erd
23698 \end_inset
23699
23700 >最初の項目.</itemtag>
23701 \end_layout
23702
23703 \begin_layout LyX-Code
23704
23705 \family sans
23706 <labeltag attr=
23707 \begin_inset Quotes erd
23708 \end_inset
23709
23710 value
23711 \begin_inset Quotes erd
23712 \end_inset
23713
23714 >リストのラベル</labeltag><itemtag attr=
23715 \begin_inset Quotes erd
23716 \end_inset
23717
23718 value
23719 \begin_inset Quotes erd
23720 \end_inset
23721
23722 >二つめの項目</itemtag>
23723 \end_layout
23724
23725 \begin_layout LyX-Code
23726
23727 \family sans
23728 </tag>
23729 \end_layout
23730
23731 \begin_layout Standard
23732 ここで
23733 \begin_inset Flex Code
23734 status collapsed
23735
23736 \begin_layout Plain Layout
23737 labeltag
23738 \end_layout
23739
23740 \end_inset
23741
23742
23743 \begin_inset Flex Code
23744 status collapsed
23745
23746 \begin_layout Plain Layout
23747 itemtag
23748 \end_layout
23749
23750 \end_inset
23751
23752 の順序が違っていることに注意してください.どちらの順序になるかは,
23753
23754 \begin_inset Flex Code
23755 status collapsed
23756
23757 \begin_layout Plain Layout
23758 HTMLLabelFirst
23759 \end_layout
23760
23761 \end_inset
23762
23763 の設定に依存します.もし
23764 \begin_inset Flex Code
23765 status collapsed
23766
23767 \begin_layout Plain Layout
23768 HTMLLabelFirst
23769 \end_layout
23770
23771 \end_inset
23772
23773 が偽であれば(既定値),
23774 最初のケースのようになり,
23775 これが真であれば,
23776 二番めのケースのように,
23777 labelがitemの外側に来るようになります.
23778 \end_layout
23779
23780 \begin_layout Standard
23781 各段落の特定のタグ出力や属性出力は,
23782 以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,
23783 前述のように,
23784 多くの場合,
23785 \SpecialChar LyX
23786 は適切な既定値を生成するので,
23787 たいしたことをしなくても,
23788 望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,
23789 自分の好みにあわせて微調整する目的でここにあるものと考えてください.
23790 \end_layout
23791
23792 \begin_layout Description
23793 \begin_inset Flex Code
23794 status collapsed
23795
23796 \begin_layout Plain Layout
23797 HTMLAttr
23798 \end_layout
23799
23800 \end_inset
23801
23802  [
23803 \begin_inset Flex Code
23804 status collapsed
23805
23806 \begin_layout Plain Layout
23807 文字列
23808 \end_layout
23809
23810 \end_inset
23811
23812 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
23813
23814 \begin_inset Flex Code
23815 status collapsed
23816
23817 \begin_layout Plain Layout
23818 class=`mydiv'
23819 \end_layout
23820
23821 \end_inset
23822
23823 」のようなものです.既定においては,
23824 \SpecialChar LyX
23825 は「
23826 \begin_inset Flex Code
23827 status collapsed
23828
23829 \begin_layout Plain Layout
23830 class=`レイアウト名'
23831 \end_layout
23832
23833 \end_inset
23834
23835 」と出力します.ここで
23836 \begin_inset Flex Code
23837 status collapsed
23838
23839 \begin_layout Plain Layout
23840 レイアウト名
23841 \end_layout
23842
23843 \end_inset
23844
23845 は,
23846 レイアウトの\SpecialChar LyX
23847 名であり,
23848 chapterのように小文字で記述します.
23849 \end_layout
23850
23851 \begin_layout Description
23852 \begin_inset Flex Code
23853 status collapsed
23854
23855 \begin_layout Plain Layout
23856 HTMLClass
23857 \end_layout
23858
23859 \end_inset
23860
23861  [
23862 \begin_inset Flex Code
23863 status collapsed
23864
23865 \begin_layout Plain Layout
23866 文字列
23867 \end_layout
23868
23869 \end_inset
23870
23871 ] この段落に使用するCSSクラス.段落が連番もしくは記号の箇条書きであるならば,
23872 既定値は「lyxenum」または「lyxitem」および階層の深さにより「i」「ii」「iii」「iv」となることに注意してください.これはここで書き換えることができます.しかしながら,
23873 その場合後置句は付け加えられません.すなわち,
23874 CSSクラスは,
23875 つねにここで宣言されたものの通りとなります.
23876 \end_layout
23877
23878 \begin_layout Description
23879 \begin_inset Flex Code
23880 status collapsed
23881
23882 \begin_layout Plain Layout
23883 HTMLForceCSS
23884 \end_layout
23885
23886 \end_inset
23887
23888  [
23889 \begin_inset Flex Code
23890 status collapsed
23891
23892 \begin_layout Plain Layout
23893
23894 \emph on
23895 0
23896 \emph default
23897 ,1
23898 \end_layout
23899
23900 \end_inset
23901
23902 ] 
23903 \begin_inset Flex Code
23904 status collapsed
23905
23906 \begin_layout Plain Layout
23907 HTMLStyle
23908 \end_layout
23909
23910 \end_inset
23911
23912 で追加情報が明示的に与えられているときでも,
23913 \SpecialChar LyX
23914 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
23915 \begin_inset Flex Code
23916 status collapsed
23917
23918 \begin_layout Plain Layout
23919 1
23920 \end_layout
23921
23922 \end_inset
23923
23924 にすると,
23925 生成されたCSSを完全に上書きする代わりに,
23926 変更したり追加したりすることができます.既定値は
23927 \begin_inset Flex Code
23928 status collapsed
23929
23930 \begin_layout Plain Layout
23931 0
23932 \end_layout
23933
23934 \end_inset
23935
23936 です.
23937 \end_layout
23938
23939 \begin_layout Description
23940 \begin_inset Flex Code
23941 status collapsed
23942
23943 \begin_layout Plain Layout
23944 HTMLForceCSS
23945 \end_layout
23946
23947 \end_inset
23948
23949  [
23950 \begin_inset Flex Code
23951 status collapsed
23952
23953 \begin_layout Plain Layout
23954
23955 \emph on
23956 0
23957 \emph default
23958 ,1
23959 \end_layout
23960
23961 \end_inset
23962
23963 ] この段落(通常節やその類い)をTOCに入れるか否か.既定値は真となっているので,
23964 たとえば星付きの節については偽に設定しなくてはなりません.
23965 \end_layout
23966
23967 \begin_layout Description
23968 \begin_inset Flex Code
23969 status collapsed
23970
23971 \begin_layout Plain Layout
23972 HTMLItem
23973 \end_layout
23974
23975 \end_inset
23976
23977  [
23978 \begin_inset Flex Code
23979 status collapsed
23980
23981 \begin_layout Plain Layout
23982 文字列
23983 \end_layout
23984
23985 \end_inset
23986
23987 ] 環境の段落に使用されるタグ.上記各例の
23988 \begin_inset Flex Code
23989 status collapsed
23990
23991 \begin_layout Plain Layout
23992 itemtag
23993 \end_layout
23994
23995 \end_inset
23996
23997 を置き換えます.既定値は
23998 \begin_inset Flex Code
23999 status collapsed
24000
24001 \begin_layout Plain Layout
24002 div
24003 \end_layout
24004
24005 \end_inset
24006
24007 です.
24008 \end_layout
24009
24010 \begin_layout Description
24011 \begin_inset Flex Code
24012 status collapsed
24013
24014 \begin_layout Plain Layout
24015 HTMLItemAttr
24016 \end_layout
24017
24018 \end_inset
24019
24020  [
24021 \begin_inset Flex Code
24022 status collapsed
24023
24024 \begin_layout Plain Layout
24025 文字列
24026 \end_layout
24027
24028 \end_inset
24029
24030 ] itemタグの属性.既定値は
24031 \begin_inset Flex Code
24032 status collapsed
24033
24034 \begin_layout Plain Layout
24035 class=`レイアウト名_item'
24036 \end_layout
24037
24038 \end_inset
24039
24040 です.ここには,
24041 様式情報は含まれては
24042 \emph on
24043 なりません
24044 \emph default
24045 .その目的のためには,
24046
24047 \begin_inset Flex Code
24048 status collapsed
24049
24050 \begin_layout Plain Layout
24051 HTMLStyle
24052 \end_layout
24053
24054 \end_inset
24055
24056 を使用してください.
24057 \end_layout
24058
24059 \begin_layout Description
24060 \begin_inset Flex Code
24061 status collapsed
24062
24063 \begin_layout Plain Layout
24064 HTMLLabel
24065 \end_layout
24066
24067 \end_inset
24068
24069  [
24070 \begin_inset Flex Code
24071 status collapsed
24072
24073 \begin_layout Plain Layout
24074 文字列
24075 \end_layout
24076
24077 \end_inset
24078
24079 ] 段落と項目ラベルに使用されるタグ.上記各例の
24080 \begin_inset Flex Code
24081 status collapsed
24082
24083 \begin_layout Plain Layout
24084 labeltag
24085 \end_layout
24086
24087 \end_inset
24088
24089 を置き換えます.
24090 \begin_inset Flex Code
24091 status collapsed
24092
24093 \begin_layout Plain Layout
24094 LabelType
24095 \end_layout
24096
24097 \end_inset
24098
24099
24100 \begin_inset Flex Code
24101 status collapsed
24102
24103 \begin_layout Plain Layout
24104 Top_Environment
24105 \end_layout
24106
24107 \end_inset
24108
24109
24110 \begin_inset Flex Code
24111 status collapsed
24112
24113 \begin_layout Plain Layout
24114 Centered_Top_Environment
24115 \end_layout
24116
24117 \end_inset
24118
24119 の時は,
24120 既定値は
24121 \begin_inset Flex Code
24122 status collapsed
24123
24124 \begin_layout Plain Layout
24125 div
24126 \end_layout
24127
24128 \end_inset
24129
24130 ですが,
24131 それ以外の時の既定値は
24132 \begin_inset Flex Code
24133 status collapsed
24134
24135 \begin_layout Plain Layout
24136 span
24137 \end_layout
24138
24139 \end_inset
24140
24141 です.
24142 \end_layout
24143
24144 \begin_layout Description
24145 \begin_inset Flex Code
24146 status collapsed
24147
24148 \begin_layout Plain Layout
24149 HTMLLabelAttr
24150 \end_layout
24151
24152 \end_inset
24153
24154  [
24155 \begin_inset Flex Code
24156 status collapsed
24157
24158 \begin_layout Plain Layout
24159 文字列
24160 \end_layout
24161
24162 \end_inset
24163
24164 ] labelタグの属性.既定値は
24165 \begin_inset Flex Code
24166 status collapsed
24167
24168 \begin_layout Plain Layout
24169 class=`レイアウト名_label'
24170 \end_layout
24171
24172 \end_inset
24173
24174 です.ここには,
24175 様式情報は含まれては
24176 \emph on
24177 なりません
24178 \emph default
24179 .その目的のためには,
24180
24181 \begin_inset Flex Code
24182 status collapsed
24183
24184 \begin_layout Plain Layout
24185 HTMLStyle
24186 \end_layout
24187
24188 \end_inset
24189
24190 を使用してください.
24191 \end_layout
24192
24193 \begin_layout Description
24194 \begin_inset Flex Code
24195 status collapsed
24196
24197 \begin_layout Plain Layout
24198 HTMLLabelFirst
24199 \end_layout
24200
24201 \end_inset
24202
24203  [
24204 \begin_inset Flex Code
24205 status collapsed
24206
24207 \begin_layout Plain Layout
24208
24209 \emph on
24210 0
24211 \emph default
24212 ,1
24213 \end_layout
24214
24215 \end_inset
24216
24217 ] このタグは,
24218 リスト関係環境でのみ意味を持ち,
24219 labelタグが,
24220 itemタグの前に出力されるか,
24221 中に出力されるかを制御します.これは,
24222 たとえば,
24223 description環境の中で,
24224
24225 \begin_inset Flex Code
24226 status collapsed
24227
24228 \begin_layout Plain Layout
24229 `<dt>\SpecialChar ldots
24230 </dt><dd>\SpecialChar ldots
24231 </dd>
24232 \end_layout
24233
24234 \end_inset
24235
24236 という形を得るために使用されます.既定値は
24237 \begin_inset Flex Code
24238 status collapsed
24239
24240 \begin_layout Plain Layout
24241 0
24242 \end_layout
24243
24244 \end_inset
24245
24246 で,
24247 labelタグはitemタグの中に出力されます.
24248 \end_layout
24249
24250 \begin_layout Description
24251 \begin_inset Flex Code
24252 status collapsed
24253
24254 \begin_layout Plain Layout
24255 HTMLPreamble
24256 \end_layout
24257
24258 \end_inset
24259
24260  この様式が使用されたときに,
24261
24262 \begin_inset Flex Code
24263 status collapsed
24264
24265 \begin_layout Plain Layout
24266 <head>
24267 \end_layout
24268
24269 \end_inset
24270
24271 セクションに出力される情報.これは,
24272 たとえば,
24273
24274 \begin_inset Flex Code
24275 status collapsed
24276
24277 \begin_layout Plain Layout
24278 onclick
24279 \end_layout
24280
24281 \end_inset
24282
24283 ハンドラを定義するために
24284 \begin_inset Flex Code
24285 status collapsed
24286
24287 \begin_layout Plain Layout
24288 <script>
24289 \end_layout
24290
24291 \end_inset
24292
24293 ブロックをインクルードするのに使用することができます.
24294 \end_layout
24295
24296 \begin_layout Description
24297 \begin_inset Flex Code
24298 status collapsed
24299
24300 \begin_layout Plain Layout
24301 HTMLStyle
24302 \end_layout
24303
24304 \end_inset
24305
24306   この様式が使用されたときに,
24307 インクルードするCSSスタイル情報.これは,
24308 レイアウトが生成する
24309 \begin_inset Flex Code
24310 status collapsed
24311
24312 \begin_layout Plain Layout
24313 <style>
24314 \end_layout
24315
24316 \end_inset
24317
24318 ブロックで自動的に包まれますので,
24319 CSS自体をインクルードするだけで大丈夫です.
24320 \begin_inset Flex Code
24321 status collapsed
24322
24323 \begin_layout Plain Layout
24324 EndHTMLStyle
24325 \end_layout
24326
24327 \end_inset
24328
24329 で閉じなくてはなりません.
24330 \end_layout
24331
24332 \begin_layout Description
24333 \begin_inset Flex Code
24334 status collapsed
24335
24336 \begin_layout Plain Layout
24337 HTMLTag
24338 \end_layout
24339
24340 \end_inset
24341
24342  [
24343 \begin_inset Flex Code
24344 status collapsed
24345
24346 \begin_layout Plain Layout
24347 文字列
24348 \end_layout
24349
24350 \end_inset
24351
24352 ] 主幹ラベルに使用されるタグ.上記各例の
24353 \begin_inset Flex Code
24354 status collapsed
24355
24356 \begin_layout Plain Layout
24357 tag
24358 \end_layout
24359
24360 \end_inset
24361
24362 を置き換えます.既定値は
24363 \begin_inset Flex Code
24364 status collapsed
24365
24366 \begin_layout Plain Layout
24367 div
24368 \end_layout
24369
24370 \end_inset
24371
24372 です.
24373 \end_layout
24374
24375 \begin_layout Description
24376 \begin_inset Flex Code
24377 status collapsed
24378
24379 \begin_layout Plain Layout
24380 HTMLTitle
24381 \end_layout
24382
24383 \end_inset
24384
24385  [
24386 \begin_inset Flex Code
24387 status collapsed
24388
24389 \begin_layout Plain Layout
24390
24391 \emph on
24392 0
24393 \emph default
24394 ,1
24395 \end_layout
24396
24397 \end_inset
24398
24399 ] この様式が,
24400 XHTMLファイルの
24401 \begin_inset Flex Code
24402 status collapsed
24403
24404 \begin_layout Plain Layout
24405 <title>
24406 \end_layout
24407
24408 \end_inset
24409
24410 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
24411 \begin_inset Flex Code
24412 status collapsed
24413
24414 \begin_layout Plain Layout
24415 stdtitle.inc
24416 \end_layout
24417
24418 \end_inset
24419
24420 ファイルでは,
24421
24422 \begin_inset Flex Code
24423 status collapsed
24424
24425 \begin_layout Plain Layout
24426 title
24427 \end_layout
24428
24429 \end_inset
24430
24431 環境のこの項目を真に設定しています.
24432 \end_layout
24433
24434 \begin_layout Subsection
24435 差込枠レイアウトXHTML
24436 \end_layout
24437
24438 \begin_layout Standard
24439 差込枠のXHTML出力も,
24440 レイアウトファイル内の情報によって制御することができます
24441 \begin_inset Foot
24442 status collapsed
24443
24444 \begin_layout Plain Layout
24445 現在のところ,
24446 これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,
24447 「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されません.
24448 \end_layout
24449
24450 \end_inset
24451
24452 .ここでも,
24453 \SpecialChar LyX
24454 は適切な既定値を提供しようと試み,
24455 既定のCSS様式を構成します.しかし,
24456 すべてカスタマイズ可能です.
24457 \end_layout
24458
24459 \begin_layout Standard
24460 \SpecialChar LyX
24461 が差込枠用に出力するXHTMLは,
24462 以下の形を取ります.
24463 \end_layout
24464
24465 \begin_layout LyX-Code
24466 <tag attr=
24467 \begin_inset Quotes erd
24468 \end_inset
24469
24470 value
24471 \begin_inset Quotes erd
24472 \end_inset
24473
24474 >
24475 \end_layout
24476
24477 \begin_layout LyX-Code
24478 <labeltag>ラベル</labeltag>
24479 \end_layout
24480
24481 \begin_layout LyX-Code
24482 <innertag attr=
24483 \begin_inset Quotes erd
24484 \end_inset
24485
24486 value
24487 \begin_inset Quotes erd
24488 \end_inset
24489
24490 >差込枠の内容.</innertag>
24491 \end_layout
24492
24493 \begin_layout LyX-Code
24494 </tag>
24495 \end_layout
24496
24497 \begin_layout Standard
24498 差込枠が多段落を許可している—
24499 つまり
24500 \begin_inset Flex Code
24501 status collapsed
24502
24503 \begin_layout Plain Layout
24504 MultiPar
24505 \end_layout
24506
24507 \end_inset
24508
24509 が真—
24510 ならば,
24511 差込枠の内容は,
24512 それ自身段落として出力され,
24513 それらの段落に用いられる様式(標準,
24514 引用など)を用いて整形されます.もちろん,
24515 段落にラベルがなければ,
24516 labelタグは省略され,
24517 ラベルがあれば,
24518 現在のところ,
24519 つねに
24520 \begin_inset Flex Code
24521 status collapsed
24522
24523 \begin_layout Plain Layout
24524 span
24525 \end_layout
24526
24527 \end_inset
24528
24529 が用いられます.innerタグは非必須であり,
24530 既定では出力されません.各差込枠用に出力される特定のタグや属性は,
24531 以下のレイアウトタグによって制御することができます.
24532 \end_layout
24533
24534 \begin_layout Description
24535 \begin_inset Flex Code
24536 status collapsed
24537
24538 \begin_layout Plain Layout
24539 HTMLAttr
24540 \end_layout
24541
24542 \end_inset
24543
24544  [
24545 \begin_inset Flex Code
24546 status collapsed
24547
24548 \begin_layout Plain Layout
24549 文字列
24550 \end_layout
24551
24552 \end_inset
24553
24554 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
24555
24556 \begin_inset Flex Code
24557 status collapsed
24558
24559 \begin_layout Plain Layout
24560 class=`myinset' onclick=`\SpecialChar ldots
24561 '
24562 \end_layout
24563
24564 \end_inset
24565
24566 」のようなものです.既定においては,
24567 \SpecialChar LyX
24568 は「
24569 \begin_inset Flex Code
24570 status collapsed
24571
24572 \begin_layout Plain Layout
24573 class=`差込枠名'
24574 \end_layout
24575
24576 \end_inset
24577
24578 」と出力します.ここで
24579 \begin_inset Flex Code
24580 status collapsed
24581
24582 \begin_layout Plain Layout
24583 差込枠名
24584 \end_layout
24585
24586 \end_inset
24587
24588 は,
24589 差込枠の\SpecialChar LyX
24590 名であり,
24591 小文字で記述します.アルファベットや数字以外の文字は,
24592 アンダースコアに置き換えられます.例:
24593 footnote.
24594 \end_layout
24595
24596 \begin_layout Description
24597 \begin_inset Flex Code
24598 status collapsed
24599
24600 \begin_layout Plain Layout
24601 HTMLForceCSS
24602 \end_layout
24603
24604 \end_inset
24605
24606  [
24607 \begin_inset Flex Code
24608 status collapsed
24609
24610 \begin_layout Plain Layout
24611
24612 \emph on
24613 0
24614 \emph default
24615 ,1
24616 \end_layout
24617
24618 \end_inset
24619
24620 ] 
24621 \begin_inset Flex Code
24622 status collapsed
24623
24624 \begin_layout Plain Layout
24625 HTMLStyle
24626 \end_layout
24627
24628 \end_inset
24629
24630 で追加情報が明示的に与えられているときでも,
24631 \SpecialChar LyX
24632 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
24633 \begin_inset Flex Code
24634 status collapsed
24635
24636 \begin_layout Plain Layout
24637 1
24638 \end_layout
24639
24640 \end_inset
24641
24642 にすると,
24643 生成されたCSSを完全に上書きする代わりに,
24644 変更したり追加したりすることができます.既定値は
24645 \begin_inset Flex Code
24646 status collapsed
24647
24648 \begin_layout Plain Layout
24649 0
24650 \end_layout
24651
24652 \end_inset
24653
24654 です.
24655 \end_layout
24656
24657 \begin_layout Description
24658 \begin_inset Flex Code
24659 status collapsed
24660
24661 \begin_layout Plain Layout
24662 HTMLInnerAttr
24663 \end_layout
24664
24665 \end_inset
24666
24667  [
24668 \begin_inset Flex Code
24669 status collapsed
24670
24671 \begin_layout Plain Layout
24672 文字列
24673 \end_layout
24674
24675 \end_inset
24676
24677 ] innerタグの属性.既定値は
24678 \begin_inset Flex Code
24679 status collapsed
24680
24681 \begin_layout Plain Layout
24682 class=`差込枠名_inner'
24683 \end_layout
24684
24685 \end_inset
24686
24687 です.
24688 \end_layout
24689
24690 \begin_layout Description
24691 \begin_inset Flex Code
24692 status collapsed
24693
24694 \begin_layout Plain Layout
24695 HTMLInnerTag
24696 \end_layout
24697
24698 \end_inset
24699
24700  [
24701 \begin_inset Flex Code
24702 status collapsed
24703
24704 \begin_layout Plain Layout
24705 文字列
24706 \end_layout
24707
24708 \end_inset
24709
24710 ] innerタグです.上記各例の
24711 \begin_inset Flex Code
24712 status collapsed
24713
24714 \begin_layout Plain Layout
24715 innertag
24716 \end_layout
24717
24718 \end_inset
24719
24720 を置き換えます.既定値はなしです.
24721 \end_layout
24722
24723 \begin_layout Description
24724 \begin_inset Flex Code
24725 status collapsed
24726
24727 \begin_layout Plain Layout
24728 HTMLIsBlock
24729 \end_layout
24730
24731 \end_inset
24732
24733  [
24734 \begin_inset Flex Code
24735 status collapsed
24736
24737 \begin_layout Plain Layout
24738 0,
24739 \emph on
24740 1
24741 \end_layout
24742
24743 \end_inset
24744
24745 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,
24746 それとも,
24747 (派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
24748 \end_layout
24749
24750 \begin_layout Description
24751 \begin_inset Flex Code
24752 status collapsed
24753
24754 \begin_layout Plain Layout
24755 HTMLLabel
24756 \end_layout
24757
24758 \end_inset
24759
24760  [
24761 \begin_inset Flex Code
24762 status collapsed
24763
24764 \begin_layout Plain Layout
24765 文字列
24766 \end_layout
24767
24768 \end_inset
24769
24770 ] 場合によっては,
24771 カウンタへの参照を含む,
24772 この差込枠のラベル.たとえば,
24773 脚註用には
24774 \begin_inset Flex Code
24775 status collapsed
24776
24777 \begin_layout Plain Layout
24778
24779 \backslash
24780 arabic{footnote}
24781 \end_layout
24782
24783 \end_inset
24784
24785 など.これは非必須であり,
24786 既定値はありません.
24787 \end_layout
24788
24789 \begin_layout Description
24790 \begin_inset Flex Code
24791 status collapsed
24792
24793 \begin_layout Plain Layout
24794 HTMLPreamble
24795 \end_layout
24796
24797 \end_inset
24798
24799  この様式が使用されたときに,
24800
24801 \begin_inset Flex Code
24802 status collapsed
24803
24804 \begin_layout Plain Layout
24805 <head>
24806 \end_layout
24807
24808 \end_inset
24809
24810 セクションに出力される情報.これは,
24811 たとえば,
24812
24813 \begin_inset Flex Code
24814 status collapsed
24815
24816 \begin_layout Plain Layout
24817 onclick
24818 \end_layout
24819
24820 \end_inset
24821
24822 ハンドラを定義するために
24823 \begin_inset Flex Code
24824 status collapsed
24825
24826 \begin_layout Plain Layout
24827 <script>
24828 \end_layout
24829
24830 \end_inset
24831
24832 ブロックをインクルードするのに使用することができます.
24833 \end_layout
24834
24835 \begin_layout Description
24836 \begin_inset Flex Code
24837 status collapsed
24838
24839 \begin_layout Plain Layout
24840 HTMLStyle
24841 \end_layout
24842
24843 \end_inset
24844
24845   この様式が使用されたときに,
24846 インクルードするCSSスタイル情報.これは,
24847 レイアウトが生成する
24848 \begin_inset Flex Code
24849 status collapsed
24850
24851 \begin_layout Plain Layout
24852 <style>
24853 \end_layout
24854
24855 \end_inset
24856
24857 ブロックで自動的に包まれますので,
24858 CSS自体をインクルードするだけで大丈夫です.
24859 \end_layout
24860
24861 \begin_layout Description
24862 \begin_inset Flex Code
24863 status collapsed
24864
24865 \begin_layout Plain Layout
24866 HTMLTag
24867 \end_layout
24868
24869 \end_inset
24870
24871  [
24872 \begin_inset Flex Code
24873 status collapsed
24874
24875 \begin_layout Plain Layout
24876 文字列
24877 \end_layout
24878
24879 \end_inset
24880
24881 ] 主幹ラベルに使用されるタグ.上記各例の
24882 \begin_inset Flex Code
24883 status collapsed
24884
24885 \begin_layout Plain Layout
24886 tag
24887 \end_layout
24888
24889 \end_inset
24890
24891 を置き換えます.既定値は
24892 \begin_inset Flex Code
24893 status collapsed
24894
24895 \begin_layout Plain Layout
24896 MultiPar
24897 \end_layout
24898
24899 \end_inset
24900
24901 の設定に依存し,
24902
24903 \begin_inset Flex Code
24904 status collapsed
24905
24906 \begin_layout Plain Layout
24907 MultiPar
24908 \end_layout
24909
24910 \end_inset
24911
24912 が真ならば
24913 \begin_inset Flex Code
24914 status collapsed
24915
24916 \begin_layout Plain Layout
24917 div
24918 \end_layout
24919
24920 \end_inset
24921
24922
24923 偽ならば
24924 \begin_inset Flex Code
24925 status collapsed
24926
24927 \begin_layout Plain Layout
24928 span
24929 \end_layout
24930
24931 \end_inset
24932
24933 です.
24934 \end_layout
24935
24936 \begin_layout Subsection
24937 フロートXHTML
24938 \end_layout
24939
24940 \begin_layout Standard
24941 フロートのXHTML出力も,
24942 レイアウトファイル内の情報によって制御することができます.出力は,
24943 以下の形を取ります.
24944 \end_layout
24945
24946 \begin_layout LyX-Code
24947 <tag attr=
24948 \begin_inset Quotes erd
24949 \end_inset
24950
24951 value
24952 \begin_inset Quotes erd
24953 \end_inset
24954
24955 >
24956 \end_layout
24957
24958 \begin_layout LyX-Code
24959 フロートの内容.
24960 \end_layout
24961
24962 \begin_layout LyX-Code
24963 </tag>
24964 \end_layout
24965
24966 \begin_layout Standard
24967 キャプションは,
24968 存在している場合には,
24969 独立した差込枠となり,
24970 そのような形で出力されます.その外観は,
24971 キャプション差込枠のInsetLayoutで制御することができます.
24972 \end_layout
24973
24974 \begin_layout Description
24975 \begin_inset Flex Code
24976 status collapsed
24977
24978 \begin_layout Plain Layout
24979 HTMLAttr
24980 \end_layout
24981
24982 \end_inset
24983
24984  [
24985 \begin_inset Flex Code
24986 status collapsed
24987
24988 \begin_layout Plain Layout
24989 文字列
24990 \end_layout
24991
24992 \end_inset
24993
24994 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
24995
24996 \begin_inset Flex Code
24997 status collapsed
24998
24999 \begin_layout Plain Layout
25000 class=`myfloat' onclick=`\SpecialChar ldots
25001 '
25002 \end_layout
25003
25004 \end_inset
25005
25006 」のようなものです.既定においては,
25007 \SpecialChar LyX
25008 は「
25009 \begin_inset Flex Code
25010 status collapsed
25011
25012 \begin_layout Plain Layout
25013 class=`float フロート-フロート型'
25014 \end_layout
25015
25016 \end_inset
25017
25018 」と出力します.ここで
25019 \begin_inset Flex Code
25020 status collapsed
25021
25022 \begin_layout Plain Layout
25023 フロート型
25024 \end_layout
25025
25026 \end_inset
25027
25028 は,
25029 フロート宣言で定義された(
25030 \begin_inset CommandInset ref
25031 LatexCommand ref
25032 reference "subsec:フロート"
25033 nolink "false"
25034
25035 \end_inset
25036
25037 参照),
25038 この型のフロートの\SpecialChar LyX
25039 名です.ただし,
25040 これは小文字に変換され,
25041 アルファベットや数字でない文字はアンダースコアに変換されます.例:
25042 float-table.
25043 \end_layout
25044
25045 \begin_layout Description
25046 \begin_inset Flex Code
25047 status collapsed
25048
25049 \begin_layout Plain Layout
25050 HTMLStyle
25051 \end_layout
25052
25053 \end_inset
25054
25055   このフロートが使用されたときに,
25056 インクルードするCSSスタイル情報.これは,
25057 レイアウトが生成する
25058 \begin_inset Flex Code
25059 status collapsed
25060
25061 \begin_layout Plain Layout
25062 <style>
25063 \end_layout
25064
25065 \end_inset
25066
25067 ブロックで自動的に包まれますので,
25068 CSS自体をインクルードするだけで大丈夫です.
25069 \end_layout
25070
25071 \begin_layout Description
25072 \begin_inset Flex Code
25073 status collapsed
25074
25075 \begin_layout Plain Layout
25076 HTMLTag
25077 \end_layout
25078
25079 \end_inset
25080
25081  [
25082 \begin_inset Flex Code
25083 status collapsed
25084
25085 \begin_layout Plain Layout
25086 文字列
25087 \end_layout
25088
25089 \end_inset
25090
25091 ] このフロートに使用されるタグ.上記各例の
25092 \begin_inset Flex Code
25093 status collapsed
25094
25095 \begin_layout Plain Layout
25096 tag
25097 \end_layout
25098
25099 \end_inset
25100
25101 を置き換えます.既定値は
25102 \begin_inset Flex Code
25103 status collapsed
25104
25105 \begin_layout Plain Layout
25106 div
25107 \end_layout
25108
25109 \end_inset
25110
25111 であり,
25112 ほとんどの場合変更する必要はありません.
25113 \end_layout
25114
25115 \begin_layout Subsection
25116 書誌情報の整形
25117 \end_layout
25118
25119 \begin_layout Standard
25120 書誌情報は,
25121
25122 \begin_inset Flex Code
25123 status collapsed
25124
25125 \begin_layout Plain Layout
25126 CiteFormat
25127 \end_layout
25128
25129 \end_inset
25130
25131 ブロックを使用して整形することができます.詳細については,
25132
25133 \begin_inset CommandInset ref
25134 LatexCommand ref
25135 reference "subsec:引用書式指定"
25136 nolink "false"
25137
25138 \end_inset
25139
25140 を参照してください.
25141 \end_layout
25142
25143 \begin_layout Subsection
25144 \SpecialChar LyX
25145 が生成したCSS
25146 \end_layout
25147
25148 \begin_layout Standard
25149 \SpecialChar LyX
25150 は,
25151 提供されている他のレイアウト情報に基づいて,
25152 差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,
25153 これまでに何度か触れました.この節では,
25154 \SpecialChar LyX
25155 がどのレイアウト情報を,
25156 どのように使うのか,
25157 ひとこと述べておきたいと思います.
25158 \end_layout
25159
25160 \begin_layout Standard
25161 \SpecialChar LyX
25162 は,
25163 現在のところ,
25164
25165 \begin_inset Flex Code
25166 status collapsed
25167
25168 \begin_layout Plain Layout
25169 Font
25170 \end_layout
25171
25172 \end_inset
25173
25174 宣言で指定されている
25175 \begin_inset Flex Code
25176 status collapsed
25177
25178 \begin_layout Plain Layout
25179 Family
25180 \end_layout
25181
25182 \end_inset
25183
25184
25185 \begin_inset Flex Code
25186 status collapsed
25187
25188 \begin_layout Plain Layout
25189 Series
25190 \end_layout
25191
25192 \end_inset
25193
25194
25195 \begin_inset Flex Code
25196 status collapsed
25197
25198 \begin_layout Plain Layout
25199 Shape
25200 \end_layout
25201
25202 \end_inset
25203
25204
25205 \begin_inset Flex Code
25206 status collapsed
25207
25208 \begin_layout Plain Layout
25209 Size
25210 \end_layout
25211
25212 \end_inset
25213
25214 を利用して,
25215 フォント情報についてのみCSSを自動生成します(
25216 \begin_inset CommandInset ref
25217 LatexCommand ref
25218 reference "subsec:フォント指定"
25219 nolink "false"
25220
25221 \end_inset
25222
25223 を参照).この変換は,
25224 きわめて分かりやすく自明です.たとえば,
25225
25226 \begin_inset Flex Code
25227 status collapsed
25228
25229 \begin_layout Plain Layout
25230 Family Sans
25231 \end_layout
25232
25233 \end_inset
25234
25235 」は「
25236 \begin_inset Flex Code
25237 status collapsed
25238
25239 \begin_layout Plain Layout
25240 font-family:
25241  sans-serif
25242 \end_layout
25243
25244 \end_inset
25245
25246 」になります.\SpecialChar LyX
25247 の寸法とCSSの寸法のあいだの対応は,
25248 少し複雑ですが,
25249 それでも直感的に分かります.詳細については,
25250
25251 \begin_inset Flex URL
25252 status collapsed
25253
25254 \begin_layout Plain Layout
25255
25256 src/FontInfo.cpp
25257 \end_layout
25258
25259 \end_inset
25260
25261
25262 \begin_inset Flex Code
25263 status collapsed
25264
25265 \begin_layout Plain Layout
25266 getSizeCSS()
25267 \end_layout
25268
25269 \end_inset
25270
25271 関数をご覧ください.
25272 \end_layout
25273
25274 \begin_layout Section
25275 DocBook出力のタグ
25276 \begin_inset CommandInset label
25277 LatexCommand label
25278 name "sec:DocBook出力のタグ"
25279
25280 \end_inset
25281
25282
25283 \end_layout
25284
25285 \begin_layout Standard
25286 \SpecialChar LaTeX
25287 やXHTMLと同様に,
25288 \SpecialChar LyX
25289 のDocBook出力の書式もレイアウト情報によって制御されています.一般的に\SpecialChar LyX
25290 は賢明な既定値を提供していますが,
25291 DocBookは厳密にセマンティックであり,
25292 フォーマッティングを許さないため,
25293 スタイリングの多くは変換の途中で失われてしまいます.可能な場合には,
25294 \SpecialChar LyX
25295 からの情報は
25296 \family typewriter
25297 role
25298 \family default
25299 属性に渡されます.
25300 \end_layout
25301
25302 \begin_layout Standard
25303 多くの場合,
25304 設定した環境や特別差込枠等々について,
25305 納得のいくDocBook出力を得るために,
25306 何かしなくてはならないということはまったくありません.しかしながら,
25307 いくつかの場合において必要となることがあるため,
25308 \SpecialChar LyX
25309 は多くのレイアウトタグを提供し,
25310 生成されるDocBookを調整できるようにしています.
25311 \end_layout
25312
25313 \begin_layout Standard
25314 ラベルはDocBookでは冗長であるため,
25315 めったに出力されることはありません.この情報はタグ自身によって伝達され,
25316 (DocBookファイルを処理した後の)最終文書にラベルが現れるかどうかは,
25317 スタイルシートによって制御されます.しかしながら,
25318 定義リストのように,
25319 ラベルが冗長な内容ではないことが時々あり,
25320 この場合には,
25321 定義される用語がラベルとなります.
25322 \end_layout
25323
25324 \begin_layout Subsection
25325 段落様式
25326 \begin_inset CommandInset label
25327 LatexCommand label
25328 name "subsec:DocBook段落様式"
25329
25330 \end_inset
25331
25332
25333 \end_layout
25334
25335 \begin_layout Standard
25336 段落に対して\SpecialChar LyX
25337 が出力するDocBookの類いは,
25338 通常の段落を取り扱っているのか,
25339 コマンドなのか環境なのかによって変化し,
25340 それ自体も対応する
25341 \begin_inset Flex Code
25342 status collapsed
25343
25344 \begin_layout Plain Layout
25345 \SpecialChar LaTeX
25346 Type
25347 \end_layout
25348
25349 \end_inset
25350
25351 タグの内容によって決定されます.
25352 \end_layout
25353
25354 \begin_layout Standard
25355 コマンドや通常の段落については,
25356 DocBook出力は下記の形を取ります:
25357
25358 \end_layout
25359
25360 \begin_layout LyX-Code
25361 <tag attr>
25362 \end_layout
25363
25364 \begin_layout LyX-Code
25365 段落の中身
25366 \end_layout
25367
25368 \begin_layout LyX-Code
25369 </tag>
25370 \end_layout
25371
25372 \begin_layout Standard
25373 箇条書きの類い出ない環境については,
25374 生成されるDocBookは下記の形を取ります:
25375
25376 \end_layout
25377
25378 \begin_layout LyX-Code
25379 <tag attr>
25380 \end_layout
25381
25382 \begin_layout LyX-Code
25383 <itemtag>第1段落</itemtag>
25384 \end_layout
25385
25386 \begin_layout LyX-Code
25387 <itemtag>第2段落</itemtag>
25388 \end_layout
25389
25390 \begin_layout LyX-Code
25391 </tag>
25392 \end_layout
25393
25394 \begin_layout Standard
25395 箇条書きについては,
25396 DocBook出力は下記の形を取ります:
25397
25398 \end_layout
25399
25400 \begin_layout LyX-Code
25401 <tag attr>
25402 \end_layout
25403
25404 \begin_layout LyX-Code
25405 <itemtag attr>第1項目</itemtag>
25406 \end_layout
25407
25408 \begin_layout LyX-Code
25409 <itemtag attr>第2項目</itemtag>
25410 \end_layout
25411
25412 \begin_layout LyX-Code
25413 </tag>
25414 \end_layout
25415
25416 \begin_layout Standard
25417 各段落型に対する特定のタグやロール出力は,
25418 これから説明するレイアウトタグによって制御することができます.まさにDocBookの性質そのものによって,
25419 妥当な既定値というものはまったく存在せず,
25420 値はつねに注意深く選ばなくてはならないと言うことに注意してください.
25421 \end_layout
25422
25423 \begin_layout Description
25424 \begin_inset Flex Code
25425 status collapsed
25426
25427 \begin_layout Plain Layout
25428 DocBookAttr
25429 \end_layout
25430
25431 \end_inset
25432
25433  [
25434 \begin_inset Flex Code
25435 status collapsed
25436
25437 \begin_layout Plain Layout
25438 文字列
25439 \end_layout
25440
25441 \end_inset
25442
25443 ] メインタグに出力される属性情報を,
25444 上記の例の「
25445 \begin_inset Flex Code
25446 status collapsed
25447
25448 \begin_layout Plain Layout
25449 attr
25450 \end_layout
25451
25452 \end_inset
25453
25454 」の位置に指定します.この情報は,
25455 DocBookファイルの後処理に使用することができます.
25456 \end_layout
25457
25458 \begin_layout Description
25459 \begin_inset Flex Code
25460 status collapsed
25461
25462 \begin_layout Plain Layout
25463 DocBookTag
25464 \end_layout
25465
25466 \end_inset
25467
25468  [
25469 \begin_inset Flex Code
25470 status collapsed
25471
25472 \begin_layout Plain Layout
25473 文字列
25474 \end_layout
25475
25476 \end_inset
25477
25478 ] この差込枠に使用するタグ.上記の例の「
25479 \begin_inset Flex Code
25480 status collapsed
25481
25482 \begin_layout Plain Layout
25483 tag
25484 \end_layout
25485
25486 \end_inset
25487
25488 」の位置に出力します.既定値はフロート名で,
25489 DocBookには一般的なタグはないので,
25490 つねに変更する必要があります.
25491 \end_layout
25492
25493 \begin_layout Description
25494 \begin_inset Flex Code
25495 status collapsed
25496
25497 \begin_layout Plain Layout
25498 DocBookTagType
25499 \end_layout
25500
25501 \end_inset
25502
25503  [
25504 \begin_inset Flex Code
25505 status collapsed
25506
25507 \begin_layout Plain Layout
25508 block
25509 \end_layout
25510
25511 \end_inset
25512
25513 ,
25514  
25515 \begin_inset Flex Code
25516 status collapsed
25517
25518 \begin_layout Plain Layout
25519 paragraph
25520 \end_layout
25521
25522 \end_inset
25523
25524 ,
25525  
25526 \begin_inset Flex Code
25527 status collapsed
25528
25529 \begin_layout Plain Layout
25530 inline
25531 \end_layout
25532
25533 \end_inset
25534
25535 ] このタグの新規行ポリシー.詳細は第
25536 \begin_inset CommandInset ref
25537 LatexCommand ref
25538 reference "subsec:新規行ポリシー"
25539 plural "false"
25540 caps "false"
25541 noprefix "false"
25542 nolink "false"
25543
25544 \end_inset
25545
25546 節を参照のこと.
25547 \end_layout
25548
25549 \begin_layout Subsection
25550 新規行ポリシー
25551 \begin_inset CommandInset label
25552 LatexCommand label
25553 name "subsec:新規行ポリシー"
25554
25555 \end_inset
25556
25557
25558 \end_layout
25559
25560 \begin_layout Standard
25561 すべてのタグに関して,
25562
25563 \begin_inset Flex Code
25564 status collapsed
25565
25566 \begin_layout Plain Layout
25567 DocBook*TagType
25568 \end_layout
25569
25570 \end_inset
25571
25572 属性で指定される)新規行の出力ポリシーに下記の3つの選択肢があります.
25573 \end_layout
25574
25575 \begin_layout Itemize
25576
25577 \begin_inset Flex Code
25578 status collapsed
25579
25580 \begin_layout Plain Layout
25581 block
25582 \end_layout
25583
25584 \end_inset
25585
25586 」:
25587 開始タグと終了タグは独立した行に置きます(つまり開始タグと終了タグの前後にラインフィードします).典型的な要素はフロートです.たとえば,
25588
25589 \end_layout
25590
25591 \begin_deeper
25592 \begin_layout LyX-Code
25593 前の内容
25594 \end_layout
25595
25596 \begin_layout LyX-Code
25597 <blocktag>
25598 \end_layout
25599
25600 \begin_layout LyX-Code
25601  ブロックの内容
25602 \end_layout
25603
25604 \begin_layout LyX-Code
25605 </blocktab>
25606 \end_layout
25607
25608 \begin_layout LyX-Code
25609 後の内容
25610 \end_layout
25611
25612 \begin_layout Standard
25613 のようになります.
25614 \end_layout
25615
25616 \end_deeper
25617 \begin_layout Itemize
25618
25619 \begin_inset Flex Code
25620 status collapsed
25621
25622 \begin_layout Plain Layout
25623 paragraph
25624 \end_layout
25625
25626 \end_inset
25627
25628 」:
25629 開始タグと終了タグは同じ新規行に置きます(開始タグの前と終了タグの後にラインフィードが出力されます).典型的な要素は段落と箇条書き項目です.たとえば,
25630
25631 \end_layout
25632
25633 \begin_deeper
25634 \begin_layout LyX-Code
25635 前の内容
25636 \end_layout
25637
25638 \begin_layout LyX-Code
25639 <paratag>段落の内容</paratag>
25640 \end_layout
25641
25642 \begin_layout LyX-Code
25643 後の内容
25644 \end_layout
25645
25646 \begin_layout Standard
25647 のようになります.
25648 \end_layout
25649
25650 \end_deeper
25651 \begin_layout Itemize
25652
25653 \begin_inset Flex Code
25654 status collapsed
25655
25656 \begin_layout Plain Layout
25657 inline
25658 \end_layout
25659
25660 \end_inset
25661
25662 」:
25663 開始タグと終了タグは内容と同じ行に置かれます.ラインフィードは出力されません.典型的な要素はフォントです.たとえば,
25664
25665 \end_layout
25666
25667 \begin_deeper
25668 \begin_layout LyX-Code
25669 前の内容<inlinetag>段落の内容</inlinetag>後の内容
25670 \end_layout
25671
25672 \begin_layout Standard
25673 のようになります.
25674 \end_layout
25675
25676 \end_deeper
25677 \begin_layout Standard
25678 既定値はつねに「
25679 \begin_inset Flex Code
25680 status collapsed
25681
25682 \begin_layout Plain Layout
25683 block
25684 \end_layout
25685
25686 \end_inset
25687
25688 」です.
25689 \end_layout
25690
25691 \begin_layout Subsection
25692 InsetLayout DocBook
25693 \end_layout
25694
25695 \begin_layout Standard
25696 差込枠のDocBook出力もレイアウトファイルの情報によって制御されます.
25697 \end_layout
25698
25699 \begin_layout Standard
25700 差込枠に対して\SpecialChar LyX
25701 が出力するDocBookは次のような形を取ります.
25702 \end_layout
25703
25704 \begin_layout LyX-Code
25705 <wrappertag wrapperattr>
25706 \end_layout
25707
25708 \begin_layout LyX-Code
25709   <tag attr>
25710 \end_layout
25711
25712 \begin_layout LyX-Code
25713     <innertag innerattr>
25714 \end_layout
25715
25716 \begin_layout LyX-Code
25717       差込枠の内容
25718 \end_layout
25719
25720 \begin_layout LyX-Code
25721     </innertag>
25722 \end_layout
25723
25724 \begin_layout LyX-Code
25725   </tag>
25726 \end_layout
25727
25728 \begin_layout LyX-Code
25729 </wrappertag>
25730 \end_layout
25731
25732 \begin_layout Standard
25733 項目立てをする差込枠については,
25734 以下のようになります.
25735 \end_layout
25736
25737 \begin_layout LyX-Code
25738 <wrappertag wrapperattr>
25739 \end_layout
25740
25741 \begin_layout LyX-Code
25742   <tag attr>
25743 \end_layout
25744
25745 \begin_layout LyX-Code
25746     <innertag innerattr>
25747 \end_layout
25748
25749 \begin_layout LyX-Code
25750       <itemwrappertag itemwrapperattr>
25751 \end_layout
25752
25753 \begin_layout LyX-Code
25754         <itemlabeltag itemattr>
25755 \end_layout
25756
25757 \begin_layout LyX-Code
25758           第1項目のラベル
25759 \end_layout
25760
25761 \begin_layout LyX-Code
25762         </itemtag>
25763 \end_layout
25764
25765 \begin_layout LyX-Code
25766         <itemtag itemattr>
25767 \end_layout
25768
25769 \begin_layout LyX-Code
25770           <itemtag itemattr>
25771 \end_layout
25772
25773 \begin_layout LyX-Code
25774             第1項目の内容 item.
25775 \end_layout
25776
25777 \begin_layout LyX-Code
25778           </itemtag>
25779 \end_layout
25780
25781 \begin_layout LyX-Code
25782         </itemtag>
25783 \end_layout
25784
25785 \begin_layout LyX-Code
25786       </itemwrappertag>
25787 \end_layout
25788
25789 \begin_layout LyX-Code
25790       <itemwrappertag itemwrapperattr>
25791 \end_layout
25792
25793 \begin_layout LyX-Code
25794         <itemlabeltag itemattr>
25795 \end_layout
25796
25797 \begin_layout LyX-Code
25798           第2項目のラベル
25799 \end_layout
25800
25801 \begin_layout LyX-Code
25802         </itemtag>
25803 \end_layout
25804
25805 \begin_layout LyX-Code
25806         <itemtag itemattr>
25807 \end_layout
25808
25809 \begin_layout LyX-Code
25810           <itemtag itemattr>
25811 \end_layout
25812
25813 \begin_layout LyX-Code
25814             第2項目の内容
25815 \end_layout
25816
25817 \begin_layout LyX-Code
25818           </itemtag>
25819 \end_layout
25820
25821 \begin_layout LyX-Code
25822         </itemtag>
25823 \end_layout
25824
25825 \begin_layout LyX-Code
25826       </itemwrappertag>
25827 \end_layout
25828
25829 \begin_layout LyX-Code
25830       ...
25831 \end_layout
25832
25833 \begin_layout LyX-Code
25834     </innertag>
25835 \end_layout
25836
25837 \begin_layout LyX-Code
25838   </tag>
25839 \end_layout
25840
25841 \begin_layout LyX-Code
25842 </wrappertag>
25843 \end_layout
25844
25845 \begin_layout Standard
25846 差込枠が複数の段落を許容する場合—
25847
25848 つまり
25849 \begin_inset Flex Code
25850 status collapsed
25851
25852 \begin_layout Plain Layout
25853 MultiPar
25854 \end_layout
25855
25856 \end_inset
25857
25858 が真である場合—
25859
25860 には,
25861 差込枠の中身自身は,
25862 段落に使用される様式(標準,
25863 引用等)にしたがって整形された段落として出力されます.内側のタグは必須ではなく,
25864 既定では表示されません.
25865 \end_layout
25866
25867 \begin_layout Standard
25868 各差込枠に出力される特定のタグと属性は,
25869 下記のようなレイアウトタグによって制御されます.
25870 \end_layout
25871
25872 \begin_layout Description
25873 \begin_inset Flex Code
25874 status collapsed
25875
25876 \begin_layout Plain Layout
25877 DocBookAttr
25878 \end_layout
25879
25880 \end_inset
25881
25882  [
25883 \begin_inset Flex Code
25884 status collapsed
25885
25886 \begin_layout Plain Layout
25887 文字列
25888 \end_layout
25889
25890 \end_inset
25891
25892 ] メインタグに出力される属性情報を,
25893 上記の例の「
25894 \begin_inset Flex Code
25895 status collapsed
25896
25897 \begin_layout Plain Layout
25898 attr
25899 \end_layout
25900
25901 \end_inset
25902
25903 」の位置に指定します.この情報は,
25904 DocBookファイルの後処理に使用することができます.
25905 \end_layout
25906
25907 \begin_layout Description
25908 \begin_inset Flex Code
25909 status collapsed
25910
25911 \begin_layout Plain Layout
25912 DocBookInInfo
25913 \end_layout
25914
25915 \end_inset
25916
25917  [
25918 \begin_inset Flex Code
25919 status collapsed
25920
25921 \begin_layout Plain Layout
25922 never,
25923  always,
25924  maybe
25925 \end_layout
25926
25927 \end_inset
25928
25929 ] このタグを親レイアウトの最初にある
25930 \begin_inset Flex Code
25931 status collapsed
25932
25933 \begin_layout Plain Layout
25934 <info>
25935 \end_layout
25936
25937 \end_inset
25938
25939 タグの中に入れるかどうかを指定します.
25940 \begin_inset Flex Code
25941 status collapsed
25942
25943 \begin_layout Plain Layout
25944 never
25945 \end_layout
25946
25947 \end_inset
25948
25949 は,
25950 このタグを
25951 \begin_inset Flex Code
25952 status collapsed
25953
25954 \begin_layout Plain Layout
25955 <info>
25956 \end_layout
25957
25958 \end_inset
25959
25960 の中に決して入れないことを示します(これは既定値であり通常の内容に対応します).
25961 \begin_inset Flex Code
25962 status collapsed
25963
25964 \begin_layout Plain Layout
25965 always
25966 \end_layout
25967
25968 \end_inset
25969
25970 は,
25971 このタグを
25972 \begin_inset Flex Code
25973 status collapsed
25974
25975 \begin_layout Plain Layout
25976 <info>
25977 \end_layout
25978
25979 \end_inset
25980
25981 の中につねに入れることを示します(これは通常のメタデータに対応します).親に
25982 \begin_inset Flex Code
25983 status collapsed
25984
25985 \begin_layout Plain Layout
25986 <info>
25987 \end_layout
25988
25989 \end_inset
25990
25991 タグがない場合には生成
25992 \begin_inset Flex 圏点
25993 status open
25994
25995 \begin_layout Plain Layout
25996 されます
25997 \end_layout
25998
25999 \end_inset
26000
26001
26002 \begin_inset Flex Code
26003 status collapsed
26004
26005 \begin_layout Plain Layout
26006 maybe
26007 \end_layout
26008
26009 \end_inset
26010
26011 は,
26012 このタグを
26013 \begin_inset Flex Code
26014 status collapsed
26015
26016 \begin_layout Plain Layout
26017 <info>
26018 \end_layout
26019
26020 \end_inset
26021
26022 の中に入れるかもしれないことを示します(これは表題の場合にのみ該当します).親に
26023 \begin_inset Flex Code
26024 status collapsed
26025
26026 \begin_layout Plain Layout
26027 <info>
26028 \end_layout
26029
26030 \end_inset
26031
26032 タグがない場合には生成されることは
26033 \begin_inset Flex 圏点
26034 status open
26035
26036 \begin_layout Plain Layout
26037 ありません
26038 \end_layout
26039
26040 \end_inset
26041
26042 .対応するタグは,
26043 内容として直接出力されます.
26044 \end_layout
26045
26046 \begin_layout Description
26047 \begin_inset Flex Code
26048 status collapsed
26049
26050 \begin_layout Plain Layout
26051 DocBookItemAttr
26052 \end_layout
26053
26054 \end_inset
26055
26056  [
26057 \begin_inset Flex Code
26058 status collapsed
26059
26060 \begin_layout Plain Layout
26061 文字列
26062 \end_layout
26063
26064 \end_inset
26065
26066 ] 項目タグに出力される属性情報を,
26067 上記の例の「
26068 \begin_inset Flex Code
26069 status collapsed
26070
26071 \begin_layout Plain Layout
26072 itemattr
26073 \end_layout
26074
26075 \end_inset
26076
26077 」の位置に指定します.この情報は,
26078 DocBookファイルの後処理に使用することができます.
26079 \end_layout
26080
26081 \begin_layout Description
26082 \begin_inset Flex Code
26083 status collapsed
26084
26085 \begin_layout Plain Layout
26086 DocBookItemInnerAttr
26087 \end_layout
26088
26089 \end_inset
26090
26091  [
26092 \begin_inset Flex Code
26093 status collapsed
26094
26095 \begin_layout Plain Layout
26096 文字列
26097 \end_layout
26098
26099 \end_inset
26100
26101 ] 項目内部タグに出力される属性情報を,
26102 上記の例の「
26103 \begin_inset Flex Code
26104 status collapsed
26105
26106 \begin_layout Plain Layout
26107 iteminnerattr
26108 \end_layout
26109
26110 \end_inset
26111
26112 」の位置に指定します.この情報は,
26113 DocBookファイルの後処理に使用することができます.
26114 \end_layout
26115
26116 \begin_layout Description
26117 \begin_inset Flex Code
26118 status collapsed
26119
26120 \begin_layout Plain Layout
26121 DocBookItemInnerTag
26122 \end_layout
26123
26124 \end_inset
26125
26126  [
26127 \begin_inset Flex Code
26128 status collapsed
26129
26130 \begin_layout Plain Layout
26131 文字列
26132 \end_layout
26133
26134 \end_inset
26135
26136 ] 差込枠内部の項目内部タグに使用するタグ.上記の例の「
26137 \begin_inset Flex Code
26138 status collapsed
26139
26140 \begin_layout Plain Layout
26141 iteminnertag
26142 \end_layout
26143
26144 \end_inset
26145
26146 」の位置に出力します.既定値は
26147 \begin_inset Flex Code
26148 status collapsed
26149
26150 \begin_layout Plain Layout
26151 NONE
26152 \end_layout
26153
26154 \end_inset
26155
26156 で,
26157 項目内部タグがないことを示します.すなわち,
26158 各項目立て要素について,
26159 項目内部タグなしに中身が直接出力されます.このパラメーターは,
26160 箇条書きのように,
26161 項目立てレイアウトが使われているときのみ意味を持ちます.最もあり得る値は「
26162 \begin_inset Flex Code
26163 status collapsed
26164
26165 \begin_layout Plain Layout
26166 para
26167 \end_layout
26168
26169 \end_inset
26170
26171 」です.
26172 \begin_inset Newline newline
26173 \end_inset
26174
26175 箇条書き項目が新規行を使って分割される場合,
26176 項目内部タグは,
26177 新規行で分割される段落の各部分に対して個別に出力されます.
26178 \end_layout
26179
26180 \begin_layout Description
26181 \begin_inset Flex Code
26182 status collapsed
26183
26184 \begin_layout Plain Layout
26185 DocBookItemInnerTagType
26186 \end_layout
26187
26188 \end_inset
26189
26190  [
26191 \begin_inset Flex Code
26192 status collapsed
26193
26194 \begin_layout Plain Layout
26195 block
26196 \end_layout
26197
26198 \end_inset
26199
26200 ,
26201  
26202 \begin_inset Flex Code
26203 status collapsed
26204
26205 \begin_layout Plain Layout
26206 paragraph
26207 \end_layout
26208
26209 \end_inset
26210
26211 ,
26212  
26213 \begin_inset Flex Code
26214 status collapsed
26215
26216 \begin_layout Plain Layout
26217 inline
26218 \end_layout
26219
26220 \end_inset
26221
26222 ] このタグの新規行ポリシー.詳細は第
26223 \begin_inset CommandInset ref
26224 LatexCommand ref
26225 reference "subsec:新規行ポリシー"
26226 plural "false"
26227 caps "false"
26228 noprefix "false"
26229 nolink "false"
26230
26231 \end_inset
26232
26233 節を参照のこと.
26234 \end_layout
26235
26236 \begin_layout Description
26237 \begin_inset Flex Code
26238 status collapsed
26239
26240 \begin_layout Plain Layout
26241 DocBookItemLabelAttr
26242 \end_layout
26243
26244 \end_inset
26245
26246  [
26247 \begin_inset Flex Code
26248 status collapsed
26249
26250 \begin_layout Plain Layout
26251 文字列
26252 \end_layout
26253
26254 \end_inset
26255
26256 ] 項目ラベルタグに出力される属性情報を,
26257 上記の例の「
26258 \begin_inset Flex Code
26259 status collapsed
26260
26261 \begin_layout Plain Layout
26262 itemlabelattr
26263 \end_layout
26264
26265 \end_inset
26266
26267 」の位置に指定します.この情報は,
26268 DocBookファイルの後処理に使用することができます.
26269 \end_layout
26270
26271 \begin_layout Description
26272 \begin_inset Flex Code
26273 status collapsed
26274
26275 \begin_layout Plain Layout
26276 DocBookItemLabelTag
26277 \end_layout
26278
26279 \end_inset
26280
26281  [
26282 \begin_inset Flex Code
26283 status collapsed
26284
26285 \begin_layout Plain Layout
26286 文字列
26287 \end_layout
26288
26289 \end_inset
26290
26291 ] 差込枠内部の項目ラベルタグに使用するタグ.上記の例の「
26292 \begin_inset Flex Code
26293 status collapsed
26294
26295 \begin_layout Plain Layout
26296 itemlabeltag
26297 \end_layout
26298
26299 \end_inset
26300
26301 」の位置に出力します.このパラメーターは,
26302 定義リストのように,
26303 ラベルの概念を伴う項目立てレイアウトが使われているときのみ意味を持ちます.
26304 \end_layout
26305
26306 \begin_layout Description
26307 \begin_inset Flex Code
26308 status collapsed
26309
26310 \begin_layout Plain Layout
26311 DocBookItemLabelTagType
26312 \end_layout
26313
26314 \end_inset
26315
26316  [
26317 \begin_inset Flex Code
26318 status collapsed
26319
26320 \begin_layout Plain Layout
26321 block
26322 \end_layout
26323
26324 \end_inset
26325
26326 ,
26327  
26328 \begin_inset Flex Code
26329 status collapsed
26330
26331 \begin_layout Plain Layout
26332 paragraph
26333 \end_layout
26334
26335 \end_inset
26336
26337 ,
26338  
26339 \begin_inset Flex Code
26340 status collapsed
26341
26342 \begin_layout Plain Layout
26343 inline
26344 \end_layout
26345
26346 \end_inset
26347
26348 ] このタグの新規行ポリシー.詳細は第
26349 \begin_inset CommandInset ref
26350 LatexCommand ref
26351 reference "subsec:新規行ポリシー"
26352 plural "false"
26353 caps "false"
26354 noprefix "false"
26355 nolink "false"
26356
26357 \end_inset
26358
26359 節を参照のこと.
26360 \end_layout
26361
26362 \begin_layout Description
26363 \begin_inset Flex Code
26364 status collapsed
26365
26366 \begin_layout Plain Layout
26367 DocBookItemTag
26368 \end_layout
26369
26370 \end_inset
26371
26372  [
26373 \begin_inset Flex Code
26374 status collapsed
26375
26376 \begin_layout Plain Layout
26377 文字列
26378 \end_layout
26379
26380 \end_inset
26381
26382 ] 差込枠内部の項目タグに使用するタグ.上記の例の「
26383 \begin_inset Flex Code
26384 status collapsed
26385
26386 \begin_layout Plain Layout
26387 itemtag
26388 \end_layout
26389
26390 \end_inset
26391
26392 」の位置に出力します.既定値は
26393 \begin_inset Flex Code
26394 status collapsed
26395
26396 \begin_layout Plain Layout
26397 NONE
26398 \end_layout
26399
26400 \end_inset
26401
26402 で,
26403 項目タグがないことを示します.このパラメーターは,
26404 箇条書きのように,
26405 項目立てレイアウトが使われているときのみ意味を持ちます.
26406 \end_layout
26407
26408 \begin_layout Description
26409 \begin_inset Flex Code
26410 status collapsed
26411
26412 \begin_layout Plain Layout
26413 DocBookItemTagType
26414 \end_layout
26415
26416 \end_inset
26417
26418  [
26419 \begin_inset Flex Code
26420 status collapsed
26421
26422 \begin_layout Plain Layout
26423 block
26424 \end_layout
26425
26426 \end_inset
26427
26428 ,
26429  
26430 \begin_inset Flex Code
26431 status collapsed
26432
26433 \begin_layout Plain Layout
26434 paragraph
26435 \end_layout
26436
26437 \end_inset
26438
26439 ,
26440  
26441 \begin_inset Flex Code
26442 status collapsed
26443
26444 \begin_layout Plain Layout
26445 inline
26446 \end_layout
26447
26448 \end_inset
26449
26450 ] このタグの新規行ポリシー.詳細は第
26451 \begin_inset CommandInset ref
26452 LatexCommand ref
26453 reference "subsec:新規行ポリシー"
26454 plural "false"
26455 caps "false"
26456 noprefix "false"
26457 nolink "false"
26458
26459 \end_inset
26460
26461 節を参照のこと.
26462 \end_layout
26463
26464 \begin_layout Description
26465 \begin_inset Flex Code
26466 status collapsed
26467
26468 \begin_layout Plain Layout
26469 DocBookItemWrapperAttr
26470 \end_layout
26471
26472 \end_inset
26473
26474  [
26475 \begin_inset Flex Code
26476 status collapsed
26477
26478 \begin_layout Plain Layout
26479 文字列
26480 \end_layout
26481
26482 \end_inset
26483
26484 ] 項目ラッパータグに出力される属性情報を,
26485 上記の例の「
26486 \begin_inset Flex Code
26487 status collapsed
26488
26489 \begin_layout Plain Layout
26490 itemwrapperattr
26491 \end_layout
26492
26493 \end_inset
26494
26495 」の位置に指定します.この情報は,
26496 DocBookファイルの後処理に使用することができます.
26497 \end_layout
26498
26499 \begin_layout Description
26500 \begin_inset Flex Code
26501 status collapsed
26502
26503 \begin_layout Plain Layout
26504 DocBookItemWrapperTag
26505 \end_layout
26506
26507 \end_inset
26508
26509  [
26510 \begin_inset Flex Code
26511 status collapsed
26512
26513 \begin_layout Plain Layout
26514 文字列
26515 \end_layout
26516
26517 \end_inset
26518
26519 ] 差込枠内部の項目ラッパータグに使用するタグ.上記の例の「
26520 \begin_inset Flex Code
26521 status collapsed
26522
26523 \begin_layout Plain Layout
26524 itemwrappertag
26525 \end_layout
26526
26527 \end_inset
26528
26529 」の位置に出力します.既定値は
26530 \begin_inset Flex Code
26531 status collapsed
26532
26533 \begin_layout Plain Layout
26534 NONE
26535 \end_layout
26536
26537 \end_inset
26538
26539 で,
26540 項目ラッパータグがないことを示します.すなわち,
26541 各項目立て要素について,
26542 項目ラッパータグなしにタグと中身が直接出力されます.このパラメーターは,
26543 箇条書きのように,
26544 項目立てレイアウトが使われているときのみ意味を持ちます.
26545 \end_layout
26546
26547 \begin_layout Description
26548 \begin_inset Flex Code
26549 status collapsed
26550
26551 \begin_layout Plain Layout
26552 DocBookItemWrapperTagType
26553 \end_layout
26554
26555 \end_inset
26556
26557  [
26558 \begin_inset Flex Code
26559 status collapsed
26560
26561 \begin_layout Plain Layout
26562 block
26563 \end_layout
26564
26565 \end_inset
26566
26567 ,
26568  
26569 \begin_inset Flex Code
26570 status collapsed
26571
26572 \begin_layout Plain Layout
26573 paragraph
26574 \end_layout
26575
26576 \end_inset
26577
26578 ,
26579  
26580 \begin_inset Flex Code
26581 status collapsed
26582
26583 \begin_layout Plain Layout
26584 inline
26585 \end_layout
26586
26587 \end_inset
26588
26589 ] このタグの新規行ポリシー.詳細は第
26590 \begin_inset CommandInset ref
26591 LatexCommand ref
26592 reference "subsec:新規行ポリシー"
26593 plural "false"
26594 caps "false"
26595 noprefix "false"
26596 nolink "false"
26597
26598 \end_inset
26599
26600 節を参照のこと.
26601 \end_layout
26602
26603 \begin_layout Description
26604 \begin_inset Flex Code
26605 status collapsed
26606
26607 \begin_layout Plain Layout
26608 DocBookInnerAttr
26609 \end_layout
26610
26611 \end_inset
26612
26613  [
26614 \begin_inset Flex Code
26615 status collapsed
26616
26617 \begin_layout Plain Layout
26618 文字列
26619 \end_layout
26620
26621 \end_inset
26622
26623 ] 内部タグに出力される属性情報を,
26624 上記の例の「
26625 \begin_inset Flex Code
26626 status collapsed
26627
26628 \begin_layout Plain Layout
26629 innerattr
26630 \end_layout
26631
26632 \end_inset
26633
26634 」の位置に指定します.この情報は,
26635 DocBookファイルの後処理に使用することができます.
26636 \end_layout
26637
26638 \begin_layout Description
26639 \begin_inset Flex Code
26640 status collapsed
26641
26642 \begin_layout Plain Layout
26643 DocBookInnerTag
26644 \end_layout
26645
26646 \end_inset
26647
26648  [
26649 \begin_inset Flex Code
26650 status collapsed
26651
26652 \begin_layout Plain Layout
26653 文字列
26654 \end_layout
26655
26656 \end_inset
26657
26658 ] 差込枠内部の内部タグに使用するタグ.上記の例の「
26659 \begin_inset Flex Code
26660 status collapsed
26661
26662 \begin_layout Plain Layout
26663 innertag
26664 \end_layout
26665
26666 \end_inset
26667
26668 」の位置に出力します.既定値は
26669 \begin_inset Flex Code
26670 status collapsed
26671
26672 \begin_layout Plain Layout
26673 NONE
26674 \end_layout
26675
26676 \end_inset
26677
26678 で,
26679 内部タグがないことを示します.すなわち,
26680 内部タグなしに中身が直接出力されます.
26681 \end_layout
26682
26683 \begin_layout Description
26684 \begin_inset Flex Code
26685 status collapsed
26686
26687 \begin_layout Plain Layout
26688 DocBookInnerTagType
26689 \end_layout
26690
26691 \end_inset
26692
26693  [
26694 \begin_inset Flex Code
26695 status collapsed
26696
26697 \begin_layout Plain Layout
26698 block
26699 \end_layout
26700
26701 \end_inset
26702
26703 ,
26704  
26705 \begin_inset Flex Code
26706 status collapsed
26707
26708 \begin_layout Plain Layout
26709 paragraph
26710 \end_layout
26711
26712 \end_inset
26713
26714 ,
26715  
26716 \begin_inset Flex Code
26717 status collapsed
26718
26719 \begin_layout Plain Layout
26720 inline
26721 \end_layout
26722
26723 \end_inset
26724
26725 ] このタグの新規行ポリシー.詳細は第
26726 \begin_inset CommandInset ref
26727 LatexCommand ref
26728 reference "subsec:新規行ポリシー"
26729 plural "false"
26730 caps "false"
26731 noprefix "false"
26732 nolink "false"
26733
26734 \end_inset
26735
26736 節を参照のこと.
26737 \end_layout
26738
26739 \begin_layout Description
26740 \begin_inset Flex Code
26741 status collapsed
26742
26743 \begin_layout Plain Layout
26744 DocBookSectionTag
26745 \end_layout
26746
26747 \end_inset
26748
26749  [
26750 \begin_inset Flex Code
26751 status collapsed
26752
26753 \begin_layout Plain Layout
26754 文字列
26755 \end_layout
26756
26757 \end_inset
26758
26759 ] このタイプのセクションに対応するタグを指定します.このパラメーターは,
26760 セクショニング要素(部・章・節等)にのみ意味を持ちます.既定値は
26761 \begin_inset Flex Code
26762 status collapsed
26763
26764 \begin_layout Plain Layout
26765 section
26766 \end_layout
26767
26768 \end_inset
26769
26770 で,
26771 DocBookがセクショニングに他のものを使うときのみ上書きされます(典型的にはbookの部や章).
26772 \end_layout
26773
26774 \begin_layout Description
26775 \begin_inset Flex Code
26776 status collapsed
26777
26778 \begin_layout Plain Layout
26779 DocBookTag
26780 \end_layout
26781
26782 \end_inset
26783
26784  [
26785 \begin_inset Flex Code
26786 status collapsed
26787
26788 \begin_layout Plain Layout
26789 文字列
26790 \end_layout
26791
26792 \end_inset
26793
26794 ] この差込枠に使用するタグ.上記の例の「
26795 \begin_inset Flex Code
26796 status collapsed
26797
26798 \begin_layout Plain Layout
26799 tag
26800 \end_layout
26801
26802 \end_inset
26803
26804 」の位置に出力します.既定値はフロート名で,
26805 DocBookには一般的なタグはないので,
26806 つねに変更する必要があります.
26807 \end_layout
26808
26809 \begin_layout Description
26810 \begin_inset Flex Code
26811 status collapsed
26812
26813 \begin_layout Plain Layout
26814 DocBookTagType
26815 \end_layout
26816
26817 \end_inset
26818
26819  [
26820 \begin_inset Flex Code
26821 status collapsed
26822
26823 \begin_layout Plain Layout
26824 block
26825 \end_layout
26826
26827 \end_inset
26828
26829 ,
26830  
26831 \begin_inset Flex Code
26832 status collapsed
26833
26834 \begin_layout Plain Layout
26835 paragraph
26836 \end_layout
26837
26838 \end_inset
26839
26840 ,
26841  
26842 \begin_inset Flex Code
26843 status collapsed
26844
26845 \begin_layout Plain Layout
26846 inline
26847 \end_layout
26848
26849 \end_inset
26850
26851 ] このタグの新規行ポリシー.詳細は第
26852 \begin_inset CommandInset ref
26853 LatexCommand ref
26854 reference "subsec:新規行ポリシー"
26855 plural "false"
26856 caps "false"
26857 noprefix "false"
26858 nolink "false"
26859
26860 \end_inset
26861
26862 節を参照のこと.
26863 \end_layout
26864
26865 \begin_layout Description
26866 \begin_inset Flex Code
26867 status collapsed
26868
26869 \begin_layout Plain Layout
26870 DocBookWrapperAttr
26871 \end_layout
26872
26873 \end_inset
26874
26875  [
26876 \begin_inset Flex Code
26877 status collapsed
26878
26879 \begin_layout Plain Layout
26880 文字列
26881 \end_layout
26882
26883 \end_inset
26884
26885 ] 外部ラッパータグに出力される属性情報を,
26886 上記の例の「
26887 \begin_inset Flex Code
26888 status collapsed
26889
26890 \begin_layout Plain Layout
26891 wrapperattr
26892 \end_layout
26893
26894 \end_inset
26895
26896 」の位置に指定します.この情報は,
26897 DocBookファイルの後処理に使用することができます.
26898 \end_layout
26899
26900 \begin_layout Description
26901 \begin_inset Flex Code
26902 status collapsed
26903
26904 \begin_layout Plain Layout
26905 DocBookWrapperTag
26906 \end_layout
26907
26908 \end_inset
26909
26910  [
26911 \begin_inset Flex Code
26912 status collapsed
26913
26914 \begin_layout Plain Layout
26915 文字列
26916 \end_layout
26917
26918 \end_inset
26919
26920 ] 差込枠の周りのラッパータグに使用するタグ.上記の例の「
26921 \begin_inset Flex Code
26922 status collapsed
26923
26924 \begin_layout Plain Layout
26925 wrappertag
26926 \end_layout
26927
26928 \end_inset
26929
26930 」の位置に出力します.既定値は
26931 \begin_inset Flex Code
26932 status collapsed
26933
26934 \begin_layout Plain Layout
26935 NONE
26936 \end_layout
26937
26938 \end_inset
26939
26940 で,
26941 ラッパータグがないことを示します.すなわち,
26942 ラッパータグなしにタグと中身が直接出力されます.
26943 \end_layout
26944
26945 \begin_layout Description
26946 \begin_inset Flex Code
26947 status collapsed
26948
26949 \begin_layout Plain Layout
26950 DocBookWrapperTagType
26951 \end_layout
26952
26953 \end_inset
26954
26955  [
26956 \begin_inset Flex Code
26957 status collapsed
26958
26959 \begin_layout Plain Layout
26960 block
26961 \end_layout
26962
26963 \end_inset
26964
26965 ,
26966  
26967 \begin_inset Flex Code
26968 status collapsed
26969
26970 \begin_layout Plain Layout
26971 paragraph
26972 \end_layout
26973
26974 \end_inset
26975
26976 ,
26977  
26978 \begin_inset Flex Code
26979 status collapsed
26980
26981 \begin_layout Plain Layout
26982 inline
26983 \end_layout
26984
26985 \end_inset
26986
26987 ] このタグの新規行ポリシー.詳細は第
26988 \begin_inset CommandInset ref
26989 LatexCommand ref
26990 reference "subsec:新規行ポリシー"
26991 plural "false"
26992 caps "false"
26993 noprefix "false"
26994 nolink "false"
26995
26996 \end_inset
26997
26998 節を参照のこと.
26999 \end_layout
27000
27001 \begin_layout Subsection
27002 Float DocBook
27003 \end_layout
27004
27005 \begin_layout Standard
27006 フロートのDocBook出力もレイアウトファイルの情報によって制御されます.出力は以下の形を取ります.
27007 \end_layout
27008
27009 \begin_layout LyX-Code
27010 <tag attr>
27011 \end_layout
27012
27013 \begin_layout LyX-Code
27014  DocBookとしてのフロートの内容
27015 \end_layout
27016
27017 \begin_layout LyX-Code
27018 </tag>
27019 \end_layout
27020
27021 \begin_layout Standard
27022 キャプションは,
27023 存在するならば別の差込枠となり,
27024 表題とともに出力されます.
27025 \end_layout
27026
27027 \begin_layout Description
27028 \begin_inset Flex Code
27029 status collapsed
27030
27031 \begin_layout Plain Layout
27032 DocBookAttr
27033 \end_layout
27034
27035 \end_inset
27036
27037  [
27038 \begin_inset Flex Code
27039 status collapsed
27040
27041 \begin_layout Plain Layout
27042 文字列
27043 \end_layout
27044
27045 \end_inset
27046
27047 ] メインタグに出力される属性情報を,
27048 上記の例の「
27049 \begin_inset Flex Code
27050 status collapsed
27051
27052 \begin_layout Plain Layout
27053 attr
27054 \end_layout
27055
27056 \end_inset
27057
27058 」の位置に指定します.この情報は,
27059 DocBookファイルの後処理に使用することができます.
27060 \end_layout
27061
27062 \begin_layout Description
27063 \begin_inset Flex Code
27064 status collapsed
27065
27066 \begin_layout Plain Layout
27067 DocBookTag
27068 \end_layout
27069
27070 \end_inset
27071
27072  [
27073 \begin_inset Flex Code
27074 status collapsed
27075
27076 \begin_layout Plain Layout
27077 文字列
27078 \end_layout
27079
27080 \end_inset
27081
27082 ] このフロートに使用するタグ.上記の例の「
27083 \begin_inset Flex Code
27084 status collapsed
27085
27086 \begin_layout Plain Layout
27087 tag
27088 \end_layout
27089
27090 \end_inset
27091
27092 」の位置に出力します.既定値はフロート名で,
27093 DocBookには一般的なタグはないので,
27094 つねに変更する必要があります.
27095 \end_layout
27096
27097 \begin_layout Subsection
27098 書誌情報の組版
27099 \end_layout
27100
27101 \begin_layout Standard
27102 読み込んだ書誌情報は整形することができません.すなわち,
27103 フィールドはすべて,
27104
27105 \begin_inset Flex Code
27106 status collapsed
27107
27108 \begin_layout Plain Layout
27109 bibentry
27110 \end_layout
27111
27112 \end_inset
27113
27114 タグを使用して(BibTeXファイルと同等な)データベース型のDocBook形式でつねに出力されます.
27115 \end_layout
27116
27117 \begin_layout Standard
27118 書誌情報項目が,
27119 \SpecialChar LyX
27120 文書に書誌情報項目として手動で挿入されると,
27121 ユーザーはその整形を担当します.すなわち,
27122 ユーザーが書いたことを解析することは為されず,
27123 文字列は(
27124 \begin_inset Flex Code
27125 status collapsed
27126
27127 \begin_layout Plain Layout
27128 bibliomixed
27129 \end_layout
27130
27131 \end_inset
27132
27133 タグを用いて)直接に使用されます.
27134 \end_layout
27135
27136 \begin_layout Chapter
27137 外部素材を取り込む
27138 \begin_inset CommandInset label
27139 LatexCommand label
27140 name "chap:外部素材を取り込む"
27141
27142 \end_inset
27143
27144
27145 \end_layout
27146
27147 \begin_layout Standard
27148 \begin_inset Box Shadowbox
27149 position "t"
27150 hor_pos "c"
27151 has_inner_box 1
27152 inner_pos "t"
27153 use_parbox 0
27154 use_makebox 0
27155 width "100col%"
27156 special "none"
27157 height "1in"
27158 height_special "totalheight"
27159 thickness "0.4pt"
27160 separation "3pt"
27161 shadowsize "4pt"
27162 framecolor "black"
27163 backgroundcolor "none"
27164 status open
27165
27166 \begin_layout Plain Layout
27167 【警告】本説明書のこの部分は,
27168 しばらく更新されていません.もちろんまだ正確であることを期待していますが,
27169 保証の限りではありません.
27170 \end_layout
27171
27172 \end_inset
27173
27174
27175 \end_layout
27176
27177 \begin_layout Standard
27178 \SpecialChar LyX
27179 外部のソースから素材を使用する方法は,
27180 取扱説明書『
27181 \emph on
27182 埋込オブジェクト篇
27183 \emph default
27184 』で詳細にカバーされています.本章は,
27185 新種の素材を取り込む際に,
27186 舞台裏で何をする必要があるかをカバーします.
27187 \end_layout
27188
27189 \begin_layout Section
27190 どのように機能するのか
27191 \end_layout
27192
27193 \begin_layout Standard
27194 外部素材の機能は,
27195 ひな型の概念に基づいています.ひな型は,
27196 \SpecialChar LyX
27197 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,
27198 \SpecialChar LyX
27199 は,
27200 Xfigの図や,
27201 様々なラスター形式画像,
27202 チェス棋譜,
27203 LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
27204
27205 \begin_inset Flex MenuItem
27206 status collapsed
27207
27208 \begin_layout Plain Layout
27209 挿入\SpecialChar menuseparator
27210 ファイル\SpecialChar menuseparator
27211 外部素材
27212 \end_layout
27213
27214 \end_inset
27215
27216 メニューで見ることができます.さらに,
27217 特定の型の素材をサポートするのに,
27218 自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しますが,
27219 できればあなたが作ったすべてのひな型を投稿して,
27220 我々が\SpecialChar LyX
27221 の後の版に取り込むことができるようにしてくださることを希望します.
27222 \end_layout
27223
27224 \begin_layout Standard
27225 外部素材の機能におけるもう一つの基本的な発想は,
27226 最終素材の元となるオリジナルファイルと,
27227 書き出された文書や印刷された文書に取り込むための生成ファイルとを区別していることです.たとえば,
27228
27229 \begin_inset Flex Code
27230 status collapsed
27231
27232 \begin_layout Plain Layout
27233 Xfig
27234 \end_layout
27235
27236 \end_inset
27237
27238 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
27239
27240 \begin_inset Flex Code
27241 status collapsed
27242
27243 \begin_layout Plain Layout
27244 .fig
27245 \end_layout
27246
27247 \end_inset
27248
27249 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,
27250 作業が終われば
27251 \begin_inset Flex Code
27252 status collapsed
27253
27254 \begin_layout Plain Layout
27255 fig
27256 \end_layout
27257
27258 \end_inset
27259
27260 ファイルに保存します.この図をお使いの文書に取り込みたいときには,
27261 \SpecialChar LaTeX
27262 ファイルにそのままインクルードできるように,
27263
27264 \begin_inset Flex Code
27265 status collapsed
27266
27267 \begin_layout Plain Layout
27268 transfig
27269 \end_layout
27270
27271 \end_inset
27272
27273 を呼び出してPostScriptファイルを生成します.この場合には,
27274
27275 \begin_inset Flex Code
27276 status collapsed
27277
27278 \begin_layout Plain Layout
27279 .fig
27280 \end_layout
27281
27282 \end_inset
27283
27284 ファイルがオリジナルファイルであり,
27285 PostScriptファイルが生成ファイルになります.
27286 \end_layout
27287
27288 \begin_layout Standard
27289 この区別は,
27290 文書を執筆している最中に,
27291 素材を更新することができるようにするために重要です.さらに,
27292 これによって,
27293 複数の書き出し書式をサポートするために必要な柔軟性が提供されます.たとえば,
27294 平文テキストファイルの場合には,
27295 図を生のPostScriptファイルとして取り込むのは,
27296 とても褒められた発想とはいえません.むしろ,
27297 その図への参照だけを含めるか,
27298 最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
27299 の外部素材マネジメントは,
27300 \SpecialChar LyX
27301 がサポートする各書き出し書式別に仕分けしているので,
27302 ユーザがこれを行うことが可能となっています.
27303 \end_layout
27304
27305 \begin_layout Standard
27306 \SpecialChar LyX
27307 の外部素材マネジメントは,
27308 書き出し書式によって異なる生成物をサポートすることの他に,
27309 編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図の場合には,
27310 \SpecialChar LyX
27311 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,
27312 ダブルクリックすることで生成されたPostScriptファイルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,
27313 オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファイルブラウザをいじくり回す必要はないのです.このようにして,
27314 文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,
27315 最終的により生産性を上げることができるようになるのです.
27316 \end_layout
27317
27318 \begin_layout Section
27319 外用ひな型設定ファイル
27320 \end_layout
27321
27322 \begin_layout Standard
27323 \SpecialChar LyX
27324 に自製の外用ひな型を付け加えるのは,
27325 比較的簡単です.しかしながら,
27326 これを不用心に行ってしまうと,
27327 たいていの場合,
27328 簡単に濫用されてしまうようなセキュリティホールを作ってしまいがちであることを心に留めておいてください.したがって,
27329 これを実行に移す前に,
27330
27331 \begin_inset CommandInset ref
27332 LatexCommand ref
27333 reference "sec:セキュリティに関する論点"
27334 nolink "false"
27335
27336 \end_inset
27337
27338 のセキュリティに関する議論を読んでおいてください.
27339 \end_layout
27340
27341 \begin_layout Standard
27342 このことに言及した上で,
27343 あなたが作成した面白いひな型は,
27344 ぜひ投稿してください.
27345 \end_layout
27346
27347 \begin_layout Standard
27348 外用ひな型ファイルは,
27349
27350 \begin_inset Flex Code
27351 status collapsed
27352
27353 \begin_layout Plain Layout
27354 LyXDir/lib/xtemplates/
27355 \end_layout
27356
27357 \end_inset
27358
27359 ディレクトリ中にある
27360 \begin_inset Flex Code
27361 status collapsed
27362
27363 \begin_layout Plain Layout
27364 *.xtemplate
27365 \end_layout
27366
27367 \end_inset
27368
27369 ファイルに定義されています.各ひな型は,
27370 そのファイル完結で定義されています.自分専用のひな型を
27371 \begin_inset Flex Code
27372 status collapsed
27373
27374 \begin_layout Plain Layout
27375 UserDir/xtemplates/
27376 \end_layout
27377
27378 \end_inset
27379
27380 に置くこともできますし,
27381 既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
27382 \end_layout
27383
27384 \begin_layout Standard
27385 典型的なひな型は以下のようになります.
27386 \end_layout
27387
27388 \begin_layout LyX-Code
27389 Template XFig
27390 \end_layout
27391
27392 \begin_layout LyX-Code
27393 GuiName "XFig:
27394  $$AbsOrRelPathParent$$Basename"
27395 \end_layout
27396
27397 \begin_layout LyX-Code
27398 HelpText
27399 \end_layout
27400
27401 \begin_layout LyX-Code
27402 An XFig figure.
27403 \end_layout
27404
27405 \begin_layout LyX-Code
27406 HelpTextEnd
27407 \end_layout
27408
27409 \begin_layout LyX-Code
27410 InputFormat fig
27411 \end_layout
27412
27413 \begin_layout LyX-Code
27414 FileFilter "*.fig"
27415 \end_layout
27416
27417 \begin_layout LyX-Code
27418 AutomaticProduction true
27419 \end_layout
27420
27421 \begin_layout LyX-Code
27422 Transform Rotate
27423 \end_layout
27424
27425 \begin_layout LyX-Code
27426 Transform Resize
27427 \end_layout
27428
27429 \begin_layout LyX-Code
27430 Format LaTeX
27431 \end_layout
27432
27433 \begin_layout LyX-Code
27434 TransformCommand Rotate RotationLatexCommand
27435 \end_layout
27436
27437 \begin_layout LyX-Code
27438 TransformCommand Resize ResizeLatexCommand
27439 \end_layout
27440
27441 \begin_layout LyX-Code
27442 Product "$$RotateFront$$ResizeFront
27443 \end_layout
27444
27445 \begin_layout LyX-Code
27446          
27447 \backslash
27448
27449 \backslash
27450 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
27451 \end_layout
27452
27453 \begin_layout LyX-Code
27454          $$ResizeBack$$RotateBack"
27455 \end_layout
27456
27457 \begin_layout LyX-Code
27458 UpdateFormat pstex
27459 \end_layout
27460
27461 \begin_layout LyX-Code
27462 UpdateResult "$$AbsPath$$Basename.pstex_t"
27463 \end_layout
27464
27465 \begin_layout LyX-Code
27466 Requirement "graphicx"
27467 \end_layout
27468
27469 \begin_layout LyX-Code
27470 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27471 \end_layout
27472
27473 \begin_layout LyX-Code
27474 ReferencedFile latex "$$AbsPath$$Basename.eps"
27475 \end_layout
27476
27477 \begin_layout LyX-Code
27478 ReferencedFile dvi "$$AbsPath$$Basename.eps"
27479 \end_layout
27480
27481 \begin_layout LyX-Code
27482 FormatEnd
27483 \end_layout
27484
27485 \begin_layout LyX-Code
27486 Format PDFLaTeX
27487 \end_layout
27488
27489 \begin_layout LyX-Code
27490 TransformCommand Rotate RotationLatexCommand
27491 \end_layout
27492
27493 \begin_layout LyX-Code
27494 TransformCommand Resize ResizeLatexCommand
27495 \end_layout
27496
27497 \begin_layout LyX-Code
27498 Product "$$RotateFront$$ResizeFront
27499 \end_layout
27500
27501 \begin_layout LyX-Code
27502          
27503 \backslash
27504
27505 \backslash
27506 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
27507 \end_layout
27508
27509 \begin_layout LyX-Code
27510          $$ResizeBack$$RotateBack"
27511 \end_layout
27512
27513 \begin_layout LyX-Code
27514 UpdateFormat pdftex
27515 \end_layout
27516
27517 \begin_layout LyX-Code
27518 UpdateResult "$$AbsPath$$Basename.pdftex_t"
27519 \end_layout
27520
27521 \begin_layout LyX-Code
27522 Requirement "graphicx"
27523 \end_layout
27524
27525 \begin_layout LyX-Code
27526 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
27527 \end_layout
27528
27529 \begin_layout LyX-Code
27530 ReferencedFile latex "$$AbsPath$$Basename.pdf"
27531 \end_layout
27532
27533 \begin_layout LyX-Code
27534 FormatEnd
27535 \end_layout
27536
27537 \begin_layout LyX-Code
27538 Format Ascii
27539 \end_layout
27540
27541 \begin_layout LyX-Code
27542 Product "$$Contents(
27543 \backslash
27544 "$$AbsPath$$Basename.asc
27545 \backslash
27546 ")"
27547 \end_layout
27548
27549 \begin_layout LyX-Code
27550 UpdateFormat asciixfig
27551 \end_layout
27552
27553 \begin_layout LyX-Code
27554 UpdateResult "$$AbsPath$$Basename.asc"
27555 \end_layout
27556
27557 \begin_layout LyX-Code
27558 FormatEnd
27559 \end_layout
27560
27561 \begin_layout LyX-Code
27562 Format DocBook
27563 \end_layout
27564
27565 \begin_layout LyX-Code
27566 Product "<graphic fileref=
27567 \backslash
27568 "$$AbsOrRelPathMaster$$Basename.eps
27569 \backslash
27570 ">
27571 \end_layout
27572
27573 \begin_layout LyX-Code
27574          </graphic>"
27575 \end_layout
27576
27577 \begin_layout LyX-Code
27578 UpdateFormat eps
27579 \end_layout
27580
27581 \begin_layout LyX-Code
27582 UpdateResult "$$AbsPath$$Basename.eps"
27583 \end_layout
27584
27585 \begin_layout LyX-Code
27586 ReferencedFile docbook "$$AbsPath$$Basename.eps"
27587 \end_layout
27588
27589 \begin_layout LyX-Code
27590 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
27591 \end_layout
27592
27593 \begin_layout LyX-Code
27594 FormatEnd
27595 \end_layout
27596
27597 \begin_layout LyX-Code
27598 Product "[XFig:
27599  $$FName]"
27600 \end_layout
27601
27602 \begin_layout LyX-Code
27603 FormatEnd
27604 \end_layout
27605
27606 \begin_layout LyX-Code
27607 TemplateEnd
27608 \end_layout
27609
27610 \begin_layout Standard
27611 ご覧の通り,
27612 ひな型は
27613 \begin_inset Flex Code
27614 status collapsed
27615
27616 \begin_layout Plain Layout
27617 Template
27618 \end_layout
27619
27620 \end_inset
27621
27622  \SpecialChar ldots
27623  
27624 \begin_inset Flex Code
27625 status collapsed
27626
27627 \begin_layout Plain Layout
27628 TemplateEnd
27629 \end_layout
27630
27631 \end_inset
27632
27633 で閉じられます.ひな型には,
27634 一般的な設定を行うヘッダ部と,
27635 サポートされている主要な文書ファイル形式の設定を行う
27636 \begin_inset Flex Code
27637 status collapsed
27638
27639 \begin_layout Plain Layout
27640 Format
27641 \end_layout
27642
27643 \end_inset
27644
27645  \SpecialChar ldots
27646  
27647 \begin_inset Flex Code
27648 status collapsed
27649
27650 \begin_layout Plain Layout
27651 FormatEnd
27652 \end_layout
27653
27654 \end_inset
27655
27656 部があります.
27657 \end_layout
27658
27659 \begin_layout Subsection
27660 ひな型のヘッダ
27661 \end_layout
27662
27663 \begin_layout Description
27664 \begin_inset Flex Code
27665 status collapsed
27666
27667 \begin_layout Plain Layout
27668 AutomaticProduction
27669 \begin_inset space ~
27670 \end_inset
27671
27672 true|false
27673 \end_layout
27674
27675 \end_inset
27676
27677  このひな型で扱うファイルを\SpecialChar LyX
27678 が生成しなくてはならないか否か.このコマンドは,
27679 一度だけ必ず現れなくてはなりません.
27680 \end_layout
27681
27682 \begin_layout Description
27683 \begin_inset Flex Code
27684 status collapsed
27685
27686 \begin_layout Plain Layout
27687 FileFilter
27688 \begin_inset space ~
27689 \end_inset
27690
27691 <パターン>
27692 \end_layout
27693
27694 \end_inset
27695
27696  望むファイル群を表示するために,
27697 ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,
27698 tgifには
27699 \begin_inset Flex Code
27700 status collapsed
27701
27702 \begin_layout Plain Layout
27703 .obj
27704 \end_layout
27705
27706 \end_inset
27707
27708
27709 \begin_inset Flex Code
27710 status collapsed
27711
27712 \begin_layout Plain Layout
27713 .tgo
27714 \end_layout
27715
27716 \end_inset
27717
27718 があります),
27719
27720 \begin_inset Flex Code
27721 status collapsed
27722
27723 \begin_layout Plain Layout
27724 *.{obj,tgo}
27725 \end_layout
27726
27727 \end_inset
27728
27729 」の様なパターンを使用してください.このコマンドは,
27730 一度だけ必ず現れなくてはなりません.
27731 \end_layout
27732
27733 \begin_layout Description
27734 \begin_inset Flex Code
27735 status collapsed
27736
27737 \begin_layout Plain Layout
27738 GuiName
27739 \begin_inset space ~
27740 \end_inset
27741
27742 <GUI名>
27743 \end_layout
27744
27745 \end_inset
27746
27747  この文字列はボタン上に表示されます.このコマンドは,
27748 一度だけ必ず現れなくてはなりません.
27749 \end_layout
27750
27751 \begin_layout Description
27752 \begin_inset Flex Code
27753 status collapsed
27754
27755 \begin_layout Plain Layout
27756 HelpText
27757 \begin_inset space ~
27758 \end_inset
27759
27760 <文章>
27761 \begin_inset space ~
27762 \end_inset
27763
27764 HelpTextEnd
27765 \end_layout
27766
27767 \end_inset
27768
27769  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,
27770 ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,
27771 一度だけ必ず現れなくてはなりません.
27772 \end_layout
27773
27774 \begin_layout Description
27775 \begin_inset Flex Code
27776 status collapsed
27777
27778 \begin_layout Plain Layout
27779 InputFormat
27780 \begin_inset space ~
27781 \end_inset
27782
27783 <書式>
27784 \end_layout
27785
27786 \end_inset
27787
27788  オリジナルファイルのファイル形式.これは,
27789 \SpecialChar LyX
27790 が知っている書式名でなくてはなりません(
27791 \begin_inset CommandInset ref
27792 LatexCommand ref
27793 reference "sec:ファイル形式"
27794 nolink "false"
27795
27796 \end_inset
27797
27798 参照).このひな型が,
27799 2つ以上の書式のオリジナルファイルを取り扱える場合は,
27800
27801 \begin_inset Flex Code
27802 status collapsed
27803
27804 \begin_layout Plain Layout
27805 *
27806 \end_layout
27807
27808 \end_inset
27809
27810 」を使用してください.この場合,
27811 \SpecialChar LyX
27812 はファイル形式を推定するために,
27813 ファイル自体に詮索を試みます.このコマンドは,
27814 一度だけ必ず現れなくてはなりません.
27815 \end_layout
27816
27817 \begin_layout Description
27818 \begin_inset Flex Code
27819 status collapsed
27820
27821 \begin_layout Plain Layout
27822 Template
27823 \begin_inset space ~
27824 \end_inset
27825
27826 <ID>
27827 \end_layout
27828
27829 \end_inset
27830
27831  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
27832 \end_layout
27833
27834 \begin_layout Description
27835 \begin_inset Flex Code
27836 status collapsed
27837
27838 \begin_layout Plain Layout
27839 Transform
27840 \begin_inset space ~
27841 \end_inset
27842
27843 Rotate|Resize|Clip|Extra
27844 \end_layout
27845
27846 \end_inset
27847
27848  このコマンドは,
27849 このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,
27850 外部素材ダイアログ中の対応するタブを使用可能にします.
27851 \begin_inset Flex Code
27852 status collapsed
27853
27854 \begin_layout Plain Layout
27855 Transform
27856 \end_layout
27857
27858 \end_inset
27859
27860 コマンド一つずつに応じて,
27861
27862 \begin_inset Flex Code
27863 status collapsed
27864
27865 \begin_layout Plain Layout
27866 Format
27867 \end_layout
27868
27869 \end_inset
27870
27871 部に,
27872 対応する
27873 \begin_inset Flex Code
27874 status collapsed
27875
27876 \begin_layout Plain Layout
27877 TransformCommand
27878 \end_layout
27879
27880 \end_inset
27881
27882 コマンドか
27883 \begin_inset Flex Code
27884 status collapsed
27885
27886 \begin_layout Plain Layout
27887 TransformOption
27888 \end_layout
27889
27890 \end_inset
27891
27892 コマンドを置かなくてはなりません.これを行わないと,
27893 この書式での変換はサポートされません.
27894 \end_layout
27895
27896 \begin_layout Subsection
27897 \begin_inset Flex Code
27898 status collapsed
27899
27900 \begin_layout Plain Layout
27901 Format
27902 \end_layout
27903
27904 \end_inset
27905
27906
27907 \end_layout
27908
27909 \begin_layout Description
27910 \begin_inset Flex Code
27911 status collapsed
27912
27913 \begin_layout Plain Layout
27914 Format
27915 \begin_inset space ~
27916 \end_inset
27917
27918 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
27919 \end_layout
27920
27921 \end_inset
27922
27923  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,
27924 全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,
27925 全書式に対して
27926 \begin_inset Flex Code
27927 status collapsed
27928
27929 \begin_layout Plain Layout
27930 Format
27931 \end_layout
27932
27933 \end_inset
27934
27935 部を定義してください.表示する方法がないときは,
27936 ダミーテキストを使用してください.これによって,
27937 書き出した文書内で,
27938 少なくとも外部素材への参照を見ることができるようになります.
27939 \end_layout
27940
27941 \begin_layout Description
27942 \begin_inset Flex Code
27943 status collapsed
27944
27945 \begin_layout Plain Layout
27946 Option
27947 \begin_inset space ~
27948 \end_inset
27949
27950 <名称>
27951 \begin_inset space ~
27952 \end_inset
27953
27954 <値>
27955 \end_layout
27956
27957 \end_inset
27958
27959  このコマンドは,
27960
27961 \begin_inset Flex Code
27962 status collapsed
27963
27964 \begin_layout Plain Layout
27965 Product
27966 \end_layout
27967
27968 \end_inset
27969
27970 での代入に使うマクロ
27971 \begin_inset Flex Code
27972 status collapsed
27973
27974 \begin_layout Plain Layout
27975 $$<名称>
27976 \end_layout
27977
27978 \end_inset
27979
27980 を新たに定義します.
27981 \begin_inset Flex Code
27982 status collapsed
27983
27984 \begin_layout Plain Layout
27985 <値>
27986 \end_layout
27987
27988 \end_inset
27989
27990 自体にも代入マクロを使うことができます.
27991 \begin_inset Flex Code
27992 status collapsed
27993
27994 \begin_layout Plain Layout
27995 Product
27996 \end_layout
27997
27998 \end_inset
27999
28000
28001 \begin_inset Flex Code
28002 status collapsed
28003
28004 \begin_layout Plain Layout
28005 <値>
28006 \end_layout
28007
28008 \end_inset
28009
28010 を直接使用するよりも優れた点は,
28011
28012 \begin_inset Flex Code
28013 status collapsed
28014
28015 \begin_layout Plain Layout
28016 $$<名称>
28017 \end_layout
28018
28019 \end_inset
28020
28021 に代入された値が,
28022 その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
28023 \end_layout
28024
28025 \begin_layout Description
28026 \begin_inset Flex Code
28027 status collapsed
28028
28029 \begin_layout Plain Layout
28030 Product
28031 \begin_inset space ~
28032 \end_inset
28033
28034 <文>
28035 \end_layout
28036
28037 \end_inset
28038
28039  書き出された文書に挿入される文.実のところ,
28040 これが最も重要なコマンドであり,
28041 とても複雑になることがあります.このコマンドは,
28042 一度だけ必ず現れなくてはなりません.
28043 \end_layout
28044
28045 \begin_layout Description
28046 \begin_inset Flex Code
28047 status collapsed
28048
28049 \begin_layout Plain Layout
28050 Preamble
28051 \begin_inset space ~
28052 \end_inset
28053
28054 <名称>
28055 \end_layout
28056
28057 \end_inset
28058
28059  このコマンドは,
28060 \SpecialChar LaTeX
28061 プリアンブルに入れるプリアンブル片を指定します.これは
28062 \begin_inset Flex Code
28063 status collapsed
28064
28065 \begin_layout Plain Layout
28066 PreambleDef
28067 \end_layout
28068
28069 \end_inset
28070
28071  \SpecialChar ldots
28072  
28073 \begin_inset Flex Code
28074 status collapsed
28075
28076 \begin_layout Plain Layout
28077 PreambleDefEnd
28078 \end_layout
28079
28080 \end_inset
28081
28082 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
28083 \end_layout
28084
28085 \begin_layout Description
28086 \begin_inset Flex Code
28087 status collapsed
28088
28089 \begin_layout Plain Layout
28090 ReferencedFile
28091 \begin_inset space ~
28092 \end_inset
28093
28094 <書式>
28095 \begin_inset space ~
28096 \end_inset
28097
28098 <ファイル名>
28099 \end_layout
28100
28101 \end_inset
28102
28103  このコマンドは,
28104 変換過程で生成され,
28105 特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,
28106 親文書に対する相対パスとして解釈されます.このコマンドは全く登場しなくても1回以上現れても構いません.
28107 \end_layout
28108
28109 \begin_layout Description
28110 \begin_inset Flex Code
28111 status collapsed
28112
28113 \begin_layout Plain Layout
28114 Requirement
28115 \begin_inset space ~
28116 \end_inset
28117
28118 <package>
28119 \end_layout
28120
28121 \end_inset
28122
28123  必要とされる\SpecialChar LaTeX
28124 パッケージ名.パッケージは,
28125 \SpecialChar LaTeX
28126 プリアンブル中で
28127 \begin_inset Flex Code
28128 status collapsed
28129
28130 \begin_layout Plain Layout
28131
28132 \backslash
28133 usepackage{}
28134 \end_layout
28135
28136 \end_inset
28137
28138 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
28139 \end_layout
28140
28141 \begin_layout Description
28142 \begin_inset Flex Code
28143 status collapsed
28144
28145 \begin_layout Plain Layout
28146 TransformCommand
28147 \begin_inset space ~
28148 \end_inset
28149
28150 Rotate
28151 \begin_inset space ~
28152 \end_inset
28153
28154 RotationLatexCommand
28155 \end_layout
28156
28157 \end_inset
28158
28159  このコマンドは,
28160 回転用に,
28161 組み込みの\SpecialChar LaTeX
28162 コマンドを使用するように指定します.このコマンドは,
28163 1回現れても全く現れなくても構いません.
28164 \end_layout
28165
28166 \begin_layout Description
28167 \begin_inset Flex Code
28168 status collapsed
28169
28170 \begin_layout Plain Layout
28171 TransformCommand
28172 \begin_inset space ~
28173 \end_inset
28174
28175 Resize
28176 \begin_inset space ~
28177 \end_inset
28178
28179 ResizeLatexCommand
28180 \end_layout
28181
28182 \end_inset
28183
28184  このコマンドは,
28185 伸縮用に,
28186 組み込みの\SpecialChar LaTeX
28187 コマンドを使用するように指定します.このコマンドは,
28188 1回現れても全く現れなくても構いません.
28189 \end_layout
28190
28191 \begin_layout Description
28192 \begin_inset Flex Code
28193 status collapsed
28194
28195 \begin_layout Plain Layout
28196 TransformOption
28197 \begin_inset space ~
28198 \end_inset
28199
28200 Rotate
28201 \begin_inset space ~
28202 \end_inset
28203
28204 RotationLatexOption
28205 \end_layout
28206
28207 \end_inset
28208
28209  このコマンドは,
28210 回転が非必須引数を通じて行われるように指定します.このコマンドは,
28211 1回現れても全く現れなくても構いません.
28212 \end_layout
28213
28214 \begin_layout Description
28215 \begin_inset Flex Code
28216 status collapsed
28217
28218 \begin_layout Plain Layout
28219 TransformOption
28220 \begin_inset space ~
28221 \end_inset
28222
28223 Resize
28224 \begin_inset space ~
28225 \end_inset
28226
28227 ResizeLatexOption
28228 \end_layout
28229
28230 \end_inset
28231
28232  このコマンドは,
28233 伸縮が非必須引数を通じて行われるように指定します.このコマンドは,
28234 1回現れても全く現れなくても構いません.
28235 \end_layout
28236
28237 \begin_layout Description
28238 \begin_inset Flex Code
28239 status collapsed
28240
28241 \begin_layout Plain Layout
28242 TransformOption
28243 \begin_inset space ~
28244 \end_inset
28245
28246 Clip
28247 \begin_inset space ~
28248 \end_inset
28249
28250 ClipLatexOption
28251 \end_layout
28252
28253 \end_inset
28254
28255  このコマンドは,
28256 切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,
28257 1回現れても全く現れなくても構いません.
28258 \end_layout
28259
28260 \begin_layout Description
28261 \begin_inset Flex Code
28262 status collapsed
28263
28264 \begin_layout Plain Layout
28265 TransformOption
28266 \begin_inset space ~
28267 \end_inset
28268
28269 Extra
28270 \begin_inset space ~
28271 \end_inset
28272
28273 ExtraLatexOption
28274 \end_layout
28275
28276 \end_inset
28277
28278  このコマンドは,
28279 追加の非必須引数を使用することを指定します.このコマンドは,
28280 1回現れても全く現れなくても構いません.
28281 \end_layout
28282
28283 \begin_layout Description
28284 \begin_inset Flex Code
28285 status collapsed
28286
28287 \begin_layout Plain Layout
28288 UpdateFormat
28289 \begin_inset space ~
28290 \end_inset
28291
28292 <書式>
28293 \end_layout
28294
28295 \end_inset
28296
28297  変換されたファイルのファイル形式.これは,
28298 \SpecialChar LyX
28299 が知っている書式名でなくてはなりません(
28300 \begin_inset Flex MenuItem
28301 status collapsed
28302
28303 \begin_layout Plain Layout
28304 ツール\SpecialChar menuseparator
28305 設定\SpecialChar menuseparator
28306 ファイル処理\SpecialChar menuseparator
28307 ファイル書式
28308 \end_layout
28309
28310 \end_inset
28311
28312 ダイアログを参照).このコマンドは,
28313 一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,
28314 書式
28315 \begin_inset Flex Code
28316 status collapsed
28317
28318 \begin_layout Plain Layout
28319 pdf6
28320 \end_layout
28321
28322 \end_inset
28323
28324 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
28325 \end_layout
28326
28327 \begin_layout Description
28328 \begin_inset Flex Code
28329 status collapsed
28330
28331 \begin_layout Plain Layout
28332 UpdateResult
28333 \begin_inset space ~
28334 \end_inset
28335
28336 <ファイル名>
28337 \end_layout
28338
28339 \end_inset
28340
28341  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,
28342 一度だけ必ず現れなくてはなりません.
28343 \end_layout
28344
28345 \begin_layout Subsection
28346 プリアンブルの定義
28347 \end_layout
28348
28349 \begin_layout Standard
28350 外用ひな型設定ファイルには,
28351
28352 \begin_inset Flex Code
28353 status collapsed
28354
28355 \begin_layout Plain Layout
28356 PreambleDef
28357 \end_layout
28358
28359 \end_inset
28360
28361  \SpecialChar ldots
28362  
28363 \begin_inset Flex Code
28364 status collapsed
28365
28366 \begin_layout Plain Layout
28367 PreambleDefEnd
28368 \end_layout
28369
28370 \end_inset
28371
28372 で囲んだプリアンブル定義を追加することができます.これらの定義は,
28373 ひな型の
28374 \begin_inset Flex Code
28375 status collapsed
28376
28377 \begin_layout Plain Layout
28378 Format
28379 \end_layout
28380
28381 \end_inset
28382
28383 部で使用することができます.
28384 \end_layout
28385
28386 \begin_layout Section
28387 代入機構
28388 \end_layout
28389
28390 \begin_layout Standard
28391 外部素材機構が外部プログラムを呼び出すときには,
28392 ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,
28393 実行前に展開されるマクロをいろいろ入れることができます.実行は,
28394 つねに元の文書があるディレクトリで行われます.
28395 \end_layout
28396
28397 \begin_layout Standard
28398 また,
28399 外部素材が表示されるときにはいつでも,
28400 その名称は代入機構によって組み立てられ,
28401 ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
28402 \end_layout
28403
28404 \begin_layout Standard
28405 使用できるマクロは以下の通りです.
28406 \end_layout
28407
28408 \begin_layout Description
28409 \begin_inset Flex Code
28410 status collapsed
28411
28412 \begin_layout Plain Layout
28413 $$AbsOrRelPathMaster
28414 \end_layout
28415
28416 \end_inset
28417
28418  \SpecialChar LyX
28419 親文書への絶対ファイルパスないしは相対ファイルパス
28420 \end_layout
28421
28422 \begin_layout Description
28423 \begin_inset Flex Code
28424 status collapsed
28425
28426 \begin_layout Plain Layout
28427 $$AbsOrRelPathParent
28428 \end_layout
28429
28430 \end_inset
28431
28432  \SpecialChar LyX
28433 文書への絶対ファイルパスないしは相対ファイルパス
28434 \end_layout
28435
28436 \begin_layout Description
28437 \begin_inset Flex Code
28438 status collapsed
28439
28440 \begin_layout Plain Layout
28441 $$AbsPath
28442 \end_layout
28443
28444 \end_inset
28445
28446  絶対ファイルパス
28447 \end_layout
28448
28449 \begin_layout Description
28450 \begin_inset Flex Code
28451 status collapsed
28452
28453 \begin_layout Plain Layout
28454 $$Basename
28455 \end_layout
28456
28457 \end_inset
28458
28459  パスおよび拡張子を除いたファイル名
28460 \end_layout
28461
28462 \begin_layout Description
28463 \begin_inset Flex Code
28464 status collapsed
28465
28466 \begin_layout Plain Layout
28467 $$Contents(
28468 \begin_inset Quotes eld
28469 \end_inset
28470
28471 filename.ext
28472 \begin_inset Quotes erd
28473 \end_inset
28474
28475 )
28476 \end_layout
28477
28478 \end_inset
28479
28480  このマクロは,
28481
28482 \begin_inset Flex Code
28483 status collapsed
28484
28485 \begin_layout Plain Layout
28486 filename.ext
28487 \end_layout
28488
28489 \end_inset
28490
28491 と云う名のファイルの中身を展開します.
28492 \end_layout
28493
28494 \begin_layout Description
28495 \begin_inset Flex Code
28496 status collapsed
28497
28498 \begin_layout Plain Layout
28499 $$Extension
28500 \end_layout
28501
28502 \end_inset
28503
28504  ファイル拡張子(点を含む)
28505 \end_layout
28506
28507 \begin_layout Description
28508 \begin_inset Flex Code
28509 status collapsed
28510
28511 \begin_layout Plain Layout
28512 $$pngOrjpg
28513 \end_layout
28514
28515 \end_inset
28516
28517  これは,
28518 ファイルがJPEG形式の場合は,
28519 文字列「jpg」となり,
28520 それ以外では文字列「png」となります.これは,
28521 PNG形式とJPEG形式の両方をサポートする出力形式に対して,
28522 不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,
28523 pdf\SpecialChar TeX
28524 出力形式に対してこのマクロを使用します.
28525 \end_layout
28526
28527 \begin_layout Description
28528 \begin_inset Flex Code
28529 status collapsed
28530
28531 \begin_layout Plain Layout
28532 $$FName
28533 \end_layout
28534
28535 \end_inset
28536
28537  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
28538 文書への絶対パスでも良いですし,
28539 相対パスでも構いません.
28540 \end_layout
28541
28542 \begin_layout Description
28543 \begin_inset Flex Code
28544 status collapsed
28545
28546 \begin_layout Plain Layout
28547 $$FPath
28548 \end_layout
28549
28550 \end_inset
28551
28552  
28553 \begin_inset Flex Code
28554 status collapsed
28555
28556 \begin_layout Plain Layout
28557 $$FName
28558 \end_layout
28559
28560 \end_inset
28561
28562 のパス部分(\SpecialChar LyX
28563 文書への絶対パス名か相対パス名)
28564 \end_layout
28565
28566 \begin_layout Description
28567 \begin_inset Flex Code
28568 status collapsed
28569
28570 \begin_layout Plain Layout
28571 $$RelPathMaster
28572 \end_layout
28573
28574 \end_inset
28575
28576  \SpecialChar LyX
28577 親文書への相対ファイルパス
28578 \end_layout
28579
28580 \begin_layout Description
28581 \begin_inset Flex Code
28582 status collapsed
28583
28584 \begin_layout Plain Layout
28585 $$RelPathParent
28586 \end_layout
28587
28588 \end_inset
28589
28590  \SpecialChar LyX
28591 文書への相対ファイルパス
28592 \end_layout
28593
28594 \begin_layout Description
28595 \begin_inset Flex Code
28596 status collapsed
28597
28598 \begin_layout Plain Layout
28599 $$Sysdir
28600 \end_layout
28601
28602 \end_inset
28603
28604  このマクロは,
28605 システムディレクトリの絶対パスを展開します.これは,
28606 典型的には,
28607 \SpecialChar LyX
28608 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
28609 \end_layout
28610
28611 \begin_layout Description
28612 \begin_inset Flex Code
28613 status collapsed
28614
28615 \begin_layout Plain Layout
28616 $$Tempname
28617 \end_layout
28618
28619 \end_inset
28620
28621  元の文書が閉じられたり,
28622 挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
28623 \end_layout
28624
28625 \begin_layout Standard
28626 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,
28627 たとえば絶対パスのファイル名を 
28628 \begin_inset Flex Code
28629 status collapsed
28630
28631 \begin_layout Plain Layout
28632 $$AbsPath$$Basename$$Extension
28633 \end_layout
28634
28635 \end_inset
28636
28637 のようにして作ることができます.
28638 \end_layout
28639
28640 \begin_layout Standard
28641 上記マクロは,
28642 特記しない限りはすべてのコマンドで代入が行われます.
28643 \begin_inset Flex Code
28644 status collapsed
28645
28646 \begin_layout Plain Layout
28647 Transform
28648 \end_layout
28649
28650 \end_inset
28651
28652 コマンドと
28653 \begin_inset Flex Code
28654 status collapsed
28655
28656 \begin_layout Plain Layout
28657 TransformCommand
28658 \end_layout
28659
28660 \end_inset
28661
28662 コマンドが有効にされている場合,
28663
28664 \begin_inset Flex Code
28665 status collapsed
28666
28667 \begin_layout Plain Layout
28668 Product
28669 \end_layout
28670
28671 \end_inset
28672
28673 コマンドは,
28674 これらに加えて以下の代入もサポートします.
28675 \end_layout
28676
28677 \begin_layout Description
28678 \begin_inset Flex Code
28679 status collapsed
28680
28681 \begin_layout Plain Layout
28682 $$ResizeFront
28683 \end_layout
28684
28685 \end_inset
28686
28687  伸縮コマンドの前置部.
28688 \end_layout
28689
28690 \begin_layout Description
28691 \begin_inset Flex Code
28692 status collapsed
28693
28694 \begin_layout Plain Layout
28695 $$ResizeBack
28696 \end_layout
28697
28698 \end_inset
28699
28700  伸縮コマンドの後置部.
28701 \end_layout
28702
28703 \begin_layout Description
28704 \begin_inset Flex Code
28705 status collapsed
28706
28707 \begin_layout Plain Layout
28708 $$RotateFront
28709 \end_layout
28710
28711 \end_inset
28712
28713  回転コマンドの前置部.
28714 \end_layout
28715
28716 \begin_layout Description
28717 \begin_inset Flex Code
28718 status collapsed
28719
28720 \begin_layout Plain Layout
28721 $$RotateBack
28722 \end_layout
28723
28724 \end_inset
28725
28726  回転コマンドの後置部.
28727 \end_layout
28728
28729 \begin_layout Standard
28730 \begin_inset Flex Code
28731 status collapsed
28732
28733 \begin_layout Plain Layout
28734 Option
28735 \end_layout
28736
28737 \end_inset
28738
28739 コマンドの値に入れる文字列では,
28740
28741 \begin_inset Flex Code
28742 status collapsed
28743
28744 \begin_layout Plain Layout
28745 Transform
28746 \end_layout
28747
28748 \end_inset
28749
28750 コマンドと
28751 \begin_inset Flex Code
28752 status collapsed
28753
28754 \begin_layout Plain Layout
28755 TransformOption
28756 \end_layout
28757
28758 \end_inset
28759
28760 コマンドが有効にされていれば,
28761 以下の代入もサポートされます.
28762 \end_layout
28763
28764 \begin_layout Description
28765 \begin_inset Flex Code
28766 status collapsed
28767
28768 \begin_layout Plain Layout
28769 $$Clip
28770 \end_layout
28771
28772 \end_inset
28773
28774  切り抜きオプション.
28775 \end_layout
28776
28777 \begin_layout Description
28778 \begin_inset Flex Code
28779 status collapsed
28780
28781 \begin_layout Plain Layout
28782 $$Extra
28783 \end_layout
28784
28785 \end_inset
28786
28787  追加オプション.
28788 \end_layout
28789
28790 \begin_layout Description
28791 \begin_inset Flex Code
28792 status collapsed
28793
28794 \begin_layout Plain Layout
28795 $$Resize
28796 \end_layout
28797
28798 \end_inset
28799
28800  伸縮オプション.
28801 \end_layout
28802
28803 \begin_layout Description
28804 \begin_inset Flex Code
28805 status collapsed
28806
28807 \begin_layout Plain Layout
28808 $$Rotate
28809 \end_layout
28810
28811 \end_inset
28812
28813  回転オプション.
28814 \end_layout
28815
28816 \begin_layout Standard
28817 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
28818 \end_layout
28819
28820 \begin_layout Enumerate
28821 相対ファイル名と絶対ファイル名は,
28822 それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえば相対名は,
28823 いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,
28824 プログラムによっては必要とされることがあり得ます.
28825 \end_layout
28826
28827 \begin_layout Enumerate
28828 \SpecialChar LaTeX
28829 は,
28830 相対ファイル名に関して,
28831 \SpecialChar LyX
28832 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
28833 にとって相対ファイル名とは,
28834 常にこのファイル名が書かれている文書に対して相対的なものになります.\SpecialChar LaTeX
28835 にとっての相対ファイル名は,
28836 常に親文書に対するものになります.これら二つの定義は,
28837 一つの文書しかないときには同じですが,
28838 部分文書を含む親文書があるときには異なったものとなってきます.つまり,
28839 相対ファイル名は,
28840 \SpecialChar LaTeX
28841 に提示されるときに変換されなくてはならないのです.幸い,
28842 正しいマクロを選びさえすれば,
28843 これは\SpecialChar LyX
28844 が自動的に行ってくれます.
28845 \end_layout
28846
28847 \begin_layout Standard
28848 すると,
28849 新しく作ったひな型定義では,
28850 どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
28851
28852 \end_layout
28853
28854 \begin_layout Itemize
28855 絶対パスが必要とされるときには
28856 \begin_inset Flex Code
28857 status collapsed
28858
28859 \begin_layout Plain Layout
28860 $$AbsPath
28861 \end_layout
28862
28863 \end_inset
28864
28865 を使う.
28866 \end_layout
28867
28868 \begin_layout Itemize
28869 代入された文字列が,
28870 \SpecialChar LaTeX
28871 インプットの一種である場合には,
28872
28873 \begin_inset Flex Code
28874 status collapsed
28875
28876 \begin_layout Plain Layout
28877 $$AbsOrRelPathMaster
28878 \end_layout
28879
28880 \end_inset
28881
28882 を使う.
28883 \end_layout
28884
28885 \begin_layout Itemize
28886 それ以外ならば,
28887 ユーザの選択を尊重するために
28888 \begin_inset Flex Code
28889 status collapsed
28890
28891 \begin_layout Plain Layout
28892 $$AbsOrRelPathParent
28893 \end_layout
28894
28895 \end_inset
28896
28897 を使う.
28898 \end_layout
28899
28900 \begin_layout Standard
28901 このルールが機能せずに,
28902 たとえば相対名が必要となる特殊な場合もありますが,
28903 通常,
28904 上記でうまく動作します.特殊例の例としては,
28905 上述のXFigひな型での
28906 \begin_inset Flex Code
28907 status collapsed
28908
28909 \begin_layout Plain Layout
28910 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
28911 \end_layout
28912
28913 \end_inset
28914
28915 というコマンドがあります.この場合,
28916
28917 \begin_inset Flex Code
28918 status collapsed
28919
28920 \begin_layout Plain Layout
28921 .pstex_t
28922 \end_layout
28923
28924 \end_inset
28925
28926 ファイルの複写子は,
28927 ファイル内容を書き換えるのに相対名を必要とするために,
28928 絶対名を使用することができないのです.
28929 \end_layout
28930
28931 \begin_layout Section
28932 セキュリティに関する論点
28933 \begin_inset CommandInset label
28934 LatexCommand label
28935 name "sec:セキュリティに関する論点"
28936
28937 \end_inset
28938
28939
28940 \end_layout
28941
28942 \begin_layout Standard
28943 外部素材機能は,
28944 多くの外部プログラムとの橋渡しをし,
28945 しかもそれを自動的に行うので,
28946 そのセキュリティ面での帰結を考慮しなくてはなりません.特に,
28947 ユーザは好きなファイル名やパラメータ文字列を含めることが許されていて,
28948 しかもそれらがコマンドに展開されるので,
28949 ユーザが文書を閲覧したり印刷したりしたときに,
28950 任意のコマンドを実行することができるような悪意ある文書を作成することが可能となりましょう.これは,
28951 我々がぜひとも避けたいことなのです.
28952 \end_layout
28953
28954 \begin_layout Standard
28955 しかしながら,
28956 外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,
28957 \SpecialChar LyX
28958 が安全なひな型でのみ適切に設定されているならば,
28959 セキュリティ上の問題は発生しません.これは,
28960 外部プログラムが
28961 \begin_inset Flex Code
28962 status collapsed
28963
28964 \begin_layout Plain Layout
28965 system
28966 \end_layout
28967
28968 \end_inset
28969
28970 システムコールではなく,
28971
28972 \begin_inset Flex Code
28973 status collapsed
28974
28975 \begin_layout Plain Layout
28976 execvp
28977 \end_layout
28978
28979 \end_inset
28980
28981 システムコールで呼び出されているため,
28982 ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
28983 \end_layout
28984
28985 \begin_layout Standard
28986 これは,
28987 外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,
28988 制限があることを意味します.特に,
28989 パイプやリダイレクトはそのまま使用することはできません.これは,
28990 \SpecialChar LyX
28991 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,
28992 これを完全に統御の下においたまま行う安全なスクリプトを書いた上で,
28993 このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
28994 \end_layout
28995
28996 \begin_layout Standard
28997 シェルと直接やりとりするひな型を設計することは可能ではありますが,
28998 悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,
28999 任意のコマンドを実行できるようになるため,
29000 一般的には,
29001 統御下に置いた状態で
29002 \begin_inset Flex Code
29003 status collapsed
29004
29005 \begin_layout Plain Layout
29006 execvp
29007 \end_layout
29008
29009 \end_inset
29010
29011 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,
29012 管理された環境下で使用する分には,
29013 通常のシェルスクリプトを使用する方に流れる誘惑はあります.そうした場合には,
29014 お使いのシステムに簡単に濫用することのできるセキュリティホールを,
29015
29016 \emph on
29017 間違いなく
29018 \emph default
29019 導入することを理解しておいてください.オープンソースの伝統に従って,
29020 私たちは人々に新しいひな型を投稿してくれるよう促していますが,
29021 そのような安全でないひな型はLyXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
29022 には,
29023 安全でないひな型は決して入っていません.
29024 \end_layout
29025
29026 \begin_layout Standard
29027 外部素材を含めることで強力な力を手に入れることができますが,
29028 この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリプトのたった一行に入り込んだ,
29029 ちょっとしたエラーが,
29030 巨大なセキュリティ上の問題に扉を開きうるのです.したがって,
29031 もしこの問題を完全に理解していないならば,
29032 特定のひな型が安全であるかどうか疑問がある際には,
29033 知識豊富なセキュリティの専門家か,
29034 \SpecialChar LyX
29035 開発チームに相談してみてください.そしてこの相談は,
29036 管理されていない環境下でこれを使用する前に,
29037 行うようにしてください.
29038 \end_layout
29039
29040 \begin_layout Chapter
29041 \start_of_appendix
29042 サポートされているレイアウト用\SpecialChar LyX
29043 関数一覧
29044 \begin_inset CommandInset label
29045 LatexCommand label
29046 name "chap:関数一覧"
29047
29048 \end_inset
29049
29050
29051 \end_layout
29052
29053 \begin_layout Standard
29054 \align center
29055 \begin_inset Tabular
29056 <lyxtabular version="3" rows="11" columns="8">
29057 <features tabularvalignment="middle">
29058 <column alignment="left" valignment="top">
29059 <column alignment="left" valignment="top">
29060 <column alignment="left" valignment="top">
29061 <column alignment="left" valignment="top">
29062 <column alignment="left" valignment="top">
29063 <column alignment="left" valignment="top">
29064 <column alignment="left" valignment="top">
29065 <column alignment="left" valignment="top">
29066 <row>
29067 <cell alignment="left" valignment="top" usebox="none">
29068 \begin_inset Text
29069
29070 \begin_layout Plain Layout
29071 accents
29072 \end_layout
29073
29074 \end_inset
29075 </cell>
29076 <cell alignment="left" valignment="top" usebox="none">
29077 \begin_inset Text
29078
29079 \begin_layout Plain Layout
29080 booktabs
29081 \end_layout
29082
29083 \end_inset
29084 </cell>
29085 <cell alignment="left" valignment="top" usebox="none">
29086 \begin_inset Text
29087
29088 \begin_layout Plain Layout
29089 feyn
29090 \end_layout
29091
29092 \end_inset
29093 </cell>
29094 <cell alignment="left" valignment="top" usebox="none">
29095 \begin_inset Text
29096
29097 \begin_layout Plain Layout
29098 listings
29099 \end_layout
29100
29101 \end_inset
29102 </cell>
29103 <cell alignment="center" valignment="top" usebox="none">
29104 \begin_inset Text
29105
29106 \begin_layout Plain Layout
29107 natbib
29108 \end_layout
29109
29110 \end_inset
29111 </cell>
29112 <cell alignment="center" valignment="top" usebox="none">
29113 \begin_inset Text
29114
29115 \begin_layout Plain Layout
29116 rotfloat
29117 \end_layout
29118
29119 \end_inset
29120 </cell>
29121 <cell alignment="center" valignment="top" usebox="none">
29122 \begin_inset Text
29123
29124 \begin_layout Plain Layout
29125 tfrupee
29126 \end_layout
29127
29128 \end_inset
29129 </cell>
29130 <cell alignment="center" valignment="top" usebox="none">
29131 \begin_inset Text
29132
29133 \begin_layout Plain Layout
29134 wasysym
29135 \end_layout
29136
29137 \end_inset
29138 </cell>
29139 </row>
29140 <row>
29141 <cell alignment="left" valignment="top" usebox="none">
29142 \begin_inset Text
29143
29144 \begin_layout Plain Layout
29145 amsbsy
29146 \end_layout
29147
29148 \end_inset
29149 </cell>
29150 <cell alignment="left" valignment="top" usebox="none">
29151 \begin_inset Text
29152
29153 \begin_layout Plain Layout
29154 calc
29155 \end_layout
29156
29157 \end_inset
29158 </cell>
29159 <cell alignment="left" valignment="top" usebox="none">
29160 \begin_inset Text
29161
29162 \begin_layout Plain Layout
29163 fixltx2e
29164 \end_layout
29165
29166 \end_inset
29167 </cell>
29168 <cell alignment="left" valignment="top" usebox="none">
29169 \begin_inset Text
29170
29171 \begin_layout Plain Layout
29172 longtable
29173 \end_layout
29174
29175 \end_inset
29176 </cell>
29177 <cell alignment="center" valignment="top" usebox="none">
29178 \begin_inset Text
29179
29180 \begin_layout Plain Layout
29181 nomencl
29182 \end_layout
29183
29184 \end_inset
29185 </cell>
29186 <cell alignment="center" valignment="top" usebox="none">
29187 \begin_inset Text
29188
29189 \begin_layout Plain Layout
29190 rsphrase
29191 \end_layout
29192
29193 \end_inset
29194 </cell>
29195 <cell alignment="center" valignment="top" usebox="none">
29196 \begin_inset Text
29197
29198 \begin_layout Plain Layout
29199 tipa
29200 \end_layout
29201
29202 \end_inset
29203 </cell>
29204 <cell alignment="center" valignment="top" usebox="none">
29205 \begin_inset Text
29206
29207 \begin_layout Plain Layout
29208 wrapfig
29209 \end_layout
29210
29211 \end_inset
29212 </cell>
29213 </row>
29214 <row>
29215 <cell alignment="left" valignment="top" usebox="none">
29216 \begin_inset Text
29217
29218 \begin_layout Plain Layout
29219 amscd
29220 \end_layout
29221
29222 \end_inset
29223 </cell>
29224 <cell alignment="left" valignment="top" usebox="none">
29225 \begin_inset Text
29226
29227 \begin_layout Plain Layout
29228 CJK
29229 \end_layout
29230
29231 \end_inset
29232 </cell>
29233 <cell alignment="left" valignment="top" usebox="none">
29234 \begin_inset Text
29235
29236 \begin_layout Plain Layout
29237 float
29238 \end_layout
29239
29240 \end_inset
29241 </cell>
29242 <cell alignment="left" valignment="top" usebox="none">
29243 \begin_inset Text
29244
29245 \begin_layout Plain Layout
29246 lyxskak
29247 \end_layout
29248
29249 \end_inset
29250 </cell>
29251 <cell alignment="center" valignment="top" usebox="none">
29252 \begin_inset Text
29253
29254 \begin_layout Plain Layout
29255 pdfcolmk
29256 \end_layout
29257
29258 \end_inset
29259 </cell>
29260 <cell alignment="center" valignment="top" usebox="none">
29261 \begin_inset Text
29262
29263 \begin_layout Plain Layout
29264 setspace
29265 \end_layout
29266
29267 \end_inset
29268 </cell>
29269 <cell alignment="center" valignment="top" usebox="none">
29270 \begin_inset Text
29271
29272 \begin_layout Plain Layout
29273 tipx
29274 \end_layout
29275
29276 \end_inset
29277 </cell>
29278 <cell alignment="center" valignment="top" usebox="none">
29279 \begin_inset Text
29280
29281 \begin_layout Plain Layout
29282 xargs
29283 \end_layout
29284
29285 \end_inset
29286 </cell>
29287 </row>
29288 <row>
29289 <cell alignment="left" valignment="top" usebox="none">
29290 \begin_inset Text
29291
29292 \begin_layout Plain Layout
29293 amsmath
29294 \end_layout
29295
29296 \end_inset
29297 </cell>
29298 <cell alignment="left" valignment="top" usebox="none">
29299 \begin_inset Text
29300
29301 \begin_layout Plain Layout
29302 color
29303 \end_layout
29304
29305 \end_inset
29306 </cell>
29307 <cell alignment="left" valignment="top" usebox="none">
29308 \begin_inset Text
29309
29310 \begin_layout Plain Layout
29311 framed
29312 \end_layout
29313
29314 \end_inset
29315 </cell>
29316 <cell alignment="left" valignment="top" usebox="none">
29317 \begin_inset Text
29318
29319 \begin_layout Plain Layout
29320 makeidx
29321 \end_layout
29322
29323 \end_inset
29324 </cell>
29325 <cell alignment="center" valignment="top" usebox="none">
29326 \begin_inset Text
29327
29328 \begin_layout Plain Layout
29329 pdfpages
29330 \end_layout
29331
29332 \end_inset
29333 </cell>
29334 <cell alignment="center" valignment="top" usebox="none">
29335 \begin_inset Text
29336
29337 \begin_layout Plain Layout
29338 shapepar
29339 \end_layout
29340
29341 \end_inset
29342 </cell>
29343 <cell alignment="center" valignment="top" usebox="none">
29344 \begin_inset Text
29345
29346 \begin_layout Plain Layout
29347 tone
29348 \end_layout
29349
29350 \end_inset
29351 </cell>
29352 <cell alignment="center" valignment="top" usebox="none">
29353 \begin_inset Text
29354
29355 \begin_layout Plain Layout
29356 xcolor
29357 \end_layout
29358
29359 \end_inset
29360 </cell>
29361 </row>
29362 <row>
29363 <cell alignment="left" valignment="top" usebox="none">
29364 \begin_inset Text
29365
29366 \begin_layout Plain Layout
29367 amssymb
29368 \end_layout
29369
29370 \end_inset
29371 </cell>
29372 <cell alignment="left" valignment="top" usebox="none">
29373 \begin_inset Text
29374
29375 \begin_layout Plain Layout
29376 covington
29377 \end_layout
29378
29379 \end_inset
29380 </cell>
29381 <cell alignment="left" valignment="top" usebox="none">
29382 \begin_inset Text
29383
29384 \begin_layout Plain Layout
29385 graphicx
29386 \end_layout
29387
29388 \end_inset
29389 </cell>
29390 <cell alignment="left" valignment="top" usebox="none">
29391 \begin_inset Text
29392
29393 \begin_layout Plain Layout
29394 marvosym
29395 \end_layout
29396
29397 \end_inset
29398 </cell>
29399 <cell alignment="center" valignment="top" usebox="none">
29400 \begin_inset Text
29401
29402 \begin_layout Plain Layout
29403 pifont
29404 \end_layout
29405
29406 \end_inset
29407 </cell>
29408 <cell alignment="center" valignment="top" usebox="none">
29409 \begin_inset Text
29410
29411 \begin_layout Plain Layout
29412 slashed
29413 \end_layout
29414
29415 \end_inset
29416 </cell>
29417 <cell alignment="center" valignment="top" usebox="none">
29418 \begin_inset Text
29419
29420 \begin_layout Plain Layout
29421 txfonts
29422 \end_layout
29423
29424 \end_inset
29425 </cell>
29426 <cell alignment="center" valignment="top" usebox="none">
29427 \begin_inset Text
29428
29429 \begin_layout Plain Layout
29430 xy
29431 \end_layout
29432
29433 \end_inset
29434 </cell>
29435 </row>
29436 <row>
29437 <cell alignment="left" valignment="top" usebox="none">
29438 \begin_inset Text
29439
29440 \begin_layout Plain Layout
29441 amstext
29442 \end_layout
29443
29444 \end_inset
29445 </cell>
29446 <cell alignment="left" valignment="top" usebox="none">
29447 \begin_inset Text
29448
29449 \begin_layout Plain Layout
29450 csquotes
29451 \end_layout
29452
29453 \end_inset
29454 </cell>
29455 <cell alignment="left" valignment="top" usebox="none">
29456 \begin_inset Text
29457
29458 \begin_layout Plain Layout
29459 hhline
29460 \end_layout
29461
29462 \end_inset
29463 </cell>
29464 <cell alignment="left" valignment="top" usebox="none">
29465 \begin_inset Text
29466
29467 \begin_layout Plain Layout
29468 mathdesign
29469 \end_layout
29470
29471 \end_inset
29472 </cell>
29473 <cell alignment="center" valignment="top" usebox="none">
29474 \begin_inset Text
29475
29476 \begin_layout Plain Layout
29477 pmboxdraw
29478 \end_layout
29479
29480 \end_inset
29481 </cell>
29482 <cell alignment="center" valignment="top" usebox="none">
29483 \begin_inset Text
29484
29485 \begin_layout Plain Layout
29486 soul
29487 \end_layout
29488
29489 \end_inset
29490 </cell>
29491 <cell alignment="center" valignment="top" usebox="none">
29492 \begin_inset Text
29493
29494 \begin_layout Plain Layout
29495 ulem
29496 \end_layout
29497
29498 \end_inset
29499 </cell>
29500 <cell alignment="center" valignment="top" usebox="none">
29501 \begin_inset Text
29502
29503 \begin_layout Plain Layout
29504 yhmath
29505 \end_layout
29506
29507 \end_inset
29508 </cell>
29509 </row>
29510 <row>
29511 <cell alignment="left" valignment="top" usebox="none">
29512 \begin_inset Text
29513
29514 \begin_layout Plain Layout
29515 amsthm
29516 \end_layout
29517
29518 \end_inset
29519 </cell>
29520 <cell alignment="left" valignment="top" usebox="none">
29521 \begin_inset Text
29522
29523 \begin_layout Plain Layout
29524 dvipost
29525 \end_layout
29526
29527 \end_inset
29528 </cell>
29529 <cell alignment="left" valignment="top" usebox="none">
29530 \begin_inset Text
29531
29532 \begin_layout Plain Layout
29533 hyperref
29534 \end_layout
29535
29536 \end_inset
29537 </cell>
29538 <cell alignment="left" valignment="top" usebox="none">
29539 \begin_inset Text
29540
29541 \begin_layout Plain Layout
29542 mathdots
29543 \end_layout
29544
29545 \end_inset
29546 </cell>
29547 <cell alignment="center" valignment="top" usebox="none">
29548 \begin_inset Text
29549
29550 \begin_layout Plain Layout
29551 polyglossia
29552 \end_layout
29553
29554 \end_inset
29555 </cell>
29556 <cell alignment="center" valignment="top" usebox="none">
29557 \begin_inset Text
29558
29559 \begin_layout Plain Layout
29560 splitidx
29561 \end_layout
29562
29563 \end_inset
29564 </cell>
29565 <cell alignment="center" valignment="top" usebox="none">
29566 \begin_inset Text
29567
29568 \begin_layout Plain Layout
29569 undertilde
29570 \end_layout
29571
29572 \end_inset
29573 </cell>
29574 <cell alignment="center" valignment="top" usebox="none">
29575 \begin_inset Text
29576
29577 \begin_layout Plain Layout
29578
29579 \end_layout
29580
29581 \end_inset
29582 </cell>
29583 </row>
29584 <row>
29585 <cell alignment="left" valignment="top" usebox="none">
29586 \begin_inset Text
29587
29588 \begin_layout Plain Layout
29589 array
29590 \end_layout
29591
29592 \end_inset
29593 </cell>
29594 <cell alignment="left" valignment="top" usebox="none">
29595 \begin_inset Text
29596
29597 \begin_layout Plain Layout
29598 endnotes
29599 \end_layout
29600
29601 \end_inset
29602 </cell>
29603 <cell alignment="left" valignment="top" usebox="none">
29604 \begin_inset Text
29605
29606 \begin_layout Plain Layout
29607 ifsym
29608 \end_layout
29609
29610 \end_inset
29611 </cell>
29612 <cell alignment="left" valignment="top" usebox="none">
29613 \begin_inset Text
29614
29615 \begin_layout Plain Layout
29616 mathrsfs
29617 \end_layout
29618
29619 \end_inset
29620 </cell>
29621 <cell alignment="center" valignment="top" usebox="none">
29622 \begin_inset Text
29623
29624 \begin_layout Plain Layout
29625 prettyref
29626 \end_layout
29627
29628 \end_inset
29629 </cell>
29630 <cell alignment="center" valignment="top" usebox="none">
29631 \begin_inset Text
29632
29633 \begin_layout Plain Layout
29634 subfig
29635 \end_layout
29636
29637 \end_inset
29638 </cell>
29639 <cell alignment="center" valignment="top" usebox="none">
29640 \begin_inset Text
29641
29642 \begin_layout Plain Layout
29643 units
29644 \end_layout
29645
29646 \end_inset
29647 </cell>
29648 <cell alignment="center" valignment="top" usebox="none">
29649 \begin_inset Text
29650
29651 \begin_layout Plain Layout
29652
29653 \end_layout
29654
29655 \end_inset
29656 </cell>
29657 </row>
29658 <row>
29659 <cell alignment="left" valignment="top" usebox="none">
29660 \begin_inset Text
29661
29662 \begin_layout Plain Layout
29663 ascii
29664 \end_layout
29665
29666 \end_inset
29667 </cell>
29668 <cell alignment="left" valignment="top" usebox="none">
29669 \begin_inset Text
29670
29671 \begin_layout Plain Layout
29672 enumitem
29673 \end_layout
29674
29675 \end_inset
29676 </cell>
29677 <cell alignment="left" valignment="top" usebox="none">
29678 \begin_inset Text
29679
29680 \begin_layout Plain Layout
29681 ifthen
29682 \end_layout
29683
29684 \end_inset
29685 </cell>
29686 <cell alignment="left" valignment="top" usebox="none">
29687 \begin_inset Text
29688
29689 \begin_layout Plain Layout
29690 mhchem
29691 \end_layout
29692
29693 \end_inset
29694 </cell>
29695 <cell alignment="center" valignment="top" usebox="none">
29696 \begin_inset Text
29697
29698 \begin_layout Plain Layout
29699 pxfonts
29700 \end_layout
29701
29702 \end_inset
29703 </cell>
29704 <cell alignment="center" valignment="top" usebox="none">
29705 \begin_inset Text
29706
29707 \begin_layout Plain Layout
29708 subscript
29709 \end_layout
29710
29711 \end_inset
29712 </cell>
29713 <cell alignment="center" valignment="top" usebox="none">
29714 \begin_inset Text
29715
29716 \begin_layout Plain Layout
29717 url
29718 \end_layout
29719
29720 \end_inset
29721 </cell>
29722 <cell alignment="center" valignment="top" usebox="none">
29723 \begin_inset Text
29724
29725 \begin_layout Plain Layout
29726
29727 \end_layout
29728
29729 \end_inset
29730 </cell>
29731 </row>
29732 <row>
29733 <cell alignment="left" valignment="top" usebox="none">
29734 \begin_inset Text
29735
29736 \begin_layout Plain Layout
29737 bbding
29738 \end_layout
29739
29740 \end_inset
29741 </cell>
29742 <cell alignment="left" valignment="top" usebox="none">
29743 \begin_inset Text
29744
29745 \begin_layout Plain Layout
29746 esint
29747 \end_layout
29748
29749 \end_inset
29750 </cell>
29751 <cell alignment="left" valignment="top" usebox="none">
29752 \begin_inset Text
29753
29754 \begin_layout Plain Layout
29755 jurabib
29756 \end_layout
29757
29758 \end_inset
29759 </cell>
29760 <cell alignment="left" valignment="top" usebox="none">
29761 \begin_inset Text
29762
29763 \begin_layout Plain Layout
29764 multicol
29765 \end_layout
29766
29767 \end_inset
29768 </cell>
29769 <cell alignment="center" valignment="top" usebox="none">
29770 \begin_inset Text
29771
29772 \begin_layout Plain Layout
29773 refstyle
29774 \end_layout
29775
29776 \end_inset
29777 </cell>
29778 <cell alignment="center" valignment="top" usebox="none">
29779 \begin_inset Text
29780
29781 \begin_layout Plain Layout
29782 textcomp
29783 \end_layout
29784
29785 \end_inset
29786 </cell>
29787 <cell alignment="center" valignment="top" usebox="none">
29788 \begin_inset Text
29789
29790 \begin_layout Plain Layout
29791 varioref
29792 \end_layout
29793
29794 \end_inset
29795 </cell>
29796 <cell alignment="center" valignment="top" usebox="none">
29797 \begin_inset Text
29798
29799 \begin_layout Plain Layout
29800
29801 \end_layout
29802
29803 \end_inset
29804 </cell>
29805 </row>
29806 <row>
29807 <cell alignment="center" valignment="top" usebox="none">
29808 \begin_inset Text
29809
29810 \begin_layout Plain Layout
29811 bm
29812 \end_layout
29813
29814 \end_inset
29815 </cell>
29816 <cell alignment="center" valignment="top" usebox="none">
29817 \begin_inset Text
29818
29819 \begin_layout Plain Layout
29820 fancybox
29821 \end_layout
29822
29823 \end_inset
29824 </cell>
29825 <cell alignment="center" valignment="top" usebox="none">
29826 \begin_inset Text
29827
29828 \begin_layout Plain Layout
29829 latexsym
29830 \end_layout
29831
29832 \end_inset
29833 </cell>
29834 <cell alignment="center" valignment="top" usebox="none">
29835 \begin_inset Text
29836
29837 \begin_layout Plain Layout
29838 multirow
29839 \end_layout
29840
29841 \end_inset
29842 </cell>
29843 <cell alignment="center" valignment="top" usebox="none">
29844 \begin_inset Text
29845
29846 \begin_layout Plain Layout
29847 rotating
29848 \end_layout
29849
29850 \end_inset
29851 </cell>
29852 <cell alignment="center" valignment="top" usebox="none">
29853 \begin_inset Text
29854
29855 \begin_layout Plain Layout
29856 textgreek
29857 \end_layout
29858
29859 \end_inset
29860 </cell>
29861 <cell alignment="center" valignment="top" usebox="none">
29862 \begin_inset Text
29863
29864 \begin_layout Plain Layout
29865 verbatim
29866 \end_layout
29867
29868 \end_inset
29869 </cell>
29870 <cell alignment="center" valignment="top" usebox="none">
29871 \begin_inset Text
29872
29873 \begin_layout Plain Layout
29874
29875 \end_layout
29876
29877 \end_inset
29878 </cell>
29879 </row>
29880 </lyxtabular>
29881
29882 \end_inset
29883
29884
29885 \end_layout
29886
29887 \begin_layout Chapter
29888 レイアウトで使用できる色名
29889 \begin_inset CommandInset label
29890 LatexCommand label
29891 name "chap:色名"
29892
29893 \end_inset
29894
29895
29896 \end_layout
29897
29898 \begin_layout Standard
29899 ここに列挙されている色は標準色であり,
29900 \SpecialChar LyX
29901 設定で調整できるものです.
29902 \end_layout
29903
29904 \begin_layout Section
29905 色関数
29906 \end_layout
29907
29908 \begin_layout Standard
29909 以下は,
29910 色そのものではありませんが,
29911 色定義に作用します:
29912
29913 \end_layout
29914
29915 \begin_layout Description
29916 ignore この色を無視します
29917 \end_layout
29918
29919 \begin_layout Description
29920 inherit この色を継承します
29921 \end_layout
29922
29923 \begin_layout Description
29924 none
29925 \series medium
29926  
29927 \series default
29928 特定の色ではありません – 透明か既定色です
29929 \end_layout
29930
29931 \begin_layout Section
29932 静的色名
29933 \end_layout
29934
29935 \begin_layout Standard
29936 これらは固定された色名で変更することはできません.これらの色は,
29937 (ダークテーマ等)一部の色テーマでうまく動作しないので,
29938 レイアウト定義の中では用いないでください:
29939
29940 \end_layout
29941
29942 \begin_layout Description
29943 black
29944 \end_layout
29945
29946 \begin_layout Description
29947 white
29948 \end_layout
29949
29950 \begin_layout Description
29951 blue
29952 \end_layout
29953
29954 \begin_layout Description
29955 brown
29956 \end_layout
29957
29958 \begin_layout Description
29959 cyan
29960 \end_layout
29961
29962 \begin_layout Description
29963 darkgray
29964 \end_layout
29965
29966 \begin_layout Description
29967 gray
29968 \end_layout
29969
29970 \begin_layout Description
29971 green
29972 \end_layout
29973
29974 \begin_layout Description
29975 lightgray
29976 \end_layout
29977
29978 \begin_layout Description
29979 lime
29980 \end_layout
29981
29982 \begin_layout Description
29983 magenta
29984 \end_layout
29985
29986 \begin_layout Description
29987 olive
29988 \end_layout
29989
29990 \begin_layout Description
29991 orange
29992 \end_layout
29993
29994 \begin_layout Description
29995 pink
29996 \end_layout
29997
29998 \begin_layout Description
29999 purple
30000 \end_layout
30001
30002 \begin_layout Description
30003 red
30004 \end_layout
30005
30006 \begin_layout Description
30007 teal
30008 \end_layout
30009
30010 \begin_layout Description
30011 violet
30012 \end_layout
30013
30014 \begin_layout Description
30015 yellow
30016 \end_layout
30017
30018 \begin_layout Section
30019 動的色名
30020 \end_layout
30021
30022 \begin_layout Standard
30023 これらは
30024 \begin_inset Info
30025 type  "menu"
30026 arg   "dialog-show prefs"
30027 \end_inset
30028
30029 の特定要素に割り当てられる色です:
30030
30031 \end_layout
30032
30033 \begin_layout Description
30034 added_space 空白マーカ色
30035 \end_layout
30036
30037 \begin_layout Description
30038 addedtext 追加された文章色
30039 \end_layout
30040
30041 \begin_layout Description
30042 appendix 付録マーカ色
30043 \end_layout
30044
30045 \begin_layout Description
30046 background 背景色
30047 \end_layout
30048
30049 \begin_layout Description
30050 bottomarea 下部領域色
30051 \end_layout
30052
30053 \begin_layout Description
30054 branchlabel 派生枝ラベル色
30055 \end_layout
30056
30057 \begin_layout Description
30058 buttonbg ボタンの背景色
30059 \end_layout
30060
30061 \begin_layout Description
30062 buttonframe 差込枠の縁色
30063 \end_layout
30064
30065 \begin_layout Description
30066 buttonhoverbg フォーカスを得ているボタンの背景色
30067 \end_layout
30068
30069 \begin_layout Description
30070 changebar 変更バー色
30071 \end_layout
30072
30073 \begin_layout Description
30074 changedtextauthor1 変更された文章:第1著者の色
30075 \end_layout
30076
30077 \begin_layout Description
30078 changedtextauthor2 変更された文章:第2著者の色
30079 \end_layout
30080
30081 \begin_layout Description
30082 changedtextauthor3 変更された文章:第3著者の色
30083 \end_layout
30084
30085 \begin_layout Description
30086 changedtextauthor4 変更された文章:第4著者の色
30087 \end_layout
30088
30089 \begin_layout Description
30090 changedtextauthor5 変更された文章:第5著者の色
30091 \end_layout
30092
30093 \begin_layout Description
30094 collapsibletext 畳み込み可能枠の文字色
30095 \end_layout
30096
30097 \begin_layout Description
30098 collapsibleframe 畳み込み可能枠の縁色
30099 \end_layout
30100
30101 \begin_layout Description
30102 command コマンド差込枠の文字色
30103 \end_layout
30104
30105 \begin_layout Description
30106 commandbg コマンド差込枠の背景色
30107 \end_layout
30108
30109 \begin_layout Description
30110 commandframe コマンド差込枠の縁色
30111 \end_layout
30112
30113 \begin_layout Description
30114 comment コメント色
30115 \end_layout
30116
30117 \begin_layout Description
30118 commentbg コメントの背景色
30119 \end_layout
30120
30121 \begin_layout Description
30122 cursor カーソル色
30123 \end_layout
30124
30125 \begin_layout Description
30126 deletedtext 削除された文章の色
30127 \end_layout
30128
30129 \begin_layout Description
30130 deletedtextmodifier 削除された文章の修飾子の色
30131 \end_layout
30132
30133 \begin_layout Description
30134 depthbar 余白部の階層表示線の色
30135 \end_layout
30136
30137 \begin_layout Description
30138 eolmarker 行末標色
30139 \end_layout
30140
30141 \begin_layout Description
30142 error \SpecialChar LaTeX
30143 エラーボックス色
30144 \end_layout
30145
30146 \begin_layout Description
30147 footlabel 脚註ラベル色
30148 \end_layout
30149
30150 \begin_layout Description
30151 foreground 前景色
30152 \end_layout
30153
30154 \begin_layout Description
30155 graphicsbg 画像差込枠の背景色
30156 \end_layout
30157
30158 \begin_layout Description
30159 greyedoutbg 淡色表示差込枠の背景色
30160 \end_layout
30161
30162 \begin_layout Description
30163 greyedoutlabel 淡色表示差込枠のラベル色
30164 \end_layout
30165
30166 \begin_layout Description
30167 greyedouttext 淡色表示差込枠の文字色
30168 \end_layout
30169
30170 \begin_layout Description
30171 indexlabel 索引差込枠のラベル色
30172 \end_layout
30173
30174 \begin_layout Description
30175 inlinecompletion 行内補完色
30176 \end_layout
30177
30178 \begin_layout Description
30179 insetbg 差込枠標の背景色
30180 \end_layout
30181
30182 \begin_layout Description
30183 insetframe 差込枠標の縁色
30184 \end_layout
30185
30186 \begin_layout Description
30187 language 外国語の単語を標識するための色
30188 \end_layout
30189
30190 \begin_layout Description
30191 latex \SpecialChar LaTeX
30192 モードの文字色
30193 \end_layout
30194
30195 \begin_layout Description
30196 listingsbg プログラムリスト差込枠の背景色
30197 \end_layout
30198
30199 \begin_layout Description
30200 marginlabel 傍註のラベル色
30201 \end_layout
30202
30203 \begin_layout Description
30204 math 数式差込枠の文字色
30205 \end_layout
30206
30207 \begin_layout Description
30208 mathbg 数式差込枠の背景色
30209 \end_layout
30210
30211 \begin_layout Description
30212 mathcorners フォーカスを得ていない数式差込枠の縁色
30213 \end_layout
30214
30215 \begin_layout Description
30216 mathframe フォーカスを得ている数式差込枠の縁色
30217 \end_layout
30218
30219 \begin_layout Description
30220 mathline 数式行色
30221 \end_layout
30222
30223 \begin_layout Description
30224 mathmacrobg 数式マクロ差込枠の背景色
30225 \end_layout
30226
30227 \begin_layout Description
30228 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
30229 \end_layout
30230
30231 \begin_layout Description
30232 mathmacroframe 数式マクロ差込枠の縁色
30233 \end_layout
30234
30235 \begin_layout Description
30236 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
30237 \end_layout
30238
30239 \begin_layout Description
30240 mathmacrolabel 数式マクロ差込枠のラベル色
30241 \end_layout
30242
30243 \begin_layout Description
30244 mathmacronewarg 数式マクロ新パラメーターのひな型色
30245 \end_layout
30246
30247 \begin_layout Description
30248 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
30249 \end_layout
30250
30251 \begin_layout Description
30252 newpage 新規頁色
30253 \end_layout
30254
30255 \begin_layout Description
30256 nonunique_inlinecompletion 行内補完の一意でない部分の色
30257 \end_layout
30258
30259 \begin_layout Description
30260 note 註釈のラベル色
30261 \end_layout
30262
30263 \begin_layout Description
30264 notebg 註釈の背景色
30265 \end_layout
30266
30267 \begin_layout Description
30268 pagebreak 改頁/改行色
30269 \end_layout
30270
30271 \begin_layout Description
30272 paragraphmarker 段落末を標識するための段落標の色
30273 \end_layout
30274
30275 \begin_layout Description
30276 phantomtext 埋め草差込枠の文字色
30277 \end_layout
30278
30279 \begin_layout Description
30280 preview プレビューに用いられる色
30281 \end_layout
30282
30283 \begin_layout Description
30284 previewframe プレビュー縁色
30285 \end_layout
30286
30287 \begin_layout Description
30288 regexpframe 正規表現枠の色
30289 \end_layout
30290
30291 \begin_layout Description
30292 scroll 行をスクロールすることができることを示す色
30293 \end_layout
30294
30295 \begin_layout Description
30296 selection 文章選択部の背景色
30297 \end_layout
30298
30299 \begin_layout Description
30300 selectiontext 文章選択部の前景色
30301 \end_layout
30302
30303 \begin_layout Description
30304 shadedbg 影付きボックスの背景色
30305 \end_layout
30306
30307 \begin_layout Description
30308 special 特殊文字の色
30309 \end_layout
30310
30311 \begin_layout Description
30312 tabularline 罫線色
30313 \end_layout
30314
30315 \begin_layout Description
30316 tabularonoffline 罫線色
30317 \end_layout
30318
30319 \begin_layout Description
30320 textlabel1 レイアウトと特殊差込枠ラベルの色1
30321 \end_layout
30322
30323 \begin_layout Description
30324 textlabel2 レイアウトと特殊差込枠ラベルの色2
30325 \end_layout
30326
30327 \begin_layout Description
30328 textlabel3 レイアウトと特殊差込枠ラベルの色3
30329 \end_layout
30330
30331 \begin_layout Description
30332 urllabel URL差込枠のラベル色
30333 \end_layout
30334
30335 \begin_layout Description
30336 urltext URL差込枠の文字色
30337 \end_layout
30338
30339 \end_body
30340 \end_document