]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Customization.lyx
2f1c4ce0ba4dcdaa9493832498450cd904fc99bc
[lyx.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 620
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" "IPAGothic"
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 <rikiheck@lyx.org>を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 \end_layout
883
884 \begin_layout Labeling
885 \labelwidthstring 00.00.0000
886 \begin_inset Flex Code
887 status collapsed
888
889 \begin_layout Plain Layout
890 scripts/
891 \end_layout
892
893 \end_inset
894
895  このディレクトリには,
896
897 \begin_inset Flex MenuItem
898 status collapsed
899
900 \begin_layout Plain Layout
901 外用ひな型
902 \end_layout
903
904 \end_inset
905
906 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
907 自身が使用するスクリプトもいくつか収められています.
908 \end_layout
909
910 \begin_layout Labeling
911 \labelwidthstring 00.00.0000
912 \begin_inset Flex Code
913 status collapsed
914
915 \begin_layout Plain Layout
916 templates/
917 \end_layout
918
919 \end_inset
920
921  このディレクトリには,
922
923 \begin_inset CommandInset ref
924 LatexCommand ref
925 reference "sec:ひな型を作成する"
926 nolink "false"
927
928 \end_inset
929
930 で述べられている標準の\SpecialChar LyX
931 ひな型ファイルが納められています.
932 \end_layout
933
934 \begin_layout Labeling
935 \labelwidthstring 00.00.0000
936 \begin_inset Flex Code
937 status collapsed
938
939 \begin_layout Plain Layout
940 ui/
941 \end_layout
942
943 \end_inset
944
945  このディレクトリには,
946 \SpecialChar LyX
947 の操作画面を定義する拡張子
948 \begin_inset Flex Code
949 status collapsed
950
951 \begin_layout Plain Layout
952 .ui
953 \end_layout
954
955 \end_inset
956
957 のファイルが納められています.つまり,
958 これらのファイルは,
959 どのメニュー項目がどのメニューに現れるかを定義し,
960 どの項目がツールバーに現れるかを定義しています.
961 \end_layout
962
963 \begin_layout Labeling
964 \labelwidthstring 00.00.0000
965 \begin_inset Flex Code
966 status collapsed
967
968 \begin_layout Plain Layout
969 xtemplates/
970 \end_layout
971
972 \end_inset
973
974  このディレクトリには,
975 \SpecialChar LyX
976 文書への外部素材の挿入のひな型を定義する,
977 拡張子が
978 \begin_inset Flex Code
979 status collapsed
980
981 \begin_layout Plain Layout
982 .xtemplate
983 \end_layout
984
985 \end_inset
986
987 のファイルが置かれています.第
988 \begin_inset CommandInset ref
989 LatexCommand ref
990 reference "chap:外部素材を取り込む"
991 plural "false"
992 caps "false"
993 noprefix "false"
994 nolink "false"
995
996 \end_inset
997
998 節参照.
999 \end_layout
1000
1001 \begin_layout Subsection
1002 変更を加えない方がよいファイル
1003 \end_layout
1004
1005 \begin_layout Standard
1006 これらのファイルは\SpecialChar LyX
1007 が内部的に使用するもので,
1008 あなたが開発者でない限りは,
1009 凡そこれらに変更を加える必要はありません.
1010 \end_layout
1011
1012 \begin_layout Labeling
1013 \labelwidthstring 00.00.0000
1014 \begin_inset Flex Code
1015 status collapsed
1016
1017 \begin_layout Plain Layout
1018 CREDITS
1019 \end_layout
1020
1021 \end_inset
1022
1023  このファイルは,
1024 \SpecialChar LyX
1025 開発陣の名簿です.この内容は,
1026 メニュー項目
1027 \begin_inset Flex MenuItem
1028 status collapsed
1029
1030 \begin_layout Plain Layout
1031 ヘルプ\SpecialChar menuseparator
1032 LyXについて
1033 \end_layout
1034
1035 \end_inset
1036
1037 で表示されます.
1038 \end_layout
1039
1040 \begin_layout Labeling
1041 \labelwidthstring 00.00.0000
1042 \begin_inset Flex Code
1043 status collapsed
1044
1045 \begin_layout Plain Layout
1046 chkconfig.ltx
1047 \end_layout
1048
1049 \end_inset
1050
1051  これは,
1052 自動設定プロセスによって使用される\SpecialChar LaTeX
1053 スクリプトです.直接実行しないでください.
1054 \end_layout
1055
1056 \begin_layout Labeling
1057 \labelwidthstring 00.00.0000
1058 \begin_inset Flex Code
1059 status collapsed
1060
1061 \begin_layout Plain Layout
1062 configure.py
1063 \end_layout
1064
1065 \end_inset
1066
1067  これは,
1068 \SpecialChar LyX
1069 の環境構成によって使用されるスクリプトです.これは,
1070 このスクリプトを実行したディレクトリに設定ファイルを生成します.
1071 \end_layout
1072
1073 \begin_layout Subsection
1074 ひとこと必要なファイル群
1075 \end_layout
1076
1077 \begin_layout Labeling
1078 \labelwidthstring 00.00.0000
1079 \begin_inset Flex Code
1080 status collapsed
1081
1082 \begin_layout Plain Layout
1083 encodings
1084 \end_layout
1085
1086 \end_inset
1087
1088  このファイルには,
1089 各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
1090 \end_layout
1091
1092 \begin_layout Labeling
1093 \labelwidthstring 00.00.0000
1094 \begin_inset Flex Code
1095 status collapsed
1096
1097 \begin_layout Plain Layout
1098 languages
1099 \end_layout
1100
1101 \end_inset
1102
1103  このファイルには,
1104 現在\SpecialChar LyX
1105 がサポートしている言語の全一覧が載っています.
1106 \end_layout
1107
1108 \begin_layout Labeling
1109 \labelwidthstring 00.00.0000
1110 \begin_inset Flex Code
1111 status collapsed
1112
1113 \begin_layout Plain Layout
1114 latexfonts
1115 \end_layout
1116
1117 \end_inset
1118
1119  サポートされているフォントに関する情報が掲載されています.
1120 \end_layout
1121
1122 \begin_layout Labeling
1123 \labelwidthstring 00.00.0000
1124 \begin_inset Flex Code
1125 status collapsed
1126
1127 \begin_layout Plain Layout
1128 layouttranslations
1129 \end_layout
1130
1131 \end_inset
1132
1133  このファイルは,
1134 国際化された段落様式の翻訳が収録されています(
1135 \begin_inset CommandInset ref
1136 LatexCommand ref
1137 reference "subsec:段落様式の国際化"
1138 nolink "false"
1139
1140 \end_inset
1141
1142 参照).
1143 \end_layout
1144
1145 \begin_layout Labeling
1146 \labelwidthstring 00.00.0000
1147 \begin_inset Flex Code
1148 status collapsed
1149
1150 \begin_layout Plain Layout
1151 unicodesymbols
1152 \end_layout
1153
1154 \end_inset
1155
1156  このファイルは,
1157 unicodeエンコーディングされたグリフに関する情報と,
1158 \SpecialChar LyX
1159 が\SpecialChar LaTeX
1160 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1161 \end_layout
1162
1163 \begin_layout Section
1164 ユーザのローカル設定ディレクトリ
1165 \end_layout
1166
1167 \begin_layout Standard
1168 \SpecialChar LyX
1169 を非特権ユーザとして利用している場合でも,
1170 自分自身で使うために,
1171 \SpecialChar LyX
1172 の設定を変更したいと思うかもしれません.
1173 \begin_inset Flex Code
1174 status collapsed
1175
1176 \begin_layout Plain Layout
1177 UserDir
1178 \end_layout
1179
1180 \end_inset
1181
1182 ディレクトリには,
1183 すべての個人設定ファイルが収められています.これは,
1184
1185 \begin_inset Flex MenuItem
1186 status collapsed
1187
1188 \begin_layout Plain Layout
1189 ヘルプ\SpecialChar menuseparator
1190 LyXについて
1191 \end_layout
1192
1193 \end_inset
1194
1195 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1196
1197 \begin_inset Flex Code
1198 status collapsed
1199
1200 \begin_layout Plain Layout
1201 LyXDir
1202 \end_layout
1203
1204 \end_inset
1205
1206 のミラーとして使用されており,
1207 これは
1208 \begin_inset Flex Code
1209 status collapsed
1210
1211 \begin_layout Plain Layout
1212 UserDir
1213 \end_layout
1214
1215 \end_inset
1216
1217 内のすべてのファイルが,
1218
1219 \begin_inset Flex Code
1220 status collapsed
1221
1222 \begin_layout Plain Layout
1223 LyXDir
1224 \end_layout
1225
1226 \end_inset
1227
1228 すし,
1229 自分自身で使うために個人のローカルディレクトリに置くこともできます.
1230 \end_layout
1231
1232 \begin_layout Standard
1233 わかりやすくするために,
1234 いくつか例を挙げましょう.
1235 \end_layout
1236
1237 \begin_layout Itemize
1238 \begin_inset Flex MenuItem
1239 status collapsed
1240
1241 \begin_layout Plain Layout
1242 ツール\SpecialChar menuseparator
1243 設定
1244 \end_layout
1245
1246 \end_inset
1247
1248 ダイアログで設定されるユーザ設定は,
1249
1250 \begin_inset Flex Code
1251 status collapsed
1252
1253 \begin_layout Plain Layout
1254 UserDir
1255 \end_layout
1256
1257 \end_inset
1258
1259 中の
1260 \begin_inset Flex Code
1261 status collapsed
1262
1263 \begin_layout Plain Layout
1264 preferences
1265 \end_layout
1266
1267 \end_inset
1268
1269 ファイルに保存されます.
1270 \end_layout
1271
1272 \begin_layout Itemize
1273 \begin_inset Flex MenuItem
1274 status collapsed
1275
1276 \begin_layout Plain Layout
1277 ツール\SpecialChar menuseparator
1278 環境構成
1279 \end_layout
1280
1281 \end_inset
1282
1283 を使用して環境構成を行うと,
1284 \SpecialChar LyX
1285
1286 \begin_inset Flex Code
1287 status collapsed
1288
1289 \begin_layout Plain Layout
1290 configure.py
1291 \end_layout
1292
1293 \end_inset
1294
1295 スクリプトを実行し,
1296 その結果のファイルは,
1297 ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1298
1299 \begin_inset Flex Code
1300 status collapsed
1301
1302 \begin_layout Plain Layout
1303 UserDir/layouts
1304 \end_layout
1305
1306 \end_inset
1307
1308 にご自身で追加したテキストファイルは,
1309
1310 \begin_inset Flex MenuItem
1311 status collapsed
1312
1313 \begin_layout Plain Layout
1314 文書\SpecialChar menuseparator
1315 設定
1316 \end_layout
1317
1318 \end_inset
1319
1320 ダイアログのクラス一覧に表示されるようになることを意味します.
1321 \end_layout
1322
1323 \begin_layout Itemize
1324 たとえば,
1325 \SpecialChar LyX
1326 のFTPサイトから最新の取扱説明書をとってきたものの,
1327 使用中のシステム上で管理者権限がないために,
1328 それをインストールすることができなかったとしても,
1329 それらのファイルを
1330 \begin_inset Flex Code
1331 status collapsed
1332
1333 \begin_layout Plain Layout
1334 UserDir/doc/
1335 \end_layout
1336
1337 \end_inset
1338
1339 ディレクトリにコピーすれば,
1340
1341 \begin_inset Flex MenuItem
1342 status collapsed
1343
1344 \begin_layout Plain Layout
1345 ヘルプ
1346 \end_layout
1347
1348 \end_inset
1349
1350 メニュー項目はこれらを開くようになります!
1351
1352 \end_layout
1353
1354 \begin_layout Section
1355 \SpecialChar LyX
1356 を複数の設定を使って実行するには
1357 \end_layout
1358
1359 \begin_layout Standard
1360 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,
1361 2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,
1362 使用する度に異なるキー割当を使用したり,
1363 異なるプリンタ設定を使用したいことがあるかもしれません.これは,
1364 複数の設定ディレクトリを作ることで実現することができます.そして,
1365 実行時にどのディレクトリを使用するか指定するのです.
1366 \end_layout
1367
1368 \begin_layout Standard
1369 \SpecialChar LyX
1370 をコマンドラインスイッチ
1371 \begin_inset Flex Code
1372 status collapsed
1373
1374 \begin_layout Plain Layout
1375 -userdir
1376 \end_layout
1377
1378 \end_inset
1379
1380 P
1381 \emph on
1382 <ディレクトリ名>
1383 \emph default
1384 と共に起動すると,
1385 設定を既定のディレクトリではなく,
1386 指定したディレクトリから読み込むように,
1387 指示することになります(\SpecialChar LyX
1388
1389 \begin_inset Flex Code
1390 status collapsed
1391
1392 \begin_layout Plain Layout
1393 -userdir
1394 \end_layout
1395
1396 \end_inset
1397
1398 スイッチなしで実行すれば,
1399 既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,
1400 \SpecialChar LyX
1401 は,
1402 初めて\SpecialChar LyX
1403 を実行したときに既定ディレクトリを訊いてくるのと同様に,
1404 そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,
1405 既定ディレクトリで行うのと全く同じように設定オプションを修正することができます.これらのディレクトリは完全に独立しています(が,
1406 読み進めてください).また,
1407 環境変数
1408 \begin_inset Flex Code
1409 status collapsed
1410
1411 \begin_layout Plain Layout
1412 LYX_USERDIR_20x
1413 \end_layout
1414
1415 \end_inset
1416
1417 を特定の値に設定しても,
1418 全く同じ効果があります.
1419 \end_layout
1420
1421 \begin_layout Standard
1422 複数の設定を持つことはまた,
1423 維持の手間も増えるということです.もし新しいレイアウトを
1424 \begin_inset Flex Code
1425 status collapsed
1426
1427 \begin_layout Plain Layout
1428 NewUserDir/layouts
1429 \end_layout
1430
1431 \end_inset
1432
1433 に加えて,
1434 これをすべての設定で利用できるようにしたいならば,
1435 これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,
1436 次のようなトリックを使用してください.\SpecialChar LyX
1437 が新しい設定ディレクトリを生成すると,
1438 そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1439 空のサブディレクトリを,
1440 既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1441 \begin_inset Flex Code
1442 status collapsed
1443
1444 \begin_layout Plain Layout
1445 doc/
1446 \end_layout
1447
1448 \end_inset
1449
1450 サブディレクトリには,
1451 設定スクリプト(
1452 \begin_inset Flex MenuItem
1453 status collapsed
1454
1455 \begin_layout Plain Layout
1456 ツール\SpecialChar menuseparator
1457 環境構成
1458 \end_layout
1459
1460 \end_inset
1461
1462 で使用可能)が書き出した,
1463 設定毎に異なるファイルが含まれていますので,
1464 注意を払ってください.
1465 \end_layout
1466
1467 \begin_layout Chapter
1468 設定ダイアログ
1469 \end_layout
1470
1471 \begin_layout Standard
1472 設定ダイアログのオプションのすべては,
1473
1474 \emph on
1475 ユーザーの手引き
1476 \emph default
1477 の付録
1478 \emph on
1479 設定ダイアログ
1480 \emph default
1481 に述べられています.オプションのうちいくつかについて,
1482 ここでさらに詳細に説明します.
1483 \end_layout
1484
1485 \begin_layout Section
1486 ファイル形式
1487 \begin_inset CommandInset label
1488 LatexCommand label
1489 name "sec:ファイル形式"
1490
1491 \end_inset
1492
1493
1494 \end_layout
1495
1496 \begin_layout Standard
1497 ファイル形式が定義されていない場合,
1498 はじめの一歩は,
1499 使いたいと思うファイル形式を定義することです.それには,
1500
1501 \begin_inset Flex MenuItem
1502 status collapsed
1503
1504 \begin_layout Plain Layout
1505 ツール\SpecialChar menuseparator
1506 設定
1507 \end_layout
1508
1509 \end_inset
1510
1511 ダイアログを開いてください.
1512 \begin_inset Flex MenuItem
1513 status collapsed
1514
1515 \begin_layout Plain Layout
1516 ファイル処理\SpecialChar menuseparator
1517 ファイル形式
1518 \end_layout
1519
1520 \end_inset
1521
1522 の中で
1523 \begin_inset Flex MenuItem
1524 status collapsed
1525
1526 \begin_layout Plain Layout
1527 新規\SpecialChar ldots
1528
1529 \end_layout
1530
1531 \end_inset
1532
1533 ボタンを押して,
1534 登録する新しい形式を定義してください.
1535 \begin_inset Flex MenuItem
1536 status collapsed
1537
1538 \begin_layout Plain Layout
1539 形式
1540 \end_layout
1541
1542 \end_inset
1543
1544 フィールドは,
1545 GUI中で形式を認識するために用いられる名称です.
1546 \begin_inset Flex MenuItem
1547 status collapsed
1548
1549 \begin_layout Plain Layout
1550 短縮名
1551 \end_layout
1552
1553 \end_inset
1554
1555 は,
1556 形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1557 \begin_inset Flex MenuItem
1558 status collapsed
1559
1560 \begin_layout Plain Layout
1561 ショートカット
1562 \end_layout
1563
1564 \end_inset
1565
1566 フィールドは,
1567 メニュー中でショートカットを提供するのに使用されます(たとえば,
1568
1569 \begin_inset Flex MenuItem
1570 status collapsed
1571
1572 \begin_layout Plain Layout
1573 Ctrl+D
1574 \end_layout
1575
1576 \end_inset
1577
1578 を押すと
1579 \begin_inset Flex MenuItem
1580 status collapsed
1581
1582 \begin_layout Plain Layout
1583 表示\SpecialChar menuseparator
1584 DVI
1585 \end_layout
1586
1587 \end_inset
1588
1589 となります).
1590 \end_layout
1591
1592 \begin_layout Standard
1593 形式には,
1594
1595 \begin_inset Flex MenuItem
1596 status collapsed
1597
1598 \begin_layout Plain Layout
1599 閲覧プログラム
1600 \end_layout
1601
1602 \end_inset
1603
1604
1605 \begin_inset Flex MenuItem
1606 status collapsed
1607
1608 \begin_layout Plain Layout
1609 編集プログラム
1610 \end_layout
1611
1612 \end_inset
1613
1614 を関連づけることができます.たとえば,
1615 PostScriptファイルを閲覧するのに
1616 \begin_inset Flex MenuItem
1617 status collapsed
1618
1619 \begin_layout Plain Layout
1620 Ghostview
1621 \end_layout
1622
1623 \end_inset
1624
1625 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,
1626 コマンドを定義するのに,
1627 次節に掲げる4つの変数を用いることができます.この閲覧プログラムは,
1628 \SpecialChar LyX
1629 中で画像を閲覧したり
1630 \begin_inset Flex MenuItem
1631 status collapsed
1632
1633 \begin_layout Plain Layout
1634 表示
1635 \end_layout
1636
1637 \end_inset
1638
1639 メニューを使用したときに起動されます.一方,
1640 編集プログラムは,
1641 たとえば,
1642 画像を右クリックして現れるコンテクストメニューで
1643 \begin_inset Flex MenuItem
1644 status collapsed
1645
1646 \begin_layout Plain Layout
1647 外部で編集
1648 \end_layout
1649
1650 \end_inset
1651
1652 を選択したときに起動します.
1653 \end_layout
1654
1655 \begin_layout Standard
1656 ファイル形式の
1657 \begin_inset Flex MenuItem
1658 status collapsed
1659
1660 \begin_layout Plain Layout
1661 MIME
1662 \end_layout
1663
1664 \end_inset
1665
1666 型は必須ではありませんが,
1667 指定するときには,
1668 すべての形式の中で一意的なものでなくてはなりません.これは,
1669 この形式のファイルをファイル内容から検出するのに用いられます.重要なファイル形式のうちには,
1670
1671 \begin_inset CommandInset href
1672 LatexCommand href
1673 name "IANA"
1674 target "http://www.iana.org/assignments/media-types/"
1675 literal "false"
1676
1677 \end_inset
1678
1679 に公式に登録されたMIME型がないものがあります.そこで,
1680 \SpecialChar LyX
1681 は,
1682
1683 \begin_inset CommandInset href
1684 LatexCommand href
1685 name "freedesktop.org"
1686 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1687 literal "false"
1688
1689 \end_inset
1690
1691 で指定されているMIME型拡張表を使用しています.
1692 \end_layout
1693
1694 \begin_layout Standard
1695 \begin_inset Flex MenuItem
1696 status collapsed
1697
1698 \begin_layout Plain Layout
1699 文書形式
1700 \end_layout
1701
1702 \end_inset
1703
1704 オプションは,
1705 \SpecialChar LyX
1706 に,
1707 この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,
1708 適切な変換経路が存在する場合には(第
1709 \begin_inset CommandInset ref
1710 LatexCommand ref
1711 reference "sec:変換子"
1712 nolink "false"
1713
1714 \end_inset
1715
1716 節を参照),
1717 この形式が
1718 \begin_inset Flex MenuItem
1719 status collapsed
1720
1721 \begin_layout Plain Layout
1722 ファイル\SpecialChar menuseparator
1723 書き出し
1724 \end_layout
1725
1726 \end_inset
1727
1728
1729 \begin_inset Flex MenuItem
1730 status collapsed
1731
1732 \begin_layout Plain Layout
1733 表示
1734 \end_layout
1735
1736 \end_inset
1737
1738 footlabel Label color for footnotす.
1739 \begin_inset Flex Code
1740 status collapsed
1741
1742 \begin_layout Plain Layout
1743 png
1744 \end_layout
1745
1746 \end_inset
1747
1748 のような純粋な画像形式は,
1749 このオプションを有効にしてはいけません.
1750 \begin_inset Flex Code
1751 status collapsed
1752
1753 \begin_layout Plain Layout
1754 pdf
1755 \end_layout
1756
1757 \end_inset
1758
1759 のようにベクター画像であると同時に文書でもあるような形式は,
1760 これを有効にします.
1761 \end_layout
1762
1763 \begin_layout Standard
1764 \begin_inset Flex MenuItem
1765 status collapsed
1766
1767 \begin_layout Plain Layout
1768 ベクター画像形式
1769 \end_layout
1770
1771 \end_inset
1772
1773 オプションは,
1774 \SpecialChar LyX
1775 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1776
1777 \begin_inset Flex MenuItem
1778 status collapsed
1779
1780 \begin_layout Plain Layout
1781 pdflatex
1782 \end_layout
1783
1784 \end_inset
1785
1786 を書き出す際に,
1787 内包されている画像をどの形式に変換するかを決定するのに使用されます.
1788 \begin_inset Flex MenuItem
1789 status collapsed
1790
1791 \begin_layout Plain Layout
1792 pdflatex
1793 \end_layout
1794
1795 \end_inset
1796
1797 は,
1798
1799 \begin_inset Flex MenuItem
1800 status collapsed
1801
1802 \begin_layout Plain Layout
1803 pdf
1804 \end_layout
1805
1806 \end_inset
1807
1808
1809 \begin_inset Flex MenuItem
1810 status collapsed
1811
1812 \begin_layout Plain Layout
1813 png
1814 \end_layout
1815
1816 \end_inset
1817
1818
1819 \begin_inset Flex MenuItem
1820 status collapsed
1821
1822 \begin_layout Plain Layout
1823 Des
1824 \end_layout
1825
1826 \end_inset
1827
1828 以外の画像形式を取り扱うことができないので,
1829 内包されている画像は,
1830 これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1831 \begin_inset Flex MenuItem
1832 status collapsed
1833
1834 \begin_layout Plain Layout
1835 pdf
1836 \end_layout
1837
1838 \end_inset
1839
1840
1841 \begin_inset Flex MenuItem
1842 status collapsed
1843
1844 \begin_layout Plain Layout
1845 png
1846 \end_layout
1847
1848 \end_inset
1849
1850
1851 \begin_inset Flex MenuItem
1852 status collapsed
1853
1854 \begin_layout Plain Layout
1855 jpg
1856 \end_layout
1857
1858 \end_inset
1859
1860 のいずれかになっていない場合には,
1861 ベクター画像形式オプションが有効になっている場合には
1862 \begin_inset Flex MenuItem
1863 status collapsed
1864
1865 \begin_layout Plain Layout
1866 pdf
1867 \end_layout
1868
1869 \end_inset
1870
1871 に変換され,
1872 そうでない場合には
1873 \begin_inset Flex MenuItem
1874 status collapsed
1875
1876 \begin_layout Plain Layout
1877 png
1878 \end_layout
1879
1880 \end_inset
1881
1882 に変換されます.
1883 \end_layout
1884
1885 \begin_layout Section
1886 複写子
1887 \end_layout
1888
1889 \begin_layout Standard
1890 形式の変換はすべて,
1891 \SpecialChar LyX
1892 の一時ディレクトリで行われるため,
1893 変換用にファイルを一時ディレクトリにコピーする前段階で,
1894 ファイルに変更を加える必要のあることがあります
1895 \begin_inset Foot
1896 status collapsed
1897
1898 \begin_layout Plain Layout
1899 たとえば,
1900 ファイルが他のファイル—
1901 たとえば画像—
1902 を,
1903 相対ファイル名を用いて参照している場合,
1904 このファイルが一時ディレクトリにコピーされると参照が無効になる場合があります.
1905 \end_layout
1906
1907 \end_inset
1908
1909 .これは複写子によって取り扱われ,
1910 複写子は,
1911 ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,
1912 その過程でファイルに変更を加えます.
1913 \end_layout
1914
1915 \begin_layout Standard
1916 複写子の定義においては,
1917 以下の8つの変数を用いることができます.
1918 \end_layout
1919
1920 \begin_layout Labeling
1921 \labelwidthstring 00.00.0000
1922 \begin_inset Flex Code
1923 status collapsed
1924
1925 \begin_layout Plain Layout
1926 $$s
1927 \end_layout
1928
1929 \end_inset
1930
1931  \SpecialChar LyX
1932 のシステムディレクトリ(例:
1933
1934 \begin_inset Flex MenuItem
1935 status collapsed
1936
1937 \begin_layout Plain Layout
1938 /usr/share/lyx
1939 \end_layout
1940
1941 \end_inset
1942
1943
1944 \end_layout
1945
1946 \begin_layout Labeling
1947 \labelwidthstring 00.00.0000
1948 \begin_inset Flex Code
1949 status collapsed
1950
1951 \begin_layout Plain Layout
1952 $$i
1953 \end_layout
1954
1955 \end_inset
1956
1957  入力ファイル
1958 \end_layout
1959
1960 \begin_layout Labeling
1961 \labelwidthstring 00.00.0000
1962 \begin_inset Flex Code
1963 status collapsed
1964
1965 \begin_layout Plain Layout
1966 $$o
1967 \end_layout
1968
1969 \end_inset
1970
1971  出力ファイル
1972 \end_layout
1973
1974 \begin_layout Labeling
1975 \labelwidthstring 00.00.0000
1976 \begin_inset Flex Code
1977 status collapsed
1978
1979 \begin_layout Plain Layout
1980 $$b
1981 \end_layout
1982
1983 \end_inset
1984
1985  \SpecialChar LyX
1986 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1987 \end_layout
1988
1989 \begin_layout Labeling
1990 \labelwidthstring 00.00.0000
1991 \begin_inset Flex Code
1992 status collapsed
1993
1994 \begin_layout Plain Layout
1995 $$p
1996 \end_layout
1997
1998 \end_inset
1999
2000  \SpecialChar LyX
2001 一時ディレクトリのフルパス名
2002 \end_layout
2003
2004 \begin_layout Labeling
2005 \labelwidthstring 00.00.0000
2006 \begin_inset Flex Code
2007 status collapsed
2008
2009 \begin_layout Plain Layout
2010 $$r
2011 \end_layout
2012
2013 \end_inset
2014
2015  処理されている元の\SpecialChar LyX
2016 ファイルのフルパス名
2017 \end_layout
2018
2019 \begin_layout Labeling
2020 \labelwidthstring 00.00.0000
2021 \begin_inset Flex Code
2022 status collapsed
2023
2024 \begin_layout Plain Layout
2025 $$f
2026 \end_layout
2027
2028 \end_inset
2029
2030  \SpecialChar LyX
2031 ファイルのファイル名(ディレクトリパスなし)
2032 \end_layout
2033
2034 \begin_layout Labeling
2035 \labelwidthstring 00.00.0000
2036 \begin_inset Flex Code
2037 status collapsed
2038
2039 \begin_layout Plain Layout
2040 $$l
2041 \end_layout
2042
2043 \end_inset
2044
2045  「\SpecialChar LaTeX
2046 名」
2047 \end_layout
2048
2049 \begin_layout Standard
2050 最後の変数は,
2051 \SpecialChar LaTeX
2052
2053 \series bold
2054
2055 \backslash
2056 include
2057 \series default
2058 コマンドで使用されるのと同形式のファイル名です.これは,
2059 書き出すファイルがそのようなインクルードに適している場合のみ,
2060 使用さるべきものです.
2061 \end_layout
2062
2063 \begin_layout Standard
2064 複写子は,
2065 出力ファイルに関する操作であれば,
2066 ほとんどすべてに対応することができます.たとえば,
2067 生成したPDFファイルを,
2068
2069 \begin_inset Flex Code
2070 status collapsed
2071
2072 \begin_layout Plain Layout
2073 /home/you/pdf/
2074 \end_layout
2075
2076 \end_inset
2077
2078 という特別なディレクトリにコピーしたいものとしましょう.その場合には,
2079 以下のようなシェルスクリプトを書きます.
2080 \end_layout
2081
2082 \begin_layout Standard
2083 \begin_inset listings
2084 inline false
2085 status open
2086
2087 \begin_layout Plain Layout
2088
2089 #!/bin/bash
2090 \end_layout
2091
2092 \begin_layout Plain Layout
2093
2094 FROMFILE=$1
2095 \end_layout
2096
2097 \begin_layout Plain Layout
2098
2099 TOFILE=`basename $2`
2100 \end_layout
2101
2102 \begin_layout Plain Layout
2103
2104 DescriptionE /home/you/pdf/$TOFILE
2105 \end_layout
2106
2107 \end_inset
2108
2109 これを,
2110 例えば
2111 \begin_inset Flex Code
2112 status collapsed
2113
2114 \begin_layout Plain Layout
2115 /home/you/.lyx/scripts/pdfcopier.sh
2116 \end_layout
2117
2118 \end_inset
2119
2120 のような,
2121 自身のローカル\SpecialChar LyX
2122 ディレクトリに保存し,
2123 お使いのプラットフォームが必要とするならば,
2124 実行可能属性を付与します.それから,
2125
2126 \begin_inset Flex MenuItem
2127 status collapsed
2128
2129 \begin_layout Plain Layout
2130 ツール\SpecialChar menuseparator
2131 設定
2132 \end_layout
2133
2134 \end_inset
2135
2136 ダイアログの
2137 \begin_inset Flex MenuItem
2138 status collapsed
2139
2140 \begin_layout Plain Layout
2141 ファイル処理\SpecialChar menuseparator
2142 ファイル形式
2143 \end_layout
2144
2145 \end_inset
2146
2147 の中で,
2148
2149 \begin_inset Flex MenuItem
2150 status collapsed
2151
2152 \begin_layout Plain Layout
2153 PDF(pdflatex)
2154 \end_layout
2155
2156 \end_inset
2157
2158 形式—
2159 あるいは他のPDF形式のうちどれか—
2160 を選択し,
2161
2162 \begin_inset Flex MenuItem
2163 status collapsed
2164
2165 \begin_layout Plain Layout
2166 複写子
2167 \end_layout
2168
2169 \end_inset
2170
2171 フィールドに
2172 \begin_inset Flex Code
2173 status collapsed
2174
2175 \begin_layout Plain Layout
2176 pdfcopier.sh $$i $$o
2177 \end_layout
2178
2179 \end_inset
2180
2181 と入力します.
2182 \end_layout
2183
2184 \begin_layout Standard
2185 複写子は,
2186 \SpecialChar LyX
2187 自身が様々な変換に使用します.たとえば,
2188 適切なプログラムが検出された場合,
2189 \SpecialChar LyX
2190 は自動的に
2191 \begin_inset Flex MenuItem
2192 status collapsed
2193
2194 \begin_layout Plain Layout
2195 HTML
2196 \end_layout
2197
2198 \end_inset
2199
2200 形式と
2201 \begin_inset Flex MenuItem
2202 status collapsed
2203
2204 \begin_layout Plain Layout
2205 HTML
2206 \begin_inset space ~
2207 \end_inset
2208
2209 (MS Word)
2210 \end_layout
2211
2212 \end_inset
2213
2214 形式の複写子を導入します.これらの形式を書き出す際,
2215 複写子は,
2216 本体のHTMLファイルだけでなく,
2217 関連した様々なファイル(スタイルファイルや画像など)もコピーされるように手配します.これらのファイルはすべて,
2218 元の\SpecialChar LyX
2219 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2220 \begin_inset Foot
2221 status collapsed
2222
2223 \begin_layout Plain Layout
2224 この複写子の挙動は調整することができます.非必須の「-e」オプションは,
2225 コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,
2226 すべてのファイルがコピーされます.「-t」引数は,
2227 生成したディレクトリに書き加える拡張子を指定するものです.既定値では,
2228 これは「
2229 \begin_inset Flex MenuItem
2230 status collapsed
2231
2232 \begin_layout Plain Layout
2233 LyXconv
2234 \end_layout
2235
2236 \end_inset
2237
2238 」となっているので,
2239
2240 \begin_inset Flex MenuItem
2241 status collapsed
2242
2243 \begin_layout Plain Layout
2244 /path/to/filename.lyx
2245 \end_layout
2246
2247 \end_inset
2248
2249 から生成されたHTMLファイルは,
2250
2251 \begin_inset Flex MenuItem
2252 status collapsed
2253
2254 \begin_layout Plain Layout
2255 /path/to/filename.html.LyXconv
2256 \end_layout
2257
2258 \end_inset
2259
2260 となります..
2261  
2262 \end_layout
2263
2264 \end_inset
2265
2266
2267 \end_layout
2268
2269 \begin_layout Section
2270 変換子
2271 \begin_inset CommandInset label
2272 LatexCommand label
2273 name "sec:変換子"
2274
2275 \end_inset
2276
2277
2278 \end_layout
2279
2280 \begin_layout Standard
2281 各形式間でファイルを変換するために,
2282 ご自身の変換子を定義することができます.これは,
2283
2284 \begin_inset Flex MenuItem
2285 status collapsed
2286
2287 \begin_layout Plain Layout
2288 ツール\SpecialChar menuseparator
2289 設定\SpecialChar menuseparator
2290 ファイル処理\SpecialChar menuseparator
2291 変換子
2292 \end_layout
2293
2294 \end_inset
2295
2296 ダイアログで行います.
2297 \end_layout
2298
2299 \begin_layout Standard
2300 新規に変換子を定義するには,
2301 ドロップダウンリストから
2302 \begin_inset Flex MenuItem
2303 status collapsed
2304
2305 \begin_layout Plain Layout
2306 変換元の形式
2307 \end_layout
2308
2309 \end_inset
2310
2311
2312 \begin_inset Flex MenuItem
2313 status collapsed
2314
2315 \begin_layout Plain Layout
2316 変換先の形式
2317 \end_layout
2318
2319 \end_inset
2320
2321 を選択し,
2322 変換に必要なコマンドを入力してから
2323 \begin_inset Flex MenuItem
2324 status collapsed
2325
2326 \begin_layout Plain Layout
2327 追加
2328 \end_layout
2329
2330 \end_inset
2331
2332 ボタンを押してください.変換子の定義には,
2333 以下のような変数を使用することができます.
2334 \end_layout
2335
2336 \begin_layout Labeling
2337 \labelwidthstring 00.00.0000
2338 \begin_inset Flex Code
2339 status collapsed
2340
2341 \begin_layout Plain Layout
2342 $$s
2343 \end_layout
2344
2345 \end_inset
2346
2347  \SpecialChar LyX
2348 システムディレクトリ
2349 \end_layout
2350
2351 \begin_layout Labeling
2352 \labelwidthstring 00.00.0000
2353 \begin_inset Flex Code
2354 status collapsed
2355
2356 \begin_layout Plain Layout
2357 $$i
2358 \end_layout
2359
2360 \end_inset
2361
2362  入力ファイル
2363 \end_layout
2364
2365 \begin_layout Labeling
2366 \labelwidthstring 00.00.0000
2367 \begin_inset Flex Code
2368 status collapsed
2369
2370 \begin_layout Plain Layout
2371 $$o
2372 \end_layout
2373
2374 \end_inset
2375
2376  出力ファイル
2377 \end_layout
2378
2379 \begin_layout Labeling
2380 \labelwidthstring 00.00.0000
2381 \begin_inset Flex Code
2382 status collapsed
2383
2384 \begin_layout Plain Layout
2385 $$b
2386 \end_layout
2387
2388 \end_inset
2389
2390  入力ファイルのベースファイル名(拡張子をとった部分)
2391 \end_layout
2392
2393 \begin_layout Labeling
2394 \labelwidthstring 00.00.0000
2395 \begin_inset Flex Code
2396 status collapsed
2397
2398 \begin_layout Plain Layout
2399 $$p
2400 \end_layout
2401
2402 \end_inset
2403
2404  入力ファイルのパス
2405 \end_layout
2406
2407 \begin_layout Labeling
2408 \labelwidthstring 00.00.0000
2409 \begin_inset Flex Code
2410 status collapsed
2411
2412 \begin_layout Plain Layout
2413 $$r
2414 \end_layout
2415
2416 \end_inset
2417
2418  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2419 \end_layout
2420
2421 \begin_layout Labeling
2422 \labelwidthstring 00.00.0000
2423 \begin_inset Flex Code
2424 status collapsed
2425
2426 \begin_layout Plain Layout
2427 $$e
2428 \end_layout
2429
2430 \end_inset
2431
2432  文書エンコーディングのiconv名
2433 \end_layout
2434
2435 \begin_layout Standard
2436 \begin_inset Flex MenuItem
2437 status collapsed
2438
2439 \begin_layout Plain Layout
2440 追加フラグ
2441 \end_layout
2442
2443 \end_inset
2444
2445 フィールドには,
2446 以下のフラグをコンマで区切って入力することができます.
2447 \end_layout
2448
2449 \begin_layout Labeling
2450 \labelwidthstring 00.00.0000
2451 \begin_inset Flex Code
2452 status collapsed
2453
2454 \begin_layout Plain Layout
2455 latex=flavor
2456 \end_layout
2457
2458 \end_inset
2459
2460  この変換子が\SpecialChar LaTeX
2461 の一種を実行することを示します.これによって,
2462 \SpecialChar LyX
2463 の\SpecialChar LaTeX
2464 エラーログに記録を残せるようになります.オプションの
2465 \begin_inset Flex Code
2466 status open
2467
2468 \begin_layout Plain Layout
2469 flavor
2470 \end_layout
2471
2472 \end_inset
2473
2474 値は実行する\SpecialChar LaTeX
2475 の形を指定します( 
2476 \begin_inset Flex Code
2477 status open
2478
2479 \begin_layout Plain Layout
2480 latex,
2481  pdflatex,
2482  platex,
2483  xetex,
2484  luatex
2485 \end_layout
2486
2487 \end_inset
2488
2489 ).値が指定されなければ
2490 \begin_inset Flex Code
2491 status open
2492
2493 \begin_layout Plain Layout
2494 latex
2495 \end_layout
2496
2497 \end_inset
2498
2499 が用いられます.
2500 \end_layout
2501
2502 \begin_layout Labeling
2503 \labelwidthstring 00.00.0000
2504 \begin_inset Flex Code
2505 status collapsed
2506
2507 \begin_layout Plain Layout
2508 needauth
2509 \end_layout
2510
2511 \end_inset
2512
2513  この変換子が安全でないと見做されていて,
2514 ユーザーの許可が必要であることを示します.
2515 \family sans
2516 \series bold
2517 ツール\SpecialChar menuseparator
2518 設定\SpecialChar menuseparator
2519 ファイル処理\SpecialChar menuseparator
2520 変換子
2521 \family default
2522 \series default
2523
2524 \begin_inset space \thinspace{}
2525 \end_inset
2526
2527 の設定によって,
2528 ユーザーは,
2529 (a.)現在の文書を一時的もしくは恒久的に信頼するか否かを尋ねられるか,
2530 (b.)セキュリティ上の懸念によって変換は不可能であることを伝えられるか,
2531 (c.)恒久的な同意を与えたので通知されないかのいずれかになります.任意のプログラムを実行する可能性のある変換子には,
2532 このフラグを設定してください.
2533 \end_layout
2534
2535 \begin_layout Labeling
2536 \labelwidthstring 00.00.0000
2537 \begin_inset Flex Code
2538 status collapsed
2539
2540 \begin_layout Plain Layout
2541 needaux=flavor
2542 \end_layout
2543
2544 \end_inset
2545
2546  変換に\SpecialChar LaTeX
2547
2548 \begin_inset Flex MenuItem
2549 status collapsed
2550
2551 \begin_layout Plain Layout
2552 .aux
2553 \end_layout
2554
2555 \end_inset
2556
2557 ファイルが必要であることを示します.オプションの
2558 \begin_inset Flex Code
2559 status open
2560
2561 \begin_layout Plain Layout
2562 flavor
2563 \end_layout
2564
2565 \end_inset
2566
2567 値は
2568 \begin_inset Flex MenuItem
2569 status collapsed
2570
2571 \begin_layout Plain Layout
2572 .aux
2573 \end_layout
2574
2575 \end_inset
2576
2577 ファイルを生成するのに実行する\SpecialChar LaTeX
2578 の形を指定します( 
2579 \begin_inset Flex Code
2580 status open
2581
2582 \begin_layout Plain Layout
2583 latex,
2584  pdflatex,
2585  platex,
2586  xetex,
2587  luatex
2588 \end_layout
2589
2590 \end_inset
2591
2592 ).値が指定されなければ
2593 \begin_inset Flex Code
2594 status open
2595
2596 \begin_layout Plain Layout
2597 latex
2598 \end_layout
2599
2600 \end_inset
2601
2602 が用いられます.
2603 \end_layout
2604
2605 \begin_layout Labeling
2606 \labelwidthstring 00.00.0000
2607 \begin_inset Flex Code
2608 status collapsed
2609
2610 \begin_layout Plain Layout
2611 nice
2612 \end_layout
2613
2614 \end_inset
2615
2616  バックエンドからの
2617 \begin_inset Quotes erd
2618 \end_inset
2619
2620 nice
2621 \begin_inset Quotes erd
2622 \end_inset
2623
2624 なファイル,
2625 つまり\SpecialChar LyX
2626 が書き出す\SpecialChar LaTeX
2627 ファイルのように,
2628
2629 \begin_inset Flex Code
2630 status open
2631
2632 \begin_layout Plain Layout
2633 input@path
2634 \end_layout
2635
2636 \end_inset
2637
2638 のない\SpecialChar LaTeX
2639 ファイルを必要とします.
2640 \end_layout
2641
2642 \begin_layout Labeling
2643 \labelwidthstring 00.00.0000
2644 \begin_inset Flex Code
2645 status collapsed
2646
2647 \begin_layout Plain Layout
2648 xml
2649 \end_layout
2650
2651 \end_inset
2652
2653  出力がXMLであることを示します.
2654 \end_layout
2655
2656 \begin_layout Standard
2657 以下の4つのフラグは 
2658 \begin_inset Flex MenuItem
2659 status collapsed
2660
2661 \begin_layout Plain Layout
2662 key
2663 \begin_inset space ~
2664 \end_inset
2665
2666 =
2667 \begin_inset space ~
2668 \end_inset
2669
2670 value
2671 \end_layout
2672
2673 \end_inset
2674
2675 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2676 \end_layout
2677
2678 \begin_layout Labeling
2679 \labelwidthstring 00.00.0000
2680 \begin_inset Flex Code
2681 status collapsed
2682
2683 \begin_layout Plain Layout
2684 hyperref-driver
2685 \end_layout
2686
2687 \end_inset
2688
2689  この変換子が
2690 \family sans
2691 hyperref
2692 \family default
2693 パッケージとともに読み込む必要のあるドライバ名.一部のPDF機能を利用するには正しいドライバを読み込む必要があります.詳細については,
2694
2695 \family sans
2696 hyperref
2697 \family default
2698 の取扱説明書を参照してください.
2699 \end_layout
2700
2701 \begin_layout Labeling
2702 \labelwidthstring 00.00.0000
2703 \begin_inset Flex Code
2704 status collapsed
2705
2706 \begin_layout Plain Layout
2707 parselog
2708 \end_layout
2709
2710 \end_inset
2711
2712  これを指定すると,
2713 変換子の標準エラーが
2714 \begin_inset Flex Code
2715 status collapsed
2716
2717 \begin_layout Plain Layout
2718 infile.out
2719 \end_layout
2720
2721 \end_inset
2722
2723 ファイルにリダイレクトされ,
2724 引数に指定されたスクリプトが
2725 \begin_inset Flex Code
2726 status collapsed
2727
2728 \begin_layout Plain Layout
2729 script < infile.out > infile.log
2730 \end_layout
2731
2732 \end_inset
2733
2734 の形で実行されるようになります.引数には
2735 \begin_inset Flex Code
2736 status collapsed
2737
2738 \begin_layout Plain Layout
2739 $$s
2740 \end_layout
2741
2742 \end_inset
2743
2744 を指定することができます.
2745 \end_layout
2746
2747 \begin_layout Labeling
2748 \labelwidthstring 00.00.0000
2749 \begin_inset Flex Code
2750 status collapsed
2751
2752 \begin_layout Plain Layout
2753 resultdir
2754 \end_layout
2755
2756 \end_inset
2757
2758  これには,
2759 変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2760 はこのディレクトリを作成せず,
2761 ここに何もコピーしませんが,
2762 このディレクトリを宛先にコピーします.引数には,
2763
2764 \begin_inset Flex Code
2765 status collapsed
2766
2767 \begin_layout Plain Layout
2768 $$b
2769 \end_layout
2770
2771 \end_inset
2772
2773 を使用することができ,
2774 これはディレクトリがコピーされる際に,
2775 入力ファイルおよび出力ファイルのベース名で置換されます.
2776 \begin_inset Newline newline
2777 \end_inset
2778
2779 resultdirとusetempdirは,
2780 同時に用いることはできませんのでご注意ください.前者が指定されているときには,
2781 後者は無視されます.
2782 \end_layout
2783
2784 \begin_layout Labeling
2785 \labelwidthstring 00.00.0000
2786 \begin_inset Flex Code
2787 status collapsed
2788
2789 \begin_layout Plain Layout
2790 resultfile
2791 \end_layout
2792
2793 \end_inset
2794
2795  これは出力ファイル名を指定するもので,
2796
2797 \begin_inset Flex Code
2798 status collapsed
2799
2800 \begin_layout Plain Layout
2801 $$b
2802 \end_layout
2803
2804 \end_inset
2805
2806 を使用することができます.resultdirが指定されているときのみ有効で,
2807 必ず用いる必要はありません.指定されていなければ,
2808 既定値は「index」です.
2809 \end_layout
2810
2811 \begin_layout Standard
2812 \SpecialChar LyX
2813 とともに導入されている変換子の一部には適切なhyperref-driverが設定されています.しかしながら最後の3つは,
2814 \SpecialChar LyX
2815 に前もって導入されている変換子には,
2816 現在いずれも使用されておりません.
2817 \end_layout
2818
2819 \begin_layout Standard
2820 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,
2821 「\SpecialChar LyX
2822 からPostScript」変換子が定義されていないのに,
2823 \SpecialChar LyX
2824 はPostScriptを書き出していることに気づかれることでしょう.これは,
2825 まず\SpecialChar LaTeX
2826 ファイルを生成した後に(これには変換子を定義する必要はありません),
2827 「LaTeXからDVI」変換子を使用してDVIに変換し,
2828 最後に,
2829 得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2830 はこのような変換子の「連鎖」を自動的に見つけ,
2831 つねに最も短い連鎖を選択します.しかしながら,
2832 なお形式間に複数の変換方法を定義することも可能です.たとえば,
2833 標準的な\SpecialChar LyX
2834 設定は,
2835 \SpecialChar LaTeX
2836 からPDFへ変換するのに,
2837 以下の3つの方法を用意しています.
2838 \end_layout
2839
2840 \begin_layout Enumerate
2841 直接
2842 \begin_inset Flex MenuItem
2843 status collapsed
2844
2845 \begin_layout Plain Layout
2846 pdflatex
2847 \end_layout
2848
2849 \end_inset
2850
2851 を使用するもの
2852 \end_layout
2853
2854 \begin_layout Enumerate
2855 (DVIと)PostScriptを経由して
2856 \begin_inset Flex MenuItem
2857 status collapsed
2858
2859 \begin_layout Plain Layout
2860 ps2pdf
2861 \end_layout
2862
2863 \end_inset
2864
2865 を使用するもの
2866 \end_layout
2867
2868 \begin_layout Enumerate
2869 DVI経由で
2870 \begin_inset Flex MenuItem
2871 status collapsed
2872
2873 \begin_layout Plain Layout
2874 dvipdfm
2875 \end_layout
2876
2877 \end_inset
2878
2879 を使用するもの
2880 \end_layout
2881
2882 \begin_layout Enumerate
2883 直接
2884 \begin_inset Flex MenuItem
2885 status collapsed
2886
2887 \begin_layout Plain Layout
2888 Xe\SpecialChar TeX
2889
2890 \end_layout
2891
2892 \end_inset
2893
2894 を使用するもの
2895 \end_layout
2896
2897 \begin_layout Enumerate
2898 直接
2899 \begin_inset Flex MenuItem
2900 status collapsed
2901
2902 \begin_layout Plain Layout
2903 Lua\SpecialChar TeX
2904
2905 \end_layout
2906
2907 \end_inset
2908
2909 を使用するもの
2910 \end_layout
2911
2912 \begin_layout Standard
2913 このように代替連鎖を定義するには,
2914
2915 \begin_inset CommandInset ref
2916 LatexCommand ref
2917 reference "sec:ファイル形式"
2918 nolink "false"
2919
2920 \end_inset
2921
2922 節に述べられているように,
2923 ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,
2924 標準設定では,
2925
2926 \begin_inset Flex MenuItem
2927 status collapsed
2928
2929 \begin_layout Plain Layout
2930 pdf
2931 \end_layout
2932
2933 \end_inset
2934
2935 (
2936 \begin_inset Flex MenuItem
2937 status collapsed
2938
2939 \begin_layout Plain Layout
2940 ps2pdf
2941 \end_layout
2942
2943 \end_inset
2944
2945 用)・
2946 \begin_inset Flex MenuItem
2947 status collapsed
2948
2949 \begin_layout Plain Layout
2950 pdf2
2951 \end_layout
2952
2953 \end_inset
2954
2955 (
2956 \begin_inset Flex MenuItem
2957 status collapsed
2958
2959 \begin_layout Plain Layout
2960 pdflatex
2961 \end_layout
2962
2963 \end_inset
2964
2965 用)・
2966 \begin_inset Flex MenuItem
2967 status collapsed
2968
2969 \begin_layout Plain Layout
2970 pdf3
2971 \end_layout
2972
2973 \end_inset
2974
2975 (
2976 \begin_inset Flex MenuItem
2977 status collapsed
2978
2979 \begin_layout Plain Layout
2980 dvipdfm
2981 \end_layout
2982
2983 \end_inset
2984
2985 用)・
2986 \begin_inset Flex MenuItem
2987 status collapsed
2988
2989 \begin_layout Plain Layout
2990 pdf4
2991 \end_layout
2992
2993 \end_inset
2994
2995 (
2996 \begin_inset Flex MenuItem
2997 status collapsed
2998
2999 \begin_layout Plain Layout
3000 Xe\SpecialChar TeX
3001
3002 \end_layout
3003
3004 \end_inset
3005
3006 用)・
3007 \begin_inset Flex MenuItem
3008 status collapsed
3009
3010 \begin_layout Plain Layout
3011 pdf5
3012 \end_layout
3013
3014 \end_inset
3015
3016 (
3017 \begin_inset Flex MenuItem
3018 status collapsed
3019
3020 \begin_layout Plain Layout
3021 Lua\SpecialChar TeX
3022
3023 \end_layout
3024
3025 \end_inset
3026
3027 用\SpecialChar softhyphen
3028 ) と命名された形式が定義されていて,
3029 すべて共通の拡張子
3030 \begin_inset Flex MenuItem
3031 status collapsed
3032
3033 \begin_layout Plain Layout
3034 .pdf
3035 \end_layout
3036
3037 \end_inset
3038
3039 を持ち,
3040 上記で言及した各変換方法に対応しています.
3041 \end_layout
3042
3043 \begin_layout Chapter
3044 \SpecialChar LyX
3045 の各国語対応
3046 \begin_inset CommandInset label
3047 LatexCommand label
3048 name "cha:LyXの各国語対応"
3049
3050 \end_inset
3051
3052
3053 \end_layout
3054
3055 \begin_layout Standard
3056 \SpecialChar LyX
3057 は,
3058 翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,
3059 \SpecialChar LyX
3060 は30言語の翻訳を提供しています.選択した言語は,
3061 使用する
3062 \emph on
3063 ロケール
3064 \emph default
3065 と呼ばれます(ロケール設定についての詳しい資料は,
3066 お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,
3067 マニュアルページの
3068 \begin_inset Flex Code
3069 status collapsed
3070
3071 \begin_layout Plain Layout
3072 locale(5)
3073 \end_layout
3074
3075 \end_inset
3076
3077 から見ると良いかもしれません).
3078 \end_layout
3079
3080 \begin_layout Standard
3081 これらの翻訳は適切に機能しますが,
3082 欠点もいくつかあることに注意してください.たとえば,
3083 ダイアログはすべて英文を念頭にデザインされているため,
3084 翻訳文の一部は,
3085 割り当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,
3086 他の障害は引き起こしません.また,
3087 翻訳によっては,
3088 すべてのショートカットが定義されていないことに気づかれるでしょう.ショートカットのために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだショートカットを定義していないこともあるでしょう.もちろん,
3089 私たちの各国語対応チーム—
3090 あなたも参加したいと思われるかもしれません
3091 \begin_inset Foot
3092 status collapsed
3093
3094 \begin_layout Plain Layout
3095 もしあなたが英語以外の言語を流暢に操れるならば,
3096 これらのチームに参加することは,
3097 \SpecialChar LyX
3098 コミュニティに報いるたいへん素晴らしい方法です!
3099
3100 \end_layout
3101
3102 \end_inset
3103
3104
3105 は,
3106 \SpecialChar LyX
3107 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
3108 \end_layout
3109
3110 \begin_layout Section
3111 \SpecialChar LyX
3112 を翻訳する
3113 \end_layout
3114
3115 \begin_layout Subsection
3116 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
3117 \begin_inset Argument 1
3118 status collapsed
3119
3120 \begin_layout Plain Layout
3121 GUI(テキストメッセージ)を翻訳する
3122 \end_layout
3123
3124 \end_inset
3125
3126
3127 \end_layout
3128
3129 \begin_layout Standard
3130 \SpecialChar LyX
3131 は,
3132 操作画面の国際化対応にGNU 
3133 \begin_inset Flex Code
3134 status collapsed
3135
3136 \begin_layout Plain Layout
3137 gettext
3138 \end_layout
3139
3140 \end_inset
3141
3142 ライブラリを使用します.\SpecialChar LyX
3143 のすべてのメニューやダイアログでお好みの言語を話させたいときには,
3144 その言語の
3145 \begin_inset Flex Code
3146 status collapsed
3147
3148 \begin_layout Plain Layout
3149 po
3150 \end_layout
3151
3152 \end_inset
3153
3154 ファイルが必要です.このファイルが利用可能であれば,
3155 そこから
3156 \begin_inset Flex Code
3157 status collapsed
3158
3159 \begin_layout Plain Layout
3160 mo
3161 \end_layout
3162
3163 \end_inset
3164
3165 ファイルを生成して,
3166 この
3167 \begin_inset Flex Code
3168 status collapsed
3169
3170 \begin_layout Plain Layout
3171 mo
3172 \end_layout
3173
3174 \end_inset
3175
3176 ファイルをインストールしなくてはなりません.この全過程は,
3177 GNU 
3178 \begin_inset Flex Code
3179 status collapsed
3180
3181 \begin_layout Plain Layout
3182 gettext
3183 \end_layout
3184
3185 \end_inset
3186
3187 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,
3188 もしせっかくするのであれば,
3189 あなたの骨折りの結果を\SpecialChar LyX
3190 コミュニティの他の人々と分かち合いませんか.どのように段取りを進めればよいか,
3191 詳しくは\SpecialChar LyX
3192 開発者メーリングリストにメールを送ってください.
3193 \end_layout
3194
3195 \begin_layout Standard
3196 要約すれば,
3197 以下のように行います(xxは言語コードを表します).
3198 \end_layout
3199
3200 \begin_layout Itemize
3201 \SpecialChar LyX
3202 ソースコードをチェックアウトしてください(
3203 \begin_inset CommandInset href
3204 LatexCommand href
3205 name "ウェブ上の情報"
3206 target "https://www.lyx.org/HowToUseGIT"
3207 literal "false"
3208
3209 \end_inset
3210
3211 参照).
3212 \end_layout
3213
3214 \begin_layout Itemize
3215 \begin_inset Flex Code
3216 status collapsed
3217
3218 \begin_layout Plain Layout
3219 lyx.pot
3220 \end_layout
3221
3222 \end_inset
3223
3224 ファイルを
3225 \begin_inset Flex Code
3226 status collapsed
3227
3228 \begin_layout Plain Layout
3229 **.po
3230 \end_layout
3231
3232 \end_inset
3233
3234 ファイルのあるフォルダにコピーして,
3235
3236 \begin_inset Flex Code
3237 status collapsed
3238
3239 \begin_layout Plain Layout
3240 xx.po
3241 \end_layout
3242
3243 \end_inset
3244
3245 に名前を付け替えてください(
3246 \begin_inset Flex Code
3247 status collapsed
3248
3249 \begin_layout Plain Layout
3250 lyx.pot
3251 \end_layout
3252
3253 \end_inset
3254
3255 がどこにもない場合には,
3256 コンソールからそのディレクトリで
3257 \begin_inset Flex Code
3258 status collapsed
3259
3260 \begin_layout Plain Layout
3261 make lyx.pot
3262 \end_layout
3263
3264 \end_inset
3265
3266 コマンドを実行し,
3267 作成し直すか,
3268 他言語の既存のpoファイルをひな型として使用することができます).
3269 \end_layout
3270
3271 \begin_layout Itemize
3272 \begin_inset Flex Code
3273 status collapsed
3274
3275 \begin_layout Plain Layout
3276 xx.po
3277 \end_layout
3278
3279 \end_inset
3280
3281 を編集します.
3282 \begin_inset Foot
3283 status collapsed
3284
3285 \begin_layout Plain Layout
3286 これは単なるテキストファイルなので,
3287 どのテキストエディタでも編集できます.しかし,
3288
3289 \family typewriter
3290 Poedit
3291 \family default
3292 (全プラットフォーム用)や
3293 \family typewriter
3294 KBabel
3295 \family default
3296 (KDE用)のように,
3297 この目的の編集をサポートする特別なプログラムがあります.
3298 \family typewriter
3299 Emacs
3300 \family default
3301 にも
3302 \begin_inset Flex Code
3303 status collapsed
3304
3305 \begin_layout Plain Layout
3306 po
3307 \end_layout
3308
3309 \end_inset
3310
3311 ファイルを編集するための「モード」があります,
3312
3313 \begin_inset Flex URL
3314 status open
3315
3316 \begin_layout Plain Layout
3317
3318 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
3319 \end_layout
3320
3321 \end_inset
3322
3323
3324 \end_layout
3325
3326 \end_inset
3327
3328 メニューラベルやウィジェットラベルのうちには,
3329 翻訳しなくてはならないショートカットがある場合があります.これらのキーは「|」の後に記されており,
3330 当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,
3331 新しい
3332 \begin_inset Flex Code
3333 status collapsed
3334
3335 \begin_layout Plain Layout
3336 po
3337 \end_layout
3338
3339 \end_inset
3340
3341 ファイルの冒頭に,
3342 あなたの電子メールアドレスなどの情報も書き加えて,
3343 人々があなたに提案や,
3344 滑稽な怒りのメッセージを届けることができるようにしてください.
3345 \end_layout
3346
3347 \begin_layout Standard
3348 もし,
3349 あなたがこれを自身のためだけに行っているのであれば,
3350
3351 \end_layout
3352
3353 \begin_layout Itemize
3354 \begin_inset Flex Code
3355 status collapsed
3356
3357 \begin_layout Plain Layout
3358 xx.mo
3359 \end_layout
3360
3361 \end_inset
3362
3363 を生成してください.これは
3364 \begin_inset Flex Code
3365 status collapsed
3366
3367 \begin_layout Plain Layout
3368 msgfmt -o xx.mo < xx.po
3369 \end_layout
3370
3371 \end_inset
3372
3373 でできます.
3374 \end_layout
3375
3376 \begin_layout Itemize
3377 この
3378 \begin_inset Flex Code
3379 status collapsed
3380
3381 \begin_layout Plain Layout
3382 mo
3383 \end_layout
3384
3385 \end_inset
3386
3387 ファイルを,
3388 お使いのロケールツリー中,
3389 言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3390
3391 \begin_inset Flex Code
3392 status collapsed
3393
3394 \begin_layout Plain Layout
3395 lyx.mo
3396 \end_layout
3397
3398 \end_inset
3399
3400 という名称にしてください(例:
3401
3402 \begin_inset Flex Code
3403 status collapsed
3404
3405 \begin_layout Plain Layout
3406 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3407 \end_layout
3408
3409 \end_inset
3410
3411 ).
3412 \end_layout
3413
3414 \begin_layout Standard
3415 しかしながら前述のように,
3416 この新しい
3417 \begin_inset Flex Code
3418 status collapsed
3419
3420 \begin_layout Plain Layout
3421 po
3422 \end_layout
3423
3424 \end_inset
3425
3426 ファイルを他の人たちが使用できるよう,
3427 \SpecialChar LyX
3428 頒布版に追加できることが最善です.これを追加するには,
3429 \SpecialChar LyX
3430 に変更を加える必要がありますので,
3431 もしその気があれば,
3432 開発者メーリングリストに電子メールを送ってください.
3433 \end_layout
3434
3435 \begin_layout Subsubsection
3436 多義訳語メッセージ
3437 \end_layout
3438
3439 \begin_layout Standard
3440 時には,
3441 一つの英語のメッセージが,
3442 翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3443
3444 \begin_inset Flex Code
3445 status collapsed
3446
3447 \begin_layout Plain Layout
3448 To
3449 \end_layout
3450
3451 \end_inset
3452
3453 というメッセージで,
3454 これは英語で「to」がどういう意味を持っているかによって,
3455 独語ではNachと訳されたりBisと訳されたりします.GNU 
3456 \begin_inset Flex Code
3457 status collapsed
3458
3459 \begin_layout Plain Layout
3460 gettext
3461 \end_layout
3462
3463 \end_inset
3464
3465 は,
3466 このような多義訳語を
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 To[[as in 'From format x to format y']]
3483 \end_layout
3484
3485 \end_inset
3486
3487
3488 \begin_inset Flex Code
3489 status collapsed
3490
3491 \begin_layout Plain Layout
3492 To[[as in 'From page x to page y']]
3493 \end_layout
3494
3495 \end_inset
3496
3497 としなくてはなりません.これによって,
3498 これら2つの
3499 \begin_inset Flex Code
3500 status collapsed
3501
3502 \begin_layout Plain Layout
3503 To
3504 \end_layout
3505
3506 \end_inset
3507
3508 は,
3509
3510 \begin_inset Flex Code
3511 status collapsed
3512
3513 \begin_layout Plain Layout
3514 gettext
3515 \end_layout
3516
3517 \end_inset
3518
3519 には別物と解釈され,
3520 それぞれ正しくNachとBisに訳すことができるようになります.
3521 \end_layout
3522
3523 \begin_layout Standard
3524 もちろん,
3525 この文脈情報は,
3526 翻訳が存在しないときには取り去られる必要がありますので,
3527 メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3528 の翻訳機構では,
3529 メッセージの終わりに二重大括弧で囲われているものはすべて,
3530 メッセージを表示する前に取り去るようにされています.
3531 \end_layout
3532
3533 \begin_layout Subsection
3534 説明書を翻訳する
3535 \end_layout
3536
3537 \begin_layout Standard
3538
3539 \begin_inset Flex MenuItem
3540 status collapsed
3541
3542 \begin_layout Plain Layout
3543 Help
3544 \end_layout
3545
3546 \end_inset
3547
3548 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!
3549 ).説明書の翻訳版が利用可能であり
3550 \begin_inset Foot
3551 status collapsed
3552
3553 \begin_layout Plain Layout
3554 2008年3月現在,
3555 説明書の少なくとも一部が翻訳されている言語は14言語に上り,
3556 入門編が訳されているものはさらにいくつかあります.
3557 \end_layout
3558
3559 \end_inset
3560
3561
3562 ロケールがその言語に設定されている場合,
3563 \SpecialChar LyX
3564 はこれを自動的に使用します.\SpecialChar LyX
3565 は,
3566 翻訳版を
3567 \begin_inset Flex Code
3568 status collapsed
3569
3570 \begin_layout Plain Layout
3571 LyXDir/doc/xx/DocName.lyx
3572 \end_layout
3573
3574 \end_inset
3575
3576
3577 \begin_inset Flex Code
3578 status collapsed
3579
3580 \begin_layout Plain Layout
3581 xx
3582 \end_layout
3583
3584 \end_inset
3585
3586 は現在使用している言語コード)で探します.翻訳文書がない場合には,
3587 既定の英語版が表示されます.翻訳版は,
3588 原典と同じファイル名(上述の
3589 \begin_inset Flex Code
3590 status collapsed
3591
3592 \begin_layout Plain Layout
3593 DocName
3594 \end_layout
3595
3596 \end_inset
3597
3598 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!
3599 ),
3600 以下のような点をすぐに行うべきです.
3601 \end_layout
3602
3603 \begin_layout Itemize
3604 説明書翻訳ウェブページ
3605 \begin_inset CommandInset href
3606 LatexCommand href
3607 name "https://www.lyx.org/Translation"
3608 target "https://www.lyx.org/Translation"
3609 literal "false"
3610
3611 \end_inset
3612
3613 を確認してください.ここで,
3614 どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,
3615 説明書をお使いの言語に翻訳する作業の面倒を見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,
3616 私たちにあなたが興味をお持ちであることを知らせてください.
3617 \end_layout
3618
3619 \begin_layout Standard
3620 いったん実際の翻訳の仕事に取りかかったならば,
3621 トラブルを回避するいくつかのヒントがあります.
3622 \end_layout
3623
3624 \begin_layout Itemize
3625 文書化チームに所属してください!
3626 そのための情報が
3627 \begin_inset Flex Code
3628 status collapsed
3629
3630 \begin_layout Plain Layout
3631 Intro.lyx
3632 \end_layout
3633
3634 \end_inset
3635
3636
3637 \begin_inset Flex MenuItem
3638 status collapsed
3639
3640 \begin_layout Plain Layout
3641 ヘルプ\SpecialChar menuseparator
3642 はじめの一歩
3643 \end_layout
3644
3645 \end_inset
3646
3647 )にあります.また,
3648 この
3649 \begin_inset Flex Code
3650 status collapsed
3651
3652 \begin_layout Plain Layout
3653 Intro.lyx
3654 \end_layout
3655
3656 \end_inset
3657
3658 が最初に訳すべき文書です.
3659 \end_layout
3660
3661 \begin_layout Itemize
3662 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,
3663 何世紀にもわたって世界の至る所で,
3664 様々な慣行を発達させてきました.また,
3665 あなたの国で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3666 \emph on
3667 警告!
3668 活版技術は病みつきになる可能性があるので注意してくさい!
3669
3670 \emph default
3671
3672 \end_layout
3673
3674 \begin_layout Itemize
3675 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3676 \begin_inset Flex Code
3677 status collapsed
3678
3679 \begin_layout Plain Layout
3680 UserDir/doc/xx/
3681 \end_layout
3682
3683 \end_inset
3684
3685 ディレクトリにコピーすれば,
3686 個人用の翻訳ヘルプファイルとして使用することができます.
3687 \begin_inset Newline newline
3688 \end_inset
3689
3690
3691 \begin_inset Note Greyedout
3692 status open
3693
3694 \begin_layout Plain Layout
3695
3696 \series bold
3697 【註】
3698 \series default
3699 外部素材(画像など)のある複雑な文書の場合,
3700 例えば一時ディレクトリなどにコピーを作ると,
3701 文書を別の場所に移したとき,
3702 外部素材へのリンクは壊れてしまうかもしれないことに注意してください.最も良い方法は,
3703 LyXツリーをgit (
3704 \begin_inset Flex URL
3705 status collapsed
3706
3707 \begin_layout Plain Layout
3708
3709 https://www.lyx.org/HowToUseGIT
3710 \end_layout
3711
3712 \end_inset
3713
3714 参照)からとってきて,
3715 そのdocファイルを直接編集するのが良いでしょう.
3716 \end_layout
3717
3718 \end_inset
3719
3720
3721 \end_layout
3722
3723 \begin_layout Itemize
3724 (\SpecialChar LyX
3725 チームが維持している)原典の説明書は,
3726 時折更新されます.変更点については,
3727
3728 \begin_inset CommandInset href
3729 LatexCommand href
3730 name "https://www.lyx.org/trac/timeline"
3731 target "https://www.lyx.org/trac/timeline"
3732 literal "false"
3733
3734 \end_inset
3735
3736 のソースビューアでご覧ください.この方法で,
3737 翻訳文書のどの部分を更新しなくてはならないか,
3738 たやすく見つけることができます.
3739 \end_layout
3740
3741 \begin_layout Standard
3742 もし原典に誤りを見つけたならば,
3743 修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3744 \end_layout
3745
3746 \begin_layout Standard
3747 \begin_inset Branch OutDated
3748 inverted 0
3749 status collapsed
3750
3751 \begin_layout Section
3752 International Keyboard Support
3753 \end_layout
3754
3755 \begin_layout Standard
3756
3757 \emph on
3758 [Editor's Note:
3759  The following section is by
3760 \emph default
3761  
3762 \shape smallcaps
3763 \emph on
3764 Ivan Schreter
3765 \shape default
3766 .
3767  It needs to be fixed to conform to the new Documentation Style sheet and to make use of the new v1.0 features.
3768  The whole thing also needs to be merged with the section following it.-jw It may also be badly out of date.-rh (2008)]
3769 \end_layout
3770
3771 \begin_layout Subsection
3772 Defining Own Keymaps:
3773  Keymap File Format
3774 \end_layout
3775
3776 \begin_layout Standard
3777 Let's look at a keyboard definition file a little closer.
3778  It is a plain text file defining
3779 \end_layout
3780
3781 \begin_layout Itemize
3782 key-to-key or key-to-string translations
3783 \end_layout
3784
3785 \begin_layout Itemize
3786 dead keys
3787 \end_layout
3788
3789 \begin_layout Itemize
3790 dead keys exceptions
3791 \end_layout
3792
3793 \begin_layout Standard
3794 To define key-to-key or key-to-string translation,
3795  use this command:
3796 \end_layout
3797
3798 \begin_layout Quotation
3799 \begin_inset Flex Code
3800 status collapsed
3801
3802 \begin_layout Plain Layout
3803
3804 \backslash
3805 kmap
3806 \end_layout
3807
3808 \end_inset
3809
3810  
3811 \begin_inset Flex Code
3812 status collapsed
3813
3814 \begin_layout Plain Layout
3815 key
3816 \end_layout
3817
3818 \end_inset
3819
3820  outstring 
3821 \end_layout
3822
3823 \begin_layout Standard
3824 where 
3825 \begin_inset Flex Code
3826 status collapsed
3827
3828 \begin_layout Plain Layout
3829 key
3830 \end_layout
3831
3832 \end_inset
3833
3834  is the key to be translated and 
3835 \begin_inset Flex Code
3836 status collapsed
3837
3838 \begin_layout Plain Layout
3839 outstring
3840 \end_layout
3841
3842 \end_inset
3843
3844  is the string to be inserted into the document.
3845  To define dead keys,
3846  use:
3847 \end_layout
3848
3849 \begin_layout Quotation
3850 \begin_inset Flex Code
3851 status collapsed
3852
3853 \begin_layout Plain Layout
3854
3855 \backslash
3856 kmod
3857 \end_layout
3858
3859 \end_inset
3860
3861  
3862 \begin_inset Flex Code
3863 status collapsed
3864
3865 \begin_layout Plain Layout
3866 key
3867 \end_layout
3868
3869 \end_inset
3870
3871  deadkey
3872 \end_layout
3873
3874 \begin_layout Standard
3875 where 
3876 \begin_inset Flex Code
3877 status collapsed
3878
3879 \begin_layout Plain Layout
3880 key
3881 \end_layout
3882
3883 \end_inset
3884
3885  is a keyboard key and 
3886 \begin_inset Flex Code
3887 status collapsed
3888
3889 \begin_layout Plain Layout
3890 deadkey
3891 \end_layout
3892
3893 \end_inset
3894
3895  is dead key name.
3896  The following dead keys are supported (shortcut name is in parentheses):
3897 \end_layout
3898
3899 \begin_layout Quotation
3900
3901 \emph on
3902 Name
3903 \begin_inset space \hfill{}
3904 \end_inset
3905
3906 Example
3907 \end_layout
3908
3909 \begin_layout Quotation
3910 acute (acu)
3911 \begin_inset space \hfill{}
3912 \end_inset
3913
3914
3915 \lang english
3916 áéíóú
3917 \end_layout
3918
3919 \begin_layout Quotation
3920 grave (gra)
3921 \begin_inset space \hfill{}
3922 \end_inset
3923
3924
3925 \lang english
3926 àèìòù
3927 \end_layout
3928
3929 \begin_layout Quotation
3930 macron (mac)
3931 \begin_inset space \hfill{}
3932 \end_inset
3933
3934
3935 \lang english
3936  ō
3937 \end_layout
3938
3939 \begin_layout Quotation
3940 tilde (til)
3941 \begin_inset space \hfill{}
3942 \end_inset
3943
3944
3945 \lang english
3946 ñÑ
3947 \end_layout
3948
3949 \begin_layout Quotation
3950 underbar (underb)
3951 \begin_inset space \hfill{}
3952 \end_inset
3953
3954
3955 \begin_inset ERT
3956 status open
3957
3958 \begin_layout Plain Layout
3959
3960
3961 \backslash
3962 b o
3963 \end_layout
3964
3965 \end_inset
3966
3967
3968 \end_layout
3969
3970 \begin_layout Quotation
3971 cedilla (ced)
3972 \begin_inset space \hfill{}
3973 \end_inset
3974
3975
3976 \lang english
3977 çÇ
3978 \end_layout
3979
3980 \begin_layout Quotation
3981 underdot (underd)
3982 \begin_inset space \hfill{}
3983 \end_inset
3984
3985
3986 \begin_inset ERT
3987 status open
3988
3989 \begin_layout Plain Layout
3990
3991
3992 \backslash
3993 d o
3994 \end_layout
3995
3996 \end_inset
3997
3998
3999 \end_layout
4000
4001 \begin_layout Quotation
4002 circumflex (circu)
4003 \begin_inset space \hfill{}
4004 \end_inset
4005
4006
4007 \lang english
4008 âêîôû
4009 \end_layout
4010
4011 \begin_layout Quotation
4012 circle (circl)
4013 \begin_inset space \hfill{}
4014 \end_inset
4015
4016
4017 \lang english
4018 ÅůŮ
4019 \end_layout
4020
4021 \begin_layout Quotation
4022 tie (tie)
4023 \begin_inset space \hfill{}
4024 \end_inset
4025
4026
4027 \begin_inset ERT
4028 status open
4029
4030 \begin_layout Plain Layout
4031
4032
4033 \backslash
4034 t o
4035 \end_layout
4036
4037 \end_inset
4038
4039
4040 \end_layout
4041
4042 \begin_layout Quotation
4043 breve (bre)
4044 \begin_inset space \hfill{}
4045 \end_inset
4046
4047
4048 \lang english
4049 ă
4050 \lang japanese
4051
4052 \begin_inset ERT
4053 status open
4054
4055 \begin_layout Plain Layout
4056
4057
4058 \backslash
4059 u o
4060 \end_layout
4061
4062 \end_inset
4063
4064
4065 \end_layout
4066
4067 \begin_layout Quotation
4068 caron (car)
4069 \begin_inset space \hfill{}
4070 \end_inset
4071
4072
4073 \lang english
4074 čšž
4075 \end_layout
4076
4077 \begin_layout Quotation
4078 hungarian umlaut (hug)
4079 \begin_inset space \hfill{}
4080 \end_inset
4081
4082
4083 \lang english
4084 őű
4085 \end_layout
4086
4087 \begin_layout Quotation
4088 umlaut (uml)
4089 \begin_inset space \hfill{}
4090 \end_inset
4091
4092
4093 \lang english
4094 äöü
4095 \end_layout
4096
4097 \begin_layout Quotation
4098 dot (dot)
4099 \begin_inset space \hfill{}
4100 \end_inset
4101
4102
4103 \lang english
4104 ż
4105 \lang japanese
4106
4107 \begin_inset ERT
4108 status open
4109
4110 \begin_layout Plain Layout
4111
4112
4113 \backslash
4114 .s
4115 \end_layout
4116
4117 \end_inset
4118
4119
4120 \end_layout
4121
4122 \begin_layout Standard
4123 Since in many international keyboards there are exceptions to what some dead keys should do,
4124  you can define them using
4125 \end_layout
4126
4127 \begin_layout Quotation
4128 \begin_inset Flex Code
4129 status collapsed
4130
4131 \begin_layout Plain Layout
4132
4133 \backslash
4134 kxmod
4135 \end_layout
4136
4137 \end_inset
4138
4139  deadkey key outstring
4140 \end_layout
4141
4142 \begin_layout Standard
4143 For example,
4144  on Slovak keyboard,
4145  if you enter caron-o,
4146  it generates circumflex-o,
4147  so you put in
4148 \end_layout
4149
4150 \begin_layout Quotation
4151 \begin_inset Flex Code
4152 status collapsed
4153
4154 \begin_layout Plain Layout
4155
4156 \backslash
4157 kxmod
4158 \end_layout
4159
4160 \end_inset
4161
4162  caron o "
4163 \backslash
4164 ^o"
4165 \end_layout
4166
4167 \begin_layout Standard
4168 to make it work correctly.
4169  Also,
4170  you have to define as exceptions dead keys over i and j,
4171  to remove the dot from them before inserting an accent mark.
4172  I will change this when the time comes,
4173  but so far I haven't had time.
4174 \end_layout
4175
4176 \begin_layout Standard
4177 Oh,
4178  and about characters:
4179  backslash is escaped,
4180  so to enter it,
4181  you'll need double backslash.
4182  Also,
4183  quotes and 
4184 \begin_inset Flex Code
4185 status collapsed
4186
4187 \begin_layout Plain Layout
4188 #
4189 \end_layout
4190
4191 \end_inset
4192
4193  have different meaning.
4194  
4195 \begin_inset Flex Code
4196 status collapsed
4197
4198 \begin_layout Plain Layout
4199 #
4200 \end_layout
4201
4202 \end_inset
4203
4204  marks comments,
4205  quotes start and end \SpecialChar LaTeX
4206 -style commands.
4207  To enter quote,
4208  you'll need to use 
4209 \begin_inset Flex Code
4210 status collapsed
4211
4212 \begin_layout Plain Layout
4213
4214 \backslash
4215 "
4216 \end_layout
4217
4218 \end_inset
4219
4220 ,
4221  to enter 
4222 \begin_inset Flex Code
4223 status collapsed
4224
4225 \begin_layout Plain Layout
4226 #
4227 \end_layout
4228
4229 \end_inset
4230
4231 ,
4232  use 
4233 \begin_inset Flex Code
4234 status collapsed
4235
4236 \begin_layout Plain Layout
4237
4238 \backslash
4239 #
4240 \end_layout
4241
4242 \end_inset
4243
4244 .
4245 \end_layout
4246
4247 \begin_layout Standard
4248 If you make a keyboard description file that works for your language,
4249  please mail it to me,
4250  so I can include it in the next keymap distribution.
4251 \end_layout
4252
4253 \begin_layout Standard
4254 More keywords will be supported in keymap configuration file in future,
4255  like
4256 \end_layout
4257
4258 \begin_layout Itemize
4259 \begin_inset Flex Code
4260 status collapsed
4261
4262 \begin_layout Plain Layout
4263
4264 \backslash
4265 kinclude filename
4266 \end_layout
4267
4268 \end_inset
4269
4270
4271 \emph on
4272
4273 \begin_inset space \hfill{}
4274 \end_inset
4275
4276
4277 \begin_inset Flex Code
4278 status collapsed
4279
4280 \begin_layout Plain Layout
4281 include
4282 \end_layout
4283
4284 \end_inset
4285
4286  another file
4287 \end_layout
4288
4289 \begin_layout Itemize
4290 \begin_inset Flex Code
4291 status collapsed
4292
4293 \begin_layout Plain Layout
4294
4295 \backslash
4296 kprog program
4297 \end_layout
4298
4299 \end_inset
4300
4301
4302 \emph on
4303
4304 \begin_inset space \hfill{}
4305 \end_inset
4306
4307
4308 \begin_inset Flex Code
4309 status collapsed
4310
4311 \begin_layout Plain Layout
4312 define
4313 \end_layout
4314
4315 \end_inset
4316
4317  an external keymap translation program 
4318 \end_layout
4319
4320 \begin_layout Standard
4321 Also,
4322  it should look into 
4323 \begin_inset Flex Code
4324 status collapsed
4325
4326 \begin_layout Plain Layout
4327 lyxrc
4328 \end_layout
4329
4330 \end_inset
4331
4332  file for defaults,
4333  too (for example,
4334  a 
4335 \begin_inset Flex Code
4336 status collapsed
4337
4338 \begin_layout Plain Layout
4339
4340 \backslash
4341 kinclude
4342 \end_layout
4343
4344 \end_inset
4345
4346  option to include default keyboard).
4347 \end_layout
4348
4349 \end_inset
4350
4351
4352 \end_layout
4353
4354 \begin_layout Section
4355 国際キー配列
4356 \begin_inset CommandInset label
4357 LatexCommand label
4358 name "sec:国際キー配列"
4359
4360 \end_inset
4361
4362
4363 \end_layout
4364
4365 \begin_layout Standard
4366 \begin_inset Note Note
4367 status open
4368
4369 \begin_layout Plain Layout
4370 2008年3月にこの文書を改訂するに当たって,
4371 改訂者が本節の内容に詳しくなかったために,
4372 本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
4373 \end_layout
4374
4375 \begin_layout Plain Layout
4376 (RH)
4377 \end_layout
4378
4379 \end_inset
4380
4381
4382 \end_layout
4383
4384 \begin_layout Standard
4385 以下の2節では,
4386
4387 \begin_inset Flex Code
4388 status collapsed
4389
4390 \begin_layout Plain Layout
4391 .kmap
4392 \end_layout
4393
4394 \end_inset
4395
4396 および
4397 \begin_inset Flex Code
4398 status collapsed
4399
4400 \begin_layout Plain Layout
4401 .cdef
4402 \end_layout
4403
4404 \end_inset
4405
4406 ファイルの文法を詳細に解説します.これらの節は,
4407 提供されているキー配列があなたのニーズに合わない場合に,
4408 自身用のキー配列をデザインする手助けとなるでしょう.
4409 \end_layout
4410
4411 \begin_layout Subsection
4412 .kmapファイル
4413 \end_layout
4414
4415 \begin_layout Standard
4416 \begin_inset Flex Code
4417 status collapsed
4418
4419 \begin_layout Plain Layout
4420 .kmap
4421 \end_layout
4422
4423 \end_inset
4424
4425 ファイルは,
4426 打鍵したものを文字や文字列に割り当てます.名前が示唆するように,
4427 これはキーボード配列表を定義します.
4428 \begin_inset Flex Code
4429 status collapsed
4430
4431 \begin_layout Plain Layout
4432 .kmap
4433 \end_layout
4434
4435 \end_inset
4436
4437 ファイルは,
4438 以下の各項で説明するように,
4439
4440 \begin_inset Flex Code
4441 status collapsed
4442
4443 \begin_layout Plain Layout
4444 kmap
4445 \end_layout
4446
4447 \end_inset
4448
4449
4450 \begin_inset Flex Code
4451 status collapsed
4452
4453 \begin_layout Plain Layout
4454 kmod
4455 \end_layout
4456
4457 \end_inset
4458
4459
4460 \begin_inset Flex Code
4461 status collapsed
4462
4463 \begin_layout Plain Layout
4464 ksmod
4465 \end_layout
4466
4467 \end_inset
4468
4469
4470 \begin_inset Flex Code
4471 status collapsed
4472
4473 \begin_layout Plain Layout
4474 kcomb
4475 \end_layout
4476
4477 \end_inset
4478
4479 のキーワードを定義します.
4480 \end_layout
4481
4482 \begin_layout Labeling
4483 \labelwidthstring 00.00.0000
4484 \begin_inset Flex Code
4485 status collapsed
4486
4487 \begin_layout Plain Layout
4488 kmap
4489 \end_layout
4490
4491 \end_inset
4492
4493  文字を文字列に割り当てる
4494 \end_layout
4495
4496 \begin_layout LyX-Code
4497
4498 \backslash
4499 kmap 
4500 \family roman
4501 \emph on
4502 文字
4503 \family default
4504 \emph default
4505  
4506 \family roman
4507 \emph on
4508 文字列
4509 \end_layout
4510
4511 \begin_layout Standard
4512 これは,
4513
4514 \emph on
4515 文字
4516 \emph default
4517
4518 \emph on
4519 文字列
4520 \emph default
4521 に割り当てます.
4522 \emph on
4523 文字列
4524 \emph default
4525 中では,
4526 二重引用符(")とバックスラッシュ(
4527 \backslash
4528 )は,
4529 前にバックスラッシュ(
4530 \backslash
4531 )を付けてエスケープしなくてはならないことに注意してください.
4532 \end_layout
4533
4534 \begin_layout Standard
4535 \begin_inset Flex MenuItem
4536 status collapsed
4537
4538 \begin_layout Plain Layout
4539 &
4540 \end_layout
4541
4542 \end_inset
4543
4544 を打鍵すると
4545 \begin_inset Flex MenuItem
4546 status collapsed
4547
4548 \begin_layout Plain Layout
4549 /
4550 \end_layout
4551
4552 \end_inset
4553
4554 記号が出力される
4555 \begin_inset Flex MenuItem
4556 status collapsed
4557
4558 \begin_layout Plain Layout
4559 kmap
4560 \end_layout
4561
4562 \end_inset
4563
4564 ステートメントを,
4565 一例としてあげると,
4566
4567 \end_layout
4568
4569 \begin_layout LyX-Code
4570
4571 \backslash
4572 kmap & /
4573 \end_layout
4574
4575 \begin_layout Standard
4576 のようになります.
4577 \end_layout
4578
4579 \begin_layout Labeling
4580 \labelwidthstring 00.00.0000
4581 \begin_inset Flex Code
4582 status collapsed
4583
4584 \begin_layout Plain Layout
4585 kmod
4586 \end_layout
4587
4588 \end_inset
4589
4590  アクセント文字を指定する
4591 \end_layout
4592
4593 \begin_layout LyX-Code
4594
4595 \backslash
4596 kmod 
4597 \family roman
4598 \emph on
4599 文字 アクセント 許可文字
4600 \end_layout
4601
4602 \begin_layout Standard
4603 これは
4604 \emph on
4605 文字
4606 \emph default
4607
4608 \emph on
4609 許可文字
4610 \emph default
4611 のアクセントとするものです.これはデッドキー
4612 \begin_inset Foot
4613 status collapsed
4614
4615 \begin_layout Plain Layout
4616
4617 \emph on
4618 デッドキー
4619 \emph default
4620 という用語は,
4621 それ自身で文字を出力しないけれども,
4622 別のキーを続けて打つと,
4623 望んだアクセント文字を出力するキーのことを指し示します.たとえば,
4624 独語で
4625 \emph on
4626 ä
4627 \emph default
4628 のようなウムラウトのついた文字は,
4629 このようにして出すことができます.
4630 \end_layout
4631
4632 \end_inset
4633
4634 機構です.
4635 \end_layout
4636
4637 \begin_layout Standard
4638
4639 \emph on
4640 文字
4641 \emph default
4642 を打鍵してから
4643 \emph on
4644 許可文字
4645 \emph default
4646 にないキーを打鍵すると,
4647
4648 \emph on
4649 文字
4650 \emph default
4651 の後に許可文字ではないその文字が出力として表示されます.
4652 \begin_inset Flex MenuItem
4653 status collapsed
4654
4655 \begin_layout Plain Layout
4656 Backspace
4657 \end_layout
4658
4659 \end_inset
4660
4661 はデッドキーを取り消しますので,
4662
4663 \emph on
4664 文字
4665 \emph default
4666
4667 \begin_inset Flex MenuItem
4668 status collapsed
4669
4670 \begin_layout Plain Layout
4671 Backspace
4672 \end_layout
4673
4674 \end_inset
4675
4676 と打鍵すると,
4677 カーソルは一文字戻ることなく,
4678 文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4679 \end_layout
4680
4681 \begin_layout Standard
4682 以下の例は,
4683 '文字をacuteアクセントとして,
4684 a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4685 \end_layout
4686
4687 \begin_layout LyX-Code
4688
4689 \backslash
4690 kmod ' acute aeiouAEIOU
4691 \end_layout
4692
4693 \begin_layout Labeling
4694 \labelwidthstring 00.00.0000
4695 \begin_inset Flex Code
4696 status collapsed
4697
4698 \begin_layout Plain Layout
4699 ksmod
4700 \end_layout
4701
4702 \end_inset
4703
4704  アクセント文字に例外を指定する
4705 \end_layout
4706
4707 \begin_layout LyX-Code
4708
4709 \backslash
4710 kxmod  
4711 \family roman
4712 \emph on
4713 アクセント 文字 結果
4714 \end_layout
4715
4716 \begin_layout Standard
4717 これは
4718 \emph on
4719 文字
4720 \emph default
4721 上の
4722 \emph on
4723 アクセント
4724 \emph default
4725 について例外を指定するものです.ここで
4726 \emph on
4727 アクセント
4728 \emph default
4729 には,
4730 前出の
4731 \begin_inset Flex Code
4732 status collapsed
4733
4734 \begin_layout Plain Layout
4735
4736 \backslash
4737 kmod
4738 \end_layout
4739
4740 \end_inset
4741
4742 宣言で打鍵キーを既に割り当てられてなくてはならず,
4743
4744 \emph on
4745 文字
4746 \emph default
4747
4748 \emph on
4749 アクセント
4750 \emph default
4751
4752 \emph on
4753 許可文字
4754 \emph default
4755 の集合に属していてはなりません.こうして
4756 \emph on
4757 アクセント
4758 \emph default
4759
4760 \emph on
4761 文字
4762 \emph default
4763 の順に入力すると,
4764
4765 \emph on
4766 結果
4767 \emph default
4768 が出力されるようになります.
4769 \begin_inset Flex Code
4770 status collapsed
4771
4772 \begin_layout Plain Layout
4773 .kmap
4774 \end_layout
4775
4776 \end_inset
4777
4778 ファイルにこの宣言がない場合には,
4779
4780 \emph on
4781 アクセント
4782 \emph default
4783
4784 \emph on
4785 文字
4786 \emph default
4787 と入力すると,
4788
4789 \emph on
4790 アクセントキー
4791 \emph default
4792
4793 \emph on
4794 文字
4795 \emph default
4796
4797 \emph on
4798 アクセントキー
4799 \emph default
4800
4801 \begin_inset Flex Code
4802 status collapsed
4803
4804 \begin_layout Plain Layout
4805
4806 \backslash
4807 kmod
4808 \end_layout
4809
4810 \end_inset
4811
4812 宣言の最初の変数)と出力されます.
4813 \end_layout
4814
4815 \begin_layout Standard
4816 以下のコマンドを用いると,
4817 acute-i('i)と入力した場合,
4818 äiと出力されるようになります.
4819 \end_layout
4820
4821 \begin_layout LyX-Code
4822
4823 \backslash
4824 kxmod acute i "
4825 \backslash
4826
4827 \backslash
4828 '{
4829 \backslash
4830
4831 \backslash
4832 i}"
4833 \end_layout
4834
4835 \begin_layout Labeling
4836 \labelwidthstring 00.00.0000
4837 \begin_inset Flex Code
4838 status collapsed
4839
4840 \begin_layout Plain Layout
4841 kcomb
4842 \end_layout
4843
4844 \end_inset
4845
4846  2つのアクセント文字を結合する
4847 \end_layout
4848
4849 \begin_layout LyX-Code
4850
4851 \backslash
4852 kcomb 
4853 \family roman
4854 \emph on
4855 アクセント1 アクセント2 許可文字
4856 \end_layout
4857
4858 \begin_layout Standard
4859 これはなかなか難解になってきます.これは
4860 \emph on
4861 アクセント1
4862 \emph default
4863
4864 \emph on
4865 アクセント2
4866 \emph default
4867 を(この順番で)結びつけて,
4868
4869 \emph on
4870 許可文字
4871 \emph default
4872 に効果を及ぼすようにします.
4873 \emph on
4874 アクセント1
4875 \emph default
4876
4877 \emph on
4878 アクセント2
4879 \emph default
4880 の打鍵キーは,
4881 ファイル内のこのコマンド
4882 \emph on
4883 よりも前に
4884 \emph default
4885
4886
4887 \begin_inset Flex Code
4888 status collapsed
4889
4890 \begin_layout Plain Layout
4891
4892 \backslash
4893 kmod
4894 \end_layout
4895
4896 \end_inset
4897
4898 コマンドで設定されていなくてはなりません.
4899 \end_layout
4900
4901 \begin_layout Standard
4902 \begin_inset Flex Code
4903 status collapsed
4904
4905 \begin_layout Plain Layout
4906 greek.kmap
4907 \end_layout
4908
4909 \end_inset
4910
4911 ファイル上にある例をとってみましょう.
4912 \end_layout
4913
4914 \begin_layout LyX-Code
4915
4916 \backslash
4917 kmod ;
4918  acute aeioyvhAEIOYVH 
4919 \backslash
4920 kmod :
4921  umlaut iyIY 
4922 \backslash
4923 kcomb acute umlaut iyIY
4924 \end_layout
4925
4926 \begin_layout Standard
4927 これは
4928 \begin_inset Flex MenuItem
4929 status collapsed
4930
4931 \begin_layout Plain Layout
4932 ;:i
4933 \end_layout
4934
4935 \end_inset
4936
4937 を押すと
4938 \begin_inset Flex Code
4939 status collapsed
4940
4941 \begin_layout Plain Layout
4942
4943 \backslash
4944 '{
4945 \backslash
4946 "{i}}
4947 \end_layout
4948
4949 \end_inset
4950
4951 という効果を得るようにするものです.この場合のバックスペースは,
4952 最後のデッドキーを取り消すので,
4953
4954 \begin_inset Flex MenuItem
4955 status collapsed
4956
4957 \begin_layout Plain Layout
4958 ;:
4959  Backspace i
4960 \end_layout
4961
4962 \end_inset
4963
4964 と押した場合には,
4965
4966 \begin_inset Flex Code
4967 status collapsed
4968
4969 \begin_layout Plain Layout
4970
4971 \backslash
4972 '{i}
4973 \end_layout
4974
4975 \end_inset
4976
4977 となります.
4978 \end_layout
4979
4980 \begin_layout Subsection
4981 .cdefファイル
4982 \end_layout
4983
4984 \begin_layout Standard
4985 \begin_inset Flex Code
4986 status collapsed
4987
4988 \begin_layout Plain Layout
4989 .kmap
4990 \end_layout
4991
4992 \end_inset
4993
4994 による割り当てが行われた後,
4995
4996 \begin_inset Flex Code
4997 status collapsed
4998
4999 \begin_layout Plain Layout
5000 .cdef
5001 \end_layout
5002
5003 \end_inset
5004
5005 ファイルは,
5006 記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
5007 頒布版には,
5008 現在のところ,
5009 少なくとも
5010 \begin_inset Flex Code
5011 status collapsed
5012
5013 \begin_layout Plain Layout
5014 iso8859-1.cdef
5015 \end_layout
5016
5017 \end_inset
5018
5019 ファイルと
5020 \begin_inset Flex Code
5021 status collapsed
5022
5023 \begin_layout Plain Layout
5024 iso8859-2.cdef
5025 \end_layout
5026
5027 \end_inset
5028
5029 ファイルが含まれています.
5030 \end_layout
5031
5032 \begin_layout Standard
5033 一般的に
5034 \begin_inset Flex Code
5035 status collapsed
5036
5037 \begin_layout Plain Layout
5038 .cdef
5039 \end_layout
5040
5041 \end_inset
5042
5043 ファイルは,
5044
5045 \end_layout
5046
5047 \begin_layout LyX-Code
5048
5049 \family roman
5050 \emph on
5051 セット中の文字番号
5052 \family default
5053 \emph default
5054  
5055 \family roman
5056 \emph on
5057  文字列
5058 \end_layout
5059
5060 \begin_layout Standard
5061 という形の宣言の羅列です.たとえば,
5062
5063 \begin_inset Flex MenuItem
5064 status collapsed
5065
5066 \begin_layout Plain Layout
5067
5068 \backslash
5069 '{e}
5070 \end_layout
5071
5072 \end_inset
5073
5074 をiso-8859-1セットの対応する文字(233)に割り当てるには,
5075 以下の宣言を用います.
5076 \end_layout
5077
5078 \begin_layout LyX-Code
5079 233 "
5080 \backslash
5081
5082 \backslash
5083 '{e}"
5084 \end_layout
5085
5086 \begin_layout Standard
5087 ここで,
5088
5089 \emph on
5090 文字列
5091 \emph default
5092 中の
5093 \begin_inset Flex Code
5094 status collapsed
5095
5096 \begin_layout Plain Layout
5097
5098 \backslash
5099
5100 \end_layout
5101
5102 \end_inset
5103
5104
5105 \begin_inset Flex Code
5106 status collapsed
5107
5108 \begin_layout Plain Layout
5109 "
5110 \end_layout
5111
5112 \end_inset
5113
5114 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
5115 \begin_inset Flex Code
5116 status collapsed
5117
5118 \begin_layout Plain Layout
5119 iso-8859-7.cdef
5120 \end_layout
5121
5122 \end_inset
5123
5124 ファイルには,
5125
5126 \end_layout
5127
5128 \begin_layout LyX-Code
5129 192 "
5130 \backslash
5131
5132 \backslash
5133 '{
5134 \backslash
5135
5136 \backslash
5137
5138 \backslash
5139 "{i}}"
5140 \begin_inset Newline newline
5141 \end_inset
5142
5143 192 "
5144 \backslash
5145
5146 \backslash
5147
5148 \backslash
5149 "{
5150 \backslash
5151
5152 \backslash
5153 '{i}}"
5154 \end_layout
5155
5156 \begin_layout Standard
5157 という例があります.\SpecialChar LyX
5158 は,
5159 キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,
5160 それがアクセント付き文字のように解釈ができないかどうかチェックして,
5161 画面上の文字にアクセントを引くことを試みます.
5162 \end_layout
5163
5164 \begin_layout Subsection
5165 デッドキー
5166 \end_layout
5167
5168 \begin_layout Standard
5169 国際文字のサポートを追加する第2の方法として,
5170 いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,
5171 アクセント付き文字を生成します.ここではその機能を説明するために,
5172 きわめて単純なデッドキーの作り方を説明します.
5173 \end_layout
5174
5175 \begin_layout Standard
5176 仮に,
5177 曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,
5178 自身の
5179 \begin_inset Flex Code
5180 status collapsed
5181
5182 \begin_layout Plain Layout
5183 lyxrc
5184 \end_layout
5185
5186 \end_inset
5187
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 \begin_inset Flex MenuItem
5201 status collapsed
5202
5203 \begin_layout Plain Layout
5204 Shift-6
5205 \end_layout
5206
5207 \end_inset
5208
5209 キー)を,
5210 \SpecialChar LyX
5211 コマンドの
5212 \begin_inset Flex Code
5213 status collapsed
5214
5215 \begin_layout Plain Layout
5216 accent-circumflex
5217 \end_layout
5218
5219 \end_inset
5220
5221 に結びつけることができます.すると
5222 \begin_inset Flex MenuItem
5223 status collapsed
5224
5225 \begin_layout Plain Layout
5226 ^
5227 \end_layout
5228
5229 \end_inset
5230
5231 キーの後に文字を打ったときはいつでも,
5232 この文字上に曲折アクセントが付けられるようになります.たとえば「
5233 \begin_inset Flex MenuItem
5234 status collapsed
5235
5236 \begin_layout Plain Layout
5237 ^e
5238 \end_layout
5239
5240 \end_inset
5241
5242 」という打鍵順は「ê」という文字を生成します.しかしながら,
5243 もし「
5244 \begin_inset Flex MenuItem
5245 status collapsed
5246
5247 \begin_layout Plain Layout
5248 ^t
5249 \end_layout
5250
5251 \end_inset
5252
5253 」と打鍵したならば,
5254
5255 \begin_inset Flex MenuItem
5256 status collapsed
5257
5258 \begin_layout Plain Layout
5259 t
5260 \end_layout
5261
5262 \end_inset
5263
5264 」は曲折アクセントをとることは決してないために,
5265 \SpecialChar LyX
5266 はビープを鳴らして文句を付けます.デッドキーの後に
5267 \begin_inset Flex MenuItem
5268 status collapsed
5269
5270 \begin_layout Plain Layout
5271 スペース
5272 \end_layout
5273
5274 \end_inset
5275
5276 を打つと,
5277 アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,
5278 このキー上の文字を別のキーに割り当て直す必要があります.たとえば,
5279
5280 \begin_inset Flex MenuItem
5281 status collapsed
5282
5283 \begin_layout Plain Layout
5284 ,キー
5285 \end_layout
5286
5287 \end_inset
5288
5289 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
5290 \end_layout
5291
5292 \begin_layout Standard
5293 デッドキーを割り当てるのによく用いられる方法は,
5294
5295 \begin_inset Flex MenuItem
5296 status collapsed
5297
5298 \begin_layout Plain Layout
5299 Meta-
5300 \end_layout
5301
5302 \end_inset
5303
5304
5305 \begin_inset Flex MenuItem
5306 status collapsed
5307
5308 \begin_layout Plain Layout
5309 Ctrl-
5310 \end_layout
5311
5312 \end_inset
5313
5314
5315 \begin_inset Flex MenuItem
5316 status collapsed
5317
5318 \begin_layout Plain Layout
5319 Shift-
5320 \end_layout
5321
5322 \end_inset
5323
5324 キーを,
5325
5326 \begin_inset Flex MenuItem
5327 status collapsed
5328
5329 \begin_layout Plain Layout
5330 ~
5331 \end_layout
5332
5333 \end_inset
5334
5335 」・「
5336 \begin_inset Flex MenuItem
5337 status collapsed
5338
5339 \begin_layout Plain Layout
5340 ,
5341 \end_layout
5342
5343 \end_inset
5344
5345 」・「
5346 \begin_inset Flex MenuItem
5347 status collapsed
5348
5349 \begin_layout Plain Layout
5350 ^
5351 \end_layout
5352
5353 \end_inset
5354
5355 」のようなアクセントと一緒に用いる方法です.また,
5356
5357 \begin_inset Flex Code
5358 status collapsed
5359
5360 \begin_layout Plain Layout
5361 xmodmap
5362 \end_layout
5363
5364 \end_inset
5365
5366
5367 \begin_inset Flex Code
5368 status collapsed
5369
5370 \begin_layout Plain Layout
5371 xkeycaps
5372 \end_layout
5373
5374 \end_inset
5375
5376 を使って,
5377 特別な
5378 \begin_inset Flex Code
5379 status collapsed
5380
5381 \begin_layout Plain Layout
5382 Mode_Switch
5383 \end_layout
5384
5385 \end_inset
5386
5387 キーを設定する方法もあります.
5388 \begin_inset Flex Code
5389 status collapsed
5390
5391 \begin_layout Plain Layout
5392 Mode_Switch
5393 \end_layout
5394
5395 \end_inset
5396
5397 キーは,
5398 ちょうど
5399 \begin_inset Flex MenuItem
5400 status collapsed
5401
5402 \begin_layout Plain Layout
5403 Shift
5404 \end_layout
5405
5406 \end_inset
5407
5408 キーのように機能するので,
5409 アクセント文字を割り当てるのに使用できます.また,
5410 特定のキーを
5411 \begin_inset Flex Code
5412 status collapsed
5413
5414 \begin_layout Plain Layout
5415 usldead_cedilla
5416 \end_layout
5417
5418 \end_inset
5419
5420 などに割り当てることで,
5421 これらのキーをデッドキーに仕立て,
5422 このシンボリックキーを対応する\SpecialChar LyX
5423 コマンドに割り当てることもできます
5424 \begin_inset Foot
5425 status collapsed
5426
5427 \begin_layout Plain Layout
5428
5429 \noun on
5430 John Weiss
5431 \noun default
5432 からの註:
5433 これはまさに私が,
5434 自分の
5435 \begin_inset Flex Code
5436 status collapsed
5437
5438 \begin_layout Plain Layout
5439 ~/.lyx/lyxrc
5440 \end_layout
5441
5442 \end_inset
5443
5444
5445 \begin_inset Flex Code
5446 status collapsed
5447
5448 \begin_layout Plain Layout
5449 ~/.xmodmap
5450 \end_layout
5451
5452 \end_inset
5453
5454 で行っていることです.私は,
5455
5456 \begin_inset Flex MenuItem
5457 status collapsed
5458
5459 \begin_layout Plain Layout
5460 Scroll
5461 \begin_inset space ~
5462 \end_inset
5463
5464 Lock
5465 \end_layout
5466
5467 \end_inset
5468
5469 キーを
5470 \begin_inset Flex Code
5471 status collapsed
5472
5473 \begin_layout Plain Layout
5474 Mode_Shift
5475 \end_layout
5476
5477 \end_inset
5478
5479 に仕立てて,
5480 多数の
5481 \begin_inset Flex Code
5482 status collapsed
5483
5484 \begin_layout Plain Layout
5485 usldead_*
5486 \end_layout
5487
5488 \end_inset
5489
5490 シンボリックキーを
5491 \begin_inset Flex MenuItem
5492 status collapsed
5493
5494 \begin_layout Plain Layout
5495 Scroll
5496 \begin_inset space ~
5497 \end_inset
5498
5499 Lock-^
5500 \end_layout
5501
5502 \end_inset
5503
5504
5505 \begin_inset Flex MenuItem
5506 status collapsed
5507
5508 \begin_layout Plain Layout
5509 Scroll
5510 \begin_inset space ~
5511 \end_inset
5512
5513 Lock-~
5514 \end_layout
5515
5516 \end_inset
5517
5518 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5519 \end_layout
5520
5521 \end_inset
5522
5523 .この
5524 \begin_inset Flex Code
5525 status collapsed
5526
5527 \begin_layout Plain Layout
5528 Mode_Switch
5529 \end_layout
5530
5531 \end_inset
5532
5533 キーには,
5534
5535 \begin_inset Flex MenuItem
5536 status collapsed
5537
5538 \begin_layout Plain Layout
5539 Ctrl-
5540 \end_layout
5541
5542 \end_inset
5543
5544 キーの片方や使われていないファンクションキーなど,
5545 ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5546 コマンドについては,
5547
5548 \emph on
5549 \SpecialChar LyX
5550 関数説明書
5551 \emph default
5552
5553 \begin_inset Flex Code
5554 status collapsed
5555
5556 \begin_layout Plain Layout
5557 LFUN_ACCENT_*
5558 \end_layout
5559
5560 \end_inset
5561
5562 の項をご覧ください.ここには完備した一覧があります.
5563 \end_layout
5564
5565 \begin_layout Subsection
5566 自分の言語設定を保存する
5567 \end_layout
5568
5569 \begin_layout Standard
5570 \begin_inset Flex MenuItem
5571 status collapsed
5572
5573 \begin_layout Plain Layout
5574 ツール\SpecialChar menuseparator
5575 設定
5576 \end_layout
5577
5578 \end_inset
5579
5580 ダイアログを使えば,
5581 \SpecialChar LyX
5582 を起動したときに,
5583 ご希望の言語環境に自動的に設定されるように,
5584 設定を編集することができます.
5585 \end_layout
5586
5587 \begin_layout Chapter
5588 文書クラス・レイアウト・ひな型の作成と新規導入
5589 \begin_inset CommandInset label
5590 LatexCommand label
5591 name "cha:新規文書を導入"
5592
5593 \end_inset
5594
5595
5596 \begin_inset Argument 1
5597 status collapsed
5598
5599 \begin_layout Plain Layout
5600 文書クラスを新規に導入する
5601 \end_layout
5602
5603 \end_inset
5604
5605
5606 \end_layout
5607
5608 \begin_layout Standard
5609 この章では,
5610 新しく\SpecialChar LyX
5611 のレイアウトファイルやひな型ファイルを作成して,
5612 導入する手順を説明すると共に,
5613 新規に\SpecialChar LaTeX
5614 文書クラス(ドキュメントクラス)を正しく導入する方法を復習します.
5615 \end_layout
5616
5617 \begin_layout Standard
5618 まず,
5619 \SpecialChar LyX
5620 と\SpecialChar LaTeX
5621 の間の関係をどのように考えるべきか,
5622 若干の註釈を加えておくことにしましょう.理解していただきたいことは,
5623 ある意味において,
5624 \SpecialChar LyX
5625 は,
5626 La\SpecialChar TeX
5627 について何も知らないと云うことです.実際のところ,
5628 \SpecialChar LyX
5629 の観点からは,
5630 \SpecialChar LaTeX
5631 は,
5632 \SpecialChar LyX
5633 が出力を生成することができる,
5634 複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形式には,
5635 DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5636 は,
5637 とくに重要な形式ですが,
5638 \SpecialChar LyX
5639 がLa\SpecialChar TeX
5640 について持っている情報のほとんどは,
5641 実はプログラム本体には含まれていないのです
5642 \begin_inset Foot
5643 status collapsed
5644
5645 \begin_layout Plain Layout
5646 過度に複雑なため,
5647 \SpecialChar LyX
5648 に「ハードコード化」されているコマンドもありますが,
5649 一般的に開発者は,
5650 これを「わるいこと」とみなしています.
5651 \end_layout
5652
5653 \end_inset
5654
5655 .このような情報は,
5656
5657 \begin_inset Flex Code
5658 status collapsed
5659
5660 \begin_layout Plain Layout
5661 article.cls
5662 \end_layout
5663
5664 \end_inset
5665
5666 のような標準クラスでも,
5667 「レイアウトファイル」に保管されています.同様に,
5668 \SpecialChar LyX
5669 は,
5670 DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5671 が知っていることは,
5672 レイアウトファイルの中にあります.
5673 \end_layout
5674
5675 \begin_layout Standard
5676 文書クラス用のレイアウトファイルは,
5677 \SpecialChar LyX
5678 構成体—
5679 対応する様式や何らかの差込枠などを有する段落群—
5680 と,
5681 それに対応する\SpecialChar LaTeX
5682 構成体・DocBook構成体・XHTML構成体との間の翻訳指南書のようなものです.たとえば,
5683 \SpecialChar LyX
5684
5685 \begin_inset Flex Code
5686 status collapsed
5687
5688 \begin_layout Plain Layout
5689 article.cls
5690 \end_layout
5691
5692 \end_inset
5693
5694 について知っていることのほとんど総ては,
5695
5696 \begin_inset Flex Code
5697 status collapsed
5698
5699 \begin_layout Plain Layout
5700 article.layout
5701 \end_layout
5702
5703 \end_inset
5704
5705 と,
5706 それが呼び出す他の様々なファイルに書き込まれています.このことから,
5707 レイアウトファイルを書こうとする人は,
5708 既存のファイルを研究することを勧めます.とっかかりとしては,
5709
5710 \begin_inset Flex Code
5711 status collapsed
5712
5713 \begin_layout Plain Layout
5714 article.layout
5715 \end_layout
5716
5717 \end_inset
5718
5719
5720 \begin_inset Flex Code
5721 status collapsed
5722
5723 \begin_layout Plain Layout
5724 book.layout
5725 \end_layout
5726
5727 \end_inset
5728
5729 や,
5730 文書クラス用の他のレイアウトファイルに取り込まれている
5731 \begin_inset Flex Code
5732 status collapsed
5733
5734 \begin_layout Plain Layout
5735 stdsections.inc
5736 \end_layout
5737
5738 \end_inset
5739
5740 から見始めるのがよいでしょう.このファイルは,
5741 節などの定義が為されている場所です.
5742 \begin_inset Flex Code
5743 status collapsed
5744
5745 \begin_layout Plain Layout
5746 stdsections.inc
5747 \end_layout
5748
5749 \end_inset
5750
5751 は,
5752 節様式や小節様式などとしてマークされている段落を,
5753 対応する\SpecialChar LaTeX
5754 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5755 に知らせるものです.基本的に
5756 \begin_inset Flex Code
5757 status collapsed
5758
5759 \begin_layout Plain Layout
5760 article.layout
5761 \end_layout
5762
5763 \end_inset
5764
5765 ファイルは,
5766 これらの
5767 \begin_inset Flex Code
5768 status collapsed
5769
5770 \begin_layout Plain Layout
5771 std*.inc
5772 \end_layout
5773
5774 \end_inset
5775
5776 ファイルを取り込んでいるだけのものです.
5777 \end_layout
5778
5779 \begin_layout Standard
5780 しかしながら,
5781 \SpecialChar LyX
5782 –\SpecialChar LaTeX
5783 間の対応を定義するだけが,
5784 レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,
5785 \SpecialChar LyX
5786 構成体自身が画面上にどのように表示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,
5787 レイアウトファイルが2つの仕事を行うという事実は,
5788 しばしば混乱を引き起こす元となります.ある段落様式を\SpecialChar LaTeX
5789 に翻訳する仕方を\SpecialChar LyX
5790 に指示することは,
5791 その表示の仕方を\SpecialChar LyX
5792 に指示するものではありません.逆に,
5793 ある段落様式の表示の仕方を\SpecialChar LyX
5794 に指示することは,
5795 その段落様式をどのように\SpecialChar LaTeX
5796 に翻訳するかを\SpecialChar LyX
5797 に指示するものではありません(ましてや\SpecialChar LaTeX
5798 に表示の仕方を指示するものではありません).つまり,
5799 一般的に,
5800 新しい\SpecialChar LyX
5801 構成体を定義する際には,
5802 (i)
5803 \begin_inset space ~
5804 \end_inset
5805
5806 \SpecialChar LaTeX
5807 にどのように翻訳するかを\SpecialChar LyX
5808 に指示する,
5809 (ii)
5810 \begin_inset space ~
5811 \end_inset
5812
5813 それをどのように表示するかを\SpecialChar LyX
5814 に指示する,
5815 という,
5816 二つのかなり異なることを行わなくてはならないのです.
5817 \end_layout
5818
5819 \begin_layout Standard
5820 もちろん,
5821 \SpecialChar LyX
5822 の他のバックエンド形式に関しても,
5823 ほぼ同じことが言えますが,
5824 XHTMLの場合には若干事情が異なり,
5825 \SpecialChar LyX
5826 が,
5827 ブラウザ中での段落の表示方法を(CSSの形で)出力するにあたって,
5828 当該段落を\SpecialChar LyX
5829 が画面上に出力する仕方の情報を,
5830 ある程度利用することができます.しかし,
5831 この場合でも,
5832 \SpecialChar LyX
5833 が内部的に行うことと,
5834 外部的に行う物事の間の区別は,
5835 依然として有効であり,
5836 この2つは独立して制御することができます.詳細に関しては,
5837
5838 \begin_inset CommandInset ref
5839 LatexCommand ref
5840 reference "sec:XHTML出力のタグ"
5841 nolink "false"
5842
5843 \end_inset
5844
5845 節をご覧ください.
5846 \end_layout
5847
5848 \begin_layout Section
5849 新しい\SpecialChar LaTeX
5850 ファイルの導入
5851 \end_layout
5852
5853 \begin_layout Standard
5854 頒布版によっては,
5855 \SpecialChar LyX
5856 で使いたい\SpecialChar LaTeX
5857 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,
5858 オーバーヘッドプロジェクタ用のスライドを準備するためのパッケージである,
5859 Foil\SpecialChar TeX
5860 がないかもしれません.\SpecialChar TeX
5861 Live(2008年以降)やMiK\SpecialChar TeX
5862 のような最近の\SpecialChar LaTeX
5863 頒布版には,
5864 これらのパッケージを導入するためのユーザーインタフェースが用意されています.たとえば,
5865 MiK\SpecialChar TeX
5866 では,
5867 付属の「Package
5868 \begin_inset space ~
5869 \end_inset
5870
5871 Manager」プログラムを起動すると,
5872 利用できるパッケージの一覧を得ることができます.どれかを導入するには,
5873 その上で右クリックするかツールバーボタンを押してください.
5874 \end_layout
5875
5876 \begin_layout Standard
5877 お使いの\SpecialChar LaTeX
5878 頒布版がこのような「パッケージマネジャー」を提供していなかったり,
5879 使用中の頒布版にそのパッケージが入っていない場合には,
5880 以下のステップに従って手動で導入してください.
5881 \end_layout
5882
5883 \begin_layout Enumerate
5884 \begin_inset CommandInset href
5885 LatexCommand href
5886 name "CTAN"
5887 target "http://www.ctan.org/"
5888 literal "false"
5889
5890 \end_inset
5891
5892 などから欲しいパッケージを入手してください.
5893 \end_layout
5894
5895 \begin_layout Enumerate
5896 パッケージに「
5897 \begin_inset Flex Code
5898 status collapsed
5899
5900 \begin_layout Plain Layout
5901 .ins
5902 \end_layout
5903
5904 \end_inset
5905
5906 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5907 がその一例です)は,
5908 コンソールを開いて,
5909 このファイルのフォルダに移動し,
5910 コマンド
5911 \begin_inset Flex Code
5912 status collapsed
5913
5914 \begin_layout Plain Layout
5915 latex foiltex.ins
5916 \end_layout
5917
5918 \end_inset
5919
5920 を実行してください.すると,
5921 パッケージが解凍されて,
5922 導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5923 パッケージは圧縮されていないので,
5924 このステップは飛ばすことができます.
5925 \end_layout
5926
5927 \begin_layout Enumerate
5928 ここで,
5929 パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5930 \end_layout
5931
5932 \begin_deeper
5933 \begin_layout Enumerate
5934 (Linux・OSXなどの)*nix系システムでは,
5935 システム上の全ユーザーに新パッケージを利用可能にしたければ,
5936 「ローカル」\SpecialChar TeX
5937 ツリーに導入し,
5938 そうでなければ「ユーザー」\SpecialChar TeX
5939 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,
5940 お使いのシステムに依存します.これを見いだすには,
5941
5942 \begin_inset Flex Code
5943 status collapsed
5944
5945 \begin_layout Plain Layout
5946 texmf.cnf
5947 \end_layout
5948
5949 \end_inset
5950
5951 ファイルを参照してください
5952 \begin_inset Foot
5953 status collapsed
5954
5955 \begin_layout Plain Layout
5956 このファイルは,
5957 通常
5958 \family sans
5959 $TEXMF/web2c
5960 \family default
5961 ディレクトリにありますが,
5962 コマンド
5963 \begin_inset Flex Code
5964 status collapsed
5965
5966 \begin_layout Plain Layout
5967 kpsewhich texmf.cnf
5968 \end_layout
5969
5970 \end_inset
5971
5972 を実行してその場所を見つけることもできます.
5973 \end_layout
5974
5975 \end_inset
5976
5977 .「ローカル」\SpecialChar TeX
5978 ツリーの場所は,
5979
5980 \begin_inset Flex Code
5981 status collapsed
5982
5983 \begin_layout Plain Layout
5984 TEXMFLOCAL
5985 \end_layout
5986
5987 \end_inset
5988
5989 変数で定義されており,
5990 通常は
5991 \begin_inset Flex Code
5992 status collapsed
5993
5994 \begin_layout Plain Layout
5995 /usr/local/share/texmf/
5996 \end_layout
5997
5998 \end_inset
5999
6000
6001 \begin_inset Flex Code
6002 status collapsed
6003
6004 \begin_layout Plain Layout
6005 /usr/local/texlive/XXXX
6006 \end_layout
6007
6008 \end_inset
6009
6010  (XXXXは導入されている\SpecialChar TeX
6011 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
6012 ツリーの場所は,
6013
6014 \begin_inset Flex Code
6015 status collapsed
6016
6017 \begin_layout Plain Layout
6018 TEXMFHOME
6019 \end_layout
6020
6021 \end_inset
6022
6023 で定義されており,
6024 通常は
6025 \begin_inset Flex Code
6026 status collapsed
6027
6028 \begin_layout Plain Layout
6029 $HOME/texmf/
6030 \end_layout
6031
6032 \end_inset
6033
6034
6035 \begin_inset Flex Code
6036 status collapsed
6037
6038 \begin_layout Plain Layout
6039 $HOME/.texliveXXXX
6040 \end_layout
6041
6042 \end_inset
6043
6044 です(もしこれらの変数が事前定義されていなければ,
6045 定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,
6046 おそらくroot権限が必要ですが,
6047 「ユーザー」ツリーにはこのような制限はありません.
6048 \begin_inset Newline newline
6049 \end_inset
6050
6051 一般的に,
6052 システムをアップグレードした際に,
6053 ユーザーが修正されたり上書きされたりということが起こらないので,
6054 ユーザーツリーに導入することが推奨されます.こうすると,
6055 自分のホームディレクトリをバックアップする際に,
6056 パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
6057 \end_layout
6058
6059 \begin_layout Enumerate
6060 Windowで,
6061 システム上の全ユーザーに新パッケージを利用可能にしたい場合には,
6062 \SpecialChar LaTeX
6063 の導入されているフォルダのサブフォルダ
6064 \begin_inset Flex Code
6065 status collapsed
6066
6067 \begin_layout Plain Layout
6068 ~
6069 \backslash
6070 tex
6071 \backslash
6072 latex
6073 \end_layout
6074
6075 \end_inset
6076
6077 に移動します(MiK\SpecialChar TeX
6078 の既定値では,
6079 これは
6080 \begin_inset Flex Code
6081 status collapsed
6082
6083 \begin_layout Plain Layout
6084 ~:Programs
6085 \backslash
6086 MiKTeX
6087 \backslash
6088 tex
6089 \backslash
6090 latex
6091 \end_layout
6092
6093 \end_inset
6094
6095 です)
6096 \begin_inset Foot
6097 status open
6098
6099 \begin_layout Plain Layout
6100 これは,
6101 英語版でのみ正しいパスになっています.独語版では
6102 \begin_inset Flex Code
6103 status collapsed
6104
6105 \begin_layout Plain Layout
6106 ~:Programme
6107 \backslash
6108 MiKTeX
6109 \backslash
6110 tex
6111 \backslash
6112 latex
6113 \end_layout
6114
6115 \end_inset
6116
6117 となり,
6118 他の言語でも同様です.
6119 \end_layout
6120
6121 \end_inset
6122
6123 .ここに新規フォルダ
6124 \begin_inset Flex Code
6125 status collapsed
6126
6127 \begin_layout Plain Layout
6128 foiltex
6129 \end_layout
6130
6131 \end_inset
6132
6133 を作成し,
6134 パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,
6135 admin権限を持っていない場合には,
6136 ローカル\SpecialChar LaTeX
6137 フォルダで同じことを行います.たとえばMiK\SpecialChar TeX
6138
6139 \begin_inset space ~
6140 \end_inset
6141
6142 2.8では,
6143 これはWinXP上では
6144 \begin_inset Newline newline
6145 \end_inset
6146
6147
6148 \begin_inset Flex Code
6149 status collapsed
6150
6151 \begin_layout Plain Layout
6152 ~:
6153 \backslash
6154 Documents and Settings
6155 \backslash
6156 <ユーザー名>
6157 \backslash
6158 Application Data
6159 \backslash
6160
6161 \end_layout
6162
6163 \end_inset
6164
6165
6166 \begin_inset Newline newline
6167 \end_inset
6168
6169
6170 \begin_inset Phantom HPhantom
6171 status open
6172
6173 \begin_layout Plain Layout
6174
6175 \family typewriter
6176 ~:
6177 \backslash
6178
6179 \end_layout
6180
6181 \end_inset
6182
6183
6184 \begin_inset Flex Code
6185 status collapsed
6186
6187 \begin_layout Plain Layout
6188 MiKTeX
6189 \backslash
6190 2.8
6191 \backslash
6192 tex
6193 \backslash
6194 latex
6195 \end_layout
6196
6197 \end_inset
6198
6199
6200 \begin_inset Newline newline
6201 \end_inset
6202
6203 フォルダ,
6204 WinVista上では
6205 \begin_inset Newline newline
6206 \end_inset
6207
6208
6209 \begin_inset Flex Code
6210 status collapsed
6211
6212 \begin_layout Plain Layout
6213 ~:
6214 \backslash
6215 Users
6216 \backslash
6217 <ユーザー名>
6218 \backslash
6219 AppData
6220 \backslash
6221 Roaming
6222 \backslash
6223 2.8
6224 \backslash
6225 MiKTeX
6226 \backslash
6227 tex
6228 \backslash
6229 latex
6230 \end_layout
6231
6232 \end_inset
6233
6234
6235 \begin_inset Newline newline
6236 \end_inset
6237
6238 フォルダになります.
6239 \end_layout
6240
6241 \end_deeper
6242 \begin_layout Enumerate
6243 ここまで来れば,
6244 あとは\SpecialChar LaTeX
6245 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
6246 頒布版に依存します.
6247 \end_layout
6248
6249 \begin_deeper
6250 \begin_layout Enumerate
6251 \SpecialChar TeX
6252 Liveの場合には,
6253 コンソールから
6254 \begin_inset Flex Code
6255 status collapsed
6256
6257 \begin_layout Plain Layout
6258 texhash
6259 \end_layout
6260
6261 \end_inset
6262
6263 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,
6264 おそらくroot権限で行う必要があります.
6265 \end_layout
6266
6267 \begin_layout Enumerate
6268 MiK\SpecialChar TeX
6269 では,
6270 パッケージを全ユーザー用に導入した場合には,
6271 「Settings
6272 \begin_inset space ~
6273 \end_inset
6274
6275 (Admin)」を起動し,
6276 「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,
6277 「Settings」を起動して同様に行ってください.
6278 \end_layout
6279
6280 \end_deeper
6281 \begin_layout Enumerate
6282 最後に,
6283 \SpecialChar LyX
6284 に新しいパッケージがあることを告げなくてはなりません.そこで,
6285 \SpecialChar LyX
6286 からツール\SpecialChar menuseparator
6287 環境構成メニューを実行して,
6288 \SpecialChar LyX
6289 を再起動します.
6290 \end_layout
6291
6292 \begin_layout Standard
6293 これでパッケージが導入されました.この例では,
6294 文書クラス
6295 \begin_inset Flex Code
6296 status collapsed
6297
6298 \begin_layout Plain Layout
6299 Slides
6300 \begin_inset space ~
6301 \end_inset
6302
6303 (FoilTeX)
6304 \end_layout
6305
6306 \end_inset
6307
6308
6309 \begin_inset Flex MenuItem
6310 status collapsed
6311
6312 \begin_layout Plain Layout
6313 文書\SpecialChar menuseparator
6314 設定\SpecialChar menuseparator
6315 文書クラス
6316 \end_layout
6317
6318 \end_inset
6319
6320 で利用可能になっているはずです.
6321 \end_layout
6322
6323 \begin_layout Standard
6324 \begin_inset Flex MenuItem
6325 status collapsed
6326
6327 \begin_layout Plain Layout
6328 文書\SpecialChar menuseparator
6329 設定\SpecialChar menuseparator
6330 文書クラス
6331 \end_layout
6332
6333 \end_inset
6334
6335 メニューに列挙されてもいない\SpecialChar LaTeX
6336 文書クラスを使用したい場合には,
6337 その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
6338 \end_layout
6339
6340 \begin_layout Section
6341 レイアウトファイルの型
6342 \end_layout
6343
6344 \begin_layout Standard
6345 この節は,
6346 レイアウト情報を含む各種\SpecialChar LyX
6347 ファイルについて述べます.これらのファイルは,
6348 各種段落様式や文字様式についての記述がされているものであり,
6349 \SpecialChar LyX
6350 がそれらをどのように表示すべきなのか,
6351 また,
6352 それらをどのように\SpecialChar LaTeX
6353 やDocBook,
6354 XHTMLその他の出力形式に翻訳すればよいのかが記されています.
6355 \end_layout
6356
6357 \begin_layout Standard
6358 ここでは,
6359 レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,
6360 \SpecialChar LaTeX
6361 クラスだけでもサポートする文書の種類があまりにたくさんあるので,
6362 読者が出会いうるケースや問題をすべてカバーすることはとても望めません.\SpecialChar LyX
6363 ユーザーメーリングリストには,
6364 自身の経験を人々と分かち合いたいと望む,
6365 レイアウトデザインの経験豊かな人々がよく顔を出していますので,
6366 気軽に質問を投げかけてみてください.
6367 \end_layout
6368
6369 \begin_layout Standard
6370 新しいレイアウトを準備するに当たっては,
6371 \SpecialChar LyX
6372 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
6373 文書クラス用の\SpecialChar LyX
6374 レイアウトを作ったり,
6375 他の人々にも有用なモジュールをお書きになった場合には,
6376
6377 \begin_inset CommandInset href
6378 LatexCommand href
6379 name "LyX Wikiのレイアウトに関する節"
6380 target "https://wiki.lyx.org/Layouts/Layouts"
6381 literal "false"
6382
6383 \end_inset
6384
6385 か,
6386 \SpecialChar LyX
6387 開発者メーリングリストに投稿して,
6388 \SpecialChar LyX
6389 頒布版に同梱することができるようにしてください
6390 \begin_inset Foot
6391 status collapsed
6392
6393 \begin_layout Plain Layout
6394 \SpecialChar LyX
6395 はGeneral Public Licenseの下でライセンスされていますので,
6396 \SpecialChar LyX
6397 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
6398 \end_layout
6399
6400 \end_inset
6401
6402
6403 \end_layout
6404
6405 \begin_layout Subsection
6406 レイアウトモジュール
6407 \begin_inset CommandInset label
6408 LatexCommand label
6409 name "subsec:レイアウトモジュール"
6410
6411 \end_inset
6412
6413
6414 \end_layout
6415
6416 \begin_layout Standard
6417 ここまで,
6418 「レイアウトファイル」についてお話してきました.しかし,
6419 レイアウト情報を含むものには,
6420 他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき,
6421 それは
6422 \begin_inset Flex Code
6423 status collapsed
6424
6425 \begin_layout Plain Layout
6426 .layout
6427 \end_layout
6428
6429 \end_inset
6430
6431 拡張子を持ち,
6432 文書クラスに関する情報を\SpecialChar LyX
6433 に提供するものを指します.しかしながら,
6434 \SpecialChar LyX
6435  1.6以降,
6436 レイアウト情報は,
6437 拡張子が
6438 \begin_inset Flex Code
6439 status collapsed
6440
6441 \begin_layout Plain Layout
6442 .module
6443 \end_layout
6444
6445 \end_inset
6446
6447 のレイアウト
6448 \emph on
6449 モジュール
6450 \emph default
6451 にも含めることができます.レイアウトが\SpecialChar LaTeX
6452 クラスに対応しているように,
6453 モジュールは\SpecialChar LaTeX
6454 パッケージに対応するものであり,
6455
6456 \begin_inset Flex Code
6457 status collapsed
6458
6459 \begin_layout Plain Layout
6460 endnotes
6461 \end_layout
6462
6463 \end_inset
6464
6465 モジュールのように,
6466 特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,
6467 特定の文書レイアウトに特化したものではなく,
6468 多くのレイアウトで使用できるという意味において,
6469 一面,
6470
6471 \begin_inset Flex Code
6472 status collapsed
6473
6474 \begin_layout Plain Layout
6475 stdsections.inc
6476 \end_layout
6477
6478 \end_inset
6479
6480 等のインクルードファイル
6481 \begin_inset Foot
6482 status collapsed
6483
6484 \begin_layout Plain Layout
6485 これらは任意の拡張子をつけることができますが,
6486 慣習的に
6487 \begin_inset Flex Code
6488 status collapsed
6489
6490 \begin_layout Plain Layout
6491 .inc
6492 \end_layout
6493
6494 \end_inset
6495
6496 拡張子が用いられます.
6497 \end_layout
6498
6499 \end_inset
6500
6501 のようなものです.相異なる点といえば,
6502
6503 \begin_inset Flex Code
6504 status collapsed
6505
6506 \begin_layout Plain Layout
6507 article.cls
6508 \end_layout
6509
6510 \end_inset
6511
6512 でインクルードファイルを使用するには,
6513 そのファイルを編集しなくてはなりませんが,
6514 モジュールの場合は,
6515
6516 \begin_inset Flex MenuItem
6517 status collapsed
6518
6519 \begin_layout Plain Layout
6520 文書\SpecialChar menuseparator
6521 設定
6522 \end_layout
6523
6524 \end_inset
6525
6526 ダイアログで選択するだけですみます.
6527 \end_layout
6528
6529 \begin_layout Standard
6530 モジュール作成は,
6531 新しく段落様式を一つ加えたり,
6532 自由差込枠を加えたりするだけで済むことも多いので,
6533 レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的には,
6534 レイアウトファイルに入れることのできるものはすべて入れることができます.
6535 \end_layout
6536
6537 \begin_layout Standard
6538 新しいモジュールを作成し,
6539 それを
6540 \begin_inset Flex Code
6541 status collapsed
6542
6543 \begin_layout Plain Layout
6544 layout/
6545 \end_layout
6546
6547 \end_inset
6548
6549 フォルダにコピーした後,
6550 モジュールがメニューに現れるようにするためには,
6551 \SpecialChar LyX
6552 の環境構成を行って再起動しなくてはなりません.しかしながら,
6553 モジュールの修正の場合には,
6554
6555 \begin_inset Flex MenuItem
6556 status collapsed
6557
6558 \begin_layout Plain Layout
6559 文書\SpecialChar menuseparator
6560 設定
6561 \end_layout
6562
6563 \end_inset
6564
6565 を開いてどれかを選択し「OK」を押せば,
6566 直ちに反映されます.
6567 \emph on
6568 これを実行する前に,
6569 作業中の文書を保存しておくことを強く勧めます
6570 \emph default
6571 .もっと言えば,
6572
6573 \emph on
6574 実際の文書で作業しているときに,
6575 同時にモジュールの編集をしようとしないことを強く勧めます
6576 \emph default
6577 .もちろん開発陣は,
6578 そのような場合でも\SpecialChar LyX
6579 が安定性を維持するように努力していますが,
6580 あなたが作成したモジュール中の文法エラー等によって,
6581 奇妙な挙動が引き起こされることがあるからです.
6582 \end_layout
6583
6584 \begin_layout Subsubsection
6585 ローカルレイアウト
6586 \end_layout
6587
6588 \begin_layout Standard
6589 \SpecialChar LyX
6590 に於けるモジュールは,
6591 \SpecialChar LaTeX
6592 に於けるパッケージに当たります.しかしながら,
6593 特定の差込枠や文字様式を,
6594 ひとつの文書のためだけに作りたいこともあるでしょうから,
6595 そのような場合に,
6596 他の文書でも利用できるようなモジュールをわざわざ書くことには,
6597 あまり意味がありません.このような場合に必要となるのが,
6598 「ローカルレイアウト」なのです.
6599 \end_layout
6600
6601 \begin_layout Standard
6602 これは,
6603
6604 \family sans
6605 文書\SpecialChar menuseparator
6606 設定\SpecialChar menuseparator
6607 ローカルのレイアウト
6608 \family default
6609 にあります.そこにある大きなテキストボックスは,
6610 本来ならレイアウトファイルやモジュールに入力すべきものを,
6611 入力するためのものです.特定の文書のローカルレイアウトは,
6612 その文書専属のモジュールだと考えることができます.したがって,
6613
6614 \begin_inset Flex Code
6615 status collapsed
6616
6617 \begin_layout Plain Layout
6618 Format
6619 \end_layout
6620
6621 \end_inset
6622
6623 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,
6624 通常は,
6625 執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
6626  
6627 \begin_inset Info
6628 type  "lyxinfo"
6629 arg   "version"
6630 \end_inset
6631
6632 では,
6633 最新書式は
6634 \begin_inset Info
6635 type  "lyxinfo"
6636 arg   "layoutformat"
6637 \end_inset
6638
6639 です).
6640 \end_layout
6641
6642 \begin_layout Standard
6643 \begin_inset Flex Code
6644 status collapsed
6645
6646 \begin_layout Plain Layout
6647 ローカルのレイアウト
6648 \end_layout
6649
6650 \end_inset
6651
6652 面に何かを入力すると,
6653 下部にある「検証」ボタンが有効になります.このボタンを押すと,
6654 ユーザーの入力したものが,
6655 指定された書式に沿って,
6656 有効なレイアウト情報になっているかどうかが検証されます.すると,
6657 \SpecialChar LyX
6658 がその結果を返しますが,
6659 残念ながら,
6660 エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,
6661 \SpecialChar LyX
6662 をターミナル(擬似端末)から起動した場合には,
6663 そのエラーがターミナルに返されます.ローカルレイアウトは,
6664 正しい書式で入力されないうちは,
6665 保存することができません.
6666 \end_layout
6667
6668 \begin_layout Standard
6669 ここで,
6670 前節と同じ警告があります.ローカルレイアウトは,
6671 作業中の文書上で,
6672 特に保存していない文書上ではいじらないでください.それに注意すれば,
6673 テスト用文書上でローカルレイアウトを用いるのは,
6674 レイアウトのアイディアを試すのに便利ですし,
6675 モジュール開発の第一歩としても便利です.
6676 \end_layout
6677
6678 \begin_layout Subsection
6679 \begin_inset Flex MenuItem
6680 status collapsed
6681
6682 \begin_layout Plain Layout
6683 .sty
6684 \end_layout
6685
6686 \end_inset
6687
6688 ファイル用のレイアウト
6689 \end_layout
6690
6691 \begin_layout Standard
6692 新しく\SpecialChar LaTeX
6693 文書クラスをサポートしようとするとき,
6694 \SpecialChar LaTeX2e
6695 クラス(
6696 \begin_inset Flex Code
6697 status collapsed
6698
6699 \begin_layout Plain Layout
6700 .cls
6701 \end_layout
6702
6703 \end_inset
6704
6705 )ファイルが絡む場合と,
6706 スタイル(
6707 \begin_inset Flex Code
6708 status collapsed
6709
6710 \begin_layout Plain Layout
6711 .sty
6712 \end_layout
6713
6714 \end_inset
6715
6716 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,
6717 通常は,
6718 かなり容易ですが,
6719 新しくクラスファイルをサポートすることは,
6720 もう少し難しくなります.この節では,
6721 前者について述べることとし,
6722 後者については次節に譲ります.
6723 \end_layout
6724
6725 \begin_layout Standard
6726 この易しい方の場合では,
6727 新しい文書クラスは,
6728 既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,
6729 スタイルファイルは
6730 \begin_inset Flex MenuItem
6731 status collapsed
6732
6733 \begin_layout Plain Layout
6734 myclass.sty
6735 \end_layout
6736
6737 \end_inset
6738
6739 という名称で,
6740 標準的なクラスである
6741 \begin_inset Flex MenuItem
6742 status collapsed
6743
6744 \begin_layout Plain Layout
6745 report.cls
6746 \end_layout
6747
6748 \end_inset
6749
6750 と共に用いられるものと仮定しましょう.
6751 \end_layout
6752
6753 \begin_layout Standard
6754 既存の文書クラスのレイアウトファイルを,
6755 以下のように,
6756 お使いのローカルディレクトリにコピーすることから始めてください
6757 \begin_inset Foot
6758 status collapsed
6759
6760 \begin_layout Plain Layout
6761 もちろん,
6762 どのディレクトリがローカルディレクトリとなるかは,
6763 プラットフォームに依存します.\SpecialChar LyX
6764 では,
6765 起動時に
6766 \begin_inset Flex MenuItem
6767 status collapsed
6768
6769 \begin_layout Plain Layout
6770 -userdir
6771 \end_layout
6772
6773 \end_inset
6774
6775 オプションを指定することによって,
6776 ローカルディレクトリを指定することも可能です.
6777 \end_layout
6778
6779 \end_inset
6780
6781
6782 \end_layout
6783
6784 \begin_layout LyX-Code
6785 cp report.layout ~/.lyx/layouts/myclass.layout
6786 \end_layout
6787
6788 \begin_layout Standard
6789 それから,
6790
6791 \begin_inset Flex Code
6792 status collapsed
6793
6794 \begin_layout Plain Layout
6795 myclass.layout
6796 \end_layout
6797
6798 \end_inset
6799
6800 を編集して,
6801
6802 \end_layout
6803
6804 \begin_layout LyX-Code
6805
6806 \backslash
6807 DeclareLaTeXClass{report}
6808 \end_layout
6809
6810 \begin_layout Standard
6811 という行を
6812 \end_layout
6813
6814 \begin_layout LyX-Code
6815
6816 \backslash
6817 DeclareLaTeXClass[report,
6818  myclass.sty]{report (myclass)}
6819 \end_layout
6820
6821 \begin_layout Standard
6822 のように変更してください.それから,
6823 ファイル冒頭辺りに
6824 \end_layout
6825
6826 \begin_layout LyX-Code
6827 Preamble 
6828 \begin_inset Newline newline
6829 \end_inset
6830
6831     
6832 \backslash
6833 usepackage{myclass}
6834 \begin_inset Newline newline
6835 \end_inset
6836
6837 EndPreamble
6838 \end_layout
6839
6840 \begin_layout Standard
6841 と書き加えてください.
6842 \end_layout
6843
6844 \begin_layout Standard
6845 \SpecialChar LyX
6846 を起動して
6847 \begin_inset Flex MenuItem
6848 status collapsed
6849
6850 \begin_layout Plain Layout
6851 ツール\SpecialChar menuseparator
6852 環境構成
6853 \end_layout
6854
6855 \end_inset
6856
6857 を選択してください.それから\SpecialChar LyX
6858 を再起動し,
6859 新規文書を作成してみてください.すると,
6860
6861 \begin_inset Flex MenuItem
6862 status collapsed
6863
6864 \begin_layout Plain Layout
6865 文書\SpecialChar menuseparator
6866 設定
6867 \end_layout
6868
6869 \end_inset
6870
6871 ダイアログの文書クラスオプションに「
6872 \begin_inset Flex MenuItem
6873 status collapsed
6874
6875 \begin_layout Plain Layout
6876 report (myclass)
6877 \end_layout
6878
6879 \end_inset
6880
6881 」が現れるはずです.新しいクラスにおいて,
6882 節区切り用コマンドなどの一部が,
6883 基礎となったクラス—
6884 この例では
6885 \begin_inset Flex Code
6886 status collapsed
6887
6888 \begin_layout Plain Layout
6889 report
6890 \end_layout
6891
6892 \end_inset
6893
6894
6895 とは違う挙動をすることはよくありますので,
6896 希望に応じて,
6897 各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6898
6899 \begin_inset Flex Code
6900 status collapsed
6901
6902 \begin_layout Plain Layout
6903 stdsections.inc
6904 \end_layout
6905
6906 \end_inset
6907
6908 に含まれていますが,
6909 このファイルをコピーしたり変更したりする必要はありません.代わりに,
6910 自身のレイアウトファイル中,
6911
6912 \begin_inset Flex Code
6913 status collapsed
6914
6915 \begin_layout Plain Layout
6916 stdsections.inc
6917 \end_layout
6918
6919 \end_inset
6920
6921 も取り込む
6922 \begin_inset Flex Code
6923 status collapsed
6924
6925 \begin_layout Plain Layout
6926 Input stdclass.inc
6927 \end_layout
6928
6929 \end_inset
6930
6931 の後に変更を加えるだけです.たとえば,
6932 章見だしのフォントをサンセリフ体に変更するには,
6933 以下のような行を加えます.
6934 \end_layout
6935
6936 \begin_layout LyX-Code
6937 Style Chapter
6938 \end_layout
6939
6940 \begin_layout LyX-Code
6941     Font
6942 \end_layout
6943
6944 \begin_layout LyX-Code
6945         Family Sans
6946 \end_layout
6947
6948 \begin_layout LyX-Code
6949     EndFont
6950 \end_layout
6951
6952 \begin_layout LyX-Code
6953 End
6954 \end_layout
6955
6956 \begin_layout Standard
6957 これは,
6958 既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6959 \end_layout
6960
6961 \begin_layout Standard
6962 新しいパッケージでは,
6963 基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,
6964 これらをレイアウトファイルに加えます.そのやり方については,
6965
6966 \begin_inset CommandInset ref
6967 LatexCommand ref
6968 reference "sec:テキストクラス"
6969 nolink "false"
6970
6971 \end_inset
6972
6973 節の情報を参照してください.
6974 \end_layout
6975
6976 \begin_layout Standard
6977 もし
6978 \begin_inset Flex Code
6979 status collapsed
6980
6981 \begin_layout Plain Layout
6982 myclass.sty
6983 \end_layout
6984
6985 \end_inset
6986
6987 が他の文書クラスで使用することができたり,
6988 あるいはできない場合でも,
6989 基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょう.最も簡単なモジュールの例としては,
6990 以下のようなものになります.
6991 \end_layout
6992
6993 \begin_layout LyX-Code
6994 #
6995 \backslash
6996 DeclareLyXModule{My Package}
6997 \end_layout
6998
6999 \begin_layout LyX-Code
7000 #DescriptionBegin
7001 \end_layout
7002
7003 \begin_layout LyX-Code
7004 #Support for mypkg.sty.
7005 \end_layout
7006
7007 \begin_layout LyX-Code
7008 #DescriptionEnd
7009 \begin_inset Newline newline
7010 \end_inset
7011
7012
7013 \end_layout
7014
7015 \begin_layout LyX-Code
7016 Format 69
7017 \begin_inset Newline newline
7018 \end_inset
7019
7020
7021 \end_layout
7022
7023 \begin_layout LyX-Code
7024 Preamble
7025 \begin_inset Newline newline
7026 \end_inset
7027
7028     
7029 \backslash
7030 usepackage{mypkg}
7031 \begin_inset Newline newline
7032 \end_inset
7033
7034 EndPreamble
7035 \end_layout
7036
7037 \begin_layout Standard
7038 もう少し複雑なモジュールでは,
7039 既存の構成物の挙動を修正したり,
7040 新しい構成物を定義したりすることになるでしょう.この辺りの議論については,
7041
7042 \begin_inset CommandInset ref
7043 LatexCommand ref
7044 reference "sec:テキストクラス"
7045 nolink "false"
7046
7047 \end_inset
7048
7049 節を参照してください.
7050 \end_layout
7051
7052 \begin_layout Subsection
7053 \begin_inset Flex MenuItem
7054 status collapsed
7055
7056 \begin_layout Plain Layout
7057 .cls
7058 \end_layout
7059
7060 \end_inset
7061
7062 ファイル用のレイアウト
7063 \end_layout
7064
7065 \begin_layout Standard
7066 これには2つのケースがありえます.ひとつは,
7067 クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,
7068 多くの学位論文用クラスは
7069 \begin_inset Flex MenuItem
7070 status collapsed
7071
7072 \begin_layout Plain Layout
7073 book.cls
7074 \end_layout
7075
7076 \end_inset
7077
7078 に基づいています.お使いのものがどうであるかを見るには,
7079 クラスファイル中に
7080 \end_layout
7081
7082 \begin_layout LyX-Code
7083
7084 \backslash
7085 LoadClass{book}
7086 \end_layout
7087
7088 \begin_layout Standard
7089 という行がないかどうか探してください.もしこれがあれば,
7090
7091 \begin_inset Flex Code
7092 status collapsed
7093
7094 \begin_layout Plain Layout
7095 Declare\SpecialChar LaTeX
7096 Class
7097 \end_layout
7098
7099 \end_inset
7100
7101 行は異なりますが,
7102 おおよそ前節のように進めることができます.あなたが新しく作るクラスが
7103 \begin_inset Flex Code
7104 status collapsed
7105
7106 \begin_layout Plain Layout
7107 thesis
7108 \end_layout
7109
7110 \end_inset
7111
7112 であり,
7113
7114 \begin_inset Flex Code
7115 status collapsed
7116
7117 \begin_layout Plain Layout
7118 book
7119 \end_layout
7120
7121 \end_inset
7122
7123 クラスに基づいていれば,
7124
7125 \begin_inset Flex Code
7126 status collapsed
7127
7128 \begin_layout Plain Layout
7129 Declare\SpecialChar LaTeX
7130 Class
7131 \end_layout
7132
7133 \end_inset
7134
7135 行は以下のようにします
7136 \begin_inset Foot
7137 status collapsed
7138
7139 \begin_layout Plain Layout
7140 さらに\SpecialChar LyX
7141 は,
7142 文書クラス名がレイアウトファイル名と同じだと仮定するので,
7143 クラスファイルを
7144 \begin_inset Flex Code
7145 status collapsed
7146
7147 \begin_layout Plain Layout
7148 thesis.layout
7149 \end_layout
7150
7151 \end_inset
7152
7153 という名前で保存するのが最も簡単です. 
7154 \end_layout
7155
7156 \end_inset
7157
7158
7159 \end_layout
7160
7161 \begin_layout LyX-Code
7162
7163 \backslash
7164 DeclareLaTeXClass[thesis,book]{thesis}
7165 \end_layout
7166
7167 \begin_layout Standard
7168 他方,
7169 新しいクラスが既存のクラスに基づいていない場合には,
7170 おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,
7171 類似した\SpecialChar LaTeX
7172 クラスを使用している既存のレイアウトファイルをコピーして,
7173 それに修正を加えるようにすることを強くお勧めします.少なくとも,
7174 どの項目を考慮すべきかがわかるように,
7175 既存のファイルを作業の開始点としてください.
7176 \end_layout
7177
7178 \begin_layout Subsection
7179 ひな型を作成する
7180 \begin_inset CommandInset label
7181 LatexCommand label
7182 name "sec:ひな型を作成する"
7183
7184 \end_inset
7185
7186
7187 \end_layout
7188
7189 \begin_layout Standard
7190 新しい文書クラス用のレイアウトファイルを書いたならば,
7191 そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,
7192 内容はダミーですが,
7193 レイアウトの使い方を示す一種のチュートリアルとして動作します.もちろん,
7194 イメージを得るために,
7195 \SpecialChar LyX
7196 添付のひな型をあれこれ見てみるのもよいでしょう.
7197 \end_layout
7198
7199 \begin_layout Standard
7200 ひな型は,
7201 通常の文書と同様,
7202 \SpecialChar LyX
7203 を使って作成することができます.唯一違う点は,
7204 通常の文書では,
7205 フォント構成や用紙寸法を含め,
7206 すべてのあり得る設定が為されている点です.これらの場合,
7207 通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,
7208 ひな型の設計者は,
7209
7210 \begin_inset Flex Code
7211 status collapsed
7212
7213 \begin_layout Plain Layout
7214
7215 \backslash
7216 fontscheme
7217 \end_layout
7218
7219 \end_inset
7220
7221
7222 \begin_inset Flex Code
7223 status collapsed
7224
7225 \begin_layout Plain Layout
7226
7227 \backslash
7228 papersize
7229 \end_layout
7230
7231 \end_inset
7232
7233 などの対応するコマンドをひな型\SpecialChar LyX
7234 ファイルから取り除く必要があります.これは,
7235 たとえば
7236 \begin_inset Flex Code
7237 status collapsed
7238
7239 \begin_layout Plain Layout
7240 vi
7241 \end_layout
7242
7243 \end_inset
7244
7245
7246 \begin_inset Flex Code
7247 status collapsed
7248
7249 \begin_layout Plain Layout
7250 notepad
7251 \end_layout
7252
7253 \end_inset
7254
7255 のような,
7256 どの軽いテキストエディタでも行うことができます.
7257 \end_layout
7258
7259 \begin_layout Standard
7260 編集したひな型を
7261 \begin_inset Flex Code
7262 status collapsed
7263
7264 \begin_layout Plain Layout
7265 UserDir/templates/
7266 \end_layout
7267
7268 \end_inset
7269
7270 に置き,
7271 グローバルなひな型ディレクトリ
7272 \begin_inset Flex Code
7273 status collapsed
7274
7275 \begin_layout Plain Layout
7276 LyXDir/templates/
7277 \end_layout
7278
7279 \end_inset
7280
7281 から使用したいものを同じ場所にコピーし,
7282
7283 \begin_inset Flex MenuItem
7284 status collapsed
7285
7286 \begin_layout Plain Layout
7287 ツール\SpecialChar menuseparator
7288 設定\SpecialChar menuseparator
7289 パス
7290 \end_layout
7291
7292 \end_inset
7293
7294 ダイアログのひな型パスを再定義してください.
7295 \end_layout
7296
7297 \begin_layout Standard
7298 ところで,
7299 特別な意味を持つひな型
7300 \begin_inset Flex Code
7301 status collapsed
7302
7303 \begin_layout Plain Layout
7304 defaults.lyx
7305 \end_layout
7306
7307 \end_inset
7308
7309 があることに注意してください.このひな型は,
7310
7311 \begin_inset Flex MenuItem
7312 status collapsed
7313
7314 \begin_layout Plain Layout
7315 ファイル\SpecialChar menuseparator
7316 新規
7317 \end_layout
7318
7319 \end_inset
7320
7321 を使って新規文書を作成する際,
7322 便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
7323 内部から作成するのにしなくてはならないことは,
7324 対応する設定を持つ文書を開き,
7325
7326 \begin_inset Flex MenuItem
7327 status collapsed
7328
7329 \begin_layout Plain Layout
7330 文書既定値として保存
7331 \end_layout
7332
7333 \end_inset
7334
7335 ボタンを押すことです.
7336 \end_layout
7337
7338 \begin_layout Subsection
7339 旧レイアウトファイルの更新
7340 \end_layout
7341
7342 \begin_layout Standard
7343 レイアウトファイルの書式は,
7344 \SpecialChar LyX
7345 のリリース毎に変更されますので,
7346 古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
7347 が古い書式のレイアウトファイルを読み込むと,
7348 \SpecialChar LyX
7349 は,
7350 自動的に変換ツール
7351 \begin_inset Flex Code
7352 status collapsed
7353
7354 \begin_layout Plain Layout
7355 \SpecialChar LyX
7356 Dir/scripts/layout2layout.py
7357 \end_layout
7358
7359 \end_inset
7360
7361 を呼び出し,
7362 それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,
7363 \SpecialChar LyX
7364 がこれを毎回行なわくて済むように,
7365 レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,
7366 以下のように変換子を手動で呼び出してください.
7367 \end_layout
7368
7369 \begin_layout Enumerate
7370 ファイル
7371 \begin_inset Flex Code
7372 status collapsed
7373
7374 \begin_layout Plain Layout
7375 myclass.layout
7376 \end_layout
7377
7378 \end_inset
7379
7380
7381 \begin_inset Flex Code
7382 status collapsed
7383
7384 \begin_layout Plain Layout
7385 myclass.old
7386 \end_layout
7387
7388 \end_inset
7389
7390 に改称
7391 \end_layout
7392
7393 \begin_layout Enumerate
7394 以下のコマンドをコール
7395 \begin_inset Newline newline
7396 \end_inset
7397
7398
7399 \begin_inset Flex Code
7400 status collapsed
7401
7402 \begin_layout Plain Layout
7403 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
7404 \end_layout
7405
7406 \end_inset
7407
7408
7409 \begin_inset Newline newline
7410 \end_inset
7411
7412 ここで
7413 \begin_inset Flex Code
7414 status collapsed
7415
7416 \begin_layout Plain Layout
7417 LyXDir
7418 \end_layout
7419
7420 \end_inset
7421
7422 は\SpecialChar LyX
7423 システムディレクトリの名前です.
7424 \end_layout
7425
7426 \begin_layout Standard
7427 手動変換は,
7428 インクルードされているファイル内部の変更までは取り扱いませんので,
7429 それらのファイルは別に変換されなくてはなりません.
7430 \end_layout
7431
7432 \begin_layout Subsection
7433 \begin_inset CommandInset label
7434 LatexCommand label
7435 name "subsec:引用エンジンファイル"
7436
7437 \end_inset
7438
7439 引用エンジンファイル
7440 \end_layout
7441
7442 \begin_layout Standard
7443 \begin_inset Flex Code
7444 status collapsed
7445
7446 \begin_layout Plain Layout
7447 citeengines/
7448 \end_layout
7449
7450 \end_inset
7451
7452 サブディレクトリ以下に収められている,
7453 いわゆる
7454 \begin_inset Flex Code
7455 status collapsed
7456
7457 \begin_layout Plain Layout
7458 *.citeengine
7459 \end_layout
7460
7461 \end_inset
7462
7463 ファイルは,
7464 レイアウトファイルの特殊形です.これらの目的は,
7465
7466 \family sans
7467 natbib
7468 \family default
7469
7470 \family sans
7471 jurabib
7472 \family default
7473
7474 \family sans
7475 biblatex
7476 \family default
7477 など,
7478 書誌情報を生成する\SpecialChar LaTeX
7479 パッケージの詳細を定義することですが,
7480 通常の(追加パッケージのない)Bib\SpecialChar TeX
7481 引用が\SpecialChar LyX
7482 中でどのように取り扱われるかも,
7483 これらのファイルの中で定義されます.
7484 \end_layout
7485
7486 \begin_layout Standard
7487 より具体的には,
7488 どのパッケージを\SpecialChar LyX
7489 が読み込む必要があるのか,
7490 どの引用コマンドが利用可能であるのか,
7491 これらが\SpecialChar LyX
7492 中(作業領域・ダイアログ・コンテクストメニュー)で,
7493 さらにはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,
7494 これらのファイルは,
7495 使用できる派生様式(著者-刊行年,
7496 数値など)とその子細を特定します.引用エンジンファイルは,
7497
7498 \family sans
7499 文書\SpecialChar menuseparator
7500 設定\SpecialChar ldots
7501 \SpecialChar menuseparator
7502 書誌情報\SpecialChar menuseparator
7503 様式整形子
7504 \family default
7505 で利用できる選択肢を生成するのにも使用されます.
7506 \end_layout
7507
7508 \begin_layout Standard
7509 引用エンジンファイルは,
7510 本質的に通常のレイアウトファイルであり,
7511 理論上どのようなレイアウト情報も内包することができますが,
7512 通常は
7513 \begin_inset Flex Code
7514 status collapsed
7515
7516 \begin_layout Plain Layout
7517 MaxCiteNames
7518 \end_layout
7519
7520 \end_inset
7521
7522
7523 \begin_inset Flex Code
7524 status collapsed
7525
7526 \begin_layout Plain Layout
7527 CiteFramework
7528 \end_layout
7529
7530 \end_inset
7531
7532
7533 \begin_inset Flex Code
7534 status collapsed
7535
7536 \begin_layout Plain Layout
7537 CiteEngine
7538 \end_layout
7539
7540 \end_inset
7541
7542
7543 \begin_inset Flex Code
7544 status collapsed
7545
7546 \begin_layout Plain Layout
7547 CiteFormat
7548 \end_layout
7549
7550 \end_inset
7551
7552 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,
7553 ファイル自身に加え,
7554 第 
7555 \begin_inset CommandInset ref
7556 LatexCommand ref
7557 reference "subsec:引用エンジンの説明"
7558 plural "false"
7559 caps "false"
7560 noprefix "false"
7561 nolink "false"
7562
7563 \end_inset
7564
7565 節と第
7566 \begin_inset CommandInset ref
7567 LatexCommand ref
7568 reference "subsec:引用書式指定"
7569 plural "false"
7570 caps "false"
7571 noprefix "false"
7572 nolink "false"
7573
7574 \end_inset
7575
7576 節に述べられています.
7577 \end_layout
7578
7579 \begin_layout Section
7580 \begin_inset CommandInset label
7581 LatexCommand label
7582 name "sec:テキストクラス"
7583
7584 \end_inset
7585
7586 レイアウトファイルの書式
7587 \end_layout
7588
7589 \begin_layout Standard
7590 以下の各節では,
7591 いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,
7592 直面することの説明を行います.私たちからのアドバイスとしては,
7593 ゆっくりと進めるようにして,
7594 ちょっと進むごとに保存やテストを行い,
7595 心休まる音楽を聴き,
7596 好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰まってしまったときにはそうです.実際にはそんなに難しいことではないのですが,
7597 特に一度に多くのことをやろうとすると,
7598 選択肢が多くありすぎて圧倒されてしまうのです.さて,
7599 もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
7600 の既存のレイアウトを例や参考に使ったり,
7601 既存のレイアウトを自身の目的に合わせて修正したりすると,
7602 作業が容易になります.
7603 \end_layout
7604
7605 \begin_layout Standard
7606 この章で述べられているタグは,
7607 すべて大文字小文字を区別しません.つまり,
7608
7609 \begin_inset Flex Code
7610 status collapsed
7611
7612 \begin_layout Plain Layout
7613 Style
7614 \end_layout
7615
7616 \end_inset
7617
7618
7619 \begin_inset Flex Code
7620 status collapsed
7621
7622 \begin_layout Plain Layout
7623 style
7624 \end_layout
7625
7626 \end_inset
7627
7628
7629 \begin_inset Flex Code
7630 status collapsed
7631
7632 \begin_layout Plain Layout
7633 StYlE
7634 \end_layout
7635
7636 \end_inset
7637
7638 は同じコマンドとなります.機能名の後にある角括弧は,
7639 その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,
7640 既定値は
7641 \begin_inset Flex Code
7642 status collapsed
7643
7644 \begin_layout Plain Layout
7645
7646 \emph on
7647 強調
7648 \end_layout
7649
7650 \end_inset
7651
7652 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,
7653 既定値は
7654 \begin_inset Flex Code
7655 status collapsed
7656
7657 \begin_layout Plain Layout
7658 浮動小数点型=
7659 \emph on
7660 既定値
7661 \end_layout
7662
7663 \end_inset
7664
7665 のように表示されます.
7666 \end_layout
7667
7668 \begin_layout Subsection
7669 文書クラス宣言と分類
7670 \end_layout
7671
7672 \begin_layout Standard
7673 レイアウトファイル中の
7674 \begin_inset Flex Code
7675 status collapsed
7676
7677 \begin_layout Plain Layout
7678 #
7679 \end_layout
7680
7681 \end_inset
7682
7683 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
7684 \begin_inset Flex Code
7685 status collapsed
7686
7687 \begin_layout Plain Layout
7688 *.layout
7689 \end_layout
7690
7691 \end_inset
7692
7693 ファイルは,
7694 以下のような行で始めなくてはならないのです.
7695 \end_layout
7696
7697 \begin_layout LyX-Code
7698
7699 \size small
7700 #% Do not delete the line below;
7701  configure depends on this
7702 \end_layout
7703
7704 \begin_layout LyX-Code
7705
7706 \size small
7707 #  
7708 \backslash
7709 DeclareLaTeXClass{Article (Standard Class)}
7710 \end_layout
7711
7712 \begin_layout LyX-Code
7713
7714 \size small
7715 #  
7716 \backslash
7717 DeclareCategory{Articles}
7718 \end_layout
7719
7720 \begin_layout Standard
7721 2行目と3行目は,
7722 \SpecialChar LyX
7723 が環境構成を行う際に用いられます.このレイアウトファイルは,
7724 \SpecialChar LaTeX
7725 スクリプト
7726 \begin_inset Flex Code
7727 status collapsed
7728
7729 \begin_layout Plain Layout
7730 chkconfig.ltx
7731 \end_layout
7732
7733 \end_inset
7734
7735 が,
7736
7737 \begin_inset Flex Code
7738 status collapsed
7739
7740 \begin_layout Plain Layout
7741 #
7742 \end_layout
7743
7744 \end_inset
7745
7746 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
7747 コメントですが,
7748 2行目にはテキストクラスの宣言が,
7749 3行目にはクラスの分類(非必須)が書かれています.これらの行が
7750 \begin_inset Flex Code
7751 status collapsed
7752
7753 \begin_layout Plain Layout
7754 article.layout
7755 \end_layout
7756
7757 \end_inset
7758
7759 と名付けられたファイルにあると,
7760
7761 \begin_inset Flex Code
7762 status collapsed
7763
7764 \begin_layout Plain Layout
7765 article
7766 \end_layout
7767
7768 \end_inset
7769
7770 (レイアウトファイル名)という名称のテキストクラスを定義し,
7771 \SpecialChar LaTeX
7772 文書クラス
7773 \begin_inset Flex Code
7774 status collapsed
7775
7776 \begin_layout Plain Layout
7777 article.cls
7778 \end_layout
7779
7780 \end_inset
7781
7782 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
7783
7784 \begin_inset Flex MenuItem
7785 status collapsed
7786
7787 \begin_layout Plain Layout
7788 文書\SpecialChar menuseparator
7789 設定
7790 \end_layout
7791
7792 \end_inset
7793
7794 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
7795
7796 \begin_inset Flex MenuItem
7797 status collapsed
7798
7799 \begin_layout Plain Layout
7800 文書\SpecialChar menuseparator
7801 設定
7802 \end_layout
7803
7804 \end_inset
7805
7806 ダイアログで使用され,
7807 文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,
7808 典型的なものには,
7809 「Articles」「Books」「Reports」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,
7810 このクラスは「Uncategorized」グループに属することになります.
7811 \end_layout
7812
7813 \begin_layout Standard
7814 節見出し表示に変更を加えた,
7815
7816 \begin_inset Flex Code
7817 status collapsed
7818
7819 \begin_layout Plain Layout
7820 article.cls
7821 \end_layout
7822
7823 \end_inset
7824
7825 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7826 \begin_inset Flex Code
7827 status collapsed
7828
7829 \begin_layout Plain Layout
7830 myarticle.layout
7831 \end_layout
7832
7833 \end_inset
7834
7835 というファイルに置いたとすると,
7836 このファイルのヘッダは以下のようになります.
7837 \end_layout
7838
7839 \begin_layout LyX-Code
7840
7841 \size small
7842 #% Do not delete the line below;
7843  configure depends on this 
7844 \end_layout
7845
7846 \begin_layout LyX-Code
7847
7848 \size small
7849 #  
7850 \backslash
7851 DeclareLaTeXClass[article]{article (with My Own Headings)}
7852 \end_layout
7853
7854 \begin_layout LyX-Code
7855
7856 \size small
7857 #  
7858 \backslash
7859 DeclareCategory{Articles}
7860 \end_layout
7861
7862 \begin_layout Standard
7863 これは,
7864 \SpecialChar LaTeX
7865 文書クラス
7866 \begin_inset Flex Code
7867 status collapsed
7868
7869 \begin_layout Plain Layout
7870 article.cls
7871 \end_layout
7872
7873 \end_inset
7874
7875 に関連づけられ,
7876 「Article (with My Own Headings)」と表示される,
7877
7878 \begin_inset Flex Code
7879 status collapsed
7880
7881 \begin_layout Plain Layout
7882 myarticle
7883 \end_layout
7884
7885 \end_inset
7886
7887 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,
7888 以下のように宣言すると良いでしょう.
7889 \end_layout
7890
7891 \begin_layout LyX-Code
7892
7893 \size small
7894 #% Do not delete the line below;
7895  configure depends on this 
7896 \end_layout
7897
7898 \begin_layout LyX-Code
7899
7900 \size small
7901 #  
7902 \backslash
7903 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7904 \end_layout
7905
7906 \begin_layout LyX-Code
7907
7908 \size small
7909 #  
7910 \backslash
7911 DeclareCategory{Articles}
7912 \end_layout
7913
7914 \begin_layout Standard
7915 これは,
7916 このテキストクラスが
7917 \begin_inset Flex Code
7918 status collapsed
7919
7920 \begin_layout Plain Layout
7921 foo.sty
7922 \end_layout
7923
7924 \end_inset
7925
7926 パッケージを使用することを示しています.
7927 \end_layout
7928
7929 \begin_layout Standard
7930 これらの宣言には,
7931 文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7932 \end_layout
7933
7934 \begin_layout Standard
7935 できる限り明示的に要約すると,
7936 レイアウト宣言は以下の形をとります.
7937 \end_layout
7938
7939 \begin_layout LyX-Code
7940
7941 \size small
7942 #  
7943 \backslash
7944 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7945 \end_layout
7946
7947 \begin_layout LyX-Code
7948
7949 \size small
7950 #  
7951 \backslash
7952 DeclareCategory{分類}
7953 \end_layout
7954
7955 \begin_layout Standard
7956 ここで「クラス」は,
7957 \SpecialChar LaTeX
7958 クラスファイル名とレイアウトファイル名が異なるときのみ,
7959 指定する必要があります.クラスファイル名が指定されなければ,
7960 \SpecialChar LyX
7961 は単純に,
7962 クラスファイル名がレイアウトファイル名と同じであると仮定します.
7963 \end_layout
7964
7965 \begin_layout Standard
7966 テキストクラスがあなたの嗜好に合うように修正できたならば,
7967 他にしなくてはならないことは,
7968 それを
7969 \begin_inset Flex Code
7970 status collapsed
7971
7972 \begin_layout Plain Layout
7973 LyXDir/layouts/
7974 \end_layout
7975
7976 \end_inset
7977
7978
7979 \begin_inset Flex Code
7980 status collapsed
7981
7982 \begin_layout Plain Layout
7983 UserDir/layouts
7984 \end_layout
7985
7986 \end_inset
7987
7988 にコピーし,
7989
7990 \begin_inset Flex MenuItem
7991 status collapsed
7992
7993 \begin_layout Plain Layout
7994 ツール\SpecialChar menuseparator
7995 環境構成
7996 \end_layout
7997
7998 \end_inset
7999
8000 を実行し,
8001 \SpecialChar LyX
8002 を終了して再起動するだけです.そうすれば,
8003 この新しいテキストクラスが,
8004 他のテキストクラスと同様に使用できるようになります.
8005 \end_layout
8006
8007 \begin_layout Standard
8008 レイアウトファイルが導入されたならば,
8009 これを編集して,
8010 環境構成したり\SpecialChar LyX
8011 を再起動したりすることなく,
8012 その変更を確認することができます
8013 \begin_inset Foot
8014 status collapsed
8015
8016 \begin_layout Plain Layout
8017 第1.6版よりも前の\SpecialChar LyX
8018 では,
8019 これを行うことはできませんでした.その結果,
8020 レイアウトファイルに加えた変更を反映させるには,
8021 その度に\SpecialChar LyX
8022 を再起動しなくてはならなかったので,
8023 レイアウトファイルを編集する作業は,
8024 たいへん時間を浪費する作業だったのです.
8025 \end_layout
8026
8027 \end_inset
8028
8029 .\SpecialChar LyX
8030 関数
8031 \begin_inset Flex MenuItem
8032 status collapsed
8033
8034 \begin_layout Plain Layout
8035 layout-reload
8036 \end_layout
8037
8038 \end_inset
8039
8040 を使用すれば,
8041 現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—
8042 もちろん自分でどれかのキーに割り当てることもできますが—
8043 .しかし,
8044 通常は,
8045 この関数を使用する場合は,
8046 これをミニバッファに入力します.
8047 \end_layout
8048
8049 \begin_layout Standard
8050
8051 \emph on
8052 注意
8053 \emph default
8054
8055
8056 \begin_inset Flex MenuItem
8057 status collapsed
8058
8059 \begin_layout Plain Layout
8060 layout-reload
8061 \end_layout
8062
8063 \end_inset
8064
8065 はかなり「高度な機能」です.この機能を利用する前に,
8066 作業中の文書を保存しておくことを
8067 \emph on
8068 強く
8069 \emph default
8070 勧めます.もっと言えば,
8071 大事な文書の作業をしているときに,
8072 同時にレイアウト情報の編集をしようとしないことを
8073 \emph on
8074 強く
8075 \emph default
8076 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,
8077 そのようなエラーが起こると,
8078 \SpecialChar LyX
8079 は現在のレイアウトが無効であるものと判断して,
8080 別のレイアウトに切り替えようとする可能性があります
8081 \begin_inset Foot
8082 status collapsed
8083
8084 \begin_layout Plain Layout
8085 非常に悪質な文法エラーの場合には,
8086 \SpecialChar LyX
8087 が終了してしまうことさえあります.これは,
8088 ある種のエラーでは,
8089 \SpecialChar LyX
8090 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意ください.
8091 \end_layout
8092
8093 \end_inset
8094
8095 .\SpecialChar LyX
8096 開発陣は,
8097 このような状況下でも安定性を保つよう努力していますが,
8098 後悔よりも安心の方が良いでしょう
8099 \begin_inset Foot
8100 status collapsed
8101
8102 \begin_layout Plain Layout
8103 重ねての助言ですが,
8104 つねにバックアップを取ってください.それから,
8105 お母さんのお片づけに注意.
8106 \end_layout
8107
8108 \end_inset
8109
8110
8111 \end_layout
8112
8113 \begin_layout Subsection
8114 モジュール宣言
8115 \end_layout
8116
8117 \begin_layout Standard
8118 モジュールは,
8119 以下のような行で始まらなくてはなりません.
8120 \end_layout
8121
8122 \begin_layout LyX-Code
8123 #
8124 \backslash
8125 DeclareLyXModule[endnotes.sty]{Endnotes}
8126 \end_layout
8127
8128 \begin_layout LyX-Code
8129 #
8130 \backslash
8131 DeclareCategory{Foot- and Endnotes}
8132 \end_layout
8133
8134 \begin_layout Standard
8135 波括弧内に入っている
8136 \family typewriter
8137
8138 \backslash
8139 DeclareLyXModule
8140 \family default
8141 の必須引数はモジュール名で,
8142 これは
8143 \begin_inset Flex MenuItem
8144 status collapsed
8145
8146 \begin_layout Plain Layout
8147 文書\SpecialChar menuseparator
8148 設定
8149 \end_layout
8150
8151 \end_inset
8152
8153 内に表示されます.角括弧内の引数は非必須です.これは,
8154 モジュールが依存する\SpecialChar LaTeX
8155 パッケージをすべて宣言します.また,
8156 非必須引数として,
8157
8158 \begin_inset Flex Code
8159 status collapsed
8160
8161 \begin_layout Plain Layout
8162 変換元->変換先
8163 \end_layout
8164
8165 \end_inset
8166
8167 の形を使用することができます.これは,
8168
8169 \begin_inset Flex Code
8170 status collapsed
8171
8172 \begin_layout Plain Layout
8173 変換元
8174 \end_layout
8175
8176 \end_inset
8177
8178 形式から
8179 \begin_inset Flex Code
8180 status collapsed
8181
8182 \begin_layout Plain Layout
8183 変換先
8184 \end_layout
8185
8186 \end_inset
8187
8188 形式への変換鎖が存在するときのみ,
8189 このモジュールを使用できることを宣言するものです.
8190 \family typewriter
8191
8192 \backslash
8193 DeclareLyXModule
8194 \family default
8195 宣言は,
8196 厳密には必須ではありませんが,
8197 モジュールを見つけやすくするために書いておくべきです.既存のモジュールカテゴリを見て,
8198 適切ならばそのどれかを使用してください.
8199 \end_layout
8200
8201 \begin_layout Standard
8202 モジュール宣言とカテゴリ宣言の後には,
8203 以下のような行を続けます
8204 \begin_inset Foot
8205 status collapsed
8206
8207 \begin_layout Plain Layout
8208 モジュールを\SpecialChar LyX
8209 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,
8210 次回のインタフェースの更新時に翻訳されることになります.
8211 \end_layout
8212
8213 \end_inset
8214
8215
8216 \end_layout
8217
8218 \begin_layout LyX-Code
8219 #DescriptionBegin 
8220 \end_layout
8221
8222 \begin_layout LyX-Code
8223 #Adds an endnote command,
8224  in addition to footnotes.
8225  
8226 \end_layout
8227
8228 \begin_layout LyX-Code
8229 #You will need to add  
8230 \backslash
8231 theendnotes in TeX code where you 
8232 \end_layout
8233
8234 \begin_layout LyX-Code
8235 #want the endnotes to appear.
8236  
8237 \end_layout
8238
8239 \begin_layout LyX-Code
8240 #DescriptionEnd 
8241 \end_layout
8242
8243 \begin_layout LyX-Code
8244 #Requires:
8245  somemodule | othermodule
8246 \end_layout
8247
8248 \begin_layout LyX-Code
8249 #Excludes:
8250  badmodule
8251 \end_layout
8252
8253 \begin_layout Standard
8254 ここで説明(Description)は,
8255
8256 \begin_inset Flex MenuItem
8257 status collapsed
8258
8259 \begin_layout Plain Layout
8260 文書\SpecialChar menuseparator
8261 設定
8262 \end_layout
8263
8264 \end_inset
8265
8266 でこのモジュールが何をするものか,
8267 ユーザに情報を与えるために使用されます.
8268 \begin_inset Flex Code
8269 status collapsed
8270
8271 \begin_layout Plain Layout
8272 Requires
8273 \end_layout
8274
8275 \end_inset
8276
8277 行は,
8278 このモジュールが共に使用する必要がある,
8279 他のモジュールを特定するのに用いられます.一方,
8280
8281 \begin_inset Flex Code
8282 status collapsed
8283
8284 \begin_layout Plain Layout
8285 Excludes
8286 \end_layout
8287
8288 \end_inset
8289
8290 行は,
8291 このモジュールが共に使用してはならない,
8292 他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,
8293 上記のようにモジュールが複数ある場合には,
8294 パイプ記号「|」で区切らなくてはなりません.
8295 \begin_inset Flex Code
8296 status collapsed
8297
8298 \begin_layout Plain Layout
8299 Requires
8300 \end_layout
8301
8302 \end_inset
8303
8304 に指定されたモジュールは,
8305 選言的に取り扱われることに注意してください.つまり,
8306
8307 \begin_inset Flex Code
8308 status collapsed
8309
8310 \begin_layout Plain Layout
8311 Requires
8312 \end_layout
8313
8314 \end_inset
8315
8316 に指定されたモジュールのうち,
8317
8318 \emph on
8319 少なくとも一つ
8320 \emph default
8321 が使用されていればよいということです.同様に,
8322
8323 \begin_inset Flex Code
8324 status collapsed
8325
8326 \begin_layout Plain Layout
8327 Excludes
8328 \end_layout
8329
8330 \end_inset
8331
8332 に指定されたモジュールは,
8333 一つも使用されてはなりません.ここでモジュールは,
8334
8335 \begin_inset Flex Code
8336 status collapsed
8337
8338 \begin_layout Plain Layout
8339 .module
8340 \end_layout
8341
8342 \end_inset
8343
8344 拡張子を除いたファイル名で認識されることに注意してください.つまり
8345 \begin_inset Flex Code
8346 status collapsed
8347
8348 \begin_layout Plain Layout
8349 somemodule
8350 \end_layout
8351
8352 \end_inset
8353
8354 とは,
8355 実のところ
8356 \begin_inset Flex Code
8357 status collapsed
8358
8359 \begin_layout Plain Layout
8360 somemodule.module
8361 \end_layout
8362
8363 \end_inset
8364
8365 に他なりません.
8366 \end_layout
8367
8368 \begin_layout Subsection
8369 引用エンジンファイルの宣言
8370 \end_layout
8371
8372 \begin_layout Standard
8373 引用エンジンファイルは,
8374 次のような行で始まらなくてはなりません.
8375 \end_layout
8376
8377 \begin_layout LyX-Code
8378 #
8379 \backslash
8380 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8381 \end_layout
8382
8383 \begin_layout Standard
8384 波括弧内の必須引数はモジュール名で,
8385
8386 \begin_inset Flex Noun
8387 status collapsed
8388
8389 \begin_layout Plain Layout
8390 文書\SpecialChar menuseparator
8391 設定\SpecialChar menuseparator
8392 書誌情報
8393 \end_layout
8394
8395 \end_inset
8396
8397 にそのまま現れます.角括弧内の引数は非必須です.これは,
8398 引用エンジンが依存する\SpecialChar LaTeX
8399 パッケージを宣言します.
8400 \end_layout
8401
8402 \begin_layout Standard
8403 引用エンジン宣言には,
8404 その後,
8405 以下のような行が続きます
8406 \begin_inset Foot
8407 status collapsed
8408
8409 \begin_layout Plain Layout
8410 \SpecialChar LyX
8411 とともに公表するモジュールの場合は,
8412 英語で書かれることが望まれます.この説明は,
8413 翻訳対象メッセージのリストに含まれますので,
8414 次回インタフェースの更新の際に翻訳されることになります.
8415 \end_layout
8416
8417 \end_inset
8418
8419
8420 \end_layout
8421
8422 \begin_layout LyX-Code
8423 # DescriptionBegin
8424 \end_layout
8425
8426 \begin_layout LyX-Code
8427 #   Biblatex supports many author-year and numerical styles.
8428 \end_layout
8429
8430 \begin_layout LyX-Code
8431 #   It is mainly aimed at the Humanities.
8432  It is highly
8433 \end_layout
8434
8435 \begin_layout LyX-Code
8436 #   customizable,
8437  fully localized and provides many features
8438 \end_layout
8439
8440 \begin_layout LyX-Code
8441 #   that are not possible with BibTeX.
8442  The use of 'biber' as
8443 \end_layout
8444
8445 \begin_layout LyX-Code
8446 #   bibliography processor is advised.
8447 \end_layout
8448
8449 \begin_layout LyX-Code
8450 # DescriptionEnd
8451 \end_layout
8452
8453 \begin_layout Standard
8454 この説明は,
8455
8456 \begin_inset Flex Noun
8457 status collapsed
8458
8459 \begin_layout Plain Layout
8460 文書\SpecialChar menuseparator
8461 設定\SpecialChar menuseparator
8462 書誌情報
8463 \end_layout
8464
8465 \end_inset
8466
8467 の中で,
8468 ユーザーに引用エンジンに関する情報を提供するために使われます.
8469 \end_layout
8470
8471 \begin_layout Subsection
8472 書式番号
8473 \end_layout
8474
8475 \begin_layout Standard
8476 レイアウトファイルやインクルードされたファイル,
8477 またはモジュールの最初の非コメント行には,
8478 以下のように,
8479 かならずファイル形式番号が記されていなくてはなりません.
8480 \end_layout
8481
8482 \begin_layout Description
8483 \begin_inset Flex Code
8484 status collapsed
8485
8486 \begin_layout Plain Layout
8487 Format
8488 \end_layout
8489
8490 \end_inset
8491
8492  [
8493 \begin_inset Flex Code
8494 status collapsed
8495
8496 \begin_layout Plain Layout
8497 整数型
8498 \end_layout
8499
8500 \end_inset
8501
8502 ] このレイアウトファイルの書式
8503 \end_layout
8504
8505 \begin_layout Standard
8506 このタグは\SpecialChar LyX
8507
8508 \begin_inset space ~
8509 \end_inset
8510
8511 1.4.0で導入されました.\SpecialChar LyX
8512
8513 \begin_inset space ~
8514 \end_inset
8515
8516 1.3.x以前のレイアウトファイルには,
8517 明示されたファイル形式がないため,
8518 書式1と解されます.\SpecialChar LyX
8519 現行版のファイル形式は,
8520 書式69です.しかし,
8521 \SpecialChar LyX
8522 の各版は,
8523 旧版の\SpecialChar LyX
8524 で作成されたファイルを読むことができるように,
8525 旧版のレイアウトファイルも読むことができます.しかしながら,
8526 以前の書式に変換する方法はありません.
8527 \end_layout
8528
8529 \begin_layout Subsection
8530 \begin_inset CommandInset label
8531 LatexCommand label
8532 name "subsec:汎用テキストクラスパラメータ"
8533
8534 \end_inset
8535
8536 汎用テキストクラスパラメータ
8537 \end_layout
8538
8539 \begin_layout Standard
8540 以下は,
8541 文書クラス全体の挙動を決定する汎用パラメータです(これは,
8542
8543 \begin_inset Flex Code
8544 status collapsed
8545
8546 \begin_layout Plain Layout
8547 .layout
8548 \end_layout
8549
8550 \end_inset
8551
8552 ファイルのみに使用されるべきで,
8553 モジュールでは使ってはならない,
8554 ということを意味するものでは
8555 \emph on
8556 ありません
8557 \emph default
8558 .モジュールには,
8559 すべてのレイアウトタグを使用することができます).
8560 \end_layout
8561
8562 \begin_layout Description
8563 \begin_inset Flex Code
8564 status collapsed
8565
8566 \begin_layout Plain Layout
8567 AddToCiteEngine <エンジン>
8568 \end_layout
8569
8570 \end_inset
8571
8572  引用参考文献の表示能力を拡張します.詳細については、第
8573 \begin_inset CommandInset ref
8574 LatexCommand ref
8575 reference "subsec:引用エンジンの説明"
8576 plural "false"
8577 caps "false"
8578 noprefix "false"
8579 nolink "false"
8580
8581 \end_inset
8582
8583 節を参照してください.「
8584 \begin_inset Flex Code
8585 status collapsed
8586
8587 \begin_layout Plain Layout
8588 End
8589 \end_layout
8590
8591 \end_inset
8592
8593 」で閉じる必要があります.
8594 \end_layout
8595
8596 \begin_layout Description
8597 \begin_inset Flex Code
8598 status collapsed
8599
8600 \begin_layout Plain Layout
8601 AddToHTMLPreamble
8602 \end_layout
8603
8604 \end_inset
8605
8606  この文書クラスがXHTMLに出力されるときに,
8607
8608 \begin_inset Flex Code
8609 status collapsed
8610
8611 \begin_layout Plain Layout
8612 <head>
8613 \end_layout
8614
8615 \end_inset
8616
8617 ブロックに追加出力される情報です.典型的には,
8618 これはCSSスタイル情報を出力するのに用いられますが,
8619
8620 \begin_inset Flex Code
8621 status collapsed
8622
8623 \begin_layout Plain Layout
8624 <head>
8625 \end_layout
8626
8627 \end_inset
8628
8629 に出力するものであれば,
8630 何でも使用することができます.「
8631 \begin_inset Flex Code
8632 status collapsed
8633
8634 \begin_layout Plain Layout
8635 EndPreamble
8636 \end_layout
8637
8638 \end_inset
8639
8640 」で閉じる必要があります.
8641 \end_layout
8642
8643 \begin_layout Description
8644 \begin_inset Flex Code
8645 status collapsed
8646
8647 \begin_layout Plain Layout
8648 AddToPreamble
8649 \end_layout
8650
8651 \end_inset
8652
8653  文書プリアンブルに書き加えられる情報です.「
8654 \begin_inset Flex Code
8655 status collapsed
8656
8657 \begin_layout Plain Layout
8658 EndPreamble
8659 \end_layout
8660
8661 \end_inset
8662
8663 」で閉じる必要があります.
8664 \end_layout
8665
8666 \begin_layout Description
8667 \begin_inset Flex Code
8668 status collapsed
8669
8670 \begin_layout Plain Layout
8671 BibInToc
8672 \end_layout
8673
8674 \end_inset
8675
8676  [
8677 \begin_inset Flex Code
8678 status collapsed
8679
8680 \begin_layout Plain Layout
8681
8682 \emph on
8683 0
8684 \end_layout
8685
8686 \end_inset
8687
8688 ,
8689 \begin_inset Flex Code
8690 status collapsed
8691
8692 \begin_layout Plain Layout
8693 1
8694 \end_layout
8695
8696 \end_inset
8697
8698 ] この文書クラスが書誌情報を目次に入れるとき,
8699 このオプションの値を
8700 \begin_inset Flex Code
8701 status collapsed
8702
8703 \begin_layout Plain Layout
8704 1
8705 \end_layout
8706
8707 \end_inset
8708
8709 (もしくは
8710 \begin_inset Flex Code
8711 status collapsed
8712
8713 \begin_layout Plain Layout
8714 true
8715 \end_layout
8716
8717 \end_inset
8718
8719 )にしてください.これによって,
8720 書誌情報が2回目次に現れるのを防ぐことができます.
8721 \end_layout
8722
8723 \begin_layout Description
8724 \begin_inset Flex Code
8725 status collapsed
8726
8727 \begin_layout Plain Layout
8728 CiteEngine <エンジン>
8729 \end_layout
8730
8731 \end_inset
8732
8733  文献参照を表示する方法を定義します.詳細については,
8734
8735 \begin_inset CommandInset ref
8736 LatexCommand ref
8737 reference "subsec:引用エンジンの説明"
8738 plural "false"
8739 caps "false"
8740 noprefix "false"
8741 nolink "false"
8742
8743 \end_inset
8744
8745 節をご覧ください.「
8746 \begin_inset Flex Code
8747 status collapsed
8748
8749 \begin_layout Plain Layout
8750 End
8751 \end_layout
8752
8753 \end_inset
8754
8755 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
8756 \begin_inset CommandInset ref
8757 LatexCommand ref
8758 reference "subsec:引用エンジンファイル"
8759 plural "false"
8760 caps "false"
8761 noprefix "false"
8762 nolink "false"
8763
8764 \end_inset
8765
8766 節参照).これをレイアウトファイルやモジュールに追加した場合,
8767 引用エンジンの定義は,
8768 すべて上書きされることに注意してください.
8769 \begin_inset Flex Code
8770 status collapsed
8771
8772 \begin_layout Plain Layout
8773 AddToCiteEngine
8774 \end_layout
8775
8776 \end_inset
8777
8778 も参照してください.
8779 \end_layout
8780
8781 \begin_layout Description
8782 \begin_inset Flex Code
8783 status collapsed
8784
8785 \begin_layout Plain Layout
8786 CiteFormat
8787 \end_layout
8788
8789 \end_inset
8790
8791  書誌情報の表示に使う書式を定義します.詳細については,
8792
8793 \begin_inset CommandInset ref
8794 LatexCommand ref
8795 reference "subsec:引用書式指定"
8796 nolink "false"
8797
8798 \end_inset
8799
8800 節をご覧ください.「
8801 \begin_inset Flex Code
8802 status collapsed
8803
8804 \begin_layout Plain Layout
8805 End
8806 \end_layout
8807
8808 \end_inset
8809
8810 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
8811 \begin_inset CommandInset ref
8812 LatexCommand ref
8813 reference "subsec:引用エンジンファイル"
8814 plural "false"
8815 caps "false"
8816 noprefix "false"
8817 nolink "false"
8818
8819 \end_inset
8820
8821 節参照).レイアウトやモジュールにCiteFormatが指定されると,
8822 引用エンジンの定義は上書きされます.
8823 \end_layout
8824
8825 \begin_layout Description
8826 \begin_inset Flex Code
8827 status collapsed
8828
8829 \begin_layout Plain Layout
8830 CiteFramework
8831 \end_layout
8832
8833 \end_inset
8834
8835  [
8836 \begin_inset Flex Code
8837 status collapsed
8838
8839 \begin_layout Plain Layout
8840
8841 \emph on
8842 bibtex
8843 \end_layout
8844
8845 \end_inset
8846
8847 ,
8848 \begin_inset Flex Code
8849 status collapsed
8850
8851 \begin_layout Plain Layout
8852 biblatex
8853 \end_layout
8854
8855 \end_inset
8856
8857 ] 書誌情報を生成するのに,
8858
8859 \family sans
8860 Biblatex
8861 \family default
8862 を用いるのかBib\SpecialChar TeX
8863 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
8864 \begin_inset CommandInset ref
8865 LatexCommand ref
8866 reference "subsec:引用エンジンファイル"
8867 plural "false"
8868 caps "false"
8869 noprefix "false"
8870 nolink "false"
8871
8872 \end_inset
8873
8874 節参照).
8875 \end_layout
8876
8877 \begin_layout Description
8878 \begin_inset Flex Code
8879 status collapsed
8880
8881 \begin_layout Plain Layout
8882 ClassOptions
8883 \end_layout
8884
8885 \end_inset
8886
8887  文書クラスがサポートする様々な大域オプションを記します.説明は,
8888
8889 \begin_inset CommandInset ref
8890 LatexCommand ref
8891 reference "subsec:ClassOptions"
8892 nolink "false"
8893
8894 \end_inset
8895
8896 節を参照してください.「
8897 \begin_inset Flex Code
8898 status collapsed
8899
8900 \begin_layout Plain Layout
8901 End
8902 \end_layout
8903
8904 \end_inset
8905
8906 」で閉じる必要があります.
8907 \end_layout
8908
8909 \begin_layout Description
8910 \begin_inset Flex Code
8911 status collapsed
8912
8913 \begin_layout Plain Layout
8914 Columns
8915 \end_layout
8916
8917 \end_inset
8918
8919  [
8920 \begin_inset Flex Code
8921 status collapsed
8922
8923 \begin_layout Plain Layout
8924
8925 \emph on
8926 1
8927 \end_layout
8928
8929 \end_inset
8930
8931 ,
8932 \begin_inset space \thinspace{}
8933 \end_inset
8934
8935
8936 \begin_inset Flex Code
8937 status collapsed
8938
8939 \begin_layout Plain Layout
8940 2
8941 \end_layout
8942
8943 \end_inset
8944
8945 ] 文書クラスが既定で1段組か2段組かを指定します.
8946 \begin_inset Flex MenuItem
8947 status collapsed
8948
8949 \begin_layout Plain Layout
8950 文書\SpecialChar menuseparator
8951 設定
8952 \end_layout
8953
8954 \end_inset
8955
8956 ダイアログで変更することができます.
8957 \end_layout
8958
8959 \begin_layout Description
8960 \begin_inset Flex Code
8961 status collapsed
8962
8963 \begin_layout Plain Layout
8964 Counter
8965 \end_layout
8966
8967 \end_inset
8968
8969  [
8970 \begin_inset Flex Code
8971 status collapsed
8972
8973 \begin_layout Plain Layout
8974 文字列
8975 \end_layout
8976
8977 \end_inset
8978
8979 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,
8980 生成されます.もし存在しなければ修正されます.「
8981 \begin_inset Flex Code
8982 status collapsed
8983
8984 \begin_layout Plain Layout
8985 End
8986 \end_layout
8987
8988 \end_inset
8989
8990 」で閉じる必要があります.
8991 \begin_inset Newline newline
8992 \end_inset
8993
8994 カウンタについての詳細は,
8995
8996 \begin_inset CommandInset ref
8997 LatexCommand ref
8998 reference "subsec:カウンタ"
8999 nolink "false"
9000
9001 \end_inset
9002
9003 節を参照してください.
9004 \end_layout
9005
9006 \begin_layout Description
9007 \begin_inset Flex Code
9008 status collapsed
9009
9010 \begin_layout Plain Layout
9011 DefaultFont
9012 \end_layout
9013
9014 \end_inset
9015
9016  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,
9017
9018 \begin_inset CommandInset ref
9019 LatexCommand ref
9020 reference "subsec:フォント指定"
9021 nolink "false"
9022
9023 \end_inset
9024
9025 節を参照してください.「
9026 \begin_inset Flex Code
9027 status collapsed
9028
9029 \begin_layout Plain Layout
9030 EndFont
9031 \end_layout
9032
9033 \end_inset
9034
9035 」で閉じる必要があります.
9036 \end_layout
9037
9038 \begin_layout Description
9039 \begin_inset Flex Code
9040 status collapsed
9041
9042 \begin_layout Plain Layout
9043 DefaultModule
9044 \end_layout
9045
9046 \end_inset
9047
9048  [
9049 \begin_inset Flex Code
9050 status collapsed
9051
9052 \begin_layout Plain Layout
9053 <モジュール>
9054 \end_layout
9055
9056 \end_inset
9057
9058 ] この文書クラスに,
9059 既定で取り込むモジュールを指定します.モジュールは,
9060
9061 \begin_inset Flex Code
9062 status collapsed
9063
9064 \begin_layout Plain Layout
9065 .module
9066 \end_layout
9067
9068 \end_inset
9069
9070 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,
9071 当初は有効の状態になっています(これは新しいファイルが作成されたときや,
9072 既存の文書にこの文書クラスが選択したときのみ該当します).
9073 \end_layout
9074
9075 \begin_layout Description
9076 \begin_inset Flex Code
9077 status collapsed
9078
9079 \begin_layout Plain Layout
9080 DefaultStyle
9081 \end_layout
9082
9083 \end_inset
9084
9085  [
9086 \begin_inset Flex Code
9087 status collapsed
9088
9089 \begin_layout Plain Layout
9090 <様式>
9091 \end_layout
9092
9093 \end_inset
9094
9095 ]
9096 \lang english
9097  
9098 \lang japanese
9099 これは新規段落に割り当てられる様式であり,
9100 通常は
9101 \begin_inset Flex MenuItem
9102 status collapsed
9103
9104 \begin_layout Plain Layout
9105 標準
9106 \end_layout
9107
9108 \end_inset
9109
9110 です.もしこれを指定しなければ,
9111 最初に定義される様式がこれに割り当てられるようにはなっていますが,
9112 このディレクティブを使用することが推奨されます.
9113 \end_layout
9114
9115 \begin_layout Description
9116 \begin_inset Flex Code
9117 status collapsed
9118
9119 \begin_layout Plain Layout
9120 DocBookRoot
9121 \end_layout
9122
9123 \end_inset
9124
9125  [
9126 \begin_inset Flex Code
9127 status collapsed
9128
9129 \begin_layout Plain Layout
9130 文字列
9131 \end_layout
9132
9133 \end_inset
9134
9135 ] 文書をDocBookのこのクラスで出力する際に使用する(文書の最上位の)ルート要素.既定値は「
9136 \begin_inset Flex Code
9137 status collapsed
9138
9139 \begin_layout Plain Layout
9140 article
9141 \end_layout
9142
9143 \end_inset
9144
9145 」です.
9146 \end_layout
9147
9148 \begin_layout Description
9149 \begin_inset Flex Code
9150 status collapsed
9151
9152 \begin_layout Plain Layout
9153 DocBookForceAbstract
9154 \end_layout
9155
9156 \end_inset
9157
9158  [
9159 \begin_inset Flex Code
9160 status collapsed
9161
9162 \begin_layout Plain Layout
9163 ブール値
9164 \end_layout
9165
9166 \end_inset
9167
9168 ] 「
9169 \begin_inset Flex Code
9170 status collapsed
9171
9172 \begin_layout Plain Layout
9173 true
9174 \end_layout
9175
9176 \end_inset
9177
9178 」ならばルート要素は常に
9179 \family typewriter
9180 <abstract>
9181 \family default
9182 タグを持つことになります.既定値は「
9183 \family typewriter
9184 false
9185 \family default
9186 」です.
9187 \end_layout
9188
9189 \begin_layout Description
9190 \begin_inset Flex Code
9191 status collapsed
9192
9193 \begin_layout Plain Layout
9194 ExcludesModule
9195 \end_layout
9196
9197 \end_inset
9198
9199  [
9200 \begin_inset Flex Code
9201 status collapsed
9202
9203 \begin_layout Plain Layout
9204 <モジュール>
9205 \end_layout
9206
9207 \end_inset
9208
9209 ] このタグは,
9210 指定されたモジュール—
9211
9212 \begin_inset Flex Code
9213 status collapsed
9214
9215 \begin_layout Plain Layout
9216 .module
9217 \end_layout
9218
9219 \end_inset
9220
9221 拡張子を除いたファイル名で指定します—
9222 が,
9223 この文書クラスでは使用できないように設定します.これはたとえば,
9224 特定の学術誌用レイアウトファイルの中で,
9225 定理番号を節毎に振る
9226 \begin_inset Flex Code
9227 status collapsed
9228
9229 \begin_layout Plain Layout
9230 theorems-sec
9231 \end_layout
9232
9233 \end_inset
9234
9235 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,
9236 モジュール内で
9237 \emph on
9238 使用してはいけません
9239 \emph default
9240 .モジュールは,
9241 他のモジュールを排除する独自の枠組みがあります(第
9242 \begin_inset CommandInset ref
9243 LatexCommand ref
9244 reference "subsec:レイアウトモジュール"
9245 nolink "false"
9246
9247 \end_inset
9248
9249 節参照).
9250 \end_layout
9251
9252 \begin_layout Description
9253 \begin_inset Flex Code
9254 status collapsed
9255
9256 \begin_layout Plain Layout
9257 Float
9258 \end_layout
9259
9260 \end_inset
9261
9262  フロートを新規に定義します.詳細は,
9263
9264 \begin_inset CommandInset ref
9265 LatexCommand ref
9266 reference "subsec:フロート"
9267 nolink "false"
9268
9269 \end_inset
9270
9271 節を参照してください.「
9272 \begin_inset Flex Code
9273 status collapsed
9274
9275 \begin_layout Plain Layout
9276 End
9277 \end_layout
9278
9279 \end_inset
9280
9281 」で閉じる必要があります.
9282 \end_layout
9283
9284 \begin_layout Description
9285 \begin_inset Flex Code
9286 status collapsed
9287
9288 \begin_layout Plain Layout
9289 HTMLPreamble
9290 \end_layout
9291
9292 \end_inset
9293
9294  この文書クラスがXHTMLに出力されるときに,
9295
9296 \begin_inset Flex Code
9297 status collapsed
9298
9299 \begin_layout Plain Layout
9300 <head>
9301 \end_layout
9302
9303 \end_inset
9304
9305 ブロックに出力される情報です.これより前に出現した
9306 \begin_inset Flex Code
9307 status collapsed
9308
9309 \begin_layout Plain Layout
9310 HTMLPreamble
9311 \end_layout
9312
9313 \end_inset
9314
9315
9316 \begin_inset Flex Code
9317 status collapsed
9318
9319 \begin_layout Plain Layout
9320 AddToHTMLPreamble
9321 \end_layout
9322
9323 \end_inset
9324
9325 宣言は,
9326 すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
9327
9328 \begin_inset Flex Code
9329 status collapsed
9330
9331 \begin_layout Plain Layout
9332 AddToHTMLPreamble
9333 \end_layout
9334
9335 \end_inset
9336
9337 を使用してください).これは「
9338 \begin_inset Flex Code
9339 status collapsed
9340
9341 \begin_layout Plain Layout
9342 EndPreamble
9343 \end_layout
9344
9345 \end_inset
9346
9347 」で閉じる必要があります.
9348 \end_layout
9349
9350 \begin_layout Description
9351 \begin_inset Flex Code
9352 status collapsed
9353
9354 \begin_layout Plain Layout
9355 HTMLTOCSection
9356 \end_layout
9357
9358 \end_inset
9359
9360  [
9361 \begin_inset Flex Code
9362 status collapsed
9363
9364 \begin_layout Plain Layout
9365 <様式>
9366 \end_layout
9367
9368 \end_inset
9369
9370 ] 文書がHTMLに出力されるときに,
9371 目次や書誌情報などに使用されるレイアウトです.articleの場合には,
9372 これは通常「節」であり,
9373 bookの場合は「章」です.これを指定しない場合には,
9374 \SpecialChar LyX
9375 はどのレイアウトを使用するべきか,
9376 解析しようと試みます.
9377 \end_layout
9378
9379 \begin_layout Description
9380 \begin_inset Flex Code
9381 status collapsed
9382
9383 \begin_layout Plain Layout
9384 IfCounter 
9385 \end_layout
9386
9387 \end_inset
9388
9389  [
9390 \begin_inset Flex Code
9391 status collapsed
9392
9393 \begin_layout Plain Layout
9394 <カウンタ>
9395 \end_layout
9396
9397 \end_inset
9398
9399 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,
9400 この節は無視されます.「
9401 \begin_inset Flex Code
9402 status collapsed
9403
9404 \begin_layout Plain Layout
9405 End
9406 \end_layout
9407
9408 \end_inset
9409
9410 」で閉じる必要があります.
9411 \begin_inset Newline newline
9412 \end_inset
9413
9414 カウンタについての詳細は,
9415
9416 \begin_inset CommandInset ref
9417 LatexCommand ref
9418 reference "subsec:カウンタ"
9419 nolink "false"
9420
9421 \end_inset
9422
9423 節をご覧ください.
9424 \end_layout
9425
9426 \begin_layout Description
9427 \begin_inset Flex Code
9428 status collapsed
9429
9430 \begin_layout Plain Layout
9431 IfStyle
9432 \end_layout
9433
9434 \end_inset
9435
9436  [
9437 \begin_inset Flex Code
9438 status collapsed
9439
9440 \begin_layout Plain Layout
9441 <様式>
9442 \end_layout
9443
9444 \end_inset
9445
9446 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,
9447 この節は無視されます.「
9448 \begin_inset Flex Code
9449 status collapsed
9450
9451 \begin_layout Plain Layout
9452 End
9453 \end_layout
9454
9455 \end_inset
9456
9457 」で閉じる必要があります.
9458 \end_layout
9459
9460 \begin_layout Description
9461 \begin_inset Flex Code
9462 status collapsed
9463
9464 \begin_layout Plain Layout
9465 Input
9466 \end_layout
9467
9468 \end_inset
9469
9470  [
9471 \begin_inset Flex Code
9472 status collapsed
9473
9474 \begin_layout Plain Layout
9475 <ファイル名>
9476 \end_layout
9477
9478 \end_inset
9479
9480 ]
9481 \lang english
9482  
9483 \lang japanese
9484 名称の指し示すように,
9485 このコマンドは,
9486 同じコマンドを何度も指定せずに済むように,
9487 別のレイアウト定義ファイルを取り込ませます.よく使われる例は,
9488 基本的なレイアウトのほとんどを収録している
9489 \begin_inset Flex Code
9490 status collapsed
9491
9492 \begin_layout Plain Layout
9493 stdclass.inc
9494 \end_layout
9495
9496 \end_inset
9497
9498 のような標準レイアウトファイルです.
9499 \end_layout
9500
9501 \begin_layout Description
9502 \begin_inset Flex Code
9503 status collapsed
9504
9505 \begin_layout Plain Layout
9506 InputGlobal
9507 \end_layout
9508
9509 \end_inset
9510
9511  [
9512 \begin_inset Flex Code
9513 status collapsed
9514
9515 \begin_layout Plain Layout
9516 <ファイル名>
9517 \end_layout
9518
9519 \end_inset
9520
9521 ] は
9522 \begin_inset Flex Code
9523 status collapsed
9524
9525 \begin_layout Plain Layout
9526 Input
9527 \end_layout
9528
9529 \end_inset
9530
9531 コマンドの派生ですが,
9532 ユーザーディレクトリのファイルは探しません.これによって,
9533 ユーザーディレクトリ中に
9534 \begin_inset Flex Code
9535 status collapsed
9536
9537 \begin_layout Plain Layout
9538 name.layout
9539 \end_layout
9540
9541 \end_inset
9542
9543 または
9544 \begin_inset Flex Code
9545 status collapsed
9546
9547 \begin_layout Plain Layout
9548 name.inc
9549 \end_layout
9550
9551 \end_inset
9552
9553 というファイルを作成して,
9554
9555 \begin_inset Flex Code
9556 status collapsed
9557
9558 \begin_layout Plain Layout
9559 InputGlobal name
9560 \end_layout
9561
9562 \end_inset
9563
9564 あるいは
9565 \begin_inset Flex Code
9566 status collapsed
9567
9568 \begin_layout Plain Layout
9569 InputGlobal name.inc
9570 \end_layout
9571
9572 \end_inset
9573
9574 と指定し(ファイル名同順),
9575 同名のグローバルファイルを読み込むことができます(
9576 \begin_inset Flex Code
9577 status collapsed
9578
9579 \begin_layout Plain Layout
9580 Input
9581 \end_layout
9582
9583 \end_inset
9584
9585 ではファイルを再帰的に読み込んでしまいます).このようにすることで,
9586 グローバルファイル全体をコピーすることなく,
9587 修正できるようになります.
9588 \end_layout
9589
9590 \begin_layout Description
9591 \begin_inset Flex Code
9592 status collapsed
9593
9594 \begin_layout Plain Layout
9595 InsetLayout
9596 \end_layout
9597
9598 \end_inset
9599
9600  [
9601 \begin_inset Flex Code
9602 status collapsed
9603
9604 \begin_layout Plain Layout
9605 <型>
9606 \end_layout
9607
9608 \end_inset
9609
9610 ]
9611 \lang english
9612  
9613 \lang japanese
9614 このセクションは,
9615 差込枠のレイアウトを定義(再定義)します.これは,
9616 既存の差込枠にも,
9617 新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
9618 \begin_inset Flex Code
9619 status collapsed
9620
9621 \begin_layout Plain Layout
9622 End
9623 \end_layout
9624
9625 \end_inset
9626
9627 」で閉じる必要があります.
9628 \begin_inset Newline newline
9629 \end_inset
9630
9631 詳しい情報は,
9632
9633 \begin_inset CommandInset ref
9634 LatexCommand ref
9635 reference "subsec:任意設定差込枠"
9636 nolink "false"
9637
9638 \end_inset
9639
9640 節をご覧ください.
9641 \end_layout
9642
9643 \begin_layout Description
9644 \begin_inset Flex Code
9645 status collapsed
9646
9647 \begin_layout Plain Layout
9648 LeftMargin
9649 \end_layout
9650
9651 \end_inset
9652
9653  [
9654 \begin_inset Flex Code
9655 status collapsed
9656
9657 \begin_layout Plain Layout
9658 文字列
9659 \end_layout
9660
9661 \end_inset
9662
9663 ] 画面上の左余白の幅を指示する文字列.例:
9664
9665 \begin_inset Flex Code
9666 status collapsed
9667
9668 \begin_layout Plain Layout
9669 MMMMM
9670 \end_layout
9671
9672 \end_inset
9673
9674 」.(これは,
9675 「2ex」のような「長さ」ではないことに注意してください.)
9676 \end_layout
9677
9678 \begin_layout Description
9679 \begin_inset Flex Code
9680 status collapsed
9681
9682 \begin_layout Plain Layout
9683 MaxCiteNames
9684 \end_layout
9685
9686 \end_inset
9687
9688  [
9689 \begin_inset Flex Code
9690 status collapsed
9691
9692 \begin_layout Plain Layout
9693 整数
9694 \end_layout
9695
9696 \end_inset
9697
9698 ] 著者-刊行年引用で,
9699 引用が「第一著者 et al.」に切り替わる前に,
9700 表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
9701 \begin_inset CommandInset ref
9702 LatexCommand ref
9703 reference "subsec:引用エンジンファイル"
9704 plural "false"
9705 caps "false"
9706 noprefix "false"
9707 nolink "false"
9708
9709 \end_inset
9710
9711 節参照).
9712 \end_layout
9713
9714 \begin_layout Description
9715 \begin_inset Flex Code
9716 status collapsed
9717
9718 \begin_layout Plain Layout
9719 ModifyInsetLayout
9720 \end_layout
9721
9722 \end_inset
9723
9724  [
9725 \begin_inset Flex Code
9726 status collapsed
9727
9728 \begin_layout Plain Layout
9729 <型>
9730 \end_layout
9731
9732 \end_inset
9733
9734 ] は差込枠のレイアウトを修正します.レイアウトが存在しない場合には,
9735 このセクションは無視されます.「
9736 \begin_inset Flex Code
9737 status collapsed
9738
9739 \begin_layout Plain Layout
9740 End
9741 \end_layout
9742
9743 \end_inset
9744
9745 」で閉じる必要があります.
9746 \end_layout
9747
9748 \begin_layout Description
9749 \begin_inset Flex Code
9750 status collapsed
9751
9752 \begin_layout Plain Layout
9753 NoCounter
9754 \end_layout
9755
9756 \end_inset
9757
9758  [
9759 \begin_inset Flex Code
9760 status collapsed
9761
9762 \begin_layout Plain Layout
9763 <カウンタ>
9764 \end_layout
9765
9766 \end_inset
9767
9768 ] このコマンドは,
9769 既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
9770 \end_layout
9771
9772 \begin_layout Description
9773 \begin_inset Flex Code
9774 status collapsed
9775
9776 \begin_layout Plain Layout
9777 NoFloat
9778 \end_layout
9779
9780 \end_inset
9781
9782  [
9783 \begin_inset Flex Code
9784 status collapsed
9785
9786 \begin_layout Plain Layout
9787 <フロート>
9788 \end_layout
9789
9790 \end_inset
9791
9792 ] このコマンドは既存のフロートを削除します.これは特に,
9793 Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
9794 \end_layout
9795
9796 \begin_layout Description
9797 \begin_inset Flex Code
9798 status collapsed
9799
9800 \begin_layout Plain Layout
9801 NoStyle
9802 \end_layout
9803
9804 \end_inset
9805
9806  [
9807 \begin_inset Flex Code
9808 status collapsed
9809
9810 \begin_layout Plain Layout
9811 <様式>
9812 \end_layout
9813
9814 \end_inset
9815
9816 ] このコマンドは既存の様式を削除します.これは特に,
9817 Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
9818 \end_layout
9819
9820 \begin_layout Description
9821 \begin_inset Flex Code
9822 status collapsed
9823
9824 \begin_layout Plain Layout
9825 OutlinerName
9826 \end_layout
9827
9828 \end_inset
9829
9830  [
9831 \begin_inset Flex Code
9832 status collapsed
9833
9834 \begin_layout Plain Layout
9835 <型>
9836 \end_layout
9837
9838 \end_inset
9839
9840 ] [
9841 \begin_inset Flex Code
9842 status collapsed
9843
9844 \begin_layout Plain Layout
9845 <文字列>
9846 \end_layout
9847
9848 \end_inset
9849
9850 ] 型が
9851 \begin_inset Flex Code
9852 status collapsed
9853
9854 \begin_layout Plain Layout
9855 <型>
9856 \end_layout
9857
9858 \end_inset
9859
9860 で名前が
9861 \begin_inset Flex Code
9862 status collapsed
9863
9864 \begin_layout Plain Layout
9865 <文字列>
9866 \end_layout
9867
9868 \end_inset
9869
9870 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
9871 \end_layout
9872
9873 \begin_layout Description
9874 \begin_inset Flex Code
9875 status collapsed
9876
9877 \begin_layout Plain Layout
9878 OutputFormat
9879 \end_layout
9880
9881 \end_inset
9882
9883  [
9884 \begin_inset Flex Code
9885 status collapsed
9886
9887 \begin_layout Plain Layout
9888 <形式>
9889 \end_layout
9890
9891 \end_inset
9892
9893 ] この文書クラスによって生成されるファイル形式(\SpecialChar LyX
9894 設定で定義される形のもの).おもに,
9895
9896 \begin_inset Flex Code
9897 status collapsed
9898
9899 \begin_layout Plain Layout
9900 OutputType
9901 \end_layout
9902
9903 \end_inset
9904
9905
9906 \begin_inset Flex Code
9907 status collapsed
9908
9909 \begin_layout Plain Layout
9910 literate
9911 \end_layout
9912
9913 \end_inset
9914
9915 になっていて,
9916 新しい型のliterate文書を定義したい時に便利です.対応する
9917 \begin_inset Flex Code
9918 status collapsed
9919
9920 \begin_layout Plain Layout
9921 OutputType
9922 \end_layout
9923
9924 \end_inset
9925
9926 パラメーターに遭遇したときには,
9927 形式は「
9928 \begin_inset Flex Code
9929 status collapsed
9930
9931 \begin_layout Plain Layout
9932 latex
9933 \end_layout
9934
9935 \end_inset
9936
9937 」にリセットされます.
9938 \end_layout
9939
9940 \begin_layout Description
9941 \begin_inset Flex Code
9942 status collapsed
9943
9944 \begin_layout Plain Layout
9945 OutputType
9946 \end_layout
9947
9948 \end_inset
9949
9950  [
9951 \begin_inset Flex Code
9952 status collapsed
9953
9954 \begin_layout Plain Layout
9955
9956 \emph on
9957 lat
9958 \emph default
9959 ex
9960 \end_layout
9961
9962 \end_inset
9963
9964 ,
9965  
9966 \begin_inset Flex Code
9967 status collapsed
9968
9969 \begin_layout Plain Layout
9970 literate
9971 \end_layout
9972
9973 \end_inset
9974
9975 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.
9976 \end_layout
9977
9978 \begin_layout Description
9979 \begin_inset Flex Code
9980 status collapsed
9981
9982 \begin_layout Plain Layout
9983 PackageOptions
9984 \end_layout
9985
9986 \end_inset
9987
9988  [
9989 \begin_inset Flex Code
9990 status collapsed
9991
9992 \begin_layout Plain Layout
9993 文字列
9994 \end_layout
9995
9996 \end_inset
9997
9998  
9999 \begin_inset Flex Code
10000 status collapsed
10001
10002 \begin_layout Plain Layout
10003 文字列
10004 \end_layout
10005
10006 \end_inset
10007
10008 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,
10009
10010 \begin_inset Flex Code
10011 status collapsed
10012
10013 \begin_layout Plain Layout
10014 PackageOptions natbib square
10015 \end_layout
10016
10017 \end_inset
10018
10019 」とすると,
10020
10021 \begin_inset Flex Code
10022 status collapsed
10023
10024 \begin_layout Plain Layout
10025 natbib
10026 \end_layout
10027
10028 \end_inset
10029
10030
10031 \begin_inset Flex Code
10032 status collapsed
10033
10034 \begin_layout Plain Layout
10035 square
10036 \end_layout
10037
10038 \end_inset
10039
10040 オプションとともに読み込みます(\SpecialChar TeX
10041 perts向けに述べると,
10042 これは,
10043
10044 \begin_inset Flex Code
10045 status collapsed
10046
10047 \begin_layout Plain Layout
10048 natbib
10049 \end_layout
10050
10051 \end_inset
10052
10053 を読み込む前に,
10054 \SpecialChar LyX
10055
10056 \begin_inset Flex Code
10057 status collapsed
10058
10059 \begin_layout Plain Layout
10060
10061 \backslash
10062 PassOptionsToPackage{natbib}{square}
10063 \end_layout
10064
10065 \end_inset
10066
10067 を出力させます).
10068 \end_layout
10069
10070 \begin_layout Description
10071 \begin_inset Flex Code
10072 status collapsed
10073
10074 \begin_layout Plain Layout
10075 PageSize
10076 \end_layout
10077
10078 \end_inset
10079
10080  [
10081 \begin_inset Flex Code
10082 status collapsed
10083
10084 \begin_layout Plain Layout
10085
10086 \emph on
10087 custom
10088 \emph default
10089 ,
10090  letter,
10091  legal,
10092  executive,
10093  a0,
10094  a1,
10095  a2,
10096  a3,
10097  a4,
10098  a5,
10099  a6,
10100  b0,
10101  b1,
10102  b2,
10103  b3,
10104  b4,
10105  b5,
10106  b6,
10107  c0,
10108  c1,
10109  c2,
10110  c3,
10111  c4,
10112  c5,
10113  c6,
10114  b0j,
10115  b1j,
10116  b2j,
10117  b3j,
10118  b4j,
10119  b5j,
10120  b6j
10121 \end_layout
10122
10123 \end_inset
10124
10125 ] 既定のページサイズです.これは一部の変換子に使われます.
10126 \end_layout
10127
10128 \begin_layout Description
10129 \begin_inset Flex Code
10130 status collapsed
10131
10132 \begin_layout Plain Layout
10133 PageStyle
10134 \end_layout
10135
10136 \end_inset
10137
10138  [
10139 \emph on
10140
10141 \begin_inset Flex Code
10142 status collapsed
10143
10144 \begin_layout Plain Layout
10145 plain
10146 \end_layout
10147
10148 \end_inset
10149
10150
10151 \emph default
10152 ,
10153  
10154 \begin_inset Flex Code
10155 status collapsed
10156
10157 \begin_layout Plain Layout
10158 empty
10159 \end_layout
10160
10161 \end_inset
10162
10163 ,
10164  
10165 \begin_inset Flex Code
10166 status collapsed
10167
10168 \begin_layout Plain Layout
10169 headings
10170 \end_layout
10171
10172 \end_inset
10173
10174 ] 既定ページ様式.
10175 \begin_inset Flex MenuItem
10176 status collapsed
10177
10178 \begin_layout Plain Layout
10179 文書\SpecialChar menuseparator
10180 設定
10181 \end_layout
10182
10183 \end_inset
10184
10185 ダイアログで変更することができます.
10186 \end_layout
10187
10188 \begin_layout Description
10189 \begin_inset Flex Code
10190 status collapsed
10191
10192 \begin_layout Plain Layout
10193 Preamble
10194 \end_layout
10195
10196 \end_inset
10197
10198  \SpecialChar LaTeX
10199 文書のプリアンブルを設定します.前に行った
10200 \begin_inset Flex Code
10201 status collapsed
10202
10203 \begin_layout Plain Layout
10204 Preamble
10205 \end_layout
10206
10207 \end_inset
10208
10209 宣言や
10210 \begin_inset Flex Code
10211 status collapsed
10212
10213 \begin_layout Plain Layout
10214 AddToPreamble
10215 \end_layout
10216
10217 \end_inset
10218
10219 宣言は,
10220 すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
10221
10222 \begin_inset Flex Code
10223 status collapsed
10224
10225 \begin_layout Plain Layout
10226 AddToPreamble
10227 \end_layout
10228
10229 \end_inset
10230
10231 を使用してください.)「
10232 \begin_inset Flex Code
10233 status collapsed
10234
10235 \begin_layout Plain Layout
10236 EndPreamble
10237 \end_layout
10238
10239 \end_inset
10240
10241 」で閉じる必要があります.
10242 \end_layout
10243
10244 \begin_layout Description
10245 \begin_inset Flex Code
10246 status collapsed
10247
10248 \begin_layout Plain Layout
10249 ProvideInsetLayout
10250 \end_layout
10251
10252 \end_inset
10253
10254  [
10255 \begin_inset Flex Code
10256 status collapsed
10257
10258 \begin_layout Plain Layout
10259 <型>
10260 \end_layout
10261
10262 \end_inset
10263
10264 ] 差込枠のレイアウトが存在しない場合に,
10265 それを定義します.レイアウトが存在する場合には,
10266 このセクションは無視されます.「
10267 \begin_inset Flex Code
10268 status collapsed
10269
10270 \begin_layout Plain Layout
10271 End
10272 \end_layout
10273
10274 \end_inset
10275
10276 」で閉じる必要があります.
10277 \end_layout
10278
10279 \begin_layout Description
10280 \begin_inset Flex Code
10281 status collapsed
10282
10283 \begin_layout Plain Layout
10284 Provides
10285 \end_layout
10286
10287 \end_inset
10288
10289  [
10290 \begin_inset Flex Code
10291 status collapsed
10292
10293 \begin_layout Plain Layout
10294 文字列
10295 \end_layout
10296
10297 \end_inset
10298
10299 ] [
10300 \begin_inset Flex Code
10301 status collapsed
10302
10303 \begin_layout Plain Layout
10304
10305 \emph on
10306 0
10307 \end_layout
10308
10309 \end_inset
10310
10311 ,
10312  
10313 \begin_inset Flex Code
10314 status collapsed
10315
10316 \begin_layout Plain Layout
10317 1
10318 \end_layout
10319
10320 \end_inset
10321
10322 ] このクラスが
10323 \begin_inset Flex Code
10324 status collapsed
10325
10326 \begin_layout Plain Layout
10327 文字列
10328 \end_layout
10329
10330 \end_inset
10331
10332 で示される機能を既に提供しているかどうかを示します.機能は,
10333 一般的にパッケージ名(
10334 \begin_inset Flex Code
10335 status collapsed
10336
10337 \begin_layout Plain Layout
10338 amsmath
10339 \end_layout
10340
10341 \end_inset
10342
10343
10344 \begin_inset Flex Code
10345 status collapsed
10346
10347 \begin_layout Plain Layout
10348 makeidx
10349 \end_layout
10350
10351 \end_inset
10352
10353 ・\SpecialChar ldots
10354 )やマクロ名(
10355 \begin_inset Flex Code
10356 status collapsed
10357
10358 \begin_layout Plain Layout
10359 url
10360 \end_layout
10361
10362 \end_inset
10363
10364
10365 \begin_inset Flex Code
10366 status collapsed
10367
10368 \begin_layout Plain Layout
10369 boldsymbol
10370 \end_layout
10371
10372 \end_inset
10373
10374 ・\SpecialChar ldots
10375 )です.機能一覧については,
10376
10377 \begin_inset CommandInset ref
10378 LatexCommand ref
10379 reference "chap:関数一覧"
10380 nolink "false"
10381
10382 \end_inset
10383
10384 を参照.
10385 \end_layout
10386
10387 \begin_layout Description
10388 \begin_inset Flex Code
10389 status collapsed
10390
10391 \begin_layout Plain Layout
10392 ProvidesModule
10393 \end_layout
10394
10395 \end_inset
10396
10397  [
10398 \begin_inset Flex Code
10399 status collapsed
10400
10401 \begin_layout Plain Layout
10402 文字列
10403 \end_layout
10404
10405 \end_inset
10406
10407 ] このレイアウトが
10408 \begin_inset Flex Code
10409 status collapsed
10410
10411 \begin_layout Plain Layout
10412 文字列
10413 \end_layout
10414
10415 \end_inset
10416
10417 で表されているモジュールの機能を提供することを示し,
10418
10419 \begin_inset Flex Code
10420 status collapsed
10421
10422 \begin_layout Plain Layout
10423 .module
10424 \end_layout
10425
10426 \end_inset
10427
10428 拡張子を除いたファイル名で指定します.
10429 \begin_inset Flex Code
10430 status collapsed
10431
10432 \begin_layout Plain Layout
10433 DefaultModule
10434 \end_layout
10435
10436 \end_inset
10437
10438 タグを使用すると,
10439 モジュールを使用しなくてはならないことを示しますが,
10440 このタグは主に,
10441 このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いられます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
10442 \end_layout
10443
10444 \begin_layout Description
10445 \begin_inset Flex Code
10446 status collapsed
10447
10448 \begin_layout Plain Layout
10449 Requires
10450 \end_layout
10451
10452 \end_inset
10453
10454  [
10455 \begin_inset Flex Code
10456 status collapsed
10457
10458 \begin_layout Plain Layout
10459 文字列
10460 \end_layout
10461
10462 \end_inset
10463
10464 ] このクラスが
10465 \begin_inset Flex Code
10466 status collapsed
10467
10468 \begin_layout Plain Layout
10469 文字列
10470 \end_layout
10471
10472 \end_inset
10473
10474 で表されている機能を要求することを示します.機能が複数ある場合には,
10475 コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してください(機能一覧については
10476 \begin_inset CommandInset ref
10477 LatexCommand ref
10478 reference "chap:関数一覧"
10479 nolink "false"
10480
10481 \end_inset
10482
10483 を参照).特定のオプションをとるパッケージを要求する場合,
10484
10485 \begin_inset Flex Code
10486 status collapsed
10487
10488 \begin_layout Plain Layout
10489 PackageOptions
10490 \end_layout
10491
10492 \end_inset
10493
10494 を追加して使うことができます.
10495 \end_layout
10496
10497 \begin_layout Description
10498 \begin_inset Flex Code
10499 status collapsed
10500
10501 \begin_layout Plain Layout
10502 RightMargin
10503 \end_layout
10504
10505 \end_inset
10506
10507  [
10508 \begin_inset Flex Code
10509 status collapsed
10510
10511 \begin_layout Plain Layout
10512 文字列
10513 \end_layout
10514
10515 \end_inset
10516
10517 ] 画面上の右余白の幅を指示する文字列.例:
10518
10519 \begin_inset Flex Code
10520 status collapsed
10521
10522 \begin_layout Plain Layout
10523 MMMMM
10524 \end_layout
10525
10526 \end_inset
10527
10528 」.
10529 \end_layout
10530
10531 \begin_layout Description
10532 \begin_inset Flex Code
10533 status collapsed
10534
10535 \begin_layout Plain Layout
10536 SecNumDepth
10537 \end_layout
10538
10539 \end_inset
10540
10541  [
10542 \begin_inset Flex Code
10543 status collapsed
10544
10545 \begin_layout Plain Layout
10546 int=3
10547 \end_layout
10548
10549 \end_inset
10550
10551 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
10552 における
10553 \begin_inset Flex Code
10554 status collapsed
10555
10556 \begin_layout Plain Layout
10557 secnumdepth
10558 \end_layout
10559
10560 \end_inset
10561
10562 カウンタに対応します.
10563 \end_layout
10564
10565 \begin_layout Description
10566 \begin_inset Flex Code
10567 status collapsed
10568
10569 \begin_layout Plain Layout
10570 Sides
10571 \end_layout
10572
10573 \end_inset
10574
10575  [
10576 \emph on
10577
10578 \begin_inset Flex Code
10579 status collapsed
10580
10581 \begin_layout Plain Layout
10582 1
10583 \end_layout
10584
10585 \end_inset
10586
10587
10588 \emph default
10589 ,
10590 \begin_inset space \thinspace{}
10591 \end_inset
10592
10593
10594 \begin_inset Flex Code
10595 status collapsed
10596
10597 \begin_layout Plain Layout
10598 2
10599 \end_layout
10600
10601 \end_inset
10602
10603 ] クラスの既定値として,
10604 用紙の片面に印字するか両面に印字するかを指定します.
10605 \begin_inset Flex MenuItem
10606 status collapsed
10607
10608 \begin_layout Plain Layout
10609 文書\SpecialChar menuseparator
10610 設定
10611 \end_layout
10612
10613 \end_inset
10614
10615 ダイアログで変更することができます.
10616 \end_layout
10617
10618 \begin_layout Description
10619 \begin_inset Flex Code
10620 status collapsed
10621
10622 \begin_layout Plain Layout
10623 Style
10624 \end_layout
10625
10626 \end_inset
10627
10628  [
10629 \begin_inset Flex Code
10630 status collapsed
10631
10632 \begin_layout Plain Layout
10633 <名称>
10634 \end_layout
10635
10636 \end_inset
10637
10638 ]
10639 \lang english
10640  
10641 \lang japanese
10642 この部分は段落様式を定義します.様式がまだ存在していなければ,
10643 生成されます.既に存在していれば,
10644 そのパラメータが修正されます.「
10645 \begin_inset Flex Code
10646 status collapsed
10647
10648 \begin_layout Plain Layout
10649 End
10650 \end_layout
10651
10652 \end_inset
10653
10654 」で閉じる必要があります.
10655 \begin_inset Newline newline
10656 \end_inset
10657
10658 段落様式に関する詳細は,
10659
10660 \begin_inset CommandInset ref
10661 LatexCommand ref
10662 reference "subsec:段落様式-XHTML"
10663 nolink "false"
10664
10665 \end_inset
10666
10667 をご覧ください.
10668 \end_layout
10669
10670 \begin_layout Description
10671 \begin_inset Flex Code
10672 status collapsed
10673
10674 \begin_layout Plain Layout
10675 TableStyle
10676 \end_layout
10677
10678 \end_inset
10679
10680  [
10681 \begin_inset Flex Code
10682 status collapsed
10683
10684 \begin_layout Plain Layout
10685 <名称>
10686 \end_layout
10687
10688 \end_inset
10689
10690 ] は,
10691 表を挿入する際に用いられる既定の表様式を定義します.下記の様式が利用可能です.
10692 \end_layout
10693
10694 \begin_deeper
10695 \begin_layout Itemize
10696 \begin_inset Flex Code
10697 status collapsed
10698
10699 \begin_layout Plain Layout
10700 Formal_with_Footline
10701 \end_layout
10702
10703 \end_inset
10704
10705
10706 フォーマル様式(「ブックタブ」様式).すなわち,
10707 水平罫線のみで最上部と最下部が太く,
10708 ときに第一行と最終行は表本体とは細い内部罫線で区切られます.
10709 \end_layout
10710
10711 \begin_layout Itemize
10712 \begin_inset Flex Code
10713 status collapsed
10714
10715 \begin_layout Plain Layout
10716 Formal_without_Footline
10717 \end_layout
10718
10719 \end_inset
10720
10721
10722 上記と同様ですが,
10723 最終行は本体から内部罫線で区切られることはありません.
10724 \end_layout
10725
10726 \begin_layout Itemize
10727 \begin_inset Flex Code
10728 status collapsed
10729
10730 \begin_layout Plain Layout
10731 Simple_Grid
10732 \end_layout
10733
10734 \end_inset
10735
10736
10737 シンプルな表罫線.
10738 \end_layout
10739
10740 \begin_layout Itemize
10741 \begin_inset Flex Code
10742 status collapsed
10743
10744 \begin_layout Plain Layout
10745 Grid_with_Head
10746 \end_layout
10747
10748 \end_inset
10749
10750
10751
10752 \begin_inset Flex Code
10753 status collapsed
10754
10755 \begin_layout Plain Layout
10756 Simple_Grid
10757 \end_layout
10758
10759 \end_inset
10760
10761 と同様ですが,
10762 ヘッダ行は2本目の罫線が余分に引かれます.これは\SpecialChar LyX
10763 の既定様式でもあります.
10764 \end_layout
10765
10766 \begin_layout Itemize
10767 \begin_inset Flex Code
10768 status collapsed
10769
10770 \begin_layout Plain Layout
10771 No_Borders
10772 \end_layout
10773
10774 \end_inset
10775
10776
10777 罫線のない表です.
10778 \end_layout
10779
10780 \end_deeper
10781 \begin_layout Description
10782 \begin_inset Flex Code
10783 status collapsed
10784
10785 \begin_layout Plain Layout
10786 TitleLatexName
10787 \end_layout
10788
10789 \end_inset
10790
10791  [
10792 \begin_inset Flex Code
10793 status collapsed
10794
10795 \begin_layout Plain Layout
10796 文字列="maketitle"
10797 \end_layout
10798
10799 \end_inset
10800
10801 ] コマンド名あるいは環境名.
10802 \begin_inset Flex Code
10803 status collapsed
10804
10805 \begin_layout Plain Layout
10806 TitleLatexType
10807 \end_layout
10808
10809 \end_inset
10810
10811 とともに使用します.
10812 \end_layout
10813
10814 \begin_layout Description
10815 \begin_inset Flex Code
10816 status collapsed
10817
10818 \begin_layout Plain Layout
10819 TitleLatexType
10820 \end_layout
10821
10822 \end_inset
10823
10824  [
10825 \begin_inset Flex Code
10826 status collapsed
10827
10828 \begin_layout Plain Layout
10829
10830 \emph on
10831 CommandAfter
10832 \end_layout
10833
10834 \end_inset
10835
10836 ,
10837  
10838 \begin_inset Flex Code
10839 status collapsed
10840
10841 \begin_layout Plain Layout
10842 Environment
10843 \end_layout
10844
10845 \end_inset
10846
10847 ] 文書のタイトルを定義するのに,
10848 どのようなマークアップを使用するのかを示します.
10849 \begin_inset Flex Code
10850 status collapsed
10851
10852 \begin_layout Plain Layout
10853 CommandAfter
10854 \end_layout
10855
10856 \end_inset
10857
10858 は,
10859
10860 \begin_inset Flex Code
10861 status collapsed
10862
10863 \begin_layout Plain Layout
10864 InTitle
10865 \begin_inset space ~
10866 \end_inset
10867
10868 1
10869 \end_layout
10870
10871 \end_inset
10872
10873 」が指定されている最後のレイアウトの後に,
10874
10875 \begin_inset Flex Code
10876 status collapsed
10877
10878 \begin_layout Plain Layout
10879 TitleLatexName
10880 \end_layout
10881
10882 \end_inset
10883
10884 で指定したマクロ名を挿入することを意味します.
10885 \begin_inset Flex Code
10886 status collapsed
10887
10888 \begin_layout Plain Layout
10889 Environment
10890 \end_layout
10891
10892 \end_inset
10893
10894 は,
10895
10896 \begin_inset Flex Code
10897 status collapsed
10898
10899 \begin_layout Plain Layout
10900 InTitle
10901 \begin_inset space ~
10902 \end_inset
10903
10904 1
10905 \end_layout
10906
10907 \end_inset
10908
10909 」を持つ段落群を
10910 \begin_inset Flex Code
10911 status collapsed
10912
10913 \begin_layout Plain Layout
10914 TitleLatexName
10915 \end_layout
10916
10917 \end_inset
10918
10919 で指定した環境でくるむ場合に対応します.
10920 \end_layout
10921
10922 \begin_layout Description
10923 \begin_inset Flex Code
10924 status collapsed
10925
10926 \begin_layout Plain Layout
10927 TocDepth
10928 \end_layout
10929
10930 \end_inset
10931
10932  [
10933 \begin_inset Flex Code
10934 status collapsed
10935
10936 \begin_layout Plain Layout
10937 int=3
10938 \end_layout
10939
10940 \end_inset
10941
10942 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
10943
10944 \begin_inset Flex Code
10945 status collapsed
10946
10947 \begin_layout Plain Layout
10948 tocdepth
10949 \end_layout
10950
10951 \end_inset
10952
10953 カウンタに対応します.
10954 \end_layout
10955
10956 \begin_layout Subsection
10957 \begin_inset Flex Code
10958 status collapsed
10959
10960 \begin_layout Plain Layout
10961 ClassOptions
10962 \end_layout
10963
10964 \end_inset
10965
10966
10967 \begin_inset CommandInset label
10968 LatexCommand label
10969 name "subsec:ClassOptions"
10970
10971 \end_inset
10972
10973
10974 \end_layout
10975
10976 \begin_layout Standard
10977 \begin_inset Flex Code
10978 status collapsed
10979
10980 \begin_layout Plain Layout
10981 ClassOptions
10982 \end_layout
10983
10984 \end_inset
10985
10986 部は,
10987 以下の項目を取り得ます.
10988 \end_layout
10989
10990 \begin_layout Description
10991 \begin_inset Flex Code
10992 status collapsed
10993
10994 \begin_layout Plain Layout
10995 FontSize
10996 \end_layout
10997
10998 \end_inset
10999
11000  [
11001 \begin_inset Flex Code
11002 status collapsed
11003
11004 \begin_layout Plain Layout
11005 文字列="10|11|12"
11006 \end_layout
11007
11008 \end_inset
11009
11010 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
11011 \begin_inset Flex Code
11012 status collapsed
11013
11014 \begin_layout Plain Layout
11015 |
11016 \end_layout
11017
11018 \end_inset
11019
11020 」で区切ります.任意の数値が使用できます.
11021 \end_layout
11022
11023 \begin_layout Description
11024 \begin_inset Flex Code
11025 status collapsed
11026
11027 \begin_layout Plain Layout
11028 FontSizeFormat
11029 \end_layout
11030
11031 \end_inset
11032
11033  [
11034 \begin_inset Flex Code
11035 status collapsed
11036
11037 \begin_layout Plain Layout
11038 文字列
11039 \end_layout
11040
11041 \end_inset
11042
11043 ] フォント寸法オプションのフォーマット.既定値:
11044
11045 \begin_inset Flex Code
11046 status collapsed
11047
11048 \begin_layout Plain Layout
11049 $$spt
11050 \end_layout
11051
11052 \end_inset
11053
11054
11055 ここで
11056 \begin_inset Flex Code
11057 status collapsed
11058
11059 \begin_layout Plain Layout
11060 $$s
11061 \end_layout
11062
11063 \end_inset
11064
11065 はフォント寸法のプレイスホルダです.
11066 \end_layout
11067
11068 \begin_layout Description
11069 \begin_inset Flex Code
11070 status collapsed
11071
11072 \begin_layout Plain Layout
11073 PageSize
11074 \end_layout
11075
11076 \end_inset
11077
11078  [
11079 \begin_inset Flex Code
11080 status collapsed
11081
11082 \begin_layout Plain Layout
11083 文字列="letter|\SpecialChar allowbreak
11084 legal|\SpecialChar allowbreak
11085 executive|\SpecialChar allowbreak
11086 a0|\SpecialChar allowbreak
11087 a1|\SpecialChar allowbreak
11088 a2|\SpecialChar allowbreak
11089 a3|\SpecialChar allowbreak
11090 a4|\SpecialChar allowbreak
11091 a5|\SpecialChar allowbreak
11092 a6|\SpecialChar allowbreak
11093 b0|\SpecialChar allowbreak
11094 b1|\SpecialChar allowbreak
11095 b2|\SpecialChar allowbreak
11096 b3|\SpecialChar allowbreak
11097 b4|\SpecialChar allowbreak
11098 b5|\SpecialChar allowbreak
11099 b6|\SpecialChar allowbreak
11100 c0|\SpecialChar allowbreak
11101 c1|\SpecialChar allowbreak
11102 c2|\SpecialChar allowbreak
11103 c3|\SpecialChar allowbreak
11104 c4|\SpecialChar allowbreak
11105 c5|\SpecialChar allowbreak
11106 c6|\SpecialChar allowbreak
11107 b0j|\SpecialChar allowbreak
11108 b1j|\SpecialChar allowbreak
11109 b2j|\SpecialChar allowbreak
11110 b3j|\SpecialChar allowbreak
11111 b4j|\SpecialChar allowbreak
11112 b5j|\SpecialChar allowbreak
11113 b6j"
11114 \end_layout
11115
11116 \end_inset
11117
11118 ] 使用できるページ寸法を「
11119 \begin_inset Flex Code
11120 status collapsed
11121
11122 \begin_layout Plain Layout
11123 |
11124 \end_layout
11125
11126 \end_inset
11127
11128 」で区切ったのリスト.現在,
11129 表記の寸法のみサポートされています.他の寸法は,
11130 クラスオプション設定で入力することができます.
11131 \end_layout
11132
11133 \begin_layout Description
11134 \begin_inset Flex Code
11135 status collapsed
11136
11137 \begin_layout Plain Layout
11138 PageSizeFormat
11139 \end_layout
11140
11141 \end_inset
11142
11143  [
11144 \begin_inset Flex Code
11145 status collapsed
11146
11147 \begin_layout Plain Layout
11148 文字列
11149 \end_layout
11150
11151 \end_inset
11152
11153 ] ページ寸法オプションの書式.既定値:
11154
11155 \begin_inset Flex Code
11156 status collapsed
11157
11158 \begin_layout Plain Layout
11159 $$spaper
11160 \end_layout
11161
11162 \end_inset
11163
11164 .ここで
11165 \begin_inset Flex Code
11166 status collapsed
11167
11168 \begin_layout Plain Layout
11169 $$s
11170 \end_layout
11171
11172 \end_inset
11173
11174 はページ寸法のプレイスホルダです.
11175 \end_layout
11176
11177 \begin_layout Description
11178 \begin_inset Flex Code
11179 status collapsed
11180
11181 \begin_layout Plain Layout
11182 PageStyle
11183 \end_layout
11184
11185 \end_inset
11186
11187  [
11188 \begin_inset Flex Code
11189 status collapsed
11190
11191 \begin_layout Plain Layout
11192 文字列="empty|plain|headings|fancy"
11193 \end_layout
11194
11195 \end_inset
11196
11197 ] 使用できるページ様式の一覧です.「
11198 \begin_inset Flex Code
11199 status collapsed
11200
11201 \begin_layout Plain Layout
11202 |
11203 \end_layout
11204
11205 \end_inset
11206
11207 」で区切ります.
11208 \end_layout
11209
11210 \begin_layout Description
11211 \begin_inset Flex Code
11212 status collapsed
11213
11214 \begin_layout Plain Layout
11215 Other
11216 \end_layout
11217
11218 \end_inset
11219
11220  [
11221 \begin_inset Flex Code
11222 status collapsed
11223
11224 \begin_layout Plain Layout
11225 文字列=""
11226 \end_layout
11227
11228 \end_inset
11229
11230
11231 \begin_inset Flex Code
11232 status collapsed
11233
11234 \begin_layout Plain Layout
11235
11236 \backslash
11237 documentclass
11238 \end_layout
11239
11240 \end_inset
11241
11242 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
11243 \end_layout
11244
11245 \begin_layout Standard
11246 \begin_inset Flex Code
11247 status collapsed
11248
11249 \begin_layout Plain Layout
11250 ClassOptions
11251 \end_layout
11252
11253 \end_inset
11254
11255 部は「
11256 \begin_inset Flex Code
11257 status collapsed
11258
11259 \begin_layout Plain Layout
11260 End
11261 \end_layout
11262
11263 \end_inset
11264
11265 」で閉じる必要があります.
11266 \end_layout
11267
11268 \begin_layout Subsection
11269 段落様式
11270 \begin_inset CommandInset label
11271 LatexCommand label
11272 name "subsec:段落様式"
11273
11274 \end_inset
11275
11276
11277 \end_layout
11278
11279 \begin_layout Standard
11280 段落様式の記述は,
11281 以下のようになります
11282 \begin_inset Foot
11283 status collapsed
11284
11285 \begin_layout Plain Layout
11286 これは新しいレイアウトを定義するか,
11287 既存のレイアウトを修正することになることに注意してください.
11288 \end_layout
11289
11290 \end_inset
11291
11292
11293 \end_layout
11294
11295 \begin_layout LyX-Code
11296 Style 
11297 \family roman
11298 \emph on
11299 名称
11300 \end_layout
11301
11302 \begin_layout LyX-Code
11303  ...
11304 \end_layout
11305
11306 \begin_layout LyX-Code
11307 End
11308 \end_layout
11309
11310 \begin_layout Standard
11311 ここでは,
11312 以下のコマンドを使用することができます.
11313 \end_layout
11314
11315 \begin_layout Description
11316 \begin_inset Flex Code
11317 status collapsed
11318
11319 \begin_layout Plain Layout
11320 AddToToc
11321 \end_layout
11322
11323 \end_inset
11324
11325  [
11326 \begin_inset Flex Code
11327 status collapsed
11328
11329 \begin_layout Plain Layout
11330 文字列
11331 \end_layout
11332
11333 \end_inset
11334
11335 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧ください.既定値:
11336 無効.
11337 \end_layout
11338
11339 \begin_layout Description
11340 \begin_inset Flex Code
11341 status collapsed
11342
11343 \begin_layout Plain Layout
11344 Align
11345 \end_layout
11346
11347 \end_inset
11348
11349  [
11350 \begin_inset Flex Code
11351 status collapsed
11352
11353 \begin_layout Plain Layout
11354
11355 \emph on
11356 block
11357 \emph default
11358 ,
11359  left,
11360  right,
11361  center
11362 \end_layout
11363
11364 \end_inset
11365
11366 ] 段落の揃え.
11367 \end_layout
11368
11369 \begin_layout Description
11370 \begin_inset Flex Code
11371 status collapsed
11372
11373 \begin_layout Plain Layout
11374 AlignPossible
11375 \end_layout
11376
11377 \end_inset
11378
11379  [
11380 \begin_inset Flex Code
11381 status collapsed
11382
11383 \begin_layout Plain Layout
11384
11385 \emph on
11386 block
11387 \emph default
11388 ,
11389  left,
11390  right,
11391  center
11392 \end_layout
11393
11394 \end_inset
11395
11396 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
11397 スタイルには,
11398 意味を成さない一部の揃えが禁じられているものがあります.たとえば,
11399 連番箇条書きを右揃えや中央揃えにすることはできません).
11400 \end_layout
11401
11402 \begin_layout Description
11403 \begin_inset Flex Code
11404 status collapsed
11405
11406 \begin_layout Plain Layout
11407 Argument
11408 \end_layout
11409
11410 \end_inset
11411
11412  [
11413 \begin_inset Flex Code
11414 status collapsed
11415
11416 \begin_layout Plain Layout
11417 整数
11418 \end_layout
11419
11420 \end_inset
11421
11422 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.定義は「
11423 \begin_inset Flex Code
11424 status collapsed
11425
11426 \begin_layout Plain Layout
11427 EndArgument
11428 \end_layout
11429
11430 \end_inset
11431
11432 」で閉じる必要があります.詳細については第
11433 \begin_inset CommandInset ref
11434 LatexCommand ref
11435 reference "subsec:引数"
11436 plural "false"
11437 caps "false"
11438 noprefix "false"
11439 nolink "false"
11440
11441 \end_inset
11442
11443 節をご覧ください.
11444 \end_layout
11445
11446 \begin_layout Description
11447 \begin_inset Flex Code
11448 status collapsed
11449
11450 \begin_layout Plain Layout
11451 AutoNests
11452 \end_layout
11453
11454 \end_inset
11455
11456  現在のレイアウト中もしくは後にネストすべきレイアウトのコンマ区切りリストを入れます.(環境など)ネスト可能なレイアウトでのみ意味を持ちます.「
11457 \begin_inset Flex Code
11458 status collapsed
11459
11460 \begin_layout Plain Layout
11461 EndAutoNests
11462 \end_layout
11463
11464 \end_inset
11465
11466 」で閉じる必要があります.
11467 \begin_inset Flex Code
11468 status collapsed
11469
11470 \begin_layout Plain Layout
11471 IsAutoNestedBy
11472 \end_layout
11473
11474 \end_inset
11475
11476 もご参照ください.
11477 \end_layout
11478
11479 \begin_layout Description
11480 \begin_inset Flex Code
11481 status collapsed
11482
11483 \begin_layout Plain Layout
11484 BabelPreamble
11485 \end_layout
11486
11487 \end_inset
11488
11489  これは,
11490 前に現れたこの様式の
11491 \begin_inset Flex Code
11492 status collapsed
11493
11494 \begin_layout Plain Layout
11495 BabelPreamble
11496 \end_layout
11497
11498 \end_inset
11499
11500 宣言をすべて,
11501 完全に上書きしますので注意してください.「
11502 \begin_inset Flex Code
11503 status collapsed
11504
11505 \begin_layout Plain Layout
11506 EndBabelPreamble
11507 \end_layout
11508
11509 \end_inset
11510
11511 」で閉じる必要があります.これの利用法についての詳細は,
11512
11513 \begin_inset CommandInset ref
11514 LatexCommand ref
11515 reference "subsec:段落様式の国際化"
11516 nolink "false"
11517
11518 \end_inset
11519
11520 節をご覧ください.
11521 \end_layout
11522
11523 \begin_layout Description
11524 \begin_inset Flex Code
11525 status collapsed
11526
11527 \begin_layout Plain Layout
11528 BottomSep
11529 \end_layout
11530
11531 \end_inset
11532
11533  [
11534 \begin_inset Flex Code
11535 status collapsed
11536
11537 \begin_layout Plain Layout
11538 浮動小数点型=0
11539 \end_layout
11540
11541 \end_inset
11542
11543 ]
11544 \begin_inset Foot
11545 status collapsed
11546
11547 \begin_layout Plain Layout
11548 ここで「浮動小数点型」とは1.5のような実数を指します.
11549 \end_layout
11550
11551 \end_inset
11552
11553  このレイアウト型の段落塊の最後の段落と,
11554 次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,
11555 分離幅は足し上げられるのではなく,
11556 最大値がとられます.
11557 \end_layout
11558
11559 \begin_layout Description
11560 \begin_inset Flex Code
11561 status collapsed
11562
11563 \begin_layout Plain Layout
11564 Category
11565 \end_layout
11566
11567 \end_inset
11568
11569  [
11570 \begin_inset Flex Code
11571 status collapsed
11572
11573 \begin_layout Plain Layout
11574 文字列
11575 \end_layout
11576
11577 \end_inset
11578
11579 ] この様式のカテゴリです.これは,
11580 ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが,
11581 作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
11582 \end_layout
11583
11584 \begin_layout Description
11585 \begin_inset Flex Code
11586 status collapsed
11587
11588 \begin_layout Plain Layout
11589 CopyStyle
11590 \end_layout
11591
11592 \end_inset
11593
11594  [
11595 \begin_inset Flex Code
11596 status collapsed
11597
11598 \begin_layout Plain Layout
11599 文字列
11600 \end_layout
11601
11602 \end_inset
11603
11604 ] 既存の様式から,
11605 すべての機能を現在の様式にコピーします.これは,
11606 そのときに定義されている様式をコピーすることに注意してください.その後に加えられた変更は,
11607 コピーされた様式には影響しません.
11608 \end_layout
11609
11610 \begin_layout Description
11611 \begin_inset Flex Code
11612 status collapsed
11613
11614 \begin_layout Plain Layout
11615 DocBookGenerateTitle
11616 \end_layout
11617
11618 \end_inset
11619
11620  [
11621 \begin_inset Flex Code
11622 status collapsed
11623
11624 \begin_layout Plain Layout
11625 ブール型=false
11626 \end_layout
11627
11628 \end_inset
11629
11630 ] ラッパータグの後に
11631 \begin_inset Flex Code
11632 status collapsed
11633
11634 \begin_layout Plain Layout
11635 title
11636 \end_layout
11637
11638 \end_inset
11639
11640 タグを生成します.このパラメータは,
11641
11642 \begin_inset Flex Code
11643 status collapsed
11644
11645 \begin_layout Plain Layout
11646 DocBookWrapperTag
11647 \end_layout
11648
11649 \end_inset
11650
11651 でのみ使用してください.他の場合はタイトルは環境の中身の
11652 \begin_inset Flex 圏点
11653 status open
11654
11655 \begin_layout Plain Layout
11656 後に
11657 \end_layout
11658
11659 \end_inset
11660
11661 出力されます.生成されるタイトルはLyXHTMLラベルと同じで,
11662 環境型とその番号の組み合わせです.主な使用法は,
11663 DocBookにLaTeX環境を閉じるマッピングがなく,
11664 LaTeXにはないタイトルが必要となる
11665 \begin_inset Flex Code
11666 status collapsed
11667
11668 \begin_layout Plain Layout
11669 figure
11670 \end_layout
11671
11672 \end_inset
11673
11674 のような汎用コンテナをユーザが頼らざるを得ないときに使います.この機能は,
11675 定理型の環境でたいへんよく用いられます.
11676 \end_layout
11677
11678 \begin_layout Description
11679 \begin_inset Flex Code
11680 status collapsed
11681
11682 \begin_layout Plain Layout
11683 DependsOn
11684 \end_layout
11685
11686 \end_inset
11687
11688  [
11689 \begin_inset Flex Code
11690 status collapsed
11691
11692 \begin_layout Plain Layout
11693 <名称>
11694 \end_layout
11695
11696 \end_inset
11697
11698 ]
11699 \lang english
11700  
11701 \lang japanese
11702 この
11703 \emph on
11704 前に
11705 \emph default
11706 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,
11707 プリアンブルの断片の順序を確実にするためのものです
11708 \begin_inset Foot
11709 status collapsed
11710
11711 \begin_layout Plain Layout
11712 この機能以外には,
11713 プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
11714 の特定のバージョンで観察された順序は,
11715 将来のバージョンで警告なしに変わる可能性があります.
11716 \end_layout
11717
11718 \end_inset
11719
11720
11721 \end_layout
11722
11723 \begin_layout Description
11724 \begin_inset Flex Code
11725 status collapsed
11726
11727 \begin_layout Plain Layout
11728 EndLabelType
11729 \end_layout
11730
11731 \end_inset
11732
11733  [
11734 \begin_inset Flex Code
11735 status collapsed
11736
11737 \begin_layout Plain Layout
11738
11739 \emph on
11740 No_Label
11741 \emph default
11742 ,
11743  Box,
11744  Filled_Box,
11745  Static
11746 \end_layout
11747
11748 \end_inset
11749
11750 ] 段落の最後(あるいは
11751 \begin_inset Flex Code
11752 status collapsed
11753
11754 \begin_layout Plain Layout
11755 LatexType
11756 \end_layout
11757
11758 \end_inset
11759
11760 が,
11761
11762 \begin_inset Flex Code
11763 status collapsed
11764
11765 \begin_layout Plain Layout
11766 Environment
11767 \end_layout
11768
11769 \end_inset
11770
11771
11772 \begin_inset Flex Code
11773 status collapsed
11774
11775 \begin_layout Plain Layout
11776 Item_Environment
11777 \end_layout
11778
11779 \end_inset
11780
11781
11782 \begin_inset Flex Code
11783 status collapsed
11784
11785 \begin_layout Plain Layout
11786 List_Environment
11787 \end_layout
11788
11789 \end_inset
11790
11791 のいずれかの場合は,
11792 段落群の最後)に置くラベル.
11793 \begin_inset Flex Code
11794 status collapsed
11795
11796 \begin_layout Plain Layout
11797 No_Label
11798 \end_layout
11799
11800 \end_inset
11801
11802 の場合は「何もない」ことを指し,
11803
11804 \begin_inset Flex Code
11805 status collapsed
11806
11807 \begin_layout Plain Layout
11808 Box
11809 \end_layout
11810
11811 \end_inset
11812
11813 (あるいは
11814 \begin_inset Flex Code
11815 status collapsed
11816
11817 \begin_layout Plain Layout
11818 Filled_Box
11819 \end_layout
11820
11821 \end_inset
11822
11823 )の場合は,
11824 証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
11825
11826 \begin_inset Flex Code
11827 status collapsed
11828
11829 \begin_layout Plain Layout
11830 Static
11831 \end_layout
11832
11833 \end_inset
11834
11835 は明示したテキスト文字列を指します.
11836 \end_layout
11837
11838 \begin_layout Description
11839 \begin_inset Flex Code
11840 status collapsed
11841
11842 \begin_layout Plain Layout
11843 EndLabelString
11844 \end_layout
11845
11846 \end_inset
11847
11848  [
11849 \begin_inset Flex Code
11850 status collapsed
11851
11852 \begin_layout Plain Layout
11853 文字列=""
11854 \end_layout
11855
11856 \end_inset
11857
11858
11859 \begin_inset Flex Code
11860 status collapsed
11861
11862 \begin_layout Plain Layout
11863 Static
11864 \end_layout
11865
11866 \end_inset
11867
11868
11869 \begin_inset Flex Code
11870 status collapsed
11871
11872 \begin_layout Plain Layout
11873 EndLabelType
11874 \end_layout
11875
11876 \end_inset
11877
11878 のラベルで用いる文字列.
11879 \end_layout
11880
11881 \begin_layout Description
11882 \begin_inset Flex Code
11883 status collapsed
11884
11885 \begin_layout Plain Layout
11886 Font
11887 \end_layout
11888
11889 \end_inset
11890
11891  本文テキストとラベルの
11892 \emph on
11893 両方で
11894 \emph default
11895 用いられるフォント.第
11896 \begin_inset CommandInset ref
11897 LatexCommand ref
11898 reference "subsec:フォント指定"
11899 nolink "false"
11900
11901 \end_inset
11902
11903 節を参照.このフォントを定義すると,
11904 自動的に
11905 \begin_inset Flex Code
11906 status collapsed
11907
11908 \begin_layout Plain Layout
11909 LabelFont
11910 \end_layout
11911
11912 \end_inset
11913
11914 も同じ値で定義されることに注意してください.したがって,
11915
11916 \begin_inset Flex Code
11917 status collapsed
11918
11919 \begin_layout Plain Layout
11920 LabelFont
11921 \end_layout
11922
11923 \end_inset
11924
11925 も同時に定義したい場合には,
11926 これを先に定義してください.
11927 \end_layout
11928
11929 \begin_layout Description
11930 \begin_inset Flex Code
11931 status collapsed
11932
11933 \begin_layout Plain Layout
11934 ForceLocal
11935 \end_layout
11936
11937 \end_inset
11938
11939  [
11940 \begin_inset Flex Code
11941 status collapsed
11942
11943 \begin_layout Plain Layout
11944 整数型=0
11945 \end_layout
11946
11947 \end_inset
11948
11949 ] 新しい様式を\SpecialChar LyX
11950 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11951  2.1.0です.引数は数字で,
11952 0・-1・1以上の任意の数をとることができます.様式の
11953 \begin_inset Flex Code
11954 status collapsed
11955
11956 \begin_layout Plain Layout
11957 ForceLocal
11958 \end_layout
11959
11960 \end_inset
11961
11962 フラグが1以上ならば,
11963 これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,
11964 文書ヘッダからの様式定義が文書クラスに追加されます.したがって,
11965 古い版の\SpecialChar LyX
11966 もこの様式を取り扱えるようになります.
11967 \begin_inset Flex Code
11968 status collapsed
11969
11970 \begin_layout Plain Layout
11971 ForceLocal
11972 \end_layout
11973
11974 \end_inset
11975
11976 の引数は版数です.様式が読み込まれたときに,
11977 文書クラス中の既存の様式の版数よりも小さいと,
11978 新しい様式は無視されます.版数が大きいと,
11979 既存の様式に代わって新しい様式が用いられます.値-1は無限大の版数を意味し,
11980 この様式が常に用いられることになります.
11981 \end_layout
11982
11983 \begin_layout Description
11984 \begin_inset Flex Code
11985 status collapsed
11986
11987 \begin_layout Plain Layout
11988 FreeSpacing
11989 \end_layout
11990
11991 \end_inset
11992
11993  [
11994 \emph on
11995
11996 \begin_inset Flex Code
11997 status collapsed
11998
11999 \begin_layout Plain Layout
12000 0
12001 \end_layout
12002
12003 \end_inset
12004
12005
12006 \emph default
12007 ,
12008 \begin_inset space \thinspace{}
12009 \end_inset
12010
12011
12012 \begin_inset Flex Code
12013 status collapsed
12014
12015 \begin_layout Plain Layout
12016 1
12017 \end_layout
12018
12019 \end_inset
12020
12021 ] \SpecialChar LyX
12022 は,
12023 空白をそれ自体文字や記号ではなく,
12024 2つの単語の間の分割子として捉えているため,
12025 単語間に2つ以上の空白を入れることは,
12026 通常許可していません.これ自体はとても素晴らしいことですが,
12027 たとえばプログラムコードや生の\SpecialChar LaTeX
12028 コードを入力しようとするときなどに,
12029 煩わしくなることがあります.このことから,
12030
12031 \begin_inset Flex Code
12032 status collapsed
12033
12034 \begin_layout Plain Layout
12035 FreeSpacing
12036 \end_layout
12037
12038 \end_inset
12039
12040 を有効にすることが認められています.
12041 \begin_inset Flex Code
12042 status collapsed
12043
12044 \begin_layout Plain Layout
12045 Passthru 1
12046 \end_layout
12047
12048 \end_inset
12049
12050 が指定されていなければ,
12051 \SpecialChar LyX
12052 は2つめ以降の空白には非改行空白を生成します.
12053 \begin_inset Flex Code
12054 status collapsed
12055
12056 \begin_layout Plain Layout
12057 FreeSpacing
12058 \end_layout
12059
12060 \end_inset
12061
12062
12063 \begin_inset Flex Code
12064 status collapsed
12065
12066 \begin_layout Plain Layout
12067 KeepEmpty
12068 \end_layout
12069
12070 \end_inset
12071
12072 を意味することに注意してください.
12073 \end_layout
12074
12075 \begin_layout Description
12076 \begin_inset Flex Code
12077 status collapsed
12078
12079 \begin_layout Plain Layout
12080 HTML*
12081 \end_layout
12082
12083 \end_inset
12084
12085  これらのタグは,
12086 XHTML出力で使用されます.第
12087 \begin_inset CommandInset ref
12088 LatexCommand ref
12089 reference "subsec:段落様式-XHTML"
12090 nolink "false"
12091
12092 \end_inset
12093
12094 節をご覧ください.
12095 \end_layout
12096
12097 \begin_layout Description
12098 \begin_inset Flex Code
12099 status collapsed
12100
12101 \begin_layout Plain Layout
12102 InPreamble
12103 \end_layout
12104
12105 \end_inset
12106
12107  [
12108 \emph on
12109
12110 \begin_inset Flex Code
12111 status collapsed
12112
12113 \begin_layout Plain Layout
12114 0
12115 \end_layout
12116
12117 \end_inset
12118
12119
12120 \emph default
12121 ,
12122 \begin_inset space \thinspace{}
12123 \end_inset
12124
12125
12126 \begin_inset Flex Code
12127 status collapsed
12128
12129 \begin_layout Plain Layout
12130 1
12131 \end_layout
12132
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 様式が文書本体ではなく,
12147 文書プリアンブルにインクルードされるようにします.これは,
12148 タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利です.これは,
12149
12150 \begin_inset Flex Code
12151 status collapsed
12152
12153 \begin_layout Plain Layout
12154 LatexType
12155 \end_layout
12156
12157 \end_inset
12158
12159
12160 \begin_inset Flex Code
12161 status collapsed
12162
12163 \begin_layout Plain Layout
12164 Command
12165 \end_layout
12166
12167 \end_inset
12168
12169 または
12170 \begin_inset Flex Code
12171 status collapsed
12172
12173 \begin_layout Plain Layout
12174 Paragraph
12175 \end_layout
12176
12177 \end_inset
12178
12179 の様式に対してのみ動作します.
12180 \end_layout
12181
12182 \begin_layout Description
12183 \begin_inset Flex Code
12184 status collapsed
12185
12186 \begin_layout Plain Layout
12187 InTitle
12188 \end_layout
12189
12190 \end_inset
12191
12192  [
12193 \emph on
12194
12195 \begin_inset Flex Code
12196 status collapsed
12197
12198 \begin_layout Plain Layout
12199 0
12200 \end_layout
12201
12202 \end_inset
12203
12204
12205 \emph default
12206 ,
12207 \begin_inset space \thinspace{}
12208 \end_inset
12209
12210
12211 \begin_inset Flex Code
12212 status collapsed
12213
12214 \begin_layout Plain Layout
12215 1
12216 \end_layout
12217
12218 \end_inset
12219
12220
12221 \begin_inset Flex Code
12222 status collapsed
12223
12224 \begin_layout Plain Layout
12225 1
12226 \end_layout
12227
12228 \end_inset
12229
12230 の場合,
12231 このレイアウトをタイトルブロックの一部としてマークします(大域項目の
12232 \begin_inset Flex Code
12233 status collapsed
12234
12235 \begin_layout Plain Layout
12236 TitleLatexType
12237 \end_layout
12238
12239 \end_inset
12240
12241
12242 \begin_inset Flex Code
12243 status collapsed
12244
12245 \begin_layout Plain Layout
12246 TitleLatexName
12247 \end_layout
12248
12249 \end_inset
12250
12251 も参照).
12252 \end_layout
12253
12254 \begin_layout Description
12255 \begin_inset Flex Code
12256 status collapsed
12257
12258 \begin_layout Plain Layout
12259 IsAutoNestedBy
12260 \end_layout
12261
12262 \end_inset
12263
12264  このレイアウトがネストされるべき親レイアウトのコンマ区切りリストを入れます.(環境など)ネスト可能なレイアウトでのみ意味を持ちます.「
12265 \begin_inset Flex Code
12266 status collapsed
12267
12268 \begin_layout Plain Layout
12269 EndAutoNestedBy
12270 \end_layout
12271
12272 \end_inset
12273
12274 」で閉じる必要があります.
12275 \begin_inset Flex Code
12276 status collapsed
12277
12278 \begin_layout Plain Layout
12279 AutoNests
12280 \end_layout
12281
12282 \end_inset
12283
12284 もご参照ください.
12285 \end_layout
12286
12287 \begin_layout Description
12288 \begin_inset Flex Code
12289 status collapsed
12290
12291 \begin_layout Plain Layout
12292 IsTocCaption
12293 \end_layout
12294
12295 \end_inset
12296
12297  [
12298 \begin_inset Flex Code
12299 status collapsed
12300
12301 \begin_layout Plain Layout
12302
12303 \emph on
12304 0
12305 \end_layout
12306
12307 \end_inset
12308
12309 ,
12310 \begin_inset space \thinspace{}
12311 \end_inset
12312
12313
12314 \begin_inset Flex Code
12315 status collapsed
12316
12317 \begin_layout Plain Layout
12318 1
12319 \end_layout
12320
12321 \end_inset
12322
12323 ] これを1に設定すると,
12324 AddToTocが有効になり,
12325 段落は,
12326 その内容の要約を一覧表の項目に表示します.0に設定すると,
12327 ラベルが存在すれば,
12328 それのみが表示されます.
12329 \end_layout
12330
12331 \begin_layout Description
12332 \begin_inset Flex Code
12333 status collapsed
12334
12335 \begin_layout Plain Layout
12336 ItemCommand
12337 \end_layout
12338
12339 \end_inset
12340
12341  [
12342 \begin_inset Flex Code
12343 status collapsed
12344
12345 \begin_layout Plain Layout
12346 文字列="item"
12347 \end_layout
12348
12349 \end_inset
12350
12351 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
12352 コマンド.コマンドは,
12353 前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,
12354 \SpecialChar LaTeX
12355 出力中では
12356 \begin_inset Flex Code
12357 status collapsed
12358
12359 \begin_layout Plain Layout
12360
12361 \backslash
12362 item
12363 \end_layout
12364
12365 \end_inset
12366
12367 となります).
12368 \end_layout
12369
12370 \begin_layout Description
12371 \begin_inset Flex Code
12372 status collapsed
12373
12374 \begin_layout Plain Layout
12375 ItemSep
12376 \end_layout
12377
12378 \end_inset
12379
12380  [
12381 \begin_inset Flex Code
12382 status collapsed
12383
12384 \begin_layout Plain Layout
12385 浮動小数点型=0
12386 \end_layout
12387
12388 \end_inset
12389
12390 ] これは,
12391 同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,
12392 それぞれのレイアウトは,
12393 その環境の
12394 \begin_inset Flex Code
12395 status collapsed
12396
12397 \begin_layout Plain Layout
12398 ParSep
12399 \end_layout
12400
12401 \end_inset
12402
12403 だけ分離されます.しかし,
12404 その環境の項目全体は,
12405 さらにこの
12406 \begin_inset Flex Code
12407 status collapsed
12408
12409 \begin_layout Plain Layout
12410 ItemSep
12411 \end_layout
12412
12413 \end_inset
12414
12415 分だけ離されます.これは
12416 \emph on
12417 乗数
12418 \emph default
12419 であることに注意してください.
12420 \end_layout
12421
12422 \begin_layout Description
12423 \begin_inset Flex Code
12424 status collapsed
12425
12426 \begin_layout Plain Layout
12427 KeepEmpty
12428 \end_layout
12429
12430 \end_inset
12431
12432  [
12433 \emph on
12434
12435 \begin_inset Flex Code
12436 status collapsed
12437
12438 \begin_layout Plain Layout
12439 0
12440 \end_layout
12441
12442 \end_inset
12443
12444
12445 \emph default
12446 ,
12447 \begin_inset space \thinspace{}
12448 \end_inset
12449
12450
12451 \begin_inset Flex Code
12452 status collapsed
12453
12454 \begin_layout Plain Layout
12455 1
12456 \end_layout
12457
12458 \end_inset
12459
12460 ] 段落を空のままにすると,
12461 \SpecialChar LaTeX
12462 出力が空になってしまうので,
12463 通常,
12464 \SpecialChar LyX
12465 は段落を空にすることを許可しません.しかしながら,
12466 これを無効にすることが望ましい場合が存在します.たとえば,
12467 書簡のひな型では,
12468 必須フィールドを人々が忘れないように,
12469 空のフィールドのまま提供する手もあります.特別なクラスにおいては,
12470 レイアウトを実際には文章を含まないある種の改行として使用することもあります.
12471 \end_layout
12472
12473 \begin_layout Description
12474 \begin_inset Flex Code
12475 status collapsed
12476
12477 \begin_layout Plain Layout
12478 LabelBottomsep
12479 \end_layout
12480
12481 \end_inset
12482
12483  [
12484 \begin_inset Flex Code
12485 status collapsed
12486
12487 \begin_layout Plain Layout
12488 浮動小数点型=0
12489 \end_layout
12490
12491 \end_inset
12492
12493 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
12494 \begin_inset Flex Code
12495 status collapsed
12496
12497 \begin_layout Plain Layout
12498 Top_Environment
12499 \end_layout
12500
12501 \end_inset
12502
12503 および
12504 \begin_inset Newline linebreak
12505 \end_inset
12506
12507
12508 \begin_inset Flex Code
12509 status collapsed
12510
12511 \begin_layout Plain Layout
12512 Centered_Top_Environment
12513 \end_layout
12514
12515 \end_inset
12516
12517 ).
12518 \end_layout
12519
12520 \begin_layout Description
12521 \begin_inset Flex Code
12522 status collapsed
12523
12524 \begin_layout Plain Layout
12525 LabelCounter
12526 \end_layout
12527
12528 \end_inset
12529
12530  [
12531 \begin_inset Flex Code
12532 status collapsed
12533
12534 \begin_layout Plain Layout
12535 文字列=""
12536 \end_layout
12537
12538 \end_inset
12539
12540 ] 自動連番に使われるカウンタ名(詳しくは第
12541 \begin_inset CommandInset ref
12542 LatexCommand ref
12543 reference "subsec:カウンタ"
12544 plural "false"
12545 caps "false"
12546 noprefix "false"
12547 nolink "false"
12548
12549 \end_inset
12550
12551 節参照).カウンタがラベル中に表示されるようにするためには,
12552
12553 \begin_inset Flex Code
12554 status collapsed
12555
12556 \begin_layout Plain Layout
12557 LabelString
12558 \end_layout
12559
12560 \end_inset
12561
12562 中で参照する必要があります.これは,
12563 少なくとも
12564 \begin_inset Flex Code
12565 status collapsed
12566
12567 \begin_layout Plain Layout
12568 Static
12569 \end_layout
12570
12571 \end_inset
12572
12573
12574 \begin_inset Flex Code
12575 status collapsed
12576
12577 \begin_layout Plain Layout
12578 Above
12579 \end_layout
12580
12581 \end_inset
12582
12583
12584 \begin_inset Flex Code
12585 status collapsed
12586
12587 \begin_layout Plain Layout
12588 Centered
12589 \end_layout
12590
12591 \end_inset
12592
12593 の各
12594 \begin_inset Flex Code
12595 status collapsed
12596
12597 \begin_layout Plain Layout
12598 LabelType
12599 \end_layout
12600
12601 \end_inset
12602
12603 で動作します.
12604 \begin_inset Newline newline
12605 \end_inset
12606
12607 また,
12608
12609 \begin_inset Flex Code
12610 status collapsed
12611
12612 \begin_layout Plain Layout
12613 LabelType
12614 \end_layout
12615
12616 \end_inset
12617
12618
12619 \begin_inset Flex Code
12620 status collapsed
12621
12622 \begin_layout Plain Layout
12623 Enumerate
12624 \end_layout
12625
12626 \end_inset
12627
12628 型のときにも,
12629 若干複雑にはなりますが,
12630 本項目を使うことができます.たとえば,
12631
12632 \begin_inset Flex Code
12633 status collapsed
12634
12635 \begin_layout Plain Layout
12636 LabelCounter myenum
12637 \end_layout
12638
12639 \end_inset
12640
12641 」と宣言したものとしましょう.すると,
12642 \SpecialChar LaTeX
12643 におけるのと同様,
12644 実際に使われるカウンタは,
12645
12646 \begin_inset Flex Code
12647 status collapsed
12648
12649 \begin_layout Plain Layout
12650 myenumi
12651 \end_layout
12652
12653 \end_inset
12654
12655
12656 \begin_inset Flex Code
12657 status collapsed
12658
12659 \begin_layout Plain Layout
12660 myenumii
12661 \end_layout
12662
12663 \end_inset
12664
12665
12666 \begin_inset Flex Code
12667 status collapsed
12668
12669 \begin_layout Plain Layout
12670 myenumii
12671 \end_layout
12672
12673 \end_inset
12674
12675
12676 \begin_inset Flex Code
12677 status collapsed
12678
12679 \begin_layout Plain Layout
12680 myenumiv
12681 \end_layout
12682
12683 \end_inset
12684
12685 のようになります.これらのカウンタは,
12686 全て別々に宣言されなくてはなりません.
12687 \begin_inset Newline newline
12688 \end_inset
12689
12690 カウンタの詳細については,
12691
12692 \begin_inset CommandInset ref
12693 LatexCommand ref
12694 reference "subsec:カウンタ"
12695 nolink "false"
12696
12697 \end_inset
12698
12699 をご覧ください.
12700 \end_layout
12701
12702 \begin_layout Description
12703 \begin_inset Flex Code
12704 status collapsed
12705
12706 \begin_layout Plain Layout
12707 LabelFont
12708 \end_layout
12709
12710 \end_inset
12711
12712  ラベルに使用されるフォント.
12713 \begin_inset CommandInset ref
12714 LatexCommand ref
12715 reference "subsec:フォント指定"
12716 nolink "false"
12717
12718 \end_inset
12719
12720 を参照.
12721 \end_layout
12722
12723 \begin_layout Description
12724 \begin_inset Flex Code
12725 status collapsed
12726
12727 \begin_layout Plain Layout
12728 LabelIndent
12729 \end_layout
12730
12731 \end_inset
12732
12733  [
12734 \begin_inset Flex Code
12735 status collapsed
12736
12737 \begin_layout Plain Layout
12738 文字列=""
12739 \end_layout
12740
12741 \end_inset
12742
12743 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
12744 \end_layout
12745
12746 \begin_layout Description
12747 \begin_inset Flex Code
12748 status collapsed
12749
12750 \begin_layout Plain Layout
12751 LabelSep
12752 \end_layout
12753
12754 \end_inset
12755
12756  [
12757 \begin_inset Flex Code
12758 status collapsed
12759
12760 \begin_layout Plain Layout
12761 文字列=""
12762 \end_layout
12763
12764 \end_inset
12765
12766 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
12767 \end_layout
12768
12769 \begin_layout Description
12770 \begin_inset Flex Code
12771 status collapsed
12772
12773 \begin_layout Plain Layout
12774 LabelString
12775 \end_layout
12776
12777 \end_inset
12778
12779  [
12780 \begin_inset Flex Code
12781 status collapsed
12782
12783 \begin_layout Plain Layout
12784 文字列=""
12785 \end_layout
12786
12787 \end_inset
12788
12789
12790 \begin_inset Flex Code
12791 status collapsed
12792
12793 \begin_layout Plain Layout
12794 Static
12795 \end_layout
12796
12797 \end_inset
12798
12799 ラベル型でラベルに使用する文字列.
12800 \begin_inset Flex Code
12801 status collapsed
12802
12803 \begin_layout Plain Layout
12804 LabelCounter
12805 \end_layout
12806
12807 \end_inset
12808
12809 を設定している場合,
12810
12811 \begin_inset CommandInset ref
12812 LatexCommand ref
12813 reference "subsec:カウンタ"
12814 nolink "false"
12815
12816 \end_inset
12817
12818 に述べられている特別な整形コマンドを含めることができます.
12819 \end_layout
12820
12821 \begin_layout Description
12822 \begin_inset Flex Code
12823 status collapsed
12824
12825 \begin_layout Plain Layout
12826 LabelStringAppendix
12827 \end_layout
12828
12829 \end_inset
12830
12831  [
12832 \begin_inset Flex Code
12833 status collapsed
12834
12835 \begin_layout Plain Layout
12836 文字列=""
12837 \end_layout
12838
12839 \end_inset
12840
12841 ] これは付録の中で
12842 \begin_inset Flex Code
12843 status collapsed
12844
12845 \begin_layout Plain Layout
12846 LabelString
12847 \end_layout
12848
12849 \end_inset
12850
12851 の代わりに用いられます.各
12852 \begin_inset Flex Code
12853 status collapsed
12854
12855 \begin_layout Plain Layout
12856 LabelString
12857 \end_layout
12858
12859 \end_inset
12860
12861 ステートメントは,
12862
12863 \begin_inset Flex Code
12864 status collapsed
12865
12866 \begin_layout Plain Layout
12867 LabelStringAppendix
12868 \end_layout
12869
12870 \end_inset
12871
12872 をもリセットすることに注意してください.
12873 \end_layout
12874
12875 \begin_layout Description
12876 \begin_inset Flex Code
12877 status collapsed
12878
12879 \begin_layout Plain Layout
12880 LabelType
12881 \end_layout
12882
12883 \end_inset
12884
12885  [
12886 \begin_inset Flex Code
12887 status collapsed
12888
12889 \begin_layout Plain Layout
12890
12891 \emph on
12892 No_Label
12893 \emph default
12894 ,
12895  Manual,
12896  Static,
12897  Above,
12898 \begin_inset Newline newline
12899 \end_inset
12900
12901 Centered,
12902  Sensitive,
12903  Enumerate,
12904 \begin_inset Newline newline
12905 \end_inset
12906
12907 Itemize,
12908  Bibliography
12909 \end_layout
12910
12911 \end_inset
12912
12913 ]
12914 \end_layout
12915
12916 \begin_deeper
12917 \begin_layout Description
12918 \begin_inset Flex Code
12919 status collapsed
12920
12921 \begin_layout Plain Layout
12922 Manual
12923 \end_layout
12924
12925 \end_inset
12926
12927  は,
12928 ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,
12929 非改行空白を使用してください.
12930 \end_layout
12931
12932 \begin_layout Description
12933 \begin_inset Flex Code
12934 status collapsed
12935
12936 \begin_layout Plain Layout
12937 Static
12938 \end_layout
12939
12940 \end_inset
12941
12942  は,
12943 ラベルが
12944 \begin_inset Flex Code
12945 status collapsed
12946
12947 \begin_layout Plain Layout
12948 LabelString
12949 \end_layout
12950
12951 \end_inset
12952
12953 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12954 \begin_inset Flex Code
12955 status collapsed
12956
12957 \begin_layout Plain Layout
12958 LatexType
12959 \end_layout
12960
12961 \end_inset
12962
12963
12964 \begin_inset Flex Code
12965 status collapsed
12966
12967 \begin_layout Plain Layout
12968 Environment
12969 \end_layout
12970
12971 \end_inset
12972
12973 のときは,
12974 連続する同じ
12975 \begin_inset Flex Code
12976 status collapsed
12977
12978 \begin_layout Plain Layout
12979 Style
12980 \end_layout
12981
12982 \end_inset
12983
12984 の段落中,
12985 最初の段落にのみ表示されます.
12986 \end_layout
12987
12988 \begin_layout Description
12989 \begin_inset Flex Code
12990 status collapsed
12991
12992 \begin_layout Plain Layout
12993 Above
12994 \end_layout
12995
12996 \end_inset
12997
12998 および
12999 \begin_inset Flex Code
13000 status collapsed
13001
13002 \begin_layout Plain Layout
13003 Centered
13004 \end_layout
13005
13006 \end_inset
13007
13008  は,
13009
13010 \begin_inset Flex Code
13011 status collapsed
13012
13013 \begin_layout Plain Layout
13014 Static
13015 \end_layout
13016
13017 \end_inset
13018
13019 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
13020 \end_layout
13021
13022 \begin_layout Description
13023 \begin_inset Flex Code
13024 status collapsed
13025
13026 \begin_layout Plain Layout
13027 Sensitive
13028 \end_layout
13029
13030 \end_inset
13031
13032  はキャプションラベルの「図」や「表」の特別な場合です.
13033 \begin_inset Flex Code
13034 status collapsed
13035
13036 \begin_layout Plain Layout
13037 Sensitive
13038 \end_layout
13039
13040 \end_inset
13041
13042 は,
13043 (ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,
13044 フロートに関連付けられたカウンタの値がNであるものとすると,
13045 「FloatType N」にハードコードされています.キャプションがフロートの外に挿入されると,
13046
13047 \begin_inset Flex Code
13048 status collapsed
13049
13050 \begin_layout Plain Layout
13051 LabelString
13052 \end_layout
13053
13054 \end_inset
13055
13056 は「意味を成しません!」と表示されます.
13057 \end_layout
13058
13059 \begin_layout Description
13060 \begin_inset Flex Code
13061 status collapsed
13062
13063 \begin_layout Plain Layout
13064 Enumerate
13065 \end_layout
13066
13067 \end_inset
13068
13069  は,
13070 通常の連番ラベルを生成します.数値型を
13071 \family sans
13072 Counter
13073 \family default
13074 で設定する必要があります.第
13075 \begin_inset CommandInset ref
13076 LatexCommand ref
13077 reference "subsec:カウンタ"
13078 nolink "false"
13079
13080 \end_inset
13081
13082 節を参照してください.
13083 \end_layout
13084
13085 \begin_layout Description
13086 \begin_inset Flex Code
13087 status collapsed
13088
13089 \begin_layout Plain Layout
13090 Itemize
13091 \end_layout
13092
13093 \end_inset
13094
13095  は,
13096 各階層でさまざまなブリットを生成します.表示されるブリット型は
13097 \begin_inset Flex Noun
13098 status collapsed
13099
13100 \begin_layout Plain Layout
13101 文書\SpecialChar menuseparator
13102 設定\SpecialChar menuseparator
13103 ブリット
13104 \end_layout
13105
13106 \end_inset
13107
13108 で設定できます.
13109 \end_layout
13110
13111 \begin_layout Description
13112 \begin_inset Flex Code
13113 status collapsed
13114
13115 \begin_layout Plain Layout
13116 Bibliography
13117 \end_layout
13118
13119 \end_inset
13120
13121  は
13122 \begin_inset Flex Code
13123 status collapsed
13124
13125 \begin_layout Plain Layout
13126 LatexType BibEnvironment
13127 \end_layout
13128
13129 \end_inset
13130
13131 とともにのみ使用されます.
13132 \end_layout
13133
13134 \end_deeper
13135 \begin_layout Description
13136 \begin_inset Flex Code
13137 status collapsed
13138
13139 \begin_layout Plain Layout
13140 LangPreamble
13141 \end_layout
13142
13143 \end_inset
13144
13145  これは,
13146 この様式で既に出現した
13147 \begin_inset Flex Code
13148 status collapsed
13149
13150 \begin_layout Plain Layout
13151 LangPreamble
13152 \end_layout
13153
13154 \end_inset
13155
13156 宣言をすべて,
13157 完全に上書きしますので,
13158 注意してください.使用法についての詳細は,
13159
13160 \begin_inset CommandInset ref
13161 LatexCommand ref
13162 reference "subsec:段落様式の国際化"
13163 nolink "false"
13164
13165 \end_inset
13166
13167 をご覧ください.
13168 \end_layout
13169
13170 \begin_layout Description
13171 \begin_inset Flex Code
13172 status collapsed
13173
13174 \begin_layout Plain Layout
13175 LatexName
13176 \end_layout
13177
13178 \end_inset
13179
13180  [
13181 \begin_inset Flex Code
13182 status collapsed
13183
13184 \begin_layout Plain Layout
13185 <名称>
13186 \end_layout
13187
13188 \end_inset
13189
13190 ] 対応する\SpecialChar LaTeX
13191 の名称です.環境名かコマンド名を指します.
13192 \end_layout
13193
13194 \begin_layout Description
13195 \begin_inset Flex Code
13196 status collapsed
13197
13198 \begin_layout Plain Layout
13199 LatexParam
13200 \end_layout
13201
13202 \end_inset
13203
13204  [
13205 \begin_inset Flex Code
13206 status collapsed
13207
13208 \begin_layout Plain Layout
13209 <パラメータ>
13210 \end_layout
13211
13212 \end_inset
13213
13214 ] 対応する
13215 \begin_inset Flex Code
13216 status collapsed
13217
13218 \begin_layout Plain Layout
13219 LatexName
13220 \end_layout
13221
13222 \end_inset
13223
13224 の非必須パラメータです.このパラメータは,
13225 \SpecialChar LyX
13226 内部から変更することはできません(変更可能なパラメータには
13227 \begin_inset Flex Code
13228 status collapsed
13229
13230 \begin_layout Plain Layout
13231 Argument
13232 \end_layout
13233
13234 \end_inset
13235
13236 を使用してください).これは,
13237 全ての\SpecialChar LaTeX
13238  
13239 \begin_inset Flex Code
13240 status collapsed
13241
13242 \begin_layout Plain Layout
13243 Argument
13244 \end_layout
13245
13246 \end_inset
13247
13248 の後にそのままの形で出力されます.
13249 \end_layout
13250
13251 \begin_layout Description
13252 \begin_inset Flex Code
13253 status collapsed
13254
13255 \begin_layout Plain Layout
13256 LatexType
13257 \end_layout
13258
13259 \end_inset
13260
13261  [
13262 \begin_inset Flex Code
13263 status collapsed
13264
13265 \begin_layout Plain Layout
13266
13267 \emph on
13268 Paragraph
13269 \emph default
13270 ,
13271  Command,
13272  Environment,
13273  Item_Environment,
13274 \begin_inset Newline newline
13275 \end_inset
13276
13277 List_Environment,
13278  Bib_Environment
13279 \end_layout
13280
13281 \end_inset
13282
13283 ] レイアウトがどのように\SpecialChar LaTeX
13284 に変換されるべきかを示します
13285 \begin_inset Foot
13286 status collapsed
13287
13288 \begin_layout Plain Layout
13289 これらのルールはSGMLクラスにも適用されるので,
13290
13291 \begin_inset Flex Code
13292 status collapsed
13293
13294 \begin_layout Plain Layout
13295 LatexType
13296 \end_layout
13297
13298 \end_inset
13299
13300 の名称は,
13301 少しミスリーディングかもしれません.特定の例については,
13302 SGMLクラスファイル(ファイル名
13303 \begin_inset Flex Code
13304 status collapsed
13305
13306 \begin_layout Plain Layout
13307 db_*.inc
13308 \end_layout
13309
13310 \end_inset
13311
13312 )を見てください.
13313 \end_layout
13314
13315 \end_inset
13316
13317
13318 \end_layout
13319
13320 \begin_deeper
13321 \begin_layout Description
13322 \begin_inset Flex Code
13323 status collapsed
13324
13325 \begin_layout Plain Layout
13326 Paragraph
13327 \end_layout
13328
13329 \end_inset
13330
13331  は,
13332 何も特別なことは意味しません.
13333 \end_layout
13334
13335 \begin_layout Description
13336 \begin_inset Flex Code
13337 status collapsed
13338
13339 \begin_layout Plain Layout
13340 Command
13341 \end_layout
13342
13343 \end_inset
13344
13345  は,
13346
13347 \begin_inset Flex Code
13348 status collapsed
13349
13350 \begin_layout Plain Layout
13351
13352 \backslash
13353
13354 \emph on
13355 LatexName
13356 \emph default
13357 {\SpecialChar ldots
13358 }
13359 \end_layout
13360
13361 \end_inset
13362
13363 を意味します.
13364 \end_layout
13365
13366 \begin_layout Description
13367 \begin_inset Flex Code
13368 status collapsed
13369
13370 \begin_layout Plain Layout
13371 Environment
13372 \end_layout
13373
13374 \end_inset
13375
13376  は,
13377
13378 \begin_inset Flex Code
13379 status collapsed
13380
13381 \begin_layout Plain Layout
13382
13383 \backslash
13384 begin{
13385 \emph on
13386 LatexName
13387 \emph default
13388 }\SpecialChar ldots
13389
13390 \backslash
13391 end{
13392 \emph on
13393 LatexName
13394 \emph default
13395 }
13396 \end_layout
13397
13398 \end_inset
13399
13400 を意味します.
13401 \end_layout
13402
13403 \begin_layout Description
13404 \begin_inset Flex Code
13405 status collapsed
13406
13407 \begin_layout Plain Layout
13408 Item_Environment
13409 \end_layout
13410
13411 \end_inset
13412
13413  は
13414 \begin_inset Flex Code
13415 status collapsed
13416
13417 \begin_layout Plain Layout
13418 Environment
13419 \end_layout
13420
13421 \end_inset
13422
13423 と同じですが,
13424
13425 \begin_inset Flex Code
13426 status collapsed
13427
13428 \begin_layout Plain Layout
13429
13430 \backslash
13431 item
13432 \end_layout
13433
13434 \end_inset
13435
13436 がこの環境のすべての段落に付けられるところだけが異なっています.
13437 \end_layout
13438
13439 \begin_layout Description
13440 \begin_inset Flex Code
13441 status collapsed
13442
13443 \begin_layout Plain Layout
13444 List_Environment
13445 \end_layout
13446
13447 \end_inset
13448
13449  は
13450 \begin_inset Flex Code
13451 status collapsed
13452
13453 \begin_layout Plain Layout
13454 Item_Environment
13455 \end_layout
13456
13457 \end_inset
13458
13459 と同じですが,
13460
13461 \begin_inset Flex Code
13462 status collapsed
13463
13464 \begin_layout Plain Layout
13465 LabelWidthString
13466 \end_layout
13467
13468 \end_inset
13469
13470 が環境の引数として渡されるところだけが異なっています.
13471 \begin_inset Flex Code
13472 status collapsed
13473
13474 \begin_layout Plain Layout
13475 LabelWidthString
13476 \end_layout
13477
13478 \end_inset
13479
13480 は,
13481
13482 \begin_inset Flex MenuItem
13483 status collapsed
13484
13485 \begin_layout Plain Layout
13486 編集\SpecialChar menuseparator
13487 段落設定
13488 \end_layout
13489
13490 \end_inset
13491
13492 ダイアログで定義することができます.
13493 \end_layout
13494
13495 \begin_layout Description
13496 \begin_inset Flex Code
13497 status collapsed
13498
13499 \begin_layout Plain Layout
13500 Bib_Environment
13501 \end_layout
13502
13503 \end_inset
13504
13505  は
13506 \begin_inset Flex Code
13507 status collapsed
13508
13509 \begin_layout Plain Layout
13510 Environment
13511 \end_layout
13512
13513 \end_inset
13514
13515 に似ていますが,
13516 以下のように,
13517 書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
13518 \begin_inset Newline newline
13519 \end_inset
13520
13521
13522 \begin_inset Flex Code
13523 status collapsed
13524
13525 \begin_layout Plain Layout
13526
13527 \backslash
13528 begin{thebibliography}{99}
13529 \end_layout
13530
13531 \end_inset
13532
13533
13534 \begin_inset Newline newline
13535 \end_inset
13536
13537 したがって,
13538 これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,
13539 書誌情報項目の段落設定で,
13540 ユーザーが変更することができます.
13541 \end_layout
13542
13543 \begin_layout Standard
13544 上記最後のいくつかをまとめると,
13545 \SpecialChar LaTeX
13546 出力は,
13547 \SpecialChar LaTeX
13548 型に依存して
13549 \end_layout
13550
13551 \begin_layout LyX-Code
13552
13553 \backslash
13554 LatexName[LatexParam]{\SpecialChar ldots
13555 }
13556 \end_layout
13557
13558 \begin_layout Standard
13559 のようになるか,
13560
13561 \end_layout
13562
13563 \begin_layout LyX-Code
13564
13565 \backslash
13566 begin{LatexName}[LatexParam] \SpecialChar ldots
13567  
13568 \backslash
13569 end{LatexName}.
13570 \end_layout
13571
13572 \begin_layout Standard
13573 となります.
13574 \end_layout
13575
13576 \end_deeper
13577 \begin_layout Description
13578 \begin_inset Flex Code
13579 status collapsed
13580
13581 \begin_layout Plain Layout
13582 LeftDelim
13583 \end_layout
13584
13585 \end_inset
13586
13587  [
13588 \begin_inset Flex Code
13589 status collapsed
13590
13591 \begin_layout Plain Layout
13592 文字列
13593 \end_layout
13594
13595 \end_inset
13596
13597 ] 様式の内容の最初に置かれる文字列.出力中の改行は
13598 \begin_inset Flex Code
13599 status collapsed
13600
13601 \begin_layout Plain Layout
13602 <br/>
13603 \end_layout
13604
13605 \end_inset
13606
13607 で指示できます.
13608 \end_layout
13609
13610 \begin_layout Description
13611 \begin_inset Flex Code
13612 status collapsed
13613
13614 \begin_layout Plain Layout
13615 LeftMargin
13616 \end_layout
13617
13618 \end_inset
13619
13620  [
13621 \begin_inset Flex Code
13622 status collapsed
13623
13624 \begin_layout Plain Layout
13625 文字列=""
13626 \end_layout
13627
13628 \end_inset
13629
13630 ] レイアウトを環境の中に入れた場合,
13631 左余白は単純に加えられるのではなく,
13632 因子
13633 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13634 \end_inset
13635
13636 をかけて加えられます.このパラメータは,
13637
13638 \begin_inset Flex Code
13639 status collapsed
13640
13641 \begin_layout Plain Layout
13642 Margin
13643 \end_layout
13644
13645 \end_inset
13646
13647
13648 \begin_inset Flex Code
13649 status collapsed
13650
13651 \begin_layout Plain Layout
13652 Manual
13653 \end_layout
13654
13655 \end_inset
13656
13657 あるいは
13658 \begin_inset Flex Code
13659 status collapsed
13660
13661 \begin_layout Plain Layout
13662 Dynamic
13663 \end_layout
13664
13665 \end_inset
13666
13667 に設定されているときにも用いられることに注意してください.その場合には,
13668 これは手動設定余白または動的設定余白に加えられることに注意してください.
13669 \begin_inset Newline newline
13670 \end_inset
13671
13672 たとえば「
13673 \begin_inset Flex Code
13674 status collapsed
13675
13676 \begin_layout Plain Layout
13677 MM
13678 \end_layout
13679
13680 \end_inset
13681
13682 」と指定すると,
13683 段落を通常フォントの「
13684 \begin_inset Flex Code
13685 status collapsed
13686
13687 \begin_layout Plain Layout
13688 MM
13689 \end_layout
13690
13691 \end_inset
13692
13693 」の幅だけ行頭下げを行います.文字列の前に「
13694 \begin_inset Flex Code
13695 status collapsed
13696
13697 \begin_layout Plain Layout
13698 -
13699 \end_layout
13700
13701 \end_inset
13702
13703 」を付けると,
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 Margin
13714 \end_layout
13715
13716 \end_inset
13717
13718  [
13719 \begin_inset Flex Code
13720 status collapsed
13721
13722 \begin_layout Plain Layout
13723
13724 \emph on
13725 Static
13726 \emph default
13727 ,
13728  Manual,
13729  Dynamic,
13730  First_Dynamic,
13731  Right_Address_Box
13732 \end_layout
13733
13734 \end_inset
13735
13736
13737 \begin_inset Newline newline
13738 \end_inset
13739
13740 このレイアウトの左余白の種類です.
13741 \end_layout
13742
13743 \begin_deeper
13744 \begin_layout Description
13745 \begin_inset Flex Code
13746 status collapsed
13747
13748 \begin_layout Plain Layout
13749 Static
13750 \end_layout
13751
13752 \end_inset
13753
13754  は固定余白を示します.
13755 \end_layout
13756
13757 \begin_layout Description
13758 \begin_inset Flex Code
13759 status collapsed
13760
13761 \begin_layout Plain Layout
13762 Manual
13763 \end_layout
13764
13765 \end_inset
13766
13767  は,
13768 左余白が
13769 \begin_inset Flex MenuItem
13770 status collapsed
13771
13772 \begin_layout Plain Layout
13773 編集\SpecialChar menuseparator
13774 段落設定
13775 \end_layout
13776
13777 \end_inset
13778
13779 ダイアログで入力した文字列によって決められることを示します.これは,
13780 タブを用いずに整った一覧表を組むのに使用されます.
13781 \end_layout
13782
13783 \begin_layout Description
13784 \begin_inset Flex Code
13785 status collapsed
13786
13787 \begin_layout Plain Layout
13788 Dynamic
13789 \end_layout
13790
13791 \end_inset
13792
13793  は,
13794 余白がラベルの大きさに依存することを示します.これは,
13795 自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,
13796 「3.2 非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
13797 \end_layout
13798
13799 \begin_layout Description
13800 \begin_inset Flex Code
13801 status collapsed
13802
13803 \begin_layout Plain Layout
13804 First_Dynamic
13805 \end_layout
13806
13807 \end_inset
13808
13809  は似ていますが,
13810 段落の最初の行だけがDynamicでその他の行はStaticです.これは,
13811 たとえば,
13812 箇条書き(記述)に使用されます.
13813 \end_layout
13814
13815 \begin_layout Description
13816 \begin_inset Flex Code
13817 status collapsed
13818
13819 \begin_layout Plain Layout
13820 Right_Address_Box
13821 \end_layout
13822
13823 \end_inset
13824
13825  は,
13826 段落中,
13827 最も長い行が右余白に合うように余白を選択します.これは,
13828 ページの右端に住所を組版するのに用いられます.
13829 \end_layout
13830
13831 \end_deeper
13832 \begin_layout Description
13833 \begin_inset Flex Code
13834 status collapsed
13835
13836 \begin_layout Plain Layout
13837 NeedProtect
13838 \end_layout
13839
13840 \end_inset
13841
13842  [
13843 \begin_inset Flex Code
13844 status collapsed
13845
13846 \begin_layout Plain Layout
13847
13848 \emph on
13849 0
13850 \end_layout
13851
13852 \end_inset
13853
13854 ,
13855 \begin_inset space \thinspace{}
13856 \end_inset
13857
13858
13859 \begin_inset Flex Code
13860 status collapsed
13861
13862 \begin_layout Plain Layout
13863 1
13864 \end_layout
13865
13866 \end_inset
13867
13868 ] このレイアウト中の脆弱なコマンドが
13869 \begin_inset Flex Code
13870 status collapsed
13871
13872 \begin_layout Plain Layout
13873
13874 \backslash
13875 protect
13876 \end_layout
13877
13878 \end_inset
13879
13880 されるべきか否か(註:
13881 これはこのコマンド自体が
13882 \begin_inset Flex Code
13883 status collapsed
13884
13885 \begin_layout Plain Layout
13886
13887 \backslash
13888 protect
13889 \end_layout
13890
13891 \end_inset
13892
13893 されるべきかでは
13894 \begin_inset Flex 圏点
13895 status open
13896
13897 \begin_layout Plain Layout
13898 ありません
13899 \end_layout
13900
13901 \end_inset
13902
13903 ).
13904 \end_layout
13905
13906 \begin_layout Description
13907 \begin_inset Flex Code
13908 status collapsed
13909
13910 \begin_layout Plain Layout
13911 NeedCProtect
13912 \end_layout
13913
13914 \end_inset
13915
13916  [
13917 \begin_inset Flex Code
13918 status collapsed
13919
13920 \begin_layout Plain Layout
13921
13922 \emph on
13923 0
13924 \end_layout
13925
13926 \end_inset
13927
13928 ,
13929 \begin_inset space \thinspace{}
13930 \end_inset
13931
13932
13933 \begin_inset Flex Code
13934 status collapsed
13935
13936 \begin_layout Plain Layout
13937 1
13938 \end_layout
13939
13940 \end_inset
13941
13942 ] これは必要ならば,
13943 このレイアウトを含むマクロを
13944 \begin_inset Flex Code
13945 status collapsed
13946
13947 \begin_layout Plain Layout
13948
13949 \backslash
13950 cprotect
13951 \end_layout
13952
13953 \end_inset
13954
13955 (cf.
13956  
13957 \family sans
13958 cprotect
13959 \family default
13960 パッケージ)を用いて保護するようにし,
13961 マクロ中でverbatimを使えるようにします.
13962 \end_layout
13963
13964 \begin_layout Description
13965 \begin_inset Flex Code
13966 status collapsed
13967
13968 \begin_layout Plain Layout
13969 NeedMBoxProtect
13970 \end_layout
13971
13972 \end_inset
13973
13974  [
13975 \begin_inset Flex Code
13976 status collapsed
13977
13978 \begin_layout Plain Layout
13979
13980 \emph on
13981 0
13982 \end_layout
13983
13984 \end_inset
13985
13986 ,
13987 \begin_inset space \thinspace{}
13988 \end_inset
13989
13990
13991 \begin_inset Flex Code
13992 status collapsed
13993
13994 \begin_layout Plain Layout
13995 1
13996 \end_layout
13997
13998 \end_inset
13999
14000 ] この様式中の(
14001 \begin_inset Flex Code
14002 status collapsed
14003
14004 \begin_layout Plain Layout
14005
14006 \backslash
14007 cite
14008 \end_layout
14009
14010 \end_inset
14011
14012
14013 \begin_inset Flex Code
14014 status collapsed
14015
14016 \begin_layout Plain Layout
14017
14018 \backslash
14019 ref
14020 \end_layout
14021
14022 \end_inset
14023
14024 のような)特定のコマンドが
14025 \begin_inset Flex Code
14026 status collapsed
14027
14028 \begin_layout Plain Layout
14029
14030 \backslash
14031 mbox
14032 \end_layout
14033
14034 \end_inset
14035
14036 中で保護されるか否か.これは,
14037 中身を複雑な方法で解析する
14038 \family sans
14039 ulem
14040 \family default
14041
14042 \family sans
14043 soul
14044 \family default
14045 コマンドに頼る様式でとくに必要になります.
14046 \end_layout
14047
14048 \begin_layout Description
14049 \begin_inset Flex Code
14050 status collapsed
14051
14052 \begin_layout Plain Layout
14053 Newline
14054 \end_layout
14055
14056 \end_inset
14057
14058  [
14059 \begin_inset Flex Code
14060 status collapsed
14061
14062 \begin_layout Plain Layout
14063 0
14064 \end_layout
14065
14066 \end_inset
14067
14068 ,
14069 \begin_inset space \thinspace{}
14070 \end_inset
14071
14072
14073 \begin_inset Flex Code
14074 status collapsed
14075
14076 \begin_layout Plain Layout
14077
14078 \emph on
14079 1
14080 \end_layout
14081
14082 \end_inset
14083
14084 ] 新規行を\SpecialChar LaTeX
14085 の新規行(
14086 \begin_inset Flex Code
14087 status collapsed
14088
14089 \begin_layout Plain Layout
14090
14091 \backslash
14092
14093 \backslash
14094
14095 \end_layout
14096
14097 \end_inset
14098
14099 )に変換するか否か.\SpecialChar LyX
14100 中で\SpecialChar LaTeX
14101 編集をやりやすくするために,
14102 変換は無効にすることができます.
14103 \end_layout
14104
14105 \begin_layout Description
14106 \begin_inset Flex Code
14107 status collapsed
14108
14109 \begin_layout Plain Layout
14110 NextNoIndent
14111 \end_layout
14112
14113 \end_inset
14114
14115  [
14116 \begin_inset Flex Code
14117 status collapsed
14118
14119 \begin_layout Plain Layout
14120
14121 \emph on
14122 0
14123 \end_layout
14124
14125 \end_inset
14126
14127 ,
14128 \begin_inset space \thinspace{}
14129 \end_inset
14130
14131
14132 \begin_inset Flex Code
14133 status collapsed
14134
14135 \begin_layout Plain Layout
14136 1
14137 \end_layout
14138
14139 \end_inset
14140
14141 ] 真に設定すると,
14142
14143 \begin_inset Flex Code
14144 status collapsed
14145
14146 \begin_layout Plain Layout
14147 DefaultStyle
14148 \end_layout
14149
14150 \end_inset
14151
14152  (通常
14153 \begin_inset Flex Code
14154 status collapsed
14155
14156 \begin_layout Plain Layout
14157 Standard
14158 \end_layout
14159
14160 \end_inset
14161
14162 )段落が行頭下げになっている場合でも,
14163 この型の段落に続くそれらの段落は,
14164 字下げされません(逆に言えば,
14165 既定でない段落には影響を与えません).
14166 \end_layout
14167
14168 \begin_layout Description
14169 \begin_inset Flex Code
14170 status collapsed
14171
14172 \begin_layout Plain Layout
14173 ObsoletedBy
14174 \end_layout
14175
14176 \end_inset
14177
14178  [
14179 \begin_inset Flex Code
14180 status collapsed
14181
14182 \begin_layout Plain Layout
14183 <名称>
14184 \end_layout
14185
14186 \end_inset
14187
14188 ] このレイアウトが置き換えられたレイアウト名.これは,
14189 後方互換性を維持しながら,
14190 レイアウトの名称を変更するのに使用されます.
14191 \end_layout
14192
14193 \begin_layout Description
14194 \begin_inset Flex Code
14195 status collapsed
14196
14197 \begin_layout Plain Layout
14198 ParagraphGroup
14199 \end_layout
14200
14201 \end_inset
14202
14203  [
14204 \begin_inset Flex Code
14205 status collapsed
14206
14207 \begin_layout Plain Layout
14208 0
14209 \end_layout
14210
14211 \end_inset
14212
14213 ,
14214 \begin_inset space \thinspace{}
14215 \end_inset
14216
14217
14218 \begin_inset Flex Code
14219 status collapsed
14220
14221 \begin_layout Plain Layout
14222 1
14223 \end_layout
14224
14225 \end_inset
14226
14227 ] 同じ型の段落が引き続く場合,
14228 同じ段落として取り扱うか否かを決定します.これは,
14229 そのような連続グループに対して,
14230
14231 \begin_inset Flex Code
14232 status collapsed
14233
14234 \begin_layout Plain Layout
14235 GuiLabel
14236 \end_layout
14237
14238 \end_inset
14239
14240 が一度だけ出力される効果があります.既定では,
14241
14242 \begin_inset Flex Code
14243 status collapsed
14244
14245 \begin_layout Plain Layout
14246 LaTeXType
14247 \end_layout
14248
14249 \end_inset
14250
14251
14252
14253 \begin_inset Flex Code
14254 status collapsed
14255
14256 \begin_layout Plain Layout
14257 Environment
14258 \end_layout
14259
14260 \end_inset
14261
14262 および
14263 \begin_inset Flex Code
14264 status collapsed
14265
14266 \begin_layout Plain Layout
14267 Bib_Environment
14268 \end_layout
14269
14270 \end_inset
14271
14272  については有効であり,
14273 他の型すべてについて無効になっています.
14274 \end_layout
14275
14276 \begin_layout Description
14277 \begin_inset Flex Code
14278 status collapsed
14279
14280 \begin_layout Plain Layout
14281 ParbreakIsNewline
14282 \end_layout
14283
14284 \end_inset
14285
14286  [
14287 \begin_inset Flex Code
14288 status collapsed
14289
14290 \begin_layout Plain Layout
14291
14292 \emph on
14293 0
14294 \end_layout
14295
14296 \end_inset
14297
14298 ,
14299 \begin_inset space \thinspace{}
14300 \end_inset
14301
14302
14303 \begin_inset Flex Code
14304 status collapsed
14305
14306 \begin_layout Plain Layout
14307 1
14308 \end_layout
14309
14310 \end_inset
14311
14312 ] \SpecialChar LaTeX
14313 出力中で,
14314 段落を空行ではなく,
14315 改行で区切るよう指定します.
14316 \begin_inset Flex Code
14317 status collapsed
14318
14319 \begin_layout Plain Layout
14320 PassThru 1
14321 \end_layout
14322
14323 \end_inset
14324
14325 と併用すれば,
14326 (\SpecialChar TeX
14327 コードを使用したときのように)テキストエディタをエミュレートすることができます.
14328 \end_layout
14329
14330 \begin_layout Description
14331 \begin_inset Flex Code
14332 status collapsed
14333
14334 \begin_layout Plain Layout
14335 ParIndent
14336 \end_layout
14337
14338 \end_inset
14339
14340  [
14341 \begin_inset Flex Code
14342 status collapsed
14343
14344 \begin_layout Plain Layout
14345 文字列=""
14346 \end_layout
14347
14348 \end_inset
14349
14350 ] 段落の最初の行の行頭下げ.レイアウトによっては
14351 \begin_inset Flex Code
14352 status collapsed
14353
14354 \begin_layout Plain Layout
14355 Parindent
14356 \end_layout
14357
14358 \end_inset
14359
14360 は固定されています.例外には標準レイアウトがあり,
14361 標準レイアウトの段落の行頭下げは,
14362
14363 \begin_inset Flex Code
14364 status collapsed
14365
14366 \begin_layout Plain Layout
14367 NextNoIndent
14368 \end_layout
14369
14370 \end_inset
14371
14372 で禁止することができるようになっています.また,
14373 環境中の標準レイアウト段落は,
14374 当該段落の
14375 \begin_inset Flex Code
14376 status collapsed
14377
14378 \begin_layout Plain Layout
14379 Parindent
14380 \end_layout
14381
14382 \end_inset
14383
14384 ではなく,
14385 この環境の
14386 \begin_inset Flex Code
14387 status collapsed
14388
14389 \begin_layout Plain Layout
14390 Parindent
14391 \end_layout
14392
14393 \end_inset
14394
14395 を使用します.たとえば,
14396 箇条書き(連番)内の標準段落は,
14397 行頭下げされません.
14398 \end_layout
14399
14400 \begin_layout Description
14401 \begin_inset Flex Code
14402 status collapsed
14403
14404 \begin_layout Plain Layout
14405 ParSep
14406 \end_layout
14407
14408 \end_inset
14409
14410  [
14411 \begin_inset Flex Code
14412 status collapsed
14413
14414 \begin_layout Plain Layout
14415 浮動小数点型=0
14416 \end_layout
14417
14418 \end_inset
14419
14420 ] このレイアウトの2段落間の垂直余白.
14421 \end_layout
14422
14423 \begin_layout Description
14424 \begin_inset Flex Code
14425 status collapsed
14426
14427 \begin_layout Plain Layout
14428 Parskip
14429 \end_layout
14430
14431 \end_inset
14432
14433  [
14434 \begin_inset Flex Code
14435 status collapsed
14436
14437 \begin_layout Plain Layout
14438 浮動小数点型=0
14439 \end_layout
14440
14441 \end_inset
14442
14443 ] \SpecialChar LyX
14444 では,
14445 文書を組版するのに,
14446 ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,
14447 この値は完全に無視されます.「スキップ」を選択した際には,
14448 \SpecialChar LaTeX
14449 型「段落」レイアウトの
14450 \begin_inset Flex Code
14451 status collapsed
14452
14453 \begin_layout Plain Layout
14454 ParIndent
14455 \end_layout
14456
14457 \end_inset
14458
14459 は無視され,
14460 すべての段落はこの
14461 \begin_inset Flex Code
14462 status collapsed
14463
14464 \begin_layout Plain Layout
14465 Parskip
14466 \end_layout
14467
14468 \end_inset
14469
14470 引数分だけ引き離されます.垂直余白は,
14471
14472 \begin_inset Flex Code
14473 status collapsed
14474
14475 \begin_layout Plain Layout
14476 DefaultHeight
14477 \end_layout
14478
14479 \end_inset
14480
14481 を標準フォントでの1行の高さとすると,
14482
14483 \begin_inset Flex Code
14484 status collapsed
14485
14486 \begin_layout Plain Layout
14487 Parskipの値
14488 \end_layout
14489
14490 \end_inset
14491
14492
14493 \begin_inset Formula $\times$
14494 \end_inset
14495
14496
14497 \begin_inset Flex Code
14498 status collapsed
14499
14500 \begin_layout Plain Layout
14501 DefaultHeight
14502 \end_layout
14503
14504 \end_inset
14505
14506 によって計算されます.このようにして,
14507 画面フォントを変更しても同じように表示されるのです.
14508 \end_layout
14509
14510 \begin_layout Description
14511 \begin_inset Flex Code
14512 status collapsed
14513
14514 \begin_layout Plain Layout
14515 PassThru
14516 \end_layout
14517
14518 \end_inset
14519
14520  [
14521 \emph on
14522
14523 \begin_inset Flex Code
14524 status collapsed
14525
14526 \begin_layout Plain Layout
14527 0
14528 \end_layout
14529
14530 \end_inset
14531
14532
14533 \emph default
14534 ,
14535 \begin_inset space \thinspace{}
14536 \end_inset
14537
14538
14539 \begin_inset Flex Code
14540 status collapsed
14541
14542 \begin_layout Plain Layout
14543 1
14544 \end_layout
14545
14546 \end_inset
14547
14548 ] この段落の内容が,
14549 \SpecialChar LaTeX
14550 が必要とするような特別な変換を行わずに,
14551 生の形で出力されるべきかどうか.
14552 \end_layout
14553
14554 \begin_layout Description
14555 \begin_inset Flex Code
14556 status collapsed
14557
14558 \begin_layout Plain Layout
14559 PassThruChars
14560 \end_layout
14561
14562 \end_inset
14563
14564  [
14565 \begin_inset Flex Code
14566 status collapsed
14567
14568 \begin_layout Plain Layout
14569 文字列
14570 \end_layout
14571
14572 \end_inset
14573
14574 ]
14575 \family typewriter
14576  
14577 \family default
14578 \SpecialChar LaTeX
14579 が要請する特別な翻訳なしで.生の形で出力されるべき,
14580 それぞれの文字を定義します.
14581 \end_layout
14582
14583 \begin_layout Description
14584 \begin_inset Flex Code
14585 status collapsed
14586
14587 \begin_layout Plain Layout
14588 Preamble
14589 \end_layout
14590
14591 \end_inset
14592
14593  この様式が使用されたときに,
14594 \SpecialChar LaTeX
14595 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,
14596 パッケージを読み込んだりと言ったことに使用します.「
14597 \begin_inset Flex Code
14598 status collapsed
14599
14600 \begin_layout Plain Layout
14601 EndPreamble
14602 \end_layout
14603
14604 \end_inset
14605
14606 」で閉じる必要があります.
14607 \end_layout
14608
14609 \begin_layout Description
14610 \begin_inset Flex Code
14611 status collapsed
14612
14613 \begin_layout Plain Layout
14614 RefPrefix
14615 \end_layout
14616
14617 \end_inset
14618
14619  [
14620 \begin_inset Flex Code
14621 status collapsed
14622
14623 \begin_layout Plain Layout
14624 文字列
14625 \end_layout
14626
14627 \end_inset
14628
14629 ] この型の段落を参照する際,
14630 生成されるラベルに使用する前置句.これによって,
14631 整形参照を使用することができるようになります.
14632 \end_layout
14633
14634 \begin_layout Description
14635 \begin_inset Flex Code
14636 status collapsed
14637
14638 \begin_layout Plain Layout
14639 Requires
14640 \end_layout
14641
14642 \end_inset
14643
14644  [
14645 \begin_inset Flex Code
14646 status collapsed
14647
14648 \begin_layout Plain Layout
14649 文字列
14650 \end_layout
14651
14652 \end_inset
14653
14654 ] この様式が機能
14655 \begin_inset Flex Code
14656 status collapsed
14657
14658 \begin_layout Plain Layout
14659 文字列
14660 \end_layout
14661
14662 \end_inset
14663
14664 を必要とするかどうか(機能詳細については,
14665
14666 \begin_inset CommandInset ref
14667 LatexCommand ref
14668 reference "chap:関数一覧"
14669 nolink "false"
14670
14671 \end_inset
14672
14673 節参照).特定のオプションをとるパッケージを要求する場合,
14674
14675 \begin_inset Flex Code
14676 status collapsed
14677
14678 \begin_layout Plain Layout
14679 PackageOptions
14680 \end_layout
14681
14682 \end_inset
14683
14684 を汎用テキストクラスパラメータとして追加して使うことができます(
14685 \begin_inset CommandInset ref
14686 LatexCommand ref
14687 reference "subsec:汎用テキストクラスパラメータ"
14688 nolink "false"
14689
14690 \end_inset
14691
14692 を参照).
14693 \end_layout
14694
14695 \begin_layout Description
14696 \begin_inset Flex Code
14697 status collapsed
14698
14699 \begin_layout Plain Layout
14700 ResetArgs
14701 \end_layout
14702
14703 \end_inset
14704
14705  [
14706 \begin_inset Flex Code
14707 status collapsed
14708
14709 \begin_layout Plain Layout
14710
14711 \emph on
14712 0
14713 \end_layout
14714
14715 \end_inset
14716
14717 ,
14718 \begin_inset Flex Code
14719 status collapsed
14720
14721 \begin_layout Plain Layout
14722 1
14723 \end_layout
14724
14725 \end_inset
14726
14727 ] (
14728 \begin_inset Flex Code
14729 status collapsed
14730
14731 \begin_layout Plain Layout
14732 Argument
14733 \end_layout
14734
14735 \end_inset
14736
14737 タグで定義された)この様式の\SpecialChar LaTeX
14738 引数をリセットします.これは,
14739 様式を
14740 \begin_inset Flex Code
14741 status collapsed
14742
14743 \begin_layout Plain Layout
14744 CopyStyle
14745 \end_layout
14746
14747 \end_inset
14748
14749 でコピーし,
14750 その(必須及び非必須)引数は継承したくない場合に便利です.
14751 \end_layout
14752
14753 \begin_layout Description
14754 \begin_inset Flex Code
14755 status collapsed
14756
14757 \begin_layout Plain Layout
14758 ResumeCounter
14759 \end_layout
14760
14761 \end_inset
14762
14763  [
14764 \begin_inset Flex Code
14765 status collapsed
14766
14767 \begin_layout Plain Layout
14768
14769 \emph on
14770 0
14771 \end_layout
14772
14773 \end_inset
14774
14775 ,
14776 \begin_inset Flex Code
14777 status collapsed
14778
14779 \begin_layout Plain Layout
14780 1
14781 \end_layout
14782
14783 \end_inset
14784
14785 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
14786
14787 \begin_inset Flex Code
14788 status collapsed
14789
14790 \begin_layout Plain Layout
14791 LabelType
14792 \end_layout
14793
14794 \end_inset
14795
14796
14797 \begin_inset Flex Code
14798 status collapsed
14799
14800 \begin_layout Plain Layout
14801 Enumerate
14802 \end_layout
14803
14804 \end_inset
14805
14806 の時のみ有効です.
14807 \end_layout
14808
14809 \begin_layout Description
14810 \begin_inset Flex Code
14811 status collapsed
14812
14813 \begin_layout Plain Layout
14814 RightDelim
14815 \end_layout
14816
14817 \end_inset
14818
14819  [
14820 \begin_inset Flex Code
14821 status collapsed
14822
14823 \begin_layout Plain Layout
14824 文字列
14825 \end_layout
14826
14827 \end_inset
14828
14829 ] 様式の内容の最後に置かれる文字列.出力中の改行は
14830 \begin_inset Flex Code
14831 status collapsed
14832
14833 \begin_layout Plain Layout
14834 <br/>
14835 \end_layout
14836
14837 \end_inset
14838
14839 で指示できます.
14840 \end_layout
14841
14842 \begin_layout Description
14843 \begin_inset Flex Code
14844 status collapsed
14845
14846 \begin_layout Plain Layout
14847 RightMargin
14848 \end_layout
14849
14850 \end_inset
14851
14852  [
14853 \begin_inset Flex Code
14854 status collapsed
14855
14856 \begin_layout Plain Layout
14857 文字列=""
14858 \end_layout
14859
14860 \end_inset
14861
14862
14863 \begin_inset Flex Code
14864 status collapsed
14865
14866 \begin_layout Plain Layout
14867 LeftMargin
14868 \end_layout
14869
14870 \end_inset
14871
14872 に同様.
14873 \end_layout
14874
14875 \begin_layout Description
14876 \begin_inset Flex Code
14877 status collapsed
14878
14879 \begin_layout Plain Layout
14880 Spacing
14881 \end_layout
14882
14883 \end_inset
14884
14885  [
14886 \begin_inset Flex Code
14887 status collapsed
14888
14889 \begin_layout Plain Layout
14890
14891 \emph on
14892 single
14893 \end_layout
14894
14895 \end_inset
14896
14897 ,
14898  
14899 \begin_inset Flex Code
14900 status collapsed
14901
14902 \begin_layout Plain Layout
14903 onehalf
14904 \end_layout
14905
14906 \end_inset
14907
14908 ,
14909  
14910 \begin_inset Flex Code
14911 status collapsed
14912
14913 \begin_layout Plain Layout
14914 double
14915 \end_layout
14916
14917 \end_inset
14918
14919 ,
14920  
14921 \begin_inset Flex Code
14922 status collapsed
14923
14924 \begin_layout Plain Layout
14925 other
14926 \begin_inset space ~
14927 \end_inset
14928
14929 <
14930 \emph on
14931
14932 \emph default
14933 >
14934 \end_layout
14935
14936 \end_inset
14937
14938 ]
14939 \lang english
14940  
14941 \lang japanese
14942 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
14943 \begin_inset Flex Code
14944 status collapsed
14945
14946 \begin_layout Plain Layout
14947 single
14948 \end_layout
14949
14950 \end_inset
14951
14952
14953 \begin_inset Flex Code
14954 status collapsed
14955
14956 \begin_layout Plain Layout
14957 onehalf
14958 \end_layout
14959
14960 \end_inset
14961
14962
14963 \begin_inset Flex Code
14964 status collapsed
14965
14966 \begin_layout Plain Layout
14967 double
14968 \end_layout
14969
14970 \end_inset
14971
14972 は,
14973 それぞれ乗数1・1.25・1.667に対応します.引数
14974 \begin_inset Flex Code
14975 status collapsed
14976
14977 \begin_layout Plain Layout
14978 other
14979 \end_layout
14980
14981 \end_inset
14982
14983 を指定した場合には,
14984 実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
14985 \begin_inset Flex Code
14986 status collapsed
14987
14988 \begin_layout Plain Layout
14989 Spacing
14990 \end_layout
14991
14992 \end_inset
14993
14994 は,
14995 \SpecialChar LaTeX
14996 パッケージ
14997 \begin_inset Flex Code
14998 status collapsed
14999
15000 \begin_layout Plain Layout
15001 setspace
15002 \end_layout
15003
15004 \end_inset
15005
15006 パッケージを使用した,
15007 限定的な\SpecialChar LaTeX
15008 コードを生成することを意味することにご注意ください.
15009 \end_layout
15010
15011 \begin_layout Description
15012 \begin_inset Flex Code
15013 status collapsed
15014
15015 \begin_layout Plain Layout
15016 Spellcheck
15017 \end_layout
15018
15019 \end_inset
15020
15021  [
15022 \begin_inset Flex Code
15023 status collapsed
15024
15025 \begin_layout Plain Layout
15026 0
15027 \end_layout
15028
15029 \end_inset
15030
15031 ,
15032 \begin_inset space \thinspace{}
15033 \end_inset
15034
15035
15036 \begin_inset Flex Code
15037 status collapsed
15038
15039 \begin_layout Plain Layout
15040 1
15041 \end_layout
15042
15043 \end_inset
15044
15045 ] この様式の段落をスペルチェックするか否か.既定値は真です.
15046 \end_layout
15047
15048 \begin_layout Description
15049 \begin_inset Flex Code
15050 status collapsed
15051
15052 \begin_layout Plain Layout
15053 StepParentCounter
15054 \end_layout
15055
15056 \end_inset
15057
15058  [
15059 \begin_inset Flex Code
15060 status collapsed
15061
15062 \begin_layout Plain Layout
15063
15064 \emph on
15065 0
15066 \end_layout
15067
15068 \end_inset
15069
15070 ,
15071 \begin_inset Flex Code
15072 status collapsed
15073
15074 \begin_layout Plain Layout
15075 1
15076 \end_layout
15077
15078 \end_inset
15079
15080 ] 新しいレイアウト群を開始する際に,
15081 このカウンタの親カウンタを進めるか否か.これは,
15082 現在のところ,
15083
15084 \begin_inset Flex Code
15085 status collapsed
15086
15087 \begin_layout Plain Layout
15088 LabelType
15089 \end_layout
15090
15091 \end_inset
15092
15093
15094 \begin_inset Flex Code
15095 status collapsed
15096
15097 \begin_layout Plain Layout
15098 Enumerate
15099 \end_layout
15100
15101 \end_inset
15102
15103 の時のみ有効です.
15104 \end_layout
15105
15106 \begin_layout Description
15107 \begin_inset Flex Code
15108 status collapsed
15109
15110 \begin_layout Plain Layout
15111 TextFont
15112 \end_layout
15113
15114 \end_inset
15115
15116  本文に使うフォント.第
15117 \begin_inset CommandInset ref
15118 LatexCommand ref
15119 reference "subsec:フォント指定"
15120 nolink "false"
15121
15122 \end_inset
15123
15124 節参照.
15125 \end_layout
15126
15127 \begin_layout Description
15128 \begin_inset Flex Code
15129 status collapsed
15130
15131 \begin_layout Plain Layout
15132 TocLevel
15133 \end_layout
15134
15135 \end_inset
15136
15137  [
15138 \begin_inset Flex Code
15139 status collapsed
15140
15141 \begin_layout Plain Layout
15142 整数型=3
15143 \end_layout
15144
15145 \end_inset
15146
15147 ] 目次中でのこの様式の階層.これは,
15148 節見出しの自動連番に使用されます.
15149 \end_layout
15150
15151 \begin_layout Description
15152 \begin_inset Flex Code
15153 status collapsed
15154
15155 \begin_layout Plain Layout
15156 ToggleIndent
15157 \end_layout
15158
15159 \end_inset
15160
15161  [
15162 \emph on
15163
15164 \begin_inset Flex Code
15165 status collapsed
15166
15167 \begin_layout Plain Layout
15168 default
15169 \end_layout
15170
15171 \end_inset
15172
15173
15174 \emph default
15175 ,
15176  
15177 \begin_inset Flex Code
15178 status collapsed
15179
15180 \begin_layout Plain Layout
15181 always
15182 \end_layout
15183
15184 \end_inset
15185
15186 ,
15187  
15188 \begin_inset Flex Code
15189 status collapsed
15190
15191 \begin_layout Plain Layout
15192 never
15193 \end_layout
15194
15195 \end_inset
15196
15197 ] このタグは,
15198 この段落の1行目の行頭下げが,
15199 段落設定ダイアログで切り替えられるかどうかを決めます.
15200 \begin_inset Flex Code
15201 status collapsed
15202
15203 \begin_layout Plain Layout
15204 default
15205 \end_layout
15206
15207 \end_inset
15208
15209 が指定されると,
15210 文書設定が「行頭下げ」段落様式を使用しているときに,
15211 行頭下げを変更することができます.
15212 \begin_inset Flex Code
15213 status collapsed
15214
15215 \begin_layout Plain Layout
15216 always
15217 \end_layout
15218
15219 \end_inset
15220
15221 は,
15222 文書設定にかかわらず変更することができ,
15223
15224 \begin_inset Flex Code
15225 status collapsed
15226
15227 \begin_layout Plain Layout
15228 never
15229 \end_layout
15230
15231 \end_inset
15232
15233 は,
15234 どのような場合でも変更することができません.
15235 \end_layout
15236
15237 \begin_layout Description
15238 \begin_inset Flex Code
15239 status collapsed
15240
15241 \begin_layout Plain Layout
15242 TopSep
15243 \end_layout
15244
15245 \end_inset
15246
15247  [
15248 \begin_inset Flex Code
15249 status collapsed
15250
15251 \begin_layout Plain Layout
15252 浮動小数点型=0
15253 \end_layout
15254
15255 \end_inset
15256
15257 ] このレイアウトを持つ一連の段落群の最初の段落と,
15258 その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,
15259 余白は単純に追加されるのではなく,
15260 それらの最大値がとられます.
15261 \end_layout
15262
15263 \begin_layout Subsection
15264 段落様式の国際化
15265 \begin_inset CommandInset label
15266 LatexCommand label
15267 name "subsec:段落様式の国際化"
15268
15269 \end_inset
15270
15271
15272 \end_layout
15273
15274 \begin_layout Standard
15275 \SpecialChar LyX
15276 は,
15277 長きにわたってレイアウト情報の国際化をサポートしてきましたが,
15278 第2.0版までは,
15279 これは操作画面にのみ適用されるものであって,
15280 たとえばPDF出力には適用されませんでした.たとえば,
15281 フランスの著者が,
15282 「Theorem 1」の代わりに「
15283 \lang french
15284 Théorème
15285 \lang japanese
15286  1」としたければ,
15287 醜いハックに頼るしかありませんでした.Georg Baumのおかげで,
15288 これは解消されました.
15289 \end_layout
15290
15291 \begin_layout Standard
15292 もし
15293 \begin_inset Flex MenuItem
15294 status collapsed
15295
15296 \begin_layout Plain Layout
15297 Style
15298 \end_layout
15299
15300 \end_inset
15301
15302 が,
15303 組版文書に出力される文字列を定義するのであれば,
15304 非英語文書や複数言語文書をサポートするために,
15305
15306 \begin_inset Flex MenuItem
15307 status collapsed
15308
15309 \begin_layout Plain Layout
15310 LangPreamble
15311 \end_layout
15312
15313 \end_inset
15314
15315
15316 \begin_inset Flex MenuItem
15317 status collapsed
15318
15319 \begin_layout Plain Layout
15320 BabelPreamble
15321 \end_layout
15322
15323 \end_inset
15324
15325 を使用することができます.以下の抜粋(
15326 \begin_inset Flex MenuItem
15327 status collapsed
15328
15329 \begin_layout Plain Layout
15330 theorems-ams.inc
15331 \end_layout
15332
15333 \end_inset
15334
15335 より)は,
15336 これがどう動作するかを示すものです.
15337 \end_layout
15338
15339 \begin_layout LyX-Code
15340 Preamble
15341 \end_layout
15342
15343 \begin_deeper
15344 \begin_layout LyX-Code
15345   
15346 \backslash
15347 theoremstyle{remark}
15348 \end_layout
15349
15350 \begin_layout LyX-Code
15351   
15352 \backslash
15353 newtheorem{claim}[thm]{
15354 \backslash
15355 protect
15356 \backslash
15357 claimname}
15358 \end_layout
15359
15360 \begin_layout LyX-Code
15361 EndPreamble
15362 \end_layout
15363
15364 \begin_layout LyX-Code
15365 LangPreamble
15366 \end_layout
15367
15368 \begin_layout LyX-Code
15369   
15370 \backslash
15371 providecommand{
15372 \backslash
15373 claimname}{_(Claim)}
15374 \end_layout
15375
15376 \begin_layout LyX-Code
15377 EndLangPreamble
15378 \end_layout
15379
15380 \begin_layout LyX-Code
15381 BabelPreamble
15382 \end_layout
15383
15384 \begin_layout LyX-Code
15385     
15386 \backslash
15387 addto
15388 \backslash
15389 captions$$lang{
15390 \backslash
15391 renewcommand{
15392 \backslash
15393 claimname}{_(Claim)}}
15394 \end_layout
15395
15396 \begin_layout LyX-Code
15397 EndBabelPreamble
15398 \end_layout
15399
15400 \end_deeper
15401 \begin_layout Standard
15402 原則として,
15403
15404 \begin_inset Flex MenuItem
15405 status collapsed
15406
15407 \begin_layout Plain Layout
15408 LangPreamble
15409 \end_layout
15410
15411 \end_inset
15412
15413
15414 \begin_inset Flex MenuItem
15415 status collapsed
15416
15417 \begin_layout Plain Layout
15418 BabelPreamble
15419 \end_layout
15420
15421 \end_inset
15422
15423 タグ内には,
15424 有効な\SpecialChar LaTeX
15425 コードはすべて用いることができますが,
15426 実際においては,
15427 ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるのは,
15428 \SpecialChar LaTeX
15429 コマンド
15430 \begin_inset Flex Code
15431 status collapsed
15432
15433 \begin_layout Plain Layout
15434
15435 \backslash
15436 claimname
15437 \end_layout
15438
15439 \end_inset
15440
15441 とその
15442 \begin_inset Flex Code
15443 status collapsed
15444
15445 \begin_layout Plain Layout
15446
15447 \backslash
15448 newtheorem
15449 \end_layout
15450
15451 \end_inset
15452
15453 中での用い方です.
15454 \end_layout
15455
15456 \begin_layout Standard
15457 \begin_inset Flex Code
15458 status collapsed
15459
15460 \begin_layout Plain Layout
15461 LangPreamble
15462 \end_layout
15463
15464 \end_inset
15465
15466 タグは,
15467 文書全体の言語に基づいた国際化を提供します.タグの内容は,
15468
15469 \begin_inset Flex Code
15470 status collapsed
15471
15472 \begin_layout Plain Layout
15473 Preamble
15474 \end_layout
15475
15476 \end_inset
15477
15478 タグと同様,
15479 プリアンブルに置かれるのですが,
15480 これを特別なものにしているのは,
15481 「関数」
15482 \begin_inset Flex Code
15483 status collapsed
15484
15485 \begin_layout Plain Layout
15486 _()
15487 \end_layout
15488
15489 \end_inset
15490
15491 が使用されていることです.これは,
15492 \SpecialChar LyX
15493 が\SpecialChar LaTeX
15494 出力を生成する際,
15495 その引数を文書言語に翻訳したもので置き換えられます.
15496 \end_layout
15497
15498 \begin_layout Standard
15499 \begin_inset Flex Code
15500 status collapsed
15501
15502 \begin_layout Plain Layout
15503 BabelPreamble
15504 \end_layout
15505
15506 \end_inset
15507
15508 タグは,
15509 複数言語文書をサポートし,
15510
15511 \begin_inset Flex Code
15512 status collapsed
15513
15514 \begin_layout Plain Layout
15515 babel
15516 \end_layout
15517
15518 \end_inset
15519
15520 パッケージへのインタフェースを提供することを意図しているので,
15521 もう少し複雑です.その内容は,
15522 文書に現れる言語それぞれについて一度,
15523 プリアンブルに追加されます.この場合には,
15524
15525 \begin_inset Flex Code
15526 status collapsed
15527
15528 \begin_layout Plain Layout
15529 _()
15530 \end_layout
15531
15532 \end_inset
15533
15534 の引数は,
15535 その当該言語への翻訳で置き換えられ,
15536
15537 \begin_inset Flex Code
15538 status collapsed
15539
15540 \begin_layout Plain Layout
15541 $$lang
15542 \end_layout
15543
15544 \end_inset
15545
15546 は言語名(babelパッケージで使用されるもの)で置き換えられます.
15547 \end_layout
15548
15549 \begin_layout Standard
15550 したがって,
15551 フランス語のセクションを持つドイツ語文書では,
15552 以下のような内容がプリアンブルに追加されます
15553 \end_layout
15554
15555 \begin_layout LyX-Code
15556
15557 \backslash
15558 addto
15559 \backslash
15560 captionsfrench{
15561 \backslash
15562 renewcommand{
15563 \backslash
15564 claimname}{Affirmation}}
15565 \begin_inset Newline newline
15566 \end_inset
15567
15568
15569 \backslash
15570 addto
15571 \backslash
15572 captionsngerman{
15573 \backslash
15574 renewcommand{
15575 \backslash
15576 claimname}{Behauptung}}
15577 \begin_inset Newline newline
15578 \end_inset
15579
15580
15581 \backslash
15582 providecommand{
15583 \backslash
15584 claimname}{Behauptung}
15585 \end_layout
15586
15587 \begin_layout Standard
15588 それから,
15589 \SpecialChar LaTeX
15590
15591 \begin_inset Flex Code
15592 status collapsed
15593
15594 \begin_layout Plain Layout
15595 babel
15596 \end_layout
15597
15598 \end_inset
15599
15600 は協力して,
15601 出力に正しい文字列を生成します.
15602 \end_layout
15603
15604 \begin_layout Standard
15605 ここで注意しておくべき一つの重要な点は,
15606 翻訳は,
15607
15608 \begin_inset Flex Code
15609 status collapsed
15610
15611 \begin_layout Plain Layout
15612 layouttranslations
15613 \end_layout
15614
15615 \end_inset
15616
15617 ファイルを通じて,
15618 \SpecialChar LyX
15619 自身によって提供されるということです.つまり,
15620 ユーザー作成のレイアウトファイルに入力された文字列は,
15621
15622 \begin_inset Flex Code
15623 status collapsed
15624
15625 \begin_layout Plain Layout
15626 layouttranslations
15627 \end_layout
15628
15629 \end_inset
15630
15631 ファイルをそれに応じて変更しない限り,
15632 \SpecialChar LyX
15633 の国際化ルーチンでは取り扱われないので,
15634
15635 \begin_inset Flex MenuItem
15636 status collapsed
15637
15638 \begin_layout Plain Layout
15639 LangPreamble
15640 \end_layout
15641
15642 \end_inset
15643
15644
15645 \begin_inset Flex MenuItem
15646 status collapsed
15647
15648 \begin_layout Plain Layout
15649 BabelPreamble
15650 \end_layout
15651
15652 \end_inset
15653
15654 は,
15655 事実上,
15656 \SpecialChar LyX
15657 とともに提供されるレイアウトファイルでのみ,
15658 使うことができるということを意味します.とはいえ,
15659 こういうことでありますので,
15660 将来的に\SpecialChar LyX
15661 に同梱させようという意図を以て作成されたレイアウトは,
15662 適切なところではすべて,
15663 これらのタグを使用するべきです.\SpecialChar LyX
15664 が提供する段落様式の翻訳は,
15665 マイナー更新(例えば2.1.x版から2.1.y版)では変更されないことに注意してください.しかしながら,
15666 メジャー更新(例えば2.0.x版から2.1.y版)では,
15667 新しい翻訳や修正が導入される可能性は大いにあります.
15668 \end_layout
15669
15670 \begin_layout Subsection
15671 フロート
15672 \begin_inset CommandInset label
15673 LatexCommand label
15674 name "subsec:フロート"
15675
15676 \end_inset
15677
15678
15679 \end_layout
15680
15681 \begin_layout Standard
15682 \SpecialChar LyX
15683 第1.3.0版以来,
15684 テキストクラス自体の中でフロート(
15685 \begin_inset Flex MenuItem
15686 status collapsed
15687
15688 \begin_layout Plain Layout
15689 figure
15690 \end_layout
15691
15692 \end_inset
15693
15694
15695 \begin_inset Flex MenuItem
15696 status collapsed
15697
15698 \begin_layout Plain Layout
15699 table
15700 \end_layout
15701
15702 \end_inset
15703
15704 ・\SpecialChar ldots
15705 )を定義することが可能となり,
15706 かつ必要となりました.標準的なフロートは
15707 \begin_inset Flex Code
15708 status collapsed
15709
15710 \begin_layout Plain Layout
15711 stdfloats.inc
15712 \end_layout
15713
15714 \end_inset
15715
15716 ファイルに含まれているので,
15717 作業中のレイアウトファイルに
15718 \end_layout
15719
15720 \begin_layout LyX-Code
15721 Input stdfloats.inc
15722 \end_layout
15723
15724 \begin_layout Standard
15725 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
15726 に同梱されているAGUクラスのように,
15727 それ以外のフロート型を提供するテキストクラスを実装するには,
15728 以下の情報が役立つでありましょう.
15729 \end_layout
15730
15731 \begin_layout Description
15732 \begin_inset Flex Code
15733 status collapsed
15734
15735 \begin_layout Plain Layout
15736 AllowedPlacement
15737 \end_layout
15738
15739 \end_inset
15740
15741  [
15742 \begin_inset Flex Code
15743 status collapsed
15744
15745 \begin_layout Plain Layout
15746 文字列
15747 \end_layout
15748
15749 \end_inset
15750
15751 =!htbpH] このフロート型に許可された配置用の選択肢.値は,
15752 配置文字からなる文字列です.使用できる文字には,
15753
15754 \emph on
15755 h
15756 \emph default
15757  (
15758 \begin_inset Quotes eld
15759 \end_inset
15760
15761 here if possible:
15762 可能ならば現在位置に
15763 \begin_inset Quotes erd
15764 \end_inset
15765
15766 ),
15767  
15768 \emph on
15769 t
15770 \emph default
15771  (
15772 \begin_inset Quotes eld
15773 \end_inset
15774
15775 top of page:
15776 ページ上部
15777 \begin_inset Quotes erd
15778 \end_inset
15779
15780 )・
15781 \emph on
15782 b
15783 \emph default
15784  (
15785 \begin_inset Quotes eld
15786 \end_inset
15787
15788 bottom of page:
15789 ページ下部
15790 \begin_inset Quotes erd
15791 \end_inset
15792
15793 )・
15794 \emph on
15795 p
15796 \emph default
15797  (
15798 \begin_inset Quotes eld
15799 \end_inset
15800
15801 page of floats:
15802 フロートを独立したページに
15803 \begin_inset Quotes erd
15804 \end_inset
15805
15806 )・
15807 \emph on
15808 H
15809 \emph default
15810  (
15811 \begin_inset Quotes eld
15812 \end_inset
15813
15814 here definitely:
15815 何としても現在位置に置く
15816 \begin_inset Quotes erd
15817 \end_inset
15818
15819 )・
15820 \emph on
15821 !
15822
15823 \emph default
15824  (
15825 \begin_inset Quotes eld
15826 \end_inset
15827
15828 ignore LaTeX rules:
15829 LaTeXの規則を無視する
15830 \begin_inset Quotes erd
15831 \end_inset
15832
15833 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,
15834 文字列として
15835 \emph on
15836 none
15837 \emph default
15838 を与えてください.
15839 \end_layout
15840
15841 \begin_layout Description
15842 \begin_inset Flex Code
15843 status collapsed
15844
15845 \begin_layout Plain Layout
15846 AllowsSideways
15847 \end_layout
15848
15849 \end_inset
15850
15851  [
15852 \begin_inset Flex Code
15853 status collapsed
15854
15855 \begin_layout Plain Layout
15856 0
15857 \end_layout
15858
15859 \end_inset
15860
15861 ,
15862 \begin_inset space \thinspace{}
15863 \end_inset
15864
15865
15866 \emph on
15867
15868 \begin_inset Flex Code
15869 status collapsed
15870
15871 \begin_layout Plain Layout
15872 1
15873 \end_layout
15874
15875 \end_inset
15876
15877
15878 \emph default
15879 ] フロートを,
15880 \SpecialChar LaTeX
15881 パッケージの
15882 \family typewriter
15883 rotfloat
15884 \family default
15885  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
15886
15887 \begin_inset Flex Code
15888 status collapsed
15889
15890 \begin_layout Plain Layout
15891 0
15892 \end_layout
15893
15894 \end_inset
15895
15896 を指定してください.
15897 \end_layout
15898
15899 \begin_layout Description
15900 \begin_inset Flex Code
15901 status collapsed
15902
15903 \begin_layout Plain Layout
15904 AllowsWide
15905 \end_layout
15906
15907 \end_inset
15908
15909  [
15910 \begin_inset Flex Code
15911 status collapsed
15912
15913 \begin_layout Plain Layout
15914 0
15915 \end_layout
15916
15917 \end_inset
15918
15919 ,
15920 \begin_inset space \thinspace{}
15921 \end_inset
15922
15923
15924 \emph on
15925
15926 \begin_inset Flex Code
15927 status collapsed
15928
15929 \begin_layout Plain Layout
15930 1
15931 \end_layout
15932
15933 \end_inset
15934
15935
15936 \emph default
15937 ] このフロートに,
15938 二段組段落において段落をまたぐ,
15939 星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
15940
15941 \begin_inset Flex Code
15942 status collapsed
15943
15944 \begin_layout Plain Layout
15945 0
15946 \end_layout
15947
15948 \end_inset
15949
15950 を指定してください.
15951 \end_layout
15952
15953 \begin_layout Description
15954 \begin_inset Flex Code
15955 status collapsed
15956
15957 \begin_layout Plain Layout
15958 Extension
15959 \end_layout
15960
15961 \end_inset
15962
15963  [
15964 \begin_inset Flex Code
15965 status collapsed
15966
15967 \begin_layout Plain Layout
15968 文字列
15969 \end_layout
15970
15971 \end_inset
15972
15973 =
15974 \begin_inset Quotes erd
15975 \end_inset
15976
15977
15978 \begin_inset Quotes erd
15979 \end_inset
15980
15981 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
15982 がキャプションを書き込むファイルです.
15983 \end_layout
15984
15985 \begin_layout Description
15986 \begin_inset Flex Code
15987 status collapsed
15988
15989 \begin_layout Plain Layout
15990 GuiName
15991 \end_layout
15992
15993 \end_inset
15994
15995  [
15996 \begin_inset Flex Code
15997 status collapsed
15998
15999 \begin_layout Plain Layout
16000 文字列
16001 \end_layout
16002
16003 \end_inset
16004
16005 =
16006 \begin_inset Quotes erd
16007 \end_inset
16008
16009
16010 \begin_inset Quotes erd
16011 \end_inset
16012
16013 ] メニューとキャプションに使用される文字列.babelが使用される場合には,
16014 これは現在の言語に翻訳されます.
16015 \end_layout
16016
16017 \begin_layout Description
16018 \begin_inset Flex Code
16019 status collapsed
16020
16021 \begin_layout Plain Layout
16022 HTML*
16023 \end_layout
16024
16025 \end_inset
16026
16027  これらは,
16028 XHTML出力で使用されます.
16029 \begin_inset CommandInset ref
16030 LatexCommand ref
16031 reference "sec:XHTML出力のタグ"
16032 nolink "false"
16033
16034 \end_inset
16035
16036 をご覧ください.
16037 \end_layout
16038
16039 \begin_layout Description
16040 \begin_inset Flex Code
16041 status collapsed
16042
16043 \begin_layout Plain Layout
16044 IsPredefined
16045 \end_layout
16046
16047 \end_inset
16048
16049  [
16050 \begin_inset Flex Code
16051 status collapsed
16052
16053 \begin_layout Plain Layout
16054
16055 \emph on
16056 0
16057 \end_layout
16058
16059 \end_inset
16060
16061 ,
16062 \begin_inset space \thinspace{}
16063 \end_inset
16064
16065
16066 \begin_inset Flex Code
16067 status collapsed
16068
16069 \begin_layout Plain Layout
16070 1
16071 \end_layout
16072
16073 \end_inset
16074
16075 ] フロートがドキュメントクラス中に既に定義されているのか,
16076 あるいは\SpecialChar LaTeX
16077 パッケージ
16078 \begin_inset Flex Code
16079 status collapsed
16080
16081 \begin_layout Plain Layout
16082 float
16083 \end_layout
16084
16085 \end_inset
16086
16087 を読み込む必要があり,
16088 そのファイル内のものを使用して,
16089 オン・ザ・フライで定義するかを示します.既定は
16090 \begin_inset Flex Code
16091 status collapsed
16092
16093 \begin_layout Plain Layout
16094 0
16095 \end_layout
16096
16097 \end_inset
16098
16099 で,
16100 この場合
16101 \begin_inset Flex Code
16102 status collapsed
16103
16104 \begin_layout Plain Layout
16105 float
16106 \end_layout
16107
16108 \end_inset
16109
16110 を使用します.\SpecialChar LaTeX
16111 ドキュメントクラス中に既に定義されているときには,
16112
16113 \begin_inset Flex Code
16114 status collapsed
16115
16116 \begin_layout Plain Layout
16117 0
16118 \end_layout
16119
16120 \end_inset
16121
16122 に設定しなくてはなりません.
16123 \end_layout
16124
16125 \begin_layout Description
16126 \begin_inset Flex Code
16127 status collapsed
16128
16129 \begin_layout Plain Layout
16130 ListCommand
16131 \end_layout
16132
16133 \end_inset
16134
16135  [
16136 \begin_inset Flex Code
16137 status collapsed
16138
16139 \begin_layout Plain Layout
16140 文字列
16141 \end_layout
16142
16143 \end_inset
16144
16145 =
16146 \begin_inset Quotes erd
16147 \end_inset
16148
16149
16150 \begin_inset Quotes erd
16151 \end_inset
16152
16153 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
16154 \backslash
16155 」は書きません.
16156 \begin_inset Flex Code
16157 status collapsed
16158
16159 \begin_layout Plain Layout
16160 NeedsFloatPkg
16161 \end_layout
16162
16163 \end_inset
16164
16165 が偽の時には,
16166 このコマンドを生成する標準的な方法はないので,
16167 これは
16168 \emph on
16169 必ず
16170 \emph default
16171 指定しなくてはなりません.
16172 \begin_inset Flex Code
16173 status collapsed
16174
16175 \begin_layout Plain Layout
16176 NeedsFloatPkg
16177 \end_layout
16178
16179 \end_inset
16180
16181 が真の時は,
16182 標準的な方法が存在するので,
16183 これは無視されます.
16184 \end_layout
16185
16186 \begin_layout Description
16187 \begin_inset Flex Code
16188 status collapsed
16189
16190 \begin_layout Plain Layout
16191 ListName
16192 \end_layout
16193
16194 \end_inset
16195
16196  [
16197 \begin_inset Flex Code
16198 status collapsed
16199
16200 \begin_layout Plain Layout
16201 文字列
16202 \end_layout
16203
16204 \end_inset
16205
16206 =
16207 \begin_inset Quotes erd
16208 \end_inset
16209
16210
16211 \begin_inset Quotes erd
16212 \end_inset
16213
16214 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
16215 中では,
16216 これは画面上のラベルとして使用されます.また,
16217 見出しとして使用するために,
16218 La\SpecialChar TeX
16219 に渡され,
16220 XHTML出力でも見出しとして使用されます.これは,
16221 文書言語に翻訳されます.
16222 \end_layout
16223
16224 \begin_layout Description
16225 \begin_inset Flex Code
16226 status collapsed
16227
16228 \begin_layout Plain Layout
16229 NumberWithin
16230 \end_layout
16231
16232 \end_inset
16233
16234  [
16235 \begin_inset Flex Code
16236 status collapsed
16237
16238 \begin_layout Plain Layout
16239 文字列
16240 \end_layout
16241
16242 \end_inset
16243
16244 =
16245 \begin_inset Quotes erd
16246 \end_inset
16247
16248
16249 \begin_inset Quotes erd
16250 \end_inset
16251
16252 ] この(非必須の)引数は,
16253 このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
16254
16255 \begin_inset Flex Code
16256 status collapsed
16257
16258 \begin_layout Plain Layout
16259 NumberWithin
16260 \end_layout
16261
16262 \end_inset
16263
16264 が「
16265 \begin_inset Flex Code
16266 status collapsed
16267
16268 \begin_layout Plain Layout
16269 chapter
16270 \end_layout
16271
16272 \end_inset
16273
16274 」に指定されていれば,
16275 フロートは章ごとに番号が振り直されます.
16276 \end_layout
16277
16278 \begin_layout Description
16279 \begin_inset Flex Code
16280 status collapsed
16281
16282 \begin_layout Plain Layout
16283 Placement
16284 \end_layout
16285
16286 \end_inset
16287
16288  [
16289 \begin_inset Flex Code
16290 status collapsed
16291
16292 \begin_layout Plain Layout
16293 文字列
16294 \end_layout
16295
16296 \end_inset
16297
16298 =
16299 \begin_inset Quotes erd
16300 \end_inset
16301
16302
16303 \begin_inset Quotes erd
16304 \end_inset
16305
16306 ] このクラスのフロートの既定の配置法.文字列は,
16307 標準的な\SpecialChar LaTeX
16308 表記に従い,
16309
16310 \begin_inset Flex Code
16311 status collapsed
16312
16313 \begin_layout Plain Layout
16314 t
16315 \end_layout
16316
16317 \end_inset
16318
16319 ならば上部(top),
16320
16321 \begin_inset Flex Code
16322 status collapsed
16323
16324 \begin_layout Plain Layout
16325 b
16326 \end_layout
16327
16328 \end_inset
16329
16330 ならば下部(bottom),
16331
16332 \begin_inset Flex Code
16333 status collapsed
16334
16335 \begin_layout Plain Layout
16336 p
16337 \end_layout
16338
16339 \end_inset
16340
16341 ならばページ(page),
16342
16343 \begin_inset Flex Code
16344 status collapsed
16345
16346 \begin_layout Plain Layout
16347 h
16348 \end_layout
16349
16350 \end_inset
16351
16352 ならばここ(here)を表します
16353 \begin_inset Foot
16354 status collapsed
16355
16356 \begin_layout Plain Layout
16357 \SpecialChar LaTeX
16358 同様,
16359 文字列中でのこれらの文字の順序は関係ありません.
16360 \end_layout
16361
16362 \end_inset
16363
16364 .これらの他に新しい型
16365 \begin_inset Flex Code
16366 status collapsed
16367
16368 \begin_layout Plain Layout
16369 H
16370 \end_layout
16371
16372 \end_inset
16373
16374 があり,
16375 これはフロートを「ここ」に置いていいけれども他の場所はだめ,
16376 というものなので,
16377 本当はフロートにあるものではありません.しかし,
16378
16379 \begin_inset Flex Code
16380 status collapsed
16381
16382 \begin_layout Plain Layout
16383 H
16384 \end_layout
16385
16386 \end_inset
16387
16388 指定子は特別なものであり,
16389 その細かい実装上の理由で,
16390 組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,
16391 代わりに「
16392 \begin_inset Flex Code
16393 status collapsed
16394
16395 \begin_layout Plain Layout
16396 tbp
16397 \end_layout
16398
16399 \end_inset
16400
16401 」を指定してください.
16402 \end_layout
16403
16404 \begin_layout Description
16405 \begin_inset Flex Code
16406 status collapsed
16407
16408 \begin_layout Plain Layout
16409 PrettyFormat
16410 \end_layout
16411
16412 \end_inset
16413
16414  [
16415 \begin_inset Flex Code
16416 status collapsed
16417
16418 \begin_layout Plain Layout
16419 文字列
16420 \end_layout
16421
16422 \end_inset
16423
16424 =
16425 \begin_inset Quotes erd
16426 \end_inset
16427
16428
16429 \begin_inset Quotes erd
16430 \end_inset
16431
16432 ] このカウンタへの書式付き参照に使われる書式.たとえば,
16433 表への参照を「表2」のように表示させたいとしましょう.この文字列には,
16434 「##」やカウンタ指定を入れることができます(
16435 \begin_inset CommandInset ref
16436 LatexCommand formatted
16437 reference "subsec:カウンタ"
16438 plural "false"
16439 caps "false"
16440 noprefix "false"
16441 nolink "false"
16442
16443 \end_inset
16444
16445
16446 \begin_inset Flex Code
16447 status open
16448
16449 \begin_layout Plain Layout
16450 LabelString
16451 \end_layout
16452
16453 \end_inset
16454
16455 の説明を参照).前者はカウンタ番号そのもので置換されます.したがって,
16456 節の場合には「第##節」のように指定するか,
16457 「第
16458 \backslash
16459 arabic{section}節」のように指定します(これは第2.7節のように翻訳されます).
16460 \end_layout
16461
16462 \begin_layout Description
16463 \begin_inset Flex Code
16464 status collapsed
16465
16466 \begin_layout Plain Layout
16467 RefPrefix
16468 \end_layout
16469
16470 \end_inset
16471
16472  [
16473 \begin_inset Flex Code
16474 status collapsed
16475
16476 \begin_layout Plain Layout
16477 文字列
16478 \end_layout
16479
16480 \end_inset
16481
16482 ] この型のフロートを参照する際,
16483 生成されるラベルに使用する前置句.これによって,
16484 整形参照を使用することができるようになります.コピーした様式が設定した
16485 \begin_inset Flex Code
16486 status collapsed
16487
16488 \begin_layout Plain Layout
16489 RefPrefix
16490 \end_layout
16491
16492 \end_inset
16493
16494 は,
16495 特別な文字列「OFF」(すべて大文字)を使えば,
16496 いつでも削除することができます.
16497 \end_layout
16498
16499 \begin_layout Description
16500 \begin_inset Flex Code
16501 status collapsed
16502
16503 \begin_layout Plain Layout
16504 Requires
16505 \end_layout
16506
16507 \end_inset
16508
16509  [
16510 \begin_inset Flex Code
16511 status collapsed
16512
16513 \begin_layout Plain Layout
16514 文字列
16515 \end_layout
16516
16517 \end_inset
16518
16519 ] 段落様式におけるのと同様です.第
16520 \begin_inset CommandInset ref
16521 LatexCommand ref
16522 reference "subsec:段落様式"
16523 plural "false"
16524 caps "false"
16525 noprefix "false"
16526 nolink "false"
16527
16528 \end_inset
16529
16530 節を参照.
16531 \end_layout
16532
16533 \begin_layout Description
16534 \begin_inset Flex Code
16535 status collapsed
16536
16537 \begin_layout Plain Layout
16538 Style
16539 \end_layout
16540
16541 \end_inset
16542
16543  [
16544 \begin_inset Flex Code
16545 status collapsed
16546
16547 \begin_layout Plain Layout
16548 文字列
16549 \end_layout
16550
16551 \end_inset
16552
16553 =
16554 \begin_inset Quotes erd
16555 \end_inset
16556
16557
16558 \begin_inset Quotes erd
16559 \end_inset
16560
16561
16562 \begin_inset Flex Code
16563 status collapsed
16564
16565 \begin_layout Plain Layout
16566
16567 \backslash
16568 newfloat
16569 \end_layout
16570
16571 \end_inset
16572
16573 を使用してフロートを定義する際に使用される様式.
16574 \end_layout
16575
16576 \begin_layout Description
16577 \begin_inset Flex Code
16578 status collapsed
16579
16580 \begin_layout Plain Layout
16581 Type
16582 \end_layout
16583
16584 \end_inset
16585
16586  [
16587 \begin_inset Flex Code
16588 status collapsed
16589
16590 \begin_layout Plain Layout
16591 文字列
16592 \end_layout
16593
16594 \end_inset
16595
16596 =
16597 \begin_inset Quotes erd
16598 \end_inset
16599
16600
16601 \begin_inset Quotes erd
16602 \end_inset
16603
16604 ] プログラムやアルゴリズムのような,
16605 フロートの新しいクラス「型」.適切な
16606 \begin_inset Flex Code
16607 status collapsed
16608
16609 \begin_layout Plain Layout
16610
16611 \backslash
16612 newfloat
16613 \end_layout
16614
16615 \end_inset
16616
16617 の後で,
16618
16619 \begin_inset Flex Code
16620 status collapsed
16621
16622 \begin_layout Plain Layout
16623
16624 \backslash
16625 begin{program}
16626 \end_layout
16627
16628 \end_inset
16629
16630
16631 \begin_inset Flex Code
16632 status collapsed
16633
16634 \begin_layout Plain Layout
16635
16636 \backslash
16637 end{algorithm*}
16638 \end_layout
16639
16640 \end_inset
16641
16642 といったコマンドが利用できます.
16643 \end_layout
16644
16645 \begin_layout Description
16646 \begin_inset Flex Code
16647 status collapsed
16648
16649 \begin_layout Plain Layout
16650 UsesFloatPkg
16651 \end_layout
16652
16653 \end_inset
16654
16655  [
16656 \begin_inset Flex Code
16657 status collapsed
16658
16659 \begin_layout Plain Layout
16660 0
16661 \end_layout
16662
16663 \end_inset
16664
16665 ,
16666 \begin_inset space \thinspace{}
16667 \end_inset
16668
16669
16670 \begin_inset Flex Code
16671 status collapsed
16672
16673 \begin_layout Plain Layout
16674
16675 \emph on
16676 1
16677 \end_layout
16678
16679 \end_inset
16680
16681 ] このフロートが,
16682 クラスファイルやパッケージ中で,
16683 \SpecialChar LaTeX
16684 パッケージ
16685 \begin_inset Flex Code
16686 status collapsed
16687
16688 \begin_layout Plain Layout
16689 float
16690 \end_layout
16691
16692 \end_inset
16693
16694 が提供しているものを使用して定義されているのか,
16695 \SpecialChar LyX
16696 自身がオン・ザ・フライで定義しているのかを示します.
16697 \end_layout
16698
16699 \begin_layout Standard
16700 \begin_inset Flex Code
16701 status collapsed
16702
16703 \begin_layout Plain Layout
16704
16705 \emph on
16706 type
16707 \end_layout
16708
16709 \end_inset
16710
16711 型のフロートを定義すると,
16712 自動的に
16713 \emph on
16714 対応する
16715 \emph default
16716
16717 \begin_inset Flex Code
16718 status collapsed
16719
16720 \begin_layout Plain Layout
16721
16722 \emph on
16723 type
16724 \end_layout
16725
16726 \end_inset
16727
16728 名カウンタが定義されます.
16729 \end_layout
16730
16731 \begin_layout Subsection
16732 自由差込枠と差込枠レイアウト
16733 \begin_inset CommandInset label
16734 LatexCommand label
16735 name "subsec:任意設定差込枠"
16736
16737 \end_inset
16738
16739
16740 \end_layout
16741
16742 \begin_layout Standard
16743 自由差込枠には次の2種類があります.
16744 \end_layout
16745
16746 \begin_layout Itemize
16747 文字様式(
16748 \begin_inset Flex Code
16749 status collapsed
16750
16751 \begin_layout Plain Layout
16752 CharStyle
16753 \end_layout
16754
16755 \end_inset
16756
16757 ).これは,
16758
16759 \begin_inset Flex Code
16760 status collapsed
16761
16762 \begin_layout Plain Layout
16763
16764 \backslash
16765 noun
16766 \end_layout
16767
16768 \end_inset
16769
16770
16771 \begin_inset Flex Code
16772 status collapsed
16773
16774 \begin_layout Plain Layout
16775
16776 \backslash
16777 code
16778 \end_layout
16779
16780 \end_inset
16781
16782 などの\SpecialChar LaTeX
16783 コマンドに対応した意味論的マークアップを定義するものです.
16784 \end_layout
16785
16786 \begin_layout Itemize
16787 ユーザ設定(
16788 \begin_inset Flex Code
16789 status collapsed
16790
16791 \begin_layout Plain Layout
16792 Custom
16793 \end_layout
16794
16795 \end_inset
16796
16797 ).これは,
16798 \SpecialChar TeX
16799 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,
16800 これは
16801 \begin_inset Flex Code
16802 status collapsed
16803
16804 \begin_layout Plain Layout
16805 endnote
16806 \end_layout
16807
16808 \end_inset
16809
16810 モジュール中で定義されています.
16811 \end_layout
16812
16813 \begin_layout Standard
16814 自由差込枠は,
16815 以下で説明する
16816 \begin_inset Flex Code
16817 status collapsed
16818
16819 \begin_layout Plain Layout
16820 InsetLayout
16821 \end_layout
16822
16823 \end_inset
16824
16825 タグを使用して定義されます.
16826 \end_layout
16827
16828 \begin_layout Standard
16829 \begin_inset Flex Code
16830 status collapsed
16831
16832 \begin_layout Plain Layout
16833 InsetLayout
16834 \end_layout
16835
16836 \end_inset
16837
16838 タグは,
16839 もう一つ別の機能も提供します.これを使えば,
16840 いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
16841
16842 \begin_inset Flex Code
16843 status collapsed
16844
16845 \begin_layout Plain Layout
16846 InsetLayout
16847 \end_layout
16848
16849 \end_inset
16850
16851 は自由差込枠を定義することの他に,
16852 脚註・傍註・註釈差込枠・\SpecialChar TeX
16853 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザー定義するのに使用されます.
16854 \end_layout
16855
16856 \begin_layout Standard
16857 \begin_inset Flex Code
16858 status collapsed
16859
16860 \begin_layout Plain Layout
16861 InsetLayout
16862 \end_layout
16863
16864 \end_inset
16865
16866 定義は以下の形の行では始まらなくてはなりません.
16867 \end_layout
16868
16869 \begin_layout LyX-Code
16870 InsetLayout <型>
16871 \end_layout
16872
16873 \begin_layout Standard
16874 ここで
16875 \begin_inset Flex Code
16876 status collapsed
16877
16878 \begin_layout Plain Layout
16879 <型>
16880 \end_layout
16881
16882 \end_inset
16883
16884 は,
16885 レイアウトを定義しようとしている差込枠を指し,
16886 4つの場合があります.
16887 \end_layout
16888
16889 \begin_layout Enumerate
16890 既存の差込枠のレイアウトを変更する場合.この場合,
16891
16892 \begin_inset Flex Code
16893 status collapsed
16894
16895 \begin_layout Plain Layout
16896 <型>
16897 \end_layout
16898
16899 \end_inset
16900
16901 は以下のいずれかになります:
16902
16903 \begin_inset Flex Code
16904 status collapsed
16905
16906 \begin_layout Plain Layout
16907 Algorithm
16908 \end_layout
16909
16910 \end_inset
16911
16912
16913 \begin_inset Flex Code
16914 status collapsed
16915
16916 \begin_layout Plain Layout
16917 Branch
16918 \end_layout
16919
16920 \end_inset
16921
16922
16923 \begin_inset Flex Code
16924 status collapsed
16925
16926 \begin_layout Plain Layout
16927 Box
16928 \end_layout
16929
16930 \end_inset
16931
16932
16933 \begin_inset Flex Code
16934 status collapsed
16935
16936 \begin_layout Plain Layout
16937 Box:shaded
16938 \end_layout
16939
16940 \end_inset
16941
16942
16943 \begin_inset Flex Code
16944 status collapsed
16945
16946 \begin_layout Plain Layout
16947 Caption:Standard
16948 \end_layout
16949
16950 \end_inset
16951
16952
16953 \begin_inset Flex Code
16954 status collapsed
16955
16956 \begin_layout Plain Layout
16957 ERT
16958 \end_layout
16959
16960 \end_inset
16961
16962
16963 \begin_inset Flex Code
16964 status collapsed
16965
16966 \begin_layout Plain Layout
16967 Figure
16968 \end_layout
16969
16970 \end_inset
16971
16972
16973 \begin_inset Flex Code
16974 status collapsed
16975
16976 \begin_layout Plain Layout
16977 Foot
16978 \end_layout
16979
16980 \end_inset
16981
16982
16983 \begin_inset Flex Code
16984 status collapsed
16985
16986 \begin_layout Plain Layout
16987 Index
16988 \end_layout
16989
16990 \end_inset
16991
16992
16993 \begin_inset Flex Code
16994 status collapsed
16995
16996 \begin_layout Plain Layout
16997 Info
16998 \end_layout
16999
17000 \end_inset
17001
17002
17003 \begin_inset Flex Code
17004 status collapsed
17005
17006 \begin_layout Plain Layout
17007 Info:menu
17008 \end_layout
17009
17010 \end_inset
17011
17012
17013 \begin_inset Flex Code
17014 status collapsed
17015
17016 \begin_layout Plain Layout
17017 Info:shortcut
17018 \end_layout
17019
17020 \end_inset
17021
17022
17023 \begin_inset Flex Code
17024 status collapsed
17025
17026 \begin_layout Plain Layout
17027 Info:shortcuts
17028 \end_layout
17029
17030 \end_inset
17031
17032
17033 \begin_inset Flex Code
17034 status collapsed
17035
17036 \begin_layout Plain Layout
17037 Listings
17038 \end_layout
17039
17040 \end_inset
17041
17042
17043 \begin_inset Flex Code
17044 status collapsed
17045
17046 \begin_layout Plain Layout
17047 Marginal
17048 \end_layout
17049
17050 \end_inset
17051
17052
17053 \begin_inset Flex Code
17054 status collapsed
17055
17056 \begin_layout Plain Layout
17057 Note:Comment
17058 \end_layout
17059
17060 \end_inset
17061
17062
17063 \begin_inset Flex Code
17064 status collapsed
17065
17066 \begin_layout Plain Layout
17067 Note:Note
17068 \end_layout
17069
17070 \end_inset
17071
17072
17073 \begin_inset Flex Code
17074 status collapsed
17075
17076 \begin_layout Plain Layout
17077 Note:GreyedOut
17078 \end_layout
17079
17080 \end_inset
17081
17082
17083 \begin_inset Flex Code
17084 status collapsed
17085
17086 \begin_layout Plain Layout
17087 Table
17088 \end_layout
17089
17090 \end_inset
17091
17092
17093 \begin_inset Flex Code
17094 status collapsed
17095
17096 \begin_layout Plain Layout
17097 URL
17098 \end_layout
17099
17100 \end_inset
17101
17102
17103 \end_layout
17104
17105 \begin_layout Enumerate
17106 自由差込枠のレイアウトを定義する場合.この場合,
17107
17108 \begin_inset Flex Code
17109 status collapsed
17110
17111 \begin_layout Plain Layout
17112 <型>
17113 \end_layout
17114
17115 \end_inset
17116
17117
17118 \begin_inset Flex Code
17119 status collapsed
17120
17121 \begin_layout Plain Layout
17122 Flex:<名称>
17123 \end_layout
17124
17125 \end_inset
17126
17127 の形でなくてはなりません.ここで,
17128
17129 \begin_inset Flex Code
17130 status collapsed
17131
17132 \begin_layout Plain Layout
17133 名称
17134 \end_layout
17135
17136 \end_inset
17137
17138 は,
17139 既存の自由差込枠で使用されていない有効な識別子であれば,
17140 何でも構いません.識別子には空白を入れることもできますが,
17141 この場合には全体を引用符で囲まなくてはなりません.自由差込枠の定義には,
17142 この定義がどの差込枠型なのか宣言するために,
17143
17144 \begin_inset Flex Code
17145 status collapsed
17146
17147 \begin_layout Plain Layout
17148 LyXType
17149 \end_layout
17150
17151 \end_inset
17152
17153 項目が含まれていなくてはならないことに注意してください.
17154 \end_layout
17155
17156 \begin_layout Enumerate
17157 ユーザー定義派生枝を定義する場合.この場合,
17158
17159 \begin_inset Flex Code
17160 status collapsed
17161
17162 \begin_layout Plain Layout
17163 <型>
17164 \end_layout
17165
17166 \end_inset
17167
17168 は「
17169 \begin_inset Flex Code
17170 status collapsed
17171
17172 \begin_layout Plain Layout
17173 Branch:<名称>
17174 \end_layout
17175
17176 \end_inset
17177
17178 」の形でなくてはなりません.ここで,
17179
17180 \begin_inset Flex Code
17181 status collapsed
17182
17183 \begin_layout Plain Layout
17184 名称
17185 \end_layout
17186
17187 \end_inset
17188
17189 は,
17190 ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,
17191 その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主な目的は,
17192 ユーザーの必要に応じて,
17193 特定の派生枝を\SpecialChar LaTeX
17194 がくるむことができるようにすることです.
17195 \end_layout
17196
17197 \begin_layout Enumerate
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 \begin_inset Flex Code
17211 status collapsed
17212
17213 \begin_layout Plain Layout
17214 Caption:<名称>
17215 \end_layout
17216
17217 \end_inset
17218
17219 」の形でなくてはなりません.ここで,
17220
17221 \begin_inset Flex Code
17222 status collapsed
17223
17224 \begin_layout Plain Layout
17225 名称
17226 \end_layout
17227
17228 \end_inset
17229
17230 は,
17231 メニューに表示されるキャプション名です.応用例については,
17232 標準キャプション(
17233 \begin_inset Flex Code
17234 status collapsed
17235
17236 \begin_layout Plain Layout
17237 Caption:Standard
17238 \end_layout
17239
17240 \end_inset
17241
17242 ),
17243 若しくはKOMA-Scriptクラスのクラス定義キャプション(
17244 \begin_inset Flex Code
17245 status collapsed
17246
17247 \begin_layout Plain Layout
17248 Caption:Above
17249 \end_layout
17250
17251 \end_inset
17252
17253 ,
17254  
17255 \begin_inset Flex Code
17256 status collapsed
17257
17258 \begin_layout Plain Layout
17259 Caption:Below
17260 \end_layout
17261
17262 \end_inset
17263
17264 ),
17265
17266 \family sans
17267 多言語キャプション
17268 \family default
17269 モジュール(
17270 \begin_inset Flex Code
17271 status collapsed
17272
17273 \begin_layout Plain Layout
17274 Caption:\SpecialChar allowbreak
17275 Bicaption
17276 \end_layout
17277
17278 \end_inset
17279
17280 )をご覧ください.
17281 \end_layout
17282
17283 \begin_layout Standard
17284 \begin_inset Flex Code
17285 status collapsed
17286
17287 \begin_layout Plain Layout
17288 InsetLayout
17289 \end_layout
17290
17291 \end_inset
17292
17293 定義には以下の項目を入れることができます.
17294 \end_layout
17295
17296 \begin_layout Description
17297 \begin_inset Flex Code
17298 status collapsed
17299
17300 \begin_layout Plain Layout
17301 AddToToc
17302 \end_layout
17303
17304 \end_inset
17305
17306  [
17307 \begin_inset Flex Code
17308 status collapsed
17309
17310 \begin_layout Plain Layout
17311 文字列
17312 \end_layout
17313
17314 \end_inset
17315
17316 =""] この差込枠は,
17317 この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参照してください.これは,
17318 自由差込枠にのみ実装されています.既定値:
17319 無効.
17320 \end_layout
17321
17322 \begin_layout Description
17323 \begin_inset Flex Code
17324 status collapsed
17325
17326 \begin_layout Plain Layout
17327 AllowedInInsets
17328 \end_layout
17329
17330 \end_inset
17331
17332  この差込枠を挿入することのできる差込枠を,
17333 コンマ区切りリストの形で入れます.「
17334 \begin_inset Flex Code
17335 status collapsed
17336
17337 \begin_layout Plain Layout
17338 EndAllowedInInsets
17339 \end_layout
17340
17341 \end_inset
17342
17343 」で閉じる必要があります.挿入先差込枠の特定の引数に挿入を許可したい場合,
17344 引数名を@の後に付記してください(例:
17345
17346 \begin_inset Flex Code
17347 status collapsed
17348
17349 \begin_layout Plain Layout
17350 My_Inset@post:1
17351 \end_layout
17352
17353 \end_inset
17354
17355 ).現在のところ,
17356 これは直下の差込枠しかサポートしていないことに注意してください(入れ子となっているものは不可).
17357 \begin_inset Flex Code
17358 status collapsed
17359
17360 \begin_layout Plain Layout
17361 AllowedInLayouts
17362 \end_layout
17363
17364 \end_inset
17365
17366 も参照のこと.
17367 \end_layout
17368
17369 \begin_layout Description
17370 \begin_inset Flex Code
17371 status collapsed
17372
17373 \begin_layout Plain Layout
17374 AllowedInLayouts
17375 \end_layout
17376
17377 \end_inset
17378
17379  この差込枠を挿入することのできるレイアウトを,
17380 コンマ区切りリストの形で入れます.「
17381 \begin_inset Flex Code
17382 status collapsed
17383
17384 \begin_layout Plain Layout
17385 EndAllowedInLayouts
17386 \end_layout
17387
17388 \end_inset
17389
17390 」で閉じる必要があります.挿入先差込枠の特定の引数に挿入を許可したい場合,
17391 引数名を@の後に付記してください(例:
17392
17393 \begin_inset Flex Code
17394 status collapsed
17395
17396 \begin_layout Plain Layout
17397 My_Inset@post:1
17398 \end_layout
17399
17400 \end_inset
17401
17402 ).現在のところ,
17403 これは直下のレイアウトしかサポートしていないことに注意してください(入れ子となっているものは不可).
17404 \begin_inset Flex Code
17405 status collapsed
17406
17407 \begin_layout Plain Layout
17408 AllowedInInsets
17409 \end_layout
17410
17411 \end_inset
17412
17413 も参照のこと.
17414 \end_layout
17415
17416 \begin_layout Description
17417 \begin_inset Flex Code
17418 status collapsed
17419
17420 \begin_layout Plain Layout
17421 AllowedOccurrences
17422 \end_layout
17423
17424 \end_inset
17425
17426  [
17427 \begin_inset Flex Code
17428 status collapsed
17429
17430 \begin_layout Plain Layout
17431 整数
17432 \end_layout
17433
17434 \end_inset
17435
17436
17437 \begin_inset Flex Code
17438 status collapsed
17439
17440 \begin_layout Plain Layout
17441 AllowedInInsets
17442 \end_layout
17443
17444 \end_inset
17445
17446 または
17447 \begin_inset Flex Code
17448 status collapsed
17449
17450 \begin_layout Plain Layout
17451 AllowedInLayouts
17452 \end_layout
17453
17454 \end_inset
17455
17456 が定義されているときに,
17457 これを使用すると,
17458 特定の差込枠や段落(グループ)にこの差込枠を何回挿入することができるかを指定することができます.
17459 \end_layout
17460
17461 \begin_layout Description
17462 \begin_inset Flex Code
17463 status collapsed
17464
17465 \begin_layout Plain Layout
17466 AllowedOccurrencesPerItem
17467 \end_layout
17468
17469 \end_inset
17470
17471  [
17472 \begin_inset Flex Code
17473 status collapsed
17474
17475 \begin_layout Plain Layout
17476 0
17477 \end_layout
17478
17479 \end_inset
17480
17481 ,
17482 \begin_inset space \thinspace{}
17483 \end_inset
17484
17485
17486 \begin_inset Flex Code
17487 status collapsed
17488
17489 \begin_layout Plain Layout
17490 1
17491 \end_layout
17492
17493 \end_inset
17494
17495 ] これが真に設定されていると,
17496
17497 \begin_inset Flex Code
17498 status collapsed
17499
17500 \begin_layout Plain Layout
17501
17502 \backslash
17503 item
17504 \end_layout
17505
17506 \end_inset
17507
17508 を用いる)箇条書き型環境の中にいるとき,
17509
17510 \begin_inset Flex Code
17511 status collapsed
17512
17513 \begin_layout Plain Layout
17514 AllowedOccurrences
17515 \end_layout
17516
17517 \end_inset
17518
17519 は単一段落ごとに適用されます.
17520 \end_layout
17521
17522 \begin_layout Description
17523 \begin_inset Flex Code
17524 status collapsed
17525
17526 \begin_layout Plain Layout
17527 Argument
17528 \end_layout
17529
17530 \end_inset
17531
17532  [
17533 \begin_inset Flex Code
17534 status collapsed
17535
17536 \begin_layout Plain Layout
17537 整数
17538 \end_layout
17539
17540 \end_inset
17541
17542 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
17543 \begin_inset Flex Code
17544 status collapsed
17545
17546 \begin_layout Plain Layout
17547 EndArgument
17548 \end_layout
17549
17550 \end_inset
17551
17552 で閉じなくてはなりません.詳細は第
17553 \begin_inset CommandInset ref
17554 LatexCommand ref
17555 reference "subsec:引数"
17556 plural "false"
17557 caps "false"
17558 noprefix "false"
17559 nolink "false"
17560
17561 \end_inset
17562
17563 節参照.
17564 \end_layout
17565
17566 \begin_layout Description
17567 \begin_inset Flex Code
17568 status collapsed
17569
17570 \begin_layout Plain Layout
17571 BabelPreamble
17572 \end_layout
17573
17574 \end_inset
17575
17576  言語コマンドを変更するプリアンブル.第
17577 \begin_inset CommandInset ref
17578 LatexCommand ref
17579 reference "subsec:段落様式の国際化"
17580 nolink "false"
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 BgColor
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 \end_layout
17604
17605 \end_inset
17606
17607 ] 差込枠の背景色.使用できる色名一覧は第
17608 \begin_inset CommandInset ref
17609 LatexCommand ref
17610 reference "chap:色名"
17611 nolink "false"
17612
17613 \end_inset
17614
17615 節参照.
17616 \end_layout
17617
17618 \begin_layout Description
17619 \begin_inset Flex Code
17620 status collapsed
17621
17622 \begin_layout Plain Layout
17623 ContentAsLabel
17624 \end_layout
17625
17626 \end_inset
17627
17628  [
17629 \begin_inset Flex Code
17630 status collapsed
17631
17632 \begin_layout Plain Layout
17633
17634 \emph on
17635 0
17636 \end_layout
17637
17638 \end_inset
17639
17640 ,
17641 \begin_inset space \thinspace{}
17642 \end_inset
17643
17644
17645 \begin_inset Flex Code
17646 status collapsed
17647
17648 \begin_layout Plain Layout
17649 1
17650 \end_layout
17651
17652 \end_inset
17653
17654 ] 差込枠を閉じた際,
17655 差込枠の内容をラベルとして使用するか否か.既定値は偽です.
17656 \end_layout
17657
17658 \begin_layout Description
17659 \begin_inset Flex Code
17660 status collapsed
17661
17662 \begin_layout Plain Layout
17663 CopyStyle
17664 \end_layout
17665
17666 \end_inset
17667
17668  [<型>] 段落様式と同様です.第
17669 \begin_inset CommandInset ref
17670 LatexCommand ref
17671 reference "subsec:段落様式"
17672 nolink "false"
17673
17674 \end_inset
17675
17676 節参照のこと.完全な型を指定する必要があることに注意してください.例:
17677 \begin_inset Flex Code
17678 status collapsed
17679
17680 \begin_layout Plain Layout
17681 CopyStyle Flex:<名称>
17682 \end_layout
17683
17684 \end_inset
17685
17686
17687 \end_layout
17688
17689 \begin_layout Description
17690 \begin_inset Flex Code
17691 status collapsed
17692
17693 \begin_layout Plain Layout
17694 CustomPars
17695 \end_layout
17696
17697 \end_inset
17698
17699  [
17700 \begin_inset Flex Code
17701 status collapsed
17702
17703 \begin_layout Plain Layout
17704
17705 \emph on
17706 0
17707 \end_layout
17708
17709 \end_inset
17710
17711 ,
17712 \begin_inset space \thinspace{}
17713 \end_inset
17714
17715
17716 \begin_inset Flex Code
17717 status collapsed
17718
17719 \begin_layout Plain Layout
17720 1
17721 \end_layout
17722
17723 \end_inset
17724
17725 ] 段落を設定するのに,
17726 段落設定ダイアログをユーザが使えるかどうかを指定します.
17727 \end_layout
17728
17729 \begin_layout Description
17730 \begin_inset Flex Code
17731 status collapsed
17732
17733 \begin_layout Plain Layout
17734 Decoration
17735 \end_layout
17736
17737 \end_inset
17738
17739  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
17740
17741 \begin_inset Flex Code
17742 status collapsed
17743
17744 \begin_layout Plain Layout
17745 Classic
17746 \end_layout
17747
17748 \end_inset
17749
17750
17751 \begin_inset Flex Code
17752 status collapsed
17753
17754 \begin_layout Plain Layout
17755 Minimalistic
17756 \end_layout
17757
17758 \end_inset
17759
17760
17761 \begin_inset Flex Code
17762 status collapsed
17763
17764 \begin_layout Plain Layout
17765 Conglomerate
17766 \end_layout
17767
17768 \end_inset
17769
17770 のいずれかを指定することができます.脚註は通常
17771 \begin_inset Flex Code
17772 status collapsed
17773
17774 \begin_layout Plain Layout
17775 Classic
17776 \end_layout
17777
17778 \end_inset
17779
17780 を使用し,
17781 \SpecialChar TeX
17782 コード差込枠は通常
17783 \begin_inset Flex Code
17784 status collapsed
17785
17786 \begin_layout Plain Layout
17787 Minimalistic
17788 \end_layout
17789
17790 \end_inset
17791
17792
17793 文字様式は
17794 \begin_inset Flex Code
17795 status collapsed
17796
17797 \begin_layout Plain Layout
17798 Conglomerate
17799 \end_layout
17800
17801 \end_inset
17802
17803 を使用します.
17804 \end_layout
17805
17806 \begin_layout Description
17807 \begin_inset Flex Code
17808 status collapsed
17809
17810 \begin_layout Plain Layout
17811 Display
17812 \end_layout
17813
17814 \end_inset
17815
17816  [
17817 \begin_inset Flex Code
17818 status collapsed
17819
17820 \begin_layout Plain Layout
17821 0
17822 \end_layout
17823
17824 \end_inset
17825
17826 ,
17827 \begin_inset space \thinspace{}
17828 \end_inset
17829
17830
17831 \begin_inset Flex Code
17832 status collapsed
17833
17834 \begin_layout Plain Layout
17835
17836 \emph on
17837 1
17838 \end_layout
17839
17840 \end_inset
17841
17842
17843 \begin_inset Flex Code
17844 status collapsed
17845
17846 \begin_layout Plain Layout
17847 LatexType
17848 \end_layout
17849
17850 \end_inset
17851
17852
17853 \begin_inset Flex Code
17854 status collapsed
17855
17856 \begin_layout Plain Layout
17857 Environment
17858 \end_layout
17859
17860 \end_inset
17861
17862 の時のみ意味をもちます.環境を,
17863 出力中で独立して出力させるか,
17864 周囲のテキストとインラインで出力させるかを示します.偽にすると,
17865 \SpecialChar LaTeX
17866 環境は,
17867
17868 \begin_inset Flex Code
17869 status collapsed
17870
17871 \begin_layout Plain Layout
17872
17873 \backslash
17874 begin{LatexName}
17875 \end_layout
17876
17877 \end_inset
17878
17879 タグと
17880 \begin_inset Flex Code
17881 status collapsed
17882
17883 \begin_layout Plain Layout
17884
17885 \backslash
17886 end{LatexName}
17887 \end_layout
17888
17889 \end_inset
17890
17891 タグの後の空白(改行文字を含む)を無視するものと仮定します.
17892 \end_layout
17893
17894 \begin_layout Description
17895 \begin_inset Flex Code
17896 status collapsed
17897
17898 \begin_layout Plain Layout
17899 EditExternal
17900 \end_layout
17901
17902 \end_inset
17903
17904  [
17905 \begin_inset Flex Code
17906 status collapsed
17907
17908 \begin_layout Plain Layout
17909
17910 \emph on
17911 0
17912 \end_layout
17913
17914 \end_inset
17915
17916 ,
17917 \begin_inset space \thinspace{}
17918 \end_inset
17919
17920
17921 \begin_inset Flex Code
17922 status collapsed
17923
17924 \begin_layout Plain Layout
17925 1
17926 \end_layout
17927
17928 \end_inset
17929
17930 ] 差込枠の内容を外部で編集できるか否か(文書の出力形式に定義されている編集ソフトウェアを使用).
17931 \end_layout
17932
17933 \begin_layout Description
17934 \begin_inset Flex Code
17935 status collapsed
17936
17937 \begin_layout Plain Layout
17938 End
17939 \end_layout
17940
17941 \end_inset
17942
17943  
17944 \begin_inset Flex Code
17945 status collapsed
17946
17947 \begin_layout Plain Layout
17948 InsetLayout
17949 \end_layout
17950
17951 \end_inset
17952
17953 宣言を閉じるのに必要です.
17954 \end_layout
17955
17956 \begin_layout Description
17957 \begin_inset Flex Code
17958 status collapsed
17959
17960 \begin_layout Plain Layout
17961 Font
17962 \end_layout
17963
17964 \end_inset
17965
17966  本文本体とラベル
17967 \emph on
17968 両方に
17969 \emph default
17970 使用されるフォントです.第
17971 \begin_inset CommandInset ref
17972 LatexCommand ref
17973 reference "subsec:フォント指定"
17974 nolink "false"
17975
17976 \end_inset
17977
17978 節を参照.このフォントを定義すると自動的に
17979 \begin_inset Flex Code
17980 status collapsed
17981
17982 \begin_layout Plain Layout
17983 LabelFont
17984 \end_layout
17985
17986 \end_inset
17987
17988 も同じ値に定義されるので,
17989 これらを別々の値にしたいときは,
17990 これを先に定義してから後に
17991 \begin_inset Flex Code
17992 status collapsed
17993
17994 \begin_layout Plain Layout
17995 LabelFont
17996 \end_layout
17997
17998 \end_inset
17999
18000 を定義しなくてはならないことに注意してください.
18001 \end_layout
18002
18003 \begin_layout Description
18004 \begin_inset Flex Code
18005 status collapsed
18006
18007 \begin_layout Plain Layout
18008 FixedWidthPreambleEncoding
18009 \end_layout
18010
18011 \end_inset
18012
18013  [
18014 \begin_inset Flex Code
18015 status collapsed
18016
18017 \begin_layout Plain Layout
18018
18019 \emph on
18020 0
18021 \end_layout
18022
18023 \end_inset
18024
18025 ,
18026 \begin_inset space \thinspace{}
18027 \end_inset
18028
18029
18030 \begin_inset Flex Code
18031 status collapsed
18032
18033 \begin_layout Plain Layout
18034 1
18035 \end_layout
18036
18037 \end_inset
18038
18039 ] このレイアウトによって生成される
18040 \begin_inset Flex Code
18041 status collapsed
18042
18043 \begin_layout Plain Layout
18044 BabelPreamble
18045 \end_layout
18046
18047 \end_inset
18048
18049 および
18050 \begin_inset Flex Code
18051 status collapsed
18052
18053 \begin_layout Plain Layout
18054 LangPreamble
18055 \end_layout
18056
18057 \end_inset
18058
18059 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
18060
18061 \family typewriter
18062 listings
18063 \family default
18064 のように,
18065
18066 \family sans
18067 utf8
18068 \family default
18069 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
18070 パッケージのために必要です.この設定は,
18071 Xe\SpecialChar TeX
18072 やLua\SpecialChar TeX
18073 のようなUnicodeを完全に解する\SpecialChar LaTeX
18074 バックエンドを使用している場合には,
18075 無視されます.
18076 \end_layout
18077
18078 \begin_layout Description
18079 \begin_inset Flex Code
18080 status collapsed
18081
18082 \begin_layout Plain Layout
18083 ForceLocalFontSwitch
18084 \end_layout
18085
18086 \end_inset
18087
18088  [
18089 \begin_inset Flex Code
18090 status collapsed
18091
18092 \begin_layout Plain Layout
18093
18094 \emph on
18095 0
18096 \end_layout
18097
18098 \end_inset
18099
18100 ,
18101 \begin_inset space \thinspace{}
18102 \end_inset
18103
18104
18105 \begin_inset Flex Code
18106 status collapsed
18107
18108 \begin_layout Plain Layout
18109 1
18110 \end_layout
18111
18112 \end_inset
18113
18114 ] babel使用時に,
18115 常にローカルフォント切替(
18116 \begin_inset Flex Code
18117 status collapsed
18118
18119 \begin_layout Plain Layout
18120
18121 \backslash
18122 foreignlanguage
18123 \end_layout
18124
18125 \end_inset
18126
18127 )を使い,
18128 グローバル切替(
18129 \begin_inset Flex Code
18130 status collapsed
18131
18132 \begin_layout Plain Layout
18133
18134 \backslash
18135 selectlanguage
18136 \end_layout
18137
18138 \end_inset
18139
18140 など)は使わない.
18141 \end_layout
18142
18143 \begin_layout Description
18144 \begin_inset Flex Code
18145 status collapsed
18146
18147 \begin_layout Plain Layout
18148 ForceLTR
18149 \end_layout
18150
18151 \end_inset
18152
18153  [
18154 \begin_inset Flex Code
18155 status collapsed
18156
18157 \begin_layout Plain Layout
18158
18159 \emph on
18160 0
18161 \end_layout
18162
18163 \end_inset
18164
18165 ,
18166 \begin_inset space \thinspace{}
18167 \end_inset
18168
18169
18170 \begin_inset Flex Code
18171 status collapsed
18172
18173 \begin_layout Plain Layout
18174 1
18175 \end_layout
18176
18177 \end_inset
18178
18179 ] たとえば\SpecialChar TeX
18180 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
18181 \end_layout
18182
18183 \begin_layout Description
18184 \begin_inset Flex Code
18185 status collapsed
18186
18187 \begin_layout Plain Layout
18188 ForceOwnlines
18189 \end_layout
18190
18191 \end_inset
18192
18193  [
18194 \begin_inset Flex Code
18195 status collapsed
18196
18197 \begin_layout Plain Layout
18198
18199 \emph on
18200 0
18201 \end_layout
18202
18203 \end_inset
18204
18205 ,
18206 \begin_inset space \thinspace{}
18207 \end_inset
18208
18209
18210 \begin_inset Flex Code
18211 status collapsed
18212
18213 \begin_layout Plain Layout
18214 1
18215 \end_layout
18216
18217 \end_inset
18218
18219 ] \SpecialChar LaTeX
18220 出力において,
18221 この差込枠が開始する前と終了する後に,
18222 改行を強制します.これは,
18223 解析上の目的のために,
18224 差込枠が単独行に出力されるように保証します.
18225 \end_layout
18226
18227 \begin_layout Description
18228 \begin_inset Flex Code
18229 status collapsed
18230
18231 \begin_layout Plain Layout
18232 ForcePlain
18233 \end_layout
18234
18235 \end_inset
18236
18237  [
18238 \begin_inset Flex Code
18239 status collapsed
18240
18241 \begin_layout Plain Layout
18242
18243 \emph on
18244 0
18245 \end_layout
18246
18247 \end_inset
18248
18249 ,
18250 \begin_inset space \thinspace{}
18251 \end_inset
18252
18253
18254 \begin_inset Flex Code
18255 status collapsed
18256
18257 \begin_layout Plain Layout
18258 1
18259 \end_layout
18260
18261 \end_inset
18262
18263 ] PlainLayoutを使用するべきなのか,
18264 それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
18265 \end_layout
18266
18267 \begin_layout Description
18268 \begin_inset Flex Code
18269 status collapsed
18270
18271 \begin_layout Plain Layout
18272 FreeSpacing
18273 \end_layout
18274
18275 \end_inset
18276
18277  [
18278 \emph on
18279
18280 \begin_inset Flex Code
18281 status collapsed
18282
18283 \begin_layout Plain Layout
18284 0
18285 \end_layout
18286
18287 \end_inset
18288
18289
18290 \emph default
18291 ,
18292 \begin_inset space \thinspace{}
18293 \end_inset
18294
18295
18296 \begin_inset Flex Code
18297 status collapsed
18298
18299 \begin_layout Plain Layout
18300 1
18301 \end_layout
18302
18303 \end_inset
18304
18305 ] 段落様式と同様.第
18306 \begin_inset CommandInset ref
18307 LatexCommand ref
18308 reference "subsec:段落様式"
18309 nolink "false"
18310
18311 \end_inset
18312
18313 節参照.
18314 \end_layout
18315
18316 \begin_layout Description
18317 \begin_inset Flex Code
18318 status collapsed
18319
18320 \begin_layout Plain Layout
18321 HTML*
18322 \end_layout
18323
18324 \end_inset
18325
18326  これらは,
18327 XHTML出力で使用されます.第
18328 \begin_inset CommandInset ref
18329 LatexCommand ref
18330 reference "sec:XHTML出力のタグ"
18331 nolink "false"
18332
18333 \end_inset
18334
18335 節をご覧ください.
18336 \end_layout
18337
18338 \begin_layout Description
18339 \begin_inset Flex Code
18340 status collapsed
18341
18342 \begin_layout Plain Layout
18343 InheritFont
18344 \end_layout
18345
18346 \end_inset
18347
18348  [
18349 \begin_inset Flex Code
18350 status collapsed
18351
18352 \begin_layout Plain Layout
18353
18354 \emph on
18355 0
18356 \end_layout
18357
18358 \end_inset
18359
18360 ,
18361 \begin_inset space \thinspace{}
18362 \end_inset
18363
18364
18365 \begin_inset Flex Code
18366 status collapsed
18367
18368 \begin_layout Plain Layout
18369 1
18370 \end_layout
18371
18372 \end_inset
18373
18374 ] このパラメータが1のとき,
18375 この差込枠内のフォントは,
18376 スクリーン上のみならず\SpecialChar LaTeX
18377 への書き出しにおいても親から継承されます.0のときには,
18378 文書の既定フォントが使用されます.
18379 \end_layout
18380
18381 \begin_layout Description
18382 \begin_inset Flex Code
18383 status collapsed
18384
18385 \begin_layout Plain Layout
18386 InToc
18387 \end_layout
18388
18389 \end_inset
18390
18391  [
18392 \begin_inset Flex Code
18393 status collapsed
18394
18395 \begin_layout Plain Layout
18396
18397 \emph on
18398 0
18399 \end_layout
18400
18401 \end_inset
18402
18403 ,
18404 \begin_inset space \thinspace{}
18405 \end_inset
18406
18407
18408 \begin_inset Flex Code
18409 status collapsed
18410
18411 \begin_layout Plain Layout
18412 1
18413 \end_layout
18414
18415 \end_inset
18416
18417 ] AddToTocの設定に関わらず,
18418 「文書構造」面用に出力される文字列に,
18419 この差込枠の内容を含めるかどうか.たとえば,
18420 節見出しの脚註の内容が,
18421 文書構造の目次に表示されることは望まないでしょうが,
18422 通常,
18423 文字様式の内容は表示されることを望むでしょう.既定値は偽,
18424 すなわち含めません.
18425 \end_layout
18426
18427 \begin_layout Description
18428 \begin_inset Flex Code
18429 status collapsed
18430
18431 \begin_layout Plain Layout
18432 IsTocCaption
18433 \end_layout
18434
18435 \end_inset
18436
18437  [
18438 \begin_inset Flex Code
18439 status collapsed
18440
18441 \begin_layout Plain Layout
18442
18443 \emph on
18444 0
18445 \end_layout
18446
18447 \end_inset
18448
18449 ,
18450 \begin_inset space \thinspace{}
18451 \end_inset
18452
18453
18454 \begin_inset Flex Code
18455 status collapsed
18456
18457 \begin_layout Plain Layout
18458 1
18459 \end_layout
18460
18461 \end_inset
18462
18463 ] AddToTocが有効なときに,
18464 これが1に設定されていると,
18465 差込枠の内容の要約が,
18466 目次項目に表示されます.0の場合は,
18467 ラベルのみが表示されます.
18468 \end_layout
18469
18470 \begin_layout Description
18471 \begin_inset Flex Code
18472 status collapsed
18473
18474 \begin_layout Plain Layout
18475 KeepEmpty
18476 \end_layout
18477
18478 \end_inset
18479
18480  [
18481 \emph on
18482
18483 \begin_inset Flex Code
18484 status collapsed
18485
18486 \begin_layout Plain Layout
18487 0
18488 \end_layout
18489
18490 \end_inset
18491
18492
18493 \emph default
18494 ,
18495 \begin_inset space \thinspace{}
18496 \end_inset
18497
18498
18499 \begin_inset Flex Code
18500 status collapsed
18501
18502 \begin_layout Plain Layout
18503 1
18504 \end_layout
18505
18506 \end_inset
18507
18508 ] 段落様式と同様.第
18509 \begin_inset CommandInset ref
18510 LatexCommand ref
18511 reference "subsec:段落様式"
18512 nolink "false"
18513
18514 \end_inset
18515
18516 節参照.
18517 \end_layout
18518
18519 \begin_layout Description
18520 \begin_inset Flex Code
18521 status collapsed
18522
18523 \begin_layout Plain Layout
18524 LabelFont
18525 \end_layout
18526
18527 \end_inset
18528
18529  ラベルに使用されるフォント.第
18530 \begin_inset CommandInset ref
18531 LatexCommand ref
18532 reference "subsec:フォント指定"
18533 nolink "false"
18534
18535 \end_inset
18536
18537 節を参照.非効率を回避するため,
18538 この定義は
18539 \begin_inset Flex Code
18540 status collapsed
18541
18542 \begin_layout Plain Layout
18543 Font
18544 \end_layout
18545
18546 \end_inset
18547
18548 の前には決して現れてはなりません.
18549 \end_layout
18550
18551 \begin_layout Description
18552 \begin_inset Flex Code
18553 status collapsed
18554
18555 \begin_layout Plain Layout
18556 LabelString
18557 \end_layout
18558
18559 \end_inset
18560
18561  [
18562 \begin_inset Flex Code
18563 status collapsed
18564
18565 \begin_layout Plain Layout
18566 文字列
18567 \end_layout
18568
18569 \end_inset
18570
18571 =
18572 \begin_inset Quotes erd
18573 \end_inset
18574
18575
18576 \begin_inset Quotes erd
18577 \end_inset
18578
18579 ]
18580 \lang english
18581  
18582 \lang japanese
18583 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
18584 コードや派生枝),
18585 ラベルが動的に変更されます.
18586 \end_layout
18587
18588 \begin_layout Description
18589 \begin_inset Flex Code
18590 status collapsed
18591
18592 \begin_layout Plain Layout
18593 LangPreamble
18594 \end_layout
18595
18596 \end_inset
18597
18598  言語依存のプリアンブル.第
18599 \begin_inset CommandInset ref
18600 LatexCommand ref
18601 reference "subsec:段落様式の国際化"
18602 nolink "false"
18603
18604 \end_inset
18605
18606 節参照.
18607 \end_layout
18608
18609 \begin_layout Description
18610 \begin_inset Flex Code
18611 status collapsed
18612
18613 \begin_layout Plain Layout
18614 LatexName
18615 \end_layout
18616
18617 \end_inset
18618
18619  [
18620 \begin_inset Flex Code
18621 status collapsed
18622
18623 \begin_layout Plain Layout
18624 <名称>
18625 \end_layout
18626
18627 \end_inset
18628
18629 ] 対応する\SpecialChar LaTeX
18630 関連物の名称.環境名ないしはコマンド名.
18631 \end_layout
18632
18633 \begin_layout Description
18634 \begin_inset Flex Code
18635 status collapsed
18636
18637 \begin_layout Plain Layout
18638 LatexParam
18639 \end_layout
18640
18641 \end_inset
18642
18643  [
18644 \begin_inset Flex Code
18645 status collapsed
18646
18647 \begin_layout Plain Layout
18648 <パラメータ>
18649 \end_layout
18650
18651 \end_inset
18652
18653 ]
18654 \lang english
18655  
18656 \lang japanese
18657 対応する
18658 \begin_inset Flex Code
18659 status collapsed
18660
18661 \begin_layout Plain Layout
18662 LatexName
18663 \end_layout
18664
18665 \end_inset
18666
18667 関連物の非必須パラメータ.
18668 \begin_inset Flex Code
18669 status collapsed
18670
18671 \begin_layout Plain Layout
18672 []
18673 \end_layout
18674
18675 \end_inset
18676
18677 のような括弧対を含む.このパラメータは\SpecialChar LyX
18678 内部から変更することはできません(変更可能なパラメータには
18679 \begin_inset Flex Code
18680 status collapsed
18681
18682 \begin_layout Plain Layout
18683 Argument
18684 \end_layout
18685
18686 \end_inset
18687
18688 を使用してください).これは,
18689 全ての\SpecialChar LaTeX
18690  
18691 \begin_inset Flex Code
18692 status collapsed
18693
18694 \begin_layout Plain Layout
18695 Argument
18696 \end_layout
18697
18698 \end_inset
18699
18700 の後にそのままの形で出力されます.
18701 \end_layout
18702
18703 \begin_layout Description
18704 \begin_inset Flex Code
18705 status collapsed
18706
18707 \begin_layout Plain Layout
18708 LatexType
18709 \end_layout
18710
18711 \end_inset
18712
18713  [
18714 \begin_inset Flex Code
18715 status collapsed
18716
18717 \begin_layout Plain Layout
18718 Command,
18719  Environment,
18720  None
18721 \end_layout
18722
18723 \end_inset
18724
18725 ] 様式がどのように\SpecialChar LaTeX
18726 に変換されるべきかを示します
18727 \begin_inset Foot
18728 status collapsed
18729
18730 \begin_layout Plain Layout
18731 これらのルールはSGMLクラスにも適用されるので,
18732
18733 \begin_inset Flex Code
18734 status collapsed
18735
18736 \begin_layout Plain Layout
18737 LatexType
18738 \end_layout
18739
18740 \end_inset
18741
18742 の名称は,
18743 少しミスリーディングかもしれません.特定の例については,
18744 SGMLクラスファイルを見てください.
18745 \end_layout
18746
18747 \end_inset
18748
18749
18750 \end_layout
18751
18752 \begin_deeper
18753 \begin_layout Description
18754 \begin_inset Flex Code
18755 status collapsed
18756
18757 \begin_layout Plain Layout
18758 None
18759 \end_layout
18760
18761 \end_inset
18762
18763  は,
18764 何も特別なことは意味しません
18765 \end_layout
18766
18767 \begin_layout Description
18768 \begin_inset Flex Code
18769 status collapsed
18770
18771 \begin_layout Plain Layout
18772 Command
18773 \end_layout
18774
18775 \end_inset
18776
18777  は,
18778
18779 \begin_inset Flex Code
18780 status collapsed
18781
18782 \begin_layout Plain Layout
18783
18784 \backslash
18785
18786 \emph on
18787 LatexName
18788 \emph default
18789 {\SpecialChar ldots
18790 }
18791 \end_layout
18792
18793 \end_inset
18794
18795 を意味します
18796 \end_layout
18797
18798 \begin_layout Description
18799 \begin_inset Flex Code
18800 status collapsed
18801
18802 \begin_layout Plain Layout
18803 Environment
18804 \end_layout
18805
18806 \end_inset
18807
18808  は,
18809
18810 \begin_inset Flex Code
18811 status collapsed
18812
18813 \begin_layout Plain Layout
18814
18815 \backslash
18816 begin{
18817 \emph on
18818 LatexName
18819 \emph default
18820 }\SpecialChar ldots
18821
18822 \backslash
18823 end{
18824 \emph on
18825 LatexName
18826 \emph default
18827 }
18828 \end_layout
18829
18830 \end_inset
18831
18832 を意味します
18833 \end_layout
18834
18835 \begin_layout Standard
18836 上記最後のいくつかをまとめると,
18837 \SpecialChar LaTeX
18838 出力は,
18839 \SpecialChar LaTeX
18840 型に依存して
18841 \end_layout
18842
18843 \begin_layout LyX-Code
18844
18845 \backslash
18846 LatexName[LatexParam]{\SpecialChar ldots
18847 }
18848 \end_layout
18849
18850 \begin_layout Standard
18851 のようになるか,
18852
18853 \end_layout
18854
18855 \begin_layout LyX-Code
18856
18857 \backslash
18858 begin{LatexName}[LatexParam] \SpecialChar ldots
18859  
18860 \backslash
18861 end{LatexName}.
18862 \end_layout
18863
18864 \begin_layout Standard
18865 となります.
18866 \end_layout
18867
18868 \end_deeper
18869 \begin_layout Description
18870 \begin_inset Flex Code
18871 status collapsed
18872
18873 \begin_layout Plain Layout
18874 LeftDelim
18875 \end_layout
18876
18877 \end_inset
18878
18879  [
18880 \begin_inset Flex Code
18881 status collapsed
18882
18883 \begin_layout Plain Layout
18884 文字列
18885 \end_layout
18886
18887 \end_inset
18888
18889 ] 様式の内容の最初に置かれる文字列.出力中の改行は
18890 \begin_inset Flex Code
18891 status collapsed
18892
18893 \begin_layout Plain Layout
18894 <br/>
18895 \end_layout
18896
18897 \end_inset
18898
18899 で指示できます.
18900 \end_layout
18901
18902 \begin_layout Description
18903 \begin_inset Flex Code
18904 status collapsed
18905
18906 \begin_layout Plain Layout
18907 LyxType
18908 \end_layout
18909
18910 \end_inset
18911
18912  
18913 \begin_inset Flex Code
18914 status collapsed
18915
18916 \begin_layout Plain Layout
18917 charstyle
18918 \end_layout
18919
18920 \end_inset
18921
18922
18923 \begin_inset Flex Code
18924 status collapsed
18925
18926 \begin_layout Plain Layout
18927 custom
18928 \end_layout
18929
18930 \end_inset
18931
18932
18933 \begin_inset Flex Code
18934 status collapsed
18935
18936 \begin_layout Plain Layout
18937 end
18938 \end_layout
18939
18940 \end_inset
18941
18942 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,
18943 自由差込枠に必須であり,
18944 かつ自由差込枠でしか意味を持ちません.この項目は,
18945 就中,
18946 差込枠がどのメニューに表示されるかを決定します.
18947 \begin_inset Flex Code
18948 status collapsed
18949
18950 \begin_layout Plain Layout
18951 LyxType
18952 \end_layout
18953
18954 \end_inset
18955
18956
18957 \begin_inset Flex Code
18958 status collapsed
18959
18960 \begin_layout Plain Layout
18961 charstyle
18962 \end_layout
18963
18964 \end_inset
18965
18966 に設定すると,
18967
18968 \begin_inset Flex Code
18969 status collapsed
18970
18971 \begin_layout Plain Layout
18972 MultiPar
18973 \end_layout
18974
18975 \end_inset
18976
18977 が偽に,
18978
18979 \begin_inset Flex Code
18980 status collapsed
18981
18982 \begin_layout Plain Layout
18983 ForcePlain
18984 \end_layout
18985
18986 \end_inset
18987
18988 が真に設定されます.
18989 \begin_inset Flex Code
18990 status collapsed
18991
18992 \begin_layout Plain Layout
18993 charstyle
18994 \end_layout
18995
18996 \end_inset
18997
18998 差込枠で
18999 \begin_inset Flex Code
19000 status collapsed
19001
19002 \begin_layout Plain Layout
19003 MultiPar
19004 \end_layout
19005
19006 \end_inset
19007
19008 を真,
19009 あるいは
19010 \begin_inset Flex Code
19011 status collapsed
19012
19013 \begin_layout Plain Layout
19014 ForcePlain
19015 \end_layout
19016
19017 \end_inset
19018
19019 を偽に設定したい場合は,
19020
19021 \begin_inset Flex Code
19022 status collapsed
19023
19024 \begin_layout Plain Layout
19025 LyxType
19026 \end_layout
19027
19028 \end_inset
19029
19030 を設定した
19031 \begin_inset Flex 圏点
19032 status open
19033
19034 \begin_layout Plain Layout
19035 後に
19036 \end_layout
19037
19038 \end_inset
19039
19040 設定します.
19041 \end_layout
19042
19043 \begin_layout Description
19044 \begin_inset Flex Code
19045 status collapsed
19046
19047 \begin_layout Plain Layout
19048 MenuString
19049 \end_layout
19050
19051 \end_inset
19052
19053  
19054 \begin_inset Flex Code
19055 status collapsed
19056
19057 \begin_layout Plain Layout
19058 [文字列]
19059 \end_layout
19060
19061 \end_inset
19062
19063  メニュー用の文字列.この文字列に特定の文字を「|」で区切って追加することでアクセラレーターを定義することができます(例:
19064
19065 \begin_inset Flex Code
19066 status collapsed
19067
19068 \begin_layout Plain Layout
19069 My Inset|M
19070 \end_layout
19071
19072 \end_inset
19073
19074 ).この指定は必須ではありません.指定がない場合には,
19075 型宣言で指定された差込枠名が,
19076 代わりにメニューに用いられます.
19077 \end_layout
19078
19079 \begin_layout Description
19080 \begin_inset Flex Code
19081 status collapsed
19082
19083 \begin_layout Plain Layout
19084 MultiPar
19085 \end_layout
19086
19087 \end_inset
19088
19089  [
19090 \begin_inset Flex Code
19091 status collapsed
19092
19093 \begin_layout Plain Layout
19094
19095 \emph on
19096 0
19097 \end_layout
19098
19099 \end_inset
19100
19101 ,
19102 \begin_inset space \thinspace{}
19103 \end_inset
19104
19105
19106 \begin_inset Flex Code
19107 status collapsed
19108
19109 \begin_layout Plain Layout
19110 1
19111 \end_layout
19112
19113 \end_inset
19114
19115 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
19116
19117 \begin_inset Flex Code
19118 status collapsed
19119
19120 \begin_layout Plain Layout
19121 CustomPars
19122 \end_layout
19123
19124 \end_inset
19125
19126 を同じ値に設定し,
19127
19128 \begin_inset Flex Code
19129 status collapsed
19130
19131 \begin_layout Plain Layout
19132 ForcePlain
19133 \end_layout
19134
19135 \end_inset
19136
19137 を逆の値に設定します.これらは,
19138
19139 \begin_inset Flex Code
19140 status collapsed
19141
19142 \begin_layout Plain Layout
19143 MultiPar
19144 \end_layout
19145
19146 \end_inset
19147
19148
19149 \emph on
19150 後に
19151 \emph default
19152 指定されれば,
19153 他の値に指定し直すことができます.既定値は真です.
19154 \end_layout
19155
19156 \begin_layout Description
19157 \begin_inset Flex Code
19158 status collapsed
19159
19160 \begin_layout Plain Layout
19161 NeedProtect
19162 \end_layout
19163
19164 \end_inset
19165
19166  [
19167 \begin_inset Flex Code
19168 status collapsed
19169
19170 \begin_layout Plain Layout
19171
19172 \emph on
19173 0
19174 \end_layout
19175
19176 \end_inset
19177
19178 ,
19179 \begin_inset space \thinspace{}
19180 \end_inset
19181
19182
19183 \begin_inset Flex Code
19184 status collapsed
19185
19186 \begin_layout Plain Layout
19187 1
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 \backslash
19199 protect
19200 \end_layout
19201
19202 \end_inset
19203
19204 するか否か(註:
19205 当該コマンド自身をprotectするかどうかでは
19206 \emph on
19207 ありません
19208 \emph default
19209 ).既定値は偽です.
19210 \end_layout
19211
19212 \begin_layout Description
19213 \begin_inset Flex Code
19214 status collapsed
19215
19216 \begin_layout Plain Layout
19217 NeedCProtect
19218 \end_layout
19219
19220 \end_inset
19221
19222  [
19223 \begin_inset Flex Code
19224 status collapsed
19225
19226 \begin_layout Plain Layout
19227
19228 \emph on
19229 0
19230 \end_layout
19231
19232 \end_inset
19233
19234 ,
19235 \begin_inset space \thinspace{}
19236 \end_inset
19237
19238
19239 \begin_inset Flex Code
19240 status collapsed
19241
19242 \begin_layout Plain Layout
19243 1
19244 \end_layout
19245
19246 \end_inset
19247
19248 ] これは必要ならば,
19249 このレイアウトを含むマクロを
19250 \begin_inset Flex Code
19251 status collapsed
19252
19253 \begin_layout Plain Layout
19254
19255 \backslash
19256 cprotect
19257 \end_layout
19258
19259 \end_inset
19260
19261 (cf.
19262  
19263 \family sans
19264 cprotect
19265 \family default
19266 パッケージ)を用いて保護するようにし,
19267 マクロ中でverbatimを使えるようにします.既定値は偽です.
19268 \end_layout
19269
19270 \begin_layout Description
19271 \begin_inset Flex Code
19272 status collapsed
19273
19274 \begin_layout Plain Layout
19275 NeedMBoxProtect
19276 \end_layout
19277
19278 \end_inset
19279
19280  [
19281 \begin_inset Flex Code
19282 status collapsed
19283
19284 \begin_layout Plain Layout
19285
19286 \emph on
19287 0
19288 \end_layout
19289
19290 \end_inset
19291
19292 ,
19293 \begin_inset space \thinspace{}
19294 \end_inset
19295
19296
19297 \begin_inset Flex Code
19298 status collapsed
19299
19300 \begin_layout Plain Layout
19301 1
19302 \end_layout
19303
19304 \end_inset
19305
19306 ] この様式中の(
19307 \begin_inset Flex Code
19308 status collapsed
19309
19310 \begin_layout Plain Layout
19311
19312 \backslash
19313 cite
19314 \end_layout
19315
19316 \end_inset
19317
19318
19319 \begin_inset Flex Code
19320 status collapsed
19321
19322 \begin_layout Plain Layout
19323
19324 \backslash
19325 ref
19326 \end_layout
19327
19328 \end_inset
19329
19330 のような)特定のコマンドが
19331 \begin_inset Flex Code
19332 status collapsed
19333
19334 \begin_layout Plain Layout
19335
19336 \backslash
19337 mbox
19338 \end_layout
19339
19340 \end_inset
19341
19342 中で保護されるか否か.これは,
19343 中身を複雑な方法で解析する
19344 \family sans
19345 ulem
19346 \family default
19347
19348 \family sans
19349 soul
19350 \family default
19351 コマンドに頼る様式でとくに必要になります.既定値は偽です.
19352 \end_layout
19353
19354 \begin_layout Description
19355 \begin_inset Flex Code
19356 status collapsed
19357
19358 \begin_layout Plain Layout
19359 NewlineCmd
19360 \end_layout
19361
19362 \end_inset
19363
19364  
19365 \begin_inset Flex Code
19366 status collapsed
19367
19368 \begin_layout Plain Layout
19369 [文字列]
19370 \end_layout
19371
19372 \end_inset
19373
19374  改行に使用するコマンドを(
19375 \begin_inset Flex Code
19376 status collapsed
19377
19378 \begin_layout Plain Layout
19379
19380 \backslash
19381
19382 \backslash
19383
19384 \end_layout
19385
19386 \end_inset
19387
19388 以外に)定義するオプションです.初期値のバックスラッシュは指定できません.
19389 \end_layout
19390
19391 \begin_layout Description
19392 \begin_inset Flex Code
19393 status collapsed
19394
19395 \begin_layout Plain Layout
19396 NoInsetLayout
19397 \end_layout
19398
19399 \end_inset
19400
19401  [
19402 \begin_inset Flex Code
19403 status collapsed
19404
19405 \begin_layout Plain Layout
19406 <レイアウト>
19407 \end_layout
19408
19409 \end_inset
19410
19411 ] 既存の
19412 \begin_inset Flex Code
19413 status collapsed
19414
19415 \begin_layout Plain Layout
19416 InsetLayout
19417 \end_layout
19418
19419 \end_inset
19420
19421 を削除します.
19422 \end_layout
19423
19424 \begin_layout Description
19425 \begin_inset Flex Code
19426 status collapsed
19427
19428 \begin_layout Plain Layout
19429 ObsoletedBy
19430 \end_layout
19431
19432 \end_inset
19433
19434  [
19435 \begin_inset Flex Code
19436 status collapsed
19437
19438 \begin_layout Plain Layout
19439 <レイアウト>
19440 \end_layout
19441
19442 \end_inset
19443
19444 ] この古い
19445 \begin_inset Flex Code
19446 status collapsed
19447
19448 \begin_layout Plain Layout
19449 InsetLayout
19450 \end_layout
19451
19452 \end_inset
19453
19454 を引き継いだ
19455 \begin_inset Flex Code
19456 status collapsed
19457
19458 \begin_layout Plain Layout
19459 InsetLayout
19460 \end_layout
19461
19462 \end_inset
19463
19464 の名称.これは,
19465
19466 \begin_inset Flex Code
19467 status collapsed
19468
19469 \begin_layout Plain Layout
19470 InsetLayout
19471 \end_layout
19472
19473 \end_inset
19474
19475 の改名を,
19476 後方互換性を維持しながら行うために用いられます.
19477 \end_layout
19478
19479 \begin_layout Description
19480 \begin_inset Flex Code
19481 status collapsed
19482
19483 \begin_layout Plain Layout
19484 ParbreakIgnored
19485 \end_layout
19486
19487 \end_inset
19488
19489  [
19490 \begin_inset Flex Code
19491 status collapsed
19492
19493 \begin_layout Plain Layout
19494
19495 \emph on
19496 0
19497 \end_layout
19498
19499 \end_inset
19500
19501 ,
19502 \begin_inset space \thinspace{}
19503 \end_inset
19504
19505
19506 \begin_inset Flex Code
19507 status collapsed
19508
19509 \begin_layout Plain Layout
19510 1
19511 \end_layout
19512
19513 \end_inset
19514
19515
19516 \begin_inset Flex Code
19517 status collapsed
19518
19519 \begin_layout Plain Layout
19520 1
19521 \end_layout
19522
19523 \end_inset
19524
19525 に設定すると,
19526 段落の改行は出力では無視されます.これは,
19527 内容が\SpecialChar LyX
19528 作業領域内でのみ改行可能で,
19529 出力に影響を与えない差込枠において有用です.
19530 \end_layout
19531
19532 \begin_layout Description
19533 \begin_inset Flex Code
19534 status collapsed
19535
19536 \begin_layout Plain Layout
19537 ParbreakIsNewline
19538 \end_layout
19539
19540 \end_inset
19541
19542  [
19543 \begin_inset Flex Code
19544 status collapsed
19545
19546 \begin_layout Plain Layout
19547
19548 \emph on
19549 0
19550 \end_layout
19551
19552 \end_inset
19553
19554 ,
19555 \begin_inset space \thinspace{}
19556 \end_inset
19557
19558
19559 \begin_inset Flex Code
19560 status collapsed
19561
19562 \begin_layout Plain Layout
19563 1
19564 \end_layout
19565
19566 \end_inset
19567
19568 ] 段落様式と同様.第
19569 \begin_inset CommandInset ref
19570 LatexCommand ref
19571 reference "subsec:段落様式"
19572 nolink "false"
19573
19574 \end_inset
19575
19576 節参照.
19577 \end_layout
19578
19579 \begin_layout Description
19580 \begin_inset Flex Code
19581 status collapsed
19582
19583 \begin_layout Plain Layout
19584 PassThru
19585 \end_layout
19586
19587 \end_inset
19588
19589  [
19590 \emph on
19591
19592 \begin_inset Flex Code
19593 status collapsed
19594
19595 \begin_layout Plain Layout
19596 0
19597 \end_layout
19598
19599 \end_inset
19600
19601
19602 \emph default
19603 ,
19604 \begin_inset space \thinspace{}
19605 \end_inset
19606
19607
19608 \begin_inset Flex Code
19609 status collapsed
19610
19611 \begin_layout Plain Layout
19612 1
19613 \end_layout
19614
19615 \end_inset
19616
19617 ] 段落様式と同様.第
19618 \begin_inset CommandInset ref
19619 LatexCommand ref
19620 reference "subsec:段落様式"
19621 nolink "false"
19622
19623 \end_inset
19624
19625 節参照.
19626 \end_layout
19627
19628 \begin_layout Description
19629 \begin_inset Flex Code
19630 status collapsed
19631
19632 \begin_layout Plain Layout
19633 Preamble
19634 \end_layout
19635
19636 \end_inset
19637
19638  段落様式と同様.第
19639 \begin_inset CommandInset ref
19640 LatexCommand ref
19641 reference "subsec:段落様式"
19642 nolink "false"
19643
19644 \end_inset
19645
19646 節参照.
19647 \end_layout
19648
19649 \begin_layout Description
19650 \begin_inset Flex Code
19651 status collapsed
19652
19653 \begin_layout Plain Layout
19654 RefPrefix
19655 \end_layout
19656
19657 \end_inset
19658
19659  [
19660 \begin_inset Flex Code
19661 status collapsed
19662
19663 \begin_layout Plain Layout
19664 文字列
19665 \end_layout
19666
19667 \end_inset
19668
19669 ] この型の差込枠を参照する際,
19670 生成されるラベルに使用する前置句.これによって,
19671 整形参照を使用することができるようになります.
19672 \end_layout
19673
19674 \begin_layout Description
19675 \begin_inset Flex Code
19676 status collapsed
19677
19678 \begin_layout Plain Layout
19679 Requires
19680 \end_layout
19681
19682 \end_inset
19683
19684  [
19685 \begin_inset Flex Code
19686 status collapsed
19687
19688 \begin_layout Plain Layout
19689 文字列
19690 \end_layout
19691
19692 \end_inset
19693
19694 ] 段落様式と同様.第
19695 \begin_inset CommandInset ref
19696 LatexCommand ref
19697 reference "subsec:段落様式"
19698 nolink "false"
19699
19700 \end_inset
19701
19702 節参照.
19703 \end_layout
19704
19705 \begin_layout Description
19706 \begin_inset Flex Code
19707 status collapsed
19708
19709 \begin_layout Plain Layout
19710 ResetArgs
19711 \end_layout
19712
19713 \end_inset
19714
19715  [
19716 \begin_inset Flex Code
19717 status collapsed
19718
19719 \begin_layout Plain Layout
19720
19721 \emph on
19722 0
19723 \end_layout
19724
19725 \end_inset
19726
19727 ,
19728 \begin_inset space \thinspace{}
19729 \end_inset
19730
19731
19732 \begin_inset Flex Code
19733 status collapsed
19734
19735 \begin_layout Plain Layout
19736 1
19737 \end_layout
19738
19739 \end_inset
19740
19741 ] (
19742 \begin_inset Flex Code
19743 status collapsed
19744
19745 \begin_layout Plain Layout
19746 Argument
19747 \end_layout
19748
19749 \end_inset
19750
19751 タグで定義された)この様式の\SpecialChar LaTeX
19752 引数をリセットします.これは,
19753 様式を
19754 \begin_inset Flex Code
19755 status collapsed
19756
19757 \begin_layout Plain Layout
19758 CopyStyle
19759 \end_layout
19760
19761 \end_inset
19762
19763 でコピーし,
19764 その(必須及び非必須)引数は継承したくない場合に便利です.
19765 \end_layout
19766
19767 \begin_layout Description
19768 \begin_inset Flex Code
19769 status collapsed
19770
19771 \begin_layout Plain Layout
19772 ResetsFont
19773 \end_layout
19774
19775 \end_inset
19776
19777  [
19778 \begin_inset Flex Code
19779 status collapsed
19780
19781 \begin_layout Plain Layout
19782 0
19783 \end_layout
19784
19785 \end_inset
19786
19787 ,
19788 \begin_inset space \thinspace{}
19789 \end_inset
19790
19791
19792 \begin_inset Flex Code
19793 status collapsed
19794
19795 \begin_layout Plain Layout
19796
19797 \emph on
19798 1
19799 \end_layout
19800
19801 \end_inset
19802
19803
19804 \begin_inset Flex Code
19805 status collapsed
19806
19807 \begin_layout Plain Layout
19808
19809 \emph on
19810 1
19811 \end_layout
19812
19813 \end_inset
19814
19815 ならば,
19816 差込枠がフォント変更指定の中にあるとき,
19817 各差込枠の内部で再度フォント変更指定が為されます(たとえば
19818 \begin_inset Flex Code
19819 status collapsed
19820
19821 \begin_layout Plain Layout
19822
19823 \backslash
19824 textbf{周りの文字列
19825 \backslash
19826 myinset{中身}\SpecialChar ldots
19827 }
19828 \end_layout
19829
19830 \end_inset
19831
19832 ではなく
19833 \begin_inset Flex Code
19834 status collapsed
19835
19836 \begin_layout Plain Layout
19837
19838 \backslash
19839 textbf{周りの文字列
19840 \backslash
19841 myinset{
19842 \backslash
19843 textbf{中身}}\SpecialChar ldots
19844 }
19845 \end_layout
19846
19847 \end_inset
19848
19849 ).(脚註のような)内部的にフォント設定をリセットするコマンドで意味を持ちます.これを誤って設定してしまうと,
19850 望まない結果を生むことがあります(例:
19851
19852 \begin_inset Flex Code
19853 status collapsed
19854
19855 \begin_layout Plain Layout
19856
19857 \backslash
19858 emph{周りの文字列
19859 \backslash
19860 myinset{
19861 \backslash
19862 emph{中身t}}\SpecialChar ldots
19863 }
19864 \end_layout
19865
19866 \end_inset
19867
19868 では
19869 \begin_inset Flex Code
19870 status collapsed
19871
19872 \begin_layout Plain Layout
19873
19874 \backslash
19875 emph
19876 \end_layout
19877
19878 \end_inset
19879
19880 がトグルですので,
19881 中身がアップライト体になります).既定値は
19882 \begin_inset Flex Code
19883 status collapsed
19884
19885 \begin_layout Plain Layout
19886 0
19887 \end_layout
19888
19889 \end_inset
19890
19891
19892 フォント変更は差込枠内部で繰り返されません.
19893 \end_layout
19894
19895 \begin_layout Description
19896 \begin_inset Flex Code
19897 status collapsed
19898
19899 \begin_layout Plain Layout
19900 RightDelim
19901 \end_layout
19902
19903 \end_inset
19904
19905  [
19906 \begin_inset Flex Code
19907 status collapsed
19908
19909 \begin_layout Plain Layout
19910 文字列
19911 \end_layout
19912
19913 \end_inset
19914
19915 ] 様式の内容の最後に置かれる文字列.出力中の改行は
19916 \begin_inset Flex Code
19917 status collapsed
19918
19919 \begin_layout Plain Layout
19920 <br/>
19921 \end_layout
19922
19923 \end_inset
19924
19925 で指示できます.
19926 \end_layout
19927
19928 \begin_layout Description
19929 \begin_inset Flex Code
19930 status collapsed
19931
19932 \begin_layout Plain Layout
19933 Spellcheck
19934 \end_layout
19935
19936 \end_inset
19937
19938  [
19939 \begin_inset Flex Code
19940 status collapsed
19941
19942 \begin_layout Plain Layout
19943 0
19944 \end_layout
19945
19946 \end_inset
19947
19948 ,
19949 \begin_inset space \thinspace{}
19950 \end_inset
19951
19952
19953 \begin_inset Flex Code
19954 status collapsed
19955
19956 \begin_layout Plain Layout
19957
19958 \emph on
19959 1
19960 \end_layout
19961
19962 \end_inset
19963
19964 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
19965 \end_layout
19966
19967 \begin_layout Subsection
19968 引数
19969 \begin_inset CommandInset label
19970 LatexCommand label
19971 name "subsec:引数"
19972
19973 \end_inset
19974
19975
19976 \end_layout
19977
19978 \begin_layout Standard
19979 段落様式と差込枠レイアウトは,
19980 内容本体に加えて引数を取ることができます.これは,
19981 節見出しのようなものに便利で,
19982 また\SpecialChar LaTeX
19983 でのみ意味を持ちます.コマンドまたは環境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,
19984 必須・非必須を問わず–,
19985 別の場所で定義され,
19986 引数番号はその順序を表します.定義は
19987 \begin_inset Flex Code
19988 status collapsed
19989
19990 \begin_layout Plain Layout
19991 EndArgument
19992 \end_layout
19993
19994 \end_inset
19995
19996 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,
19997 以下のようになります.
19998 \end_layout
19999
20000 \begin_layout Quote
20001
20002 \family typewriter
20003 Argument 1
20004 \end_layout
20005
20006 \begin_layout Quote
20007
20008 \family typewriter
20009 ...
20010 \end_layout
20011
20012 \begin_layout Quote
20013
20014 \family typewriter
20015 EndArgument
20016 \end_layout
20017
20018 \begin_layout Quote
20019
20020 \family typewriter
20021 Argument 2
20022 \end_layout
20023
20024 \begin_layout Quote
20025
20026 \family typewriter
20027 ...
20028 \end_layout
20029
20030 \begin_layout Quote
20031
20032 \family typewriter
20033 EndArgument
20034 \end_layout
20035
20036 \begin_layout Standard
20037 \begin_inset Flex Code
20038 status collapsed
20039
20040 \begin_layout Plain Layout
20041 Argument
20042 \end_layout
20043
20044 \end_inset
20045
20046 定義内部では,
20047 以下の指定をすることができます.
20048 \end_layout
20049
20050 \begin_layout Itemize
20051 \begin_inset Flex Code
20052 status collapsed
20053
20054 \begin_layout Plain Layout
20055 LabelString
20056 \end_layout
20057
20058 \end_inset
20059
20060  
20061 \begin_inset Flex Code
20062 status collapsed
20063
20064 \begin_layout Plain Layout
20065 [文字列]
20066 \end_layout
20067
20068 \end_inset
20069
20070  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
20071 \begin_inset Flex Code
20072 status collapsed
20073
20074 \begin_layout Plain Layout
20075 MenuString
20076 \end_layout
20077
20078 \end_inset
20079
20080 を指定した場合を除く).メニューには,
20081 後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
20082 \begin_inset space \space{}
20083 \end_inset
20084
20085
20086 \begin_inset Quotes eld
20087 \end_inset
20088
20089
20090 \begin_inset Flex Code
20091 status collapsed
20092
20093 \begin_layout Plain Layout
20094 Short Title|S
20095 \end_layout
20096
20097 \end_inset
20098
20099
20100 \begin_inset Quotes erd
20101 \end_inset
20102
20103 ).
20104 \end_layout
20105
20106 \begin_layout Itemize
20107 \begin_inset Flex Code
20108 status collapsed
20109
20110 \begin_layout Plain Layout
20111 MenuString
20112 \end_layout
20113
20114 \end_inset
20115
20116  
20117 \begin_inset Flex Code
20118 status collapsed
20119
20120 \begin_layout Plain Layout
20121 [文字列]
20122 \end_layout
20123
20124 \end_inset
20125
20126  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
20127 \begin_inset space \space{}
20128 \end_inset
20129
20130
20131 \begin_inset Quotes eld
20132 \end_inset
20133
20134
20135 \begin_inset Flex Code
20136 status collapsed
20137
20138 \begin_layout Plain Layout
20139 Short Title|S
20140 \end_layout
20141
20142 \end_inset
20143
20144
20145 \begin_inset Quotes erd
20146 \end_inset
20147
20148 ).この指定は必須ではありません.指定しない場合には,
20149 代わりに
20150 \begin_inset Flex Code
20151 status collapsed
20152
20153 \begin_layout Plain Layout
20154 LabelString
20155 \end_layout
20156
20157 \end_inset
20158
20159 がメニューに用いられます.
20160 \end_layout
20161
20162 \begin_layout Itemize
20163 \begin_inset Flex Code
20164 status collapsed
20165
20166 \begin_layout Plain Layout
20167 Tooltip
20168 \end_layout
20169
20170 \end_inset
20171
20172  
20173 \begin_inset Flex Code
20174 status collapsed
20175
20176 \begin_layout Plain Layout
20177 [文字列]
20178 \end_layout
20179
20180 \end_inset
20181
20182  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
20183 \end_layout
20184
20185 \begin_layout Itemize
20186 \begin_inset Flex Code
20187 status collapsed
20188
20189 \begin_layout Plain Layout
20190 Mandatory
20191 \end_layout
20192
20193 \end_inset
20194
20195  [
20196 \begin_inset Flex Code
20197 status collapsed
20198
20199 \begin_layout Plain Layout
20200
20201 \emph on
20202 0
20203 \end_layout
20204
20205 \end_inset
20206
20207 ,
20208 \begin_inset space \thinspace{}
20209 \end_inset
20210
20211
20212 \begin_inset Flex Code
20213 status collapsed
20214
20215 \begin_layout Plain Layout
20216 1
20217 \end_layout
20218
20219 \end_inset
20220
20221 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,
20222 与えられなければ空の出力を行いますが,
20223 非必須引数の場合はそもそも出力されません.既定では,
20224 必須引数は
20225 \begin_inset Flex Code
20226 status collapsed
20227
20228 \begin_layout Plain Layout
20229 {...}
20230 \end_layout
20231
20232 \end_inset
20233
20234 で区切られ,
20235 非必須引数は
20236 \begin_inset Flex Code
20237 status collapsed
20238
20239 \begin_layout Plain Layout
20240 [...]
20241 \end_layout
20242
20243 \end_inset
20244
20245 で区切られます.
20246 \end_layout
20247
20248 \begin_layout Itemize
20249 \begin_inset Flex Code
20250 status collapsed
20251
20252 \begin_layout Plain Layout
20253 NewlineCmd
20254 \end_layout
20255
20256 \end_inset
20257
20258  
20259 \begin_inset Flex Code
20260 status collapsed
20261
20262 \begin_layout Plain Layout
20263 [文字列]
20264 \end_layout
20265
20266 \end_inset
20267
20268  改行に使用するコマンドを(
20269 \begin_inset Flex Code
20270 status collapsed
20271
20272 \begin_layout Plain Layout
20273
20274 \backslash
20275
20276 \backslash
20277
20278 \end_layout
20279
20280 \end_inset
20281
20282 以外に)定義するオプションです.初期値のバックスラッシュは指定できません.
20283 \end_layout
20284
20285 \begin_layout Itemize
20286 \begin_inset Flex Code
20287 status collapsed
20288
20289 \begin_layout Plain Layout
20290 Requires
20291 \end_layout
20292
20293 \end_inset
20294
20295  
20296 \begin_inset Flex Code
20297 status collapsed
20298
20299 \begin_layout Plain Layout
20300 [整数=0]
20301 \end_layout
20302
20303 \end_inset
20304
20305  この引数が出力されるとき,
20306 必要となる別の引数を(番号によって)指定します.例えば,
20307 \SpecialChar LaTeX
20308 コマンドでは,
20309
20310 \begin_inset Flex Code
20311 status collapsed
20312
20313 \begin_layout Plain Layout
20314
20315 \backslash
20316 command[][引数]{文字列}
20317 \end_layout
20318
20319 \end_inset
20320
20321 のように,
20322 前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
20323
20324 \begin_inset Flex Code
20325 status collapsed
20326
20327 \begin_layout Plain Layout
20328 Argument 2
20329 \end_layout
20330
20331 \end_inset
20332
20333 中に
20334 \begin_inset Flex Code
20335 status collapsed
20336
20337 \begin_layout Plain Layout
20338 Requires 1
20339 \end_layout
20340
20341 \end_inset
20342
20343 ステートメントを置くことで実現できます.
20344 \end_layout
20345
20346 \begin_layout Itemize
20347 \begin_inset Flex Code
20348 status collapsed
20349
20350 \begin_layout Plain Layout
20351 LeftDelim
20352 \end_layout
20353
20354 \end_inset
20355
20356  
20357 \begin_inset Flex Code
20358 status collapsed
20359
20360 \begin_layout Plain Layout
20361 [文字列]
20362 \end_layout
20363
20364 \end_inset
20365
20366  (
20367 \begin_inset Flex Code
20368 status collapsed
20369
20370 \begin_layout Plain Layout
20371 {
20372 \end_layout
20373
20374 \end_inset
20375
20376
20377 \begin_inset Flex Code
20378 status collapsed
20379
20380 \begin_layout Plain Layout
20381 [
20382 \end_layout
20383
20384 \end_inset
20385
20386 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
20387 \begin_inset Flex Code
20388 status collapsed
20389
20390 \begin_layout Plain Layout
20391 <br/>
20392 \end_layout
20393
20394 \end_inset
20395
20396 で指示できます.
20397 \end_layout
20398
20399 \begin_layout Itemize
20400 \begin_inset Flex Code
20401 status collapsed
20402
20403 \begin_layout Plain Layout
20404 RightDelim
20405 \end_layout
20406
20407 \end_inset
20408
20409  
20410 \begin_inset Flex Code
20411 status collapsed
20412
20413 \begin_layout Plain Layout
20414 [文字列]
20415 \end_layout
20416
20417 \end_inset
20418
20419  (
20420 \begin_inset Flex Code
20421 status collapsed
20422
20423 \begin_layout Plain Layout
20424 }
20425 \end_layout
20426
20427 \end_inset
20428
20429
20430 \begin_inset Flex Code
20431 status collapsed
20432
20433 \begin_layout Plain Layout
20434 ]
20435 \end_layout
20436
20437 \end_inset
20438
20439 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
20440 \begin_inset Flex Code
20441 status collapsed
20442
20443 \begin_layout Plain Layout
20444 <br/>
20445 \end_layout
20446
20447 \end_inset
20448
20449 で指示できます.
20450 \end_layout
20451
20452 \begin_layout Itemize
20453 \begin_inset Flex Code
20454 status collapsed
20455
20456 \begin_layout Plain Layout
20457 DefaultArg
20458 \end_layout
20459
20460 \end_inset
20461
20462  
20463 \begin_inset Flex Code
20464 status collapsed
20465
20466 \begin_layout Plain Layout
20467 [文字列]
20468 \end_layout
20469
20470 \end_inset
20471
20472  ユーザー指定引数が与えられなかったとき,
20473 すなわち引数差込枠が挿入されなかったときに限り,
20474 挿入される引数を定義します(空の引数差込枠が挿入されてもDefaultArgは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
20475 \end_layout
20476
20477 \begin_layout Itemize
20478 \begin_inset Flex Code
20479 status collapsed
20480
20481 \begin_layout Plain Layout
20482 PresetArg
20483 \end_layout
20484
20485 \end_inset
20486
20487  
20488 \begin_inset Flex Code
20489 status collapsed
20490
20491 \begin_layout Plain Layout
20492 [文字列]
20493 \end_layout
20494
20495 \end_inset
20496
20497  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
20498 \end_layout
20499
20500 \begin_layout Itemize
20501 \begin_inset Flex Code
20502 status collapsed
20503
20504 \begin_layout Plain Layout
20505 Font
20506 \end_layout
20507
20508 \end_inset
20509
20510  引数の内容に用いられるフォント.
20511 \begin_inset CommandInset ref
20512 LatexCommand ref
20513 reference "subsec:フォント指定"
20514 nolink "false"
20515
20516 \end_inset
20517
20518 参照.
20519 \end_layout
20520
20521 \begin_layout Itemize
20522 \begin_inset Flex Code
20523 status collapsed
20524
20525 \begin_layout Plain Layout
20526 FreeSpacing
20527 \end_layout
20528
20529 \end_inset
20530
20531  [
20532 \emph on
20533
20534 \begin_inset Flex Code
20535 status collapsed
20536
20537 \begin_layout Plain Layout
20538 0
20539 \end_layout
20540
20541 \end_inset
20542
20543
20544 \emph default
20545 ,
20546 \begin_inset space \thinspace{}
20547 \end_inset
20548
20549
20550 \begin_inset Flex Code
20551 status collapsed
20552
20553 \begin_layout Plain Layout
20554 1
20555 \end_layout
20556
20557 \end_inset
20558
20559 ] 段落様式と同様.第
20560 \begin_inset CommandInset ref
20561 LatexCommand ref
20562 reference "subsec:段落様式"
20563 nolink "false"
20564
20565 \end_inset
20566
20567 節参照.
20568 \end_layout
20569
20570 \begin_layout Itemize
20571 \begin_inset Flex Code
20572 status collapsed
20573
20574 \begin_layout Plain Layout
20575 LabelFont
20576 \end_layout
20577
20578 \end_inset
20579
20580  ラベルに用いられるフォント.
20581 \begin_inset CommandInset ref
20582 LatexCommand ref
20583 reference "subsec:フォント指定"
20584 nolink "false"
20585
20586 \end_inset
20587
20588 参照.
20589 \end_layout
20590
20591 \begin_layout Itemize
20592 \begin_inset Flex Code
20593 status collapsed
20594
20595 \begin_layout Plain Layout
20596 Decoration
20597 \end_layout
20598
20599 \end_inset
20600
20601  [
20602 \begin_inset Flex Code
20603 status collapsed
20604
20605 \begin_layout Plain Layout
20606
20607 \emph on
20608 Classic
20609 \emph default
20610 ,
20611  Minimalistic,
20612  Conglomerate
20613 \end_layout
20614
20615 \end_inset
20616
20617 ] 差込枠の枠とボタンに用いられる装飾様式.
20618 \end_layout
20619
20620 \begin_layout Itemize
20621 \begin_inset Flex Code
20622 status collapsed
20623
20624 \begin_layout Plain Layout
20625 AutoInsert
20626 \end_layout
20627
20628 \end_inset
20629
20630  
20631 \begin_inset Flex Code
20632 status collapsed
20633
20634 \begin_layout Plain Layout
20635 [整数=0]
20636 \end_layout
20637
20638 \end_inset
20639
20640  これが
20641 \begin_inset Flex Code
20642 status collapsed
20643
20644 \begin_layout Plain Layout
20645 1
20646 \end_layout
20647
20648 \end_inset
20649
20650 に設定されると,
20651 各様式が選択されたときに,
20652 この引数が自動的に挿入されます.
20653 \end_layout
20654
20655 \begin_layout Itemize
20656 \begin_inset Flex Code
20657 status collapsed
20658
20659 \begin_layout Plain Layout
20660 InsertOnNewline
20661 \end_layout
20662
20663 \end_inset
20664
20665  
20666 \begin_inset Flex Code
20667 status collapsed
20668
20669 \begin_layout Plain Layout
20670 [整数=0]
20671 \end_layout
20672
20673 \end_inset
20674
20675  これが
20676 \begin_inset Flex Code
20677 status collapsed
20678
20679 \begin_layout Plain Layout
20680 1
20681 \end_layout
20682
20683 \end_inset
20684
20685 に設定されると,
20686
20687 \begin_inset Flex Code
20688 status collapsed
20689
20690 \begin_layout Plain Layout
20691 AutoInsert
20692 \end_layout
20693
20694 \end_inset
20695
20696 時にこの変数は新規行に挿入されます(自由差込枠でのみ使用可能).
20697 \end_layout
20698
20699 \begin_layout Itemize
20700 \begin_inset Flex Code
20701 status collapsed
20702
20703 \begin_layout Plain Layout
20704 InsertCotext
20705 \end_layout
20706
20707 \end_inset
20708
20709  
20710 \begin_inset Flex Code
20711 status collapsed
20712
20713 \begin_layout Plain Layout
20714 [整数=0]
20715 \end_layout
20716
20717 \end_inset
20718
20719  これが
20720 \begin_inset Flex Code
20721 status collapsed
20722
20723 \begin_layout Plain Layout
20724 1
20725 \end_layout
20726
20727 \end_inset
20728
20729 に設定されると,
20730 この引数は,
20731 副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
20732 \end_layout
20733
20734 \begin_layout Itemize
20735 \begin_inset Flex Code
20736 status collapsed
20737
20738 \begin_layout Plain Layout
20739 PassThru
20740 \end_layout
20741
20742 \end_inset
20743
20744  [
20745 \begin_inset Flex Code
20746 status collapsed
20747
20748 \begin_layout Plain Layout
20749
20750 \emph on
20751 inherited
20752 \emph default
20753 ,
20754  true,
20755  false
20756 \end_layout
20757
20758 \end_inset
20759
20760 ] この引数の内容が,
20761 \SpecialChar LaTeX
20762 が要求する特別な書き換えを行うことなく,
20763 原文のまま出力されるべきかどうかを指定します.既定値では,
20764
20765 \begin_inset Flex Code
20766 status collapsed
20767
20768 \begin_layout Plain Layout
20769 PassThru
20770 \end_layout
20771
20772 \end_inset
20773
20774 の状態は,
20775 引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,
20776 この引数のみの状態を変更します.
20777 \end_layout
20778
20779 \begin_layout Itemize
20780 \begin_inset Flex Code
20781 status collapsed
20782
20783 \begin_layout Plain Layout
20784 PassThruChars
20785 \end_layout
20786
20787 \end_inset
20788
20789  [
20790 \begin_inset Flex Code
20791 status collapsed
20792
20793 \begin_layout Plain Layout
20794 文字列
20795 \end_layout
20796
20797 \end_inset
20798
20799 ]
20800 \family typewriter
20801  
20802 \family default
20803 \SpecialChar LaTeX
20804 が要求する特別な翻訳は抜きにして,
20805 生の形で出力されるべき各文字を定義します.PassThruとは違って,
20806 引数用に,
20807 これは明示的に定義されなくてはなりません.つまり,
20808 引数は,
20809 親差込枠や親レイアウトからPassThruCharsを継承しません.
20810 \end_layout
20811
20812 \begin_layout Itemize
20813 \begin_inset Flex Code
20814 status collapsed
20815
20816 \begin_layout Plain Layout
20817 IsTocCaption
20818 \end_layout
20819
20820 \end_inset
20821
20822  [
20823 \begin_inset Flex Code
20824 status collapsed
20825
20826 \begin_layout Plain Layout
20827
20828 \emph on
20829 0
20830 \end_layout
20831
20832 \end_inset
20833
20834 ,
20835 \begin_inset space \thinspace{}
20836 \end_inset
20837
20838
20839 \begin_inset Flex Code
20840 status collapsed
20841
20842 \begin_layout Plain Layout
20843 1
20844 \end_layout
20845
20846 \end_inset
20847
20848 ] これを1に設定すると,
20849 引数は,
20850 その内容を対応する一覧表の項目に出力します.AddToTocを参照.
20851 \end_layout
20852
20853 \begin_layout Standard
20854 既定では,
20855
20856 \begin_inset Flex Code
20857 status collapsed
20858
20859 \begin_layout Plain Layout
20860 LatexType
20861 \end_layout
20862
20863 \end_inset
20864
20865
20866 \begin_inset Flex Code
20867 status collapsed
20868
20869 \begin_layout Plain Layout
20870 Command
20871 \end_layout
20872
20873 \end_inset
20874
20875 のとき,
20876 各レイアウトで\SpecialChar LyX
20877 作業領域に入力した文字列は,
20878 コマンドの最後の(必須)引数になります.しかしながら,
20879 前置句
20880 \begin_inset Flex Code
20881 status collapsed
20882
20883 \begin_layout Plain Layout
20884 post:
20885 \end_layout
20886
20887 \end_inset
20888
20889 を付けた文字列は,
20890 この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,
20891 作業領域引数の後の最初の引数は
20892 \begin_inset Flex Code
20893 status collapsed
20894
20895 \begin_layout Plain Layout
20896 post:1
20897 \end_layout
20898
20899 \end_inset
20900
20901 となります.後置引数は,
20902
20903 \begin_inset Flex Code
20904 status collapsed
20905
20906 \begin_layout Plain Layout
20907 Command
20908 \end_layout
20909
20910 \end_inset
20911
20912 以外の
20913 \begin_inset Flex Code
20914 status collapsed
20915
20916 \begin_layout Plain Layout
20917 LatexType
20918 \end_layout
20919
20920 \end_inset
20921
20922 では無視されます.
20923 \end_layout
20924
20925 \begin_layout Standard
20926 (
20927 \begin_inset Flex Code
20928 status collapsed
20929
20930 \begin_layout Plain Layout
20931
20932 \backslash
20933 item[foo]
20934 \end_layout
20935
20936 \end_inset
20937
20938 のような)箇条書き
20939 \begin_inset Flex Code
20940 status collapsed
20941
20942 \begin_layout Plain Layout
20943
20944 \backslash
20945 item
20946 \end_layout
20947
20948 \end_inset
20949
20950 の引数は,
20951 前置句
20952 \begin_inset Flex Code
20953 status collapsed
20954
20955 \begin_layout Plain Layout
20956 item:
20957 \end_layout
20958
20959 \end_inset
20960
20961 の後に番号を付けます(例:
20962 \begin_inset Flex Code
20963 status collapsed
20964
20965 \begin_layout Plain Layout
20966 Argument item:1
20967 \end_layout
20968
20969 \end_inset
20970
20971 ).
20972 \end_layout
20973
20974 \begin_layout Standard
20975 最後に,
20976 前置句
20977 \begin_inset Flex Code
20978 status collapsed
20979
20980 \begin_layout Plain Layout
20981 listpreamble:
20982 \end_layout
20983
20984 \end_inset
20985
20986 を用いる特別な引数型があります.これは本当は引数ではありませんが,
20987 引数インタフェースを用います(したがって前置句後には数値が続きます.例:
20988
20989 \begin_inset Flex Code
20990 status collapsed
20991
20992 \begin_layout Plain Layout
20993 Argument listpreamble:1
20994 \end_layout
20995
20996 \end_inset
20997
20998 ).名前が示すように,
20999
21000 \family sans
21001 Itemize
21002 \family default
21003
21004 \family sans
21005 Enumerate
21006 \family default
21007
21008 \family sans
21009 Description
21010 \family default
21011
21012 \family sans
21013 Bibliography
21014 \family default
21015 のようなリストが対象です.その中身はリスト開始時,
21016 最初の
21017 \begin_inset Flex Code
21018 status collapsed
21019
21020 \begin_layout Plain Layout
21021
21022 \backslash
21023 item
21024 \end_layout
21025
21026 \end_inset
21027
21028 の前に独立した行として(\SpecialChar LyX
21029 からは他の方法ではアクセス不能な場所です)出力されます.このようにして,
21030 ユーザーは各リストに(長さ等の)再定義を入れることができます.既定では,
21031 これらの引数は区切り文字を持ちません.
21032 \end_layout
21033
21034 \begin_layout Subsection
21035 カウンタ
21036 \begin_inset CommandInset label
21037 LatexCommand label
21038 name "subsec:カウンタ"
21039
21040 \end_inset
21041
21042
21043 \end_layout
21044
21045 \begin_layout Standard
21046 テキストクラスには,
21047 カウンタ(
21048 \begin_inset Flex MenuItem
21049 status collapsed
21050
21051 \begin_layout Plain Layout
21052 chapter
21053 \end_layout
21054
21055 \end_inset
21056
21057
21058 \begin_inset Flex MenuItem
21059 status collapsed
21060
21061 \begin_layout Plain Layout
21062 figure
21063 \end_layout
21064
21065 \end_inset
21066
21067 ・\SpecialChar ldots
21068 )を定義することが必要です.標準的なカウンタは
21069 \begin_inset Flex Code
21070 status collapsed
21071
21072 \begin_layout Plain Layout
21073 stdcounters.inc
21074 \end_layout
21075
21076 \end_inset
21077
21078 ファイルに含まれているので,
21079 作業中のレイアウトファイルに
21080 \end_layout
21081
21082 \begin_layout LyX-Code
21083 Input stdcounters.inc
21084 \end_layout
21085
21086 \begin_layout Standard
21087 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,
21088 そうすることもできます.カウンタ宣言は,
21089
21090 \end_layout
21091
21092 \begin_layout LyX-Code
21093 Counter カウンタ名
21094 \end_layout
21095
21096 \begin_layout Standard
21097 で始まらなくてはなりません.ここで「
21098 \begin_inset Flex Code
21099 status collapsed
21100
21101 \begin_layout Plain Layout
21102 カウンタ名
21103 \end_layout
21104
21105 \end_inset
21106
21107 」は,
21108 実際のカウンタ名で置き換えます.また,
21109 宣言は「
21110 \begin_inset Flex Code
21111 status collapsed
21112
21113 \begin_layout Plain Layout
21114 End
21115 \end_layout
21116
21117 \end_inset
21118
21119 」で終わらなくてはなりません.
21120 \end_layout
21121
21122 \begin_layout Standard
21123 以下のパラメータを使用することができます.
21124 \end_layout
21125
21126 \begin_layout Description
21127 \begin_inset Flex Code
21128 status collapsed
21129
21130 \begin_layout Plain Layout
21131 InitialValue
21132 \end_layout
21133
21134 \end_inset
21135
21136  [
21137 \begin_inset Flex Code
21138 status collapsed
21139
21140 \begin_layout Plain Layout
21141 整数=1
21142 \end_layout
21143
21144 \end_inset
21145
21146 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,
21147 既定値1のままで充分でしょう.
21148 \end_layout
21149
21150 \begin_layout Description
21151 \begin_inset Flex Code
21152 status collapsed
21153
21154 \begin_layout Plain Layout
21155 LabelString
21156 \end_layout
21157
21158 \end_inset
21159
21160  [
21161 \begin_inset Flex Code
21162 status collapsed
21163
21164 \begin_layout Plain Layout
21165 文字列
21166 \end_layout
21167
21168 \end_inset
21169
21170 =""] 定義されていると,
21171 ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
21172
21173 \begin_inset Flex Code
21174 status collapsed
21175
21176 \begin_layout Plain Layout
21177 LabelStringAppendix
21178 \end_layout
21179
21180 \end_inset
21181
21182 も同じ値に設定されます.文字列中では,
21183 以下の構成要素を使用することができます.
21184 \end_layout
21185
21186 \begin_deeper
21187 \begin_layout Itemize
21188 \begin_inset Flex Code
21189 status collapsed
21190
21191 \begin_layout Plain Layout
21192
21193 \backslash
21194 thecounter
21195 \end_layout
21196
21197 \end_inset
21198
21199 は,
21200 カウンタ
21201 \begin_inset Flex Code
21202 status collapsed
21203
21204 \begin_layout Plain Layout
21205 counter
21206 \end_layout
21207
21208 \end_inset
21209
21210
21211 \begin_inset Flex Code
21212 status collapsed
21213
21214 \begin_layout Plain Layout
21215 LabelString
21216 \end_layout
21217
21218 \end_inset
21219
21220 (または
21221 \begin_inset Newline linebreak
21222 \end_inset
21223
21224
21225 \begin_inset Flex Code
21226 status collapsed
21227
21228 \begin_layout Plain Layout
21229 LabelStringAppendix
21230 \end_layout
21231
21232 \end_inset
21233
21234 )を展開したもので置き換えられます. 
21235 \end_layout
21236
21237 \begin_layout Itemize
21238 カウンタ値は,
21239 \SpecialChar LaTeX
21240 型マクロ
21241 \begin_inset Flex Code
21242 status collapsed
21243
21244 \begin_layout Plain Layout
21245
21246 \backslash
21247
21248 \emph on
21249 numbertype
21250 \emph default
21251 {
21252 \emph on
21253 カウンタ
21254 \emph default
21255 }
21256 \end_layout
21257
21258 \end_inset
21259
21260 を用いて表現することができます.ここで
21261 \begin_inset Flex Code
21262 status collapsed
21263
21264 \begin_layout Plain Layout
21265
21266 \emph on
21267 numbertype
21268 \end_layout
21269
21270 \end_inset
21271
21272 は以下のいずれかです.
21273 \begin_inset Flex Code
21274 status collapsed
21275
21276 \begin_layout Plain Layout
21277 arabic
21278 \end_layout
21279
21280 \end_inset
21281
21282
21283 1,
21284  2,
21285  3,\SpecialChar ldots
21286
21287
21288 \begin_inset Flex Code
21289 status collapsed
21290
21291 \begin_layout Plain Layout
21292 alph
21293 \end_layout
21294
21295 \end_inset
21296
21297
21298 a,
21299  b,
21300  c,
21301  \SpecialChar ldots
21302 (小文字);
21303
21304 \begin_inset Flex Code
21305 status collapsed
21306
21307 \begin_layout Plain Layout
21308 Alph
21309 \end_layout
21310
21311 \end_inset
21312
21313
21314 A,
21315  B,
21316  C,
21317  \SpecialChar ldots
21318 (大文字);
21319
21320 \begin_inset Flex Code
21321 status collapsed
21322
21323 \begin_layout Plain Layout
21324 roman
21325 \end_layout
21326
21327 \end_inset
21328
21329
21330 i,
21331  ii,
21332  iii,
21333  \SpecialChar ldots
21334 (小文字ローマ数字);
21335
21336 \begin_inset Flex Code
21337 status collapsed
21338
21339 \begin_layout Plain Layout
21340 Roman
21341 \end_layout
21342
21343 \end_inset
21344
21345
21346 I,
21347  II,
21348  III\SpecialChar ldots
21349 (大文字ローマ数字).
21350 \end_layout
21351
21352 \end_deeper
21353 \begin_layout Standard
21354 \begin_inset Flex Code
21355 status collapsed
21356
21357 \begin_layout Plain Layout
21358 LabelString
21359 \end_layout
21360
21361 \end_inset
21362
21363 が定義されていないときは,
21364 既定値は以下のように組み立てられます.このカウンタに親カウンタ
21365 \begin_inset Flex Code
21366 status collapsed
21367
21368 \begin_layout Plain Layout
21369 master
21370 \end_layout
21371
21372 \end_inset
21373
21374
21375 \begin_inset Flex Code
21376 status collapsed
21377
21378 \begin_layout Plain Layout
21379 Within
21380 \end_layout
21381
21382 \end_inset
21383
21384 で定義)があるときには,
21385 文字列
21386 \begin_inset Newline linebreak
21387 \end_inset
21388
21389
21390 \begin_inset Flex Code
21391 status collapsed
21392
21393 \begin_layout Plain Layout
21394
21395 \backslash
21396 themaster.
21397 \backslash
21398 arabic{カウンタ}
21399 \end_layout
21400
21401 \end_inset
21402
21403 が使用されます.それ以外の場合は,
21404
21405 \begin_inset Flex Code
21406 status collapsed
21407
21408 \begin_layout Plain Layout
21409
21410 \backslash
21411 arabic{カウンタ}
21412 \end_layout
21413
21414 \end_inset
21415
21416 が使用されます.
21417 \end_layout
21418
21419 \begin_layout Description
21420 \begin_inset Flex Code
21421 status collapsed
21422
21423 \begin_layout Plain Layout
21424 LabelStringAppendix
21425 \end_layout
21426
21427 \end_inset
21428
21429  [
21430 \begin_inset Flex Code
21431 status collapsed
21432
21433 \begin_layout Plain Layout
21434 文字列
21435 \end_layout
21436
21437 \end_inset
21438
21439 =""] 
21440 \begin_inset Flex Code
21441 status collapsed
21442
21443 \begin_layout Plain Layout
21444 LabelString
21445 \end_layout
21446
21447 \end_inset
21448
21449 と同様ですが,
21450 付録で使用するためのものです.
21451 \end_layout
21452
21453 \begin_layout Description
21454 \begin_inset Flex Code
21455 status collapsed
21456
21457 \begin_layout Plain Layout
21458 LaTeXName
21459 \end_layout
21460
21461 \end_inset
21462
21463  [
21464 \begin_inset Flex Code
21465 status collapsed
21466
21467 \begin_layout Plain Layout
21468 文字列
21469 \end_layout
21470
21471 \end_inset
21472
21473 =
21474 \begin_inset Quotes erd
21475 \end_inset
21476
21477
21478 \begin_inset Quotes erd
21479 \end_inset
21480
21481 ] \SpecialChar LaTeX
21482 で使用されるカウンタ名(たとえば\SpecialChar LyX
21483 では「theorem」というカウンタがありますが,
21484 \SpecialChar LaTeX
21485 には「thm」と出力されます).
21486 \end_layout
21487
21488 \begin_layout Description
21489 \begin_inset Flex Code
21490 status collapsed
21491
21492 \begin_layout Plain Layout
21493 PrettyFormat
21494 \end_layout
21495
21496 \end_inset
21497
21498  [
21499 \begin_inset Flex Code
21500 status collapsed
21501
21502 \begin_layout Plain Layout
21503 文字列
21504 \end_layout
21505
21506 \end_inset
21507
21508 =
21509 \begin_inset Quotes erd
21510 \end_inset
21511
21512
21513 \begin_inset Quotes erd
21514 \end_inset
21515
21516 ] このカウンタの整形参照で使用する書式.たとえば,
21517 節番号への参照を「Section
21518 \begin_inset space ~
21519 \end_inset
21520
21521 2.4」のように表示させたい場合には,
21522 文字列に「##」を含めるか,
21523
21524 \begin_inset Flex Code
21525 status collapsed
21526
21527 \begin_layout Plain Layout
21528 LabelString
21529 \end_layout
21530
21531 \end_inset
21532
21533 でのようにカウンタ指定を含めます.前者はカウンタ番号で置換されます.したがって,
21534 節の場合には「Section ##」のようにするか,
21535
21536 \begin_inset Flex Code
21537 status collapsed
21538
21539 \begin_layout Plain Layout
21540
21541 \backslash
21542 S
21543 \backslash
21544 arabic{section}
21545 \end_layout
21546
21547 \end_inset
21548
21549 」のようにします(これは§2.7のように翻訳されます).
21550 \end_layout
21551
21552 \begin_layout Description
21553 \begin_inset Flex Code
21554 status collapsed
21555
21556 \begin_layout Plain Layout
21557 RefFormat
21558 \end_layout
21559
21560 \end_inset
21561
21562  [
21563 \begin_inset Flex Code
21564 status collapsed
21565
21566 \begin_layout Plain Layout
21567 文字列
21568 \end_layout
21569
21570 \end_inset
21571
21572 ,
21573  
21574 \begin_inset Flex Code
21575 status collapsed
21576
21577 \begin_layout Plain Layout
21578 文字列
21579 \end_layout
21580
21581 \end_inset
21582
21583 ] とくに,
21584 単一のカウンタを複数の種類の様式で使用するとき「書式付き参照」で使用するためのものです.たとえば,
21585
21586 \begin_inset Flex Code
21587 status collapsed
21588
21589 \begin_layout Plain Layout
21590 theorem
21591 \end_layout
21592
21593 \end_inset
21594
21595 カウンタは,
21596 往々にしてTheoremやLemmaなど,
21597 定理型の環境の全種類で使用されます.第1引数は,
21598 ラベルで使用される前置詞(たとえば,
21599
21600 \begin_inset Quotes erd
21601 \end_inset
21602
21603 thm
21604 \begin_inset Quotes erd
21605 \end_inset
21606
21607
21608 \begin_inset Quotes erd
21609 \end_inset
21610
21611 lem
21612 \begin_inset Quotes erd
21613 \end_inset
21614
21615 )を与え,
21616 第2変数は,
21617
21618 \begin_inset Flex Code
21619 status collapsed
21620
21621 \begin_layout Plain Layout
21622 LabelString
21623 \end_layout
21624
21625 \end_inset
21626
21627
21628 \begin_inset Flex Code
21629 status collapsed
21630
21631 \begin_layout Plain Layout
21632 PrettyFormat
21633 \end_layout
21634
21635 \end_inset
21636
21637 に与えるような書式指定文字列を与えます.これが与えられなければ,
21638
21639 \begin_inset Flex Code
21640 status collapsed
21641
21642 \begin_layout Plain Layout
21643 PrettyFormat
21644 \end_layout
21645
21646 \end_inset
21647
21648 が使用されます.
21649 \end_layout
21650
21651 \begin_layout Description
21652 \begin_inset Flex Code
21653 status collapsed
21654
21655 \begin_layout Plain Layout
21656 Within
21657 \end_layout
21658
21659 \end_inset
21660
21661  [
21662 \begin_inset Flex Code
21663 status collapsed
21664
21665 \begin_layout Plain Layout
21666 文字列
21667 \end_layout
21668
21669 \end_inset
21670
21671 =
21672 \begin_inset Quotes erd
21673 \end_inset
21674
21675
21676 \begin_inset Quotes erd
21677 \end_inset
21678
21679 ] これを別のカウンタ名に設定すると,
21680 現在のカウンタは,
21681 別のカウンタが増加する毎にリセットされます.たとえば,
21682
21683 \begin_inset Flex Code
21684 status collapsed
21685
21686 \begin_layout Plain Layout
21687 subsection
21688 \end_layout
21689
21690 \end_inset
21691
21692
21693 \begin_inset Flex Code
21694 status collapsed
21695
21696 \begin_layout Plain Layout
21697 section
21698 \end_layout
21699
21700 \end_inset
21701
21702 毎に番号がリセットされます.
21703 \end_layout
21704
21705 \begin_layout Subsection
21706 フォント指定
21707 \begin_inset CommandInset label
21708 LatexCommand label
21709 name "subsec:フォント指定"
21710
21711 \end_inset
21712
21713
21714 \end_layout
21715
21716 \begin_layout Standard
21717 フォント指定は,
21718 以下のような形を取ります.
21719 \end_layout
21720
21721 \begin_layout LyX-Code
21722 Font 
21723 \family roman
21724 \emph on
21725 または
21726 \family default
21727 \emph default
21728  LabelFont 
21729 \family roman
21730 \emph on
21731 または
21732 \family default
21733 \emph default
21734  DefaultFont
21735 \end_layout
21736
21737 \begin_layout LyX-Code
21738  ...
21739 \end_layout
21740
21741 \begin_layout LyX-Code
21742 EndFont
21743 \end_layout
21744
21745 \begin_layout Standard
21746 以下のコマンドを使用することができます.
21747 \end_layout
21748
21749 \begin_layout Description
21750 \begin_inset Flex Code
21751 status collapsed
21752
21753 \begin_layout Plain Layout
21754 Color
21755 \end_layout
21756
21757 \end_inset
21758
21759  [
21760 \begin_inset Flex Code
21761 status collapsed
21762
21763 \begin_layout Plain Layout
21764 文字列
21765 \end_layout
21766
21767 \end_inset
21768
21769 ] 有効な引数については,
21770 付録
21771 \begin_inset CommandInset ref
21772 LatexCommand ref
21773 reference "chap:色名"
21774 plural "false"
21775 caps "false"
21776 noprefix "false"
21777 nolink "false"
21778
21779 \end_inset
21780
21781 をご覧ください.
21782 \end_layout
21783
21784 \begin_layout Description
21785 \begin_inset Flex Code
21786 status collapsed
21787
21788 \begin_layout Plain Layout
21789 Family
21790 \end_layout
21791
21792 \end_inset
21793
21794  [
21795 \emph on
21796
21797 \begin_inset Flex Code
21798 status collapsed
21799
21800 \begin_layout Plain Layout
21801 Roman
21802 \end_layout
21803
21804 \end_inset
21805
21806
21807 \emph default
21808 ,
21809  
21810 \begin_inset Flex Code
21811 status collapsed
21812
21813 \begin_layout Plain Layout
21814 Sans
21815 \end_layout
21816
21817 \end_inset
21818
21819 ,
21820  
21821 \begin_inset Flex Code
21822 status collapsed
21823
21824 \begin_layout Plain Layout
21825 Typewriter
21826 \end_layout
21827
21828 \end_inset
21829
21830
21831 \end_layout
21832
21833 \begin_layout Description
21834 \begin_inset Flex Code
21835 status collapsed
21836
21837 \begin_layout Plain Layout
21838 Misc
21839 \end_layout
21840
21841 \end_inset
21842
21843  [
21844 \begin_inset Flex Code
21845 status collapsed
21846
21847 \begin_layout Plain Layout
21848 文字列
21849 \end_layout
21850
21851 \end_inset
21852
21853 ] 有効な引数は,
21854
21855 \begin_inset Flex Code
21856 status collapsed
21857
21858 \begin_layout Plain Layout
21859 emph
21860 \end_layout
21861
21862 \end_inset
21863
21864
21865 \begin_inset Flex Code
21866 status collapsed
21867
21868 \begin_layout Plain Layout
21869 noun
21870 \end_layout
21871
21872 \end_inset
21873
21874
21875 \begin_inset Flex Code
21876 status collapsed
21877
21878 \begin_layout Plain Layout
21879 strikeout
21880 \end_layout
21881
21882 \end_inset
21883
21884
21885 \begin_inset Flex Code
21886 status collapsed
21887
21888 \begin_layout Plain Layout
21889 underbar
21890 \end_layout
21891
21892 \end_inset
21893
21894
21895 \begin_inset Flex Code
21896 status collapsed
21897
21898 \begin_layout Plain Layout
21899 uuline
21900 \end_layout
21901
21902 \end_inset
21903
21904
21905 \begin_inset Flex Code
21906 status collapsed
21907
21908 \begin_layout Plain Layout
21909 uwave
21910 \end_layout
21911
21912 \end_inset
21913
21914
21915 \begin_inset Flex Code
21916 status collapsed
21917
21918 \begin_layout Plain Layout
21919 no_emph
21920 \end_layout
21921
21922 \end_inset
21923
21924
21925 \begin_inset Flex Code
21926 status collapsed
21927
21928 \begin_layout Plain Layout
21929 no_noun
21930 \end_layout
21931
21932 \end_inset
21933
21934
21935 \begin_inset Flex Code
21936 status collapsed
21937
21938 \begin_layout Plain Layout
21939 no_strikeout
21940 \end_layout
21941
21942 \end_inset
21943
21944
21945 \begin_inset Flex Code
21946 status collapsed
21947
21948 \begin_layout Plain Layout
21949 no_bar
21950 \end_layout
21951
21952 \end_inset
21953
21954
21955 \begin_inset Flex Code
21956 status collapsed
21957
21958 \begin_layout Plain Layout
21959 no_uuline
21960 \end_layout
21961
21962 \end_inset
21963
21964
21965 \begin_inset Flex Code
21966 status collapsed
21967
21968 \begin_layout Plain Layout
21969 no_uwave
21970 \end_layout
21971
21972 \end_inset
21973
21974 です.それぞれ,
21975 対応する属性を有効にしたり無効にしたりします.
21976 \begin_inset Newline newline
21977 \end_inset
21978
21979 たとえば,
21980
21981 \begin_inset Flex Code
21982 status collapsed
21983
21984 \begin_layout Plain Layout
21985 emph
21986 \end_layout
21987
21988 \end_inset
21989
21990 は強調を有効にし,
21991
21992 \begin_inset Flex Code
21993 status collapsed
21994
21995 \begin_layout Plain Layout
21996 no_emph
21997 \end_layout
21998
21999 \end_inset
22000
22001 はそれを無効にします.もし後者がわかりにくければ,
22002 現在のコンテクストのフォント設定は,
22003 一般的に周囲のコンテクストから継承していることを思い出してください.ですから
22004 \begin_inset Flex Code
22005 status collapsed
22006
22007 \begin_layout Plain Layout
22008 no_emph
22009 \end_layout
22010
22011 \end_inset
22012
22013 は,
22014 たとえば定理環境で,
22015 何をせずとも有効となっている強調を無効にするのです.
22016 \end_layout
22017
22018 \begin_layout Description
22019 \begin_inset Flex Code
22020 status collapsed
22021
22022 \begin_layout Plain Layout
22023 Series
22024 \end_layout
22025
22026 \end_inset
22027
22028  [
22029 \emph on
22030
22031 \begin_inset Flex Code
22032 status collapsed
22033
22034 \begin_layout Plain Layout
22035 Medium
22036 \end_layout
22037
22038 \end_inset
22039
22040
22041 \emph default
22042 ,
22043  
22044 \begin_inset Flex Code
22045 status collapsed
22046
22047 \begin_layout Plain Layout
22048 Bold
22049 \end_layout
22050
22051 \end_inset
22052
22053
22054 \end_layout
22055
22056 \begin_layout Description
22057 \begin_inset Flex Code
22058 status collapsed
22059
22060 \begin_layout Plain Layout
22061 Shape
22062 \end_layout
22063
22064 \end_inset
22065
22066  [
22067 \emph on
22068
22069 \begin_inset Flex Code
22070 status collapsed
22071
22072 \begin_layout Plain Layout
22073 Up
22074 \end_layout
22075
22076 \end_inset
22077
22078
22079 \emph default
22080 ,
22081  
22082 \begin_inset Flex Code
22083 status collapsed
22084
22085 \begin_layout Plain Layout
22086 Italic
22087 \end_layout
22088
22089 \end_inset
22090
22091 ,
22092  
22093 \begin_inset Flex Code
22094 status collapsed
22095
22096 \begin_layout Plain Layout
22097 SmallCaps
22098 \end_layout
22099
22100 \end_inset
22101
22102 ,
22103  
22104 \begin_inset Flex Code
22105 status collapsed
22106
22107 \begin_layout Plain Layout
22108 Slanted
22109 \end_layout
22110
22111 \end_inset
22112
22113
22114 \end_layout
22115
22116 \begin_layout Description
22117 \begin_inset Flex Code
22118 status collapsed
22119
22120 \begin_layout Plain Layout
22121 Size
22122 \end_layout
22123
22124 \end_inset
22125
22126  [
22127 \begin_inset Flex Code
22128 status collapsed
22129
22130 \begin_layout Plain Layout
22131 tiny
22132 \end_layout
22133
22134 \end_inset
22135
22136 ,
22137  
22138 \begin_inset Flex Code
22139 status collapsed
22140
22141 \begin_layout Plain Layout
22142 small
22143 \end_layout
22144
22145 \end_inset
22146
22147 ,
22148  
22149 \begin_inset Flex Code
22150 status collapsed
22151
22152 \begin_layout Plain Layout
22153
22154 \emph on
22155 normal
22156 \end_layout
22157
22158 \end_inset
22159
22160 ,
22161  
22162 \begin_inset Flex Code
22163 status collapsed
22164
22165 \begin_layout Plain Layout
22166 large
22167 \end_layout
22168
22169 \end_inset
22170
22171 ,
22172  
22173 \begin_inset Flex Code
22174 status collapsed
22175
22176 \begin_layout Plain Layout
22177 larger
22178 \end_layout
22179
22180 \end_inset
22181
22182 ,
22183  
22184 \begin_inset Flex Code
22185 status collapsed
22186
22187 \begin_layout Plain Layout
22188 largest
22189 \end_layout
22190
22191 \end_inset
22192
22193 ,
22194  
22195 \begin_inset Flex Code
22196 status collapsed
22197
22198 \begin_layout Plain Layout
22199 huge
22200 \end_layout
22201
22202 \end_inset
22203
22204 ,
22205  
22206 \begin_inset Flex Code
22207 status collapsed
22208
22209 \begin_layout Plain Layout
22210 giant
22211 \end_layout
22212
22213 \end_inset
22214
22215 ]
22216 \end_layout
22217
22218 \begin_layout Subsection
22219 \begin_inset CommandInset label
22220 LatexCommand label
22221 name "subsec:引用エンジンの説明"
22222
22223 \end_inset
22224
22225 引用エンジンの説明
22226 \end_layout
22227
22228 \begin_layout Standard
22229 主に引用エンジンファイル(第
22230 \begin_inset CommandInset ref
22231 LatexCommand ref
22232 reference "subsec:引用エンジンファイル"
22233 plural "false"
22234 caps "false"
22235 noprefix "false"
22236 nolink "false"
22237
22238 \end_inset
22239
22240 節参照)で用いられる
22241 \begin_inset Flex Code
22242 status collapsed
22243
22244 \begin_layout Plain Layout
22245 CiteEngine
22246 \end_layout
22247
22248 \end_inset
22249
22250 ブロックは,
22251 特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
22252 の用語では,
22253 引用エンジンとは,
22254 番号や著者名,
22255 刊行年を使って,
22256 引用を整形する特定の方法のことを指します.\SpecialChar LyX
22257 は,
22258 3つのエンジンの型をサポートします.すなわち,
22259
22260 \end_layout
22261
22262 \begin_layout Enumerate
22263 \begin_inset Flex Code
22264 status collapsed
22265
22266 \begin_layout Plain Layout
22267 default
22268 \end_layout
22269
22270 \end_inset
22271
22272 :
22273  既定のBib\SpecialChar TeX
22274 流の引用方法である,
22275 単純な番号による様式(例:
22276 「[1]」)
22277 \end_layout
22278
22279 \begin_layout Enumerate
22280 \begin_inset Flex Code
22281 status collapsed
22282
22283 \begin_layout Plain Layout
22284 authoryear
22285 \end_layout
22286
22287 \end_inset
22288
22289 :
22290  著者名と刊行年を使ったHarvard様式の引用(例:
22291 「Smith and Miller (2017b)」)
22292 \end_layout
22293
22294 \begin_layout Enumerate
22295 \begin_inset Flex Code
22296 status collapsed
22297
22298 \begin_layout Plain Layout
22299 numerical
22300 \end_layout
22301
22302 \end_inset
22303
22304 :
22305  番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:
22306 「Smith and Miller [1]」)
22307 \end_layout
22308
22309 \begin_layout Standard
22310 \begin_inset Flex Code
22311 status collapsed
22312
22313 \begin_layout Plain Layout
22314 CiteEngine
22315 \end_layout
22316
22317 \end_inset
22318
22319 ブロックは以下のようになります.
22320 \end_layout
22321
22322 \begin_layout LyX-Code
22323 CiteEngine default
22324 \end_layout
22325
22326 \begin_layout LyX-Code
22327  cite
22328 \end_layout
22329
22330 \begin_layout LyX-Code
22331  Citep*[][]
22332 \end_layout
22333
22334 \begin_layout LyX-Code
22335  citeyearpar[][]=parencite*
22336 \end_layout
22337
22338 \begin_layout LyX-Code
22339  ...
22340 \end_layout
22341
22342 \begin_layout LyX-Code
22343 End
22344 \end_layout
22345
22346 \begin_layout Standard
22347 \begin_inset Flex Code
22348 status collapsed
22349
22350 \begin_layout Plain Layout
22351 CiteEngine
22352 \end_layout
22353
22354 \end_inset
22355
22356 に続くタグがエンジンを表します.各行は,
22357 このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,
22358 \SpecialChar LyX
22359 コマンドと\SpecialChar LaTeX
22360 出力を命名するのに使われる引用コマンドのみを含むこともあれば,
22361 色々変えるために複雑なこともあります.完全な文法は
22362 \end_layout
22363
22364 \begin_layout LyX-Code
22365 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
22366 \end_layout
22367
22368 \begin_layout Standard
22369 という形になっています.ここで
22370 \end_layout
22371
22372 \begin_layout Itemize
22373 \begin_inset Flex Code
22374 status collapsed
22375
22376 \begin_layout Plain Layout
22377 LyXName
22378 \end_layout
22379
22380 \end_inset
22381
22382 :
22383  
22384 \begin_inset Flex Code
22385 status collapsed
22386
22387 \begin_layout Plain Layout
22388 *.lyx
22389 \end_layout
22390
22391 \end_inset
22392
22393 ファイルで使用される名前.
22394 \end_layout
22395
22396 \begin_deeper
22397 \begin_layout Standard
22398 可搬性のために,
22399 異なる引用パッケージ中の同じ形をしたコマンドには,
22400 同じ名前をつけるようにしています(したがって,
22401 多くの名前がnatbibから派生しており,
22402 \SpecialChar LaTeX
22403 コマンド名が異なる場合には,
22404 しばしば
22405 \begin_inset Flex Code
22406 status collapsed
22407
22408 \begin_layout Plain Layout
22409 latexcmd
22410 \end_layout
22411
22412 \end_inset
22413
22414 を変える必要があります).
22415 \end_layout
22416
22417 \end_deeper
22418 \begin_layout Itemize
22419 \begin_inset Flex Code
22420 status collapsed
22421
22422 \begin_layout Plain Layout
22423 alias
22424 \end_layout
22425
22426 \end_inset
22427
22428 :
22429  このエンジンにおいて,
22430 与えられた
22431 \begin_inset Flex Code
22432 status collapsed
22433
22434 \begin_layout Plain Layout
22435 LyXName
22436 \end_layout
22437
22438 \end_inset
22439
22440 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,
22441 引用パッケージとエンジンを切り替えるのが楽になります.
22442 \begin_inset Flex Code
22443 status collapsed
22444
22445 \begin_layout Plain Layout
22446 alias
22447 \end_layout
22448
22449 \end_inset
22450
22451 はレイアウト定義中での
22452 \begin_inset Flex Code
22453 status collapsed
22454
22455 \begin_layout Plain Layout
22456 ObsoletedBy
22457 \end_layout
22458
22459 \end_inset
22460
22461 に相当するものと考えてよいでしょう.
22462 \end_layout
22463
22464 \begin_layout Itemize
22465 \begin_inset Flex Code
22466 status collapsed
22467
22468 \begin_layout Plain Layout
22469 latexcmd
22470 \end_layout
22471
22472 \end_inset
22473
22474 :
22475  出力される実際の\SpecialChar LaTeX
22476 コマンド.
22477 \end_layout
22478
22479 \begin_layout Standard
22480 \begin_inset Flex Code
22481 status collapsed
22482
22483 \begin_layout Plain Layout
22484 Alias
22485 \end_layout
22486
22487 \end_inset
22488
22489
22490 \begin_inset Flex Code
22491 status collapsed
22492
22493 \begin_layout Plain Layout
22494 latexcmd
22495 \end_layout
22496
22497 \end_inset
22498
22499 は必須ではありません.
22500 \begin_inset Flex Code
22501 status collapsed
22502
22503 \begin_layout Plain Layout
22504 latexcmd
22505 \end_layout
22506
22507 \end_inset
22508
22509 が与えられない時は,
22510
22511 \begin_inset Flex Code
22512 status collapsed
22513
22514 \begin_layout Plain Layout
22515 LyXName
22516 \end_layout
22517
22518 \end_inset
22519
22520 が\SpecialChar LaTeX
22521 に出力されます.
22522 \end_layout
22523
22524 \begin_layout Standard
22525 さらに,
22526 下記の点に注意してください.
22527 \end_layout
22528
22529 \begin_layout Itemize
22530 大文字にするとコマンドも大文字化されたものになります(
22531 \begin_inset Flex Code
22532 status collapsed
22533
22534 \begin_layout Plain Layout
22535
22536 \backslash
22537 latexcmd
22538 \end_layout
22539
22540 \end_inset
22541
22542
22543 \begin_inset Flex Code
22544 status collapsed
22545
22546 \begin_layout Plain Layout
22547
22548 \backslash
22549 Latexcmd
22550 \end_layout
22551
22552 \end_inset
22553
22554 に).これらは通常,
22555 名前の前置詞を大文字化するのを確実にします(
22556 \emph on
22557 von Goethe
22558 \emph default
22559  
22560 \begin_inset Formula $\Rightarrow$
22561 \end_inset
22562
22563  
22564 \emph on
22565 Von Goethe
22566 \emph default
22567 ).
22568 \end_layout
22569
22570 \begin_layout Itemize
22571 括弧
22572 \begin_inset Flex Code
22573 status collapsed
22574
22575 \begin_layout Plain Layout
22576 []
22577 \end_layout
22578
22579 \end_inset
22580
22581 は非必須引数の数を表します(0-2をとりえます).
22582 \end_layout
22583
22584 \begin_layout Itemize
22585 星印
22586 \begin_inset Flex Code
22587 status collapsed
22588
22589 \begin_layout Plain Layout
22590 *
22591 \end_layout
22592
22593 \end_inset
22594
22595 は星印付きコマンドを示します(
22596 \begin_inset Flex Code
22597 status collapsed
22598
22599 \begin_layout Plain Layout
22600
22601 \backslash
22602 latexcmd
22603 \end_layout
22604
22605 \end_inset
22606
22607
22608 \begin_inset Flex Code
22609 status collapsed
22610
22611 \begin_layout Plain Layout
22612
22613 \backslash
22614 latexcmd*
22615 \end_layout
22616
22617 \end_inset
22618
22619 に).
22620 \end_layout
22621
22622 \begin_deeper
22623 \begin_layout Standard
22624 既定では,
22625 星印付きバージョンは,
22626
22627 \begin_inset Flex Code
22628 status collapsed
22629
22630 \begin_layout Plain Layout
22631 MaxCiteNames
22632 \end_layout
22633
22634 \end_inset
22635
22636 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
22637 \end_layout
22638
22639 \begin_layout Standard
22640 星印が,
22641 当該コマンドについては別の意味を持つ場合には,
22642
22643 \begin_inset Flex Code
22644 status collapsed
22645
22646 \begin_layout Plain Layout
22647 <!_stardesc!_stardesctooltip>
22648 \end_layout
22649
22650 \end_inset
22651
22652 のように三角括弧で指定することができます.前置詞
22653 \begin_inset Flex Code
22654 status collapsed
22655
22656 \begin_layout Plain Layout
22657 !_
22658 \end_layout
22659
22660 \end_inset
22661
22662 で標識した,
22663 翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,
22664 引用ダイアログ中の「Full aut&hor list」チェックボックスラベルを書き換える文字列を指し,
22665 二つ目のキーワードは,
22666 このチェックボックスに対する非必須のツールチップの文字列を指します.
22667 \end_layout
22668
22669 \begin_layout Standard
22670 これらの2つのマクロは,
22671 下記のように,
22672 前置詞から
22673 \begin_inset Flex Code
22674 status collapsed
22675
22676 \begin_layout Plain Layout
22677 !
22678 \end_layout
22679
22680 \end_inset
22681
22682 を落とした形で
22683 \begin_inset Flex Code
22684 status collapsed
22685
22686 \begin_layout Plain Layout
22687 CiteFormat
22688 \end_layout
22689
22690 \end_inset
22691
22692 (次節参照)で定義されなくてはなりません.
22693 \end_layout
22694
22695 \begin_layout LyX-Code
22696 _stardesc Sta&rred command label
22697 \end_layout
22698
22699 \begin_layout LyX-Code
22700 _stardesctooltip Tooltip for the starred command checkbox.
22701 \end_layout
22702
22703 \end_deeper
22704 \begin_layout Itemize
22705 ドル記号
22706 \begin_inset Flex Code
22707 status collapsed
22708
22709 \begin_layout Plain Layout
22710 $
22711 \end_layout
22712
22713 \end_inset
22714
22715 は,
22716 このコマンドが「qualified citation lists」を取り扱うことを示します.これは,
22717 リスト中の個別の引用に対して,
22718 前置文字列と後置文字列を置くことができる,
22719
22720 \family sans
22721 Biblatex
22722 \family default
22723 に特有の複数文献引用機能です.詳細については,
22724
22725 \family sans
22726 Biblatex
22727 \family default
22728 の取扱説明書をご覧ください.
22729 \end_layout
22730
22731 \begin_layout Standard
22732 引用エンジンに引用コマンドを追加したい場合(たとえばクラスによって提供される特定のコマンドを追加するなど)には,
22733
22734 \begin_inset Flex Code
22735 status collapsed
22736
22737 \begin_layout Plain Layout
22738 AddToCiteEngine <engine type> \SpecialChar ldots
22739  End
22740 \end_layout
22741
22742 \end_inset
22743
22744 を使うことができます.まだ存在しない引用コマンドのみ追加することができます.
22745 \end_layout
22746
22747 \begin_layout Subsection
22748 \begin_inset CommandInset label
22749 LatexCommand label
22750 name "subsec:引用書式指定"
22751
22752 \end_inset
22753
22754 引用書式指定
22755 \end_layout
22756
22757 \begin_layout Standard
22758 (引用ダイアログやツールチップなどの)\SpecialChar LyX
22759 内部やXHTML出力において,
22760 書誌情報をどのように表示するべきかの叙述には,
22761
22762 \begin_inset Flex Code
22763 status collapsed
22764
22765 \begin_layout Plain Layout
22766 CiteFormat
22767 \end_layout
22768
22769 \end_inset
22770
22771 ブロックが使用されています.このブロックは,
22772 以下のような形をしています.
22773 \end_layout
22774
22775 \begin_layout LyX-Code
22776 CiteFormat
22777 \end_layout
22778
22779 \begin_layout LyX-Code
22780  article ...
22781 \end_layout
22782
22783 \begin_layout LyX-Code
22784  book ...
22785 \end_layout
22786
22787 \begin_layout LyX-Code
22788 End
22789 \end_layout
22790
22791 \begin_layout Standard
22792 あるいは
22793 \end_layout
22794
22795 \begin_layout LyX-Code
22796 CiteFormat
22797 \end_layout
22798
22799 \begin_layout LyX-Code
22800  cite ...
22801 \end_layout
22802
22803 \begin_layout LyX-Code
22804  citet*[][] ...
22805 \end_layout
22806
22807 \begin_layout LyX-Code
22808 End
22809 \end_layout
22810
22811 \begin_layout Standard
22812 最初の例の各行は,
22813 それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,
22814 このような定義は,
22815 Bib\SpecialChar TeX
22816 ファイル中に存在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,
22817 \SpecialChar LyX
22818 は,
22819 ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
22820 は,
22821 いくつかの書式を
22822 \begin_inset Flex Code
22823 status collapsed
22824
22825 \begin_layout Plain Layout
22826 stdciteformats.inc
22827 \end_layout
22828
22829 \end_inset
22830
22831 ファイルで事前定義しており,
22832 これはほとんどの\SpecialChar LyX
22833 文書クラスにインクルードされています.
22834 \end_layout
22835
22836 \begin_layout Standard
22837 2つ目の例では,
22838 各行は,
22839 特定の引用コマンド(この例では
22840 \begin_inset Flex Code
22841 status collapsed
22842
22843 \begin_layout Plain Layout
22844
22845 \backslash
22846 cite
22847 \end_layout
22848
22849 \end_inset
22850
22851 及び
22852 \begin_inset Flex Code
22853 status collapsed
22854
22855 \begin_layout Plain Layout
22856
22857 \backslash
22858 citet
22859 \end_layout
22860
22861 \end_inset
22862
22863 )が,
22864 引用差込枠ラベルや引用ダイアログ,
22865 メニュー,
22866 XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
22867 は,
22868 \SpecialChar LyX
22869 に同梱されている個別の
22870 \begin_inset Flex Code
22871 status collapsed
22872
22873 \begin_layout Plain Layout
22874 *.citeengine
22875 \end_layout
22876
22877 \end_inset
22878
22879 ファイル中において,
22880
22881 \family sans
22882 文書\SpecialChar menuseparator
22883 設定\SpecialChar menuseparator
22884 書誌情報\SpecialChar ldots
22885
22886 \family default
22887 でサポートしている引用様式用に,
22888 そのような書式を定義しています(第
22889 \begin_inset CommandInset ref
22890 LatexCommand ref
22891 reference "subsec:引用エンジンファイル"
22892 plural "false"
22893 caps "false"
22894 noprefix "false"
22895 nolink "false"
22896
22897 \end_inset
22898
22899 節参照).
22900 \end_layout
22901
22902 \begin_layout Standard
22903 この定義は,
22904 Bib\SpecialChar TeX
22905 キーをその値で置換できる機能を持った,
22906 簡単な言語を使用しています.キーは,
22907
22908 \begin_inset Flex Code
22909 status collapsed
22910
22911 \begin_layout Plain Layout
22912 %author%
22913 \end_layout
22914
22915 \end_inset
22916
22917 のように
22918 \begin_inset Flex Code
22919 status collapsed
22920
22921 \begin_layout Plain Layout
22922 %
22923 \end_layout
22924
22925 \end_inset
22926
22927 記号でくくらなくてはなりません.したがって,
22928 簡単な定義は以下のようになります.
22929 \end_layout
22930
22931 \begin_layout LyX-Code
22932 misc %author%,
22933  
22934 \begin_inset Quotes eld
22935 \end_inset
22936
22937 %title%
22938 \begin_inset Quotes erd
22939 \end_inset
22940
22941
22942 \end_layout
22943
22944 \begin_layout Standard
22945 これは,
22946 「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
22947 \end_layout
22948
22949 \begin_layout Standard
22950 もちろん,
22951 キーが存在するときのみ,
22952 そのキーを出力したい時があるはずです.このようなときには
22953 \begin_inset Flex Code
22954 status collapsed
22955
22956 \begin_layout Plain Layout
22957 {%volume%[[vol.
22958 \begin_inset space ~
22959 \end_inset
22960
22961 %volume%]]}
22962 \end_layout
22963
22964 \end_inset
22965
22966 のように,
22967 条件付きの構成を使用することができます.これは,
22968
22969 \begin_inset Flex Code
22970 status collapsed
22971
22972 \begin_layout Plain Layout
22973 volume
22974 \end_layout
22975
22976 \end_inset
22977
22978 が存在するならば,
22979 「vol.
22980 \begin_inset space ~
22981 \end_inset
22982
22983 」とvolumeキーを出力するという意味です.また,
22984
22985 \begin_inset Newline newline
22986 \end_inset
22987
22988
22989 \begin_inset Flex Code
22990 status collapsed
22991
22992 \begin_layout Plain Layout
22993 {%author%[[%author%]][[%editor%,
22994  ed.]]}
22995 \end_layout
22996
22997 \end_inset
22998
22999
23000 \begin_inset Newline newline
23001 \end_inset
23002
23003 のように,
23004 条件の中にelse節を含めることも可能です.ここでは,
23005 もし
23006 \begin_inset Flex Code
23007 status collapsed
23008
23009 \begin_layout Plain Layout
23010 author
23011 \end_layout
23012
23013 \end_inset
23014
23015 キーが存在するならば出力され,
23016 そうでなければeditorキーと「,
23017 \begin_inset space ~
23018 \end_inset
23019
23020 ed.」が出力されます.ここでもキーは,
23021
23022 \begin_inset Flex Code
23023 status collapsed
23024
23025 \begin_layout Plain Layout
23026 %
23027 \end_layout
23028
23029 \end_inset
23030
23031 記号でくくられていることに注意してください.条件全体は,
23032 波括弧で囲まれています.if節およびelse節は,
23033
23034 \begin_inset Flex Code
23035 status collapsed
23036
23037 \begin_layout Plain Layout
23038 [[
23039 \end_layout
23040
23041 \end_inset
23042
23043 」と「
23044 \begin_inset Flex Code
23045 status collapsed
23046
23047 \begin_layout Plain Layout
23048 ]]
23049 \end_layout
23050
23051 \end_inset
23052
23053 」の二重角括弧で囲まれています.これらすべてのあいだには,
23054 空白は入ってはなりません.
23055 \end_layout
23056
23057 \begin_layout Standard
23058 これらの条件文に使うことができるものには,
23059 項目キーの他に,
23060 以下の特殊キーがあります.
23061 \end_layout
23062
23063 \begin_layout Itemize
23064 \begin_inset Flex Code
23065 status collapsed
23066
23067 \begin_layout Plain Layout
23068 {%dialog%[[真]][[偽]]}
23069 \end_layout
23070
23071 \end_inset
23072
23073 :
23074  ダイアログとメニューに対しては「真」の部分を処理し,
23075 他の文脈(作業領域や書き出し)には「偽」の部分を処理します
23076 \end_layout
23077
23078 \begin_layout Itemize
23079 \begin_inset Flex Code
23080 status collapsed
23081
23082 \begin_layout Plain Layout
23083 {%export%[[真]][[偽]]}
23084 \end_layout
23085
23086 \end_inset
23087
23088 :
23089  書き出しとメニューに対しては「真」の部分を処理し,
23090 他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
23091 \end_layout
23092
23093 \begin_layout Itemize
23094 \begin_inset Flex Code
23095 status collapsed
23096
23097 \begin_layout Plain Layout
23098 {%next%[[真]]}
23099 \end_layout
23100
23101 \end_inset
23102
23103 :
23104  他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
23105 \end_layout
23106
23107 \begin_layout Itemize
23108 \begin_inset Flex Code
23109 status collapsed
23110
23111 \begin_layout Plain Layout
23112 {%second%[[真]][[偽]]}
23113 \end_layout
23114
23115 \end_inset
23116
23117 :
23118  これが複数項目の2番目の場合には「真」の部分を処理し,
23119 それ以外の場合には「偽」の部分を処理します
23120 \end_layout
23121
23122 \begin_layout Itemize
23123 \begin_inset Flex Code
23124 status collapsed
23125
23126 \begin_layout Plain Layout
23127 {%ifstar%[[真]][[偽]]}
23128 \end_layout
23129
23130 \end_inset
23131
23132 :
23133  (
23134 \begin_inset Flex Code
23135 status collapsed
23136
23137 \begin_layout Plain Layout
23138
23139 \backslash
23140 cite*
23141 \end_layout
23142
23143 \end_inset
23144
23145 など)星印付き引用コマンドの場合には「真」の部分を処理し,
23146 星印付きでない場合には「偽」の部分を処理します
23147 \end_layout
23148
23149 \begin_layout Itemize
23150 \begin_inset Flex Code
23151 status collapsed
23152
23153 \begin_layout Plain Layout
23154 {%ifentrytype:<type>%[[真]][[偽]]}
23155 \end_layout
23156
23157 \end_inset
23158
23159 :
23160  現行の項目が
23161 \begin_inset Flex Code
23162 status collapsed
23163
23164 \begin_layout Plain Layout
23165 <型>
23166 \end_layout
23167
23168 \end_inset
23169
23170 に一致する場合には「真」の部分を処理し,
23171 それ以外の場合には「偽」の部分を処理します(例:
23172 引用定義において
23173 \begin_inset Flex Code
23174 status collapsed
23175
23176 \begin_layout Plain Layout
23177 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
23178 \end_layout
23179
23180 \end_inset
23181
23182
23183 \end_layout
23184
23185 \begin_layout Itemize
23186 \begin_inset Flex Code
23187 status collapsed
23188
23189 \begin_layout Plain Layout
23190 {%ifmultiple:<authortype>%[[真]][[偽]]}
23191 \end_layout
23192
23193 \end_inset
23194
23195 :
23196  現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,
23197 それ以外の場合には「偽」の部分を処理します(例:
23198 書誌情報定義において
23199 \begin_inset Flex Code
23200 status collapsed
23201
23202 \begin_layout Plain Layout
23203 {%ifmultiple:editor%[[eds.]][[ed.]]}
23204 \end_layout
23205
23206 \end_inset
23207
23208
23209 \end_layout
23210
23211 \begin_layout Itemize
23212 \begin_inset Flex Code
23213 status collapsed
23214
23215 \begin_layout Plain Layout
23216 {%ifqualified%[[真]][[偽]]}
23217 \end_layout
23218
23219 \end_inset
23220
23221 :
23222  現行の引用がqualified citation listである(複数文献引用に対する
23223 \family sans
23224 Biblatex
23225 \family default
23226 特有の形式)場合には「真」の部分を処理し,
23227 それ以外の場合には「偽」の部分を処理します
23228 \end_layout
23229
23230 \begin_layout Standard
23231 \begin_inset Flex Code
23232 status collapsed
23233
23234 \begin_layout Plain Layout
23235 %author%
23236 \end_layout
23237
23238 \end_inset
23239
23240 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller,
23241  Peter and Smith,
23242  Mary and White,
23243  Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
23244 では著者を区切るのに「and」が用いられるため),
23245 望ましい結果ではありません.したがって,
23246 \SpecialChar LyX
23247 は,
23248 正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
23249 \end_layout
23250
23251 \begin_layout Enumerate
23252 書誌情報項目の主要著者・編者に適した,
23253 姓名付き名前リスト用.
23254 \begin_inset Flex Code
23255 status collapsed
23256
23257 \begin_layout Plain Layout
23258 <nametype>
23259 \end_layout
23260
23261 \end_inset
23262
23263 部分は要請されているリスト型を表します(例:
23264
23265 \begin_inset Flex Code
23266 status collapsed
23267
23268 \begin_layout Plain Layout
23269 <nametype:author>
23270 \end_layout
23271
23272 \end_inset
23273
23274
23275 \end_layout
23276
23277 \begin_deeper
23278 \begin_layout Itemize
23279 \begin_inset Flex Code
23280 status collapsed
23281
23282 \begin_layout Plain Layout
23283 %abbrvnames:<nametype>%
23284 \end_layout
23285
23286 \end_inset
23287
23288 :
23289  
23290 \begin_inset Flex Code
23291 status collapsed
23292
23293 \begin_layout Plain Layout
23294 MaxCiteNames
23295 \end_layout
23296
23297 \end_inset
23298
23299 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
23300 \end_layout
23301
23302 \begin_layout Itemize
23303 \begin_inset Flex Code
23304 status collapsed
23305
23306 \begin_layout Plain Layout
23307 %fullnames:<nametype>%
23308 \end_layout
23309
23310 \end_inset
23311
23312 :
23313  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
23314 \end_layout
23315
23316 \begin_layout Itemize
23317 \begin_inset Flex Code
23318 status collapsed
23319
23320 \begin_layout Plain Layout
23321 %forceabbrvnames:<nametype>%
23322 \end_layout
23323
23324 \end_inset
23325
23326 :
23327  
23328 \begin_inset Flex Code
23329 status collapsed
23330
23331 \begin_layout Plain Layout
23332 MaxCiteNames
23333 \end_layout
23334
23335 \end_inset
23336
23337 に関わらず,
23338 常に短縮される(「et al.」と共に供される)名前リストを提供します.
23339 \end_layout
23340
23341 \end_deeper
23342 \begin_layout Enumerate
23343 書誌情報項目中の姓名の順序が異なっている場合の,
23344 姓名付き名前リスト(例:
23345 「Miller,
23346  John:
23347  何らかの文,
23348  in:
23349  Mary Smith,
23350  ed.:
23351  A volume」
23352 \end_layout
23353
23354 \begin_deeper
23355 \begin_layout Itemize
23356 \begin_inset Flex Code
23357 status collapsed
23358
23359 \begin_layout Plain Layout
23360 %abbrvbynames:<nametype>%
23361 \end_layout
23362
23363 \end_inset
23364
23365 :
23366  
23367 \begin_inset Flex Code
23368 status collapsed
23369
23370 \begin_layout Plain Layout
23371 MaxCiteNames
23372 \end_layout
23373
23374 \end_inset
23375
23376 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
23377 \end_layout
23378
23379 \begin_layout Itemize
23380 \begin_inset Flex Code
23381 status collapsed
23382
23383 \begin_layout Plain Layout
23384 %fullbynames:<nametype>%
23385 \end_layout
23386
23387 \end_inset
23388
23389 :
23390  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
23391 \end_layout
23392
23393 \begin_layout Itemize
23394 \begin_inset Flex Code
23395 status collapsed
23396
23397 \begin_layout Plain Layout
23398 %forceabbrvbynames:<nametype>%
23399 \end_layout
23400
23401 \end_inset
23402
23403 :
23404  
23405 \begin_inset Flex Code
23406 status collapsed
23407
23408 \begin_layout Plain Layout
23409 MaxCiteNames
23410 \end_layout
23411
23412 \end_inset
23413
23414 に関わらず,
23415 常に短縮される(「et al.」と共に供される)名前リストを提供します.
23416 \end_layout
23417
23418 \end_deeper
23419 \begin_layout Enumerate
23420 著者-発行年引用ラベルで用いられるような,
23421 姓のみを含む姓リスト.これらは
23422 \begin_inset Flex Code
23423 status collapsed
23424
23425 \begin_layout Plain Layout
23426 <nametype>
23427 \end_layout
23428
23429 \end_inset
23430
23431 部分を取りませんが,
23432 (著者-発行年ラベルで通例であるように)常に著者リストか,
23433 存在しない場合には編者リストを返します.
23434 \end_layout
23435
23436 \begin_deeper
23437 \begin_layout Itemize
23438 \begin_inset Flex Code
23439 status collapsed
23440
23441 \begin_layout Plain Layout
23442 %abbrvciteauthor%
23443 \end_layout
23444
23445 \end_inset
23446
23447 :
23448  
23449 \begin_inset Flex Code
23450 status collapsed
23451
23452 \begin_layout Plain Layout
23453 MaxCiteNames
23454 \end_layout
23455
23456 \end_inset
23457
23458 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
23459 \end_layout
23460
23461 \begin_layout Itemize
23462 \begin_inset Flex Code
23463 status collapsed
23464
23465 \begin_layout Plain Layout
23466 %fullciteauthor%
23467 \end_layout
23468
23469 \end_inset
23470
23471 :
23472  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
23473 \end_layout
23474
23475 \begin_layout Itemize
23476 \begin_inset Flex Code
23477 status collapsed
23478
23479 \begin_layout Plain Layout
23480 %forceabbrvciteauthor%
23481 \end_layout
23482
23483 \end_inset
23484
23485 :
23486  
23487 \begin_inset Flex Code
23488 status collapsed
23489
23490 \begin_layout Plain Layout
23491 MaxCiteNames
23492 \end_layout
23493
23494 \end_inset
23495
23496 に関わらず,
23497 常に短縮される(「et al.」と共に供される)名前リストを提供します.
23498 \end_layout
23499
23500 \end_deeper
23501 \begin_layout Standard
23502 前二者の姓名の順序は,
23503 下記のマクロで変更することができます.
23504 \end_layout
23505
23506 \begin_layout Itemize
23507 \begin_inset Flex Code
23508 status collapsed
23509
23510 \begin_layout Plain Layout
23511 !firstnameform %surname%,
23512  %prename%
23513 \end_layout
23514
23515 \end_inset
23516
23517 (1の場合の最初の著者)
23518 \end_layout
23519
23520 \begin_layout Itemize
23521 \begin_inset Flex Code
23522 status collapsed
23523
23524 \begin_layout Plain Layout
23525 !othernameform %surname%,
23526  %prename%
23527 \end_layout
23528
23529 \end_inset
23530
23531 (1の場合の他の著者)
23532 \end_layout
23533
23534 \begin_layout Itemize
23535 \begin_inset Flex Code
23536 status collapsed
23537
23538 \begin_layout Plain Layout
23539 !firstbynameform %prename% %surname%
23540 \end_layout
23541
23542 \end_inset
23543
23544 (2の場合の最初の著者)
23545 \end_layout
23546
23547 \begin_layout Itemize
23548 \begin_inset Flex Code
23549 status collapsed
23550
23551 \begin_layout Plain Layout
23552 !otherbynameform %prename% %surname%
23553 \end_layout
23554
23555 \end_inset
23556
23557 (2の場合の他の著者)
23558 \end_layout
23559
23560 \begin_layout Standard
23561 これによって,
23562 名前を「Miller,
23563  Peter and Mary Smith:
23564  \SpecialChar ldots
23565 ,
23566  in:
23567  John Doe and Pat Green,
23568  eds.:\SpecialChar ldots
23569 」のように設定することができます.
23570 \end_layout
23571
23572 \begin_layout Standard
23573 もう一つ,
23574 定義中で使用することのできる文法として,
23575
23576 \begin_inset Flex Code
23577 status collapsed
23578
23579 \begin_layout Plain Layout
23580 {!<i>!}
23581 \end_layout
23582
23583 \end_inset
23584
23585 という形をしたものがあります.これは,
23586 「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,
23587 平文を書き出すときには,
23588 HTMLタグを出力させたくはありませんから,
23589 HTMLタグは「
23590 \begin_inset Flex Code
23591 status collapsed
23592
23593 \begin_layout Plain Layout
23594 {!
23595 \end_layout
23596
23597 \end_inset
23598
23599 」と「
23600 \begin_inset Flex Code
23601 status collapsed
23602
23603 \begin_layout Plain Layout
23604 !}
23605 \end_layout
23606
23607 \end_inset
23608
23609 」でくるんでやらなくてはならないのです.
23610 \end_layout
23611
23612 \begin_layout Standard
23613 \begin_inset Flex Code
23614 status collapsed
23615
23616 \begin_layout Plain Layout
23617 CiteFormat
23618 \end_layout
23619
23620 \end_inset
23621
23622 ブロックでは,
23623 他に2つの特殊な定義が可能です.一つめの例としては,
23624
23625 \end_layout
23626
23627 \begin_layout LyX-Code
23628 !quotetitle 
23629 \begin_inset Quotes eld
23630 \end_inset
23631
23632 %title%
23633 \begin_inset Quotes erd
23634 \end_inset
23635
23636
23637 \end_layout
23638
23639 \begin_layout Standard
23640 といった例が挙げられます.これは,
23641 短縮形ないしはマクロであり,
23642
23643 \begin_inset Flex Code
23644 status collapsed
23645
23646 \begin_layout Plain Layout
23647 %!quotetitle%
23648 \end_layout
23649
23650 \end_inset
23651
23652 のように,
23653 これがキーであるかのように扱って使用することができます.\SpecialChar LyX
23654 は,
23655
23656 \begin_inset Flex Code
23657 status collapsed
23658
23659 \begin_layout Plain Layout
23660 %!quotetitle%
23661 \end_layout
23662
23663 \end_inset
23664
23665 を,
23666 そこで定義されているものを扱う場合と同じように取り扱います.ですから,
23667 明白な警告を敢えてさせて頂くと,
23668
23669 \end_layout
23670
23671 \begin_layout LyX-Code
23672 !funfun %funfun%
23673 \end_layout
23674
23675 \begin_layout Standard
23676 のようなことはしないでください.\SpecialChar LyX
23677 は,
23678 無限ループに陥るようなことはありませんが,
23679 諦めるまでに時間のかかる長いループに入るかもしれません.
23680 \end_layout
23681
23682 \begin_layout Standard
23683 特殊な定義の二つめは,
23684
23685 \end_layout
23686
23687 \begin_layout LyX-Code
23688 B_pptext pp.
23689 \end_layout
23690
23691 \begin_layout Standard
23692 のようなものです.これは翻訳対象となるテキスト部分を定義し,
23693 これによって書誌情報や引用の対応する部分が翻訳されるようになります.
23694 \begin_inset Flex Code
23695 status collapsed
23696
23697 \begin_layout Plain Layout
23698 %B_pptext%
23699 \end_layout
23700
23701 \end_inset
23702
23703 のように,
23704 これをキーとして扱って,
23705 定義の中に入れることもできます.以下の2つの翻訳パスがあることに注意してください.上記の例のように
23706 \begin_inset Flex Code
23707 status collapsed
23708
23709 \begin_layout Plain Layout
23710 B_
23711 \end_layout
23712
23713 \end_inset
23714
23715 で始まる定義は,
23716 すべて現在アクティブなバッファ言語に翻訳されます(したがって翻訳は生成された文書に一致します).アンダースコアだけから始まる定義は,
23717 すべてGUI言語に翻訳されます.これは
23718 \end_layout
23719
23720 \begin_layout LyX-Code
23721 _addtobib Add to bibliography only
23722 \end_layout
23723
23724 \begin_layout Standard
23725 のように,
23726 ダイアログやボタンにのみ現れる文字列に適した翻訳です.
23727 \end_layout
23728
23729 \begin_layout Standard
23730 これらの翻訳可能な文字列のうちいくつかは,
23731
23732 \begin_inset Flex Code
23733 status collapsed
23734
23735 \begin_layout Plain Layout
23736 stdciteformats.inc
23737 \end_layout
23738
23739 \end_inset
23740
23741 及び様々な
23742 \begin_inset Flex Code
23743 status collapsed
23744
23745 \begin_layout Plain Layout
23746 *.citeengine
23747 \end_layout
23748
23749 \end_inset
23750
23751 ファイル中に事前定義されています.これは,
23752 上記で述べたような意味でのマクロではないことに注意してください.
23753 \end_layout
23754
23755 \begin_layout Standard
23756 以下は,
23757 これらの機能を全て使った例です.
23758 \begin_inset VSpace defskip
23759 \end_inset
23760
23761
23762 \end_layout
23763
23764 \begin_layout Standard
23765 \noindent
23766
23767 \family sans
23768 !authoredit {%author%[[%author%,
23769  ]][[{%editor%[[%editor%,
23770  %B_edtext%,
23771  ]]}]]}
23772 \end_layout
23773
23774 \begin_layout Standard
23775 \begin_inset VSpace defskip
23776 \end_inset
23777
23778 これは,
23779
23780 \begin_inset Flex Code
23781 status collapsed
23782
23783 \begin_layout Plain Layout
23784 author
23785 \end_layout
23786
23787 \end_inset
23788
23789 キーが定義されているならば,
23790 著者とコンマを出力し,
23791
23792 \begin_inset Flex Code
23793 status collapsed
23794
23795 \begin_layout Plain Layout
23796 author
23797 \end_layout
23798
23799 \end_inset
23800
23801 キーが定義されておらず,
23802
23803 \begin_inset Flex Code
23804 status collapsed
23805
23806 \begin_layout Plain Layout
23807 editor
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 B_edtext
23819 \end_layout
23820
23821 \end_inset
23822
23823 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
23824 \begin_inset Flex Code
23825 status collapsed
23826
23827 \begin_layout Plain Layout
23828 stdciteformats.inc
23829 \end_layout
23830
23831 \end_inset
23832
23833 の中で定義されていますので,
23834 このファイルをまず読みこめば,
23835 ご自身の定義ないしは再定義の中で使用することができます.
23836 \end_layout
23837
23838 \begin_layout Section
23839 \begin_inset CommandInset label
23840 LatexCommand label
23841 name "sec:XHTML出力のタグ"
23842
23843 \end_inset
23844
23845 XHTML出力のタグ
23846 \end_layout
23847
23848 \begin_layout Standard
23849 \SpecialChar LaTeX
23850 やDocBookと同様,
23851 \SpecialChar LyX
23852 のXHTML出力の書式も,
23853 レイアウト情報によって制御することができます.一般的に,
23854 \SpecialChar LyX
23855 は適切な既定値を提供し,
23856 前述したように,
23857 他のレイアウトタグに基づいて,
23858 既定のCSSスタイルの構成まで行ないます.たとえば,
23859 章見出しを適切に整形するためのCSSを書き出すために,
23860 \SpecialChar LyX
23861 は,
23862 章様式の
23863 \begin_inset Flex Code
23864 status collapsed
23865
23866 \begin_layout Plain Layout
23867 Font
23868 \end_layout
23869
23870 \end_inset
23871
23872 宣言で提供されている情報を利用しようと試みます.
23873 \end_layout
23874
23875 \begin_layout Standard
23876 したがって,
23877 多くの場合,
23878 使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,
23879 まったく何もしなくてよいことになるでしょう.しかしながら,
23880 これが必要になる場合もあるので,
23881 \SpecialChar LyX
23882 は,
23883 生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,
23884 たくさん提供しています.
23885 \end_layout
23886
23887 \begin_layout Standard
23888 様式宣言や差込枠宣言の外で使用することができるタグに,
23889
23890 \begin_inset Flex Code
23891 status collapsed
23892
23893 \begin_layout Plain Layout
23894 HTMLPreamble
23895 \end_layout
23896
23897 \end_inset
23898
23899
23900 \begin_inset Flex Code
23901 status collapsed
23902
23903 \begin_layout Plain Layout
23904 AddToHTMLPreamble
23905 \end_layout
23906
23907 \end_inset
23908
23909 の2つがあることに注意してください.これらの詳細については,
23910
23911 \begin_inset CommandInset ref
23912 LatexCommand ref
23913 reference "subsec:汎用テキストクラスパラメータ"
23914 nolink "false"
23915
23916 \end_inset
23917
23918 をご覧ください.
23919 \end_layout
23920
23921 \begin_layout Subsection
23922 \begin_inset CommandInset label
23923 LatexCommand label
23924 name "subsec:段落様式-XHTML"
23925
23926 \end_inset
23927
23928 段落様式
23929 \end_layout
23930
23931 \begin_layout Standard
23932 \SpecialChar LyX
23933 が段落のために出力するXHTMLの種類は,
23934 通常の段落を取り扱っているのか,
23935 コマンドを取り扱っているのか,
23936 あるいは環境を取り扱っているのかに依存し,
23937 これは対応する
23938 \begin_inset Flex Code
23939 status collapsed
23940
23941 \begin_layout Plain Layout
23942 \SpecialChar LaTeX
23943 Type
23944 \end_layout
23945
23946 \end_inset
23947
23948 タグの内容によって決定されます.
23949 \end_layout
23950
23951 \begin_layout Standard
23952 コマンドや通常の段落の場合には,
23953 XHTML出力は以下の形になります.
23954 \end_layout
23955
23956 \begin_layout LyX-Code
23957
23958 \family sans
23959 <tag attr=
23960 \begin_inset Quotes erd
23961 \end_inset
23962
23963 value
23964 \begin_inset Quotes erd
23965 \end_inset
23966
23967 >
23968 \end_layout
23969
23970 \begin_layout LyX-Code
23971
23972 \family sans
23973 <labeltag attr=
23974 \begin_inset Quotes erd
23975 \end_inset
23976
23977 value
23978 \begin_inset Quotes erd
23979 \end_inset
23980
23981 >ラベル</labeltag>
23982 \end_layout
23983
23984 \begin_layout LyX-Code
23985
23986 \family sans
23987 段落の内容
23988 \end_layout
23989
23990 \begin_layout LyX-Code
23991
23992 \family sans
23993 </tag>
23994 \end_layout
23995
23996 \begin_layout Standard
23997 もちろん,
23998 段落にラベルがなければ,
23999 ラベルタグは省略することができます.
24000 \end_layout
24001
24002 \begin_layout Standard
24003 環境のうち,
24004 リストの変種でないものに関しては,
24005 XHTMLは以下の形を取ります.
24006 \end_layout
24007
24008 \begin_layout LyX-Code
24009
24010 \family sans
24011 <tag attr=
24012 \begin_inset Quotes erd
24013 \end_inset
24014
24015 value
24016 \begin_inset Quotes erd
24017 \end_inset
24018
24019 >
24020 \end_layout
24021
24022 \begin_layout LyX-Code
24023
24024 \family sans
24025 <itemtag attr=
24026 \begin_inset Quotes erd
24027 \end_inset
24028
24029 value
24030 \begin_inset Quotes erd
24031 \end_inset
24032
24033 ><labeltag attr=
24034 \begin_inset Quotes erd
24035 \end_inset
24036
24037 value
24038 \begin_inset Quotes erd
24039 \end_inset
24040
24041 >環境ラベル</labeltag>最初の段落.
24042 \end_layout
24043
24044 \begin_layout LyX-Code
24045
24046 \family sans
24047 </itemtag>
24048 \end_layout
24049
24050 \begin_layout LyX-Code
24051
24052 \family sans
24053 <itemtag>二つめの段落.</itemtag>
24054 \end_layout
24055
24056 \begin_layout LyX-Code
24057
24058 \family sans
24059 </tag>
24060 \end_layout
24061
24062 \begin_layout Standard
24063 ラベルは,
24064 たとえば定理の場合にそうであるように,
24065 最初の段落にだけ出力されることに注意してください.
24066 \end_layout
24067
24068 \begin_layout Standard
24069 リストに関しては,
24070 次のような形になります.
24071 \end_layout
24072
24073 \begin_layout LyX-Code
24074
24075 \family sans
24076 <tag attr=
24077 \begin_inset Quotes erd
24078 \end_inset
24079
24080 value
24081 \begin_inset Quotes erd
24082 \end_inset
24083
24084 >
24085 \end_layout
24086
24087 \begin_layout LyX-Code
24088
24089 \family sans
24090 <itemtag attr=
24091 \begin_inset Quotes erd
24092 \end_inset
24093
24094 value
24095 \begin_inset Quotes erd
24096 \end_inset
24097
24098 ><labeltag attr=
24099 \begin_inset Quotes erd
24100 \end_inset
24101
24102 value
24103 \begin_inset Quotes erd
24104 \end_inset
24105
24106 >リストのラベル</labeltag>最初の項目.</itemtag>
24107 \end_layout
24108
24109 \begin_layout LyX-Code
24110
24111 \family sans
24112 <itemtag attr=
24113 \begin_inset Quotes erd
24114 \end_inset
24115
24116 value
24117 \begin_inset Quotes erd
24118 \end_inset
24119
24120 ><labeltag attr=
24121 \begin_inset Quotes erd
24122 \end_inset
24123
24124 value
24125 \begin_inset Quotes erd
24126 \end_inset
24127
24128 >リストのラベル</labeltag>二つめの項目.</itemtag>
24129 \end_layout
24130
24131 \begin_layout LyX-Code
24132
24133 \family sans
24134 </tag>
24135 \end_layout
24136
24137 \begin_layout LyX-Code
24138
24139 \end_layout
24140
24141 \begin_layout LyX-Code
24142
24143 \family sans
24144 <tag attr=
24145 \begin_inset Quotes erd
24146 \end_inset
24147
24148 value
24149 \begin_inset Quotes erd
24150 \end_inset
24151
24152 >
24153 \end_layout
24154
24155 \begin_layout LyX-Code
24156
24157 \family sans
24158 <labeltag attr=
24159 \begin_inset Quotes erd
24160 \end_inset
24161
24162 value
24163 \begin_inset Quotes erd
24164 \end_inset
24165
24166 >リストのラベル</labeltag><itemtag attr=
24167 \begin_inset Quotes erd
24168 \end_inset
24169
24170 value
24171 \begin_inset Quotes erd
24172 \end_inset
24173
24174 >最初の項目.</itemtag>
24175 \end_layout
24176
24177 \begin_layout LyX-Code
24178
24179 \family sans
24180 <labeltag attr=
24181 \begin_inset Quotes erd
24182 \end_inset
24183
24184 value
24185 \begin_inset Quotes erd
24186 \end_inset
24187
24188 >リストのラベル</labeltag><itemtag attr=
24189 \begin_inset Quotes erd
24190 \end_inset
24191
24192 value
24193 \begin_inset Quotes erd
24194 \end_inset
24195
24196 >二つめの項目</itemtag>
24197 \end_layout
24198
24199 \begin_layout LyX-Code
24200
24201 \family sans
24202 </tag>
24203 \end_layout
24204
24205 \begin_layout Standard
24206 ここで
24207 \begin_inset Flex Code
24208 status collapsed
24209
24210 \begin_layout Plain Layout
24211 labeltag
24212 \end_layout
24213
24214 \end_inset
24215
24216
24217 \begin_inset Flex Code
24218 status collapsed
24219
24220 \begin_layout Plain Layout
24221 itemtag
24222 \end_layout
24223
24224 \end_inset
24225
24226 の順序が違っていることに注意してください.どちらの順序になるかは,
24227
24228 \begin_inset Flex Code
24229 status collapsed
24230
24231 \begin_layout Plain Layout
24232 HTMLLabelFirst
24233 \end_layout
24234
24235 \end_inset
24236
24237 の設定に依存します.もし
24238 \begin_inset Flex Code
24239 status collapsed
24240
24241 \begin_layout Plain Layout
24242 HTMLLabelFirst
24243 \end_layout
24244
24245 \end_inset
24246
24247 が偽であれば(既定値),
24248 最初のケースのようになり,
24249 これが真であれば,
24250 二番めのケースのように,
24251 labelがitemの外側に来るようになります.
24252 \end_layout
24253
24254 \begin_layout Standard
24255 各段落の特定のタグ出力や属性出力は,
24256 以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,
24257 前述のように,
24258 多くの場合,
24259 \SpecialChar LyX
24260 は適切な既定値を生成するので,
24261 たいしたことをしなくても,
24262 望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,
24263 自分の好みにあわせて微調整する目的でここにあるものと考えてください.
24264 \end_layout
24265
24266 \begin_layout Description
24267 \begin_inset Flex Code
24268 status collapsed
24269
24270 \begin_layout Plain Layout
24271 HTMLAttr
24272 \end_layout
24273
24274 \end_inset
24275
24276  [
24277 \begin_inset Flex Code
24278 status collapsed
24279
24280 \begin_layout Plain Layout
24281 文字列
24282 \end_layout
24283
24284 \end_inset
24285
24286 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
24287
24288 \begin_inset Flex Code
24289 status collapsed
24290
24291 \begin_layout Plain Layout
24292 class=`mydiv'
24293 \end_layout
24294
24295 \end_inset
24296
24297 」のようなものです.既定においては,
24298 \SpecialChar LyX
24299 は「
24300 \begin_inset Flex Code
24301 status collapsed
24302
24303 \begin_layout Plain Layout
24304 class=`レイアウト名'
24305 \end_layout
24306
24307 \end_inset
24308
24309 」と出力します.ここで
24310 \begin_inset Flex Code
24311 status collapsed
24312
24313 \begin_layout Plain Layout
24314 レイアウト名
24315 \end_layout
24316
24317 \end_inset
24318
24319 は,
24320 レイアウトの\SpecialChar LyX
24321 名であり,
24322 chapterのように小文字で記述します.
24323 \end_layout
24324
24325 \begin_layout Description
24326 \begin_inset Flex Code
24327 status collapsed
24328
24329 \begin_layout Plain Layout
24330 HTMLClass
24331 \end_layout
24332
24333 \end_inset
24334
24335  [
24336 \begin_inset Flex Code
24337 status collapsed
24338
24339 \begin_layout Plain Layout
24340 文字列
24341 \end_layout
24342
24343 \end_inset
24344
24345 ] この段落に使用するCSSクラス.段落が連番もしくは記号の箇条書きであるならば,
24346 既定値は「lyxenum」または「lyxitem」および階層の深さにより「i」「ii」「iii」「iv」となることに注意してください.これはここで書き換えることができます.しかしながら,
24347 その場合後置句は付け加えられません.すなわち,
24348 CSSクラスは,
24349 つねにここで宣言されたものの通りとなります.
24350 \end_layout
24351
24352 \begin_layout Description
24353 \begin_inset Flex Code
24354 status collapsed
24355
24356 \begin_layout Plain Layout
24357 HTMLForceCSS
24358 \end_layout
24359
24360 \end_inset
24361
24362  [
24363 \begin_inset Flex Code
24364 status collapsed
24365
24366 \begin_layout Plain Layout
24367
24368 \emph on
24369 0
24370 \emph default
24371 ,1
24372 \end_layout
24373
24374 \end_inset
24375
24376 ] 
24377 \begin_inset Flex Code
24378 status collapsed
24379
24380 \begin_layout Plain Layout
24381 HTMLStyle
24382 \end_layout
24383
24384 \end_inset
24385
24386 で追加情報が明示的に与えられているときでも,
24387 \SpecialChar LyX
24388 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
24389 \begin_inset Flex Code
24390 status collapsed
24391
24392 \begin_layout Plain Layout
24393 1
24394 \end_layout
24395
24396 \end_inset
24397
24398 にすると,
24399 生成されたCSSを完全に上書きする代わりに,
24400 変更したり追加したりすることができます.既定値は
24401 \begin_inset Flex Code
24402 status collapsed
24403
24404 \begin_layout Plain Layout
24405 0
24406 \end_layout
24407
24408 \end_inset
24409
24410 です.
24411 \end_layout
24412
24413 \begin_layout Description
24414 \begin_inset Flex Code
24415 status collapsed
24416
24417 \begin_layout Plain Layout
24418 HTMLForceCSS
24419 \end_layout
24420
24421 \end_inset
24422
24423  [
24424 \begin_inset Flex Code
24425 status collapsed
24426
24427 \begin_layout Plain Layout
24428
24429 \emph on
24430 0
24431 \emph default
24432 ,1
24433 \end_layout
24434
24435 \end_inset
24436
24437 ] この段落(通常節やその類い)をTOCに入れるか否か.既定値は真となっているので,
24438 たとえば星付きの節については偽に設定しなくてはなりません.
24439 \end_layout
24440
24441 \begin_layout Description
24442 \begin_inset Flex Code
24443 status collapsed
24444
24445 \begin_layout Plain Layout
24446 HTMLItem
24447 \end_layout
24448
24449 \end_inset
24450
24451  [
24452 \begin_inset Flex Code
24453 status collapsed
24454
24455 \begin_layout Plain Layout
24456 文字列
24457 \end_layout
24458
24459 \end_inset
24460
24461 ] 環境の段落に使用されるタグ.上記各例の
24462 \begin_inset Flex Code
24463 status collapsed
24464
24465 \begin_layout Plain Layout
24466 itemtag
24467 \end_layout
24468
24469 \end_inset
24470
24471 を置き換えます.既定値は
24472 \begin_inset Flex Code
24473 status collapsed
24474
24475 \begin_layout Plain Layout
24476 div
24477 \end_layout
24478
24479 \end_inset
24480
24481 です.
24482 \end_layout
24483
24484 \begin_layout Description
24485 \begin_inset Flex Code
24486 status collapsed
24487
24488 \begin_layout Plain Layout
24489 HTMLItemAttr
24490 \end_layout
24491
24492 \end_inset
24493
24494  [
24495 \begin_inset Flex Code
24496 status collapsed
24497
24498 \begin_layout Plain Layout
24499 文字列
24500 \end_layout
24501
24502 \end_inset
24503
24504 ] itemタグの属性.既定値は
24505 \begin_inset Flex Code
24506 status collapsed
24507
24508 \begin_layout Plain Layout
24509 class=`レイアウト名_item'
24510 \end_layout
24511
24512 \end_inset
24513
24514 です.ここには,
24515 様式情報は含まれては
24516 \emph on
24517 なりません
24518 \emph default
24519 .その目的のためには,
24520
24521 \begin_inset Flex Code
24522 status collapsed
24523
24524 \begin_layout Plain Layout
24525 HTMLStyle
24526 \end_layout
24527
24528 \end_inset
24529
24530 を使用してください.
24531 \end_layout
24532
24533 \begin_layout Description
24534 \begin_inset Flex Code
24535 status collapsed
24536
24537 \begin_layout Plain Layout
24538 HTMLLabel
24539 \end_layout
24540
24541 \end_inset
24542
24543  [
24544 \begin_inset Flex Code
24545 status collapsed
24546
24547 \begin_layout Plain Layout
24548 文字列
24549 \end_layout
24550
24551 \end_inset
24552
24553 ] 段落と項目ラベルに使用されるタグ.上記各例の
24554 \begin_inset Flex Code
24555 status collapsed
24556
24557 \begin_layout Plain Layout
24558 labeltag
24559 \end_layout
24560
24561 \end_inset
24562
24563 を置き換えます.
24564 \begin_inset Flex Code
24565 status collapsed
24566
24567 \begin_layout Plain Layout
24568 LabelType
24569 \end_layout
24570
24571 \end_inset
24572
24573
24574 \begin_inset Flex Code
24575 status collapsed
24576
24577 \begin_layout Plain Layout
24578 Top_Environment
24579 \end_layout
24580
24581 \end_inset
24582
24583
24584 \begin_inset Flex Code
24585 status collapsed
24586
24587 \begin_layout Plain Layout
24588 Centered_Top_Environment
24589 \end_layout
24590
24591 \end_inset
24592
24593 の時は,
24594 既定値は
24595 \begin_inset Flex Code
24596 status collapsed
24597
24598 \begin_layout Plain Layout
24599 div
24600 \end_layout
24601
24602 \end_inset
24603
24604 ですが,
24605 それ以外の時の既定値は
24606 \begin_inset Flex Code
24607 status collapsed
24608
24609 \begin_layout Plain Layout
24610 span
24611 \end_layout
24612
24613 \end_inset
24614
24615 です.
24616 \end_layout
24617
24618 \begin_layout Description
24619 \begin_inset Flex Code
24620 status collapsed
24621
24622 \begin_layout Plain Layout
24623 HTMLLabelAttr
24624 \end_layout
24625
24626 \end_inset
24627
24628  [
24629 \begin_inset Flex Code
24630 status collapsed
24631
24632 \begin_layout Plain Layout
24633 文字列
24634 \end_layout
24635
24636 \end_inset
24637
24638 ] labelタグの属性.既定値は
24639 \begin_inset Flex Code
24640 status collapsed
24641
24642 \begin_layout Plain Layout
24643 class=`レイアウト名_label'
24644 \end_layout
24645
24646 \end_inset
24647
24648 です.ここには,
24649 様式情報は含まれては
24650 \emph on
24651 なりません
24652 \emph default
24653 .その目的のためには,
24654
24655 \begin_inset Flex Code
24656 status collapsed
24657
24658 \begin_layout Plain Layout
24659 HTMLStyle
24660 \end_layout
24661
24662 \end_inset
24663
24664 を使用してください.
24665 \end_layout
24666
24667 \begin_layout Description
24668 \begin_inset Flex Code
24669 status collapsed
24670
24671 \begin_layout Plain Layout
24672 HTMLLabelFirst
24673 \end_layout
24674
24675 \end_inset
24676
24677  [
24678 \begin_inset Flex Code
24679 status collapsed
24680
24681 \begin_layout Plain Layout
24682
24683 \emph on
24684 0
24685 \emph default
24686 ,1
24687 \end_layout
24688
24689 \end_inset
24690
24691 ] このタグは,
24692 リスト関係環境でのみ意味を持ち,
24693 labelタグが,
24694 itemタグの前に出力されるか,
24695 中に出力されるかを制御します.これは,
24696 たとえば,
24697 description環境の中で,
24698
24699 \begin_inset Flex Code
24700 status collapsed
24701
24702 \begin_layout Plain Layout
24703 `<dt>\SpecialChar ldots
24704 </dt><dd>\SpecialChar ldots
24705 </dd>
24706 \end_layout
24707
24708 \end_inset
24709
24710 という形を得るために使用されます.既定値は
24711 \begin_inset Flex Code
24712 status collapsed
24713
24714 \begin_layout Plain Layout
24715 0
24716 \end_layout
24717
24718 \end_inset
24719
24720 で,
24721 labelタグはitemタグの中に出力されます.
24722 \end_layout
24723
24724 \begin_layout Description
24725 \begin_inset Flex Code
24726 status collapsed
24727
24728 \begin_layout Plain Layout
24729 HTMLPreamble
24730 \end_layout
24731
24732 \end_inset
24733
24734  この様式が使用されたときに,
24735
24736 \begin_inset Flex Code
24737 status collapsed
24738
24739 \begin_layout Plain Layout
24740 <head>
24741 \end_layout
24742
24743 \end_inset
24744
24745 セクションに出力される情報.これは,
24746 たとえば,
24747
24748 \begin_inset Flex Code
24749 status collapsed
24750
24751 \begin_layout Plain Layout
24752 onclick
24753 \end_layout
24754
24755 \end_inset
24756
24757 ハンドラを定義するために
24758 \begin_inset Flex Code
24759 status collapsed
24760
24761 \begin_layout Plain Layout
24762 <script>
24763 \end_layout
24764
24765 \end_inset
24766
24767 ブロックをインクルードするのに使用することができます.
24768 \end_layout
24769
24770 \begin_layout Description
24771 \begin_inset Flex Code
24772 status collapsed
24773
24774 \begin_layout Plain Layout
24775 HTMLStyle
24776 \end_layout
24777
24778 \end_inset
24779
24780   この様式が使用されたときに,
24781 インクルードするCSSスタイル情報.これは,
24782 レイアウトが生成する
24783 \begin_inset Flex Code
24784 status collapsed
24785
24786 \begin_layout Plain Layout
24787 <style>
24788 \end_layout
24789
24790 \end_inset
24791
24792 ブロックで自動的に包まれますので,
24793 CSS自体をインクルードするだけで大丈夫です.
24794 \begin_inset Flex Code
24795 status collapsed
24796
24797 \begin_layout Plain Layout
24798 EndHTMLStyle
24799 \end_layout
24800
24801 \end_inset
24802
24803 で閉じなくてはなりません.
24804 \end_layout
24805
24806 \begin_layout Description
24807 \begin_inset Flex Code
24808 status collapsed
24809
24810 \begin_layout Plain Layout
24811 HTMLTag
24812 \end_layout
24813
24814 \end_inset
24815
24816  [
24817 \begin_inset Flex Code
24818 status collapsed
24819
24820 \begin_layout Plain Layout
24821 文字列
24822 \end_layout
24823
24824 \end_inset
24825
24826 ] 主幹ラベルに使用されるタグ.上記各例の
24827 \begin_inset Flex Code
24828 status collapsed
24829
24830 \begin_layout Plain Layout
24831 tag
24832 \end_layout
24833
24834 \end_inset
24835
24836 を置き換えます.既定値は
24837 \begin_inset Flex Code
24838 status collapsed
24839
24840 \begin_layout Plain Layout
24841 div
24842 \end_layout
24843
24844 \end_inset
24845
24846 です.
24847 \end_layout
24848
24849 \begin_layout Description
24850 \begin_inset Flex Code
24851 status collapsed
24852
24853 \begin_layout Plain Layout
24854 HTMLTitle
24855 \end_layout
24856
24857 \end_inset
24858
24859  [
24860 \begin_inset Flex Code
24861 status collapsed
24862
24863 \begin_layout Plain Layout
24864
24865 \emph on
24866 0
24867 \emph default
24868 ,1
24869 \end_layout
24870
24871 \end_inset
24872
24873 ] この様式が,
24874 XHTMLファイルの
24875 \begin_inset Flex Code
24876 status collapsed
24877
24878 \begin_layout Plain Layout
24879 <title>
24880 \end_layout
24881
24882 \end_inset
24883
24884 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
24885 \begin_inset Flex Code
24886 status collapsed
24887
24888 \begin_layout Plain Layout
24889 stdtitle.inc
24890 \end_layout
24891
24892 \end_inset
24893
24894 ファイルでは,
24895
24896 \begin_inset Flex Code
24897 status collapsed
24898
24899 \begin_layout Plain Layout
24900 title
24901 \end_layout
24902
24903 \end_inset
24904
24905 環境のこの項目を真に設定しています.
24906 \end_layout
24907
24908 \begin_layout Subsection
24909 差込枠レイアウトXHTML
24910 \end_layout
24911
24912 \begin_layout Standard
24913 差込枠のXHTML出力も,
24914 レイアウトファイル内の情報によって制御することができます
24915 \begin_inset Foot
24916 status collapsed
24917
24918 \begin_layout Plain Layout
24919 現在のところ,
24920 これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,
24921 「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されません.
24922 \end_layout
24923
24924 \end_inset
24925
24926 .ここでも,
24927 \SpecialChar LyX
24928 は適切な既定値を提供しようと試み,
24929 既定のCSS様式を構成します.しかし,
24930 すべてカスタマイズ可能です.
24931 \end_layout
24932
24933 \begin_layout Standard
24934 \SpecialChar LyX
24935 が差込枠用に出力するXHTMLは,
24936 以下の形を取ります.
24937 \end_layout
24938
24939 \begin_layout LyX-Code
24940 <tag attr=
24941 \begin_inset Quotes erd
24942 \end_inset
24943
24944 value
24945 \begin_inset Quotes erd
24946 \end_inset
24947
24948 >
24949 \end_layout
24950
24951 \begin_layout LyX-Code
24952 <labeltag>ラベル</labeltag>
24953 \end_layout
24954
24955 \begin_layout LyX-Code
24956 <innertag attr=
24957 \begin_inset Quotes erd
24958 \end_inset
24959
24960 value
24961 \begin_inset Quotes erd
24962 \end_inset
24963
24964 >差込枠の内容.</innertag>
24965 \end_layout
24966
24967 \begin_layout LyX-Code
24968 </tag>
24969 \end_layout
24970
24971 \begin_layout Standard
24972 差込枠が多段落を許可している—
24973 つまり
24974 \begin_inset Flex Code
24975 status collapsed
24976
24977 \begin_layout Plain Layout
24978 MultiPar
24979 \end_layout
24980
24981 \end_inset
24982
24983 が真—
24984 ならば,
24985 差込枠の内容は,
24986 それ自身段落として出力され,
24987 それらの段落に用いられる様式(標準,
24988 引用など)を用いて整形されます.もちろん,
24989 段落にラベルがなければ,
24990 labelタグは省略され,
24991 ラベルがあれば,
24992 現在のところ,
24993 つねに
24994 \begin_inset Flex Code
24995 status collapsed
24996
24997 \begin_layout Plain Layout
24998 span
24999 \end_layout
25000
25001 \end_inset
25002
25003 が用いられます.innerタグは非必須であり,
25004 既定では出力されません.各差込枠用に出力される特定のタグや属性は,
25005 以下のレイアウトタグによって制御することができます.
25006 \end_layout
25007
25008 \begin_layout Description
25009 \begin_inset Flex Code
25010 status collapsed
25011
25012 \begin_layout Plain Layout
25013 HTMLAttr
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 Flex Code
25031 status collapsed
25032
25033 \begin_layout Plain Layout
25034 class=`myinset' onclick=`\SpecialChar ldots
25035 '
25036 \end_layout
25037
25038 \end_inset
25039
25040 」のようなものです.既定においては,
25041 \SpecialChar LyX
25042 は「
25043 \begin_inset Flex Code
25044 status collapsed
25045
25046 \begin_layout Plain Layout
25047 class=`差込枠名'
25048 \end_layout
25049
25050 \end_inset
25051
25052 」と出力します.ここで
25053 \begin_inset Flex Code
25054 status collapsed
25055
25056 \begin_layout Plain Layout
25057 差込枠名
25058 \end_layout
25059
25060 \end_inset
25061
25062 は,
25063 差込枠の\SpecialChar LyX
25064 名であり,
25065 小文字で記述します.アルファベットや数字以外の文字は,
25066 アンダースコアに置き換えられます.例:
25067 footnote.
25068 \end_layout
25069
25070 \begin_layout Description
25071 \begin_inset Flex Code
25072 status collapsed
25073
25074 \begin_layout Plain Layout
25075 HTMLForceCSS
25076 \end_layout
25077
25078 \end_inset
25079
25080  [
25081 \begin_inset Flex Code
25082 status collapsed
25083
25084 \begin_layout Plain Layout
25085
25086 \emph on
25087 0
25088 \emph default
25089 ,1
25090 \end_layout
25091
25092 \end_inset
25093
25094 ] 
25095 \begin_inset Flex Code
25096 status collapsed
25097
25098 \begin_layout Plain Layout
25099 HTMLStyle
25100 \end_layout
25101
25102 \end_inset
25103
25104 で追加情報が明示的に与えられているときでも,
25105 \SpecialChar LyX
25106 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
25107 \begin_inset Flex Code
25108 status collapsed
25109
25110 \begin_layout Plain Layout
25111 1
25112 \end_layout
25113
25114 \end_inset
25115
25116 にすると,
25117 生成されたCSSを完全に上書きする代わりに,
25118 変更したり追加したりすることができます.既定値は
25119 \begin_inset Flex Code
25120 status collapsed
25121
25122 \begin_layout Plain Layout
25123 0
25124 \end_layout
25125
25126 \end_inset
25127
25128 です.
25129 \end_layout
25130
25131 \begin_layout Description
25132 \begin_inset Flex Code
25133 status collapsed
25134
25135 \begin_layout Plain Layout
25136 HTMLInnerAttr
25137 \end_layout
25138
25139 \end_inset
25140
25141  [
25142 \begin_inset Flex Code
25143 status collapsed
25144
25145 \begin_layout Plain Layout
25146 文字列
25147 \end_layout
25148
25149 \end_inset
25150
25151 ] innerタグの属性.既定値は
25152 \begin_inset Flex Code
25153 status collapsed
25154
25155 \begin_layout Plain Layout
25156 class=`差込枠名_inner'
25157 \end_layout
25158
25159 \end_inset
25160
25161 です.
25162 \end_layout
25163
25164 \begin_layout Description
25165 \begin_inset Flex Code
25166 status collapsed
25167
25168 \begin_layout Plain Layout
25169 HTMLInnerTag
25170 \end_layout
25171
25172 \end_inset
25173
25174  [
25175 \begin_inset Flex Code
25176 status collapsed
25177
25178 \begin_layout Plain Layout
25179 文字列
25180 \end_layout
25181
25182 \end_inset
25183
25184 ] innerタグです.上記各例の
25185 \begin_inset Flex Code
25186 status collapsed
25187
25188 \begin_layout Plain Layout
25189 innertag
25190 \end_layout
25191
25192 \end_inset
25193
25194 を置き換えます.既定値はなしです.
25195 \end_layout
25196
25197 \begin_layout Description
25198 \begin_inset Flex Code
25199 status collapsed
25200
25201 \begin_layout Plain Layout
25202 HTMLIsBlock
25203 \end_layout
25204
25205 \end_inset
25206
25207  [
25208 \begin_inset Flex Code
25209 status collapsed
25210
25211 \begin_layout Plain Layout
25212 0,
25213 \emph on
25214 1
25215 \end_layout
25216
25217 \end_inset
25218
25219 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,
25220 それとも,
25221 (派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
25222 \end_layout
25223
25224 \begin_layout Description
25225 \begin_inset Flex Code
25226 status collapsed
25227
25228 \begin_layout Plain Layout
25229 HTMLLabel
25230 \end_layout
25231
25232 \end_inset
25233
25234  [
25235 \begin_inset Flex Code
25236 status collapsed
25237
25238 \begin_layout Plain Layout
25239 文字列
25240 \end_layout
25241
25242 \end_inset
25243
25244 ] 場合によっては,
25245 カウンタへの参照を含む,
25246 この差込枠のラベル.たとえば,
25247 脚註用には
25248 \begin_inset Flex Code
25249 status collapsed
25250
25251 \begin_layout Plain Layout
25252
25253 \backslash
25254 arabic{footnote}
25255 \end_layout
25256
25257 \end_inset
25258
25259 など.これは非必須であり,
25260 既定値はありません.
25261 \end_layout
25262
25263 \begin_layout Description
25264 \begin_inset Flex Code
25265 status collapsed
25266
25267 \begin_layout Plain Layout
25268 HTMLPreamble
25269 \end_layout
25270
25271 \end_inset
25272
25273  この様式が使用されたときに,
25274
25275 \begin_inset Flex Code
25276 status collapsed
25277
25278 \begin_layout Plain Layout
25279 <head>
25280 \end_layout
25281
25282 \end_inset
25283
25284 セクションに出力される情報.これは,
25285 たとえば,
25286
25287 \begin_inset Flex Code
25288 status collapsed
25289
25290 \begin_layout Plain Layout
25291 onclick
25292 \end_layout
25293
25294 \end_inset
25295
25296 ハンドラを定義するために
25297 \begin_inset Flex Code
25298 status collapsed
25299
25300 \begin_layout Plain Layout
25301 <script>
25302 \end_layout
25303
25304 \end_inset
25305
25306 ブロックをインクルードするのに使用することができます.
25307 \end_layout
25308
25309 \begin_layout Description
25310 \begin_inset Flex Code
25311 status collapsed
25312
25313 \begin_layout Plain Layout
25314 HTMLStyle
25315 \end_layout
25316
25317 \end_inset
25318
25319   この様式が使用されたときに,
25320 インクルードするCSSスタイル情報.これは,
25321 レイアウトが生成する
25322 \begin_inset Flex Code
25323 status collapsed
25324
25325 \begin_layout Plain Layout
25326 <style>
25327 \end_layout
25328
25329 \end_inset
25330
25331 ブロックで自動的に包まれますので,
25332 CSS自体をインクルードするだけで大丈夫です.
25333 \end_layout
25334
25335 \begin_layout Description
25336 \begin_inset Flex Code
25337 status collapsed
25338
25339 \begin_layout Plain Layout
25340 HTMLTag
25341 \end_layout
25342
25343 \end_inset
25344
25345  [
25346 \begin_inset Flex Code
25347 status collapsed
25348
25349 \begin_layout Plain Layout
25350 文字列
25351 \end_layout
25352
25353 \end_inset
25354
25355 ] 主幹ラベルに使用されるタグ.上記各例の
25356 \begin_inset Flex Code
25357 status collapsed
25358
25359 \begin_layout Plain Layout
25360 tag
25361 \end_layout
25362
25363 \end_inset
25364
25365 を置き換えます.既定値は
25366 \begin_inset Flex Code
25367 status collapsed
25368
25369 \begin_layout Plain Layout
25370 MultiPar
25371 \end_layout
25372
25373 \end_inset
25374
25375 の設定に依存し,
25376
25377 \begin_inset Flex Code
25378 status collapsed
25379
25380 \begin_layout Plain Layout
25381 MultiPar
25382 \end_layout
25383
25384 \end_inset
25385
25386 が真ならば
25387 \begin_inset Flex Code
25388 status collapsed
25389
25390 \begin_layout Plain Layout
25391 div
25392 \end_layout
25393
25394 \end_inset
25395
25396
25397 偽ならば
25398 \begin_inset Flex Code
25399 status collapsed
25400
25401 \begin_layout Plain Layout
25402 span
25403 \end_layout
25404
25405 \end_inset
25406
25407 です.
25408 \end_layout
25409
25410 \begin_layout Subsection
25411 フロートXHTML
25412 \end_layout
25413
25414 \begin_layout Standard
25415 フロートのXHTML出力も,
25416 レイアウトファイル内の情報によって制御することができます.出力は,
25417 以下の形を取ります.
25418 \end_layout
25419
25420 \begin_layout LyX-Code
25421 <tag attr=
25422 \begin_inset Quotes erd
25423 \end_inset
25424
25425 value
25426 \begin_inset Quotes erd
25427 \end_inset
25428
25429 >
25430 \end_layout
25431
25432 \begin_layout LyX-Code
25433 フロートの内容.
25434 \end_layout
25435
25436 \begin_layout LyX-Code
25437 </tag>
25438 \end_layout
25439
25440 \begin_layout Standard
25441 キャプションは,
25442 存在している場合には,
25443 独立した差込枠となり,
25444 そのような形で出力されます.その外観は,
25445 キャプション差込枠のInsetLayoutで制御することができます.
25446 \end_layout
25447
25448 \begin_layout Description
25449 \begin_inset Flex Code
25450 status collapsed
25451
25452 \begin_layout Plain Layout
25453 HTMLAttr
25454 \end_layout
25455
25456 \end_inset
25457
25458  [
25459 \begin_inset Flex Code
25460 status collapsed
25461
25462 \begin_layout Plain Layout
25463 文字列
25464 \end_layout
25465
25466 \end_inset
25467
25468 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
25469
25470 \begin_inset Flex Code
25471 status collapsed
25472
25473 \begin_layout Plain Layout
25474 class=`myfloat' onclick=`\SpecialChar ldots
25475 '
25476 \end_layout
25477
25478 \end_inset
25479
25480 」のようなものです.既定においては,
25481 \SpecialChar LyX
25482 は「
25483 \begin_inset Flex Code
25484 status collapsed
25485
25486 \begin_layout Plain Layout
25487 class=`float フロート-フロート型'
25488 \end_layout
25489
25490 \end_inset
25491
25492 」と出力します.ここで
25493 \begin_inset Flex Code
25494 status collapsed
25495
25496 \begin_layout Plain Layout
25497 フロート型
25498 \end_layout
25499
25500 \end_inset
25501
25502 は,
25503 フロート宣言で定義された(
25504 \begin_inset CommandInset ref
25505 LatexCommand ref
25506 reference "subsec:フロート"
25507 nolink "false"
25508
25509 \end_inset
25510
25511 参照),
25512 この型のフロートの\SpecialChar LyX
25513 名です.ただし,
25514 これは小文字に変換され,
25515 アルファベットや数字でない文字はアンダースコアに変換されます.例:
25516 float-table.
25517 \end_layout
25518
25519 \begin_layout Description
25520 \begin_inset Flex Code
25521 status collapsed
25522
25523 \begin_layout Plain Layout
25524 HTMLStyle
25525 \end_layout
25526
25527 \end_inset
25528
25529   このフロートが使用されたときに,
25530 インクルードするCSSスタイル情報.これは,
25531 レイアウトが生成する
25532 \begin_inset Flex Code
25533 status collapsed
25534
25535 \begin_layout Plain Layout
25536 <style>
25537 \end_layout
25538
25539 \end_inset
25540
25541 ブロックで自動的に包まれますので,
25542 CSS自体をインクルードするだけで大丈夫です.
25543 \end_layout
25544
25545 \begin_layout Description
25546 \begin_inset Flex Code
25547 status collapsed
25548
25549 \begin_layout Plain Layout
25550 HTMLTag
25551 \end_layout
25552
25553 \end_inset
25554
25555  [
25556 \begin_inset Flex Code
25557 status collapsed
25558
25559 \begin_layout Plain Layout
25560 文字列
25561 \end_layout
25562
25563 \end_inset
25564
25565 ] このフロートに使用されるタグ.上記各例の
25566 \begin_inset Flex Code
25567 status collapsed
25568
25569 \begin_layout Plain Layout
25570 tag
25571 \end_layout
25572
25573 \end_inset
25574
25575 を置き換えます.既定値は
25576 \begin_inset Flex Code
25577 status collapsed
25578
25579 \begin_layout Plain Layout
25580 div
25581 \end_layout
25582
25583 \end_inset
25584
25585 であり,
25586 ほとんどの場合変更する必要はありません.
25587 \end_layout
25588
25589 \begin_layout Subsection
25590 書誌情報の整形
25591 \end_layout
25592
25593 \begin_layout Standard
25594 書誌情報は,
25595
25596 \begin_inset Flex Code
25597 status collapsed
25598
25599 \begin_layout Plain Layout
25600 CiteFormat
25601 \end_layout
25602
25603 \end_inset
25604
25605 ブロックを使用して整形することができます.詳細については,
25606
25607 \begin_inset CommandInset ref
25608 LatexCommand ref
25609 reference "subsec:引用書式指定"
25610 nolink "false"
25611
25612 \end_inset
25613
25614 を参照してください.
25615 \end_layout
25616
25617 \begin_layout Subsection
25618 \SpecialChar LyX
25619 が生成したCSS
25620 \end_layout
25621
25622 \begin_layout Standard
25623 \SpecialChar LyX
25624 は,
25625 提供されている他のレイアウト情報に基づいて,
25626 差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,
25627 これまでに何度か触れました.この節では,
25628 \SpecialChar LyX
25629 がどのレイアウト情報を,
25630 どのように使うのか,
25631 ひとこと述べておきたいと思います.
25632 \end_layout
25633
25634 \begin_layout Standard
25635 \SpecialChar LyX
25636 は,
25637 現在のところ,
25638
25639 \begin_inset Flex Code
25640 status collapsed
25641
25642 \begin_layout Plain Layout
25643 Font
25644 \end_layout
25645
25646 \end_inset
25647
25648 宣言で指定されている
25649 \begin_inset Flex Code
25650 status collapsed
25651
25652 \begin_layout Plain Layout
25653 Family
25654 \end_layout
25655
25656 \end_inset
25657
25658
25659 \begin_inset Flex Code
25660 status collapsed
25661
25662 \begin_layout Plain Layout
25663 Series
25664 \end_layout
25665
25666 \end_inset
25667
25668
25669 \begin_inset Flex Code
25670 status collapsed
25671
25672 \begin_layout Plain Layout
25673 Shape
25674 \end_layout
25675
25676 \end_inset
25677
25678
25679 \begin_inset Flex Code
25680 status collapsed
25681
25682 \begin_layout Plain Layout
25683 Size
25684 \end_layout
25685
25686 \end_inset
25687
25688 を利用して,
25689 フォント情報についてのみCSSを自動生成します(
25690 \begin_inset CommandInset ref
25691 LatexCommand ref
25692 reference "subsec:フォント指定"
25693 nolink "false"
25694
25695 \end_inset
25696
25697 を参照).この変換は,
25698 きわめて分かりやすく自明です.たとえば,
25699
25700 \begin_inset Flex Code
25701 status collapsed
25702
25703 \begin_layout Plain Layout
25704 Family Sans
25705 \end_layout
25706
25707 \end_inset
25708
25709 」は「
25710 \begin_inset Flex Code
25711 status collapsed
25712
25713 \begin_layout Plain Layout
25714 font-family:
25715  sans-serif
25716 \end_layout
25717
25718 \end_inset
25719
25720 」になります.\SpecialChar LyX
25721 の寸法とCSSの寸法のあいだの対応は,
25722 少し複雑ですが,
25723 それでも直感的に分かります.詳細については,
25724
25725 \begin_inset Flex URL
25726 status collapsed
25727
25728 \begin_layout Plain Layout
25729
25730 src/FontInfo.cpp
25731 \end_layout
25732
25733 \end_inset
25734
25735
25736 \begin_inset Flex Code
25737 status collapsed
25738
25739 \begin_layout Plain Layout
25740 getSizeCSS()
25741 \end_layout
25742
25743 \end_inset
25744
25745 関数をご覧ください.
25746 \end_layout
25747
25748 \begin_layout Section
25749 DocBook出力のタグ
25750 \begin_inset CommandInset label
25751 LatexCommand label
25752 name "sec:DocBook出力のタグ"
25753
25754 \end_inset
25755
25756
25757 \end_layout
25758
25759 \begin_layout Standard
25760 \SpecialChar LaTeX
25761 やXHTMLと同様に,
25762 \SpecialChar LyX
25763 のDocBook出力の書式もレイアウト情報によって制御されています.一般的に\SpecialChar LyX
25764 は賢明な既定値を提供していますが,
25765 DocBookは厳密にセマンティックであり,
25766 フォーマッティングを許さないため,
25767 スタイリングの多くは変換の途中で失われてしまいます.可能な場合には,
25768 \SpecialChar LyX
25769 からの情報は
25770 \family typewriter
25771 role
25772 \family default
25773 属性に渡されます.
25774 \end_layout
25775
25776 \begin_layout Standard
25777 多くの場合,
25778 設定した環境や特別差込枠等々について,
25779 納得のいくDocBook出力を得るために,
25780 何かしなくてはならないということはまったくありません.しかしながら,
25781 いくつかの場合において必要となることがあるため,
25782 \SpecialChar LyX
25783 は多くのレイアウトタグを提供し,
25784 生成されるDocBookを調整できるようにしています.
25785 \end_layout
25786
25787 \begin_layout Standard
25788 ラベルはDocBookでは冗長であるため,
25789 めったに出力されることはありません.この情報はタグ自身によって伝達され,
25790 (DocBookファイルを処理した後の)最終文書にラベルが現れるかどうかは,
25791 スタイルシートによって制御されます.しかしながら,
25792 定義リストのように,
25793 ラベルが冗長な内容ではないことが時々あり,
25794 この場合には,
25795 定義される用語がラベルとなります.
25796 \end_layout
25797
25798 \begin_layout Subsection
25799 段落様式
25800 \begin_inset CommandInset label
25801 LatexCommand label
25802 name "subsec:DocBook段落様式"
25803
25804 \end_inset
25805
25806
25807 \end_layout
25808
25809 \begin_layout Standard
25810 段落に対して\SpecialChar LyX
25811 が出力するDocBookの類いは,
25812 通常の段落を取り扱っているのか,
25813 コマンドなのか環境なのかによって変化し,
25814 それ自体も対応する
25815 \begin_inset Flex Code
25816 status collapsed
25817
25818 \begin_layout Plain Layout
25819 \SpecialChar LaTeX
25820 Type
25821 \end_layout
25822
25823 \end_inset
25824
25825 タグの内容によって決定されます.
25826 \end_layout
25827
25828 \begin_layout Standard
25829 コマンドや通常の段落については,
25830 DocBook出力は下記の形を取ります:
25831
25832 \end_layout
25833
25834 \begin_layout LyX-Code
25835 <tag attr>
25836 \end_layout
25837
25838 \begin_layout LyX-Code
25839 段落の中身
25840 \end_layout
25841
25842 \begin_layout LyX-Code
25843 </tag>
25844 \end_layout
25845
25846 \begin_layout Standard
25847 箇条書きの類い出ない環境については,
25848 生成されるDocBookは下記の形を取ります:
25849
25850 \end_layout
25851
25852 \begin_layout LyX-Code
25853 <tag attr>
25854 \end_layout
25855
25856 \begin_layout LyX-Code
25857 <itemtag>第1段落</itemtag>
25858 \end_layout
25859
25860 \begin_layout LyX-Code
25861 <itemtag>第2段落</itemtag>
25862 \end_layout
25863
25864 \begin_layout LyX-Code
25865 </tag>
25866 \end_layout
25867
25868 \begin_layout Standard
25869 箇条書きについては,
25870 DocBook出力は下記の形を取ります:
25871
25872 \end_layout
25873
25874 \begin_layout LyX-Code
25875 <tag attr>
25876 \end_layout
25877
25878 \begin_layout LyX-Code
25879 <itemtag attr>第1項目</itemtag>
25880 \end_layout
25881
25882 \begin_layout LyX-Code
25883 <itemtag attr>第2項目</itemtag>
25884 \end_layout
25885
25886 \begin_layout LyX-Code
25887 </tag>
25888 \end_layout
25889
25890 \begin_layout Standard
25891 各段落型に対する特定のタグやロール出力は,
25892 これから説明するレイアウトタグによって制御することができます.まさにDocBookの性質そのものによって,
25893 妥当な既定値というものはまったく存在せず,
25894 値はつねに注意深く選ばなくてはならないと言うことに注意してください.
25895 \end_layout
25896
25897 \begin_layout Description
25898 \begin_inset Flex Code
25899 status collapsed
25900
25901 \begin_layout Plain Layout
25902 DocBookAttr
25903 \end_layout
25904
25905 \end_inset
25906
25907  [
25908 \begin_inset Flex Code
25909 status collapsed
25910
25911 \begin_layout Plain Layout
25912 文字列
25913 \end_layout
25914
25915 \end_inset
25916
25917 ] メインタグに出力される属性情報を,
25918 上記の例の「
25919 \begin_inset Flex Code
25920 status collapsed
25921
25922 \begin_layout Plain Layout
25923 attr
25924 \end_layout
25925
25926 \end_inset
25927
25928 」の位置に指定します.この情報は,
25929 DocBookファイルの後処理に使用することができます.
25930 \end_layout
25931
25932 \begin_layout Description
25933 \begin_inset Flex Code
25934 status collapsed
25935
25936 \begin_layout Plain Layout
25937 DocBookTag
25938 \end_layout
25939
25940 \end_inset
25941
25942  [
25943 \begin_inset Flex Code
25944 status collapsed
25945
25946 \begin_layout Plain Layout
25947 文字列
25948 \end_layout
25949
25950 \end_inset
25951
25952 ] この差込枠に使用するタグ.上記の例の「
25953 \begin_inset Flex Code
25954 status collapsed
25955
25956 \begin_layout Plain Layout
25957 tag
25958 \end_layout
25959
25960 \end_inset
25961
25962 」の位置に出力します.既定値はフロート名で,
25963 DocBookには一般的なタグはないので,
25964 つねに変更する必要があります.
25965 \end_layout
25966
25967 \begin_layout Description
25968 \begin_inset Flex Code
25969 status collapsed
25970
25971 \begin_layout Plain Layout
25972 DocBookTagType
25973 \end_layout
25974
25975 \end_inset
25976
25977  [
25978 \begin_inset Flex Code
25979 status collapsed
25980
25981 \begin_layout Plain Layout
25982 block
25983 \end_layout
25984
25985 \end_inset
25986
25987 ,
25988  
25989 \begin_inset Flex Code
25990 status collapsed
25991
25992 \begin_layout Plain Layout
25993 paragraph
25994 \end_layout
25995
25996 \end_inset
25997
25998 ,
25999  
26000 \begin_inset Flex Code
26001 status collapsed
26002
26003 \begin_layout Plain Layout
26004 inline
26005 \end_layout
26006
26007 \end_inset
26008
26009 ] このタグの新規行ポリシー.詳細は第
26010 \begin_inset CommandInset ref
26011 LatexCommand ref
26012 reference "subsec:新規行ポリシー"
26013 plural "false"
26014 caps "false"
26015 noprefix "false"
26016 nolink "false"
26017
26018 \end_inset
26019
26020 節を参照のこと.
26021 \end_layout
26022
26023 \begin_layout Subsection
26024 新規行ポリシー
26025 \begin_inset CommandInset label
26026 LatexCommand label
26027 name "subsec:新規行ポリシー"
26028
26029 \end_inset
26030
26031
26032 \end_layout
26033
26034 \begin_layout Standard
26035 すべてのタグに関して,
26036
26037 \begin_inset Flex Code
26038 status collapsed
26039
26040 \begin_layout Plain Layout
26041 DocBook*TagType
26042 \end_layout
26043
26044 \end_inset
26045
26046 属性で指定される)新規行の出力ポリシーに下記の3つの選択肢があります.
26047 \end_layout
26048
26049 \begin_layout Itemize
26050
26051 \begin_inset Flex Code
26052 status collapsed
26053
26054 \begin_layout Plain Layout
26055 block
26056 \end_layout
26057
26058 \end_inset
26059
26060 」:
26061 開始タグと終了タグは独立した行に置きます(つまり開始タグと終了タグの前後にラインフィードします).典型的な要素はフロートです.たとえば,
26062
26063 \end_layout
26064
26065 \begin_deeper
26066 \begin_layout LyX-Code
26067 前の内容
26068 \end_layout
26069
26070 \begin_layout LyX-Code
26071 <blocktag>
26072 \end_layout
26073
26074 \begin_layout LyX-Code
26075  ブロックの内容
26076 \end_layout
26077
26078 \begin_layout LyX-Code
26079 </blocktab>
26080 \end_layout
26081
26082 \begin_layout LyX-Code
26083 後の内容
26084 \end_layout
26085
26086 \begin_layout Standard
26087 のようになります.
26088 \end_layout
26089
26090 \end_deeper
26091 \begin_layout Itemize
26092
26093 \begin_inset Flex Code
26094 status collapsed
26095
26096 \begin_layout Plain Layout
26097 paragraph
26098 \end_layout
26099
26100 \end_inset
26101
26102 」:
26103 開始タグと終了タグは同じ新規行に置きます(開始タグの前と終了タグの後にラインフィードが出力されます).典型的な要素は段落と箇条書き項目です.たとえば,
26104
26105 \end_layout
26106
26107 \begin_deeper
26108 \begin_layout LyX-Code
26109 前の内容
26110 \end_layout
26111
26112 \begin_layout LyX-Code
26113 <paratag>段落の内容</paratag>
26114 \end_layout
26115
26116 \begin_layout LyX-Code
26117 後の内容
26118 \end_layout
26119
26120 \begin_layout Standard
26121 のようになります.
26122 \end_layout
26123
26124 \end_deeper
26125 \begin_layout Itemize
26126
26127 \begin_inset Flex Code
26128 status collapsed
26129
26130 \begin_layout Plain Layout
26131 inline
26132 \end_layout
26133
26134 \end_inset
26135
26136 」:
26137 開始タグと終了タグは内容と同じ行に置かれます.ラインフィードは出力されません.典型的な要素はフォントです.たとえば,
26138
26139 \end_layout
26140
26141 \begin_deeper
26142 \begin_layout LyX-Code
26143 前の内容<inlinetag>段落の内容</inlinetag>後の内容
26144 \end_layout
26145
26146 \begin_layout Standard
26147 のようになります.
26148 \end_layout
26149
26150 \end_deeper
26151 \begin_layout Standard
26152 既定値はつねに「
26153 \begin_inset Flex Code
26154 status collapsed
26155
26156 \begin_layout Plain Layout
26157 block
26158 \end_layout
26159
26160 \end_inset
26161
26162 」です.
26163 \end_layout
26164
26165 \begin_layout Subsection
26166 InsetLayout DocBook
26167 \end_layout
26168
26169 \begin_layout Standard
26170 差込枠のDocBook出力もレイアウトファイルの情報によって制御されます.
26171 \end_layout
26172
26173 \begin_layout Standard
26174 差込枠に対して\SpecialChar LyX
26175 が出力するDocBookは次のような形を取ります.
26176 \end_layout
26177
26178 \begin_layout LyX-Code
26179 <wrappertag wrapperattr>
26180 \end_layout
26181
26182 \begin_layout LyX-Code
26183   <tag attr>
26184 \end_layout
26185
26186 \begin_layout LyX-Code
26187     <innertag innerattr>
26188 \end_layout
26189
26190 \begin_layout LyX-Code
26191       差込枠の内容
26192 \end_layout
26193
26194 \begin_layout LyX-Code
26195     </innertag>
26196 \end_layout
26197
26198 \begin_layout LyX-Code
26199   </tag>
26200 \end_layout
26201
26202 \begin_layout LyX-Code
26203 </wrappertag>
26204 \end_layout
26205
26206 \begin_layout Standard
26207 項目立てをする差込枠については,
26208 以下のようになります.
26209 \end_layout
26210
26211 \begin_layout LyX-Code
26212 <wrappertag wrapperattr>
26213 \end_layout
26214
26215 \begin_layout LyX-Code
26216   <tag attr>
26217 \end_layout
26218
26219 \begin_layout LyX-Code
26220     <innertag innerattr>
26221 \end_layout
26222
26223 \begin_layout LyX-Code
26224       <itemwrappertag itemwrapperattr>
26225 \end_layout
26226
26227 \begin_layout LyX-Code
26228         <itemlabeltag itemattr>
26229 \end_layout
26230
26231 \begin_layout LyX-Code
26232           第1項目のラベル
26233 \end_layout
26234
26235 \begin_layout LyX-Code
26236         </itemtag>
26237 \end_layout
26238
26239 \begin_layout LyX-Code
26240         <itemtag itemattr>
26241 \end_layout
26242
26243 \begin_layout LyX-Code
26244           <itemtag itemattr>
26245 \end_layout
26246
26247 \begin_layout LyX-Code
26248             第1項目の内容 item.
26249 \end_layout
26250
26251 \begin_layout LyX-Code
26252           </itemtag>
26253 \end_layout
26254
26255 \begin_layout LyX-Code
26256         </itemtag>
26257 \end_layout
26258
26259 \begin_layout LyX-Code
26260       </itemwrappertag>
26261 \end_layout
26262
26263 \begin_layout LyX-Code
26264       <itemwrappertag itemwrapperattr>
26265 \end_layout
26266
26267 \begin_layout LyX-Code
26268         <itemlabeltag itemattr>
26269 \end_layout
26270
26271 \begin_layout LyX-Code
26272           第2項目のラベル
26273 \end_layout
26274
26275 \begin_layout LyX-Code
26276         </itemtag>
26277 \end_layout
26278
26279 \begin_layout LyX-Code
26280         <itemtag itemattr>
26281 \end_layout
26282
26283 \begin_layout LyX-Code
26284           <itemtag itemattr>
26285 \end_layout
26286
26287 \begin_layout LyX-Code
26288             第2項目の内容
26289 \end_layout
26290
26291 \begin_layout LyX-Code
26292           </itemtag>
26293 \end_layout
26294
26295 \begin_layout LyX-Code
26296         </itemtag>
26297 \end_layout
26298
26299 \begin_layout LyX-Code
26300       </itemwrappertag>
26301 \end_layout
26302
26303 \begin_layout LyX-Code
26304       ...
26305 \end_layout
26306
26307 \begin_layout LyX-Code
26308     </innertag>
26309 \end_layout
26310
26311 \begin_layout LyX-Code
26312   </tag>
26313 \end_layout
26314
26315 \begin_layout LyX-Code
26316 </wrappertag>
26317 \end_layout
26318
26319 \begin_layout Standard
26320 差込枠が複数の段落を許容する場合—
26321
26322 つまり
26323 \begin_inset Flex Code
26324 status collapsed
26325
26326 \begin_layout Plain Layout
26327 MultiPar
26328 \end_layout
26329
26330 \end_inset
26331
26332 が真である場合—
26333
26334 には,
26335 差込枠の中身自身は,
26336 段落に使用される様式(標準,
26337 引用等)にしたがって整形された段落として出力されます.内側のタグは必須ではなく,
26338 既定では表示されません.
26339 \end_layout
26340
26341 \begin_layout Standard
26342 各差込枠に出力される特定のタグと属性は,
26343 下記のようなレイアウトタグによって制御されます.
26344 \end_layout
26345
26346 \begin_layout Description
26347 \begin_inset Flex Code
26348 status collapsed
26349
26350 \begin_layout Plain Layout
26351 DocBookAttr
26352 \end_layout
26353
26354 \end_inset
26355
26356  [
26357 \begin_inset Flex Code
26358 status collapsed
26359
26360 \begin_layout Plain Layout
26361 文字列
26362 \end_layout
26363
26364 \end_inset
26365
26366 ] メインタグに出力される属性情報を,
26367 上記の例の「
26368 \begin_inset Flex Code
26369 status collapsed
26370
26371 \begin_layout Plain Layout
26372 attr
26373 \end_layout
26374
26375 \end_inset
26376
26377 」の位置に指定します.この情報は,
26378 DocBookファイルの後処理に使用することができます.
26379 \end_layout
26380
26381 \begin_layout Description
26382 \begin_inset Flex Code
26383 status collapsed
26384
26385 \begin_layout Plain Layout
26386 DocBookInInfo
26387 \end_layout
26388
26389 \end_inset
26390
26391  [
26392 \begin_inset Flex Code
26393 status collapsed
26394
26395 \begin_layout Plain Layout
26396 never,
26397  always,
26398  maybe
26399 \end_layout
26400
26401 \end_inset
26402
26403 ] このタグを親レイアウトの最初にある
26404 \begin_inset Flex Code
26405 status collapsed
26406
26407 \begin_layout Plain Layout
26408 <info>
26409 \end_layout
26410
26411 \end_inset
26412
26413 タグの中に入れるかどうかを指定します.
26414 \begin_inset Flex Code
26415 status collapsed
26416
26417 \begin_layout Plain Layout
26418 never
26419 \end_layout
26420
26421 \end_inset
26422
26423 は,
26424 このタグを
26425 \begin_inset Flex Code
26426 status collapsed
26427
26428 \begin_layout Plain Layout
26429 <info>
26430 \end_layout
26431
26432 \end_inset
26433
26434 の中に決して入れないことを示します(これは既定値であり通常の内容に対応します).
26435 \begin_inset Flex Code
26436 status collapsed
26437
26438 \begin_layout Plain Layout
26439 always
26440 \end_layout
26441
26442 \end_inset
26443
26444 は,
26445 このタグを
26446 \begin_inset Flex Code
26447 status collapsed
26448
26449 \begin_layout Plain Layout
26450 <info>
26451 \end_layout
26452
26453 \end_inset
26454
26455 の中につねに入れることを示します(これは通常のメタデータに対応します).親に
26456 \begin_inset Flex Code
26457 status collapsed
26458
26459 \begin_layout Plain Layout
26460 <info>
26461 \end_layout
26462
26463 \end_inset
26464
26465 タグがない場合には生成
26466 \begin_inset Flex 圏点
26467 status open
26468
26469 \begin_layout Plain Layout
26470 されます
26471 \end_layout
26472
26473 \end_inset
26474
26475
26476 \begin_inset Flex Code
26477 status collapsed
26478
26479 \begin_layout Plain Layout
26480 maybe
26481 \end_layout
26482
26483 \end_inset
26484
26485 は,
26486 このタグを
26487 \begin_inset Flex Code
26488 status collapsed
26489
26490 \begin_layout Plain Layout
26491 <info>
26492 \end_layout
26493
26494 \end_inset
26495
26496 の中に入れるかもしれないことを示します(これは表題の場合にのみ該当します).親に
26497 \begin_inset Flex Code
26498 status collapsed
26499
26500 \begin_layout Plain Layout
26501 <info>
26502 \end_layout
26503
26504 \end_inset
26505
26506 タグがない場合には生成されることは
26507 \begin_inset Flex 圏点
26508 status open
26509
26510 \begin_layout Plain Layout
26511 ありません
26512 \end_layout
26513
26514 \end_inset
26515
26516 .対応するタグは,
26517 内容として直接出力されます.
26518 \end_layout
26519
26520 \begin_layout Description
26521 \begin_inset Flex Code
26522 status collapsed
26523
26524 \begin_layout Plain Layout
26525 DocBookItemAttr
26526 \end_layout
26527
26528 \end_inset
26529
26530  [
26531 \begin_inset Flex Code
26532 status collapsed
26533
26534 \begin_layout Plain Layout
26535 文字列
26536 \end_layout
26537
26538 \end_inset
26539
26540 ] 項目タグに出力される属性情報を,
26541 上記の例の「
26542 \begin_inset Flex Code
26543 status collapsed
26544
26545 \begin_layout Plain Layout
26546 itemattr
26547 \end_layout
26548
26549 \end_inset
26550
26551 」の位置に指定します.この情報は,
26552 DocBookファイルの後処理に使用することができます.
26553 \end_layout
26554
26555 \begin_layout Description
26556 \begin_inset Flex Code
26557 status collapsed
26558
26559 \begin_layout Plain Layout
26560 DocBookItemInnerAttr
26561 \end_layout
26562
26563 \end_inset
26564
26565  [
26566 \begin_inset Flex Code
26567 status collapsed
26568
26569 \begin_layout Plain Layout
26570 文字列
26571 \end_layout
26572
26573 \end_inset
26574
26575 ] 項目内部タグに出力される属性情報を,
26576 上記の例の「
26577 \begin_inset Flex Code
26578 status collapsed
26579
26580 \begin_layout Plain Layout
26581 iteminnerattr
26582 \end_layout
26583
26584 \end_inset
26585
26586 」の位置に指定します.この情報は,
26587 DocBookファイルの後処理に使用することができます.
26588 \end_layout
26589
26590 \begin_layout Description
26591 \begin_inset Flex Code
26592 status collapsed
26593
26594 \begin_layout Plain Layout
26595 DocBookItemInnerTag
26596 \end_layout
26597
26598 \end_inset
26599
26600  [
26601 \begin_inset Flex Code
26602 status collapsed
26603
26604 \begin_layout Plain Layout
26605 文字列
26606 \end_layout
26607
26608 \end_inset
26609
26610 ] 差込枠内部の項目内部タグに使用するタグ.上記の例の「
26611 \begin_inset Flex Code
26612 status collapsed
26613
26614 \begin_layout Plain Layout
26615 iteminnertag
26616 \end_layout
26617
26618 \end_inset
26619
26620 」の位置に出力します.既定値は
26621 \begin_inset Flex Code
26622 status collapsed
26623
26624 \begin_layout Plain Layout
26625 NONE
26626 \end_layout
26627
26628 \end_inset
26629
26630 で,
26631 項目内部タグがないことを示します.すなわち,
26632 各項目立て要素について,
26633 項目内部タグなしに中身が直接出力されます.このパラメーターは,
26634 箇条書きのように,
26635 項目立てレイアウトが使われているときのみ意味を持ちます.最もあり得る値は「
26636 \begin_inset Flex Code
26637 status collapsed
26638
26639 \begin_layout Plain Layout
26640 para
26641 \end_layout
26642
26643 \end_inset
26644
26645 」です.
26646 \begin_inset Newline newline
26647 \end_inset
26648
26649 箇条書き項目が新規行を使って分割される場合,
26650 項目内部タグは,
26651 新規行で分割される段落の各部分に対して個別に出力されます.
26652 \end_layout
26653
26654 \begin_layout Description
26655 \begin_inset Flex Code
26656 status collapsed
26657
26658 \begin_layout Plain Layout
26659 DocBookItemInnerTagType
26660 \end_layout
26661
26662 \end_inset
26663
26664  [
26665 \begin_inset Flex Code
26666 status collapsed
26667
26668 \begin_layout Plain Layout
26669 block
26670 \end_layout
26671
26672 \end_inset
26673
26674 ,
26675  
26676 \begin_inset Flex Code
26677 status collapsed
26678
26679 \begin_layout Plain Layout
26680 paragraph
26681 \end_layout
26682
26683 \end_inset
26684
26685 ,
26686  
26687 \begin_inset Flex Code
26688 status collapsed
26689
26690 \begin_layout Plain Layout
26691 inline
26692 \end_layout
26693
26694 \end_inset
26695
26696 ] このタグの新規行ポリシー.詳細は第
26697 \begin_inset CommandInset ref
26698 LatexCommand ref
26699 reference "subsec:新規行ポリシー"
26700 plural "false"
26701 caps "false"
26702 noprefix "false"
26703 nolink "false"
26704
26705 \end_inset
26706
26707 節を参照のこと.
26708 \end_layout
26709
26710 \begin_layout Description
26711 \begin_inset Flex Code
26712 status collapsed
26713
26714 \begin_layout Plain Layout
26715 DocBookItemLabelAttr
26716 \end_layout
26717
26718 \end_inset
26719
26720  [
26721 \begin_inset Flex Code
26722 status collapsed
26723
26724 \begin_layout Plain Layout
26725 文字列
26726 \end_layout
26727
26728 \end_inset
26729
26730 ] 項目ラベルタグに出力される属性情報を,
26731 上記の例の「
26732 \begin_inset Flex Code
26733 status collapsed
26734
26735 \begin_layout Plain Layout
26736 itemlabelattr
26737 \end_layout
26738
26739 \end_inset
26740
26741 」の位置に指定します.この情報は,
26742 DocBookファイルの後処理に使用することができます.
26743 \end_layout
26744
26745 \begin_layout Description
26746 \begin_inset Flex Code
26747 status collapsed
26748
26749 \begin_layout Plain Layout
26750 DocBookItemLabelTag
26751 \end_layout
26752
26753 \end_inset
26754
26755  [
26756 \begin_inset Flex Code
26757 status collapsed
26758
26759 \begin_layout Plain Layout
26760 文字列
26761 \end_layout
26762
26763 \end_inset
26764
26765 ] 差込枠内部の項目ラベルタグに使用するタグ.上記の例の「
26766 \begin_inset Flex Code
26767 status collapsed
26768
26769 \begin_layout Plain Layout
26770 itemlabeltag
26771 \end_layout
26772
26773 \end_inset
26774
26775 」の位置に出力します.このパラメーターは,
26776 定義リストのように,
26777 ラベルの概念を伴う項目立てレイアウトが使われているときのみ意味を持ちます.
26778 \end_layout
26779
26780 \begin_layout Description
26781 \begin_inset Flex Code
26782 status collapsed
26783
26784 \begin_layout Plain Layout
26785 DocBookItemLabelTagType
26786 \end_layout
26787
26788 \end_inset
26789
26790  [
26791 \begin_inset Flex Code
26792 status collapsed
26793
26794 \begin_layout Plain Layout
26795 block
26796 \end_layout
26797
26798 \end_inset
26799
26800 ,
26801  
26802 \begin_inset Flex Code
26803 status collapsed
26804
26805 \begin_layout Plain Layout
26806 paragraph
26807 \end_layout
26808
26809 \end_inset
26810
26811 ,
26812  
26813 \begin_inset Flex Code
26814 status collapsed
26815
26816 \begin_layout Plain Layout
26817 inline
26818 \end_layout
26819
26820 \end_inset
26821
26822 ] このタグの新規行ポリシー.詳細は第
26823 \begin_inset CommandInset ref
26824 LatexCommand ref
26825 reference "subsec:新規行ポリシー"
26826 plural "false"
26827 caps "false"
26828 noprefix "false"
26829 nolink "false"
26830
26831 \end_inset
26832
26833 節を参照のこと.
26834 \end_layout
26835
26836 \begin_layout Description
26837 \begin_inset Flex Code
26838 status collapsed
26839
26840 \begin_layout Plain Layout
26841 DocBookItemTag
26842 \end_layout
26843
26844 \end_inset
26845
26846  [
26847 \begin_inset Flex Code
26848 status collapsed
26849
26850 \begin_layout Plain Layout
26851 文字列
26852 \end_layout
26853
26854 \end_inset
26855
26856 ] 差込枠内部の項目タグに使用するタグ.上記の例の「
26857 \begin_inset Flex Code
26858 status collapsed
26859
26860 \begin_layout Plain Layout
26861 itemtag
26862 \end_layout
26863
26864 \end_inset
26865
26866 」の位置に出力します.既定値は
26867 \begin_inset Flex Code
26868 status collapsed
26869
26870 \begin_layout Plain Layout
26871 NONE
26872 \end_layout
26873
26874 \end_inset
26875
26876 で,
26877 項目タグがないことを示します.このパラメーターは,
26878 箇条書きのように,
26879 項目立てレイアウトが使われているときのみ意味を持ちます.
26880 \end_layout
26881
26882 \begin_layout Description
26883 \begin_inset Flex Code
26884 status collapsed
26885
26886 \begin_layout Plain Layout
26887 DocBookItemTagType
26888 \end_layout
26889
26890 \end_inset
26891
26892  [
26893 \begin_inset Flex Code
26894 status collapsed
26895
26896 \begin_layout Plain Layout
26897 block
26898 \end_layout
26899
26900 \end_inset
26901
26902 ,
26903  
26904 \begin_inset Flex Code
26905 status collapsed
26906
26907 \begin_layout Plain Layout
26908 paragraph
26909 \end_layout
26910
26911 \end_inset
26912
26913 ,
26914  
26915 \begin_inset Flex Code
26916 status collapsed
26917
26918 \begin_layout Plain Layout
26919 inline
26920 \end_layout
26921
26922 \end_inset
26923
26924 ] このタグの新規行ポリシー.詳細は第
26925 \begin_inset CommandInset ref
26926 LatexCommand ref
26927 reference "subsec:新規行ポリシー"
26928 plural "false"
26929 caps "false"
26930 noprefix "false"
26931 nolink "false"
26932
26933 \end_inset
26934
26935 節を参照のこと.
26936 \end_layout
26937
26938 \begin_layout Description
26939 \begin_inset Flex Code
26940 status collapsed
26941
26942 \begin_layout Plain Layout
26943 DocBookItemWrapperAttr
26944 \end_layout
26945
26946 \end_inset
26947
26948  [
26949 \begin_inset Flex Code
26950 status collapsed
26951
26952 \begin_layout Plain Layout
26953 文字列
26954 \end_layout
26955
26956 \end_inset
26957
26958 ] 項目ラッパータグに出力される属性情報を,
26959 上記の例の「
26960 \begin_inset Flex Code
26961 status collapsed
26962
26963 \begin_layout Plain Layout
26964 itemwrapperattr
26965 \end_layout
26966
26967 \end_inset
26968
26969 」の位置に指定します.この情報は,
26970 DocBookファイルの後処理に使用することができます.
26971 \end_layout
26972
26973 \begin_layout Description
26974 \begin_inset Flex Code
26975 status collapsed
26976
26977 \begin_layout Plain Layout
26978 DocBookItemWrapperTag
26979 \end_layout
26980
26981 \end_inset
26982
26983  [
26984 \begin_inset Flex Code
26985 status collapsed
26986
26987 \begin_layout Plain Layout
26988 文字列
26989 \end_layout
26990
26991 \end_inset
26992
26993 ] 差込枠内部の項目ラッパータグに使用するタグ.上記の例の「
26994 \begin_inset Flex Code
26995 status collapsed
26996
26997 \begin_layout Plain Layout
26998 itemwrappertag
26999 \end_layout
27000
27001 \end_inset
27002
27003 」の位置に出力します.既定値は
27004 \begin_inset Flex Code
27005 status collapsed
27006
27007 \begin_layout Plain Layout
27008 NONE
27009 \end_layout
27010
27011 \end_inset
27012
27013 で,
27014 項目ラッパータグがないことを示します.すなわち,
27015 各項目立て要素について,
27016 項目ラッパータグなしにタグと中身が直接出力されます.このパラメーターは,
27017 箇条書きのように,
27018 項目立てレイアウトが使われているときのみ意味を持ちます.
27019 \end_layout
27020
27021 \begin_layout Description
27022 \begin_inset Flex Code
27023 status collapsed
27024
27025 \begin_layout Plain Layout
27026 DocBookItemWrapperTagType
27027 \end_layout
27028
27029 \end_inset
27030
27031  [
27032 \begin_inset Flex Code
27033 status collapsed
27034
27035 \begin_layout Plain Layout
27036 block
27037 \end_layout
27038
27039 \end_inset
27040
27041 ,
27042  
27043 \begin_inset Flex Code
27044 status collapsed
27045
27046 \begin_layout Plain Layout
27047 paragraph
27048 \end_layout
27049
27050 \end_inset
27051
27052 ,
27053  
27054 \begin_inset Flex Code
27055 status collapsed
27056
27057 \begin_layout Plain Layout
27058 inline
27059 \end_layout
27060
27061 \end_inset
27062
27063 ] このタグの新規行ポリシー.詳細は第
27064 \begin_inset CommandInset ref
27065 LatexCommand ref
27066 reference "subsec:新規行ポリシー"
27067 plural "false"
27068 caps "false"
27069 noprefix "false"
27070 nolink "false"
27071
27072 \end_inset
27073
27074 節を参照のこと.
27075 \end_layout
27076
27077 \begin_layout Description
27078 \begin_inset Flex Code
27079 status collapsed
27080
27081 \begin_layout Plain Layout
27082 DocBookInnerAttr
27083 \end_layout
27084
27085 \end_inset
27086
27087  [
27088 \begin_inset Flex Code
27089 status collapsed
27090
27091 \begin_layout Plain Layout
27092 文字列
27093 \end_layout
27094
27095 \end_inset
27096
27097 ] 内部タグに出力される属性情報を,
27098 上記の例の「
27099 \begin_inset Flex Code
27100 status collapsed
27101
27102 \begin_layout Plain Layout
27103 innerattr
27104 \end_layout
27105
27106 \end_inset
27107
27108 」の位置に指定します.この情報は,
27109 DocBookファイルの後処理に使用することができます.
27110 \end_layout
27111
27112 \begin_layout Description
27113 \begin_inset Flex Code
27114 status collapsed
27115
27116 \begin_layout Plain Layout
27117 DocBookInnerTag
27118 \end_layout
27119
27120 \end_inset
27121
27122  [
27123 \begin_inset Flex Code
27124 status collapsed
27125
27126 \begin_layout Plain Layout
27127 文字列
27128 \end_layout
27129
27130 \end_inset
27131
27132 ] 差込枠内部の内部タグに使用するタグ.上記の例の「
27133 \begin_inset Flex Code
27134 status collapsed
27135
27136 \begin_layout Plain Layout
27137 innertag
27138 \end_layout
27139
27140 \end_inset
27141
27142 」の位置に出力します.既定値は
27143 \begin_inset Flex Code
27144 status collapsed
27145
27146 \begin_layout Plain Layout
27147 NONE
27148 \end_layout
27149
27150 \end_inset
27151
27152 で,
27153 内部タグがないことを示します.すなわち,
27154 内部タグなしに中身が直接出力されます.
27155 \end_layout
27156
27157 \begin_layout Description
27158 \begin_inset Flex Code
27159 status collapsed
27160
27161 \begin_layout Plain Layout
27162 DocBookInnerTagType
27163 \end_layout
27164
27165 \end_inset
27166
27167  [
27168 \begin_inset Flex Code
27169 status collapsed
27170
27171 \begin_layout Plain Layout
27172 block
27173 \end_layout
27174
27175 \end_inset
27176
27177 ,
27178  
27179 \begin_inset Flex Code
27180 status collapsed
27181
27182 \begin_layout Plain Layout
27183 paragraph
27184 \end_layout
27185
27186 \end_inset
27187
27188 ,
27189  
27190 \begin_inset Flex Code
27191 status collapsed
27192
27193 \begin_layout Plain Layout
27194 inline
27195 \end_layout
27196
27197 \end_inset
27198
27199 ] このタグの新規行ポリシー.詳細は第
27200 \begin_inset CommandInset ref
27201 LatexCommand ref
27202 reference "subsec:新規行ポリシー"
27203 plural "false"
27204 caps "false"
27205 noprefix "false"
27206 nolink "false"
27207
27208 \end_inset
27209
27210 節を参照のこと.
27211 \end_layout
27212
27213 \begin_layout Description
27214 \begin_inset Flex Code
27215 status collapsed
27216
27217 \begin_layout Plain Layout
27218 DocBookSectionTag
27219 \end_layout
27220
27221 \end_inset
27222
27223  [
27224 \begin_inset Flex Code
27225 status collapsed
27226
27227 \begin_layout Plain Layout
27228 文字列
27229 \end_layout
27230
27231 \end_inset
27232
27233 ] このタイプのセクションに対応するタグを指定します.このパラメーターは,
27234 セクショニング要素(部・章・節等)にのみ意味を持ちます.既定値は
27235 \begin_inset Flex Code
27236 status collapsed
27237
27238 \begin_layout Plain Layout
27239 section
27240 \end_layout
27241
27242 \end_inset
27243
27244 で,
27245 DocBookがセクショニングに他のものを使うときのみ上書きされます(典型的にはbookの部や章).
27246 \end_layout
27247
27248 \begin_layout Description
27249 \begin_inset Flex Code
27250 status collapsed
27251
27252 \begin_layout Plain Layout
27253 DocBookTag
27254 \end_layout
27255
27256 \end_inset
27257
27258  [
27259 \begin_inset Flex Code
27260 status collapsed
27261
27262 \begin_layout Plain Layout
27263 文字列
27264 \end_layout
27265
27266 \end_inset
27267
27268 ] この差込枠に使用するタグ.上記の例の「
27269 \begin_inset Flex Code
27270 status collapsed
27271
27272 \begin_layout Plain Layout
27273 tag
27274 \end_layout
27275
27276 \end_inset
27277
27278 」の位置に出力します.既定値はフロート名で,
27279 DocBookには一般的なタグはないので,
27280 つねに変更する必要があります.
27281 \end_layout
27282
27283 \begin_layout Description
27284 \begin_inset Flex Code
27285 status collapsed
27286
27287 \begin_layout Plain Layout
27288 DocBookTagType
27289 \end_layout
27290
27291 \end_inset
27292
27293  [
27294 \begin_inset Flex Code
27295 status collapsed
27296
27297 \begin_layout Plain Layout
27298 block
27299 \end_layout
27300
27301 \end_inset
27302
27303 ,
27304  
27305 \begin_inset Flex Code
27306 status collapsed
27307
27308 \begin_layout Plain Layout
27309 paragraph
27310 \end_layout
27311
27312 \end_inset
27313
27314 ,
27315  
27316 \begin_inset Flex Code
27317 status collapsed
27318
27319 \begin_layout Plain Layout
27320 inline
27321 \end_layout
27322
27323 \end_inset
27324
27325 ] このタグの新規行ポリシー.詳細は第
27326 \begin_inset CommandInset ref
27327 LatexCommand ref
27328 reference "subsec:新規行ポリシー"
27329 plural "false"
27330 caps "false"
27331 noprefix "false"
27332 nolink "false"
27333
27334 \end_inset
27335
27336 節を参照のこと.
27337 \end_layout
27338
27339 \begin_layout Description
27340 \begin_inset Flex Code
27341 status collapsed
27342
27343 \begin_layout Plain Layout
27344 DocBookWrapperAttr
27345 \end_layout
27346
27347 \end_inset
27348
27349  [
27350 \begin_inset Flex Code
27351 status collapsed
27352
27353 \begin_layout Plain Layout
27354 文字列
27355 \end_layout
27356
27357 \end_inset
27358
27359 ] 外部ラッパータグに出力される属性情報を,
27360 上記の例の「
27361 \begin_inset Flex Code
27362 status collapsed
27363
27364 \begin_layout Plain Layout
27365 wrapperattr
27366 \end_layout
27367
27368 \end_inset
27369
27370 」の位置に指定します.この情報は,
27371 DocBookファイルの後処理に使用することができます.
27372 \end_layout
27373
27374 \begin_layout Description
27375 \begin_inset Flex Code
27376 status collapsed
27377
27378 \begin_layout Plain Layout
27379 DocBookWrapperTag
27380 \end_layout
27381
27382 \end_inset
27383
27384  [
27385 \begin_inset Flex Code
27386 status collapsed
27387
27388 \begin_layout Plain Layout
27389 文字列
27390 \end_layout
27391
27392 \end_inset
27393
27394 ] 差込枠の周りのラッパータグに使用するタグ.上記の例の「
27395 \begin_inset Flex Code
27396 status collapsed
27397
27398 \begin_layout Plain Layout
27399 wrappertag
27400 \end_layout
27401
27402 \end_inset
27403
27404 」の位置に出力します.既定値は
27405 \begin_inset Flex Code
27406 status collapsed
27407
27408 \begin_layout Plain Layout
27409 NONE
27410 \end_layout
27411
27412 \end_inset
27413
27414 で,
27415 ラッパータグがないことを示します.すなわち,
27416 ラッパータグなしにタグと中身が直接出力されます.
27417 \end_layout
27418
27419 \begin_layout Description
27420 \begin_inset Flex Code
27421 status collapsed
27422
27423 \begin_layout Plain Layout
27424 DocBookWrapperTagType
27425 \end_layout
27426
27427 \end_inset
27428
27429  [
27430 \begin_inset Flex Code
27431 status collapsed
27432
27433 \begin_layout Plain Layout
27434 block
27435 \end_layout
27436
27437 \end_inset
27438
27439 ,
27440  
27441 \begin_inset Flex Code
27442 status collapsed
27443
27444 \begin_layout Plain Layout
27445 paragraph
27446 \end_layout
27447
27448 \end_inset
27449
27450 ,
27451  
27452 \begin_inset Flex Code
27453 status collapsed
27454
27455 \begin_layout Plain Layout
27456 inline
27457 \end_layout
27458
27459 \end_inset
27460
27461 ] このタグの新規行ポリシー.詳細は第
27462 \begin_inset CommandInset ref
27463 LatexCommand ref
27464 reference "subsec:新規行ポリシー"
27465 plural "false"
27466 caps "false"
27467 noprefix "false"
27468 nolink "false"
27469
27470 \end_inset
27471
27472 節を参照のこと.
27473 \end_layout
27474
27475 \begin_layout Subsection
27476 Float DocBook
27477 \end_layout
27478
27479 \begin_layout Standard
27480 フロートのDocBook出力もレイアウトファイルの情報によって制御されます.出力は以下の形を取ります.
27481 \end_layout
27482
27483 \begin_layout LyX-Code
27484 <tag attr>
27485 \end_layout
27486
27487 \begin_layout LyX-Code
27488  DocBookとしてのフロートの内容
27489 \end_layout
27490
27491 \begin_layout LyX-Code
27492 </tag>
27493 \end_layout
27494
27495 \begin_layout Standard
27496 キャプションは,
27497 存在するならば別の差込枠となり,
27498 表題とともに出力されます.
27499 \end_layout
27500
27501 \begin_layout Description
27502 \begin_inset Flex Code
27503 status collapsed
27504
27505 \begin_layout Plain Layout
27506 DocBookAttr
27507 \end_layout
27508
27509 \end_inset
27510
27511  [
27512 \begin_inset Flex Code
27513 status collapsed
27514
27515 \begin_layout Plain Layout
27516 文字列
27517 \end_layout
27518
27519 \end_inset
27520
27521 ] メインタグに出力される属性情報を,
27522 上記の例の「
27523 \begin_inset Flex Code
27524 status collapsed
27525
27526 \begin_layout Plain Layout
27527 attr
27528 \end_layout
27529
27530 \end_inset
27531
27532 」の位置に指定します.この情報は,
27533 DocBookファイルの後処理に使用することができます.
27534 \end_layout
27535
27536 \begin_layout Description
27537 \begin_inset Flex Code
27538 status collapsed
27539
27540 \begin_layout Plain Layout
27541 DocBookTag
27542 \end_layout
27543
27544 \end_inset
27545
27546  [
27547 \begin_inset Flex Code
27548 status collapsed
27549
27550 \begin_layout Plain Layout
27551 文字列
27552 \end_layout
27553
27554 \end_inset
27555
27556 ] このフロートに使用するタグ.上記の例の「
27557 \begin_inset Flex Code
27558 status collapsed
27559
27560 \begin_layout Plain Layout
27561 tag
27562 \end_layout
27563
27564 \end_inset
27565
27566 」の位置に出力します.既定値はフロート名で,
27567 DocBookには一般的なタグはないので,
27568 つねに変更する必要があります.
27569 \end_layout
27570
27571 \begin_layout Subsection
27572 書誌情報の組版
27573 \end_layout
27574
27575 \begin_layout Standard
27576 読み込んだ書誌情報は整形することができません.すなわち,
27577 フィールドはすべて,
27578
27579 \begin_inset Flex Code
27580 status collapsed
27581
27582 \begin_layout Plain Layout
27583 bibentry
27584 \end_layout
27585
27586 \end_inset
27587
27588 タグを使用して(BibTeXファイルと同等な)データベース型のDocBook形式でつねに出力されます.
27589 \end_layout
27590
27591 \begin_layout Standard
27592 書誌情報項目が,
27593 \SpecialChar LyX
27594 文書に書誌情報項目として手動で挿入されると,
27595 ユーザーはその整形を担当します.すなわち,
27596 ユーザーが書いたことを解析することは為されず,
27597 文字列は(
27598 \begin_inset Flex Code
27599 status collapsed
27600
27601 \begin_layout Plain Layout
27602 bibliomixed
27603 \end_layout
27604
27605 \end_inset
27606
27607 タグを用いて)直接に使用されます.
27608 \end_layout
27609
27610 \begin_layout Chapter
27611 外部素材を取り込む
27612 \begin_inset CommandInset label
27613 LatexCommand label
27614 name "chap:外部素材を取り込む"
27615
27616 \end_inset
27617
27618
27619 \end_layout
27620
27621 \begin_layout Standard
27622 \begin_inset Box Shadowbox
27623 position "t"
27624 hor_pos "c"
27625 has_inner_box 1
27626 inner_pos "t"
27627 use_parbox 0
27628 use_makebox 0
27629 width "100col%"
27630 special "none"
27631 height "1in"
27632 height_special "totalheight"
27633 thickness "0.4pt"
27634 separation "3pt"
27635 shadowsize "4pt"
27636 framecolor "black"
27637 backgroundcolor "none"
27638 status open
27639
27640 \begin_layout Plain Layout
27641 【警告】本説明書のこの部分は,
27642 しばらく更新されていません.もちろんまだ正確であることを期待していますが,
27643 保証の限りではありません.
27644 \end_layout
27645
27646 \end_inset
27647
27648
27649 \end_layout
27650
27651 \begin_layout Standard
27652 \SpecialChar LyX
27653 外部のソースから素材を使用する方法は,
27654 取扱説明書『
27655 \emph on
27656 埋込オブジェクト篇
27657 \emph default
27658 』で詳細にカバーされています.本章は,
27659 新種の素材を取り込む際に,
27660 舞台裏で何をする必要があるかをカバーします.
27661 \end_layout
27662
27663 \begin_layout Section
27664 どのように機能するのか
27665 \end_layout
27666
27667 \begin_layout Standard
27668 外部素材の機能は,
27669 ひな型の概念に基づいています.ひな型は,
27670 \SpecialChar LyX
27671 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,
27672 \SpecialChar LyX
27673 は,
27674 Xfigの図や,
27675 様々なラスター形式画像,
27676 チェス棋譜,
27677 LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
27678
27679 \begin_inset Flex MenuItem
27680 status collapsed
27681
27682 \begin_layout Plain Layout
27683 挿入\SpecialChar menuseparator
27684 ファイル\SpecialChar menuseparator
27685 外部素材
27686 \end_layout
27687
27688 \end_inset
27689
27690 メニューで見ることができます.さらに,
27691 特定の型の素材をサポートするのに,
27692 自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しますが,
27693 できればあなたが作ったすべてのひな型を投稿して,
27694 我々が\SpecialChar LyX
27695 の後の版に取り込むことができるようにしてくださることを希望します.
27696 \end_layout
27697
27698 \begin_layout Standard
27699 外部素材の機能におけるもう一つの基本的な発想は,
27700 最終素材の元となるオリジナルファイルと,
27701 書き出された文書や印刷された文書に取り込むための生成ファイルとを区別していることです.たとえば,
27702
27703 \begin_inset Flex Code
27704 status collapsed
27705
27706 \begin_layout Plain Layout
27707 Xfig
27708 \end_layout
27709
27710 \end_inset
27711
27712 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
27713
27714 \begin_inset Flex Code
27715 status collapsed
27716
27717 \begin_layout Plain Layout
27718 .fig
27719 \end_layout
27720
27721 \end_inset
27722
27723 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,
27724 作業が終われば
27725 \begin_inset Flex Code
27726 status collapsed
27727
27728 \begin_layout Plain Layout
27729 fig
27730 \end_layout
27731
27732 \end_inset
27733
27734 ファイルに保存します.この図をお使いの文書に取り込みたいときには,
27735 \SpecialChar LaTeX
27736 ファイルにそのままインクルードできるように,
27737
27738 \begin_inset Flex Code
27739 status collapsed
27740
27741 \begin_layout Plain Layout
27742 transfig
27743 \end_layout
27744
27745 \end_inset
27746
27747 を呼び出してPostScriptファイルを生成します.この場合には,
27748
27749 \begin_inset Flex Code
27750 status collapsed
27751
27752 \begin_layout Plain Layout
27753 .fig
27754 \end_layout
27755
27756 \end_inset
27757
27758 ファイルがオリジナルファイルであり,
27759 PostScriptファイルが生成ファイルになります.
27760 \end_layout
27761
27762 \begin_layout Standard
27763 この区別は,
27764 文書を執筆している最中に,
27765 素材を更新することができるようにするために重要です.さらに,
27766 これによって,
27767 複数の書き出し書式をサポートするために必要な柔軟性が提供されます.たとえば,
27768 平文テキストファイルの場合には,
27769 図を生のPostScriptファイルとして取り込むのは,
27770 とても褒められた発想とはいえません.むしろ,
27771 その図への参照だけを含めるか,
27772 最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
27773 の外部素材マネジメントは,
27774 \SpecialChar LyX
27775 がサポートする各書き出し書式別に仕分けしているので,
27776 ユーザがこれを行うことが可能となっています.
27777 \end_layout
27778
27779 \begin_layout Standard
27780 \SpecialChar LyX
27781 の外部素材マネジメントは,
27782 書き出し書式によって異なる生成物をサポートすることの他に,
27783 編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図の場合には,
27784 \SpecialChar LyX
27785 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,
27786 ダブルクリックすることで生成されたPostScriptファイルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,
27787 オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファイルブラウザをいじくり回す必要はないのです.このようにして,
27788 文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,
27789 最終的により生産性を上げることができるようになるのです.
27790 \end_layout
27791
27792 \begin_layout Section
27793 外用ひな型設定ファイル
27794 \end_layout
27795
27796 \begin_layout Standard
27797 \SpecialChar LyX
27798 に自製の外用ひな型を付け加えるのは,
27799 比較的簡単です.しかしながら,
27800 これを不用心に行ってしまうと,
27801 たいていの場合,
27802 簡単に濫用されてしまうようなセキュリティホールを作ってしまいがちであることを心に留めておいてください.したがって,
27803 これを実行に移す前に,
27804
27805 \begin_inset CommandInset ref
27806 LatexCommand ref
27807 reference "sec:セキュリティに関する論点"
27808 nolink "false"
27809
27810 \end_inset
27811
27812 のセキュリティに関する議論を読んでおいてください.
27813 \end_layout
27814
27815 \begin_layout Standard
27816 このことに言及した上で,
27817 あなたが作成した面白いひな型は,
27818 ぜひ投稿してください.
27819 \end_layout
27820
27821 \begin_layout Standard
27822 外用ひな型ファイルは,
27823
27824 \begin_inset Flex Code
27825 status collapsed
27826
27827 \begin_layout Plain Layout
27828 LyXDir/lib/xtemplates/
27829 \end_layout
27830
27831 \end_inset
27832
27833 ディレクトリ中にある
27834 \begin_inset Flex Code
27835 status collapsed
27836
27837 \begin_layout Plain Layout
27838 *.xtemplate
27839 \end_layout
27840
27841 \end_inset
27842
27843 ファイルに定義されています.各ひな型は,
27844 そのファイル完結で定義されています.自分専用のひな型を
27845 \begin_inset Flex Code
27846 status collapsed
27847
27848 \begin_layout Plain Layout
27849 UserDir/xtemplates/
27850 \end_layout
27851
27852 \end_inset
27853
27854 に置くこともできますし,
27855 既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
27856 \end_layout
27857
27858 \begin_layout Standard
27859 典型的なひな型は以下のようになります.
27860 \end_layout
27861
27862 \begin_layout LyX-Code
27863 Template XFig
27864 \end_layout
27865
27866 \begin_layout LyX-Code
27867 GuiName "XFig:
27868  $$AbsOrRelPathParent$$Basename"
27869 \end_layout
27870
27871 \begin_layout LyX-Code
27872 HelpText
27873 \end_layout
27874
27875 \begin_layout LyX-Code
27876 An XFig figure.
27877 \end_layout
27878
27879 \begin_layout LyX-Code
27880 HelpTextEnd
27881 \end_layout
27882
27883 \begin_layout LyX-Code
27884 InputFormat fig
27885 \end_layout
27886
27887 \begin_layout LyX-Code
27888 FileFilter "*.fig"
27889 \end_layout
27890
27891 \begin_layout LyX-Code
27892 AutomaticProduction true
27893 \end_layout
27894
27895 \begin_layout LyX-Code
27896 Transform Rotate
27897 \end_layout
27898
27899 \begin_layout LyX-Code
27900 Transform Resize
27901 \end_layout
27902
27903 \begin_layout LyX-Code
27904 Format LaTeX
27905 \end_layout
27906
27907 \begin_layout LyX-Code
27908 TransformCommand Rotate RotationLatexCommand
27909 \end_layout
27910
27911 \begin_layout LyX-Code
27912 TransformCommand Resize ResizeLatexCommand
27913 \end_layout
27914
27915 \begin_layout LyX-Code
27916 Product "$$RotateFront$$ResizeFront
27917 \end_layout
27918
27919 \begin_layout LyX-Code
27920          
27921 \backslash
27922
27923 \backslash
27924 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
27925 \end_layout
27926
27927 \begin_layout LyX-Code
27928          $$ResizeBack$$RotateBack"
27929 \end_layout
27930
27931 \begin_layout LyX-Code
27932 UpdateFormat pstex
27933 \end_layout
27934
27935 \begin_layout LyX-Code
27936 UpdateResult "$$AbsPath$$Basename.pstex_t"
27937 \end_layout
27938
27939 \begin_layout LyX-Code
27940 Requirement "graphicx"
27941 \end_layout
27942
27943 \begin_layout LyX-Code
27944 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27945 \end_layout
27946
27947 \begin_layout LyX-Code
27948 ReferencedFile latex "$$AbsPath$$Basename.eps"
27949 \end_layout
27950
27951 \begin_layout LyX-Code
27952 ReferencedFile dvi "$$AbsPath$$Basename.eps"
27953 \end_layout
27954
27955 \begin_layout LyX-Code
27956 FormatEnd
27957 \end_layout
27958
27959 \begin_layout LyX-Code
27960 Format PDFLaTeX
27961 \end_layout
27962
27963 \begin_layout LyX-Code
27964 TransformCommand Rotate RotationLatexCommand
27965 \end_layout
27966
27967 \begin_layout LyX-Code
27968 TransformCommand Resize ResizeLatexCommand
27969 \end_layout
27970
27971 \begin_layout LyX-Code
27972 Product "$$RotateFront$$ResizeFront
27973 \end_layout
27974
27975 \begin_layout LyX-Code
27976          
27977 \backslash
27978
27979 \backslash
27980 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
27981 \end_layout
27982
27983 \begin_layout LyX-Code
27984          $$ResizeBack$$RotateBack"
27985 \end_layout
27986
27987 \begin_layout LyX-Code
27988 UpdateFormat pdftex
27989 \end_layout
27990
27991 \begin_layout LyX-Code
27992 UpdateResult "$$AbsPath$$Basename.pdftex_t"
27993 \end_layout
27994
27995 \begin_layout LyX-Code
27996 Requirement "graphicx"
27997 \end_layout
27998
27999 \begin_layout LyX-Code
28000 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
28001 \end_layout
28002
28003 \begin_layout LyX-Code
28004 ReferencedFile latex "$$AbsPath$$Basename.pdf"
28005 \end_layout
28006
28007 \begin_layout LyX-Code
28008 FormatEnd
28009 \end_layout
28010
28011 \begin_layout LyX-Code
28012 Format Ascii
28013 \end_layout
28014
28015 \begin_layout LyX-Code
28016 Product "$$Contents(
28017 \backslash
28018 "$$AbsPath$$Basename.asc
28019 \backslash
28020 ")"
28021 \end_layout
28022
28023 \begin_layout LyX-Code
28024 UpdateFormat asciixfig
28025 \end_layout
28026
28027 \begin_layout LyX-Code
28028 UpdateResult "$$AbsPath$$Basename.asc"
28029 \end_layout
28030
28031 \begin_layout LyX-Code
28032 FormatEnd
28033 \end_layout
28034
28035 \begin_layout LyX-Code
28036 Format DocBook
28037 \end_layout
28038
28039 \begin_layout LyX-Code
28040 Product "<graphic fileref=
28041 \backslash
28042 "$$AbsOrRelPathMaster$$Basename.eps
28043 \backslash
28044 ">
28045 \end_layout
28046
28047 \begin_layout LyX-Code
28048          </graphic>"
28049 \end_layout
28050
28051 \begin_layout LyX-Code
28052 UpdateFormat eps
28053 \end_layout
28054
28055 \begin_layout LyX-Code
28056 UpdateResult "$$AbsPath$$Basename.eps"
28057 \end_layout
28058
28059 \begin_layout LyX-Code
28060 ReferencedFile docbook "$$AbsPath$$Basename.eps"
28061 \end_layout
28062
28063 \begin_layout LyX-Code
28064 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
28065 \end_layout
28066
28067 \begin_layout LyX-Code
28068 FormatEnd
28069 \end_layout
28070
28071 \begin_layout LyX-Code
28072 Product "[XFig:
28073  $$FName]"
28074 \end_layout
28075
28076 \begin_layout LyX-Code
28077 FormatEnd
28078 \end_layout
28079
28080 \begin_layout LyX-Code
28081 TemplateEnd
28082 \end_layout
28083
28084 \begin_layout Standard
28085 ご覧の通り,
28086 ひな型は
28087 \begin_inset Flex Code
28088 status collapsed
28089
28090 \begin_layout Plain Layout
28091 Template
28092 \end_layout
28093
28094 \end_inset
28095
28096  \SpecialChar ldots
28097  
28098 \begin_inset Flex Code
28099 status collapsed
28100
28101 \begin_layout Plain Layout
28102 TemplateEnd
28103 \end_layout
28104
28105 \end_inset
28106
28107 で閉じられます.ひな型には,
28108 一般的な設定を行うヘッダ部と,
28109 サポートされている主要な文書ファイル形式の設定を行う
28110 \begin_inset Flex Code
28111 status collapsed
28112
28113 \begin_layout Plain Layout
28114 Format
28115 \end_layout
28116
28117 \end_inset
28118
28119  \SpecialChar ldots
28120  
28121 \begin_inset Flex Code
28122 status collapsed
28123
28124 \begin_layout Plain Layout
28125 FormatEnd
28126 \end_layout
28127
28128 \end_inset
28129
28130 部があります.
28131 \end_layout
28132
28133 \begin_layout Subsection
28134 ひな型のヘッダ
28135 \end_layout
28136
28137 \begin_layout Description
28138 \begin_inset Flex Code
28139 status collapsed
28140
28141 \begin_layout Plain Layout
28142 AutomaticProduction
28143 \begin_inset space ~
28144 \end_inset
28145
28146 true|false
28147 \end_layout
28148
28149 \end_inset
28150
28151  このひな型で扱うファイルを\SpecialChar LyX
28152 が生成しなくてはならないか否か.このコマンドは,
28153 一度だけ必ず現れなくてはなりません.
28154 \end_layout
28155
28156 \begin_layout Description
28157 \begin_inset Flex Code
28158 status collapsed
28159
28160 \begin_layout Plain Layout
28161 FileFilter
28162 \begin_inset space ~
28163 \end_inset
28164
28165 <パターン>
28166 \end_layout
28167
28168 \end_inset
28169
28170  望むファイル群を表示するために,
28171 ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,
28172 tgifには
28173 \begin_inset Flex Code
28174 status collapsed
28175
28176 \begin_layout Plain Layout
28177 .obj
28178 \end_layout
28179
28180 \end_inset
28181
28182
28183 \begin_inset Flex Code
28184 status collapsed
28185
28186 \begin_layout Plain Layout
28187 .tgo
28188 \end_layout
28189
28190 \end_inset
28191
28192 があります),
28193
28194 \begin_inset Flex Code
28195 status collapsed
28196
28197 \begin_layout Plain Layout
28198 *.{obj,tgo}
28199 \end_layout
28200
28201 \end_inset
28202
28203 」の様なパターンを使用してください.このコマンドは,
28204 一度だけ必ず現れなくてはなりません.
28205 \end_layout
28206
28207 \begin_layout Description
28208 \begin_inset Flex Code
28209 status collapsed
28210
28211 \begin_layout Plain Layout
28212 GuiName
28213 \begin_inset space ~
28214 \end_inset
28215
28216 <GUI名>
28217 \end_layout
28218
28219 \end_inset
28220
28221  この文字列はボタン上に表示されます.このコマンドは,
28222 一度だけ必ず現れなくてはなりません.
28223 \end_layout
28224
28225 \begin_layout Description
28226 \begin_inset Flex Code
28227 status collapsed
28228
28229 \begin_layout Plain Layout
28230 HelpText
28231 \begin_inset space ~
28232 \end_inset
28233
28234 <文章>
28235 \begin_inset space ~
28236 \end_inset
28237
28238 HelpTextEnd
28239 \end_layout
28240
28241 \end_inset
28242
28243  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,
28244 ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,
28245 一度だけ必ず現れなくてはなりません.
28246 \end_layout
28247
28248 \begin_layout Description
28249 \begin_inset Flex Code
28250 status collapsed
28251
28252 \begin_layout Plain Layout
28253 InputFormat
28254 \begin_inset space ~
28255 \end_inset
28256
28257 <書式>
28258 \end_layout
28259
28260 \end_inset
28261
28262  オリジナルファイルのファイル形式.これは,
28263 \SpecialChar LyX
28264 が知っている書式名でなくてはなりません(
28265 \begin_inset CommandInset ref
28266 LatexCommand ref
28267 reference "sec:ファイル形式"
28268 nolink "false"
28269
28270 \end_inset
28271
28272 参照).このひな型が,
28273 2つ以上の書式のオリジナルファイルを取り扱える場合は,
28274
28275 \begin_inset Flex Code
28276 status collapsed
28277
28278 \begin_layout Plain Layout
28279 *
28280 \end_layout
28281
28282 \end_inset
28283
28284 」を使用してください.この場合,
28285 \SpecialChar LyX
28286 はファイル形式を推定するために,
28287 ファイル自体に詮索を試みます.このコマンドは,
28288 一度だけ必ず現れなくてはなりません.
28289 \end_layout
28290
28291 \begin_layout Description
28292 \begin_inset Flex Code
28293 status collapsed
28294
28295 \begin_layout Plain Layout
28296 Template
28297 \begin_inset space ~
28298 \end_inset
28299
28300 <ID>
28301 \end_layout
28302
28303 \end_inset
28304
28305  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
28306 \end_layout
28307
28308 \begin_layout Description
28309 \begin_inset Flex Code
28310 status collapsed
28311
28312 \begin_layout Plain Layout
28313 Transform
28314 \begin_inset space ~
28315 \end_inset
28316
28317 Rotate|Resize|Clip|Extra
28318 \end_layout
28319
28320 \end_inset
28321
28322  このコマンドは,
28323 このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,
28324 外部素材ダイアログ中の対応するタブを使用可能にします.
28325 \begin_inset Flex Code
28326 status collapsed
28327
28328 \begin_layout Plain Layout
28329 Transform
28330 \end_layout
28331
28332 \end_inset
28333
28334 コマンド一つずつに応じて,
28335
28336 \begin_inset Flex Code
28337 status collapsed
28338
28339 \begin_layout Plain Layout
28340 Format
28341 \end_layout
28342
28343 \end_inset
28344
28345 部に,
28346 対応する
28347 \begin_inset Flex Code
28348 status collapsed
28349
28350 \begin_layout Plain Layout
28351 TransformCommand
28352 \end_layout
28353
28354 \end_inset
28355
28356 コマンドか
28357 \begin_inset Flex Code
28358 status collapsed
28359
28360 \begin_layout Plain Layout
28361 TransformOption
28362 \end_layout
28363
28364 \end_inset
28365
28366 コマンドを置かなくてはなりません.これを行わないと,
28367 この書式での変換はサポートされません.
28368 \end_layout
28369
28370 \begin_layout Subsection
28371 \begin_inset Flex Code
28372 status collapsed
28373
28374 \begin_layout Plain Layout
28375 Format
28376 \end_layout
28377
28378 \end_inset
28379
28380
28381 \end_layout
28382
28383 \begin_layout Description
28384 \begin_inset Flex Code
28385 status collapsed
28386
28387 \begin_layout Plain Layout
28388 Format
28389 \begin_inset space ~
28390 \end_inset
28391
28392 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
28393 \end_layout
28394
28395 \end_inset
28396
28397  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,
28398 全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,
28399 全書式に対して
28400 \begin_inset Flex Code
28401 status collapsed
28402
28403 \begin_layout Plain Layout
28404 Format
28405 \end_layout
28406
28407 \end_inset
28408
28409 部を定義してください.表示する方法がないときは,
28410 ダミーテキストを使用してください.これによって,
28411 書き出した文書内で,
28412 少なくとも外部素材への参照を見ることができるようになります.
28413 \end_layout
28414
28415 \begin_layout Description
28416 \begin_inset Flex Code
28417 status collapsed
28418
28419 \begin_layout Plain Layout
28420 Option
28421 \begin_inset space ~
28422 \end_inset
28423
28424 <名称>
28425 \begin_inset space ~
28426 \end_inset
28427
28428 <値>
28429 \end_layout
28430
28431 \end_inset
28432
28433  このコマンドは,
28434
28435 \begin_inset Flex Code
28436 status collapsed
28437
28438 \begin_layout Plain Layout
28439 Product
28440 \end_layout
28441
28442 \end_inset
28443
28444 での代入に使うマクロ
28445 \begin_inset Flex Code
28446 status collapsed
28447
28448 \begin_layout Plain Layout
28449 $$<名称>
28450 \end_layout
28451
28452 \end_inset
28453
28454 を新たに定義します.
28455 \begin_inset Flex Code
28456 status collapsed
28457
28458 \begin_layout Plain Layout
28459 <値>
28460 \end_layout
28461
28462 \end_inset
28463
28464 自体にも代入マクロを使うことができます.
28465 \begin_inset Flex Code
28466 status collapsed
28467
28468 \begin_layout Plain Layout
28469 Product
28470 \end_layout
28471
28472 \end_inset
28473
28474
28475 \begin_inset Flex Code
28476 status collapsed
28477
28478 \begin_layout Plain Layout
28479 <値>
28480 \end_layout
28481
28482 \end_inset
28483
28484 を直接使用するよりも優れた点は,
28485
28486 \begin_inset Flex Code
28487 status collapsed
28488
28489 \begin_layout Plain Layout
28490 $$<名称>
28491 \end_layout
28492
28493 \end_inset
28494
28495 に代入された値が,
28496 その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
28497 \end_layout
28498
28499 \begin_layout Description
28500 \begin_inset Flex Code
28501 status collapsed
28502
28503 \begin_layout Plain Layout
28504 Product
28505 \begin_inset space ~
28506 \end_inset
28507
28508 <文>
28509 \end_layout
28510
28511 \end_inset
28512
28513  書き出された文書に挿入される文.実のところ,
28514 これが最も重要なコマンドであり,
28515 とても複雑になることがあります.このコマンドは,
28516 一度だけ必ず現れなくてはなりません.
28517 \end_layout
28518
28519 \begin_layout Description
28520 \begin_inset Flex Code
28521 status collapsed
28522
28523 \begin_layout Plain Layout
28524 Preamble
28525 \begin_inset space ~
28526 \end_inset
28527
28528 <名称>
28529 \end_layout
28530
28531 \end_inset
28532
28533  このコマンドは,
28534 \SpecialChar LaTeX
28535 プリアンブルに入れるプリアンブル片を指定します.これは
28536 \begin_inset Flex Code
28537 status collapsed
28538
28539 \begin_layout Plain Layout
28540 PreambleDef
28541 \end_layout
28542
28543 \end_inset
28544
28545  \SpecialChar ldots
28546  
28547 \begin_inset Flex Code
28548 status collapsed
28549
28550 \begin_layout Plain Layout
28551 PreambleDefEnd
28552 \end_layout
28553
28554 \end_inset
28555
28556 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
28557 \end_layout
28558
28559 \begin_layout Description
28560 \begin_inset Flex Code
28561 status collapsed
28562
28563 \begin_layout Plain Layout
28564 ReferencedFile
28565 \begin_inset space ~
28566 \end_inset
28567
28568 <書式>
28569 \begin_inset space ~
28570 \end_inset
28571
28572 <ファイル名>
28573 \end_layout
28574
28575 \end_inset
28576
28577  このコマンドは,
28578 変換過程で生成され,
28579 特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,
28580 親文書に対する相対パスとして解釈されます.このコマンドは全く登場しなくても1回以上現れても構いません.
28581 \end_layout
28582
28583 \begin_layout Description
28584 \begin_inset Flex Code
28585 status collapsed
28586
28587 \begin_layout Plain Layout
28588 Requirement
28589 \begin_inset space ~
28590 \end_inset
28591
28592 <package>
28593 \end_layout
28594
28595 \end_inset
28596
28597  必要とされる\SpecialChar LaTeX
28598 パッケージ名.パッケージは,
28599 \SpecialChar LaTeX
28600 プリアンブル中で
28601 \begin_inset Flex Code
28602 status collapsed
28603
28604 \begin_layout Plain Layout
28605
28606 \backslash
28607 usepackage{}
28608 \end_layout
28609
28610 \end_inset
28611
28612 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
28613 \end_layout
28614
28615 \begin_layout Description
28616 \begin_inset Flex Code
28617 status collapsed
28618
28619 \begin_layout Plain Layout
28620 TransformCommand
28621 \begin_inset space ~
28622 \end_inset
28623
28624 Rotate
28625 \begin_inset space ~
28626 \end_inset
28627
28628 RotationLatexCommand
28629 \end_layout
28630
28631 \end_inset
28632
28633  このコマンドは,
28634 回転用に,
28635 組み込みの\SpecialChar LaTeX
28636 コマンドを使用するように指定します.このコマンドは,
28637 1回現れても全く現れなくても構いません.
28638 \end_layout
28639
28640 \begin_layout Description
28641 \begin_inset Flex Code
28642 status collapsed
28643
28644 \begin_layout Plain Layout
28645 TransformCommand
28646 \begin_inset space ~
28647 \end_inset
28648
28649 Resize
28650 \begin_inset space ~
28651 \end_inset
28652
28653 ResizeLatexCommand
28654 \end_layout
28655
28656 \end_inset
28657
28658  このコマンドは,
28659 伸縮用に,
28660 組み込みの\SpecialChar LaTeX
28661 コマンドを使用するように指定します.このコマンドは,
28662 1回現れても全く現れなくても構いません.
28663 \end_layout
28664
28665 \begin_layout Description
28666 \begin_inset Flex Code
28667 status collapsed
28668
28669 \begin_layout Plain Layout
28670 TransformOption
28671 \begin_inset space ~
28672 \end_inset
28673
28674 Rotate
28675 \begin_inset space ~
28676 \end_inset
28677
28678 RotationLatexOption
28679 \end_layout
28680
28681 \end_inset
28682
28683  このコマンドは,
28684 回転が非必須引数を通じて行われるように指定します.このコマンドは,
28685 1回現れても全く現れなくても構いません.
28686 \end_layout
28687
28688 \begin_layout Description
28689 \begin_inset Flex Code
28690 status collapsed
28691
28692 \begin_layout Plain Layout
28693 TransformOption
28694 \begin_inset space ~
28695 \end_inset
28696
28697 Resize
28698 \begin_inset space ~
28699 \end_inset
28700
28701 ResizeLatexOption
28702 \end_layout
28703
28704 \end_inset
28705
28706  このコマンドは,
28707 伸縮が非必須引数を通じて行われるように指定します.このコマンドは,
28708 1回現れても全く現れなくても構いません.
28709 \end_layout
28710
28711 \begin_layout Description
28712 \begin_inset Flex Code
28713 status collapsed
28714
28715 \begin_layout Plain Layout
28716 TransformOption
28717 \begin_inset space ~
28718 \end_inset
28719
28720 Clip
28721 \begin_inset space ~
28722 \end_inset
28723
28724 ClipLatexOption
28725 \end_layout
28726
28727 \end_inset
28728
28729  このコマンドは,
28730 切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,
28731 1回現れても全く現れなくても構いません.
28732 \end_layout
28733
28734 \begin_layout Description
28735 \begin_inset Flex Code
28736 status collapsed
28737
28738 \begin_layout Plain Layout
28739 TransformOption
28740 \begin_inset space ~
28741 \end_inset
28742
28743 Extra
28744 \begin_inset space ~
28745 \end_inset
28746
28747 ExtraLatexOption
28748 \end_layout
28749
28750 \end_inset
28751
28752  このコマンドは,
28753 追加の非必須引数を使用することを指定します.このコマンドは,
28754 1回現れても全く現れなくても構いません.
28755 \end_layout
28756
28757 \begin_layout Description
28758 \begin_inset Flex Code
28759 status collapsed
28760
28761 \begin_layout Plain Layout
28762 UpdateFormat
28763 \begin_inset space ~
28764 \end_inset
28765
28766 <書式>
28767 \end_layout
28768
28769 \end_inset
28770
28771  変換されたファイルのファイル形式.これは,
28772 \SpecialChar LyX
28773 が知っている書式名でなくてはなりません(
28774 \begin_inset Flex MenuItem
28775 status collapsed
28776
28777 \begin_layout Plain Layout
28778 ツール\SpecialChar menuseparator
28779 設定\SpecialChar menuseparator
28780 ファイル処理\SpecialChar menuseparator
28781 ファイル書式
28782 \end_layout
28783
28784 \end_inset
28785
28786 ダイアログを参照).このコマンドは,
28787 一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,
28788 書式
28789 \begin_inset Flex Code
28790 status collapsed
28791
28792 \begin_layout Plain Layout
28793 pdf6
28794 \end_layout
28795
28796 \end_inset
28797
28798 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
28799 \end_layout
28800
28801 \begin_layout Description
28802 \begin_inset Flex Code
28803 status collapsed
28804
28805 \begin_layout Plain Layout
28806 UpdateResult
28807 \begin_inset space ~
28808 \end_inset
28809
28810 <ファイル名>
28811 \end_layout
28812
28813 \end_inset
28814
28815  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,
28816 一度だけ必ず現れなくてはなりません.
28817 \end_layout
28818
28819 \begin_layout Subsection
28820 プリアンブルの定義
28821 \end_layout
28822
28823 \begin_layout Standard
28824 外用ひな型設定ファイルには,
28825
28826 \begin_inset Flex Code
28827 status collapsed
28828
28829 \begin_layout Plain Layout
28830 PreambleDef
28831 \end_layout
28832
28833 \end_inset
28834
28835  \SpecialChar ldots
28836  
28837 \begin_inset Flex Code
28838 status collapsed
28839
28840 \begin_layout Plain Layout
28841 PreambleDefEnd
28842 \end_layout
28843
28844 \end_inset
28845
28846 で囲んだプリアンブル定義を追加することができます.これらの定義は,
28847 ひな型の
28848 \begin_inset Flex Code
28849 status collapsed
28850
28851 \begin_layout Plain Layout
28852 Format
28853 \end_layout
28854
28855 \end_inset
28856
28857 部で使用することができます.
28858 \end_layout
28859
28860 \begin_layout Section
28861 代入機構
28862 \end_layout
28863
28864 \begin_layout Standard
28865 外部素材機構が外部プログラムを呼び出すときには,
28866 ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,
28867 実行前に展開されるマクロをいろいろ入れることができます.実行は,
28868 つねに元の文書があるディレクトリで行われます.
28869 \end_layout
28870
28871 \begin_layout Standard
28872 また,
28873 外部素材が表示されるときにはいつでも,
28874 その名称は代入機構によって組み立てられ,
28875 ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
28876 \end_layout
28877
28878 \begin_layout Standard
28879 使用できるマクロは以下の通りです.
28880 \end_layout
28881
28882 \begin_layout Description
28883 \begin_inset Flex Code
28884 status collapsed
28885
28886 \begin_layout Plain Layout
28887 $$AbsOrRelPathMaster
28888 \end_layout
28889
28890 \end_inset
28891
28892  \SpecialChar LyX
28893 親文書への絶対ファイルパスないしは相対ファイルパス
28894 \end_layout
28895
28896 \begin_layout Description
28897 \begin_inset Flex Code
28898 status collapsed
28899
28900 \begin_layout Plain Layout
28901 $$AbsOrRelPathParent
28902 \end_layout
28903
28904 \end_inset
28905
28906  \SpecialChar LyX
28907 文書への絶対ファイルパスないしは相対ファイルパス
28908 \end_layout
28909
28910 \begin_layout Description
28911 \begin_inset Flex Code
28912 status collapsed
28913
28914 \begin_layout Plain Layout
28915 $$AbsPath
28916 \end_layout
28917
28918 \end_inset
28919
28920  絶対ファイルパス
28921 \end_layout
28922
28923 \begin_layout Description
28924 \begin_inset Flex Code
28925 status collapsed
28926
28927 \begin_layout Plain Layout
28928 $$Basename
28929 \end_layout
28930
28931 \end_inset
28932
28933  パスおよび拡張子を除いたファイル名
28934 \end_layout
28935
28936 \begin_layout Description
28937 \begin_inset Flex Code
28938 status collapsed
28939
28940 \begin_layout Plain Layout
28941 $$Contents(
28942 \begin_inset Quotes eld
28943 \end_inset
28944
28945 filename.ext
28946 \begin_inset Quotes erd
28947 \end_inset
28948
28949 )
28950 \end_layout
28951
28952 \end_inset
28953
28954  このマクロは,
28955
28956 \begin_inset Flex Code
28957 status collapsed
28958
28959 \begin_layout Plain Layout
28960 filename.ext
28961 \end_layout
28962
28963 \end_inset
28964
28965 と云う名のファイルの中身を展開します.
28966 \end_layout
28967
28968 \begin_layout Description
28969 \begin_inset Flex Code
28970 status collapsed
28971
28972 \begin_layout Plain Layout
28973 $$Extension
28974 \end_layout
28975
28976 \end_inset
28977
28978  ファイル拡張子(点を含む)
28979 \end_layout
28980
28981 \begin_layout Description
28982 \begin_inset Flex Code
28983 status collapsed
28984
28985 \begin_layout Plain Layout
28986 $$pngOrjpg
28987 \end_layout
28988
28989 \end_inset
28990
28991  これは,
28992 ファイルがJPEG形式の場合は,
28993 文字列「jpg」となり,
28994 それ以外では文字列「png」となります.これは,
28995 PNG形式とJPEG形式の両方をサポートする出力形式に対して,
28996 不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,
28997 pdf\SpecialChar TeX
28998 出力形式に対してこのマクロを使用します.
28999 \end_layout
29000
29001 \begin_layout Description
29002 \begin_inset Flex Code
29003 status collapsed
29004
29005 \begin_layout Plain Layout
29006 $$FName
29007 \end_layout
29008
29009 \end_inset
29010
29011  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
29012 文書への絶対パスでも良いですし,
29013 相対パスでも構いません.
29014 \end_layout
29015
29016 \begin_layout Description
29017 \begin_inset Flex Code
29018 status collapsed
29019
29020 \begin_layout Plain Layout
29021 $$FPath
29022 \end_layout
29023
29024 \end_inset
29025
29026  
29027 \begin_inset Flex Code
29028 status collapsed
29029
29030 \begin_layout Plain Layout
29031 $$FName
29032 \end_layout
29033
29034 \end_inset
29035
29036 のパス部分(\SpecialChar LyX
29037 文書への絶対パス名か相対パス名)
29038 \end_layout
29039
29040 \begin_layout Description
29041 \begin_inset Flex Code
29042 status collapsed
29043
29044 \begin_layout Plain Layout
29045 $$RelPathMaster
29046 \end_layout
29047
29048 \end_inset
29049
29050  \SpecialChar LyX
29051 親文書への相対ファイルパス
29052 \end_layout
29053
29054 \begin_layout Description
29055 \begin_inset Flex Code
29056 status collapsed
29057
29058 \begin_layout Plain Layout
29059 $$RelPathParent
29060 \end_layout
29061
29062 \end_inset
29063
29064  \SpecialChar LyX
29065 文書への相対ファイルパス
29066 \end_layout
29067
29068 \begin_layout Description
29069 \begin_inset Flex Code
29070 status collapsed
29071
29072 \begin_layout Plain Layout
29073 $$Sysdir
29074 \end_layout
29075
29076 \end_inset
29077
29078  このマクロは,
29079 システムディレクトリの絶対パスを展開します.これは,
29080 典型的には,
29081 \SpecialChar LyX
29082 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
29083 \end_layout
29084
29085 \begin_layout Description
29086 \begin_inset Flex Code
29087 status collapsed
29088
29089 \begin_layout Plain Layout
29090 $$Tempname
29091 \end_layout
29092
29093 \end_inset
29094
29095  元の文書が閉じられたり,
29096 挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
29097 \end_layout
29098
29099 \begin_layout Standard
29100 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,
29101 たとえば絶対パスのファイル名を 
29102 \begin_inset Flex Code
29103 status collapsed
29104
29105 \begin_layout Plain Layout
29106 $$AbsPath$$Basename$$Extension
29107 \end_layout
29108
29109 \end_inset
29110
29111 のようにして作ることができます.
29112 \end_layout
29113
29114 \begin_layout Standard
29115 上記マクロは,
29116 特記しない限りはすべてのコマンドで代入が行われます.
29117 \begin_inset Flex Code
29118 status collapsed
29119
29120 \begin_layout Plain Layout
29121 Transform
29122 \end_layout
29123
29124 \end_inset
29125
29126 コマンドと
29127 \begin_inset Flex Code
29128 status collapsed
29129
29130 \begin_layout Plain Layout
29131 TransformCommand
29132 \end_layout
29133
29134 \end_inset
29135
29136 コマンドが有効にされている場合,
29137
29138 \begin_inset Flex Code
29139 status collapsed
29140
29141 \begin_layout Plain Layout
29142 Product
29143 \end_layout
29144
29145 \end_inset
29146
29147 コマンドは,
29148 これらに加えて以下の代入もサポートします.
29149 \end_layout
29150
29151 \begin_layout Description
29152 \begin_inset Flex Code
29153 status collapsed
29154
29155 \begin_layout Plain Layout
29156 $$ResizeFront
29157 \end_layout
29158
29159 \end_inset
29160
29161  伸縮コマンドの前置部.
29162 \end_layout
29163
29164 \begin_layout Description
29165 \begin_inset Flex Code
29166 status collapsed
29167
29168 \begin_layout Plain Layout
29169 $$ResizeBack
29170 \end_layout
29171
29172 \end_inset
29173
29174  伸縮コマンドの後置部.
29175 \end_layout
29176
29177 \begin_layout Description
29178 \begin_inset Flex Code
29179 status collapsed
29180
29181 \begin_layout Plain Layout
29182 $$RotateFront
29183 \end_layout
29184
29185 \end_inset
29186
29187  回転コマンドの前置部.
29188 \end_layout
29189
29190 \begin_layout Description
29191 \begin_inset Flex Code
29192 status collapsed
29193
29194 \begin_layout Plain Layout
29195 $$RotateBack
29196 \end_layout
29197
29198 \end_inset
29199
29200  回転コマンドの後置部.
29201 \end_layout
29202
29203 \begin_layout Standard
29204 \begin_inset Flex Code
29205 status collapsed
29206
29207 \begin_layout Plain Layout
29208 Option
29209 \end_layout
29210
29211 \end_inset
29212
29213 コマンドの値に入れる文字列では,
29214
29215 \begin_inset Flex Code
29216 status collapsed
29217
29218 \begin_layout Plain Layout
29219 Transform
29220 \end_layout
29221
29222 \end_inset
29223
29224 コマンドと
29225 \begin_inset Flex Code
29226 status collapsed
29227
29228 \begin_layout Plain Layout
29229 TransformOption
29230 \end_layout
29231
29232 \end_inset
29233
29234 コマンドが有効にされていれば,
29235 以下の代入もサポートされます.
29236 \end_layout
29237
29238 \begin_layout Description
29239 \begin_inset Flex Code
29240 status collapsed
29241
29242 \begin_layout Plain Layout
29243 $$Clip
29244 \end_layout
29245
29246 \end_inset
29247
29248  切り抜きオプション.
29249 \end_layout
29250
29251 \begin_layout Description
29252 \begin_inset Flex Code
29253 status collapsed
29254
29255 \begin_layout Plain Layout
29256 $$Extra
29257 \end_layout
29258
29259 \end_inset
29260
29261  追加オプション.
29262 \end_layout
29263
29264 \begin_layout Description
29265 \begin_inset Flex Code
29266 status collapsed
29267
29268 \begin_layout Plain Layout
29269 $$Resize
29270 \end_layout
29271
29272 \end_inset
29273
29274  伸縮オプション.
29275 \end_layout
29276
29277 \begin_layout Description
29278 \begin_inset Flex Code
29279 status collapsed
29280
29281 \begin_layout Plain Layout
29282 $$Rotate
29283 \end_layout
29284
29285 \end_inset
29286
29287  回転オプション.
29288 \end_layout
29289
29290 \begin_layout Standard
29291 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
29292 \end_layout
29293
29294 \begin_layout Enumerate
29295 相対ファイル名と絶対ファイル名は,
29296 それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえば相対名は,
29297 いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,
29298 プログラムによっては必要とされることがあり得ます.
29299 \end_layout
29300
29301 \begin_layout Enumerate
29302 \SpecialChar LaTeX
29303 は,
29304 相対ファイル名に関して,
29305 \SpecialChar LyX
29306 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
29307 にとって相対ファイル名とは,
29308 常にこのファイル名が書かれている文書に対して相対的なものになります.\SpecialChar LaTeX
29309 にとっての相対ファイル名は,
29310 常に親文書に対するものになります.これら二つの定義は,
29311 一つの文書しかないときには同じですが,
29312 部分文書を含む親文書があるときには異なったものとなってきます.つまり,
29313 相対ファイル名は,
29314 \SpecialChar LaTeX
29315 に提示されるときに変換されなくてはならないのです.幸い,
29316 正しいマクロを選びさえすれば,
29317 これは\SpecialChar LyX
29318 が自動的に行ってくれます.
29319 \end_layout
29320
29321 \begin_layout Standard
29322 すると,
29323 新しく作ったひな型定義では,
29324 どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
29325
29326 \end_layout
29327
29328 \begin_layout Itemize
29329 絶対パスが必要とされるときには
29330 \begin_inset Flex Code
29331 status collapsed
29332
29333 \begin_layout Plain Layout
29334 $$AbsPath
29335 \end_layout
29336
29337 \end_inset
29338
29339 を使う.
29340 \end_layout
29341
29342 \begin_layout Itemize
29343 代入された文字列が,
29344 \SpecialChar LaTeX
29345 インプットの一種である場合には,
29346
29347 \begin_inset Flex Code
29348 status collapsed
29349
29350 \begin_layout Plain Layout
29351 $$AbsOrRelPathMaster
29352 \end_layout
29353
29354 \end_inset
29355
29356 を使う.
29357 \end_layout
29358
29359 \begin_layout Itemize
29360 それ以外ならば,
29361 ユーザの選択を尊重するために
29362 \begin_inset Flex Code
29363 status collapsed
29364
29365 \begin_layout Plain Layout
29366 $$AbsOrRelPathParent
29367 \end_layout
29368
29369 \end_inset
29370
29371 を使う.
29372 \end_layout
29373
29374 \begin_layout Standard
29375 このルールが機能せずに,
29376 たとえば相対名が必要となる特殊な場合もありますが,
29377 通常,
29378 上記でうまく動作します.特殊例の例としては,
29379 上述のXFigひな型での
29380 \begin_inset Flex Code
29381 status collapsed
29382
29383 \begin_layout Plain Layout
29384 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
29385 \end_layout
29386
29387 \end_inset
29388
29389 というコマンドがあります.この場合,
29390
29391 \begin_inset Flex Code
29392 status collapsed
29393
29394 \begin_layout Plain Layout
29395 .pstex_t
29396 \end_layout
29397
29398 \end_inset
29399
29400 ファイルの複写子は,
29401 ファイル内容を書き換えるのに相対名を必要とするために,
29402 絶対名を使用することができないのです.
29403 \end_layout
29404
29405 \begin_layout Section
29406 セキュリティに関する論点
29407 \begin_inset CommandInset label
29408 LatexCommand label
29409 name "sec:セキュリティに関する論点"
29410
29411 \end_inset
29412
29413
29414 \end_layout
29415
29416 \begin_layout Standard
29417 外部素材機能は,
29418 多くの外部プログラムとの橋渡しをし,
29419 しかもそれを自動的に行うので,
29420 そのセキュリティ面での帰結を考慮しなくてはなりません.特に,
29421 ユーザは好きなファイル名やパラメータ文字列を含めることが許されていて,
29422 しかもそれらがコマンドに展開されるので,
29423 ユーザが文書を閲覧したり印刷したりしたときに,
29424 任意のコマンドを実行することができるような悪意ある文書を作成することが可能となりましょう.これは,
29425 我々がぜひとも避けたいことなのです.
29426 \end_layout
29427
29428 \begin_layout Standard
29429 しかしながら,
29430 外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,
29431 \SpecialChar LyX
29432 が安全なひな型でのみ適切に設定されているならば,
29433 セキュリティ上の問題は発生しません.これは,
29434 外部プログラムが
29435 \begin_inset Flex Code
29436 status collapsed
29437
29438 \begin_layout Plain Layout
29439 system
29440 \end_layout
29441
29442 \end_inset
29443
29444 システムコールではなく,
29445
29446 \begin_inset Flex Code
29447 status collapsed
29448
29449 \begin_layout Plain Layout
29450 execvp
29451 \end_layout
29452
29453 \end_inset
29454
29455 システムコールで呼び出されているため,
29456 ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
29457 \end_layout
29458
29459 \begin_layout Standard
29460 これは,
29461 外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,
29462 制限があることを意味します.特に,
29463 パイプやリダイレクトはそのまま使用することはできません.これは,
29464 \SpecialChar LyX
29465 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,
29466 これを完全に統御の下においたまま行う安全なスクリプトを書いた上で,
29467 このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
29468 \end_layout
29469
29470 \begin_layout Standard
29471 シェルと直接やりとりするひな型を設計することは可能ではありますが,
29472 悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,
29473 任意のコマンドを実行できるようになるため,
29474 一般的には,
29475 統御下に置いた状態で
29476 \begin_inset Flex Code
29477 status collapsed
29478
29479 \begin_layout Plain Layout
29480 execvp
29481 \end_layout
29482
29483 \end_inset
29484
29485 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,
29486 管理された環境下で使用する分には,
29487 通常のシェルスクリプトを使用する方に流れる誘惑はあります.そうした場合には,
29488 お使いのシステムに簡単に濫用することのできるセキュリティホールを,
29489
29490 \emph on
29491 間違いなく
29492 \emph default
29493 導入することを理解しておいてください.オープンソースの伝統に従って,
29494 私たちは人々に新しいひな型を投稿してくれるよう促していますが,
29495 そのような安全でないひな型はLyXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
29496 には,
29497 安全でないひな型は決して入っていません.
29498 \end_layout
29499
29500 \begin_layout Standard
29501 外部素材を含めることで強力な力を手に入れることができますが,
29502 この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリプトのたった一行に入り込んだ,
29503 ちょっとしたエラーが,
29504 巨大なセキュリティ上の問題に扉を開きうるのです.したがって,
29505 もしこの問題を完全に理解していないならば,
29506 特定のひな型が安全であるかどうか疑問がある際には,
29507 知識豊富なセキュリティの専門家か,
29508 \SpecialChar LyX
29509 開発チームに相談してみてください.そしてこの相談は,
29510 管理されていない環境下でこれを使用する前に,
29511 行うようにしてください.
29512 \end_layout
29513
29514 \begin_layout Chapter
29515 \start_of_appendix
29516 サポートされているレイアウト用\SpecialChar LyX
29517 関数一覧
29518 \begin_inset CommandInset label
29519 LatexCommand label
29520 name "chap:関数一覧"
29521
29522 \end_inset
29523
29524
29525 \end_layout
29526
29527 \begin_layout Standard
29528 \align center
29529 \begin_inset Tabular
29530 <lyxtabular version="3" rows="11" columns="8">
29531 <features tabularvalignment="middle">
29532 <column alignment="left" valignment="top">
29533 <column alignment="left" valignment="top">
29534 <column alignment="left" valignment="top">
29535 <column alignment="left" valignment="top">
29536 <column alignment="left" valignment="top">
29537 <column alignment="left" valignment="top">
29538 <column alignment="left" valignment="top">
29539 <column alignment="left" valignment="top">
29540 <row>
29541 <cell alignment="left" valignment="top" usebox="none">
29542 \begin_inset Text
29543
29544 \begin_layout Plain Layout
29545 accents
29546 \end_layout
29547
29548 \end_inset
29549 </cell>
29550 <cell alignment="left" valignment="top" usebox="none">
29551 \begin_inset Text
29552
29553 \begin_layout Plain Layout
29554 booktabs
29555 \end_layout
29556
29557 \end_inset
29558 </cell>
29559 <cell alignment="left" valignment="top" usebox="none">
29560 \begin_inset Text
29561
29562 \begin_layout Plain Layout
29563 feyn
29564 \end_layout
29565
29566 \end_inset
29567 </cell>
29568 <cell alignment="left" valignment="top" usebox="none">
29569 \begin_inset Text
29570
29571 \begin_layout Plain Layout
29572 listings
29573 \end_layout
29574
29575 \end_inset
29576 </cell>
29577 <cell alignment="center" valignment="top" usebox="none">
29578 \begin_inset Text
29579
29580 \begin_layout Plain Layout
29581 natbib
29582 \end_layout
29583
29584 \end_inset
29585 </cell>
29586 <cell alignment="center" valignment="top" usebox="none">
29587 \begin_inset Text
29588
29589 \begin_layout Plain Layout
29590 rotfloat
29591 \end_layout
29592
29593 \end_inset
29594 </cell>
29595 <cell alignment="center" valignment="top" usebox="none">
29596 \begin_inset Text
29597
29598 \begin_layout Plain Layout
29599 tfrupee
29600 \end_layout
29601
29602 \end_inset
29603 </cell>
29604 <cell alignment="center" valignment="top" usebox="none">
29605 \begin_inset Text
29606
29607 \begin_layout Plain Layout
29608 wasysym
29609 \end_layout
29610
29611 \end_inset
29612 </cell>
29613 </row>
29614 <row>
29615 <cell alignment="left" valignment="top" usebox="none">
29616 \begin_inset Text
29617
29618 \begin_layout Plain Layout
29619 amsbsy
29620 \end_layout
29621
29622 \end_inset
29623 </cell>
29624 <cell alignment="left" valignment="top" usebox="none">
29625 \begin_inset Text
29626
29627 \begin_layout Plain Layout
29628 calc
29629 \end_layout
29630
29631 \end_inset
29632 </cell>
29633 <cell alignment="left" valignment="top" usebox="none">
29634 \begin_inset Text
29635
29636 \begin_layout Plain Layout
29637 fixltx2e
29638 \end_layout
29639
29640 \end_inset
29641 </cell>
29642 <cell alignment="left" valignment="top" usebox="none">
29643 \begin_inset Text
29644
29645 \begin_layout Plain Layout
29646 longtable
29647 \end_layout
29648
29649 \end_inset
29650 </cell>
29651 <cell alignment="center" valignment="top" usebox="none">
29652 \begin_inset Text
29653
29654 \begin_layout Plain Layout
29655 nomencl
29656 \end_layout
29657
29658 \end_inset
29659 </cell>
29660 <cell alignment="center" valignment="top" usebox="none">
29661 \begin_inset Text
29662
29663 \begin_layout Plain Layout
29664 rsphrase
29665 \end_layout
29666
29667 \end_inset
29668 </cell>
29669 <cell alignment="center" valignment="top" usebox="none">
29670 \begin_inset Text
29671
29672 \begin_layout Plain Layout
29673 tipa
29674 \end_layout
29675
29676 \end_inset
29677 </cell>
29678 <cell alignment="center" valignment="top" usebox="none">
29679 \begin_inset Text
29680
29681 \begin_layout Plain Layout
29682 wrapfig
29683 \end_layout
29684
29685 \end_inset
29686 </cell>
29687 </row>
29688 <row>
29689 <cell alignment="left" valignment="top" usebox="none">
29690 \begin_inset Text
29691
29692 \begin_layout Plain Layout
29693 amscd
29694 \end_layout
29695
29696 \end_inset
29697 </cell>
29698 <cell alignment="left" valignment="top" usebox="none">
29699 \begin_inset Text
29700
29701 \begin_layout Plain Layout
29702 CJK
29703 \end_layout
29704
29705 \end_inset
29706 </cell>
29707 <cell alignment="left" valignment="top" usebox="none">
29708 \begin_inset Text
29709
29710 \begin_layout Plain Layout
29711 float
29712 \end_layout
29713
29714 \end_inset
29715 </cell>
29716 <cell alignment="left" valignment="top" usebox="none">
29717 \begin_inset Text
29718
29719 \begin_layout Plain Layout
29720 lyxskak
29721 \end_layout
29722
29723 \end_inset
29724 </cell>
29725 <cell alignment="center" valignment="top" usebox="none">
29726 \begin_inset Text
29727
29728 \begin_layout Plain Layout
29729 pdfcolmk
29730 \end_layout
29731
29732 \end_inset
29733 </cell>
29734 <cell alignment="center" valignment="top" usebox="none">
29735 \begin_inset Text
29736
29737 \begin_layout Plain Layout
29738 setspace
29739 \end_layout
29740
29741 \end_inset
29742 </cell>
29743 <cell alignment="center" valignment="top" usebox="none">
29744 \begin_inset Text
29745
29746 \begin_layout Plain Layout
29747 tipx
29748 \end_layout
29749
29750 \end_inset
29751 </cell>
29752 <cell alignment="center" valignment="top" usebox="none">
29753 \begin_inset Text
29754
29755 \begin_layout Plain Layout
29756 xargs
29757 \end_layout
29758
29759 \end_inset
29760 </cell>
29761 </row>
29762 <row>
29763 <cell alignment="left" valignment="top" usebox="none">
29764 \begin_inset Text
29765
29766 \begin_layout Plain Layout
29767 amsmath
29768 \end_layout
29769
29770 \end_inset
29771 </cell>
29772 <cell alignment="left" valignment="top" usebox="none">
29773 \begin_inset Text
29774
29775 \begin_layout Plain Layout
29776 color
29777 \end_layout
29778
29779 \end_inset
29780 </cell>
29781 <cell alignment="left" valignment="top" usebox="none">
29782 \begin_inset Text
29783
29784 \begin_layout Plain Layout
29785 framed
29786 \end_layout
29787
29788 \end_inset
29789 </cell>
29790 <cell alignment="left" valignment="top" usebox="none">
29791 \begin_inset Text
29792
29793 \begin_layout Plain Layout
29794 makeidx
29795 \end_layout
29796
29797 \end_inset
29798 </cell>
29799 <cell alignment="center" valignment="top" usebox="none">
29800 \begin_inset Text
29801
29802 \begin_layout Plain Layout
29803 pdfpages
29804 \end_layout
29805
29806 \end_inset
29807 </cell>
29808 <cell alignment="center" valignment="top" usebox="none">
29809 \begin_inset Text
29810
29811 \begin_layout Plain Layout
29812 shapepar
29813 \end_layout
29814
29815 \end_inset
29816 </cell>
29817 <cell alignment="center" valignment="top" usebox="none">
29818 \begin_inset Text
29819
29820 \begin_layout Plain Layout
29821 tone
29822 \end_layout
29823
29824 \end_inset
29825 </cell>
29826 <cell alignment="center" valignment="top" usebox="none">
29827 \begin_inset Text
29828
29829 \begin_layout Plain Layout
29830 xcolor
29831 \end_layout
29832
29833 \end_inset
29834 </cell>
29835 </row>
29836 <row>
29837 <cell alignment="left" valignment="top" usebox="none">
29838 \begin_inset Text
29839
29840 \begin_layout Plain Layout
29841 amssymb
29842 \end_layout
29843
29844 \end_inset
29845 </cell>
29846 <cell alignment="left" valignment="top" usebox="none">
29847 \begin_inset Text
29848
29849 \begin_layout Plain Layout
29850 covington
29851 \end_layout
29852
29853 \end_inset
29854 </cell>
29855 <cell alignment="left" valignment="top" usebox="none">
29856 \begin_inset Text
29857
29858 \begin_layout Plain Layout
29859 graphicx
29860 \end_layout
29861
29862 \end_inset
29863 </cell>
29864 <cell alignment="left" valignment="top" usebox="none">
29865 \begin_inset Text
29866
29867 \begin_layout Plain Layout
29868 marvosym
29869 \end_layout
29870
29871 \end_inset
29872 </cell>
29873 <cell alignment="center" valignment="top" usebox="none">
29874 \begin_inset Text
29875
29876 \begin_layout Plain Layout
29877 pifont
29878 \end_layout
29879
29880 \end_inset
29881 </cell>
29882 <cell alignment="center" valignment="top" usebox="none">
29883 \begin_inset Text
29884
29885 \begin_layout Plain Layout
29886 slashed
29887 \end_layout
29888
29889 \end_inset
29890 </cell>
29891 <cell alignment="center" valignment="top" usebox="none">
29892 \begin_inset Text
29893
29894 \begin_layout Plain Layout
29895 txfonts
29896 \end_layout
29897
29898 \end_inset
29899 </cell>
29900 <cell alignment="center" valignment="top" usebox="none">
29901 \begin_inset Text
29902
29903 \begin_layout Plain Layout
29904 xy
29905 \end_layout
29906
29907 \end_inset
29908 </cell>
29909 </row>
29910 <row>
29911 <cell alignment="left" valignment="top" usebox="none">
29912 \begin_inset Text
29913
29914 \begin_layout Plain Layout
29915 amstext
29916 \end_layout
29917
29918 \end_inset
29919 </cell>
29920 <cell alignment="left" valignment="top" usebox="none">
29921 \begin_inset Text
29922
29923 \begin_layout Plain Layout
29924 csquotes
29925 \end_layout
29926
29927 \end_inset
29928 </cell>
29929 <cell alignment="left" valignment="top" usebox="none">
29930 \begin_inset Text
29931
29932 \begin_layout Plain Layout
29933 hhline
29934 \end_layout
29935
29936 \end_inset
29937 </cell>
29938 <cell alignment="left" valignment="top" usebox="none">
29939 \begin_inset Text
29940
29941 \begin_layout Plain Layout
29942 mathdesign
29943 \end_layout
29944
29945 \end_inset
29946 </cell>
29947 <cell alignment="center" valignment="top" usebox="none">
29948 \begin_inset Text
29949
29950 \begin_layout Plain Layout
29951 pmboxdraw
29952 \end_layout
29953
29954 \end_inset
29955 </cell>
29956 <cell alignment="center" valignment="top" usebox="none">
29957 \begin_inset Text
29958
29959 \begin_layout Plain Layout
29960 soul
29961 \end_layout
29962
29963 \end_inset
29964 </cell>
29965 <cell alignment="center" valignment="top" usebox="none">
29966 \begin_inset Text
29967
29968 \begin_layout Plain Layout
29969 ulem
29970 \end_layout
29971
29972 \end_inset
29973 </cell>
29974 <cell alignment="center" valignment="top" usebox="none">
29975 \begin_inset Text
29976
29977 \begin_layout Plain Layout
29978 yhmath
29979 \end_layout
29980
29981 \end_inset
29982 </cell>
29983 </row>
29984 <row>
29985 <cell alignment="left" valignment="top" usebox="none">
29986 \begin_inset Text
29987
29988 \begin_layout Plain Layout
29989 amsthm
29990 \end_layout
29991
29992 \end_inset
29993 </cell>
29994 <cell alignment="left" valignment="top" usebox="none">
29995 \begin_inset Text
29996
29997 \begin_layout Plain Layout
29998 dvipost
29999 \end_layout
30000
30001 \end_inset
30002 </cell>
30003 <cell alignment="left" valignment="top" usebox="none">
30004 \begin_inset Text
30005
30006 \begin_layout Plain Layout
30007 hyperref
30008 \end_layout
30009
30010 \end_inset
30011 </cell>
30012 <cell alignment="left" valignment="top" usebox="none">
30013 \begin_inset Text
30014
30015 \begin_layout Plain Layout
30016 mathdots
30017 \end_layout
30018
30019 \end_inset
30020 </cell>
30021 <cell alignment="center" valignment="top" usebox="none">
30022 \begin_inset Text
30023
30024 \begin_layout Plain Layout
30025 polyglossia
30026 \end_layout
30027
30028 \end_inset
30029 </cell>
30030 <cell alignment="center" valignment="top" usebox="none">
30031 \begin_inset Text
30032
30033 \begin_layout Plain Layout
30034 splitidx
30035 \end_layout
30036
30037 \end_inset
30038 </cell>
30039 <cell alignment="center" valignment="top" usebox="none">
30040 \begin_inset Text
30041
30042 \begin_layout Plain Layout
30043 undertilde
30044 \end_layout
30045
30046 \end_inset
30047 </cell>
30048 <cell alignment="center" valignment="top" usebox="none">
30049 \begin_inset Text
30050
30051 \begin_layout Plain Layout
30052
30053 \end_layout
30054
30055 \end_inset
30056 </cell>
30057 </row>
30058 <row>
30059 <cell alignment="left" valignment="top" usebox="none">
30060 \begin_inset Text
30061
30062 \begin_layout Plain Layout
30063 array
30064 \end_layout
30065
30066 \end_inset
30067 </cell>
30068 <cell alignment="left" valignment="top" usebox="none">
30069 \begin_inset Text
30070
30071 \begin_layout Plain Layout
30072 endnotes
30073 \end_layout
30074
30075 \end_inset
30076 </cell>
30077 <cell alignment="left" valignment="top" usebox="none">
30078 \begin_inset Text
30079
30080 \begin_layout Plain Layout
30081 ifsym
30082 \end_layout
30083
30084 \end_inset
30085 </cell>
30086 <cell alignment="left" valignment="top" usebox="none">
30087 \begin_inset Text
30088
30089 \begin_layout Plain Layout
30090 mathrsfs
30091 \end_layout
30092
30093 \end_inset
30094 </cell>
30095 <cell alignment="center" valignment="top" usebox="none">
30096 \begin_inset Text
30097
30098 \begin_layout Plain Layout
30099 prettyref
30100 \end_layout
30101
30102 \end_inset
30103 </cell>
30104 <cell alignment="center" valignment="top" usebox="none">
30105 \begin_inset Text
30106
30107 \begin_layout Plain Layout
30108 subfig
30109 \end_layout
30110
30111 \end_inset
30112 </cell>
30113 <cell alignment="center" valignment="top" usebox="none">
30114 \begin_inset Text
30115
30116 \begin_layout Plain Layout
30117 units
30118 \end_layout
30119
30120 \end_inset
30121 </cell>
30122 <cell alignment="center" valignment="top" usebox="none">
30123 \begin_inset Text
30124
30125 \begin_layout Plain Layout
30126
30127 \end_layout
30128
30129 \end_inset
30130 </cell>
30131 </row>
30132 <row>
30133 <cell alignment="left" valignment="top" usebox="none">
30134 \begin_inset Text
30135
30136 \begin_layout Plain Layout
30137 ascii
30138 \end_layout
30139
30140 \end_inset
30141 </cell>
30142 <cell alignment="left" valignment="top" usebox="none">
30143 \begin_inset Text
30144
30145 \begin_layout Plain Layout
30146 enumitem
30147 \end_layout
30148
30149 \end_inset
30150 </cell>
30151 <cell alignment="left" valignment="top" usebox="none">
30152 \begin_inset Text
30153
30154 \begin_layout Plain Layout
30155 ifthen
30156 \end_layout
30157
30158 \end_inset
30159 </cell>
30160 <cell alignment="left" valignment="top" usebox="none">
30161 \begin_inset Text
30162
30163 \begin_layout Plain Layout
30164 mhchem
30165 \end_layout
30166
30167 \end_inset
30168 </cell>
30169 <cell alignment="center" valignment="top" usebox="none">
30170 \begin_inset Text
30171
30172 \begin_layout Plain Layout
30173 pxfonts
30174 \end_layout
30175
30176 \end_inset
30177 </cell>
30178 <cell alignment="center" valignment="top" usebox="none">
30179 \begin_inset Text
30180
30181 \begin_layout Plain Layout
30182 subscript
30183 \end_layout
30184
30185 \end_inset
30186 </cell>
30187 <cell alignment="center" valignment="top" usebox="none">
30188 \begin_inset Text
30189
30190 \begin_layout Plain Layout
30191 url
30192 \end_layout
30193
30194 \end_inset
30195 </cell>
30196 <cell alignment="center" valignment="top" usebox="none">
30197 \begin_inset Text
30198
30199 \begin_layout Plain Layout
30200
30201 \end_layout
30202
30203 \end_inset
30204 </cell>
30205 </row>
30206 <row>
30207 <cell alignment="left" valignment="top" usebox="none">
30208 \begin_inset Text
30209
30210 \begin_layout Plain Layout
30211 bbding
30212 \end_layout
30213
30214 \end_inset
30215 </cell>
30216 <cell alignment="left" valignment="top" usebox="none">
30217 \begin_inset Text
30218
30219 \begin_layout Plain Layout
30220 esint
30221 \end_layout
30222
30223 \end_inset
30224 </cell>
30225 <cell alignment="left" valignment="top" usebox="none">
30226 \begin_inset Text
30227
30228 \begin_layout Plain Layout
30229 jurabib
30230 \end_layout
30231
30232 \end_inset
30233 </cell>
30234 <cell alignment="left" valignment="top" usebox="none">
30235 \begin_inset Text
30236
30237 \begin_layout Plain Layout
30238 multicol
30239 \end_layout
30240
30241 \end_inset
30242 </cell>
30243 <cell alignment="center" valignment="top" usebox="none">
30244 \begin_inset Text
30245
30246 \begin_layout Plain Layout
30247 refstyle
30248 \end_layout
30249
30250 \end_inset
30251 </cell>
30252 <cell alignment="center" valignment="top" usebox="none">
30253 \begin_inset Text
30254
30255 \begin_layout Plain Layout
30256 textcomp
30257 \end_layout
30258
30259 \end_inset
30260 </cell>
30261 <cell alignment="center" valignment="top" usebox="none">
30262 \begin_inset Text
30263
30264 \begin_layout Plain Layout
30265 varioref
30266 \end_layout
30267
30268 \end_inset
30269 </cell>
30270 <cell alignment="center" valignment="top" usebox="none">
30271 \begin_inset Text
30272
30273 \begin_layout Plain Layout
30274
30275 \end_layout
30276
30277 \end_inset
30278 </cell>
30279 </row>
30280 <row>
30281 <cell alignment="center" valignment="top" usebox="none">
30282 \begin_inset Text
30283
30284 \begin_layout Plain Layout
30285 bm
30286 \end_layout
30287
30288 \end_inset
30289 </cell>
30290 <cell alignment="center" valignment="top" usebox="none">
30291 \begin_inset Text
30292
30293 \begin_layout Plain Layout
30294 fancybox
30295 \end_layout
30296
30297 \end_inset
30298 </cell>
30299 <cell alignment="center" valignment="top" usebox="none">
30300 \begin_inset Text
30301
30302 \begin_layout Plain Layout
30303 latexsym
30304 \end_layout
30305
30306 \end_inset
30307 </cell>
30308 <cell alignment="center" valignment="top" usebox="none">
30309 \begin_inset Text
30310
30311 \begin_layout Plain Layout
30312 multirow
30313 \end_layout
30314
30315 \end_inset
30316 </cell>
30317 <cell alignment="center" valignment="top" usebox="none">
30318 \begin_inset Text
30319
30320 \begin_layout Plain Layout
30321 rotating
30322 \end_layout
30323
30324 \end_inset
30325 </cell>
30326 <cell alignment="center" valignment="top" usebox="none">
30327 \begin_inset Text
30328
30329 \begin_layout Plain Layout
30330 textgreek
30331 \end_layout
30332
30333 \end_inset
30334 </cell>
30335 <cell alignment="center" valignment="top" usebox="none">
30336 \begin_inset Text
30337
30338 \begin_layout Plain Layout
30339 verbatim
30340 \end_layout
30341
30342 \end_inset
30343 </cell>
30344 <cell alignment="center" valignment="top" usebox="none">
30345 \begin_inset Text
30346
30347 \begin_layout Plain Layout
30348
30349 \end_layout
30350
30351 \end_inset
30352 </cell>
30353 </row>
30354 </lyxtabular>
30355
30356 \end_inset
30357
30358
30359 \end_layout
30360
30361 \begin_layout Chapter
30362 レイアウトで使用できる色名
30363 \begin_inset CommandInset label
30364 LatexCommand label
30365 name "chap:色名"
30366
30367 \end_inset
30368
30369
30370 \end_layout
30371
30372 \begin_layout Standard
30373 ここに列挙されている色は標準色であり,
30374 \SpecialChar LyX
30375 設定で調整できるものです.
30376 \end_layout
30377
30378 \begin_layout Section
30379 色関数
30380 \end_layout
30381
30382 \begin_layout Standard
30383 以下は,
30384 色そのものではありませんが,
30385 色定義に作用します:
30386
30387 \end_layout
30388
30389 \begin_layout Description
30390 ignore この色を無視します
30391 \end_layout
30392
30393 \begin_layout Description
30394 inherit この色を継承します
30395 \end_layout
30396
30397 \begin_layout Description
30398 none
30399 \series medium
30400  
30401 \series default
30402 特定の色ではありません – 透明か既定色です
30403 \end_layout
30404
30405 \begin_layout Section
30406 静的色名
30407 \end_layout
30408
30409 \begin_layout Standard
30410 これらは固定された色名で変更することはできません.これらの色は,
30411 (ダークテーマ等)一部の色テーマでうまく動作しないので,
30412 レイアウト定義の中では用いないでください:
30413
30414 \end_layout
30415
30416 \begin_layout Description
30417 black
30418 \end_layout
30419
30420 \begin_layout Description
30421 white
30422 \end_layout
30423
30424 \begin_layout Description
30425 blue
30426 \end_layout
30427
30428 \begin_layout Description
30429 brown
30430 \end_layout
30431
30432 \begin_layout Description
30433 cyan
30434 \end_layout
30435
30436 \begin_layout Description
30437 darkgray
30438 \end_layout
30439
30440 \begin_layout Description
30441 gray
30442 \end_layout
30443
30444 \begin_layout Description
30445 green
30446 \end_layout
30447
30448 \begin_layout Description
30449 lightgray
30450 \end_layout
30451
30452 \begin_layout Description
30453 lime
30454 \end_layout
30455
30456 \begin_layout Description
30457 magenta
30458 \end_layout
30459
30460 \begin_layout Description
30461 olive
30462 \end_layout
30463
30464 \begin_layout Description
30465 orange
30466 \end_layout
30467
30468 \begin_layout Description
30469 pink
30470 \end_layout
30471
30472 \begin_layout Description
30473 purple
30474 \end_layout
30475
30476 \begin_layout Description
30477 red
30478 \end_layout
30479
30480 \begin_layout Description
30481 teal
30482 \end_layout
30483
30484 \begin_layout Description
30485 violet
30486 \end_layout
30487
30488 \begin_layout Description
30489 yellow
30490 \end_layout
30491
30492 \begin_layout Section
30493 動的色名
30494 \end_layout
30495
30496 \begin_layout Standard
30497 これらは
30498 \begin_inset Info
30499 type  "menu"
30500 arg   "dialog-show prefs"
30501 \end_inset
30502
30503 の特定要素に割り当てられる色です:
30504
30505 \end_layout
30506
30507 \begin_layout Description
30508 added_space 追加空白色
30509 \end_layout
30510
30511 \begin_layout Description
30512 addedtext 追加文字色
30513 \end_layout
30514
30515 \begin_layout Description
30516 appendix 付録マーカ色
30517 \end_layout
30518
30519 \begin_layout Description
30520 background 背景色
30521 \end_layout
30522
30523 \begin_layout Description
30524 bookmark しおり標識色
30525 \end_layout
30526
30527 \begin_layout Description
30528 bottomarea 下部領域色
30529 \end_layout
30530
30531 \begin_layout Description
30532 branchlabel 派生枝ラベル色
30533 \end_layout
30534
30535 \begin_layout Description
30536 buttonbg ボタンの背景色
30537 \end_layout
30538
30539 \begin_layout Description
30540 buttonframe 差込枠の縁色
30541 \end_layout
30542
30543 \begin_layout Description
30544 buttonhoverbg フォーカスを得ているボタンの背景色
30545 \end_layout
30546
30547 \begin_layout Description
30548 buttonhoverbg_broken フォーカスを得ている破損差込枠ボタンの色
30549 \end_layout
30550
30551 \begin_layout Description
30552 changebar 変更バー色
30553 \end_layout
30554
30555 \begin_layout Description
30556 changedtextauthor1 変更された文章:第1著者の色
30557 \end_layout
30558
30559 \begin_layout Description
30560 changedtextauthor2 変更された文章:第2著者の色
30561 \end_layout
30562
30563 \begin_layout Description
30564 changedtextauthor3 変更された文章:第3著者の色
30565 \end_layout
30566
30567 \begin_layout Description
30568 changedtextauthor4 変更された文章:第4著者の色
30569 \end_layout
30570
30571 \begin_layout Description
30572 changedtextauthor5 変更された文章:第5著者の色
30573 \end_layout
30574
30575 \begin_layout Description
30576 changedtextcomparison 変更された文章:文書比較(作業領域)
30577 \end_layout
30578
30579 \begin_layout Description
30580 collapsible 畳み込み可能枠の文字色
30581 \end_layout
30582
30583 \begin_layout Description
30584 collapsibleframe 畳み込み可能枠の縁色
30585 \end_layout
30586
30587 \begin_layout Description
30588 command コマンド差込枠の文字色
30589 \end_layout
30590
30591 \begin_layout Description
30592 commandbg コマンド差込枠の背景色
30593 \end_layout
30594
30595 \begin_layout Description
30596 commandframe コマンド差込枠の縁色
30597 \end_layout
30598
30599 \begin_layout Description
30600 command_broken 破損(参照)差込枠の文字色
30601 \end_layout
30602
30603 \begin_layout Description
30604 commandbg_broken 破損差込枠の背景色
30605 \end_layout
30606
30607 \begin_layout Description
30608 commandframe_broken 破損差込枠の縁色
30609 \end_layout
30610
30611 \begin_layout Description
30612 comment コメント色
30613 \end_layout
30614
30615 \begin_layout Description
30616 commentbg コメントの背景色
30617 \end_layout
30618
30619 \begin_layout Description
30620 cursor カーソル色
30621 \end_layout
30622
30623 \begin_layout Description
30624 deletedtext 削除された文章の色
30625 \end_layout
30626
30627 \begin_layout Description
30628 deletedtextmodifier 削除された文章の修飾子の色(輝度調整用)
30629 \end_layout
30630
30631 \begin_layout Description
30632 depthbar 余白部の階層表示線の色
30633 \end_layout
30634
30635 \begin_layout Description
30636 eolmarker 行末標色
30637 \end_layout
30638
30639 \begin_layout Description
30640 error \SpecialChar LaTeX
30641 エラーボックス色
30642 \end_layout
30643
30644 \begin_layout Description
30645 footlabel 脚註ラベル色
30646 \end_layout
30647
30648 \begin_layout Description
30649 foreground 前景色
30650 \end_layout
30651
30652 \begin_layout Description
30653 graphicsbg 画像差込枠の背景色
30654 \end_layout
30655
30656 \begin_layout Description
30657 greyedoutbg 淡色表示差込枠の背景色
30658 \end_layout
30659
30660 \begin_layout Description
30661 greyedoutlabel 淡色表示差込枠のラベル色
30662 \end_layout
30663
30664 \begin_layout Description
30665 greyedouttext 淡色表示差込枠の文字色
30666 \end_layout
30667
30668 \begin_layout Description
30669 indexlabel 索引差込枠のラベル色
30670 \end_layout
30671
30672 \begin_layout Description
30673 inlinecompletion 行内補完色
30674 \end_layout
30675
30676 \begin_layout Description
30677 insetbg 差込枠標の背景色
30678 \end_layout
30679
30680 \begin_layout Description
30681 insetframe 差込枠標の縁色
30682 \end_layout
30683
30684 \begin_layout Description
30685 language 外国語の単語を標識するための色
30686 \end_layout
30687
30688 \begin_layout Description
30689 latex \SpecialChar LaTeX
30690 モードの文字色
30691 \end_layout
30692
30693 \begin_layout Description
30694 listingsbg プログラムリスト差込枠の背景色
30695 \end_layout
30696
30697 \begin_layout Description
30698 marginlabel 傍註のラベル色
30699 \end_layout
30700
30701 \begin_layout Description
30702 math 数式差込枠の文字色
30703 \end_layout
30704
30705 \begin_layout Description
30706 mathbg 数式差込枠の背景色
30707 \end_layout
30708
30709 \begin_layout Description
30710 mathcorners フォーカスを得ていない数式差込枠の縁色
30711 \end_layout
30712
30713 \begin_layout Description
30714 mathframe フォーカスを得ている数式差込枠の縁色
30715 \end_layout
30716
30717 \begin_layout Description
30718 mathline 数式行色
30719 \end_layout
30720
30721 \begin_layout Description
30722 mathmacrobg 数式マクロ差込枠の背景色
30723 \end_layout
30724
30725 \begin_layout Description
30726 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
30727 \end_layout
30728
30729 \begin_layout Description
30730 mathmacroframe 数式マクロ差込枠の縁色
30731 \end_layout
30732
30733 \begin_layout Description
30734 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
30735 \end_layout
30736
30737 \begin_layout Description
30738 mathmacrolabel 数式マクロ差込枠のラベル色
30739 \end_layout
30740
30741 \begin_layout Description
30742 mathmacronewarg 数式マクロ新パラメーターのひな型色
30743 \end_layout
30744
30745 \begin_layout Description
30746 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
30747 \end_layout
30748
30749 \begin_layout Description
30750 newpage 新規頁色
30751 \end_layout
30752
30753 \begin_layout Description
30754 nonunique_inlinecompletion 行内補完の一意でない部分の色
30755 \end_layout
30756
30757 \begin_layout Description
30758 note 註釈のラベル色
30759 \end_layout
30760
30761 \begin_layout Description
30762 notebg 註釈の背景色
30763 \end_layout
30764
30765 \begin_layout Description
30766 pagebreak 改頁/改行色
30767 \end_layout
30768
30769 \begin_layout Description
30770 paragraphmarker 段落末を標識するための段落標の色
30771 \end_layout
30772
30773 \begin_layout Description
30774 phantomtext 埋め草差込枠の文字色
30775 \end_layout
30776
30777 \begin_layout Description
30778 preview プレビューに用いられる色
30779 \end_layout
30780
30781 \begin_layout Description
30782 previewframe プレビュー縁色
30783 \end_layout
30784
30785 \begin_layout Description
30786 regexpframe 正規表現枠の色
30787 \end_layout
30788
30789 \begin_layout Description
30790 scroll 行をスクロールすることができることを示す色
30791 \end_layout
30792
30793 \begin_layout Description
30794 selection 文章選択部の背景色
30795 \end_layout
30796
30797 \begin_layout Description
30798 selectiontext 文章選択部の前景色
30799 \end_layout
30800
30801 \begin_layout Description
30802 shadedbg 影付きボックスの背景色
30803 \end_layout
30804
30805 \begin_layout Description
30806 special 特殊文字の色
30807 \end_layout
30808
30809 \begin_layout Description
30810 tabularline 罫線色
30811 \end_layout
30812
30813 \begin_layout Description
30814 tabularonoffline 罫線色
30815 \end_layout
30816
30817 \begin_layout Description
30818 textlabel1 レイアウトと特殊差込枠ラベルの色1
30819 \end_layout
30820
30821 \begin_layout Description
30822 textlabel2 レイアウトと特殊差込枠ラベルの色2
30823 \end_layout
30824
30825 \begin_layout Description
30826 textlabel3 レイアウトと特殊差込枠ラベルの色3
30827 \end_layout
30828
30829 \begin_layout Description
30830 urllabel URL差込枠のラベル色
30831 \end_layout
30832
30833 \begin_layout Description
30834 urltext URL差込枠の文字色
30835 \end_layout
30836
30837 \end_body
30838 \end_document