]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Customization.lyx
Remove absolute path
[lyx.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 615
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 \end_layout
11607
11608 \begin_layout Description
11609 \begin_inset Flex Code
11610 status collapsed
11611
11612 \begin_layout Plain Layout
11613 DocBookGenerateTitle
11614 \end_layout
11615
11616 \end_inset
11617
11618  [
11619 \begin_inset Flex Code
11620 status collapsed
11621
11622 \begin_layout Plain Layout
11623 ブール型=false
11624 \end_layout
11625
11626 \end_inset
11627
11628 ] ラッパータグの後に
11629 \begin_inset Flex Code
11630 status collapsed
11631
11632 \begin_layout Plain Layout
11633 title
11634 \end_layout
11635
11636 \end_inset
11637
11638 タグを生成します.このパラメータは,
11639
11640 \begin_inset Flex Code
11641 status collapsed
11642
11643 \begin_layout Plain Layout
11644 DocBookWrapperTag
11645 \end_layout
11646
11647 \end_inset
11648
11649 でのみ使用してください.他の場合はタイトルは環境の中身の
11650 \begin_inset Flex 圏点
11651 status open
11652
11653 \begin_layout Plain Layout
11654 後に
11655 \end_layout
11656
11657 \end_inset
11658
11659 出力されます.生成されるタイトルはLyXHTMLラベルと同じで,
11660 環境型とその番号の組み合わせです.主な使用法は,
11661 DocBookにLaTeX環境を閉じるマッピングがなく,
11662 LaTeXにはないタイトルが必要となる
11663 \begin_inset Flex Code
11664 status collapsed
11665
11666 \begin_layout Plain Layout
11667 figure
11668 \end_layout
11669
11670 \end_inset
11671
11672 のような汎用コンテナをユーザが頼らざるを得ないときに使います.この機能は,
11673 定理型の環境でたいへんよく用いられます.
11674 \end_layout
11675
11676 \begin_layout Description
11677 \begin_inset Flex Code
11678 status collapsed
11679
11680 \begin_layout Plain Layout
11681 DependsOn
11682 \end_layout
11683
11684 \end_inset
11685
11686  [
11687 \begin_inset Flex Code
11688 status collapsed
11689
11690 \begin_layout Plain Layout
11691 <名称>
11692 \end_layout
11693
11694 \end_inset
11695
11696 ]
11697 \lang english
11698  
11699 \lang japanese
11700 この
11701 \emph on
11702 前に
11703 \emph default
11704 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,
11705 プリアンブルの断片の順序を確実にするためのものです
11706 \begin_inset Foot
11707 status collapsed
11708
11709 \begin_layout Plain Layout
11710 この機能以外には,
11711 プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
11712 の特定のバージョンで観察された順序は,
11713 将来のバージョンで警告なしに変わる可能性があります.
11714 \end_layout
11715
11716 \end_inset
11717
11718
11719 \end_layout
11720
11721 \begin_layout Description
11722 \begin_inset Flex Code
11723 status collapsed
11724
11725 \begin_layout Plain Layout
11726 EndLabelType
11727 \end_layout
11728
11729 \end_inset
11730
11731  [
11732 \begin_inset Flex Code
11733 status collapsed
11734
11735 \begin_layout Plain Layout
11736
11737 \emph on
11738 No_Label
11739 \emph default
11740 ,
11741  Box,
11742  Filled_Box,
11743  Static
11744 \end_layout
11745
11746 \end_inset
11747
11748 ] 段落の最後(あるいは
11749 \begin_inset Flex Code
11750 status collapsed
11751
11752 \begin_layout Plain Layout
11753 LatexType
11754 \end_layout
11755
11756 \end_inset
11757
11758 が,
11759
11760 \begin_inset Flex Code
11761 status collapsed
11762
11763 \begin_layout Plain Layout
11764 Environment
11765 \end_layout
11766
11767 \end_inset
11768
11769
11770 \begin_inset Flex Code
11771 status collapsed
11772
11773 \begin_layout Plain Layout
11774 Item_Environment
11775 \end_layout
11776
11777 \end_inset
11778
11779
11780 \begin_inset Flex Code
11781 status collapsed
11782
11783 \begin_layout Plain Layout
11784 List_Environment
11785 \end_layout
11786
11787 \end_inset
11788
11789 のいずれかの場合は,
11790 段落群の最後)に置くラベル.
11791 \begin_inset Flex Code
11792 status collapsed
11793
11794 \begin_layout Plain Layout
11795 No_Label
11796 \end_layout
11797
11798 \end_inset
11799
11800 の場合は「何もない」ことを指し,
11801
11802 \begin_inset Flex Code
11803 status collapsed
11804
11805 \begin_layout Plain Layout
11806 Box
11807 \end_layout
11808
11809 \end_inset
11810
11811 (あるいは
11812 \begin_inset Flex Code
11813 status collapsed
11814
11815 \begin_layout Plain Layout
11816 Filled_Box
11817 \end_layout
11818
11819 \end_inset
11820
11821 )の場合は,
11822 証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
11823
11824 \begin_inset Flex Code
11825 status collapsed
11826
11827 \begin_layout Plain Layout
11828 Static
11829 \end_layout
11830
11831 \end_inset
11832
11833 は明示したテキスト文字列を指します.
11834 \end_layout
11835
11836 \begin_layout Description
11837 \begin_inset Flex Code
11838 status collapsed
11839
11840 \begin_layout Plain Layout
11841 EndLabelString
11842 \end_layout
11843
11844 \end_inset
11845
11846  [
11847 \begin_inset Flex Code
11848 status collapsed
11849
11850 \begin_layout Plain Layout
11851 文字列=""
11852 \end_layout
11853
11854 \end_inset
11855
11856
11857 \begin_inset Flex Code
11858 status collapsed
11859
11860 \begin_layout Plain Layout
11861 Static
11862 \end_layout
11863
11864 \end_inset
11865
11866
11867 \begin_inset Flex Code
11868 status collapsed
11869
11870 \begin_layout Plain Layout
11871 EndLabelType
11872 \end_layout
11873
11874 \end_inset
11875
11876 のラベルで用いる文字列.
11877 \end_layout
11878
11879 \begin_layout Description
11880 \begin_inset Flex Code
11881 status collapsed
11882
11883 \begin_layout Plain Layout
11884 Font
11885 \end_layout
11886
11887 \end_inset
11888
11889  本文テキストとラベルの
11890 \emph on
11891 両方で
11892 \emph default
11893 用いられるフォント.第
11894 \begin_inset CommandInset ref
11895 LatexCommand ref
11896 reference "subsec:フォント指定"
11897 nolink "false"
11898
11899 \end_inset
11900
11901 節を参照.このフォントを定義すると,
11902 自動的に
11903 \begin_inset Flex Code
11904 status collapsed
11905
11906 \begin_layout Plain Layout
11907 LabelFont
11908 \end_layout
11909
11910 \end_inset
11911
11912 も同じ値で定義されることに注意してください.したがって,
11913
11914 \begin_inset Flex Code
11915 status collapsed
11916
11917 \begin_layout Plain Layout
11918 LabelFont
11919 \end_layout
11920
11921 \end_inset
11922
11923 も同時に定義したい場合には,
11924 これを先に定義してください.
11925 \end_layout
11926
11927 \begin_layout Description
11928 \begin_inset Flex Code
11929 status collapsed
11930
11931 \begin_layout Plain Layout
11932 ForceLocal
11933 \end_layout
11934
11935 \end_inset
11936
11937  [
11938 \begin_inset Flex Code
11939 status collapsed
11940
11941 \begin_layout Plain Layout
11942 整数型=0
11943 \end_layout
11944
11945 \end_inset
11946
11947 ] 新しい様式を\SpecialChar LyX
11948 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11949  2.1.0です.引数は数字で,
11950 0・-1・1以上の任意の数をとることができます.様式の
11951 \begin_inset Flex Code
11952 status collapsed
11953
11954 \begin_layout Plain Layout
11955 ForceLocal
11956 \end_layout
11957
11958 \end_inset
11959
11960 フラグが1以上ならば,
11961 これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,
11962 文書ヘッダからの様式定義が文書クラスに追加されます.したがって,
11963 古い版の\SpecialChar LyX
11964 もこの様式を取り扱えるようになります.
11965 \begin_inset Flex Code
11966 status collapsed
11967
11968 \begin_layout Plain Layout
11969 ForceLocal
11970 \end_layout
11971
11972 \end_inset
11973
11974 の引数は版数です.様式が読み込まれたときに,
11975 文書クラス中の既存の様式の版数よりも小さいと,
11976 新しい様式は無視されます.版数が大きいと,
11977 既存の様式に代わって新しい様式が用いられます.値-1は無限大の版数を意味し,
11978 この様式が常に用いられることになります.
11979 \end_layout
11980
11981 \begin_layout Description
11982 \begin_inset Flex Code
11983 status collapsed
11984
11985 \begin_layout Plain Layout
11986 FreeSpacing
11987 \end_layout
11988
11989 \end_inset
11990
11991  [
11992 \emph on
11993
11994 \begin_inset Flex Code
11995 status collapsed
11996
11997 \begin_layout Plain Layout
11998 0
11999 \end_layout
12000
12001 \end_inset
12002
12003
12004 \emph default
12005 ,
12006 \begin_inset space \thinspace{}
12007 \end_inset
12008
12009
12010 \begin_inset Flex Code
12011 status collapsed
12012
12013 \begin_layout Plain Layout
12014 1
12015 \end_layout
12016
12017 \end_inset
12018
12019 ] \SpecialChar LyX
12020 は,
12021 空白をそれ自体文字や記号ではなく,
12022 2つの単語の間の分割子として捉えているため,
12023 単語間に2つ以上の空白を入れることは,
12024 通常許可していません.これ自体はとても素晴らしいことですが,
12025 たとえばプログラムコードや生の\SpecialChar LaTeX
12026 コードを入力しようとするときなどに,
12027 煩わしくなることがあります.このことから,
12028
12029 \begin_inset Flex Code
12030 status collapsed
12031
12032 \begin_layout Plain Layout
12033 FreeSpacing
12034 \end_layout
12035
12036 \end_inset
12037
12038 を有効にすることが認められています.
12039 \begin_inset Flex Code
12040 status collapsed
12041
12042 \begin_layout Plain Layout
12043 Passthru 1
12044 \end_layout
12045
12046 \end_inset
12047
12048 が指定されていなければ,
12049 \SpecialChar LyX
12050 は2つめ以降の空白には非改行空白を生成します.
12051 \begin_inset Flex Code
12052 status collapsed
12053
12054 \begin_layout Plain Layout
12055 FreeSpacing
12056 \end_layout
12057
12058 \end_inset
12059
12060
12061 \begin_inset Flex Code
12062 status collapsed
12063
12064 \begin_layout Plain Layout
12065 KeepEmpty
12066 \end_layout
12067
12068 \end_inset
12069
12070 を意味することに注意してください.
12071 \end_layout
12072
12073 \begin_layout Description
12074 \begin_inset Flex Code
12075 status collapsed
12076
12077 \begin_layout Plain Layout
12078 HTML*
12079 \end_layout
12080
12081 \end_inset
12082
12083  これらのタグは,
12084 XHTML出力で使用されます.第
12085 \begin_inset CommandInset ref
12086 LatexCommand ref
12087 reference "subsec:段落様式-XHTML"
12088 nolink "false"
12089
12090 \end_inset
12091
12092 節をご覧ください.
12093 \end_layout
12094
12095 \begin_layout Description
12096 \begin_inset Flex Code
12097 status collapsed
12098
12099 \begin_layout Plain Layout
12100 InPreamble
12101 \end_layout
12102
12103 \end_inset
12104
12105  [
12106 \emph on
12107
12108 \begin_inset Flex Code
12109 status collapsed
12110
12111 \begin_layout Plain Layout
12112 0
12113 \end_layout
12114
12115 \end_inset
12116
12117
12118 \emph default
12119 ,
12120 \begin_inset space \thinspace{}
12121 \end_inset
12122
12123
12124 \begin_inset Flex Code
12125 status collapsed
12126
12127 \begin_layout Plain Layout
12128 1
12129 \end_layout
12130
12131 \end_inset
12132
12133
12134 \begin_inset Flex Code
12135 status collapsed
12136
12137 \begin_layout Plain Layout
12138 1
12139 \end_layout
12140
12141 \end_inset
12142
12143 の場合,
12144 様式が文書本体ではなく,
12145 文書プリアンブルにインクルードされるようにします.これは,
12146 タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利です.これは,
12147
12148 \begin_inset Flex Code
12149 status collapsed
12150
12151 \begin_layout Plain Layout
12152 LatexType
12153 \end_layout
12154
12155 \end_inset
12156
12157
12158 \begin_inset Flex Code
12159 status collapsed
12160
12161 \begin_layout Plain Layout
12162 Command
12163 \end_layout
12164
12165 \end_inset
12166
12167 または
12168 \begin_inset Flex Code
12169 status collapsed
12170
12171 \begin_layout Plain Layout
12172 Paragraph
12173 \end_layout
12174
12175 \end_inset
12176
12177 の様式に対してのみ動作します.
12178 \end_layout
12179
12180 \begin_layout Description
12181 \begin_inset Flex Code
12182 status collapsed
12183
12184 \begin_layout Plain Layout
12185 InTitle
12186 \end_layout
12187
12188 \end_inset
12189
12190  [
12191 \emph on
12192
12193 \begin_inset Flex Code
12194 status collapsed
12195
12196 \begin_layout Plain Layout
12197 0
12198 \end_layout
12199
12200 \end_inset
12201
12202
12203 \emph default
12204 ,
12205 \begin_inset space \thinspace{}
12206 \end_inset
12207
12208
12209 \begin_inset Flex Code
12210 status collapsed
12211
12212 \begin_layout Plain Layout
12213 1
12214 \end_layout
12215
12216 \end_inset
12217
12218
12219 \begin_inset Flex Code
12220 status collapsed
12221
12222 \begin_layout Plain Layout
12223 1
12224 \end_layout
12225
12226 \end_inset
12227
12228 の場合,
12229 このレイアウトをタイトルブロックの一部としてマークします(大域項目の
12230 \begin_inset Flex Code
12231 status collapsed
12232
12233 \begin_layout Plain Layout
12234 TitleLatexType
12235 \end_layout
12236
12237 \end_inset
12238
12239
12240 \begin_inset Flex Code
12241 status collapsed
12242
12243 \begin_layout Plain Layout
12244 TitleLatexName
12245 \end_layout
12246
12247 \end_inset
12248
12249 も参照).
12250 \end_layout
12251
12252 \begin_layout Description
12253 \begin_inset Flex Code
12254 status collapsed
12255
12256 \begin_layout Plain Layout
12257 IsAutoNestedBy
12258 \end_layout
12259
12260 \end_inset
12261
12262  このレイアウトがネストされるべき親レイアウトのコンマ区切りリストを入れます.(環境など)ネスト可能なレイアウトでのみ意味を持ちます.「
12263 \begin_inset Flex Code
12264 status collapsed
12265
12266 \begin_layout Plain Layout
12267 EndAutoNestedBy
12268 \end_layout
12269
12270 \end_inset
12271
12272 」で閉じる必要があります.
12273 \begin_inset Flex Code
12274 status collapsed
12275
12276 \begin_layout Plain Layout
12277 AutoNests
12278 \end_layout
12279
12280 \end_inset
12281
12282 もご参照ください.
12283 \end_layout
12284
12285 \begin_layout Description
12286 \begin_inset Flex Code
12287 status collapsed
12288
12289 \begin_layout Plain Layout
12290 IsTocCaption
12291 \end_layout
12292
12293 \end_inset
12294
12295  [
12296 \begin_inset Flex Code
12297 status collapsed
12298
12299 \begin_layout Plain Layout
12300
12301 \emph on
12302 0
12303 \end_layout
12304
12305 \end_inset
12306
12307 ,
12308 \begin_inset space \thinspace{}
12309 \end_inset
12310
12311
12312 \begin_inset Flex Code
12313 status collapsed
12314
12315 \begin_layout Plain Layout
12316 1
12317 \end_layout
12318
12319 \end_inset
12320
12321 ] これを1に設定すると,
12322 AddToTocが有効になり,
12323 段落は,
12324 その内容の要約を一覧表の項目に表示します.0に設定すると,
12325 ラベルが存在すれば,
12326 それのみが表示されます.
12327 \end_layout
12328
12329 \begin_layout Description
12330 \begin_inset Flex Code
12331 status collapsed
12332
12333 \begin_layout Plain Layout
12334 ItemCommand
12335 \end_layout
12336
12337 \end_inset
12338
12339  [
12340 \begin_inset Flex Code
12341 status collapsed
12342
12343 \begin_layout Plain Layout
12344 文字列="item"
12345 \end_layout
12346
12347 \end_inset
12348
12349 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
12350 コマンド.コマンドは,
12351 前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,
12352 \SpecialChar LaTeX
12353 出力中では
12354 \begin_inset Flex Code
12355 status collapsed
12356
12357 \begin_layout Plain Layout
12358
12359 \backslash
12360 item
12361 \end_layout
12362
12363 \end_inset
12364
12365 となります).
12366 \end_layout
12367
12368 \begin_layout Description
12369 \begin_inset Flex Code
12370 status collapsed
12371
12372 \begin_layout Plain Layout
12373 ItemSep
12374 \end_layout
12375
12376 \end_inset
12377
12378  [
12379 \begin_inset Flex Code
12380 status collapsed
12381
12382 \begin_layout Plain Layout
12383 浮動小数点型=0
12384 \end_layout
12385
12386 \end_inset
12387
12388 ] これは,
12389 同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,
12390 それぞれのレイアウトは,
12391 その環境の
12392 \begin_inset Flex Code
12393 status collapsed
12394
12395 \begin_layout Plain Layout
12396 ParSep
12397 \end_layout
12398
12399 \end_inset
12400
12401 だけ分離されます.しかし,
12402 その環境の項目全体は,
12403 さらにこの
12404 \begin_inset Flex Code
12405 status collapsed
12406
12407 \begin_layout Plain Layout
12408 ItemSep
12409 \end_layout
12410
12411 \end_inset
12412
12413 分だけ離されます.これは
12414 \emph on
12415 乗数
12416 \emph default
12417 であることに注意してください.
12418 \end_layout
12419
12420 \begin_layout Description
12421 \begin_inset Flex Code
12422 status collapsed
12423
12424 \begin_layout Plain Layout
12425 KeepEmpty
12426 \end_layout
12427
12428 \end_inset
12429
12430  [
12431 \emph on
12432
12433 \begin_inset Flex Code
12434 status collapsed
12435
12436 \begin_layout Plain Layout
12437 0
12438 \end_layout
12439
12440 \end_inset
12441
12442
12443 \emph default
12444 ,
12445 \begin_inset space \thinspace{}
12446 \end_inset
12447
12448
12449 \begin_inset Flex Code
12450 status collapsed
12451
12452 \begin_layout Plain Layout
12453 1
12454 \end_layout
12455
12456 \end_inset
12457
12458 ] 段落を空のままにすると,
12459 \SpecialChar LaTeX
12460 出力が空になってしまうので,
12461 通常,
12462 \SpecialChar LyX
12463 は段落を空にすることを許可しません.しかしながら,
12464 これを無効にすることが望ましい場合が存在します.たとえば,
12465 書簡のひな型では,
12466 必須フィールドを人々が忘れないように,
12467 空のフィールドのまま提供する手もあります.特別なクラスにおいては,
12468 レイアウトを実際には文章を含まないある種の改行として使用することもあります.
12469 \end_layout
12470
12471 \begin_layout Description
12472 \begin_inset Flex Code
12473 status collapsed
12474
12475 \begin_layout Plain Layout
12476 LabelBottomsep
12477 \end_layout
12478
12479 \end_inset
12480
12481  [
12482 \begin_inset Flex Code
12483 status collapsed
12484
12485 \begin_layout Plain Layout
12486 浮動小数点型=0
12487 \end_layout
12488
12489 \end_inset
12490
12491 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
12492 \begin_inset Flex Code
12493 status collapsed
12494
12495 \begin_layout Plain Layout
12496 Top_Environment
12497 \end_layout
12498
12499 \end_inset
12500
12501 および
12502 \begin_inset Newline linebreak
12503 \end_inset
12504
12505
12506 \begin_inset Flex Code
12507 status collapsed
12508
12509 \begin_layout Plain Layout
12510 Centered_Top_Environment
12511 \end_layout
12512
12513 \end_inset
12514
12515 ).
12516 \end_layout
12517
12518 \begin_layout Description
12519 \begin_inset Flex Code
12520 status collapsed
12521
12522 \begin_layout Plain Layout
12523 LabelCounter
12524 \end_layout
12525
12526 \end_inset
12527
12528  [
12529 \begin_inset Flex Code
12530 status collapsed
12531
12532 \begin_layout Plain Layout
12533 文字列=""
12534 \end_layout
12535
12536 \end_inset
12537
12538 ] 自動連番に使われるカウンタ名(詳しくは第
12539 \begin_inset CommandInset ref
12540 LatexCommand ref
12541 reference "subsec:カウンタ"
12542 plural "false"
12543 caps "false"
12544 noprefix "false"
12545 nolink "false"
12546
12547 \end_inset
12548
12549 節参照).カウンタがラベル中に表示されるようにするためには,
12550
12551 \begin_inset Flex Code
12552 status collapsed
12553
12554 \begin_layout Plain Layout
12555 LabelString
12556 \end_layout
12557
12558 \end_inset
12559
12560 中で参照する必要があります.これは,
12561 少なくとも
12562 \begin_inset Flex Code
12563 status collapsed
12564
12565 \begin_layout Plain Layout
12566 Static
12567 \end_layout
12568
12569 \end_inset
12570
12571
12572 \begin_inset Flex Code
12573 status collapsed
12574
12575 \begin_layout Plain Layout
12576 Above
12577 \end_layout
12578
12579 \end_inset
12580
12581
12582 \begin_inset Flex Code
12583 status collapsed
12584
12585 \begin_layout Plain Layout
12586 Centered
12587 \end_layout
12588
12589 \end_inset
12590
12591 の各
12592 \begin_inset Flex Code
12593 status collapsed
12594
12595 \begin_layout Plain Layout
12596 LabelType
12597 \end_layout
12598
12599 \end_inset
12600
12601 で動作します.
12602 \begin_inset Newline newline
12603 \end_inset
12604
12605 また,
12606
12607 \begin_inset Flex Code
12608 status collapsed
12609
12610 \begin_layout Plain Layout
12611 LabelType
12612 \end_layout
12613
12614 \end_inset
12615
12616
12617 \begin_inset Flex Code
12618 status collapsed
12619
12620 \begin_layout Plain Layout
12621 Enumerate
12622 \end_layout
12623
12624 \end_inset
12625
12626 型のときにも,
12627 若干複雑にはなりますが,
12628 本項目を使うことができます.たとえば,
12629
12630 \begin_inset Flex Code
12631 status collapsed
12632
12633 \begin_layout Plain Layout
12634 LabelCounter myenum
12635 \end_layout
12636
12637 \end_inset
12638
12639 」と宣言したものとしましょう.すると,
12640 \SpecialChar LaTeX
12641 におけるのと同様,
12642 実際に使われるカウンタは,
12643
12644 \begin_inset Flex Code
12645 status collapsed
12646
12647 \begin_layout Plain Layout
12648 myenumi
12649 \end_layout
12650
12651 \end_inset
12652
12653
12654 \begin_inset Flex Code
12655 status collapsed
12656
12657 \begin_layout Plain Layout
12658 myenumii
12659 \end_layout
12660
12661 \end_inset
12662
12663
12664 \begin_inset Flex Code
12665 status collapsed
12666
12667 \begin_layout Plain Layout
12668 myenumii
12669 \end_layout
12670
12671 \end_inset
12672
12673
12674 \begin_inset Flex Code
12675 status collapsed
12676
12677 \begin_layout Plain Layout
12678 myenumiv
12679 \end_layout
12680
12681 \end_inset
12682
12683 のようになります.これらのカウンタは,
12684 全て別々に宣言されなくてはなりません.
12685 \begin_inset Newline newline
12686 \end_inset
12687
12688 カウンタの詳細については,
12689
12690 \begin_inset CommandInset ref
12691 LatexCommand ref
12692 reference "subsec:カウンタ"
12693 nolink "false"
12694
12695 \end_inset
12696
12697 をご覧ください.
12698 \end_layout
12699
12700 \begin_layout Description
12701 \begin_inset Flex Code
12702 status collapsed
12703
12704 \begin_layout Plain Layout
12705 LabelFont
12706 \end_layout
12707
12708 \end_inset
12709
12710  ラベルに使用されるフォント.
12711 \begin_inset CommandInset ref
12712 LatexCommand ref
12713 reference "subsec:フォント指定"
12714 nolink "false"
12715
12716 \end_inset
12717
12718 を参照.
12719 \end_layout
12720
12721 \begin_layout Description
12722 \begin_inset Flex Code
12723 status collapsed
12724
12725 \begin_layout Plain Layout
12726 LabelIndent
12727 \end_layout
12728
12729 \end_inset
12730
12731  [
12732 \begin_inset Flex Code
12733 status collapsed
12734
12735 \begin_layout Plain Layout
12736 文字列=""
12737 \end_layout
12738
12739 \end_inset
12740
12741 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
12742 \end_layout
12743
12744 \begin_layout Description
12745 \begin_inset Flex Code
12746 status collapsed
12747
12748 \begin_layout Plain Layout
12749 LabelSep
12750 \end_layout
12751
12752 \end_inset
12753
12754  [
12755 \begin_inset Flex Code
12756 status collapsed
12757
12758 \begin_layout Plain Layout
12759 文字列=""
12760 \end_layout
12761
12762 \end_inset
12763
12764 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
12765 \end_layout
12766
12767 \begin_layout Description
12768 \begin_inset Flex Code
12769 status collapsed
12770
12771 \begin_layout Plain Layout
12772 LabelString
12773 \end_layout
12774
12775 \end_inset
12776
12777  [
12778 \begin_inset Flex Code
12779 status collapsed
12780
12781 \begin_layout Plain Layout
12782 文字列=""
12783 \end_layout
12784
12785 \end_inset
12786
12787
12788 \begin_inset Flex Code
12789 status collapsed
12790
12791 \begin_layout Plain Layout
12792 Static
12793 \end_layout
12794
12795 \end_inset
12796
12797 ラベル型でラベルに使用する文字列.
12798 \begin_inset Flex Code
12799 status collapsed
12800
12801 \begin_layout Plain Layout
12802 LabelCounter
12803 \end_layout
12804
12805 \end_inset
12806
12807 を設定している場合,
12808
12809 \begin_inset CommandInset ref
12810 LatexCommand ref
12811 reference "subsec:カウンタ"
12812 nolink "false"
12813
12814 \end_inset
12815
12816 に述べられている特別な整形コマンドを含めることができます.
12817 \end_layout
12818
12819 \begin_layout Description
12820 \begin_inset Flex Code
12821 status collapsed
12822
12823 \begin_layout Plain Layout
12824 LabelStringAppendix
12825 \end_layout
12826
12827 \end_inset
12828
12829  [
12830 \begin_inset Flex Code
12831 status collapsed
12832
12833 \begin_layout Plain Layout
12834 文字列=""
12835 \end_layout
12836
12837 \end_inset
12838
12839 ] これは付録の中で
12840 \begin_inset Flex Code
12841 status collapsed
12842
12843 \begin_layout Plain Layout
12844 LabelString
12845 \end_layout
12846
12847 \end_inset
12848
12849 の代わりに用いられます.各
12850 \begin_inset Flex Code
12851 status collapsed
12852
12853 \begin_layout Plain Layout
12854 LabelString
12855 \end_layout
12856
12857 \end_inset
12858
12859 ステートメントは,
12860
12861 \begin_inset Flex Code
12862 status collapsed
12863
12864 \begin_layout Plain Layout
12865 LabelStringAppendix
12866 \end_layout
12867
12868 \end_inset
12869
12870 をもリセットすることに注意してください.
12871 \end_layout
12872
12873 \begin_layout Description
12874 \begin_inset Flex Code
12875 status collapsed
12876
12877 \begin_layout Plain Layout
12878 LabelType
12879 \end_layout
12880
12881 \end_inset
12882
12883  [
12884 \begin_inset Flex Code
12885 status collapsed
12886
12887 \begin_layout Plain Layout
12888
12889 \emph on
12890 No_Label
12891 \emph default
12892 ,
12893  Manual,
12894  Static,
12895  Above,
12896 \begin_inset Newline newline
12897 \end_inset
12898
12899 Centered,
12900  Sensitive,
12901  Enumerate,
12902 \begin_inset Newline newline
12903 \end_inset
12904
12905 Itemize,
12906  Bibliography
12907 \end_layout
12908
12909 \end_inset
12910
12911 ]
12912 \end_layout
12913
12914 \begin_deeper
12915 \begin_layout Description
12916 \begin_inset Flex Code
12917 status collapsed
12918
12919 \begin_layout Plain Layout
12920 Manual
12921 \end_layout
12922
12923 \end_inset
12924
12925  は,
12926 ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,
12927 非改行空白を使用してください.
12928 \end_layout
12929
12930 \begin_layout Description
12931 \begin_inset Flex Code
12932 status collapsed
12933
12934 \begin_layout Plain Layout
12935 Static
12936 \end_layout
12937
12938 \end_inset
12939
12940  は,
12941 ラベルが
12942 \begin_inset Flex Code
12943 status collapsed
12944
12945 \begin_layout Plain Layout
12946 LabelString
12947 \end_layout
12948
12949 \end_inset
12950
12951 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12952 \begin_inset Flex Code
12953 status collapsed
12954
12955 \begin_layout Plain Layout
12956 LatexType
12957 \end_layout
12958
12959 \end_inset
12960
12961
12962 \begin_inset Flex Code
12963 status collapsed
12964
12965 \begin_layout Plain Layout
12966 Environment
12967 \end_layout
12968
12969 \end_inset
12970
12971 のときは,
12972 連続する同じ
12973 \begin_inset Flex Code
12974 status collapsed
12975
12976 \begin_layout Plain Layout
12977 Style
12978 \end_layout
12979
12980 \end_inset
12981
12982 の段落中,
12983 最初の段落にのみ表示されます.
12984 \end_layout
12985
12986 \begin_layout Description
12987 \begin_inset Flex Code
12988 status collapsed
12989
12990 \begin_layout Plain Layout
12991 Above
12992 \end_layout
12993
12994 \end_inset
12995
12996 および
12997 \begin_inset Flex Code
12998 status collapsed
12999
13000 \begin_layout Plain Layout
13001 Centered
13002 \end_layout
13003
13004 \end_inset
13005
13006  は,
13007
13008 \begin_inset Flex Code
13009 status collapsed
13010
13011 \begin_layout Plain Layout
13012 Static
13013 \end_layout
13014
13015 \end_inset
13016
13017 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
13018 \end_layout
13019
13020 \begin_layout Description
13021 \begin_inset Flex Code
13022 status collapsed
13023
13024 \begin_layout Plain Layout
13025 Sensitive
13026 \end_layout
13027
13028 \end_inset
13029
13030  はキャプションラベルの「図」や「表」の特別な場合です.
13031 \begin_inset Flex Code
13032 status collapsed
13033
13034 \begin_layout Plain Layout
13035 Sensitive
13036 \end_layout
13037
13038 \end_inset
13039
13040 は,
13041 (ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,
13042 フロートに関連付けられたカウンタの値がNであるものとすると,
13043 「FloatType N」にハードコードされています.キャプションがフロートの外に挿入されると,
13044
13045 \begin_inset Flex Code
13046 status collapsed
13047
13048 \begin_layout Plain Layout
13049 LabelString
13050 \end_layout
13051
13052 \end_inset
13053
13054 は「意味を成しません!」と表示されます.
13055 \end_layout
13056
13057 \begin_layout Description
13058 \begin_inset Flex Code
13059 status collapsed
13060
13061 \begin_layout Plain Layout
13062 Enumerate
13063 \end_layout
13064
13065 \end_inset
13066
13067  は,
13068 通常の連番ラベルを生成します.数値型を
13069 \family sans
13070 Counter
13071 \family default
13072 で設定する必要があります.第
13073 \begin_inset CommandInset ref
13074 LatexCommand ref
13075 reference "subsec:カウンタ"
13076 nolink "false"
13077
13078 \end_inset
13079
13080 節を参照してください.
13081 \end_layout
13082
13083 \begin_layout Description
13084 \begin_inset Flex Code
13085 status collapsed
13086
13087 \begin_layout Plain Layout
13088 Itemize
13089 \end_layout
13090
13091 \end_inset
13092
13093  は,
13094 各階層でさまざまなブリットを生成します.表示されるブリット型は
13095 \begin_inset Flex Noun
13096 status collapsed
13097
13098 \begin_layout Plain Layout
13099 文書\SpecialChar menuseparator
13100 設定\SpecialChar menuseparator
13101 ブリット
13102 \end_layout
13103
13104 \end_inset
13105
13106 で設定できます.
13107 \end_layout
13108
13109 \begin_layout Description
13110 \begin_inset Flex Code
13111 status collapsed
13112
13113 \begin_layout Plain Layout
13114 Bibliography
13115 \end_layout
13116
13117 \end_inset
13118
13119  は
13120 \begin_inset Flex Code
13121 status collapsed
13122
13123 \begin_layout Plain Layout
13124 LatexType BibEnvironment
13125 \end_layout
13126
13127 \end_inset
13128
13129 とともにのみ使用されます.
13130 \end_layout
13131
13132 \end_deeper
13133 \begin_layout Description
13134 \begin_inset Flex Code
13135 status collapsed
13136
13137 \begin_layout Plain Layout
13138 LangPreamble
13139 \end_layout
13140
13141 \end_inset
13142
13143  これは,
13144 この様式で既に出現した
13145 \begin_inset Flex Code
13146 status collapsed
13147
13148 \begin_layout Plain Layout
13149 LangPreamble
13150 \end_layout
13151
13152 \end_inset
13153
13154 宣言をすべて,
13155 完全に上書きしますので,
13156 注意してください.使用法についての詳細は,
13157
13158 \begin_inset CommandInset ref
13159 LatexCommand ref
13160 reference "subsec:段落様式の国際化"
13161 nolink "false"
13162
13163 \end_inset
13164
13165 をご覧ください.
13166 \end_layout
13167
13168 \begin_layout Description
13169 \begin_inset Flex Code
13170 status collapsed
13171
13172 \begin_layout Plain Layout
13173 LatexName
13174 \end_layout
13175
13176 \end_inset
13177
13178  [
13179 \begin_inset Flex Code
13180 status collapsed
13181
13182 \begin_layout Plain Layout
13183 <名称>
13184 \end_layout
13185
13186 \end_inset
13187
13188 ] 対応する\SpecialChar LaTeX
13189 の名称です.環境名かコマンド名を指します.
13190 \end_layout
13191
13192 \begin_layout Description
13193 \begin_inset Flex Code
13194 status collapsed
13195
13196 \begin_layout Plain Layout
13197 LatexParam
13198 \end_layout
13199
13200 \end_inset
13201
13202  [
13203 \begin_inset Flex Code
13204 status collapsed
13205
13206 \begin_layout Plain Layout
13207 <パラメータ>
13208 \end_layout
13209
13210 \end_inset
13211
13212 ] 対応する
13213 \begin_inset Flex Code
13214 status collapsed
13215
13216 \begin_layout Plain Layout
13217 LatexName
13218 \end_layout
13219
13220 \end_inset
13221
13222 の非必須パラメータです.このパラメータは,
13223 \SpecialChar LyX
13224 内部から変更することはできません(変更可能なパラメータには
13225 \begin_inset Flex Code
13226 status collapsed
13227
13228 \begin_layout Plain Layout
13229 Argument
13230 \end_layout
13231
13232 \end_inset
13233
13234 を使用してください).これは,
13235 全ての\SpecialChar LaTeX
13236  
13237 \begin_inset Flex Code
13238 status collapsed
13239
13240 \begin_layout Plain Layout
13241 Argument
13242 \end_layout
13243
13244 \end_inset
13245
13246 の後にそのままの形で出力されます.
13247 \end_layout
13248
13249 \begin_layout Description
13250 \begin_inset Flex Code
13251 status collapsed
13252
13253 \begin_layout Plain Layout
13254 LatexType
13255 \end_layout
13256
13257 \end_inset
13258
13259  [
13260 \begin_inset Flex Code
13261 status collapsed
13262
13263 \begin_layout Plain Layout
13264
13265 \emph on
13266 Paragraph
13267 \emph default
13268 ,
13269  Command,
13270  Environment,
13271  Item_Environment,
13272 \begin_inset Newline newline
13273 \end_inset
13274
13275 List_Environment,
13276  Bib_Environment
13277 \end_layout
13278
13279 \end_inset
13280
13281 ] レイアウトがどのように\SpecialChar LaTeX
13282 に変換されるべきかを示します
13283 \begin_inset Foot
13284 status collapsed
13285
13286 \begin_layout Plain Layout
13287 これらのルールはSGMLクラスにも適用されるので,
13288
13289 \begin_inset Flex Code
13290 status collapsed
13291
13292 \begin_layout Plain Layout
13293 LatexType
13294 \end_layout
13295
13296 \end_inset
13297
13298 の名称は,
13299 少しミスリーディングかもしれません.特定の例については,
13300 SGMLクラスファイル(ファイル名
13301 \begin_inset Flex Code
13302 status collapsed
13303
13304 \begin_layout Plain Layout
13305 db_*.inc
13306 \end_layout
13307
13308 \end_inset
13309
13310 )を見てください.
13311 \end_layout
13312
13313 \end_inset
13314
13315
13316 \end_layout
13317
13318 \begin_deeper
13319 \begin_layout Description
13320 \begin_inset Flex Code
13321 status collapsed
13322
13323 \begin_layout Plain Layout
13324 Paragraph
13325 \end_layout
13326
13327 \end_inset
13328
13329  は,
13330 何も特別なことは意味しません.
13331 \end_layout
13332
13333 \begin_layout Description
13334 \begin_inset Flex Code
13335 status collapsed
13336
13337 \begin_layout Plain Layout
13338 Command
13339 \end_layout
13340
13341 \end_inset
13342
13343  は,
13344
13345 \begin_inset Flex Code
13346 status collapsed
13347
13348 \begin_layout Plain Layout
13349
13350 \backslash
13351
13352 \emph on
13353 LatexName
13354 \emph default
13355 {\SpecialChar ldots
13356 }
13357 \end_layout
13358
13359 \end_inset
13360
13361 を意味します.
13362 \end_layout
13363
13364 \begin_layout Description
13365 \begin_inset Flex Code
13366 status collapsed
13367
13368 \begin_layout Plain Layout
13369 Environment
13370 \end_layout
13371
13372 \end_inset
13373
13374  は,
13375
13376 \begin_inset Flex Code
13377 status collapsed
13378
13379 \begin_layout Plain Layout
13380
13381 \backslash
13382 begin{
13383 \emph on
13384 LatexName
13385 \emph default
13386 }\SpecialChar ldots
13387
13388 \backslash
13389 end{
13390 \emph on
13391 LatexName
13392 \emph default
13393 }
13394 \end_layout
13395
13396 \end_inset
13397
13398 を意味します.
13399 \end_layout
13400
13401 \begin_layout Description
13402 \begin_inset Flex Code
13403 status collapsed
13404
13405 \begin_layout Plain Layout
13406 Item_Environment
13407 \end_layout
13408
13409 \end_inset
13410
13411  は
13412 \begin_inset Flex Code
13413 status collapsed
13414
13415 \begin_layout Plain Layout
13416 Environment
13417 \end_layout
13418
13419 \end_inset
13420
13421 と同じですが,
13422
13423 \begin_inset Flex Code
13424 status collapsed
13425
13426 \begin_layout Plain Layout
13427
13428 \backslash
13429 item
13430 \end_layout
13431
13432 \end_inset
13433
13434 がこの環境のすべての段落に付けられるところだけが異なっています.
13435 \end_layout
13436
13437 \begin_layout Description
13438 \begin_inset Flex Code
13439 status collapsed
13440
13441 \begin_layout Plain Layout
13442 List_Environment
13443 \end_layout
13444
13445 \end_inset
13446
13447  は
13448 \begin_inset Flex Code
13449 status collapsed
13450
13451 \begin_layout Plain Layout
13452 Item_Environment
13453 \end_layout
13454
13455 \end_inset
13456
13457 と同じですが,
13458
13459 \begin_inset Flex Code
13460 status collapsed
13461
13462 \begin_layout Plain Layout
13463 LabelWidthString
13464 \end_layout
13465
13466 \end_inset
13467
13468 が環境の引数として渡されるところだけが異なっています.
13469 \begin_inset Flex Code
13470 status collapsed
13471
13472 \begin_layout Plain Layout
13473 LabelWidthString
13474 \end_layout
13475
13476 \end_inset
13477
13478 は,
13479
13480 \begin_inset Flex MenuItem
13481 status collapsed
13482
13483 \begin_layout Plain Layout
13484 編集\SpecialChar menuseparator
13485 段落設定
13486 \end_layout
13487
13488 \end_inset
13489
13490 ダイアログで定義することができます.
13491 \end_layout
13492
13493 \begin_layout Description
13494 \begin_inset Flex Code
13495 status collapsed
13496
13497 \begin_layout Plain Layout
13498 Bib_Environment
13499 \end_layout
13500
13501 \end_inset
13502
13503  は
13504 \begin_inset Flex Code
13505 status collapsed
13506
13507 \begin_layout Plain Layout
13508 Environment
13509 \end_layout
13510
13511 \end_inset
13512
13513 に似ていますが,
13514 以下のように,
13515 書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
13516 \begin_inset Newline newline
13517 \end_inset
13518
13519
13520 \begin_inset Flex Code
13521 status collapsed
13522
13523 \begin_layout Plain Layout
13524
13525 \backslash
13526 begin{thebibliography}{99}
13527 \end_layout
13528
13529 \end_inset
13530
13531
13532 \begin_inset Newline newline
13533 \end_inset
13534
13535 したがって,
13536 これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,
13537 書誌情報項目の段落設定で,
13538 ユーザーが変更することができます.
13539 \end_layout
13540
13541 \begin_layout Standard
13542 上記最後のいくつかをまとめると,
13543 \SpecialChar LaTeX
13544 出力は,
13545 \SpecialChar LaTeX
13546 型に依存して
13547 \end_layout
13548
13549 \begin_layout LyX-Code
13550
13551 \backslash
13552 LatexName[LatexParam]{\SpecialChar ldots
13553 }
13554 \end_layout
13555
13556 \begin_layout Standard
13557 のようになるか,
13558
13559 \end_layout
13560
13561 \begin_layout LyX-Code
13562
13563 \backslash
13564 begin{LatexName}[LatexParam] \SpecialChar ldots
13565  
13566 \backslash
13567 end{LatexName}.
13568 \end_layout
13569
13570 \begin_layout Standard
13571 となります.
13572 \end_layout
13573
13574 \end_deeper
13575 \begin_layout Description
13576 \begin_inset Flex Code
13577 status collapsed
13578
13579 \begin_layout Plain Layout
13580 LeftDelim
13581 \end_layout
13582
13583 \end_inset
13584
13585  [
13586 \begin_inset Flex Code
13587 status collapsed
13588
13589 \begin_layout Plain Layout
13590 文字列
13591 \end_layout
13592
13593 \end_inset
13594
13595 ] 様式の内容の最初に置かれる文字列.出力中の改行は
13596 \begin_inset Flex Code
13597 status collapsed
13598
13599 \begin_layout Plain Layout
13600 <br/>
13601 \end_layout
13602
13603 \end_inset
13604
13605 で指示できます.
13606 \end_layout
13607
13608 \begin_layout Description
13609 \begin_inset Flex Code
13610 status collapsed
13611
13612 \begin_layout Plain Layout
13613 LeftMargin
13614 \end_layout
13615
13616 \end_inset
13617
13618  [
13619 \begin_inset Flex Code
13620 status collapsed
13621
13622 \begin_layout Plain Layout
13623 文字列=""
13624 \end_layout
13625
13626 \end_inset
13627
13628 ] レイアウトを環境の中に入れた場合,
13629 左余白は単純に加えられるのではなく,
13630 因子
13631 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13632 \end_inset
13633
13634 をかけて加えられます.このパラメータは,
13635
13636 \begin_inset Flex Code
13637 status collapsed
13638
13639 \begin_layout Plain Layout
13640 Margin
13641 \end_layout
13642
13643 \end_inset
13644
13645
13646 \begin_inset Flex Code
13647 status collapsed
13648
13649 \begin_layout Plain Layout
13650 Manual
13651 \end_layout
13652
13653 \end_inset
13654
13655 あるいは
13656 \begin_inset Flex Code
13657 status collapsed
13658
13659 \begin_layout Plain Layout
13660 Dynamic
13661 \end_layout
13662
13663 \end_inset
13664
13665 に設定されているときにも用いられることに注意してください.その場合には,
13666 これは手動設定余白または動的設定余白に加えられることに注意してください.
13667 \begin_inset Newline newline
13668 \end_inset
13669
13670 たとえば「
13671 \begin_inset Flex Code
13672 status collapsed
13673
13674 \begin_layout Plain Layout
13675 MM
13676 \end_layout
13677
13678 \end_inset
13679
13680 」と指定すると,
13681 段落を通常フォントの「
13682 \begin_inset Flex Code
13683 status collapsed
13684
13685 \begin_layout Plain Layout
13686 MM
13687 \end_layout
13688
13689 \end_inset
13690
13691 」の幅だけ行頭下げを行います.文字列の前に「
13692 \begin_inset Flex Code
13693 status collapsed
13694
13695 \begin_layout Plain Layout
13696 -
13697 \end_layout
13698
13699 \end_inset
13700
13701 」を付けると,
13702 負の幅を与えることができます.この方法が採用されたのは,
13703 どの画面フォントでも見かけが同じになるようにするためです.
13704 \end_layout
13705
13706 \begin_layout Description
13707 \begin_inset Flex Code
13708 status collapsed
13709
13710 \begin_layout Plain Layout
13711 Margin
13712 \end_layout
13713
13714 \end_inset
13715
13716  [
13717 \begin_inset Flex Code
13718 status collapsed
13719
13720 \begin_layout Plain Layout
13721
13722 \emph on
13723 Static
13724 \emph default
13725 ,
13726  Manual,
13727  Dynamic,
13728  First_Dynamic,
13729  Right_Address_Box
13730 \end_layout
13731
13732 \end_inset
13733
13734
13735 \begin_inset Newline newline
13736 \end_inset
13737
13738 このレイアウトの左余白の種類です.
13739 \end_layout
13740
13741 \begin_deeper
13742 \begin_layout Description
13743 \begin_inset Flex Code
13744 status collapsed
13745
13746 \begin_layout Plain Layout
13747 Static
13748 \end_layout
13749
13750 \end_inset
13751
13752  は固定余白を示します.
13753 \end_layout
13754
13755 \begin_layout Description
13756 \begin_inset Flex Code
13757 status collapsed
13758
13759 \begin_layout Plain Layout
13760 Manual
13761 \end_layout
13762
13763 \end_inset
13764
13765  は,
13766 左余白が
13767 \begin_inset Flex MenuItem
13768 status collapsed
13769
13770 \begin_layout Plain Layout
13771 編集\SpecialChar menuseparator
13772 段落設定
13773 \end_layout
13774
13775 \end_inset
13776
13777 ダイアログで入力した文字列によって決められることを示します.これは,
13778 タブを用いずに整った一覧表を組むのに使用されます.
13779 \end_layout
13780
13781 \begin_layout Description
13782 \begin_inset Flex Code
13783 status collapsed
13784
13785 \begin_layout Plain Layout
13786 Dynamic
13787 \end_layout
13788
13789 \end_inset
13790
13791  は,
13792 余白がラベルの大きさに依存することを示します.これは,
13793 自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,
13794 「3.2 非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
13795 \end_layout
13796
13797 \begin_layout Description
13798 \begin_inset Flex Code
13799 status collapsed
13800
13801 \begin_layout Plain Layout
13802 First_Dynamic
13803 \end_layout
13804
13805 \end_inset
13806
13807  は似ていますが,
13808 段落の最初の行だけがDynamicでその他の行はStaticです.これは,
13809 たとえば,
13810 箇条書き(記述)に使用されます.
13811 \end_layout
13812
13813 \begin_layout Description
13814 \begin_inset Flex Code
13815 status collapsed
13816
13817 \begin_layout Plain Layout
13818 Right_Address_Box
13819 \end_layout
13820
13821 \end_inset
13822
13823  は,
13824 段落中,
13825 最も長い行が右余白に合うように余白を選択します.これは,
13826 ページの右端に住所を組版するのに用いられます.
13827 \end_layout
13828
13829 \end_deeper
13830 \begin_layout Description
13831 \begin_inset Flex Code
13832 status collapsed
13833
13834 \begin_layout Plain Layout
13835 NeedProtect
13836 \end_layout
13837
13838 \end_inset
13839
13840  [
13841 \begin_inset Flex Code
13842 status collapsed
13843
13844 \begin_layout Plain Layout
13845
13846 \emph on
13847 0
13848 \end_layout
13849
13850 \end_inset
13851
13852 ,
13853 \begin_inset space \thinspace{}
13854 \end_inset
13855
13856
13857 \begin_inset Flex Code
13858 status collapsed
13859
13860 \begin_layout Plain Layout
13861 1
13862 \end_layout
13863
13864 \end_inset
13865
13866 ] このレイアウト中の脆弱なコマンドが
13867 \begin_inset Flex Code
13868 status collapsed
13869
13870 \begin_layout Plain Layout
13871
13872 \backslash
13873 protect
13874 \end_layout
13875
13876 \end_inset
13877
13878 されるべきか否か(註:
13879 これはこのコマンド自体が
13880 \begin_inset Flex Code
13881 status collapsed
13882
13883 \begin_layout Plain Layout
13884
13885 \backslash
13886 protect
13887 \end_layout
13888
13889 \end_inset
13890
13891 されるべきかでは
13892 \begin_inset Flex 圏点
13893 status open
13894
13895 \begin_layout Plain Layout
13896 ありません
13897 \end_layout
13898
13899 \end_inset
13900
13901 ).
13902 \end_layout
13903
13904 \begin_layout Description
13905 \begin_inset Flex Code
13906 status collapsed
13907
13908 \begin_layout Plain Layout
13909 NeedCProtect
13910 \end_layout
13911
13912 \end_inset
13913
13914  [
13915 \begin_inset Flex Code
13916 status collapsed
13917
13918 \begin_layout Plain Layout
13919
13920 \emph on
13921 0
13922 \end_layout
13923
13924 \end_inset
13925
13926 ,
13927 \begin_inset space \thinspace{}
13928 \end_inset
13929
13930
13931 \begin_inset Flex Code
13932 status collapsed
13933
13934 \begin_layout Plain Layout
13935 1
13936 \end_layout
13937
13938 \end_inset
13939
13940 ] これは必要ならば,
13941 このレイアウトを含むマクロを
13942 \begin_inset Flex Code
13943 status collapsed
13944
13945 \begin_layout Plain Layout
13946
13947 \backslash
13948 cprotect
13949 \end_layout
13950
13951 \end_inset
13952
13953 (cf.
13954  
13955 \family sans
13956 cprotect
13957 \family default
13958 パッケージ)を用いて保護するようにし,
13959 マクロ中でverbatimを使えるようにします.
13960 \end_layout
13961
13962 \begin_layout Description
13963 \begin_inset Flex Code
13964 status collapsed
13965
13966 \begin_layout Plain Layout
13967 NeedMBoxProtect
13968 \end_layout
13969
13970 \end_inset
13971
13972  [
13973 \begin_inset Flex Code
13974 status collapsed
13975
13976 \begin_layout Plain Layout
13977
13978 \emph on
13979 0
13980 \end_layout
13981
13982 \end_inset
13983
13984 ,
13985 \begin_inset space \thinspace{}
13986 \end_inset
13987
13988
13989 \begin_inset Flex Code
13990 status collapsed
13991
13992 \begin_layout Plain Layout
13993 1
13994 \end_layout
13995
13996 \end_inset
13997
13998 ] この様式中の(
13999 \begin_inset Flex Code
14000 status collapsed
14001
14002 \begin_layout Plain Layout
14003
14004 \backslash
14005 cite
14006 \end_layout
14007
14008 \end_inset
14009
14010
14011 \begin_inset Flex Code
14012 status collapsed
14013
14014 \begin_layout Plain Layout
14015
14016 \backslash
14017 ref
14018 \end_layout
14019
14020 \end_inset
14021
14022 のような)特定のコマンドが
14023 \begin_inset Flex Code
14024 status collapsed
14025
14026 \begin_layout Plain Layout
14027
14028 \backslash
14029 mbox
14030 \end_layout
14031
14032 \end_inset
14033
14034 中で保護されるか否か.これは,
14035 中身を複雑な方法で解析する
14036 \family sans
14037 ulem
14038 \family default
14039
14040 \family sans
14041 soul
14042 \family default
14043 コマンドに頼る様式でとくに必要になります.
14044 \end_layout
14045
14046 \begin_layout Description
14047 \begin_inset Flex Code
14048 status collapsed
14049
14050 \begin_layout Plain Layout
14051 Newline
14052 \end_layout
14053
14054 \end_inset
14055
14056  [
14057 \begin_inset Flex Code
14058 status collapsed
14059
14060 \begin_layout Plain Layout
14061 0
14062 \end_layout
14063
14064 \end_inset
14065
14066 ,
14067 \begin_inset space \thinspace{}
14068 \end_inset
14069
14070
14071 \begin_inset Flex Code
14072 status collapsed
14073
14074 \begin_layout Plain Layout
14075
14076 \emph on
14077 1
14078 \end_layout
14079
14080 \end_inset
14081
14082 ] 新規行を\SpecialChar LaTeX
14083 の新規行(
14084 \begin_inset Flex Code
14085 status collapsed
14086
14087 \begin_layout Plain Layout
14088
14089 \backslash
14090
14091 \backslash
14092
14093 \end_layout
14094
14095 \end_inset
14096
14097 )に変換するか否か.\SpecialChar LyX
14098 中で\SpecialChar LaTeX
14099 編集をやりやすくするために,
14100 変換は無効にすることができます.
14101 \end_layout
14102
14103 \begin_layout Description
14104 \begin_inset Flex Code
14105 status collapsed
14106
14107 \begin_layout Plain Layout
14108 NextNoIndent
14109 \end_layout
14110
14111 \end_inset
14112
14113  [
14114 \begin_inset Flex Code
14115 status collapsed
14116
14117 \begin_layout Plain Layout
14118
14119 \emph on
14120 0
14121 \end_layout
14122
14123 \end_inset
14124
14125 ,
14126 \begin_inset space \thinspace{}
14127 \end_inset
14128
14129
14130 \begin_inset Flex Code
14131 status collapsed
14132
14133 \begin_layout Plain Layout
14134 1
14135 \end_layout
14136
14137 \end_inset
14138
14139 ] 真に設定すると,
14140
14141 \begin_inset Flex Code
14142 status collapsed
14143
14144 \begin_layout Plain Layout
14145 DefaultStyle
14146 \end_layout
14147
14148 \end_inset
14149
14150  (通常
14151 \begin_inset Flex Code
14152 status collapsed
14153
14154 \begin_layout Plain Layout
14155 Standard
14156 \end_layout
14157
14158 \end_inset
14159
14160 )段落が行頭下げになっている場合でも,
14161 この型の段落に続くそれらの段落は,
14162 字下げされません(逆に言えば,
14163 既定でない段落には影響を与えません).
14164 \end_layout
14165
14166 \begin_layout Description
14167 \begin_inset Flex Code
14168 status collapsed
14169
14170 \begin_layout Plain Layout
14171 ObsoletedBy
14172 \end_layout
14173
14174 \end_inset
14175
14176  [
14177 \begin_inset Flex Code
14178 status collapsed
14179
14180 \begin_layout Plain Layout
14181 <名称>
14182 \end_layout
14183
14184 \end_inset
14185
14186 ] このレイアウトが置き換えられたレイアウト名.これは,
14187 後方互換性を維持しながら,
14188 レイアウトの名称を変更するのに使用されます.
14189 \end_layout
14190
14191 \begin_layout Description
14192 \begin_inset Flex Code
14193 status collapsed
14194
14195 \begin_layout Plain Layout
14196 ParagraphGroup
14197 \end_layout
14198
14199 \end_inset
14200
14201  [
14202 \begin_inset Flex Code
14203 status collapsed
14204
14205 \begin_layout Plain Layout
14206 0
14207 \end_layout
14208
14209 \end_inset
14210
14211 ,
14212 \begin_inset space \thinspace{}
14213 \end_inset
14214
14215
14216 \begin_inset Flex Code
14217 status collapsed
14218
14219 \begin_layout Plain Layout
14220 1
14221 \end_layout
14222
14223 \end_inset
14224
14225 ] 同じ型の段落が引き続く場合,
14226 同じ段落として取り扱うか否かを決定します.これは,
14227 そのような連続グループに対して,
14228
14229 \begin_inset Flex Code
14230 status collapsed
14231
14232 \begin_layout Plain Layout
14233 GuiLabel
14234 \end_layout
14235
14236 \end_inset
14237
14238 が一度だけ出力される効果があります.既定では,
14239
14240 \begin_inset Flex Code
14241 status collapsed
14242
14243 \begin_layout Plain Layout
14244 LaTeXType
14245 \end_layout
14246
14247 \end_inset
14248
14249
14250
14251 \begin_inset Flex Code
14252 status collapsed
14253
14254 \begin_layout Plain Layout
14255 Environment
14256 \end_layout
14257
14258 \end_inset
14259
14260 および
14261 \begin_inset Flex Code
14262 status collapsed
14263
14264 \begin_layout Plain Layout
14265 Bib_Environment
14266 \end_layout
14267
14268 \end_inset
14269
14270  については有効であり,
14271 他の型すべてについて無効になっています.
14272 \end_layout
14273
14274 \begin_layout Description
14275 \begin_inset Flex Code
14276 status collapsed
14277
14278 \begin_layout Plain Layout
14279 ParbreakIsNewline
14280 \end_layout
14281
14282 \end_inset
14283
14284  [
14285 \begin_inset Flex Code
14286 status collapsed
14287
14288 \begin_layout Plain Layout
14289
14290 \emph on
14291 0
14292 \end_layout
14293
14294 \end_inset
14295
14296 ,
14297 \begin_inset space \thinspace{}
14298 \end_inset
14299
14300
14301 \begin_inset Flex Code
14302 status collapsed
14303
14304 \begin_layout Plain Layout
14305 1
14306 \end_layout
14307
14308 \end_inset
14309
14310 ] \SpecialChar LaTeX
14311 出力中で,
14312 段落を空行ではなく,
14313 改行で区切るよう指定します.
14314 \begin_inset Flex Code
14315 status collapsed
14316
14317 \begin_layout Plain Layout
14318 PassThru 1
14319 \end_layout
14320
14321 \end_inset
14322
14323 と併用すれば,
14324 (\SpecialChar TeX
14325 コードを使用したときのように)テキストエディタをエミュレートすることができます.
14326 \end_layout
14327
14328 \begin_layout Description
14329 \begin_inset Flex Code
14330 status collapsed
14331
14332 \begin_layout Plain Layout
14333 ParIndent
14334 \end_layout
14335
14336 \end_inset
14337
14338  [
14339 \begin_inset Flex Code
14340 status collapsed
14341
14342 \begin_layout Plain Layout
14343 文字列=""
14344 \end_layout
14345
14346 \end_inset
14347
14348 ] 段落の最初の行の行頭下げ.レイアウトによっては
14349 \begin_inset Flex Code
14350 status collapsed
14351
14352 \begin_layout Plain Layout
14353 Parindent
14354 \end_layout
14355
14356 \end_inset
14357
14358 は固定されています.例外には標準レイアウトがあり,
14359 標準レイアウトの段落の行頭下げは,
14360
14361 \begin_inset Flex Code
14362 status collapsed
14363
14364 \begin_layout Plain Layout
14365 NextNoIndent
14366 \end_layout
14367
14368 \end_inset
14369
14370 で禁止することができるようになっています.また,
14371 環境中の標準レイアウト段落は,
14372 当該段落の
14373 \begin_inset Flex Code
14374 status collapsed
14375
14376 \begin_layout Plain Layout
14377 Parindent
14378 \end_layout
14379
14380 \end_inset
14381
14382 ではなく,
14383 この環境の
14384 \begin_inset Flex Code
14385 status collapsed
14386
14387 \begin_layout Plain Layout
14388 Parindent
14389 \end_layout
14390
14391 \end_inset
14392
14393 を使用します.たとえば,
14394 箇条書き(連番)内の標準段落は,
14395 行頭下げされません.
14396 \end_layout
14397
14398 \begin_layout Description
14399 \begin_inset Flex Code
14400 status collapsed
14401
14402 \begin_layout Plain Layout
14403 ParSep
14404 \end_layout
14405
14406 \end_inset
14407
14408  [
14409 \begin_inset Flex Code
14410 status collapsed
14411
14412 \begin_layout Plain Layout
14413 浮動小数点型=0
14414 \end_layout
14415
14416 \end_inset
14417
14418 ] このレイアウトの2段落間の垂直余白.
14419 \end_layout
14420
14421 \begin_layout Description
14422 \begin_inset Flex Code
14423 status collapsed
14424
14425 \begin_layout Plain Layout
14426 Parskip
14427 \end_layout
14428
14429 \end_inset
14430
14431  [
14432 \begin_inset Flex Code
14433 status collapsed
14434
14435 \begin_layout Plain Layout
14436 浮動小数点型=0
14437 \end_layout
14438
14439 \end_inset
14440
14441 ] \SpecialChar LyX
14442 では,
14443 文書を組版するのに,
14444 ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,
14445 この値は完全に無視されます.「スキップ」を選択した際には,
14446 \SpecialChar LaTeX
14447 型「段落」レイアウトの
14448 \begin_inset Flex Code
14449 status collapsed
14450
14451 \begin_layout Plain Layout
14452 ParIndent
14453 \end_layout
14454
14455 \end_inset
14456
14457 は無視され,
14458 すべての段落はこの
14459 \begin_inset Flex Code
14460 status collapsed
14461
14462 \begin_layout Plain Layout
14463 Parskip
14464 \end_layout
14465
14466 \end_inset
14467
14468 引数分だけ引き離されます.垂直余白は,
14469
14470 \begin_inset Flex Code
14471 status collapsed
14472
14473 \begin_layout Plain Layout
14474 DefaultHeight
14475 \end_layout
14476
14477 \end_inset
14478
14479 を標準フォントでの1行の高さとすると,
14480
14481 \begin_inset Flex Code
14482 status collapsed
14483
14484 \begin_layout Plain Layout
14485 Parskipの値
14486 \end_layout
14487
14488 \end_inset
14489
14490
14491 \begin_inset Formula $\times$
14492 \end_inset
14493
14494
14495 \begin_inset Flex Code
14496 status collapsed
14497
14498 \begin_layout Plain Layout
14499 DefaultHeight
14500 \end_layout
14501
14502 \end_inset
14503
14504 によって計算されます.このようにして,
14505 画面フォントを変更しても同じように表示されるのです.
14506 \end_layout
14507
14508 \begin_layout Description
14509 \begin_inset Flex Code
14510 status collapsed
14511
14512 \begin_layout Plain Layout
14513 PassThru
14514 \end_layout
14515
14516 \end_inset
14517
14518  [
14519 \emph on
14520
14521 \begin_inset Flex Code
14522 status collapsed
14523
14524 \begin_layout Plain Layout
14525 0
14526 \end_layout
14527
14528 \end_inset
14529
14530
14531 \emph default
14532 ,
14533 \begin_inset space \thinspace{}
14534 \end_inset
14535
14536
14537 \begin_inset Flex Code
14538 status collapsed
14539
14540 \begin_layout Plain Layout
14541 1
14542 \end_layout
14543
14544 \end_inset
14545
14546 ] この段落の内容が,
14547 \SpecialChar LaTeX
14548 が必要とするような特別な変換を行わずに,
14549 生の形で出力されるべきかどうか.
14550 \end_layout
14551
14552 \begin_layout Description
14553 \begin_inset Flex Code
14554 status collapsed
14555
14556 \begin_layout Plain Layout
14557 PassThruChars
14558 \end_layout
14559
14560 \end_inset
14561
14562  [
14563 \begin_inset Flex Code
14564 status collapsed
14565
14566 \begin_layout Plain Layout
14567 文字列
14568 \end_layout
14569
14570 \end_inset
14571
14572 ]
14573 \family typewriter
14574  
14575 \family default
14576 \SpecialChar LaTeX
14577 が要請する特別な翻訳なしで.生の形で出力されるべき,
14578 それぞれの文字を定義します.
14579 \end_layout
14580
14581 \begin_layout Description
14582 \begin_inset Flex Code
14583 status collapsed
14584
14585 \begin_layout Plain Layout
14586 Preamble
14587 \end_layout
14588
14589 \end_inset
14590
14591  この様式が使用されたときに,
14592 \SpecialChar LaTeX
14593 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,
14594 パッケージを読み込んだりと言ったことに使用します.「
14595 \begin_inset Flex Code
14596 status collapsed
14597
14598 \begin_layout Plain Layout
14599 EndPreamble
14600 \end_layout
14601
14602 \end_inset
14603
14604 」で閉じる必要があります.
14605 \end_layout
14606
14607 \begin_layout Description
14608 \begin_inset Flex Code
14609 status collapsed
14610
14611 \begin_layout Plain Layout
14612 RefPrefix
14613 \end_layout
14614
14615 \end_inset
14616
14617  [
14618 \begin_inset Flex Code
14619 status collapsed
14620
14621 \begin_layout Plain Layout
14622 文字列
14623 \end_layout
14624
14625 \end_inset
14626
14627 ] この型の段落を参照する際,
14628 生成されるラベルに使用する前置句.これによって,
14629 整形参照を使用することができるようになります.
14630 \end_layout
14631
14632 \begin_layout Description
14633 \begin_inset Flex Code
14634 status collapsed
14635
14636 \begin_layout Plain Layout
14637 Requires
14638 \end_layout
14639
14640 \end_inset
14641
14642  [
14643 \begin_inset Flex Code
14644 status collapsed
14645
14646 \begin_layout Plain Layout
14647 文字列
14648 \end_layout
14649
14650 \end_inset
14651
14652 ] この様式が機能
14653 \begin_inset Flex Code
14654 status collapsed
14655
14656 \begin_layout Plain Layout
14657 文字列
14658 \end_layout
14659
14660 \end_inset
14661
14662 を必要とするかどうか(機能詳細については,
14663
14664 \begin_inset CommandInset ref
14665 LatexCommand ref
14666 reference "chap:関数一覧"
14667 nolink "false"
14668
14669 \end_inset
14670
14671 節参照).特定のオプションをとるパッケージを要求する場合,
14672
14673 \begin_inset Flex Code
14674 status collapsed
14675
14676 \begin_layout Plain Layout
14677 PackageOptions
14678 \end_layout
14679
14680 \end_inset
14681
14682 を汎用テキストクラスパラメータとして追加して使うことができます(
14683 \begin_inset CommandInset ref
14684 LatexCommand ref
14685 reference "subsec:汎用テキストクラスパラメータ"
14686 nolink "false"
14687
14688 \end_inset
14689
14690 を参照).
14691 \end_layout
14692
14693 \begin_layout Description
14694 \begin_inset Flex Code
14695 status collapsed
14696
14697 \begin_layout Plain Layout
14698 ResetArgs
14699 \end_layout
14700
14701 \end_inset
14702
14703  [
14704 \begin_inset Flex Code
14705 status collapsed
14706
14707 \begin_layout Plain Layout
14708
14709 \emph on
14710 0
14711 \end_layout
14712
14713 \end_inset
14714
14715 ,
14716 \begin_inset Flex Code
14717 status collapsed
14718
14719 \begin_layout Plain Layout
14720 1
14721 \end_layout
14722
14723 \end_inset
14724
14725 ] (
14726 \begin_inset Flex Code
14727 status collapsed
14728
14729 \begin_layout Plain Layout
14730 Argument
14731 \end_layout
14732
14733 \end_inset
14734
14735 タグで定義された)この様式の\SpecialChar LaTeX
14736 引数をリセットします.これは,
14737 様式を
14738 \begin_inset Flex Code
14739 status collapsed
14740
14741 \begin_layout Plain Layout
14742 CopyStyle
14743 \end_layout
14744
14745 \end_inset
14746
14747 でコピーし,
14748 その(必須及び非必須)引数は継承したくない場合に便利です.
14749 \end_layout
14750
14751 \begin_layout Description
14752 \begin_inset Flex Code
14753 status collapsed
14754
14755 \begin_layout Plain Layout
14756 ResumeCounter
14757 \end_layout
14758
14759 \end_inset
14760
14761  [
14762 \begin_inset Flex Code
14763 status collapsed
14764
14765 \begin_layout Plain Layout
14766
14767 \emph on
14768 0
14769 \end_layout
14770
14771 \end_inset
14772
14773 ,
14774 \begin_inset Flex Code
14775 status collapsed
14776
14777 \begin_layout Plain Layout
14778 1
14779 \end_layout
14780
14781 \end_inset
14782
14783 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
14784
14785 \begin_inset Flex Code
14786 status collapsed
14787
14788 \begin_layout Plain Layout
14789 LabelType
14790 \end_layout
14791
14792 \end_inset
14793
14794
14795 \begin_inset Flex Code
14796 status collapsed
14797
14798 \begin_layout Plain Layout
14799 Enumerate
14800 \end_layout
14801
14802 \end_inset
14803
14804 の時のみ有効です.
14805 \end_layout
14806
14807 \begin_layout Description
14808 \begin_inset Flex Code
14809 status collapsed
14810
14811 \begin_layout Plain Layout
14812 RightDelim
14813 \end_layout
14814
14815 \end_inset
14816
14817  [
14818 \begin_inset Flex Code
14819 status collapsed
14820
14821 \begin_layout Plain Layout
14822 文字列
14823 \end_layout
14824
14825 \end_inset
14826
14827 ] 様式の内容の最後に置かれる文字列.出力中の改行は
14828 \begin_inset Flex Code
14829 status collapsed
14830
14831 \begin_layout Plain Layout
14832 <br/>
14833 \end_layout
14834
14835 \end_inset
14836
14837 で指示できます.
14838 \end_layout
14839
14840 \begin_layout Description
14841 \begin_inset Flex Code
14842 status collapsed
14843
14844 \begin_layout Plain Layout
14845 RightMargin
14846 \end_layout
14847
14848 \end_inset
14849
14850  [
14851 \begin_inset Flex Code
14852 status collapsed
14853
14854 \begin_layout Plain Layout
14855 文字列=""
14856 \end_layout
14857
14858 \end_inset
14859
14860
14861 \begin_inset Flex Code
14862 status collapsed
14863
14864 \begin_layout Plain Layout
14865 LeftMargin
14866 \end_layout
14867
14868 \end_inset
14869
14870 に同様.
14871 \end_layout
14872
14873 \begin_layout Description
14874 \begin_inset Flex Code
14875 status collapsed
14876
14877 \begin_layout Plain Layout
14878 Spacing
14879 \end_layout
14880
14881 \end_inset
14882
14883  [
14884 \begin_inset Flex Code
14885 status collapsed
14886
14887 \begin_layout Plain Layout
14888
14889 \emph on
14890 single
14891 \end_layout
14892
14893 \end_inset
14894
14895 ,
14896  
14897 \begin_inset Flex Code
14898 status collapsed
14899
14900 \begin_layout Plain Layout
14901 onehalf
14902 \end_layout
14903
14904 \end_inset
14905
14906 ,
14907  
14908 \begin_inset Flex Code
14909 status collapsed
14910
14911 \begin_layout Plain Layout
14912 double
14913 \end_layout
14914
14915 \end_inset
14916
14917 ,
14918  
14919 \begin_inset Flex Code
14920 status collapsed
14921
14922 \begin_layout Plain Layout
14923 other
14924 \begin_inset space ~
14925 \end_inset
14926
14927 <
14928 \emph on
14929
14930 \emph default
14931 >
14932 \end_layout
14933
14934 \end_inset
14935
14936 ]
14937 \lang english
14938  
14939 \lang japanese
14940 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
14941 \begin_inset Flex Code
14942 status collapsed
14943
14944 \begin_layout Plain Layout
14945 single
14946 \end_layout
14947
14948 \end_inset
14949
14950
14951 \begin_inset Flex Code
14952 status collapsed
14953
14954 \begin_layout Plain Layout
14955 onehalf
14956 \end_layout
14957
14958 \end_inset
14959
14960
14961 \begin_inset Flex Code
14962 status collapsed
14963
14964 \begin_layout Plain Layout
14965 double
14966 \end_layout
14967
14968 \end_inset
14969
14970 は,
14971 それぞれ乗数1・1.25・1.667に対応します.引数
14972 \begin_inset Flex Code
14973 status collapsed
14974
14975 \begin_layout Plain Layout
14976 other
14977 \end_layout
14978
14979 \end_inset
14980
14981 を指定した場合には,
14982 実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
14983 \begin_inset Flex Code
14984 status collapsed
14985
14986 \begin_layout Plain Layout
14987 Spacing
14988 \end_layout
14989
14990 \end_inset
14991
14992 は,
14993 \SpecialChar LaTeX
14994 パッケージ
14995 \begin_inset Flex Code
14996 status collapsed
14997
14998 \begin_layout Plain Layout
14999 setspace
15000 \end_layout
15001
15002 \end_inset
15003
15004 パッケージを使用した,
15005 限定的な\SpecialChar LaTeX
15006 コードを生成することを意味することにご注意ください.
15007 \end_layout
15008
15009 \begin_layout Description
15010 \begin_inset Flex Code
15011 status collapsed
15012
15013 \begin_layout Plain Layout
15014 Spellcheck
15015 \end_layout
15016
15017 \end_inset
15018
15019  [
15020 \begin_inset Flex Code
15021 status collapsed
15022
15023 \begin_layout Plain Layout
15024 0
15025 \end_layout
15026
15027 \end_inset
15028
15029 ,
15030 \begin_inset space \thinspace{}
15031 \end_inset
15032
15033
15034 \begin_inset Flex Code
15035 status collapsed
15036
15037 \begin_layout Plain Layout
15038 1
15039 \end_layout
15040
15041 \end_inset
15042
15043 ] この様式の段落をスペルチェックするか否か.既定値は真です.
15044 \end_layout
15045
15046 \begin_layout Description
15047 \begin_inset Flex Code
15048 status collapsed
15049
15050 \begin_layout Plain Layout
15051 StepParentCounter
15052 \end_layout
15053
15054 \end_inset
15055
15056  [
15057 \begin_inset Flex Code
15058 status collapsed
15059
15060 \begin_layout Plain Layout
15061
15062 \emph on
15063 0
15064 \end_layout
15065
15066 \end_inset
15067
15068 ,
15069 \begin_inset Flex Code
15070 status collapsed
15071
15072 \begin_layout Plain Layout
15073 1
15074 \end_layout
15075
15076 \end_inset
15077
15078 ] 新しいレイアウト群を開始する際に,
15079 このカウンタの親カウンタを進めるか否か.これは,
15080 現在のところ,
15081
15082 \begin_inset Flex Code
15083 status collapsed
15084
15085 \begin_layout Plain Layout
15086 LabelType
15087 \end_layout
15088
15089 \end_inset
15090
15091
15092 \begin_inset Flex Code
15093 status collapsed
15094
15095 \begin_layout Plain Layout
15096 Enumerate
15097 \end_layout
15098
15099 \end_inset
15100
15101 の時のみ有効です.
15102 \end_layout
15103
15104 \begin_layout Description
15105 \begin_inset Flex Code
15106 status collapsed
15107
15108 \begin_layout Plain Layout
15109 TextFont
15110 \end_layout
15111
15112 \end_inset
15113
15114  本文に使うフォント.第
15115 \begin_inset CommandInset ref
15116 LatexCommand ref
15117 reference "subsec:フォント指定"
15118 nolink "false"
15119
15120 \end_inset
15121
15122 節参照.
15123 \end_layout
15124
15125 \begin_layout Description
15126 \begin_inset Flex Code
15127 status collapsed
15128
15129 \begin_layout Plain Layout
15130 TocLevel
15131 \end_layout
15132
15133 \end_inset
15134
15135  [
15136 \begin_inset Flex Code
15137 status collapsed
15138
15139 \begin_layout Plain Layout
15140 整数型=3
15141 \end_layout
15142
15143 \end_inset
15144
15145 ] 目次中でのこの様式の階層.これは,
15146 節見出しの自動連番に使用されます.
15147 \end_layout
15148
15149 \begin_layout Description
15150 \begin_inset Flex Code
15151 status collapsed
15152
15153 \begin_layout Plain Layout
15154 ToggleIndent
15155 \end_layout
15156
15157 \end_inset
15158
15159  [
15160 \emph on
15161
15162 \begin_inset Flex Code
15163 status collapsed
15164
15165 \begin_layout Plain Layout
15166 default
15167 \end_layout
15168
15169 \end_inset
15170
15171
15172 \emph default
15173 ,
15174  
15175 \begin_inset Flex Code
15176 status collapsed
15177
15178 \begin_layout Plain Layout
15179 always
15180 \end_layout
15181
15182 \end_inset
15183
15184 ,
15185  
15186 \begin_inset Flex Code
15187 status collapsed
15188
15189 \begin_layout Plain Layout
15190 never
15191 \end_layout
15192
15193 \end_inset
15194
15195 ] このタグは,
15196 この段落の1行目の行頭下げが,
15197 段落設定ダイアログで切り替えられるかどうかを決めます.
15198 \begin_inset Flex Code
15199 status collapsed
15200
15201 \begin_layout Plain Layout
15202 default
15203 \end_layout
15204
15205 \end_inset
15206
15207 が指定されると,
15208 文書設定が「行頭下げ」段落様式を使用しているときに,
15209 行頭下げを変更することができます.
15210 \begin_inset Flex Code
15211 status collapsed
15212
15213 \begin_layout Plain Layout
15214 always
15215 \end_layout
15216
15217 \end_inset
15218
15219 は,
15220 文書設定にかかわらず変更することができ,
15221
15222 \begin_inset Flex Code
15223 status collapsed
15224
15225 \begin_layout Plain Layout
15226 never
15227 \end_layout
15228
15229 \end_inset
15230
15231 は,
15232 どのような場合でも変更することができません.
15233 \end_layout
15234
15235 \begin_layout Description
15236 \begin_inset Flex Code
15237 status collapsed
15238
15239 \begin_layout Plain Layout
15240 TopSep
15241 \end_layout
15242
15243 \end_inset
15244
15245  [
15246 \begin_inset Flex Code
15247 status collapsed
15248
15249 \begin_layout Plain Layout
15250 浮動小数点型=0
15251 \end_layout
15252
15253 \end_inset
15254
15255 ] このレイアウトを持つ一連の段落群の最初の段落と,
15256 その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,
15257 余白は単純に追加されるのではなく,
15258 それらの最大値がとられます.
15259 \end_layout
15260
15261 \begin_layout Subsection
15262 段落様式の国際化
15263 \begin_inset CommandInset label
15264 LatexCommand label
15265 name "subsec:段落様式の国際化"
15266
15267 \end_inset
15268
15269
15270 \end_layout
15271
15272 \begin_layout Standard
15273 \SpecialChar LyX
15274 は,
15275 長きにわたってレイアウト情報の国際化をサポートしてきましたが,
15276 第2.0版までは,
15277 これは操作画面にのみ適用されるものであって,
15278 たとえばPDF出力には適用されませんでした.たとえば,
15279 フランスの著者が,
15280 「Theorem 1」の代わりに「
15281 \lang french
15282 Théorème
15283 \lang japanese
15284  1」としたければ,
15285 醜いハックに頼るしかありませんでした.Georg Baumのおかげで,
15286 これは解消されました.
15287 \end_layout
15288
15289 \begin_layout Standard
15290 もし
15291 \begin_inset Flex MenuItem
15292 status collapsed
15293
15294 \begin_layout Plain Layout
15295 Style
15296 \end_layout
15297
15298 \end_inset
15299
15300 が,
15301 組版文書に出力される文字列を定義するのであれば,
15302 非英語文書や複数言語文書をサポートするために,
15303
15304 \begin_inset Flex MenuItem
15305 status collapsed
15306
15307 \begin_layout Plain Layout
15308 LangPreamble
15309 \end_layout
15310
15311 \end_inset
15312
15313
15314 \begin_inset Flex MenuItem
15315 status collapsed
15316
15317 \begin_layout Plain Layout
15318 BabelPreamble
15319 \end_layout
15320
15321 \end_inset
15322
15323 を使用することができます.以下の抜粋(
15324 \begin_inset Flex MenuItem
15325 status collapsed
15326
15327 \begin_layout Plain Layout
15328 theorems-ams.inc
15329 \end_layout
15330
15331 \end_inset
15332
15333 より)は,
15334 これがどう動作するかを示すものです.
15335 \end_layout
15336
15337 \begin_layout LyX-Code
15338 Preamble
15339 \end_layout
15340
15341 \begin_deeper
15342 \begin_layout LyX-Code
15343   
15344 \backslash
15345 theoremstyle{remark}
15346 \end_layout
15347
15348 \begin_layout LyX-Code
15349   
15350 \backslash
15351 newtheorem{claim}[thm]{
15352 \backslash
15353 protect
15354 \backslash
15355 claimname}
15356 \end_layout
15357
15358 \begin_layout LyX-Code
15359 EndPreamble
15360 \end_layout
15361
15362 \begin_layout LyX-Code
15363 LangPreamble
15364 \end_layout
15365
15366 \begin_layout LyX-Code
15367   
15368 \backslash
15369 providecommand{
15370 \backslash
15371 claimname}{_(Claim)}
15372 \end_layout
15373
15374 \begin_layout LyX-Code
15375 EndLangPreamble
15376 \end_layout
15377
15378 \begin_layout LyX-Code
15379 BabelPreamble
15380 \end_layout
15381
15382 \begin_layout LyX-Code
15383     
15384 \backslash
15385 addto
15386 \backslash
15387 captions$$lang{
15388 \backslash
15389 renewcommand{
15390 \backslash
15391 claimname}{_(Claim)}}
15392 \end_layout
15393
15394 \begin_layout LyX-Code
15395 EndBabelPreamble
15396 \end_layout
15397
15398 \end_deeper
15399 \begin_layout Standard
15400 原則として,
15401
15402 \begin_inset Flex MenuItem
15403 status collapsed
15404
15405 \begin_layout Plain Layout
15406 LangPreamble
15407 \end_layout
15408
15409 \end_inset
15410
15411
15412 \begin_inset Flex MenuItem
15413 status collapsed
15414
15415 \begin_layout Plain Layout
15416 BabelPreamble
15417 \end_layout
15418
15419 \end_inset
15420
15421 タグ内には,
15422 有効な\SpecialChar LaTeX
15423 コードはすべて用いることができますが,
15424 実際においては,
15425 ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるのは,
15426 \SpecialChar LaTeX
15427 コマンド
15428 \begin_inset Flex Code
15429 status collapsed
15430
15431 \begin_layout Plain Layout
15432
15433 \backslash
15434 claimname
15435 \end_layout
15436
15437 \end_inset
15438
15439 とその
15440 \begin_inset Flex Code
15441 status collapsed
15442
15443 \begin_layout Plain Layout
15444
15445 \backslash
15446 newtheorem
15447 \end_layout
15448
15449 \end_inset
15450
15451 中での用い方です.
15452 \end_layout
15453
15454 \begin_layout Standard
15455 \begin_inset Flex Code
15456 status collapsed
15457
15458 \begin_layout Plain Layout
15459 LangPreamble
15460 \end_layout
15461
15462 \end_inset
15463
15464 タグは,
15465 文書全体の言語に基づいた国際化を提供します.タグの内容は,
15466
15467 \begin_inset Flex Code
15468 status collapsed
15469
15470 \begin_layout Plain Layout
15471 Preamble
15472 \end_layout
15473
15474 \end_inset
15475
15476 タグと同様,
15477 プリアンブルに置かれるのですが,
15478 これを特別なものにしているのは,
15479 「関数」
15480 \begin_inset Flex Code
15481 status collapsed
15482
15483 \begin_layout Plain Layout
15484 _()
15485 \end_layout
15486
15487 \end_inset
15488
15489 が使用されていることです.これは,
15490 \SpecialChar LyX
15491 が\SpecialChar LaTeX
15492 出力を生成する際,
15493 その引数を文書言語に翻訳したもので置き換えられます.
15494 \end_layout
15495
15496 \begin_layout Standard
15497 \begin_inset Flex Code
15498 status collapsed
15499
15500 \begin_layout Plain Layout
15501 BabelPreamble
15502 \end_layout
15503
15504 \end_inset
15505
15506 タグは,
15507 複数言語文書をサポートし,
15508
15509 \begin_inset Flex Code
15510 status collapsed
15511
15512 \begin_layout Plain Layout
15513 babel
15514 \end_layout
15515
15516 \end_inset
15517
15518 パッケージへのインタフェースを提供することを意図しているので,
15519 もう少し複雑です.その内容は,
15520 文書に現れる言語それぞれについて一度,
15521 プリアンブルに追加されます.この場合には,
15522
15523 \begin_inset Flex Code
15524 status collapsed
15525
15526 \begin_layout Plain Layout
15527 _()
15528 \end_layout
15529
15530 \end_inset
15531
15532 の引数は,
15533 その当該言語への翻訳で置き換えられ,
15534
15535 \begin_inset Flex Code
15536 status collapsed
15537
15538 \begin_layout Plain Layout
15539 $$lang
15540 \end_layout
15541
15542 \end_inset
15543
15544 は言語名(babelパッケージで使用されるもの)で置き換えられます.
15545 \end_layout
15546
15547 \begin_layout Standard
15548 したがって,
15549 フランス語のセクションを持つドイツ語文書では,
15550 以下のような内容がプリアンブルに追加されます
15551 \end_layout
15552
15553 \begin_layout LyX-Code
15554
15555 \backslash
15556 addto
15557 \backslash
15558 captionsfrench{
15559 \backslash
15560 renewcommand{
15561 \backslash
15562 claimname}{Affirmation}}
15563 \begin_inset Newline newline
15564 \end_inset
15565
15566
15567 \backslash
15568 addto
15569 \backslash
15570 captionsngerman{
15571 \backslash
15572 renewcommand{
15573 \backslash
15574 claimname}{Behauptung}}
15575 \begin_inset Newline newline
15576 \end_inset
15577
15578
15579 \backslash
15580 providecommand{
15581 \backslash
15582 claimname}{Behauptung}
15583 \end_layout
15584
15585 \begin_layout Standard
15586 それから,
15587 \SpecialChar LaTeX
15588
15589 \begin_inset Flex Code
15590 status collapsed
15591
15592 \begin_layout Plain Layout
15593 babel
15594 \end_layout
15595
15596 \end_inset
15597
15598 は協力して,
15599 出力に正しい文字列を生成します.
15600 \end_layout
15601
15602 \begin_layout Standard
15603 ここで注意しておくべき一つの重要な点は,
15604 翻訳は,
15605
15606 \begin_inset Flex Code
15607 status collapsed
15608
15609 \begin_layout Plain Layout
15610 layouttranslations
15611 \end_layout
15612
15613 \end_inset
15614
15615 ファイルを通じて,
15616 \SpecialChar LyX
15617 自身によって提供されるということです.つまり,
15618 ユーザー作成のレイアウトファイルに入力された文字列は,
15619
15620 \begin_inset Flex Code
15621 status collapsed
15622
15623 \begin_layout Plain Layout
15624 layouttranslations
15625 \end_layout
15626
15627 \end_inset
15628
15629 ファイルをそれに応じて変更しない限り,
15630 \SpecialChar LyX
15631 の国際化ルーチンでは取り扱われないので,
15632
15633 \begin_inset Flex MenuItem
15634 status collapsed
15635
15636 \begin_layout Plain Layout
15637 LangPreamble
15638 \end_layout
15639
15640 \end_inset
15641
15642
15643 \begin_inset Flex MenuItem
15644 status collapsed
15645
15646 \begin_layout Plain Layout
15647 BabelPreamble
15648 \end_layout
15649
15650 \end_inset
15651
15652 は,
15653 事実上,
15654 \SpecialChar LyX
15655 とともに提供されるレイアウトファイルでのみ,
15656 使うことができるということを意味します.とはいえ,
15657 こういうことでありますので,
15658 将来的に\SpecialChar LyX
15659 に同梱させようという意図を以て作成されたレイアウトは,
15660 適切なところではすべて,
15661 これらのタグを使用するべきです.\SpecialChar LyX
15662 が提供する段落様式の翻訳は,
15663 マイナー更新(例えば2.1.x版から2.1.y版)では変更されないことに注意してください.しかしながら,
15664 メジャー更新(例えば2.0.x版から2.1.y版)では,
15665 新しい翻訳や修正が導入される可能性は大いにあります.
15666 \end_layout
15667
15668 \begin_layout Subsection
15669 フロート
15670 \begin_inset CommandInset label
15671 LatexCommand label
15672 name "subsec:フロート"
15673
15674 \end_inset
15675
15676
15677 \end_layout
15678
15679 \begin_layout Standard
15680 \SpecialChar LyX
15681 第1.3.0版以来,
15682 テキストクラス自体の中でフロート(
15683 \begin_inset Flex MenuItem
15684 status collapsed
15685
15686 \begin_layout Plain Layout
15687 figure
15688 \end_layout
15689
15690 \end_inset
15691
15692
15693 \begin_inset Flex MenuItem
15694 status collapsed
15695
15696 \begin_layout Plain Layout
15697 table
15698 \end_layout
15699
15700 \end_inset
15701
15702 ・\SpecialChar ldots
15703 )を定義することが可能となり,
15704 かつ必要となりました.標準的なフロートは
15705 \begin_inset Flex Code
15706 status collapsed
15707
15708 \begin_layout Plain Layout
15709 stdfloats.inc
15710 \end_layout
15711
15712 \end_inset
15713
15714 ファイルに含まれているので,
15715 作業中のレイアウトファイルに
15716 \end_layout
15717
15718 \begin_layout LyX-Code
15719 Input stdfloats.inc
15720 \end_layout
15721
15722 \begin_layout Standard
15723 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
15724 に同梱されているAGUクラスのように,
15725 それ以外のフロート型を提供するテキストクラスを実装するには,
15726 以下の情報が役立つでありましょう.
15727 \end_layout
15728
15729 \begin_layout Description
15730 \begin_inset Flex Code
15731 status collapsed
15732
15733 \begin_layout Plain Layout
15734 AllowedPlacement
15735 \end_layout
15736
15737 \end_inset
15738
15739  [
15740 \begin_inset Flex Code
15741 status collapsed
15742
15743 \begin_layout Plain Layout
15744 文字列
15745 \end_layout
15746
15747 \end_inset
15748
15749 =!htbpH] このフロート型に許可された配置用の選択肢.値は,
15750 配置文字からなる文字列です.使用できる文字には,
15751
15752 \emph on
15753 h
15754 \emph default
15755  (
15756 \begin_inset Quotes eld
15757 \end_inset
15758
15759 here if possible:
15760 可能ならば現在位置に
15761 \begin_inset Quotes erd
15762 \end_inset
15763
15764 ),
15765  
15766 \emph on
15767 t
15768 \emph default
15769  (
15770 \begin_inset Quotes eld
15771 \end_inset
15772
15773 top of page:
15774 ページ上部
15775 \begin_inset Quotes erd
15776 \end_inset
15777
15778 )・
15779 \emph on
15780 b
15781 \emph default
15782  (
15783 \begin_inset Quotes eld
15784 \end_inset
15785
15786 bottom of page:
15787 ページ下部
15788 \begin_inset Quotes erd
15789 \end_inset
15790
15791 )・
15792 \emph on
15793 p
15794 \emph default
15795  (
15796 \begin_inset Quotes eld
15797 \end_inset
15798
15799 page of floats:
15800 フロートを独立したページに
15801 \begin_inset Quotes erd
15802 \end_inset
15803
15804 )・
15805 \emph on
15806 H
15807 \emph default
15808  (
15809 \begin_inset Quotes eld
15810 \end_inset
15811
15812 here definitely:
15813 何としても現在位置に置く
15814 \begin_inset Quotes erd
15815 \end_inset
15816
15817 )・
15818 \emph on
15819 !
15820
15821 \emph default
15822  (
15823 \begin_inset Quotes eld
15824 \end_inset
15825
15826 ignore LaTeX rules:
15827 LaTeXの規則を無視する
15828 \begin_inset Quotes erd
15829 \end_inset
15830
15831 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,
15832 文字列として
15833 \emph on
15834 none
15835 \emph default
15836 を与えてください.
15837 \end_layout
15838
15839 \begin_layout Description
15840 \begin_inset Flex Code
15841 status collapsed
15842
15843 \begin_layout Plain Layout
15844 AllowsSideways
15845 \end_layout
15846
15847 \end_inset
15848
15849  [
15850 \begin_inset Flex Code
15851 status collapsed
15852
15853 \begin_layout Plain Layout
15854 0
15855 \end_layout
15856
15857 \end_inset
15858
15859 ,
15860 \begin_inset space \thinspace{}
15861 \end_inset
15862
15863
15864 \emph on
15865
15866 \begin_inset Flex Code
15867 status collapsed
15868
15869 \begin_layout Plain Layout
15870 1
15871 \end_layout
15872
15873 \end_inset
15874
15875
15876 \emph default
15877 ] フロートを,
15878 \SpecialChar LaTeX
15879 パッケージの
15880 \family typewriter
15881 rotfloat
15882 \family default
15883  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
15884
15885 \begin_inset Flex Code
15886 status collapsed
15887
15888 \begin_layout Plain Layout
15889 0
15890 \end_layout
15891
15892 \end_inset
15893
15894 を指定してください.
15895 \end_layout
15896
15897 \begin_layout Description
15898 \begin_inset Flex Code
15899 status collapsed
15900
15901 \begin_layout Plain Layout
15902 AllowsWide
15903 \end_layout
15904
15905 \end_inset
15906
15907  [
15908 \begin_inset Flex Code
15909 status collapsed
15910
15911 \begin_layout Plain Layout
15912 0
15913 \end_layout
15914
15915 \end_inset
15916
15917 ,
15918 \begin_inset space \thinspace{}
15919 \end_inset
15920
15921
15922 \emph on
15923
15924 \begin_inset Flex Code
15925 status collapsed
15926
15927 \begin_layout Plain Layout
15928 1
15929 \end_layout
15930
15931 \end_inset
15932
15933
15934 \emph default
15935 ] このフロートに,
15936 二段組段落において段落をまたぐ,
15937 星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
15938
15939 \begin_inset Flex Code
15940 status collapsed
15941
15942 \begin_layout Plain Layout
15943 0
15944 \end_layout
15945
15946 \end_inset
15947
15948 を指定してください.
15949 \end_layout
15950
15951 \begin_layout Description
15952 \begin_inset Flex Code
15953 status collapsed
15954
15955 \begin_layout Plain Layout
15956 Extension
15957 \end_layout
15958
15959 \end_inset
15960
15961  [
15962 \begin_inset Flex Code
15963 status collapsed
15964
15965 \begin_layout Plain Layout
15966 文字列
15967 \end_layout
15968
15969 \end_inset
15970
15971 =
15972 \begin_inset Quotes erd
15973 \end_inset
15974
15975
15976 \begin_inset Quotes erd
15977 \end_inset
15978
15979 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
15980 がキャプションを書き込むファイルです.
15981 \end_layout
15982
15983 \begin_layout Description
15984 \begin_inset Flex Code
15985 status collapsed
15986
15987 \begin_layout Plain Layout
15988 GuiName
15989 \end_layout
15990
15991 \end_inset
15992
15993  [
15994 \begin_inset Flex Code
15995 status collapsed
15996
15997 \begin_layout Plain Layout
15998 文字列
15999 \end_layout
16000
16001 \end_inset
16002
16003 =
16004 \begin_inset Quotes erd
16005 \end_inset
16006
16007
16008 \begin_inset Quotes erd
16009 \end_inset
16010
16011 ] メニューとキャプションに使用される文字列.babelが使用される場合には,
16012 これは現在の言語に翻訳されます.
16013 \end_layout
16014
16015 \begin_layout Description
16016 \begin_inset Flex Code
16017 status collapsed
16018
16019 \begin_layout Plain Layout
16020 HTML*
16021 \end_layout
16022
16023 \end_inset
16024
16025  これらは,
16026 XHTML出力で使用されます.
16027 \begin_inset CommandInset ref
16028 LatexCommand ref
16029 reference "sec:XHTML出力のタグ"
16030 nolink "false"
16031
16032 \end_inset
16033
16034 をご覧ください.
16035 \end_layout
16036
16037 \begin_layout Description
16038 \begin_inset Flex Code
16039 status collapsed
16040
16041 \begin_layout Plain Layout
16042 IsPredefined
16043 \end_layout
16044
16045 \end_inset
16046
16047  [
16048 \begin_inset Flex Code
16049 status collapsed
16050
16051 \begin_layout Plain Layout
16052
16053 \emph on
16054 0
16055 \end_layout
16056
16057 \end_inset
16058
16059 ,
16060 \begin_inset space \thinspace{}
16061 \end_inset
16062
16063
16064 \begin_inset Flex Code
16065 status collapsed
16066
16067 \begin_layout Plain Layout
16068 1
16069 \end_layout
16070
16071 \end_inset
16072
16073 ] フロートがドキュメントクラス中に既に定義されているのか,
16074 あるいは\SpecialChar LaTeX
16075 パッケージ
16076 \begin_inset Flex Code
16077 status collapsed
16078
16079 \begin_layout Plain Layout
16080 float
16081 \end_layout
16082
16083 \end_inset
16084
16085 を読み込む必要があり,
16086 そのファイル内のものを使用して,
16087 オン・ザ・フライで定義するかを示します.既定は
16088 \begin_inset Flex Code
16089 status collapsed
16090
16091 \begin_layout Plain Layout
16092 0
16093 \end_layout
16094
16095 \end_inset
16096
16097 で,
16098 この場合
16099 \begin_inset Flex Code
16100 status collapsed
16101
16102 \begin_layout Plain Layout
16103 float
16104 \end_layout
16105
16106 \end_inset
16107
16108 を使用します.\SpecialChar LaTeX
16109 ドキュメントクラス中に既に定義されているときには,
16110
16111 \begin_inset Flex Code
16112 status collapsed
16113
16114 \begin_layout Plain Layout
16115 0
16116 \end_layout
16117
16118 \end_inset
16119
16120 に設定しなくてはなりません.
16121 \end_layout
16122
16123 \begin_layout Description
16124 \begin_inset Flex Code
16125 status collapsed
16126
16127 \begin_layout Plain Layout
16128 ListCommand
16129 \end_layout
16130
16131 \end_inset
16132
16133  [
16134 \begin_inset Flex Code
16135 status collapsed
16136
16137 \begin_layout Plain Layout
16138 文字列
16139 \end_layout
16140
16141 \end_inset
16142
16143 =
16144 \begin_inset Quotes erd
16145 \end_inset
16146
16147
16148 \begin_inset Quotes erd
16149 \end_inset
16150
16151 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
16152 \backslash
16153 」は書きません.
16154 \begin_inset Flex Code
16155 status collapsed
16156
16157 \begin_layout Plain Layout
16158 NeedsFloatPkg
16159 \end_layout
16160
16161 \end_inset
16162
16163 が偽の時には,
16164 このコマンドを生成する標準的な方法はないので,
16165 これは
16166 \emph on
16167 必ず
16168 \emph default
16169 指定しなくてはなりません.
16170 \begin_inset Flex Code
16171 status collapsed
16172
16173 \begin_layout Plain Layout
16174 NeedsFloatPkg
16175 \end_layout
16176
16177 \end_inset
16178
16179 が真の時は,
16180 標準的な方法が存在するので,
16181 これは無視されます.
16182 \end_layout
16183
16184 \begin_layout Description
16185 \begin_inset Flex Code
16186 status collapsed
16187
16188 \begin_layout Plain Layout
16189 ListName
16190 \end_layout
16191
16192 \end_inset
16193
16194  [
16195 \begin_inset Flex Code
16196 status collapsed
16197
16198 \begin_layout Plain Layout
16199 文字列
16200 \end_layout
16201
16202 \end_inset
16203
16204 =
16205 \begin_inset Quotes erd
16206 \end_inset
16207
16208
16209 \begin_inset Quotes erd
16210 \end_inset
16211
16212 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
16213 中では,
16214 これは画面上のラベルとして使用されます.また,
16215 見出しとして使用するために,
16216 La\SpecialChar TeX
16217 に渡され,
16218 XHTML出力でも見出しとして使用されます.これは,
16219 文書言語に翻訳されます.
16220 \end_layout
16221
16222 \begin_layout Description
16223 \begin_inset Flex Code
16224 status collapsed
16225
16226 \begin_layout Plain Layout
16227 NumberWithin
16228 \end_layout
16229
16230 \end_inset
16231
16232  [
16233 \begin_inset Flex Code
16234 status collapsed
16235
16236 \begin_layout Plain Layout
16237 文字列
16238 \end_layout
16239
16240 \end_inset
16241
16242 =
16243 \begin_inset Quotes erd
16244 \end_inset
16245
16246
16247 \begin_inset Quotes erd
16248 \end_inset
16249
16250 ] この(非必須の)引数は,
16251 このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
16252
16253 \begin_inset Flex Code
16254 status collapsed
16255
16256 \begin_layout Plain Layout
16257 NumberWithin
16258 \end_layout
16259
16260 \end_inset
16261
16262 が「
16263 \begin_inset Flex Code
16264 status collapsed
16265
16266 \begin_layout Plain Layout
16267 chapter
16268 \end_layout
16269
16270 \end_inset
16271
16272 」に指定されていれば,
16273 フロートは章ごとに番号が振り直されます.
16274 \end_layout
16275
16276 \begin_layout Description
16277 \begin_inset Flex Code
16278 status collapsed
16279
16280 \begin_layout Plain Layout
16281 Placement
16282 \end_layout
16283
16284 \end_inset
16285
16286  [
16287 \begin_inset Flex Code
16288 status collapsed
16289
16290 \begin_layout Plain Layout
16291 文字列
16292 \end_layout
16293
16294 \end_inset
16295
16296 =
16297 \begin_inset Quotes erd
16298 \end_inset
16299
16300
16301 \begin_inset Quotes erd
16302 \end_inset
16303
16304 ] このクラスのフロートの既定の配置法.文字列は,
16305 標準的な\SpecialChar LaTeX
16306 表記に従い,
16307
16308 \begin_inset Flex Code
16309 status collapsed
16310
16311 \begin_layout Plain Layout
16312 t
16313 \end_layout
16314
16315 \end_inset
16316
16317 ならば上部(top),
16318
16319 \begin_inset Flex Code
16320 status collapsed
16321
16322 \begin_layout Plain Layout
16323 b
16324 \end_layout
16325
16326 \end_inset
16327
16328 ならば下部(bottom),
16329
16330 \begin_inset Flex Code
16331 status collapsed
16332
16333 \begin_layout Plain Layout
16334 p
16335 \end_layout
16336
16337 \end_inset
16338
16339 ならばページ(page),
16340
16341 \begin_inset Flex Code
16342 status collapsed
16343
16344 \begin_layout Plain Layout
16345 h
16346 \end_layout
16347
16348 \end_inset
16349
16350 ならばここ(here)を表します
16351 \begin_inset Foot
16352 status collapsed
16353
16354 \begin_layout Plain Layout
16355 \SpecialChar LaTeX
16356 同様,
16357 文字列中でのこれらの文字の順序は関係ありません.
16358 \end_layout
16359
16360 \end_inset
16361
16362 .これらの他に新しい型
16363 \begin_inset Flex Code
16364 status collapsed
16365
16366 \begin_layout Plain Layout
16367 H
16368 \end_layout
16369
16370 \end_inset
16371
16372 があり,
16373 これはフロートを「ここ」に置いていいけれども他の場所はだめ,
16374 というものなので,
16375 本当はフロートにあるものではありません.しかし,
16376
16377 \begin_inset Flex Code
16378 status collapsed
16379
16380 \begin_layout Plain Layout
16381 H
16382 \end_layout
16383
16384 \end_inset
16385
16386 指定子は特別なものであり,
16387 その細かい実装上の理由で,
16388 組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,
16389 代わりに「
16390 \begin_inset Flex Code
16391 status collapsed
16392
16393 \begin_layout Plain Layout
16394 tbp
16395 \end_layout
16396
16397 \end_inset
16398
16399 」を指定してください.
16400 \end_layout
16401
16402 \begin_layout Description
16403 \begin_inset Flex Code
16404 status collapsed
16405
16406 \begin_layout Plain Layout
16407 RefPrefix
16408 \end_layout
16409
16410 \end_inset
16411
16412  [
16413 \begin_inset Flex Code
16414 status collapsed
16415
16416 \begin_layout Plain Layout
16417 文字列
16418 \end_layout
16419
16420 \end_inset
16421
16422 ] この型のフロートを参照する際,
16423 生成されるラベルに使用する前置句.これによって,
16424 整形参照を使用することができるようになります.コピーした様式が設定した
16425 \begin_inset Flex Code
16426 status collapsed
16427
16428 \begin_layout Plain Layout
16429 RefPrefix
16430 \end_layout
16431
16432 \end_inset
16433
16434 は,
16435 特別な文字列「OFF」(すべて大文字)を使えば,
16436 いつでも削除することができます.
16437 \end_layout
16438
16439 \begin_layout Description
16440 \begin_inset Flex Code
16441 status collapsed
16442
16443 \begin_layout Plain Layout
16444 Requires
16445 \end_layout
16446
16447 \end_inset
16448
16449  [
16450 \begin_inset Flex Code
16451 status collapsed
16452
16453 \begin_layout Plain Layout
16454 文字列
16455 \end_layout
16456
16457 \end_inset
16458
16459 ] 段落様式におけるのと同様です.第
16460 \begin_inset CommandInset ref
16461 LatexCommand ref
16462 reference "subsec:段落様式"
16463 plural "false"
16464 caps "false"
16465 noprefix "false"
16466 nolink "false"
16467
16468 \end_inset
16469
16470 節を参照.
16471 \end_layout
16472
16473 \begin_layout Description
16474 \begin_inset Flex Code
16475 status collapsed
16476
16477 \begin_layout Plain Layout
16478 Style
16479 \end_layout
16480
16481 \end_inset
16482
16483  [
16484 \begin_inset Flex Code
16485 status collapsed
16486
16487 \begin_layout Plain Layout
16488 文字列
16489 \end_layout
16490
16491 \end_inset
16492
16493 =
16494 \begin_inset Quotes erd
16495 \end_inset
16496
16497
16498 \begin_inset Quotes erd
16499 \end_inset
16500
16501
16502 \begin_inset Flex Code
16503 status collapsed
16504
16505 \begin_layout Plain Layout
16506
16507 \backslash
16508 newfloat
16509 \end_layout
16510
16511 \end_inset
16512
16513 を使用してフロートを定義する際に使用される様式.
16514 \end_layout
16515
16516 \begin_layout Description
16517 \begin_inset Flex Code
16518 status collapsed
16519
16520 \begin_layout Plain Layout
16521 Type
16522 \end_layout
16523
16524 \end_inset
16525
16526  [
16527 \begin_inset Flex Code
16528 status collapsed
16529
16530 \begin_layout Plain Layout
16531 文字列
16532 \end_layout
16533
16534 \end_inset
16535
16536 =
16537 \begin_inset Quotes erd
16538 \end_inset
16539
16540
16541 \begin_inset Quotes erd
16542 \end_inset
16543
16544 ] プログラムやアルゴリズムのような,
16545 フロートの新しいクラス「型」.適切な
16546 \begin_inset Flex Code
16547 status collapsed
16548
16549 \begin_layout Plain Layout
16550
16551 \backslash
16552 newfloat
16553 \end_layout
16554
16555 \end_inset
16556
16557 の後で,
16558
16559 \begin_inset Flex Code
16560 status collapsed
16561
16562 \begin_layout Plain Layout
16563
16564 \backslash
16565 begin{program}
16566 \end_layout
16567
16568 \end_inset
16569
16570
16571 \begin_inset Flex Code
16572 status collapsed
16573
16574 \begin_layout Plain Layout
16575
16576 \backslash
16577 end{algorithm*}
16578 \end_layout
16579
16580 \end_inset
16581
16582 といったコマンドが利用できます.
16583 \end_layout
16584
16585 \begin_layout Description
16586 \begin_inset Flex Code
16587 status collapsed
16588
16589 \begin_layout Plain Layout
16590 UsesFloatPkg
16591 \end_layout
16592
16593 \end_inset
16594
16595  [
16596 \begin_inset Flex Code
16597 status collapsed
16598
16599 \begin_layout Plain Layout
16600 0
16601 \end_layout
16602
16603 \end_inset
16604
16605 ,
16606 \begin_inset space \thinspace{}
16607 \end_inset
16608
16609
16610 \begin_inset Flex Code
16611 status collapsed
16612
16613 \begin_layout Plain Layout
16614
16615 \emph on
16616 1
16617 \end_layout
16618
16619 \end_inset
16620
16621 ] このフロートが,
16622 クラスファイルやパッケージ中で,
16623 \SpecialChar LaTeX
16624 パッケージ
16625 \begin_inset Flex Code
16626 status collapsed
16627
16628 \begin_layout Plain Layout
16629 float
16630 \end_layout
16631
16632 \end_inset
16633
16634 が提供しているものを使用して定義されているのか,
16635 \SpecialChar LyX
16636 自身がオン・ザ・フライで定義しているのかを示します.
16637 \end_layout
16638
16639 \begin_layout Standard
16640 \begin_inset Flex Code
16641 status collapsed
16642
16643 \begin_layout Plain Layout
16644
16645 \emph on
16646 type
16647 \end_layout
16648
16649 \end_inset
16650
16651 型のフロートを定義すると,
16652 自動的に
16653 \emph on
16654 対応する
16655 \emph default
16656
16657 \begin_inset Flex Code
16658 status collapsed
16659
16660 \begin_layout Plain Layout
16661
16662 \emph on
16663 type
16664 \end_layout
16665
16666 \end_inset
16667
16668 名カウンタが定義されます.
16669 \end_layout
16670
16671 \begin_layout Subsection
16672 自由差込枠と差込枠レイアウト
16673 \begin_inset CommandInset label
16674 LatexCommand label
16675 name "subsec:任意設定差込枠"
16676
16677 \end_inset
16678
16679
16680 \end_layout
16681
16682 \begin_layout Standard
16683 自由差込枠には次の2種類があります.
16684 \end_layout
16685
16686 \begin_layout Itemize
16687 文字様式(
16688 \begin_inset Flex Code
16689 status collapsed
16690
16691 \begin_layout Plain Layout
16692 CharStyle
16693 \end_layout
16694
16695 \end_inset
16696
16697 ).これは,
16698
16699 \begin_inset Flex Code
16700 status collapsed
16701
16702 \begin_layout Plain Layout
16703
16704 \backslash
16705 noun
16706 \end_layout
16707
16708 \end_inset
16709
16710
16711 \begin_inset Flex Code
16712 status collapsed
16713
16714 \begin_layout Plain Layout
16715
16716 \backslash
16717 code
16718 \end_layout
16719
16720 \end_inset
16721
16722 などの\SpecialChar LaTeX
16723 コマンドに対応した意味論的マークアップを定義するものです.
16724 \end_layout
16725
16726 \begin_layout Itemize
16727 ユーザ設定(
16728 \begin_inset Flex Code
16729 status collapsed
16730
16731 \begin_layout Plain Layout
16732 Custom
16733 \end_layout
16734
16735 \end_inset
16736
16737 ).これは,
16738 \SpecialChar TeX
16739 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,
16740 これは
16741 \begin_inset Flex Code
16742 status collapsed
16743
16744 \begin_layout Plain Layout
16745 endnote
16746 \end_layout
16747
16748 \end_inset
16749
16750 モジュール中で定義されています.
16751 \end_layout
16752
16753 \begin_layout Standard
16754 自由差込枠は,
16755 以下で説明する
16756 \begin_inset Flex Code
16757 status collapsed
16758
16759 \begin_layout Plain Layout
16760 InsetLayout
16761 \end_layout
16762
16763 \end_inset
16764
16765 タグを使用して定義されます.
16766 \end_layout
16767
16768 \begin_layout Standard
16769 \begin_inset Flex Code
16770 status collapsed
16771
16772 \begin_layout Plain Layout
16773 InsetLayout
16774 \end_layout
16775
16776 \end_inset
16777
16778 タグは,
16779 もう一つ別の機能も提供します.これを使えば,
16780 いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
16781
16782 \begin_inset Flex Code
16783 status collapsed
16784
16785 \begin_layout Plain Layout
16786 InsetLayout
16787 \end_layout
16788
16789 \end_inset
16790
16791 は自由差込枠を定義することの他に,
16792 脚註・傍註・註釈差込枠・\SpecialChar TeX
16793 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザー定義するのに使用されます.
16794 \end_layout
16795
16796 \begin_layout Standard
16797 \begin_inset Flex Code
16798 status collapsed
16799
16800 \begin_layout Plain Layout
16801 InsetLayout
16802 \end_layout
16803
16804 \end_inset
16805
16806 定義は以下の形の行では始まらなくてはなりません.
16807 \end_layout
16808
16809 \begin_layout LyX-Code
16810 InsetLayout <型>
16811 \end_layout
16812
16813 \begin_layout Standard
16814 ここで
16815 \begin_inset Flex Code
16816 status collapsed
16817
16818 \begin_layout Plain Layout
16819 <型>
16820 \end_layout
16821
16822 \end_inset
16823
16824 は,
16825 レイアウトを定義しようとしている差込枠を指し,
16826 4つの場合があります.
16827 \end_layout
16828
16829 \begin_layout Enumerate
16830 既存の差込枠のレイアウトを変更する場合.この場合,
16831
16832 \begin_inset Flex Code
16833 status collapsed
16834
16835 \begin_layout Plain Layout
16836 <型>
16837 \end_layout
16838
16839 \end_inset
16840
16841 は以下のいずれかになります:
16842
16843 \begin_inset Flex Code
16844 status collapsed
16845
16846 \begin_layout Plain Layout
16847 Algorithm
16848 \end_layout
16849
16850 \end_inset
16851
16852
16853 \begin_inset Flex Code
16854 status collapsed
16855
16856 \begin_layout Plain Layout
16857 Branch
16858 \end_layout
16859
16860 \end_inset
16861
16862
16863 \begin_inset Flex Code
16864 status collapsed
16865
16866 \begin_layout Plain Layout
16867 Box
16868 \end_layout
16869
16870 \end_inset
16871
16872
16873 \begin_inset Flex Code
16874 status collapsed
16875
16876 \begin_layout Plain Layout
16877 Box:shaded
16878 \end_layout
16879
16880 \end_inset
16881
16882
16883 \begin_inset Flex Code
16884 status collapsed
16885
16886 \begin_layout Plain Layout
16887 Caption:Standard
16888 \end_layout
16889
16890 \end_inset
16891
16892
16893 \begin_inset Flex Code
16894 status collapsed
16895
16896 \begin_layout Plain Layout
16897 ERT
16898 \end_layout
16899
16900 \end_inset
16901
16902
16903 \begin_inset Flex Code
16904 status collapsed
16905
16906 \begin_layout Plain Layout
16907 Figure
16908 \end_layout
16909
16910 \end_inset
16911
16912
16913 \begin_inset Flex Code
16914 status collapsed
16915
16916 \begin_layout Plain Layout
16917 Foot
16918 \end_layout
16919
16920 \end_inset
16921
16922
16923 \begin_inset Flex Code
16924 status collapsed
16925
16926 \begin_layout Plain Layout
16927 Index
16928 \end_layout
16929
16930 \end_inset
16931
16932
16933 \begin_inset Flex Code
16934 status collapsed
16935
16936 \begin_layout Plain Layout
16937 Info
16938 \end_layout
16939
16940 \end_inset
16941
16942
16943 \begin_inset Flex Code
16944 status collapsed
16945
16946 \begin_layout Plain Layout
16947 Info:menu
16948 \end_layout
16949
16950 \end_inset
16951
16952
16953 \begin_inset Flex Code
16954 status collapsed
16955
16956 \begin_layout Plain Layout
16957 Info:shortcut
16958 \end_layout
16959
16960 \end_inset
16961
16962
16963 \begin_inset Flex Code
16964 status collapsed
16965
16966 \begin_layout Plain Layout
16967 Info:shortcuts
16968 \end_layout
16969
16970 \end_inset
16971
16972
16973 \begin_inset Flex Code
16974 status collapsed
16975
16976 \begin_layout Plain Layout
16977 Listings
16978 \end_layout
16979
16980 \end_inset
16981
16982
16983 \begin_inset Flex Code
16984 status collapsed
16985
16986 \begin_layout Plain Layout
16987 Marginal
16988 \end_layout
16989
16990 \end_inset
16991
16992
16993 \begin_inset Flex Code
16994 status collapsed
16995
16996 \begin_layout Plain Layout
16997 Note:Comment
16998 \end_layout
16999
17000 \end_inset
17001
17002
17003 \begin_inset Flex Code
17004 status collapsed
17005
17006 \begin_layout Plain Layout
17007 Note:Note
17008 \end_layout
17009
17010 \end_inset
17011
17012
17013 \begin_inset Flex Code
17014 status collapsed
17015
17016 \begin_layout Plain Layout
17017 Note:GreyedOut
17018 \end_layout
17019
17020 \end_inset
17021
17022
17023 \begin_inset Flex Code
17024 status collapsed
17025
17026 \begin_layout Plain Layout
17027 Table
17028 \end_layout
17029
17030 \end_inset
17031
17032
17033 \begin_inset Flex Code
17034 status collapsed
17035
17036 \begin_layout Plain Layout
17037 URL
17038 \end_layout
17039
17040 \end_inset
17041
17042
17043 \end_layout
17044
17045 \begin_layout Enumerate
17046 自由差込枠のレイアウトを定義する場合.この場合,
17047
17048 \begin_inset Flex Code
17049 status collapsed
17050
17051 \begin_layout Plain Layout
17052 <型>
17053 \end_layout
17054
17055 \end_inset
17056
17057
17058 \begin_inset Flex Code
17059 status collapsed
17060
17061 \begin_layout Plain Layout
17062 Flex:<名称>
17063 \end_layout
17064
17065 \end_inset
17066
17067 の形でなくてはなりません.ここで,
17068
17069 \begin_inset Flex Code
17070 status collapsed
17071
17072 \begin_layout Plain Layout
17073 名称
17074 \end_layout
17075
17076 \end_inset
17077
17078 は,
17079 既存の自由差込枠で使用されていない有効な識別子であれば,
17080 何でも構いません.識別子には空白を入れることもできますが,
17081 この場合には全体を引用符で囲まなくてはなりません.自由差込枠の定義には,
17082 この定義がどの差込枠型なのか宣言するために,
17083
17084 \begin_inset Flex Code
17085 status collapsed
17086
17087 \begin_layout Plain Layout
17088 LyXType
17089 \end_layout
17090
17091 \end_inset
17092
17093 項目が含まれていなくてはならないことに注意してください.
17094 \end_layout
17095
17096 \begin_layout Enumerate
17097 ユーザー定義派生枝を定義する場合.この場合,
17098
17099 \begin_inset Flex Code
17100 status collapsed
17101
17102 \begin_layout Plain Layout
17103 <型>
17104 \end_layout
17105
17106 \end_inset
17107
17108 は「
17109 \begin_inset Flex Code
17110 status collapsed
17111
17112 \begin_layout Plain Layout
17113 Branch:<名称>
17114 \end_layout
17115
17116 \end_inset
17117
17118 」の形でなくてはなりません.ここで,
17119
17120 \begin_inset Flex Code
17121 status collapsed
17122
17123 \begin_layout Plain Layout
17124 名称
17125 \end_layout
17126
17127 \end_inset
17128
17129 は,
17130 ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,
17131 その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主な目的は,
17132 ユーザーの必要に応じて,
17133 特定の派生枝を\SpecialChar LaTeX
17134 がくるむことができるようにすることです.
17135 \end_layout
17136
17137 \begin_layout Enumerate
17138 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
17139
17140 \begin_inset Flex Code
17141 status collapsed
17142
17143 \begin_layout Plain Layout
17144 <型>
17145 \end_layout
17146
17147 \end_inset
17148
17149 は「
17150 \begin_inset Flex Code
17151 status collapsed
17152
17153 \begin_layout Plain Layout
17154 Caption:<名称>
17155 \end_layout
17156
17157 \end_inset
17158
17159 」の形でなくてはなりません.ここで,
17160
17161 \begin_inset Flex Code
17162 status collapsed
17163
17164 \begin_layout Plain Layout
17165 名称
17166 \end_layout
17167
17168 \end_inset
17169
17170 は,
17171 メニューに表示されるキャプション名です.応用例については,
17172 標準キャプション(
17173 \begin_inset Flex Code
17174 status collapsed
17175
17176 \begin_layout Plain Layout
17177 Caption:Standard
17178 \end_layout
17179
17180 \end_inset
17181
17182 ),
17183 若しくはKOMA-Scriptクラスのクラス定義キャプション(
17184 \begin_inset Flex Code
17185 status collapsed
17186
17187 \begin_layout Plain Layout
17188 Caption:Above
17189 \end_layout
17190
17191 \end_inset
17192
17193 ,
17194  
17195 \begin_inset Flex Code
17196 status collapsed
17197
17198 \begin_layout Plain Layout
17199 Caption:Below
17200 \end_layout
17201
17202 \end_inset
17203
17204 ),
17205
17206 \family sans
17207 多言語キャプション
17208 \family default
17209 モジュール(
17210 \begin_inset Flex Code
17211 status collapsed
17212
17213 \begin_layout Plain Layout
17214 Caption:\SpecialChar allowbreak
17215 Bicaption
17216 \end_layout
17217
17218 \end_inset
17219
17220 )をご覧ください.
17221 \end_layout
17222
17223 \begin_layout Standard
17224 \begin_inset Flex Code
17225 status collapsed
17226
17227 \begin_layout Plain Layout
17228 InsetLayout
17229 \end_layout
17230
17231 \end_inset
17232
17233 定義には以下の項目を入れることができます.
17234 \end_layout
17235
17236 \begin_layout Description
17237 \begin_inset Flex Code
17238 status collapsed
17239
17240 \begin_layout Plain Layout
17241 AddToToc
17242 \end_layout
17243
17244 \end_inset
17245
17246  [
17247 \begin_inset Flex Code
17248 status collapsed
17249
17250 \begin_layout Plain Layout
17251 文字列
17252 \end_layout
17253
17254 \end_inset
17255
17256 =""] この差込枠は,
17257 この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参照してください.これは,
17258 自由差込枠にのみ実装されています.既定値:
17259 無効.
17260 \end_layout
17261
17262 \begin_layout Description
17263 \begin_inset Flex Code
17264 status collapsed
17265
17266 \begin_layout Plain Layout
17267 Argument
17268 \end_layout
17269
17270 \end_inset
17271
17272  [
17273 \begin_inset Flex Code
17274 status collapsed
17275
17276 \begin_layout Plain Layout
17277 整数
17278 \end_layout
17279
17280 \end_inset
17281
17282 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
17283 \begin_inset Flex Code
17284 status collapsed
17285
17286 \begin_layout Plain Layout
17287 EndArgument
17288 \end_layout
17289
17290 \end_inset
17291
17292 で閉じなくてはなりません.詳細は第
17293 \begin_inset CommandInset ref
17294 LatexCommand ref
17295 reference "subsec:引数"
17296 plural "false"
17297 caps "false"
17298 noprefix "false"
17299 nolink "false"
17300
17301 \end_inset
17302
17303 節参照.
17304 \end_layout
17305
17306 \begin_layout Description
17307 \begin_inset Flex Code
17308 status collapsed
17309
17310 \begin_layout Plain Layout
17311 BabelPreamble
17312 \end_layout
17313
17314 \end_inset
17315
17316  言語コマンドを変更するプリアンブル.第
17317 \begin_inset CommandInset ref
17318 LatexCommand ref
17319 reference "subsec:段落様式の国際化"
17320 nolink "false"
17321
17322 \end_inset
17323
17324 節参照.
17325 \end_layout
17326
17327 \begin_layout Description
17328 \begin_inset Flex Code
17329 status collapsed
17330
17331 \begin_layout Plain Layout
17332 BgColor
17333 \end_layout
17334
17335 \end_inset
17336
17337  [
17338 \begin_inset Flex Code
17339 status collapsed
17340
17341 \begin_layout Plain Layout
17342 <名称>
17343 \end_layout
17344
17345 \end_inset
17346
17347 ] 差込枠の背景色.使用できる色名一覧は第
17348 \begin_inset CommandInset ref
17349 LatexCommand ref
17350 reference "chap:色名"
17351 nolink "false"
17352
17353 \end_inset
17354
17355 節参照.
17356 \end_layout
17357
17358 \begin_layout Description
17359 \begin_inset Flex Code
17360 status collapsed
17361
17362 \begin_layout Plain Layout
17363 ContentAsLabel
17364 \end_layout
17365
17366 \end_inset
17367
17368  [
17369 \begin_inset Flex Code
17370 status collapsed
17371
17372 \begin_layout Plain Layout
17373
17374 \emph on
17375 0
17376 \end_layout
17377
17378 \end_inset
17379
17380 ,
17381 \begin_inset space \thinspace{}
17382 \end_inset
17383
17384
17385 \begin_inset Flex Code
17386 status collapsed
17387
17388 \begin_layout Plain Layout
17389 1
17390 \end_layout
17391
17392 \end_inset
17393
17394 ] 差込枠を閉じた際,
17395 差込枠の内容をラベルとして使用するか否か.既定値は偽です.
17396 \end_layout
17397
17398 \begin_layout Description
17399 \begin_inset Flex Code
17400 status collapsed
17401
17402 \begin_layout Plain Layout
17403 CopyStyle
17404 \end_layout
17405
17406 \end_inset
17407
17408  [<型>] 段落様式と同様です.第
17409 \begin_inset CommandInset ref
17410 LatexCommand ref
17411 reference "subsec:段落様式"
17412 nolink "false"
17413
17414 \end_inset
17415
17416 節参照のこと.完全な型を指定する必要があることに注意してください.例:
17417 \begin_inset Flex Code
17418 status collapsed
17419
17420 \begin_layout Plain Layout
17421 CopyStyle Flex:<名称>
17422 \end_layout
17423
17424 \end_inset
17425
17426
17427 \end_layout
17428
17429 \begin_layout Description
17430 \begin_inset Flex Code
17431 status collapsed
17432
17433 \begin_layout Plain Layout
17434 CustomPars
17435 \end_layout
17436
17437 \end_inset
17438
17439  [
17440 \begin_inset Flex Code
17441 status collapsed
17442
17443 \begin_layout Plain Layout
17444
17445 \emph on
17446 0
17447 \end_layout
17448
17449 \end_inset
17450
17451 ,
17452 \begin_inset space \thinspace{}
17453 \end_inset
17454
17455
17456 \begin_inset Flex Code
17457 status collapsed
17458
17459 \begin_layout Plain Layout
17460 1
17461 \end_layout
17462
17463 \end_inset
17464
17465 ] 段落を設定するのに,
17466 段落設定ダイアログをユーザが使えるかどうかを指定します.
17467 \end_layout
17468
17469 \begin_layout Description
17470 \begin_inset Flex Code
17471 status collapsed
17472
17473 \begin_layout Plain Layout
17474 Decoration
17475 \end_layout
17476
17477 \end_inset
17478
17479  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
17480
17481 \begin_inset Flex Code
17482 status collapsed
17483
17484 \begin_layout Plain Layout
17485 Classic
17486 \end_layout
17487
17488 \end_inset
17489
17490
17491 \begin_inset Flex Code
17492 status collapsed
17493
17494 \begin_layout Plain Layout
17495 Minimalistic
17496 \end_layout
17497
17498 \end_inset
17499
17500
17501 \begin_inset Flex Code
17502 status collapsed
17503
17504 \begin_layout Plain Layout
17505 Conglomerate
17506 \end_layout
17507
17508 \end_inset
17509
17510 のいずれかを指定することができます.脚註は通常
17511 \begin_inset Flex Code
17512 status collapsed
17513
17514 \begin_layout Plain Layout
17515 Classic
17516 \end_layout
17517
17518 \end_inset
17519
17520 を使用し,
17521 \SpecialChar TeX
17522 コード差込枠は通常
17523 \begin_inset Flex Code
17524 status collapsed
17525
17526 \begin_layout Plain Layout
17527 Minimalistic
17528 \end_layout
17529
17530 \end_inset
17531
17532
17533 文字様式は
17534 \begin_inset Flex Code
17535 status collapsed
17536
17537 \begin_layout Plain Layout
17538 Conglomerate
17539 \end_layout
17540
17541 \end_inset
17542
17543 を使用します.
17544 \end_layout
17545
17546 \begin_layout Description
17547 \begin_inset Flex Code
17548 status collapsed
17549
17550 \begin_layout Plain Layout
17551 Display
17552 \end_layout
17553
17554 \end_inset
17555
17556  [
17557 \begin_inset Flex Code
17558 status collapsed
17559
17560 \begin_layout Plain Layout
17561 0
17562 \end_layout
17563
17564 \end_inset
17565
17566 ,
17567 \begin_inset space \thinspace{}
17568 \end_inset
17569
17570
17571 \begin_inset Flex Code
17572 status collapsed
17573
17574 \begin_layout Plain Layout
17575
17576 \emph on
17577 1
17578 \end_layout
17579
17580 \end_inset
17581
17582
17583 \begin_inset Flex Code
17584 status collapsed
17585
17586 \begin_layout Plain Layout
17587 LatexType
17588 \end_layout
17589
17590 \end_inset
17591
17592
17593 \begin_inset Flex Code
17594 status collapsed
17595
17596 \begin_layout Plain Layout
17597 Environment
17598 \end_layout
17599
17600 \end_inset
17601
17602 の時のみ意味をもちます.環境を,
17603 出力中で独立して出力させるか,
17604 周囲のテキストとインラインで出力させるかを示します.偽にすると,
17605 \SpecialChar LaTeX
17606 環境は,
17607
17608 \begin_inset Flex Code
17609 status collapsed
17610
17611 \begin_layout Plain Layout
17612
17613 \backslash
17614 begin{LatexName}
17615 \end_layout
17616
17617 \end_inset
17618
17619 タグと
17620 \begin_inset Flex Code
17621 status collapsed
17622
17623 \begin_layout Plain Layout
17624
17625 \backslash
17626 end{LatexName}
17627 \end_layout
17628
17629 \end_inset
17630
17631 タグの後の空白(改行文字を含む)を無視するものと仮定します.
17632 \end_layout
17633
17634 \begin_layout Description
17635 \begin_inset Flex Code
17636 status collapsed
17637
17638 \begin_layout Plain Layout
17639 EditExternal
17640 \end_layout
17641
17642 \end_inset
17643
17644  [
17645 \begin_inset Flex Code
17646 status collapsed
17647
17648 \begin_layout Plain Layout
17649
17650 \emph on
17651 0
17652 \end_layout
17653
17654 \end_inset
17655
17656 ,
17657 \begin_inset space \thinspace{}
17658 \end_inset
17659
17660
17661 \begin_inset Flex Code
17662 status collapsed
17663
17664 \begin_layout Plain Layout
17665 1
17666 \end_layout
17667
17668 \end_inset
17669
17670 ] 差込枠の内容を外部で編集できるか否か(文書の出力形式に定義されている編集ソフトウェアを使用).
17671 \end_layout
17672
17673 \begin_layout Description
17674 \begin_inset Flex Code
17675 status collapsed
17676
17677 \begin_layout Plain Layout
17678 End
17679 \end_layout
17680
17681 \end_inset
17682
17683  
17684 \begin_inset Flex Code
17685 status collapsed
17686
17687 \begin_layout Plain Layout
17688 InsetLayout
17689 \end_layout
17690
17691 \end_inset
17692
17693 宣言を閉じるのに必要です.
17694 \end_layout
17695
17696 \begin_layout Description
17697 \begin_inset Flex Code
17698 status collapsed
17699
17700 \begin_layout Plain Layout
17701 Font
17702 \end_layout
17703
17704 \end_inset
17705
17706  本文本体とラベル
17707 \emph on
17708 両方に
17709 \emph default
17710 使用されるフォントです.第
17711 \begin_inset CommandInset ref
17712 LatexCommand ref
17713 reference "subsec:フォント指定"
17714 nolink "false"
17715
17716 \end_inset
17717
17718 節を参照.このフォントを定義すると自動的に
17719 \begin_inset Flex Code
17720 status collapsed
17721
17722 \begin_layout Plain Layout
17723 LabelFont
17724 \end_layout
17725
17726 \end_inset
17727
17728 も同じ値に定義されるので,
17729 これらを別々の値にしたいときは,
17730 これを先に定義してから後に
17731 \begin_inset Flex Code
17732 status collapsed
17733
17734 \begin_layout Plain Layout
17735 LabelFont
17736 \end_layout
17737
17738 \end_inset
17739
17740 を定義しなくてはならないことに注意してください.
17741 \end_layout
17742
17743 \begin_layout Description
17744 \begin_inset Flex Code
17745 status collapsed
17746
17747 \begin_layout Plain Layout
17748 FixedWidthPreambleEncoding
17749 \end_layout
17750
17751 \end_inset
17752
17753  [
17754 \begin_inset Flex Code
17755 status collapsed
17756
17757 \begin_layout Plain Layout
17758
17759 \emph on
17760 0
17761 \end_layout
17762
17763 \end_inset
17764
17765 ,
17766 \begin_inset space \thinspace{}
17767 \end_inset
17768
17769
17770 \begin_inset Flex Code
17771 status collapsed
17772
17773 \begin_layout Plain Layout
17774 1
17775 \end_layout
17776
17777 \end_inset
17778
17779 ] このレイアウトによって生成される
17780 \begin_inset Flex Code
17781 status collapsed
17782
17783 \begin_layout Plain Layout
17784 BabelPreamble
17785 \end_layout
17786
17787 \end_inset
17788
17789 および
17790 \begin_inset Flex Code
17791 status collapsed
17792
17793 \begin_layout Plain Layout
17794 LangPreamble
17795 \end_layout
17796
17797 \end_inset
17798
17799 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
17800
17801 \family typewriter
17802 listings
17803 \family default
17804 のように,
17805
17806 \family sans
17807 utf8
17808 \family default
17809 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
17810 パッケージのために必要です.この設定は,
17811 Xe\SpecialChar TeX
17812 やLua\SpecialChar TeX
17813 のようなUnicodeを完全に解する\SpecialChar LaTeX
17814 バックエンドを使用している場合には,
17815 無視されます.
17816 \end_layout
17817
17818 \begin_layout Description
17819 \begin_inset Flex Code
17820 status collapsed
17821
17822 \begin_layout Plain Layout
17823 ForceLocalFontSwitch
17824 \end_layout
17825
17826 \end_inset
17827
17828  [
17829 \begin_inset Flex Code
17830 status collapsed
17831
17832 \begin_layout Plain Layout
17833
17834 \emph on
17835 0
17836 \end_layout
17837
17838 \end_inset
17839
17840 ,
17841 \begin_inset space \thinspace{}
17842 \end_inset
17843
17844
17845 \begin_inset Flex Code
17846 status collapsed
17847
17848 \begin_layout Plain Layout
17849 1
17850 \end_layout
17851
17852 \end_inset
17853
17854 ] babel使用時に,
17855 常にローカルフォント切替(
17856 \begin_inset Flex Code
17857 status collapsed
17858
17859 \begin_layout Plain Layout
17860
17861 \backslash
17862 foreignlanguage
17863 \end_layout
17864
17865 \end_inset
17866
17867 )を使い,
17868 グローバル切替(
17869 \begin_inset Flex Code
17870 status collapsed
17871
17872 \begin_layout Plain Layout
17873
17874 \backslash
17875 selectlanguage
17876 \end_layout
17877
17878 \end_inset
17879
17880 など)は使わない.
17881 \end_layout
17882
17883 \begin_layout Description
17884 \begin_inset Flex Code
17885 status collapsed
17886
17887 \begin_layout Plain Layout
17888 ForceLTR
17889 \end_layout
17890
17891 \end_inset
17892
17893  [
17894 \begin_inset Flex Code
17895 status collapsed
17896
17897 \begin_layout Plain Layout
17898
17899 \emph on
17900 0
17901 \end_layout
17902
17903 \end_inset
17904
17905 ,
17906 \begin_inset space \thinspace{}
17907 \end_inset
17908
17909
17910 \begin_inset Flex Code
17911 status collapsed
17912
17913 \begin_layout Plain Layout
17914 1
17915 \end_layout
17916
17917 \end_inset
17918
17919 ] たとえば\SpecialChar TeX
17920 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
17921 \end_layout
17922
17923 \begin_layout Description
17924 \begin_inset Flex Code
17925 status collapsed
17926
17927 \begin_layout Plain Layout
17928 ForceOwnlines
17929 \end_layout
17930
17931 \end_inset
17932
17933  [
17934 \begin_inset Flex Code
17935 status collapsed
17936
17937 \begin_layout Plain Layout
17938
17939 \emph on
17940 0
17941 \end_layout
17942
17943 \end_inset
17944
17945 ,
17946 \begin_inset space \thinspace{}
17947 \end_inset
17948
17949
17950 \begin_inset Flex Code
17951 status collapsed
17952
17953 \begin_layout Plain Layout
17954 1
17955 \end_layout
17956
17957 \end_inset
17958
17959 ] \SpecialChar LaTeX
17960 出力において,
17961 この差込枠が開始する前と終了する後に,
17962 改行を強制します.これは,
17963 解析上の目的のために,
17964 差込枠が単独行に出力されるように保証します.
17965 \end_layout
17966
17967 \begin_layout Description
17968 \begin_inset Flex Code
17969 status collapsed
17970
17971 \begin_layout Plain Layout
17972 ForcePlain
17973 \end_layout
17974
17975 \end_inset
17976
17977  [
17978 \begin_inset Flex Code
17979 status collapsed
17980
17981 \begin_layout Plain Layout
17982
17983 \emph on
17984 0
17985 \end_layout
17986
17987 \end_inset
17988
17989 ,
17990 \begin_inset space \thinspace{}
17991 \end_inset
17992
17993
17994 \begin_inset Flex Code
17995 status collapsed
17996
17997 \begin_layout Plain Layout
17998 1
17999 \end_layout
18000
18001 \end_inset
18002
18003 ] PlainLayoutを使用するべきなのか,
18004 それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
18005 \end_layout
18006
18007 \begin_layout Description
18008 \begin_inset Flex Code
18009 status collapsed
18010
18011 \begin_layout Plain Layout
18012 FreeSpacing
18013 \end_layout
18014
18015 \end_inset
18016
18017  [
18018 \emph on
18019
18020 \begin_inset Flex Code
18021 status collapsed
18022
18023 \begin_layout Plain Layout
18024 0
18025 \end_layout
18026
18027 \end_inset
18028
18029
18030 \emph default
18031 ,
18032 \begin_inset space \thinspace{}
18033 \end_inset
18034
18035
18036 \begin_inset Flex Code
18037 status collapsed
18038
18039 \begin_layout Plain Layout
18040 1
18041 \end_layout
18042
18043 \end_inset
18044
18045 ] 段落様式と同様.第
18046 \begin_inset CommandInset ref
18047 LatexCommand ref
18048 reference "subsec:段落様式"
18049 nolink "false"
18050
18051 \end_inset
18052
18053 節参照.
18054 \end_layout
18055
18056 \begin_layout Description
18057 \begin_inset Flex Code
18058 status collapsed
18059
18060 \begin_layout Plain Layout
18061 HTML*
18062 \end_layout
18063
18064 \end_inset
18065
18066  これらは,
18067 XHTML出力で使用されます.第
18068 \begin_inset CommandInset ref
18069 LatexCommand ref
18070 reference "sec:XHTML出力のタグ"
18071 nolink "false"
18072
18073 \end_inset
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 InToc
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 ] AddToTocの設定に関わらず,
18115 「文書構造」面用に出力される文字列に,
18116 この差込枠の内容を含めるかどうか.たとえば,
18117 節見出しの脚註の内容が,
18118 文書構造の目次に表示されることは望まないでしょうが,
18119 通常,
18120 文字様式の内容は表示されることを望むでしょう.既定値は偽,
18121 すなわち含めません.
18122 \end_layout
18123
18124 \begin_layout Description
18125 \begin_inset Flex Code
18126 status collapsed
18127
18128 \begin_layout Plain Layout
18129 IsTocCaption
18130 \end_layout
18131
18132 \end_inset
18133
18134  [
18135 \begin_inset Flex Code
18136 status collapsed
18137
18138 \begin_layout Plain Layout
18139
18140 \emph on
18141 0
18142 \end_layout
18143
18144 \end_inset
18145
18146 ,
18147 \begin_inset space \thinspace{}
18148 \end_inset
18149
18150
18151 \begin_inset Flex Code
18152 status collapsed
18153
18154 \begin_layout Plain Layout
18155 1
18156 \end_layout
18157
18158 \end_inset
18159
18160 ] AddToTocが有効なときに,
18161 これが1に設定されていると,
18162 差込枠の内容の要約が,
18163 目次項目に表示されます.0の場合は,
18164 ラベルのみが表示されます.
18165 \end_layout
18166
18167 \begin_layout Description
18168 \begin_inset Flex Code
18169 status collapsed
18170
18171 \begin_layout Plain Layout
18172 KeepEmpty
18173 \end_layout
18174
18175 \end_inset
18176
18177  [
18178 \emph on
18179
18180 \begin_inset Flex Code
18181 status collapsed
18182
18183 \begin_layout Plain Layout
18184 0
18185 \end_layout
18186
18187 \end_inset
18188
18189
18190 \emph default
18191 ,
18192 \begin_inset space \thinspace{}
18193 \end_inset
18194
18195
18196 \begin_inset Flex Code
18197 status collapsed
18198
18199 \begin_layout Plain Layout
18200 1
18201 \end_layout
18202
18203 \end_inset
18204
18205 ] 段落様式と同様.第
18206 \begin_inset CommandInset ref
18207 LatexCommand ref
18208 reference "subsec:段落様式"
18209 nolink "false"
18210
18211 \end_inset
18212
18213 節参照.
18214 \end_layout
18215
18216 \begin_layout Description
18217 \begin_inset Flex Code
18218 status collapsed
18219
18220 \begin_layout Plain Layout
18221 LabelFont
18222 \end_layout
18223
18224 \end_inset
18225
18226  ラベルに使用されるフォント.第
18227 \begin_inset CommandInset ref
18228 LatexCommand ref
18229 reference "subsec:フォント指定"
18230 nolink "false"
18231
18232 \end_inset
18233
18234 節を参照.非効率を回避するため,
18235 この定義は
18236 \begin_inset Flex Code
18237 status collapsed
18238
18239 \begin_layout Plain Layout
18240 Font
18241 \end_layout
18242
18243 \end_inset
18244
18245 の前には決して現れてはなりません.
18246 \end_layout
18247
18248 \begin_layout Description
18249 \begin_inset Flex Code
18250 status collapsed
18251
18252 \begin_layout Plain Layout
18253 LabelString
18254 \end_layout
18255
18256 \end_inset
18257
18258  [
18259 \begin_inset Flex Code
18260 status collapsed
18261
18262 \begin_layout Plain Layout
18263 文字列
18264 \end_layout
18265
18266 \end_inset
18267
18268 =
18269 \begin_inset Quotes erd
18270 \end_inset
18271
18272
18273 \begin_inset Quotes erd
18274 \end_inset
18275
18276 ]
18277 \lang english
18278  
18279 \lang japanese
18280 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
18281 コードや派生枝),
18282 ラベルが動的に変更されます.
18283 \end_layout
18284
18285 \begin_layout Description
18286 \begin_inset Flex Code
18287 status collapsed
18288
18289 \begin_layout Plain Layout
18290 LangPreamble
18291 \end_layout
18292
18293 \end_inset
18294
18295  言語依存のプリアンブル.第
18296 \begin_inset CommandInset ref
18297 LatexCommand ref
18298 reference "subsec:段落様式の国際化"
18299 nolink "false"
18300
18301 \end_inset
18302
18303 節参照.
18304 \end_layout
18305
18306 \begin_layout Description
18307 \begin_inset Flex Code
18308 status collapsed
18309
18310 \begin_layout Plain Layout
18311 LatexName
18312 \end_layout
18313
18314 \end_inset
18315
18316  [
18317 \begin_inset Flex Code
18318 status collapsed
18319
18320 \begin_layout Plain Layout
18321 <名称>
18322 \end_layout
18323
18324 \end_inset
18325
18326 ] 対応する\SpecialChar LaTeX
18327 関連物の名称.環境名ないしはコマンド名.
18328 \end_layout
18329
18330 \begin_layout Description
18331 \begin_inset Flex Code
18332 status collapsed
18333
18334 \begin_layout Plain Layout
18335 LatexParam
18336 \end_layout
18337
18338 \end_inset
18339
18340  [
18341 \begin_inset Flex Code
18342 status collapsed
18343
18344 \begin_layout Plain Layout
18345 <パラメータ>
18346 \end_layout
18347
18348 \end_inset
18349
18350 ]
18351 \lang english
18352  
18353 \lang japanese
18354 対応する
18355 \begin_inset Flex Code
18356 status collapsed
18357
18358 \begin_layout Plain Layout
18359 LatexName
18360 \end_layout
18361
18362 \end_inset
18363
18364 関連物の非必須パラメータ.
18365 \begin_inset Flex Code
18366 status collapsed
18367
18368 \begin_layout Plain Layout
18369 []
18370 \end_layout
18371
18372 \end_inset
18373
18374 のような括弧対を含む.このパラメータは\SpecialChar LyX
18375 内部から変更することはできません(変更可能なパラメータには
18376 \begin_inset Flex Code
18377 status collapsed
18378
18379 \begin_layout Plain Layout
18380 Argument
18381 \end_layout
18382
18383 \end_inset
18384
18385 を使用してください).これは,
18386 全ての\SpecialChar LaTeX
18387  
18388 \begin_inset Flex Code
18389 status collapsed
18390
18391 \begin_layout Plain Layout
18392 Argument
18393 \end_layout
18394
18395 \end_inset
18396
18397 の後にそのままの形で出力されます.
18398 \end_layout
18399
18400 \begin_layout Description
18401 \begin_inset Flex Code
18402 status collapsed
18403
18404 \begin_layout Plain Layout
18405 LatexType
18406 \end_layout
18407
18408 \end_inset
18409
18410  [
18411 \begin_inset Flex Code
18412 status collapsed
18413
18414 \begin_layout Plain Layout
18415 Command,
18416  Environment,
18417  None
18418 \end_layout
18419
18420 \end_inset
18421
18422 ] 様式がどのように\SpecialChar LaTeX
18423 に変換されるべきかを示します
18424 \begin_inset Foot
18425 status collapsed
18426
18427 \begin_layout Plain Layout
18428 これらのルールはSGMLクラスにも適用されるので,
18429
18430 \begin_inset Flex Code
18431 status collapsed
18432
18433 \begin_layout Plain Layout
18434 LatexType
18435 \end_layout
18436
18437 \end_inset
18438
18439 の名称は,
18440 少しミスリーディングかもしれません.特定の例については,
18441 SGMLクラスファイルを見てください.
18442 \end_layout
18443
18444 \end_inset
18445
18446
18447 \end_layout
18448
18449 \begin_deeper
18450 \begin_layout Description
18451 \begin_inset Flex Code
18452 status collapsed
18453
18454 \begin_layout Plain Layout
18455 None
18456 \end_layout
18457
18458 \end_inset
18459
18460  は,
18461 何も特別なことは意味しません
18462 \end_layout
18463
18464 \begin_layout Description
18465 \begin_inset Flex Code
18466 status collapsed
18467
18468 \begin_layout Plain Layout
18469 Command
18470 \end_layout
18471
18472 \end_inset
18473
18474  は,
18475
18476 \begin_inset Flex Code
18477 status collapsed
18478
18479 \begin_layout Plain Layout
18480
18481 \backslash
18482
18483 \emph on
18484 LatexName
18485 \emph default
18486 {\SpecialChar ldots
18487 }
18488 \end_layout
18489
18490 \end_inset
18491
18492 を意味します
18493 \end_layout
18494
18495 \begin_layout Description
18496 \begin_inset Flex Code
18497 status collapsed
18498
18499 \begin_layout Plain Layout
18500 Environment
18501 \end_layout
18502
18503 \end_inset
18504
18505  は,
18506
18507 \begin_inset Flex Code
18508 status collapsed
18509
18510 \begin_layout Plain Layout
18511
18512 \backslash
18513 begin{
18514 \emph on
18515 LatexName
18516 \emph default
18517 }\SpecialChar ldots
18518
18519 \backslash
18520 end{
18521 \emph on
18522 LatexName
18523 \emph default
18524 }
18525 \end_layout
18526
18527 \end_inset
18528
18529 を意味します
18530 \end_layout
18531
18532 \begin_layout Standard
18533 上記最後のいくつかをまとめると,
18534 \SpecialChar LaTeX
18535 出力は,
18536 \SpecialChar LaTeX
18537 型に依存して
18538 \end_layout
18539
18540 \begin_layout LyX-Code
18541
18542 \backslash
18543 LatexName[LatexParam]{\SpecialChar ldots
18544 }
18545 \end_layout
18546
18547 \begin_layout Standard
18548 のようになるか,
18549
18550 \end_layout
18551
18552 \begin_layout LyX-Code
18553
18554 \backslash
18555 begin{LatexName}[LatexParam] \SpecialChar ldots
18556  
18557 \backslash
18558 end{LatexName}.
18559 \end_layout
18560
18561 \begin_layout Standard
18562 となります.
18563 \end_layout
18564
18565 \end_deeper
18566 \begin_layout Description
18567 \begin_inset Flex Code
18568 status collapsed
18569
18570 \begin_layout Plain Layout
18571 LeftDelim
18572 \end_layout
18573
18574 \end_inset
18575
18576  [
18577 \begin_inset Flex Code
18578 status collapsed
18579
18580 \begin_layout Plain Layout
18581 文字列
18582 \end_layout
18583
18584 \end_inset
18585
18586 ] 様式の内容の最初に置かれる文字列.出力中の改行は
18587 \begin_inset Flex Code
18588 status collapsed
18589
18590 \begin_layout Plain Layout
18591 <br/>
18592 \end_layout
18593
18594 \end_inset
18595
18596 で指示できます.
18597 \end_layout
18598
18599 \begin_layout Description
18600 \begin_inset Flex Code
18601 status collapsed
18602
18603 \begin_layout Plain Layout
18604 LyxType
18605 \end_layout
18606
18607 \end_inset
18608
18609  
18610 \begin_inset Flex Code
18611 status collapsed
18612
18613 \begin_layout Plain Layout
18614 charstyle
18615 \end_layout
18616
18617 \end_inset
18618
18619
18620 \begin_inset Flex Code
18621 status collapsed
18622
18623 \begin_layout Plain Layout
18624 custom
18625 \end_layout
18626
18627 \end_inset
18628
18629
18630 \begin_inset Flex Code
18631 status collapsed
18632
18633 \begin_layout Plain Layout
18634 end
18635 \end_layout
18636
18637 \end_inset
18638
18639 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,
18640 自由差込枠に必須であり,
18641 かつ自由差込枠でしか意味を持ちません.この項目は,
18642 就中,
18643 差込枠がどのメニューに表示されるかを決定します.
18644 \begin_inset Flex Code
18645 status collapsed
18646
18647 \begin_layout Plain Layout
18648 LyxType
18649 \end_layout
18650
18651 \end_inset
18652
18653
18654 \begin_inset Flex Code
18655 status collapsed
18656
18657 \begin_layout Plain Layout
18658 charstyle
18659 \end_layout
18660
18661 \end_inset
18662
18663 に設定すると,
18664
18665 \begin_inset Flex Code
18666 status collapsed
18667
18668 \begin_layout Plain Layout
18669 MultiPar
18670 \end_layout
18671
18672 \end_inset
18673
18674 が偽に,
18675
18676 \begin_inset Flex Code
18677 status collapsed
18678
18679 \begin_layout Plain Layout
18680 ForcePlain
18681 \end_layout
18682
18683 \end_inset
18684
18685 が真に設定されます.
18686 \begin_inset Flex Code
18687 status collapsed
18688
18689 \begin_layout Plain Layout
18690 charstyle
18691 \end_layout
18692
18693 \end_inset
18694
18695 差込枠で
18696 \begin_inset Flex Code
18697 status collapsed
18698
18699 \begin_layout Plain Layout
18700 MultiPar
18701 \end_layout
18702
18703 \end_inset
18704
18705 を真,
18706 あるいは
18707 \begin_inset Flex Code
18708 status collapsed
18709
18710 \begin_layout Plain Layout
18711 ForcePlain
18712 \end_layout
18713
18714 \end_inset
18715
18716 を偽に設定したい場合は,
18717
18718 \begin_inset Flex Code
18719 status collapsed
18720
18721 \begin_layout Plain Layout
18722 LyxType
18723 \end_layout
18724
18725 \end_inset
18726
18727 を設定した
18728 \begin_inset Flex 圏点
18729 status open
18730
18731 \begin_layout Plain Layout
18732 後に
18733 \end_layout
18734
18735 \end_inset
18736
18737 設定します.
18738 \end_layout
18739
18740 \begin_layout Description
18741 \begin_inset Flex Code
18742 status collapsed
18743
18744 \begin_layout Plain Layout
18745 MenuString
18746 \end_layout
18747
18748 \end_inset
18749
18750  
18751 \begin_inset Flex Code
18752 status collapsed
18753
18754 \begin_layout Plain Layout
18755 [文字列]
18756 \end_layout
18757
18758 \end_inset
18759
18760  メニュー用の文字列.この文字列に特定の文字を「|」で区切って追加することでアクセラレーターを定義することができます(例:
18761
18762 \begin_inset Flex Code
18763 status collapsed
18764
18765 \begin_layout Plain Layout
18766 My Inset|M
18767 \end_layout
18768
18769 \end_inset
18770
18771 ).この指定は必須ではありません.指定がない場合には,
18772 型宣言で指定された差込枠名が,
18773 代わりにメニューに用いられます.
18774 \end_layout
18775
18776 \begin_layout Description
18777 \begin_inset Flex Code
18778 status collapsed
18779
18780 \begin_layout Plain Layout
18781 MultiPar
18782 \end_layout
18783
18784 \end_inset
18785
18786  [
18787 \begin_inset Flex Code
18788 status collapsed
18789
18790 \begin_layout Plain Layout
18791
18792 \emph on
18793 0
18794 \end_layout
18795
18796 \end_inset
18797
18798 ,
18799 \begin_inset space \thinspace{}
18800 \end_inset
18801
18802
18803 \begin_inset Flex Code
18804 status collapsed
18805
18806 \begin_layout Plain Layout
18807 1
18808 \end_layout
18809
18810 \end_inset
18811
18812 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
18813
18814 \begin_inset Flex Code
18815 status collapsed
18816
18817 \begin_layout Plain Layout
18818 CustomPars
18819 \end_layout
18820
18821 \end_inset
18822
18823 を同じ値に設定し,
18824
18825 \begin_inset Flex Code
18826 status collapsed
18827
18828 \begin_layout Plain Layout
18829 ForcePlain
18830 \end_layout
18831
18832 \end_inset
18833
18834 を逆の値に設定します.これらは,
18835
18836 \begin_inset Flex Code
18837 status collapsed
18838
18839 \begin_layout Plain Layout
18840 MultiPar
18841 \end_layout
18842
18843 \end_inset
18844
18845
18846 \emph on
18847 後に
18848 \emph default
18849 指定されれば,
18850 他の値に指定し直すことができます.既定値は真です.
18851 \end_layout
18852
18853 \begin_layout Description
18854 \begin_inset Flex Code
18855 status collapsed
18856
18857 \begin_layout Plain Layout
18858 NeedProtect
18859 \end_layout
18860
18861 \end_inset
18862
18863  [
18864 \begin_inset Flex Code
18865 status collapsed
18866
18867 \begin_layout Plain Layout
18868
18869 \emph on
18870 0
18871 \end_layout
18872
18873 \end_inset
18874
18875 ,
18876 \begin_inset space \thinspace{}
18877 \end_inset
18878
18879
18880 \begin_inset Flex Code
18881 status collapsed
18882
18883 \begin_layout Plain Layout
18884 1
18885 \end_layout
18886
18887 \end_inset
18888
18889 ] 本レイアウト中で脆弱なコマンドを
18890 \begin_inset Flex Code
18891 status collapsed
18892
18893 \begin_layout Plain Layout
18894
18895 \backslash
18896 protect
18897 \end_layout
18898
18899 \end_inset
18900
18901 するか否か(註:
18902 当該コマンド自身をprotectするかどうかでは
18903 \emph on
18904 ありません
18905 \emph default
18906 ).既定値は偽です.
18907 \end_layout
18908
18909 \begin_layout Description
18910 \begin_inset Flex Code
18911 status collapsed
18912
18913 \begin_layout Plain Layout
18914 NeedCProtect
18915 \end_layout
18916
18917 \end_inset
18918
18919  [
18920 \begin_inset Flex Code
18921 status collapsed
18922
18923 \begin_layout Plain Layout
18924
18925 \emph on
18926 0
18927 \end_layout
18928
18929 \end_inset
18930
18931 ,
18932 \begin_inset space \thinspace{}
18933 \end_inset
18934
18935
18936 \begin_inset Flex Code
18937 status collapsed
18938
18939 \begin_layout Plain Layout
18940 1
18941 \end_layout
18942
18943 \end_inset
18944
18945 ] これは必要ならば,
18946 このレイアウトを含むマクロを
18947 \begin_inset Flex Code
18948 status collapsed
18949
18950 \begin_layout Plain Layout
18951
18952 \backslash
18953 cprotect
18954 \end_layout
18955
18956 \end_inset
18957
18958 (cf.
18959  
18960 \family sans
18961 cprotect
18962 \family default
18963 パッケージ)を用いて保護するようにし,
18964 マクロ中でverbatimを使えるようにします.既定値は偽です.
18965 \end_layout
18966
18967 \begin_layout Description
18968 \begin_inset Flex Code
18969 status collapsed
18970
18971 \begin_layout Plain Layout
18972 NeedMBoxProtect
18973 \end_layout
18974
18975 \end_inset
18976
18977  [
18978 \begin_inset Flex Code
18979 status collapsed
18980
18981 \begin_layout Plain Layout
18982
18983 \emph on
18984 0
18985 \end_layout
18986
18987 \end_inset
18988
18989 ,
18990 \begin_inset space \thinspace{}
18991 \end_inset
18992
18993
18994 \begin_inset Flex Code
18995 status collapsed
18996
18997 \begin_layout Plain Layout
18998 1
18999 \end_layout
19000
19001 \end_inset
19002
19003 ] この様式中の(
19004 \begin_inset Flex Code
19005 status collapsed
19006
19007 \begin_layout Plain Layout
19008
19009 \backslash
19010 cite
19011 \end_layout
19012
19013 \end_inset
19014
19015
19016 \begin_inset Flex Code
19017 status collapsed
19018
19019 \begin_layout Plain Layout
19020
19021 \backslash
19022 ref
19023 \end_layout
19024
19025 \end_inset
19026
19027 のような)特定のコマンドが
19028 \begin_inset Flex Code
19029 status collapsed
19030
19031 \begin_layout Plain Layout
19032
19033 \backslash
19034 mbox
19035 \end_layout
19036
19037 \end_inset
19038
19039 中で保護されるか否か.これは,
19040 中身を複雑な方法で解析する
19041 \family sans
19042 ulem
19043 \family default
19044
19045 \family sans
19046 soul
19047 \family default
19048 コマンドに頼る様式でとくに必要になります.既定値は偽です.
19049 \end_layout
19050
19051 \begin_layout Description
19052 \begin_inset Flex Code
19053 status collapsed
19054
19055 \begin_layout Plain Layout
19056 NewlineCmd
19057 \end_layout
19058
19059 \end_inset
19060
19061  
19062 \begin_inset Flex Code
19063 status collapsed
19064
19065 \begin_layout Plain Layout
19066 [文字列]
19067 \end_layout
19068
19069 \end_inset
19070
19071  改行に使用するコマンドを(
19072 \begin_inset Flex Code
19073 status collapsed
19074
19075 \begin_layout Plain Layout
19076
19077 \backslash
19078
19079 \backslash
19080
19081 \end_layout
19082
19083 \end_inset
19084
19085 以外に)定義するオプションです.初期値のバックスラッシュは指定できません.
19086 \end_layout
19087
19088 \begin_layout Description
19089 \begin_inset Flex Code
19090 status collapsed
19091
19092 \begin_layout Plain Layout
19093 NoInsetLayout
19094 \end_layout
19095
19096 \end_inset
19097
19098  [
19099 \begin_inset Flex Code
19100 status collapsed
19101
19102 \begin_layout Plain Layout
19103 <レイアウト>
19104 \end_layout
19105
19106 \end_inset
19107
19108 ] 既存の
19109 \begin_inset Flex Code
19110 status collapsed
19111
19112 \begin_layout Plain Layout
19113 InsetLayout
19114 \end_layout
19115
19116 \end_inset
19117
19118 を削除します.
19119 \end_layout
19120
19121 \begin_layout Description
19122 \begin_inset Flex Code
19123 status collapsed
19124
19125 \begin_layout Plain Layout
19126 ObsoletedBy
19127 \end_layout
19128
19129 \end_inset
19130
19131  [
19132 \begin_inset Flex Code
19133 status collapsed
19134
19135 \begin_layout Plain Layout
19136 <レイアウト>
19137 \end_layout
19138
19139 \end_inset
19140
19141 ] この古い
19142 \begin_inset Flex Code
19143 status collapsed
19144
19145 \begin_layout Plain Layout
19146 InsetLayout
19147 \end_layout
19148
19149 \end_inset
19150
19151 を引き継いだ
19152 \begin_inset Flex Code
19153 status collapsed
19154
19155 \begin_layout Plain Layout
19156 InsetLayout
19157 \end_layout
19158
19159 \end_inset
19160
19161 の名称.これは,
19162
19163 \begin_inset Flex Code
19164 status collapsed
19165
19166 \begin_layout Plain Layout
19167 InsetLayout
19168 \end_layout
19169
19170 \end_inset
19171
19172 の改名を,
19173 後方互換性を維持しながら行うために用いられます.
19174 \end_layout
19175
19176 \begin_layout Description
19177 \begin_inset Flex Code
19178 status collapsed
19179
19180 \begin_layout Plain Layout
19181 ParbreakIgnored
19182 \end_layout
19183
19184 \end_inset
19185
19186  [
19187 \begin_inset Flex Code
19188 status collapsed
19189
19190 \begin_layout Plain Layout
19191
19192 \emph on
19193 0
19194 \end_layout
19195
19196 \end_inset
19197
19198 ,
19199 \begin_inset space \thinspace{}
19200 \end_inset
19201
19202
19203 \begin_inset Flex Code
19204 status collapsed
19205
19206 \begin_layout Plain Layout
19207 1
19208 \end_layout
19209
19210 \end_inset
19211
19212
19213 \begin_inset Flex Code
19214 status collapsed
19215
19216 \begin_layout Plain Layout
19217 1
19218 \end_layout
19219
19220 \end_inset
19221
19222 に設定すると,
19223 段落の改行は出力では無視されます.これは,
19224 内容が\SpecialChar LyX
19225 作業領域内でのみ改行可能で,
19226 出力に影響を与えない差込枠において有用です.
19227 \end_layout
19228
19229 \begin_layout Description
19230 \begin_inset Flex Code
19231 status collapsed
19232
19233 \begin_layout Plain Layout
19234 ParbreakIsNewline
19235 \end_layout
19236
19237 \end_inset
19238
19239  [
19240 \begin_inset Flex Code
19241 status collapsed
19242
19243 \begin_layout Plain Layout
19244
19245 \emph on
19246 0
19247 \end_layout
19248
19249 \end_inset
19250
19251 ,
19252 \begin_inset space \thinspace{}
19253 \end_inset
19254
19255
19256 \begin_inset Flex Code
19257 status collapsed
19258
19259 \begin_layout Plain Layout
19260 1
19261 \end_layout
19262
19263 \end_inset
19264
19265 ] 段落様式と同様.第
19266 \begin_inset CommandInset ref
19267 LatexCommand ref
19268 reference "subsec:段落様式"
19269 nolink "false"
19270
19271 \end_inset
19272
19273 節参照.
19274 \end_layout
19275
19276 \begin_layout Description
19277 \begin_inset Flex Code
19278 status collapsed
19279
19280 \begin_layout Plain Layout
19281 PassThru
19282 \end_layout
19283
19284 \end_inset
19285
19286  [
19287 \emph on
19288
19289 \begin_inset Flex Code
19290 status collapsed
19291
19292 \begin_layout Plain Layout
19293 0
19294 \end_layout
19295
19296 \end_inset
19297
19298
19299 \emph default
19300 ,
19301 \begin_inset space \thinspace{}
19302 \end_inset
19303
19304
19305 \begin_inset Flex Code
19306 status collapsed
19307
19308 \begin_layout Plain Layout
19309 1
19310 \end_layout
19311
19312 \end_inset
19313
19314 ] 段落様式と同様.第
19315 \begin_inset CommandInset ref
19316 LatexCommand ref
19317 reference "subsec:段落様式"
19318 nolink "false"
19319
19320 \end_inset
19321
19322 節参照.
19323 \end_layout
19324
19325 \begin_layout Description
19326 \begin_inset Flex Code
19327 status collapsed
19328
19329 \begin_layout Plain Layout
19330 Preamble
19331 \end_layout
19332
19333 \end_inset
19334
19335  段落様式と同様.第
19336 \begin_inset CommandInset ref
19337 LatexCommand ref
19338 reference "subsec:段落様式"
19339 nolink "false"
19340
19341 \end_inset
19342
19343 節参照.
19344 \end_layout
19345
19346 \begin_layout Description
19347 \begin_inset Flex Code
19348 status collapsed
19349
19350 \begin_layout Plain Layout
19351 RefPrefix
19352 \end_layout
19353
19354 \end_inset
19355
19356  [
19357 \begin_inset Flex Code
19358 status collapsed
19359
19360 \begin_layout Plain Layout
19361 文字列
19362 \end_layout
19363
19364 \end_inset
19365
19366 ] この型の差込枠を参照する際,
19367 生成されるラベルに使用する前置句.これによって,
19368 整形参照を使用することができるようになります.
19369 \end_layout
19370
19371 \begin_layout Description
19372 \begin_inset Flex Code
19373 status collapsed
19374
19375 \begin_layout Plain Layout
19376 Requires
19377 \end_layout
19378
19379 \end_inset
19380
19381  [
19382 \begin_inset Flex Code
19383 status collapsed
19384
19385 \begin_layout Plain Layout
19386 文字列
19387 \end_layout
19388
19389 \end_inset
19390
19391 ] 段落様式と同様.第
19392 \begin_inset CommandInset ref
19393 LatexCommand ref
19394 reference "subsec:段落様式"
19395 nolink "false"
19396
19397 \end_inset
19398
19399 節参照.
19400 \end_layout
19401
19402 \begin_layout Description
19403 \begin_inset Flex Code
19404 status collapsed
19405
19406 \begin_layout Plain Layout
19407 ResetArgs
19408 \end_layout
19409
19410 \end_inset
19411
19412  [
19413 \begin_inset Flex Code
19414 status collapsed
19415
19416 \begin_layout Plain Layout
19417
19418 \emph on
19419 0
19420 \end_layout
19421
19422 \end_inset
19423
19424 ,
19425 \begin_inset space \thinspace{}
19426 \end_inset
19427
19428
19429 \begin_inset Flex Code
19430 status collapsed
19431
19432 \begin_layout Plain Layout
19433 1
19434 \end_layout
19435
19436 \end_inset
19437
19438 ] (
19439 \begin_inset Flex Code
19440 status collapsed
19441
19442 \begin_layout Plain Layout
19443 Argument
19444 \end_layout
19445
19446 \end_inset
19447
19448 タグで定義された)この様式の\SpecialChar LaTeX
19449 引数をリセットします.これは,
19450 様式を
19451 \begin_inset Flex Code
19452 status collapsed
19453
19454 \begin_layout Plain Layout
19455 CopyStyle
19456 \end_layout
19457
19458 \end_inset
19459
19460 でコピーし,
19461 その(必須及び非必須)引数は継承したくない場合に便利です.
19462 \end_layout
19463
19464 \begin_layout Description
19465 \begin_inset Flex Code
19466 status collapsed
19467
19468 \begin_layout Plain Layout
19469 ResetsFont
19470 \end_layout
19471
19472 \end_inset
19473
19474  [
19475 \begin_inset Flex Code
19476 status collapsed
19477
19478 \begin_layout Plain Layout
19479 0
19480 \end_layout
19481
19482 \end_inset
19483
19484 ,
19485 \begin_inset space \thinspace{}
19486 \end_inset
19487
19488
19489 \begin_inset Flex Code
19490 status collapsed
19491
19492 \begin_layout Plain Layout
19493
19494 \emph on
19495 1
19496 \end_layout
19497
19498 \end_inset
19499
19500
19501 \begin_inset Flex Code
19502 status collapsed
19503
19504 \begin_layout Plain Layout
19505
19506 \emph on
19507 1
19508 \end_layout
19509
19510 \end_inset
19511
19512 ならば,
19513 差込枠がフォント変更指定の中にあるとき,
19514 各差込枠の内部で再度フォント変更指定が為されます(たとえば
19515 \begin_inset Flex Code
19516 status collapsed
19517
19518 \begin_layout Plain Layout
19519
19520 \backslash
19521 textbf{周りの文字列
19522 \backslash
19523 myinset{中身}\SpecialChar ldots
19524 }
19525 \end_layout
19526
19527 \end_inset
19528
19529 ではなく
19530 \begin_inset Flex Code
19531 status collapsed
19532
19533 \begin_layout Plain Layout
19534
19535 \backslash
19536 textbf{周りの文字列
19537 \backslash
19538 myinset{
19539 \backslash
19540 textbf{中身}}\SpecialChar ldots
19541 }
19542 \end_layout
19543
19544 \end_inset
19545
19546 ).(脚註のような)内部的にフォント設定をリセットするコマンドで意味を持ちます.これを誤って設定してしまうと,
19547 望まない結果を生むことがあります(例:
19548
19549 \begin_inset Flex Code
19550 status collapsed
19551
19552 \begin_layout Plain Layout
19553
19554 \backslash
19555 emph{周りの文字列
19556 \backslash
19557 myinset{
19558 \backslash
19559 emph{中身t}}\SpecialChar ldots
19560 }
19561 \end_layout
19562
19563 \end_inset
19564
19565 では
19566 \begin_inset Flex Code
19567 status collapsed
19568
19569 \begin_layout Plain Layout
19570
19571 \backslash
19572 emph
19573 \end_layout
19574
19575 \end_inset
19576
19577 がトグルですので,
19578 中身がアップライト体になります).既定値は
19579 \begin_inset Flex Code
19580 status collapsed
19581
19582 \begin_layout Plain Layout
19583 0
19584 \end_layout
19585
19586 \end_inset
19587
19588
19589 フォント変更は差込枠内部で繰り返されません.
19590 \end_layout
19591
19592 \begin_layout Description
19593 \begin_inset Flex Code
19594 status collapsed
19595
19596 \begin_layout Plain Layout
19597 RightDelim
19598 \end_layout
19599
19600 \end_inset
19601
19602  [
19603 \begin_inset Flex Code
19604 status collapsed
19605
19606 \begin_layout Plain Layout
19607 文字列
19608 \end_layout
19609
19610 \end_inset
19611
19612 ] 様式の内容の最後に置かれる文字列.出力中の改行は
19613 \begin_inset Flex Code
19614 status collapsed
19615
19616 \begin_layout Plain Layout
19617 <br/>
19618 \end_layout
19619
19620 \end_inset
19621
19622 で指示できます.
19623 \end_layout
19624
19625 \begin_layout Description
19626 \begin_inset Flex Code
19627 status collapsed
19628
19629 \begin_layout Plain Layout
19630 Spellcheck
19631 \end_layout
19632
19633 \end_inset
19634
19635  [
19636 \begin_inset Flex Code
19637 status collapsed
19638
19639 \begin_layout Plain Layout
19640 0
19641 \end_layout
19642
19643 \end_inset
19644
19645 ,
19646 \begin_inset space \thinspace{}
19647 \end_inset
19648
19649
19650 \begin_inset Flex Code
19651 status collapsed
19652
19653 \begin_layout Plain Layout
19654
19655 \emph on
19656 1
19657 \end_layout
19658
19659 \end_inset
19660
19661 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
19662 \end_layout
19663
19664 \begin_layout Subsection
19665 引数
19666 \begin_inset CommandInset label
19667 LatexCommand label
19668 name "subsec:引数"
19669
19670 \end_inset
19671
19672
19673 \end_layout
19674
19675 \begin_layout Standard
19676 段落様式と差込枠レイアウトは,
19677 内容本体に加えて引数を取ることができます.これは,
19678 節見出しのようなものに便利で,
19679 また\SpecialChar LaTeX
19680 でのみ意味を持ちます.コマンドまたは環境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,
19681 必須・非必須を問わず–,
19682 別の場所で定義され,
19683 引数番号はその順序を表します.定義は
19684 \begin_inset Flex Code
19685 status collapsed
19686
19687 \begin_layout Plain Layout
19688 EndArgument
19689 \end_layout
19690
19691 \end_inset
19692
19693 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,
19694 以下のようになります.
19695 \end_layout
19696
19697 \begin_layout Quote
19698
19699 \family typewriter
19700 Argument 1
19701 \end_layout
19702
19703 \begin_layout Quote
19704
19705 \family typewriter
19706 ...
19707 \end_layout
19708
19709 \begin_layout Quote
19710
19711 \family typewriter
19712 EndArgument
19713 \end_layout
19714
19715 \begin_layout Quote
19716
19717 \family typewriter
19718 Argument 2
19719 \end_layout
19720
19721 \begin_layout Quote
19722
19723 \family typewriter
19724 ...
19725 \end_layout
19726
19727 \begin_layout Quote
19728
19729 \family typewriter
19730 EndArgument
19731 \end_layout
19732
19733 \begin_layout Standard
19734 \begin_inset Flex Code
19735 status collapsed
19736
19737 \begin_layout Plain Layout
19738 Argument
19739 \end_layout
19740
19741 \end_inset
19742
19743 定義内部では,
19744 以下の指定をすることができます.
19745 \end_layout
19746
19747 \begin_layout Itemize
19748 \begin_inset Flex Code
19749 status collapsed
19750
19751 \begin_layout Plain Layout
19752 LabelString
19753 \end_layout
19754
19755 \end_inset
19756
19757  
19758 \begin_inset Flex Code
19759 status collapsed
19760
19761 \begin_layout Plain Layout
19762 [文字列]
19763 \end_layout
19764
19765 \end_inset
19766
19767  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
19768 \begin_inset Flex Code
19769 status collapsed
19770
19771 \begin_layout Plain Layout
19772 MenuString
19773 \end_layout
19774
19775 \end_inset
19776
19777 を指定した場合を除く).メニューには,
19778 後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
19779 \begin_inset space \space{}
19780 \end_inset
19781
19782
19783 \begin_inset Quotes eld
19784 \end_inset
19785
19786
19787 \begin_inset Flex Code
19788 status collapsed
19789
19790 \begin_layout Plain Layout
19791 Short Title|S
19792 \end_layout
19793
19794 \end_inset
19795
19796
19797 \begin_inset Quotes erd
19798 \end_inset
19799
19800 ).
19801 \end_layout
19802
19803 \begin_layout Itemize
19804 \begin_inset Flex Code
19805 status collapsed
19806
19807 \begin_layout Plain Layout
19808 MenuString
19809 \end_layout
19810
19811 \end_inset
19812
19813  
19814 \begin_inset Flex Code
19815 status collapsed
19816
19817 \begin_layout Plain Layout
19818 [文字列]
19819 \end_layout
19820
19821 \end_inset
19822
19823  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
19824 \begin_inset space \space{}
19825 \end_inset
19826
19827
19828 \begin_inset Quotes eld
19829 \end_inset
19830
19831
19832 \begin_inset Flex Code
19833 status collapsed
19834
19835 \begin_layout Plain Layout
19836 Short Title|S
19837 \end_layout
19838
19839 \end_inset
19840
19841
19842 \begin_inset Quotes erd
19843 \end_inset
19844
19845 ).この指定は必須ではありません.指定しない場合には,
19846 代わりに
19847 \begin_inset Flex Code
19848 status collapsed
19849
19850 \begin_layout Plain Layout
19851 LabelString
19852 \end_layout
19853
19854 \end_inset
19855
19856 がメニューに用いられます.
19857 \end_layout
19858
19859 \begin_layout Itemize
19860 \begin_inset Flex Code
19861 status collapsed
19862
19863 \begin_layout Plain Layout
19864 Tooltip
19865 \end_layout
19866
19867 \end_inset
19868
19869  
19870 \begin_inset Flex Code
19871 status collapsed
19872
19873 \begin_layout Plain Layout
19874 [文字列]
19875 \end_layout
19876
19877 \end_inset
19878
19879  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
19880 \end_layout
19881
19882 \begin_layout Itemize
19883 \begin_inset Flex Code
19884 status collapsed
19885
19886 \begin_layout Plain Layout
19887 Mandatory
19888 \end_layout
19889
19890 \end_inset
19891
19892  [
19893 \begin_inset Flex Code
19894 status collapsed
19895
19896 \begin_layout Plain Layout
19897
19898 \emph on
19899 0
19900 \end_layout
19901
19902 \end_inset
19903
19904 ,
19905 \begin_inset space \thinspace{}
19906 \end_inset
19907
19908
19909 \begin_inset Flex Code
19910 status collapsed
19911
19912 \begin_layout Plain Layout
19913 1
19914 \end_layout
19915
19916 \end_inset
19917
19918 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,
19919 与えられなければ空の出力を行いますが,
19920 非必須引数の場合はそもそも出力されません.既定では,
19921 必須引数は
19922 \begin_inset Flex Code
19923 status collapsed
19924
19925 \begin_layout Plain Layout
19926 {...}
19927 \end_layout
19928
19929 \end_inset
19930
19931 で区切られ,
19932 非必須引数は
19933 \begin_inset Flex Code
19934 status collapsed
19935
19936 \begin_layout Plain Layout
19937 [...]
19938 \end_layout
19939
19940 \end_inset
19941
19942 で区切られます.
19943 \end_layout
19944
19945 \begin_layout Itemize
19946 \begin_inset Flex Code
19947 status collapsed
19948
19949 \begin_layout Plain Layout
19950 NewlineCmd
19951 \end_layout
19952
19953 \end_inset
19954
19955  
19956 \begin_inset Flex Code
19957 status collapsed
19958
19959 \begin_layout Plain Layout
19960 [文字列]
19961 \end_layout
19962
19963 \end_inset
19964
19965  改行に使用するコマンドを(
19966 \begin_inset Flex Code
19967 status collapsed
19968
19969 \begin_layout Plain Layout
19970
19971 \backslash
19972
19973 \backslash
19974
19975 \end_layout
19976
19977 \end_inset
19978
19979 以外に)定義するオプションです.初期値のバックスラッシュは指定できません.
19980 \end_layout
19981
19982 \begin_layout Itemize
19983 \begin_inset Flex Code
19984 status collapsed
19985
19986 \begin_layout Plain Layout
19987 Requires
19988 \end_layout
19989
19990 \end_inset
19991
19992  
19993 \begin_inset Flex Code
19994 status collapsed
19995
19996 \begin_layout Plain Layout
19997 [整数=0]
19998 \end_layout
19999
20000 \end_inset
20001
20002  この引数が出力されるとき,
20003 必要となる別の引数を(番号によって)指定します.例えば,
20004 \SpecialChar LaTeX
20005 コマンドでは,
20006
20007 \begin_inset Flex Code
20008 status collapsed
20009
20010 \begin_layout Plain Layout
20011
20012 \backslash
20013 command[][引数]{文字列}
20014 \end_layout
20015
20016 \end_inset
20017
20018 のように,
20019 前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
20020
20021 \begin_inset Flex Code
20022 status collapsed
20023
20024 \begin_layout Plain Layout
20025 Argument 2
20026 \end_layout
20027
20028 \end_inset
20029
20030 中に
20031 \begin_inset Flex Code
20032 status collapsed
20033
20034 \begin_layout Plain Layout
20035 Requires 1
20036 \end_layout
20037
20038 \end_inset
20039
20040 ステートメントを置くことで実現できます.
20041 \end_layout
20042
20043 \begin_layout Itemize
20044 \begin_inset Flex Code
20045 status collapsed
20046
20047 \begin_layout Plain Layout
20048 LeftDelim
20049 \end_layout
20050
20051 \end_inset
20052
20053  
20054 \begin_inset Flex Code
20055 status collapsed
20056
20057 \begin_layout Plain Layout
20058 [文字列]
20059 \end_layout
20060
20061 \end_inset
20062
20063  (
20064 \begin_inset Flex Code
20065 status collapsed
20066
20067 \begin_layout Plain Layout
20068 {
20069 \end_layout
20070
20071 \end_inset
20072
20073
20074 \begin_inset Flex Code
20075 status collapsed
20076
20077 \begin_layout Plain Layout
20078 [
20079 \end_layout
20080
20081 \end_inset
20082
20083 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
20084 \begin_inset Flex Code
20085 status collapsed
20086
20087 \begin_layout Plain Layout
20088 <br/>
20089 \end_layout
20090
20091 \end_inset
20092
20093 で指示できます.
20094 \end_layout
20095
20096 \begin_layout Itemize
20097 \begin_inset Flex Code
20098 status collapsed
20099
20100 \begin_layout Plain Layout
20101 RightDelim
20102 \end_layout
20103
20104 \end_inset
20105
20106  
20107 \begin_inset Flex Code
20108 status collapsed
20109
20110 \begin_layout Plain Layout
20111 [文字列]
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 Flex Code
20128 status collapsed
20129
20130 \begin_layout Plain Layout
20131 ]
20132 \end_layout
20133
20134 \end_inset
20135
20136 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
20137 \begin_inset Flex Code
20138 status collapsed
20139
20140 \begin_layout Plain Layout
20141 <br/>
20142 \end_layout
20143
20144 \end_inset
20145
20146 で指示できます.
20147 \end_layout
20148
20149 \begin_layout Itemize
20150 \begin_inset Flex Code
20151 status collapsed
20152
20153 \begin_layout Plain Layout
20154 DefaultArg
20155 \end_layout
20156
20157 \end_inset
20158
20159  
20160 \begin_inset Flex Code
20161 status collapsed
20162
20163 \begin_layout Plain Layout
20164 [文字列]
20165 \end_layout
20166
20167 \end_inset
20168
20169  ユーザー指定引数が与えられなかったとき,
20170 すなわち引数差込枠が挿入されなかったときに限り,
20171 挿入される引数を定義します(空の引数差込枠が挿入されてもDefaultArgは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
20172 \end_layout
20173
20174 \begin_layout Itemize
20175 \begin_inset Flex Code
20176 status collapsed
20177
20178 \begin_layout Plain Layout
20179 PresetArg
20180 \end_layout
20181
20182 \end_inset
20183
20184  
20185 \begin_inset Flex Code
20186 status collapsed
20187
20188 \begin_layout Plain Layout
20189 [文字列]
20190 \end_layout
20191
20192 \end_inset
20193
20194  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
20195 \end_layout
20196
20197 \begin_layout Itemize
20198 \begin_inset Flex Code
20199 status collapsed
20200
20201 \begin_layout Plain Layout
20202 Font
20203 \end_layout
20204
20205 \end_inset
20206
20207  引数の内容に用いられるフォント.
20208 \begin_inset CommandInset ref
20209 LatexCommand ref
20210 reference "subsec:フォント指定"
20211 nolink "false"
20212
20213 \end_inset
20214
20215 参照.
20216 \end_layout
20217
20218 \begin_layout Itemize
20219 \begin_inset Flex Code
20220 status collapsed
20221
20222 \begin_layout Plain Layout
20223 FreeSpacing
20224 \end_layout
20225
20226 \end_inset
20227
20228  [
20229 \emph on
20230
20231 \begin_inset Flex Code
20232 status collapsed
20233
20234 \begin_layout Plain Layout
20235 0
20236 \end_layout
20237
20238 \end_inset
20239
20240
20241 \emph default
20242 ,
20243 \begin_inset space \thinspace{}
20244 \end_inset
20245
20246
20247 \begin_inset Flex Code
20248 status collapsed
20249
20250 \begin_layout Plain Layout
20251 1
20252 \end_layout
20253
20254 \end_inset
20255
20256 ] 段落様式と同様.第
20257 \begin_inset CommandInset ref
20258 LatexCommand ref
20259 reference "subsec:段落様式"
20260 nolink "false"
20261
20262 \end_inset
20263
20264 節参照.
20265 \end_layout
20266
20267 \begin_layout Itemize
20268 \begin_inset Flex Code
20269 status collapsed
20270
20271 \begin_layout Plain Layout
20272 LabelFont
20273 \end_layout
20274
20275 \end_inset
20276
20277  ラベルに用いられるフォント.
20278 \begin_inset CommandInset ref
20279 LatexCommand ref
20280 reference "subsec:フォント指定"
20281 nolink "false"
20282
20283 \end_inset
20284
20285 参照.
20286 \end_layout
20287
20288 \begin_layout Itemize
20289 \begin_inset Flex Code
20290 status collapsed
20291
20292 \begin_layout Plain Layout
20293 Decoration
20294 \end_layout
20295
20296 \end_inset
20297
20298  [
20299 \begin_inset Flex Code
20300 status collapsed
20301
20302 \begin_layout Plain Layout
20303
20304 \emph on
20305 Classic
20306 \emph default
20307 ,
20308  Minimalistic,
20309  Conglomerate
20310 \end_layout
20311
20312 \end_inset
20313
20314 ] 差込枠の枠とボタンに用いられる装飾様式.
20315 \end_layout
20316
20317 \begin_layout Itemize
20318 \begin_inset Flex Code
20319 status collapsed
20320
20321 \begin_layout Plain Layout
20322 AutoInsert
20323 \end_layout
20324
20325 \end_inset
20326
20327  
20328 \begin_inset Flex Code
20329 status collapsed
20330
20331 \begin_layout Plain Layout
20332 [整数=0]
20333 \end_layout
20334
20335 \end_inset
20336
20337  これが
20338 \begin_inset Flex Code
20339 status collapsed
20340
20341 \begin_layout Plain Layout
20342 1
20343 \end_layout
20344
20345 \end_inset
20346
20347 に設定されると,
20348 各様式が選択されたときに,
20349 この引数が自動的に挿入されます.
20350 \end_layout
20351
20352 \begin_layout Itemize
20353 \begin_inset Flex Code
20354 status collapsed
20355
20356 \begin_layout Plain Layout
20357 InsertOnNewline
20358 \end_layout
20359
20360 \end_inset
20361
20362  
20363 \begin_inset Flex Code
20364 status collapsed
20365
20366 \begin_layout Plain Layout
20367 [整数=0]
20368 \end_layout
20369
20370 \end_inset
20371
20372  これが
20373 \begin_inset Flex Code
20374 status collapsed
20375
20376 \begin_layout Plain Layout
20377 1
20378 \end_layout
20379
20380 \end_inset
20381
20382 に設定されると,
20383
20384 \begin_inset Flex Code
20385 status collapsed
20386
20387 \begin_layout Plain Layout
20388 AutoInsert
20389 \end_layout
20390
20391 \end_inset
20392
20393 時にこの変数は新規行に挿入されます(自由差込枠でのみ使用可能).
20394 \end_layout
20395
20396 \begin_layout Itemize
20397 \begin_inset Flex Code
20398 status collapsed
20399
20400 \begin_layout Plain Layout
20401 InsertCotext
20402 \end_layout
20403
20404 \end_inset
20405
20406  
20407 \begin_inset Flex Code
20408 status collapsed
20409
20410 \begin_layout Plain Layout
20411 [整数=0]
20412 \end_layout
20413
20414 \end_inset
20415
20416  これが
20417 \begin_inset Flex Code
20418 status collapsed
20419
20420 \begin_layout Plain Layout
20421 1
20422 \end_layout
20423
20424 \end_inset
20425
20426 に設定されると,
20427 この引数は,
20428 副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
20429 \end_layout
20430
20431 \begin_layout Itemize
20432 \begin_inset Flex Code
20433 status collapsed
20434
20435 \begin_layout Plain Layout
20436 PassThru
20437 \end_layout
20438
20439 \end_inset
20440
20441  [
20442 \begin_inset Flex Code
20443 status collapsed
20444
20445 \begin_layout Plain Layout
20446
20447 \emph on
20448 inherited
20449 \emph default
20450 ,
20451  true,
20452  false
20453 \end_layout
20454
20455 \end_inset
20456
20457 ] この引数の内容が,
20458 \SpecialChar LaTeX
20459 が要求する特別な書き換えを行うことなく,
20460 原文のまま出力されるべきかどうかを指定します.既定値では,
20461
20462 \begin_inset Flex Code
20463 status collapsed
20464
20465 \begin_layout Plain Layout
20466 PassThru
20467 \end_layout
20468
20469 \end_inset
20470
20471 の状態は,
20472 引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,
20473 この引数のみの状態を変更します.
20474 \end_layout
20475
20476 \begin_layout Itemize
20477 \begin_inset Flex Code
20478 status collapsed
20479
20480 \begin_layout Plain Layout
20481 PassThruChars
20482 \end_layout
20483
20484 \end_inset
20485
20486  [
20487 \begin_inset Flex Code
20488 status collapsed
20489
20490 \begin_layout Plain Layout
20491 文字列
20492 \end_layout
20493
20494 \end_inset
20495
20496 ]
20497 \family typewriter
20498  
20499 \family default
20500 \SpecialChar LaTeX
20501 が要求する特別な翻訳は抜きにして,
20502 生の形で出力されるべき各文字を定義します.PassThruとは違って,
20503 引数用に,
20504 これは明示的に定義されなくてはなりません.つまり,
20505 引数は,
20506 親差込枠や親レイアウトからPassThruCharsを継承しません.
20507 \end_layout
20508
20509 \begin_layout Itemize
20510 \begin_inset Flex Code
20511 status collapsed
20512
20513 \begin_layout Plain Layout
20514 IsTocCaption
20515 \end_layout
20516
20517 \end_inset
20518
20519  [
20520 \begin_inset Flex Code
20521 status collapsed
20522
20523 \begin_layout Plain Layout
20524
20525 \emph on
20526 0
20527 \end_layout
20528
20529 \end_inset
20530
20531 ,
20532 \begin_inset space \thinspace{}
20533 \end_inset
20534
20535
20536 \begin_inset Flex Code
20537 status collapsed
20538
20539 \begin_layout Plain Layout
20540 1
20541 \end_layout
20542
20543 \end_inset
20544
20545 ] これを1に設定すると,
20546 引数は,
20547 その内容を対応する一覧表の項目に出力します.AddToTocを参照.
20548 \end_layout
20549
20550 \begin_layout Standard
20551 既定では,
20552
20553 \begin_inset Flex Code
20554 status collapsed
20555
20556 \begin_layout Plain Layout
20557 LatexType
20558 \end_layout
20559
20560 \end_inset
20561
20562
20563 \begin_inset Flex Code
20564 status collapsed
20565
20566 \begin_layout Plain Layout
20567 Command
20568 \end_layout
20569
20570 \end_inset
20571
20572 のとき,
20573 各レイアウトで\SpecialChar LyX
20574 作業領域に入力した文字列は,
20575 コマンドの最後の(必須)引数になります.しかしながら,
20576 前置句
20577 \begin_inset Flex Code
20578 status collapsed
20579
20580 \begin_layout Plain Layout
20581 post:
20582 \end_layout
20583
20584 \end_inset
20585
20586 を付けた文字列は,
20587 この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,
20588 作業領域引数の後の最初の引数は
20589 \begin_inset Flex Code
20590 status collapsed
20591
20592 \begin_layout Plain Layout
20593 post:1
20594 \end_layout
20595
20596 \end_inset
20597
20598 となります.後置引数は,
20599
20600 \begin_inset Flex Code
20601 status collapsed
20602
20603 \begin_layout Plain Layout
20604 Command
20605 \end_layout
20606
20607 \end_inset
20608
20609 以外の
20610 \begin_inset Flex Code
20611 status collapsed
20612
20613 \begin_layout Plain Layout
20614 LatexType
20615 \end_layout
20616
20617 \end_inset
20618
20619 では無視されます.
20620 \end_layout
20621
20622 \begin_layout Standard
20623 (
20624 \begin_inset Flex Code
20625 status collapsed
20626
20627 \begin_layout Plain Layout
20628
20629 \backslash
20630 item[foo]
20631 \end_layout
20632
20633 \end_inset
20634
20635 のような)箇条書き
20636 \begin_inset Flex Code
20637 status collapsed
20638
20639 \begin_layout Plain Layout
20640
20641 \backslash
20642 item
20643 \end_layout
20644
20645 \end_inset
20646
20647 の引数は,
20648 前置句
20649 \begin_inset Flex Code
20650 status collapsed
20651
20652 \begin_layout Plain Layout
20653 item:
20654 \end_layout
20655
20656 \end_inset
20657
20658 の後に番号を付けます(例:
20659 \begin_inset Flex Code
20660 status collapsed
20661
20662 \begin_layout Plain Layout
20663 Argument item:1
20664 \end_layout
20665
20666 \end_inset
20667
20668 ).
20669 \end_layout
20670
20671 \begin_layout Standard
20672 最後に,
20673 前置句
20674 \begin_inset Flex Code
20675 status collapsed
20676
20677 \begin_layout Plain Layout
20678 listpreamble:
20679 \end_layout
20680
20681 \end_inset
20682
20683 を用いる特別な引数型があります.これは本当は引数ではありませんが,
20684 引数インタフェースを用います(したがって前置句後には数値が続きます.例:
20685
20686 \begin_inset Flex Code
20687 status collapsed
20688
20689 \begin_layout Plain Layout
20690 Argument listpreamble:1
20691 \end_layout
20692
20693 \end_inset
20694
20695 ).名前が示すように,
20696
20697 \family sans
20698 Itemize
20699 \family default
20700
20701 \family sans
20702 Enumerate
20703 \family default
20704
20705 \family sans
20706 Description
20707 \family default
20708
20709 \family sans
20710 Bibliography
20711 \family default
20712 のようなリストが対象です.その中身はリスト開始時,
20713 最初の
20714 \begin_inset Flex Code
20715 status collapsed
20716
20717 \begin_layout Plain Layout
20718
20719 \backslash
20720 item
20721 \end_layout
20722
20723 \end_inset
20724
20725 の前に独立した行として(\SpecialChar LyX
20726 からは他の方法ではアクセス不能な場所です)出力されます.このようにして,
20727 ユーザーは各リストに(長さ等の)再定義を入れることができます.既定では,
20728 これらの引数は区切り文字を持ちません.
20729 \end_layout
20730
20731 \begin_layout Subsection
20732 カウンタ
20733 \begin_inset CommandInset label
20734 LatexCommand label
20735 name "subsec:カウンタ"
20736
20737 \end_inset
20738
20739
20740 \end_layout
20741
20742 \begin_layout Standard
20743 テキストクラスには,
20744 カウンタ(
20745 \begin_inset Flex MenuItem
20746 status collapsed
20747
20748 \begin_layout Plain Layout
20749 chapter
20750 \end_layout
20751
20752 \end_inset
20753
20754
20755 \begin_inset Flex MenuItem
20756 status collapsed
20757
20758 \begin_layout Plain Layout
20759 figure
20760 \end_layout
20761
20762 \end_inset
20763
20764 ・\SpecialChar ldots
20765 )を定義することが必要です.標準的なカウンタは
20766 \begin_inset Flex Code
20767 status collapsed
20768
20769 \begin_layout Plain Layout
20770 stdcounters.inc
20771 \end_layout
20772
20773 \end_inset
20774
20775 ファイルに含まれているので,
20776 作業中のレイアウトファイルに
20777 \end_layout
20778
20779 \begin_layout LyX-Code
20780 Input stdcounters.inc
20781 \end_layout
20782
20783 \begin_layout Standard
20784 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,
20785 そうすることもできます.カウンタ宣言は,
20786
20787 \end_layout
20788
20789 \begin_layout LyX-Code
20790 Counter カウンタ名
20791 \end_layout
20792
20793 \begin_layout Standard
20794 で始まらなくてはなりません.ここで「
20795 \begin_inset Flex Code
20796 status collapsed
20797
20798 \begin_layout Plain Layout
20799 カウンタ名
20800 \end_layout
20801
20802 \end_inset
20803
20804 」は,
20805 実際のカウンタ名で置き換えます.また,
20806 宣言は「
20807 \begin_inset Flex Code
20808 status collapsed
20809
20810 \begin_layout Plain Layout
20811 End
20812 \end_layout
20813
20814 \end_inset
20815
20816 」で終わらなくてはなりません.
20817 \end_layout
20818
20819 \begin_layout Standard
20820 以下のパラメータを使用することができます.
20821 \end_layout
20822
20823 \begin_layout Description
20824 \begin_inset Flex Code
20825 status collapsed
20826
20827 \begin_layout Plain Layout
20828 InitialValue
20829 \end_layout
20830
20831 \end_inset
20832
20833  [
20834 \begin_inset Flex Code
20835 status collapsed
20836
20837 \begin_layout Plain Layout
20838 整数=1
20839 \end_layout
20840
20841 \end_inset
20842
20843 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,
20844 既定値1のままで充分でしょう.
20845 \end_layout
20846
20847 \begin_layout Description
20848 \begin_inset Flex Code
20849 status collapsed
20850
20851 \begin_layout Plain Layout
20852 LabelString
20853 \end_layout
20854
20855 \end_inset
20856
20857  [
20858 \begin_inset Flex Code
20859 status collapsed
20860
20861 \begin_layout Plain Layout
20862 文字列
20863 \end_layout
20864
20865 \end_inset
20866
20867 =""] 定義されていると,
20868 ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
20869
20870 \begin_inset Flex Code
20871 status collapsed
20872
20873 \begin_layout Plain Layout
20874 LabelStringAppendix
20875 \end_layout
20876
20877 \end_inset
20878
20879 も同じ値に設定されます.文字列中では,
20880 以下の構成要素を使用することができます.
20881 \end_layout
20882
20883 \begin_deeper
20884 \begin_layout Itemize
20885 \begin_inset Flex Code
20886 status collapsed
20887
20888 \begin_layout Plain Layout
20889
20890 \backslash
20891 thecounter
20892 \end_layout
20893
20894 \end_inset
20895
20896 は,
20897 カウンタ
20898 \begin_inset Flex Code
20899 status collapsed
20900
20901 \begin_layout Plain Layout
20902 counter
20903 \end_layout
20904
20905 \end_inset
20906
20907
20908 \begin_inset Flex Code
20909 status collapsed
20910
20911 \begin_layout Plain Layout
20912 LabelString
20913 \end_layout
20914
20915 \end_inset
20916
20917 (または
20918 \begin_inset Newline linebreak
20919 \end_inset
20920
20921
20922 \begin_inset Flex Code
20923 status collapsed
20924
20925 \begin_layout Plain Layout
20926 LabelStringAppendix
20927 \end_layout
20928
20929 \end_inset
20930
20931 )を展開したもので置き換えられます. 
20932 \end_layout
20933
20934 \begin_layout Itemize
20935 カウンタ値は,
20936 \SpecialChar LaTeX
20937 型マクロ
20938 \begin_inset Flex Code
20939 status collapsed
20940
20941 \begin_layout Plain Layout
20942
20943 \backslash
20944
20945 \emph on
20946 numbertype
20947 \emph default
20948 {
20949 \emph on
20950 カウンタ
20951 \emph default
20952 }
20953 \end_layout
20954
20955 \end_inset
20956
20957 を用いて表現することができます.ここで
20958 \begin_inset Flex Code
20959 status collapsed
20960
20961 \begin_layout Plain Layout
20962
20963 \emph on
20964 numbertype
20965 \end_layout
20966
20967 \end_inset
20968
20969 は以下のいずれかです.
20970 \begin_inset Flex Code
20971 status collapsed
20972
20973 \begin_layout Plain Layout
20974 arabic
20975 \end_layout
20976
20977 \end_inset
20978
20979
20980 1,
20981  2,
20982  3,\SpecialChar ldots
20983
20984
20985 \begin_inset Flex Code
20986 status collapsed
20987
20988 \begin_layout Plain Layout
20989 alph
20990 \end_layout
20991
20992 \end_inset
20993
20994
20995 a,
20996  b,
20997  c,
20998  \SpecialChar ldots
20999 (小文字);
21000
21001 \begin_inset Flex Code
21002 status collapsed
21003
21004 \begin_layout Plain Layout
21005 Alph
21006 \end_layout
21007
21008 \end_inset
21009
21010
21011 A,
21012  B,
21013  C,
21014  \SpecialChar ldots
21015 (大文字);
21016
21017 \begin_inset Flex Code
21018 status collapsed
21019
21020 \begin_layout Plain Layout
21021 roman
21022 \end_layout
21023
21024 \end_inset
21025
21026
21027 i,
21028  ii,
21029  iii,
21030  \SpecialChar ldots
21031 (小文字ローマ数字);
21032
21033 \begin_inset Flex Code
21034 status collapsed
21035
21036 \begin_layout Plain Layout
21037 Roman
21038 \end_layout
21039
21040 \end_inset
21041
21042
21043 I,
21044  II,
21045  III\SpecialChar ldots
21046 (大文字ローマ数字).
21047 \end_layout
21048
21049 \end_deeper
21050 \begin_layout Standard
21051 \begin_inset Flex Code
21052 status collapsed
21053
21054 \begin_layout Plain Layout
21055 LabelString
21056 \end_layout
21057
21058 \end_inset
21059
21060 が定義されていないときは,
21061 既定値は以下のように組み立てられます.このカウンタに親カウンタ
21062 \begin_inset Flex Code
21063 status collapsed
21064
21065 \begin_layout Plain Layout
21066 master
21067 \end_layout
21068
21069 \end_inset
21070
21071
21072 \begin_inset Flex Code
21073 status collapsed
21074
21075 \begin_layout Plain Layout
21076 Within
21077 \end_layout
21078
21079 \end_inset
21080
21081 で定義)があるときには,
21082 文字列
21083 \begin_inset Newline linebreak
21084 \end_inset
21085
21086
21087 \begin_inset Flex Code
21088 status collapsed
21089
21090 \begin_layout Plain Layout
21091
21092 \backslash
21093 themaster.
21094 \backslash
21095 arabic{カウンタ}
21096 \end_layout
21097
21098 \end_inset
21099
21100 が使用されます.それ以外の場合は,
21101
21102 \begin_inset Flex Code
21103 status collapsed
21104
21105 \begin_layout Plain Layout
21106
21107 \backslash
21108 arabic{カウンタ}
21109 \end_layout
21110
21111 \end_inset
21112
21113 が使用されます.
21114 \end_layout
21115
21116 \begin_layout Description
21117 \begin_inset Flex Code
21118 status collapsed
21119
21120 \begin_layout Plain Layout
21121 LabelStringAppendix
21122 \end_layout
21123
21124 \end_inset
21125
21126  [
21127 \begin_inset Flex Code
21128 status collapsed
21129
21130 \begin_layout Plain Layout
21131 文字列
21132 \end_layout
21133
21134 \end_inset
21135
21136 =""] 
21137 \begin_inset Flex Code
21138 status collapsed
21139
21140 \begin_layout Plain Layout
21141 LabelString
21142 \end_layout
21143
21144 \end_inset
21145
21146 と同様ですが,
21147 付録で使用するためのものです.
21148 \end_layout
21149
21150 \begin_layout Description
21151 \begin_inset Flex Code
21152 status collapsed
21153
21154 \begin_layout Plain Layout
21155 LaTeXName
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 \begin_inset Quotes erd
21172 \end_inset
21173
21174
21175 \begin_inset Quotes erd
21176 \end_inset
21177
21178 ] \SpecialChar LaTeX
21179 で使用されるカウンタ名(たとえば\SpecialChar LyX
21180 では「theorem」というカウンタがありますが,
21181 \SpecialChar LaTeX
21182 には「thm」と出力されます).
21183 \end_layout
21184
21185 \begin_layout Description
21186 \begin_inset Flex Code
21187 status collapsed
21188
21189 \begin_layout Plain Layout
21190 PrettyFormat
21191 \end_layout
21192
21193 \end_inset
21194
21195  [
21196 \begin_inset Flex Code
21197 status collapsed
21198
21199 \begin_layout Plain Layout
21200 文字列
21201 \end_layout
21202
21203 \end_inset
21204
21205 =
21206 \begin_inset Quotes erd
21207 \end_inset
21208
21209
21210 \begin_inset Quotes erd
21211 \end_inset
21212
21213 ] このカウンタの整形参照で使用する書式.たとえば,
21214 節番号への参照を「Section
21215 \begin_inset space ~
21216 \end_inset
21217
21218 2.4」のように表示させたい場合には,
21219 文字列に「##」を含めます.これは,
21220 カウンタ番号で置換されます.したがって,
21221 節の場合には「Section ##」のようにします.
21222 \end_layout
21223
21224 \begin_layout Description
21225 \begin_inset Flex Code
21226 status collapsed
21227
21228 \begin_layout Plain Layout
21229 Within
21230 \end_layout
21231
21232 \end_inset
21233
21234  [
21235 \begin_inset Flex Code
21236 status collapsed
21237
21238 \begin_layout Plain Layout
21239 文字列
21240 \end_layout
21241
21242 \end_inset
21243
21244 =
21245 \begin_inset Quotes erd
21246 \end_inset
21247
21248
21249 \begin_inset Quotes erd
21250 \end_inset
21251
21252 ] これを別のカウンタ名に設定すると,
21253 現在のカウンタは,
21254 別のカウンタが増加する毎にリセットされます.たとえば,
21255
21256 \begin_inset Flex Code
21257 status collapsed
21258
21259 \begin_layout Plain Layout
21260 subsection
21261 \end_layout
21262
21263 \end_inset
21264
21265
21266 \begin_inset Flex Code
21267 status collapsed
21268
21269 \begin_layout Plain Layout
21270 section
21271 \end_layout
21272
21273 \end_inset
21274
21275 毎に番号がリセットされます.
21276 \end_layout
21277
21278 \begin_layout Subsection
21279 フォント指定
21280 \begin_inset CommandInset label
21281 LatexCommand label
21282 name "subsec:フォント指定"
21283
21284 \end_inset
21285
21286
21287 \end_layout
21288
21289 \begin_layout Standard
21290 フォント指定は,
21291 以下のような形を取ります.
21292 \end_layout
21293
21294 \begin_layout LyX-Code
21295 Font 
21296 \family roman
21297 \emph on
21298 または
21299 \family default
21300 \emph default
21301  LabelFont 
21302 \family roman
21303 \emph on
21304 または
21305 \family default
21306 \emph default
21307  DefaultFont
21308 \end_layout
21309
21310 \begin_layout LyX-Code
21311  ...
21312 \end_layout
21313
21314 \begin_layout LyX-Code
21315 EndFont
21316 \end_layout
21317
21318 \begin_layout Standard
21319 以下のコマンドを使用することができます.
21320 \end_layout
21321
21322 \begin_layout Description
21323 \begin_inset Flex Code
21324 status collapsed
21325
21326 \begin_layout Plain Layout
21327 Color
21328 \end_layout
21329
21330 \end_inset
21331
21332  [
21333 \begin_inset Flex Code
21334 status collapsed
21335
21336 \begin_layout Plain Layout
21337 文字列
21338 \end_layout
21339
21340 \end_inset
21341
21342 ] 有効な引数については,
21343 付録
21344 \begin_inset CommandInset ref
21345 LatexCommand ref
21346 reference "chap:色名"
21347 plural "false"
21348 caps "false"
21349 noprefix "false"
21350 nolink "false"
21351
21352 \end_inset
21353
21354 をご覧ください.
21355 \end_layout
21356
21357 \begin_layout Description
21358 \begin_inset Flex Code
21359 status collapsed
21360
21361 \begin_layout Plain Layout
21362 Family
21363 \end_layout
21364
21365 \end_inset
21366
21367  [
21368 \emph on
21369
21370 \begin_inset Flex Code
21371 status collapsed
21372
21373 \begin_layout Plain Layout
21374 Roman
21375 \end_layout
21376
21377 \end_inset
21378
21379
21380 \emph default
21381 ,
21382  
21383 \begin_inset Flex Code
21384 status collapsed
21385
21386 \begin_layout Plain Layout
21387 Sans
21388 \end_layout
21389
21390 \end_inset
21391
21392 ,
21393  
21394 \begin_inset Flex Code
21395 status collapsed
21396
21397 \begin_layout Plain Layout
21398 Typewriter
21399 \end_layout
21400
21401 \end_inset
21402
21403
21404 \end_layout
21405
21406 \begin_layout Description
21407 \begin_inset Flex Code
21408 status collapsed
21409
21410 \begin_layout Plain Layout
21411 Misc
21412 \end_layout
21413
21414 \end_inset
21415
21416  [
21417 \begin_inset Flex Code
21418 status collapsed
21419
21420 \begin_layout Plain Layout
21421 文字列
21422 \end_layout
21423
21424 \end_inset
21425
21426 ] 有効な引数は,
21427
21428 \begin_inset Flex Code
21429 status collapsed
21430
21431 \begin_layout Plain Layout
21432 emph
21433 \end_layout
21434
21435 \end_inset
21436
21437
21438 \begin_inset Flex Code
21439 status collapsed
21440
21441 \begin_layout Plain Layout
21442 noun
21443 \end_layout
21444
21445 \end_inset
21446
21447
21448 \begin_inset Flex Code
21449 status collapsed
21450
21451 \begin_layout Plain Layout
21452 strikeout
21453 \end_layout
21454
21455 \end_inset
21456
21457
21458 \begin_inset Flex Code
21459 status collapsed
21460
21461 \begin_layout Plain Layout
21462 underbar
21463 \end_layout
21464
21465 \end_inset
21466
21467
21468 \begin_inset Flex Code
21469 status collapsed
21470
21471 \begin_layout Plain Layout
21472 uuline
21473 \end_layout
21474
21475 \end_inset
21476
21477
21478 \begin_inset Flex Code
21479 status collapsed
21480
21481 \begin_layout Plain Layout
21482 uwave
21483 \end_layout
21484
21485 \end_inset
21486
21487
21488 \begin_inset Flex Code
21489 status collapsed
21490
21491 \begin_layout Plain Layout
21492 no_emph
21493 \end_layout
21494
21495 \end_inset
21496
21497
21498 \begin_inset Flex Code
21499 status collapsed
21500
21501 \begin_layout Plain Layout
21502 no_noun
21503 \end_layout
21504
21505 \end_inset
21506
21507
21508 \begin_inset Flex Code
21509 status collapsed
21510
21511 \begin_layout Plain Layout
21512 no_strikeout
21513 \end_layout
21514
21515 \end_inset
21516
21517
21518 \begin_inset Flex Code
21519 status collapsed
21520
21521 \begin_layout Plain Layout
21522 no_bar
21523 \end_layout
21524
21525 \end_inset
21526
21527
21528 \begin_inset Flex Code
21529 status collapsed
21530
21531 \begin_layout Plain Layout
21532 no_uuline
21533 \end_layout
21534
21535 \end_inset
21536
21537
21538 \begin_inset Flex Code
21539 status collapsed
21540
21541 \begin_layout Plain Layout
21542 no_uwave
21543 \end_layout
21544
21545 \end_inset
21546
21547 です.それぞれ,
21548 対応する属性を有効にしたり無効にしたりします.
21549 \begin_inset Newline newline
21550 \end_inset
21551
21552 たとえば,
21553
21554 \begin_inset Flex Code
21555 status collapsed
21556
21557 \begin_layout Plain Layout
21558 emph
21559 \end_layout
21560
21561 \end_inset
21562
21563 は強調を有効にし,
21564
21565 \begin_inset Flex Code
21566 status collapsed
21567
21568 \begin_layout Plain Layout
21569 no_emph
21570 \end_layout
21571
21572 \end_inset
21573
21574 はそれを無効にします.もし後者がわかりにくければ,
21575 現在のコンテクストのフォント設定は,
21576 一般的に周囲のコンテクストから継承していることを思い出してください.ですから
21577 \begin_inset Flex Code
21578 status collapsed
21579
21580 \begin_layout Plain Layout
21581 no_emph
21582 \end_layout
21583
21584 \end_inset
21585
21586 は,
21587 たとえば定理環境で,
21588 何をせずとも有効となっている強調を無効にするのです.
21589 \end_layout
21590
21591 \begin_layout Description
21592 \begin_inset Flex Code
21593 status collapsed
21594
21595 \begin_layout Plain Layout
21596 Series
21597 \end_layout
21598
21599 \end_inset
21600
21601  [
21602 \emph on
21603
21604 \begin_inset Flex Code
21605 status collapsed
21606
21607 \begin_layout Plain Layout
21608 Medium
21609 \end_layout
21610
21611 \end_inset
21612
21613
21614 \emph default
21615 ,
21616  
21617 \begin_inset Flex Code
21618 status collapsed
21619
21620 \begin_layout Plain Layout
21621 Bold
21622 \end_layout
21623
21624 \end_inset
21625
21626
21627 \end_layout
21628
21629 \begin_layout Description
21630 \begin_inset Flex Code
21631 status collapsed
21632
21633 \begin_layout Plain Layout
21634 Shape
21635 \end_layout
21636
21637 \end_inset
21638
21639  [
21640 \emph on
21641
21642 \begin_inset Flex Code
21643 status collapsed
21644
21645 \begin_layout Plain Layout
21646 Up
21647 \end_layout
21648
21649 \end_inset
21650
21651
21652 \emph default
21653 ,
21654  
21655 \begin_inset Flex Code
21656 status collapsed
21657
21658 \begin_layout Plain Layout
21659 Italic
21660 \end_layout
21661
21662 \end_inset
21663
21664 ,
21665  
21666 \begin_inset Flex Code
21667 status collapsed
21668
21669 \begin_layout Plain Layout
21670 SmallCaps
21671 \end_layout
21672
21673 \end_inset
21674
21675 ,
21676  
21677 \begin_inset Flex Code
21678 status collapsed
21679
21680 \begin_layout Plain Layout
21681 Slanted
21682 \end_layout
21683
21684 \end_inset
21685
21686
21687 \end_layout
21688
21689 \begin_layout Description
21690 \begin_inset Flex Code
21691 status collapsed
21692
21693 \begin_layout Plain Layout
21694 Size
21695 \end_layout
21696
21697 \end_inset
21698
21699  [
21700 \begin_inset Flex Code
21701 status collapsed
21702
21703 \begin_layout Plain Layout
21704 tiny
21705 \end_layout
21706
21707 \end_inset
21708
21709 ,
21710  
21711 \begin_inset Flex Code
21712 status collapsed
21713
21714 \begin_layout Plain Layout
21715 small
21716 \end_layout
21717
21718 \end_inset
21719
21720 ,
21721  
21722 \begin_inset Flex Code
21723 status collapsed
21724
21725 \begin_layout Plain Layout
21726
21727 \emph on
21728 normal
21729 \end_layout
21730
21731 \end_inset
21732
21733 ,
21734  
21735 \begin_inset Flex Code
21736 status collapsed
21737
21738 \begin_layout Plain Layout
21739 large
21740 \end_layout
21741
21742 \end_inset
21743
21744 ,
21745  
21746 \begin_inset Flex Code
21747 status collapsed
21748
21749 \begin_layout Plain Layout
21750 larger
21751 \end_layout
21752
21753 \end_inset
21754
21755 ,
21756  
21757 \begin_inset Flex Code
21758 status collapsed
21759
21760 \begin_layout Plain Layout
21761 largest
21762 \end_layout
21763
21764 \end_inset
21765
21766 ,
21767  
21768 \begin_inset Flex Code
21769 status collapsed
21770
21771 \begin_layout Plain Layout
21772 huge
21773 \end_layout
21774
21775 \end_inset
21776
21777 ,
21778  
21779 \begin_inset Flex Code
21780 status collapsed
21781
21782 \begin_layout Plain Layout
21783 giant
21784 \end_layout
21785
21786 \end_inset
21787
21788 ]
21789 \end_layout
21790
21791 \begin_layout Subsection
21792 \begin_inset CommandInset label
21793 LatexCommand label
21794 name "subsec:引用エンジンの説明"
21795
21796 \end_inset
21797
21798 引用エンジンの説明
21799 \end_layout
21800
21801 \begin_layout Standard
21802 主に引用エンジンファイル(第
21803 \begin_inset CommandInset ref
21804 LatexCommand ref
21805 reference "subsec:引用エンジンファイル"
21806 plural "false"
21807 caps "false"
21808 noprefix "false"
21809 nolink "false"
21810
21811 \end_inset
21812
21813 節参照)で用いられる
21814 \begin_inset Flex Code
21815 status collapsed
21816
21817 \begin_layout Plain Layout
21818 CiteEngine
21819 \end_layout
21820
21821 \end_inset
21822
21823 ブロックは,
21824 特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
21825 の用語では,
21826 引用エンジンとは,
21827 番号や著者名,
21828 刊行年を使って,
21829 引用を整形する特定の方法のことを指します.\SpecialChar LyX
21830 は,
21831 3つのエンジンの型をサポートします.すなわち,
21832
21833 \end_layout
21834
21835 \begin_layout Enumerate
21836 \begin_inset Flex Code
21837 status collapsed
21838
21839 \begin_layout Plain Layout
21840 default
21841 \end_layout
21842
21843 \end_inset
21844
21845 :
21846  既定のBib\SpecialChar TeX
21847 流の引用方法である,
21848 単純な番号による様式(例:
21849 「[1]」)
21850 \end_layout
21851
21852 \begin_layout Enumerate
21853 \begin_inset Flex Code
21854 status collapsed
21855
21856 \begin_layout Plain Layout
21857 authoryear
21858 \end_layout
21859
21860 \end_inset
21861
21862 :
21863  著者名と刊行年を使ったHarvard様式の引用(例:
21864 「Smith and Miller (2017b)」)
21865 \end_layout
21866
21867 \begin_layout Enumerate
21868 \begin_inset Flex Code
21869 status collapsed
21870
21871 \begin_layout Plain Layout
21872 numerical
21873 \end_layout
21874
21875 \end_inset
21876
21877 :
21878  番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:
21879 「Smith and Miller [1]」)
21880 \end_layout
21881
21882 \begin_layout Standard
21883 \begin_inset Flex Code
21884 status collapsed
21885
21886 \begin_layout Plain Layout
21887 CiteEngine
21888 \end_layout
21889
21890 \end_inset
21891
21892 ブロックは以下のようになります.
21893 \end_layout
21894
21895 \begin_layout LyX-Code
21896 CiteEngine default
21897 \end_layout
21898
21899 \begin_layout LyX-Code
21900  cite
21901 \end_layout
21902
21903 \begin_layout LyX-Code
21904  Citep*[][]
21905 \end_layout
21906
21907 \begin_layout LyX-Code
21908  citeyearpar[][]=parencite*
21909 \end_layout
21910
21911 \begin_layout LyX-Code
21912  ...
21913 \end_layout
21914
21915 \begin_layout LyX-Code
21916 End
21917 \end_layout
21918
21919 \begin_layout Standard
21920 \begin_inset Flex Code
21921 status collapsed
21922
21923 \begin_layout Plain Layout
21924 CiteEngine
21925 \end_layout
21926
21927 \end_inset
21928
21929 に続くタグがエンジンを表します.各行は,
21930 このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,
21931 \SpecialChar LyX
21932 コマンドと\SpecialChar LaTeX
21933 出力を命名するのに使われる引用コマンドのみを含むこともあれば,
21934 色々変えるために複雑なこともあります.完全な文法は
21935 \end_layout
21936
21937 \begin_layout LyX-Code
21938 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21939 \end_layout
21940
21941 \begin_layout Standard
21942 という形になっています.ここで
21943 \end_layout
21944
21945 \begin_layout Itemize
21946 \begin_inset Flex Code
21947 status collapsed
21948
21949 \begin_layout Plain Layout
21950 LyXName
21951 \end_layout
21952
21953 \end_inset
21954
21955 :
21956  
21957 \begin_inset Flex Code
21958 status collapsed
21959
21960 \begin_layout Plain Layout
21961 *.lyx
21962 \end_layout
21963
21964 \end_inset
21965
21966 ファイルで使用される名前.
21967 \end_layout
21968
21969 \begin_deeper
21970 \begin_layout Standard
21971 可搬性のために,
21972 異なる引用パッケージ中の同じ形をしたコマンドには,
21973 同じ名前をつけるようにしています(したがって,
21974 多くの名前がnatbibから派生しており,
21975 \SpecialChar LaTeX
21976 コマンド名が異なる場合には,
21977 しばしば
21978 \begin_inset Flex Code
21979 status collapsed
21980
21981 \begin_layout Plain Layout
21982 latexcmd
21983 \end_layout
21984
21985 \end_inset
21986
21987 を変える必要があります).
21988 \end_layout
21989
21990 \end_deeper
21991 \begin_layout Itemize
21992 \begin_inset Flex Code
21993 status collapsed
21994
21995 \begin_layout Plain Layout
21996 alias
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 LyXName
22009 \end_layout
22010
22011 \end_inset
22012
22013 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,
22014 引用パッケージとエンジンを切り替えるのが楽になります.
22015 \begin_inset Flex Code
22016 status collapsed
22017
22018 \begin_layout Plain Layout
22019 alias
22020 \end_layout
22021
22022 \end_inset
22023
22024 はレイアウト定義中での
22025 \begin_inset Flex Code
22026 status collapsed
22027
22028 \begin_layout Plain Layout
22029 ObsoletedBy
22030 \end_layout
22031
22032 \end_inset
22033
22034 に相当するものと考えてよいでしょう.
22035 \end_layout
22036
22037 \begin_layout Itemize
22038 \begin_inset Flex Code
22039 status collapsed
22040
22041 \begin_layout Plain Layout
22042 latexcmd
22043 \end_layout
22044
22045 \end_inset
22046
22047 :
22048  出力される実際の\SpecialChar LaTeX
22049 コマンド.
22050 \end_layout
22051
22052 \begin_layout Standard
22053 \begin_inset Flex Code
22054 status collapsed
22055
22056 \begin_layout Plain Layout
22057 Alias
22058 \end_layout
22059
22060 \end_inset
22061
22062
22063 \begin_inset Flex Code
22064 status collapsed
22065
22066 \begin_layout Plain Layout
22067 latexcmd
22068 \end_layout
22069
22070 \end_inset
22071
22072 は必須ではありません.
22073 \begin_inset Flex Code
22074 status collapsed
22075
22076 \begin_layout Plain Layout
22077 latexcmd
22078 \end_layout
22079
22080 \end_inset
22081
22082 が与えられない時は,
22083
22084 \begin_inset Flex Code
22085 status collapsed
22086
22087 \begin_layout Plain Layout
22088 LyXName
22089 \end_layout
22090
22091 \end_inset
22092
22093 が\SpecialChar LaTeX
22094 に出力されます.
22095 \end_layout
22096
22097 \begin_layout Standard
22098 さらに,
22099 下記の点に注意してください.
22100 \end_layout
22101
22102 \begin_layout Itemize
22103 大文字にするとコマンドも大文字化されたものになります(
22104 \begin_inset Flex Code
22105 status collapsed
22106
22107 \begin_layout Plain Layout
22108
22109 \backslash
22110 latexcmd
22111 \end_layout
22112
22113 \end_inset
22114
22115
22116 \begin_inset Flex Code
22117 status collapsed
22118
22119 \begin_layout Plain Layout
22120
22121 \backslash
22122 Latexcmd
22123 \end_layout
22124
22125 \end_inset
22126
22127 に).これらは通常,
22128 名前の前置詞を大文字化するのを確実にします(
22129 \emph on
22130 von Goethe
22131 \emph default
22132  
22133 \begin_inset Formula $\Rightarrow$
22134 \end_inset
22135
22136  
22137 \emph on
22138 Von Goethe
22139 \emph default
22140 ).
22141 \end_layout
22142
22143 \begin_layout Itemize
22144 括弧
22145 \begin_inset Flex Code
22146 status collapsed
22147
22148 \begin_layout Plain Layout
22149 []
22150 \end_layout
22151
22152 \end_inset
22153
22154 は非必須引数の数を表します(0-2をとりえます).
22155 \end_layout
22156
22157 \begin_layout Itemize
22158 星印
22159 \begin_inset Flex Code
22160 status collapsed
22161
22162 \begin_layout Plain Layout
22163 *
22164 \end_layout
22165
22166 \end_inset
22167
22168 は星印付きコマンドを示します(
22169 \begin_inset Flex Code
22170 status collapsed
22171
22172 \begin_layout Plain Layout
22173
22174 \backslash
22175 latexcmd
22176 \end_layout
22177
22178 \end_inset
22179
22180
22181 \begin_inset Flex Code
22182 status collapsed
22183
22184 \begin_layout Plain Layout
22185
22186 \backslash
22187 latexcmd*
22188 \end_layout
22189
22190 \end_inset
22191
22192 に).
22193 \end_layout
22194
22195 \begin_deeper
22196 \begin_layout Standard
22197 既定では,
22198 星印付きバージョンは,
22199
22200 \begin_inset Flex Code
22201 status collapsed
22202
22203 \begin_layout Plain Layout
22204 MaxCiteNames
22205 \end_layout
22206
22207 \end_inset
22208
22209 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
22210 \end_layout
22211
22212 \begin_layout Standard
22213 星印が,
22214 当該コマンドについては別の意味を持つ場合には,
22215
22216 \begin_inset Flex Code
22217 status collapsed
22218
22219 \begin_layout Plain Layout
22220 <!_stardesc!_stardesctooltip>
22221 \end_layout
22222
22223 \end_inset
22224
22225 のように三角括弧で指定することができます.前置詞
22226 \begin_inset Flex Code
22227 status collapsed
22228
22229 \begin_layout Plain Layout
22230 !_
22231 \end_layout
22232
22233 \end_inset
22234
22235 で標識した,
22236 翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,
22237 引用ダイアログ中の「Full aut&hor list」チェックボックスラベルを書き換える文字列を指し,
22238 二つ目のキーワードは,
22239 このチェックボックスに対する非必須のツールチップの文字列を指します.
22240 \end_layout
22241
22242 \begin_layout Standard
22243 これらの2つのマクロは,
22244 下記のように,
22245 前置詞から
22246 \begin_inset Flex Code
22247 status collapsed
22248
22249 \begin_layout Plain Layout
22250 !
22251 \end_layout
22252
22253 \end_inset
22254
22255 を落とした形で
22256 \begin_inset Flex Code
22257 status collapsed
22258
22259 \begin_layout Plain Layout
22260 CiteFormat
22261 \end_layout
22262
22263 \end_inset
22264
22265 (次節参照)で定義されなくてはなりません.
22266 \end_layout
22267
22268 \begin_layout LyX-Code
22269 _stardesc Sta&rred command label
22270 \end_layout
22271
22272 \begin_layout LyX-Code
22273 _stardesctooltip Tooltip for the starred command checkbox.
22274 \end_layout
22275
22276 \end_deeper
22277 \begin_layout Itemize
22278 ドル記号
22279 \begin_inset Flex Code
22280 status collapsed
22281
22282 \begin_layout Plain Layout
22283 $
22284 \end_layout
22285
22286 \end_inset
22287
22288 は,
22289 このコマンドが「qualified citation lists」を取り扱うことを示します.これは,
22290 リスト中の個別の引用に対して,
22291 前置文字列と後置文字列を置くことができる,
22292
22293 \family sans
22294 Biblatex
22295 \family default
22296 に特有の複数文献引用機能です.詳細については,
22297
22298 \family sans
22299 Biblatex
22300 \family default
22301 の取扱説明書をご覧ください.
22302 \end_layout
22303
22304 \begin_layout Standard
22305 引用エンジンに引用コマンドを追加したい場合(たとえばクラスによって提供される特定のコマンドを追加するなど)には,
22306
22307 \begin_inset Flex Code
22308 status collapsed
22309
22310 \begin_layout Plain Layout
22311 AddToCiteEngine <engine type> \SpecialChar ldots
22312  End
22313 \end_layout
22314
22315 \end_inset
22316
22317 を使うことができます.まだ存在しない引用コマンドのみ追加することができます.
22318 \end_layout
22319
22320 \begin_layout Subsection
22321 \begin_inset CommandInset label
22322 LatexCommand label
22323 name "subsec:引用書式指定"
22324
22325 \end_inset
22326
22327 引用書式指定
22328 \end_layout
22329
22330 \begin_layout Standard
22331 (引用ダイアログやツールチップなどの)\SpecialChar LyX
22332 内部やXHTML出力において,
22333 書誌情報をどのように表示するべきかの叙述には,
22334
22335 \begin_inset Flex Code
22336 status collapsed
22337
22338 \begin_layout Plain Layout
22339 CiteFormat
22340 \end_layout
22341
22342 \end_inset
22343
22344 ブロックが使用されています.このブロックは,
22345 以下のような形をしています.
22346 \end_layout
22347
22348 \begin_layout LyX-Code
22349 CiteFormat
22350 \end_layout
22351
22352 \begin_layout LyX-Code
22353  article ...
22354 \end_layout
22355
22356 \begin_layout LyX-Code
22357  book ...
22358 \end_layout
22359
22360 \begin_layout LyX-Code
22361 End
22362 \end_layout
22363
22364 \begin_layout Standard
22365 あるいは
22366 \end_layout
22367
22368 \begin_layout LyX-Code
22369 CiteFormat
22370 \end_layout
22371
22372 \begin_layout LyX-Code
22373  cite ...
22374 \end_layout
22375
22376 \begin_layout LyX-Code
22377  citet*[][] ...
22378 \end_layout
22379
22380 \begin_layout LyX-Code
22381 End
22382 \end_layout
22383
22384 \begin_layout Standard
22385 最初の例の各行は,
22386 それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,
22387 このような定義は,
22388 Bib\SpecialChar TeX
22389 ファイル中に存在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,
22390 \SpecialChar LyX
22391 は,
22392 ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
22393 は,
22394 いくつかの書式を
22395 \begin_inset Flex Code
22396 status collapsed
22397
22398 \begin_layout Plain Layout
22399 stdciteformats.inc
22400 \end_layout
22401
22402 \end_inset
22403
22404 ファイルで事前定義しており,
22405 これはほとんどの\SpecialChar LyX
22406 文書クラスにインクルードされています.
22407 \end_layout
22408
22409 \begin_layout Standard
22410 2つ目の例では,
22411 各行は,
22412 特定の引用コマンド(この例では
22413 \begin_inset Flex Code
22414 status collapsed
22415
22416 \begin_layout Plain Layout
22417
22418 \backslash
22419 cite
22420 \end_layout
22421
22422 \end_inset
22423
22424 及び
22425 \begin_inset Flex Code
22426 status collapsed
22427
22428 \begin_layout Plain Layout
22429
22430 \backslash
22431 citet
22432 \end_layout
22433
22434 \end_inset
22435
22436 )が,
22437 引用差込枠ラベルや引用ダイアログ,
22438 メニュー,
22439 XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
22440 は,
22441 \SpecialChar LyX
22442 に同梱されている個別の
22443 \begin_inset Flex Code
22444 status collapsed
22445
22446 \begin_layout Plain Layout
22447 *.citeengine
22448 \end_layout
22449
22450 \end_inset
22451
22452 ファイル中において,
22453
22454 \family sans
22455 文書\SpecialChar menuseparator
22456 設定\SpecialChar menuseparator
22457 書誌情報\SpecialChar ldots
22458
22459 \family default
22460 でサポートしている引用様式用に,
22461 そのような書式を定義しています(第
22462 \begin_inset CommandInset ref
22463 LatexCommand ref
22464 reference "subsec:引用エンジンファイル"
22465 plural "false"
22466 caps "false"
22467 noprefix "false"
22468 nolink "false"
22469
22470 \end_inset
22471
22472 節参照).
22473 \end_layout
22474
22475 \begin_layout Standard
22476 この定義は,
22477 Bib\SpecialChar TeX
22478 キーをその値で置換できる機能を持った,
22479 簡単な言語を使用しています.キーは,
22480
22481 \begin_inset Flex Code
22482 status collapsed
22483
22484 \begin_layout Plain Layout
22485 %author%
22486 \end_layout
22487
22488 \end_inset
22489
22490 のように
22491 \begin_inset Flex Code
22492 status collapsed
22493
22494 \begin_layout Plain Layout
22495 %
22496 \end_layout
22497
22498 \end_inset
22499
22500 記号でくくらなくてはなりません.したがって,
22501 簡単な定義は以下のようになります.
22502 \end_layout
22503
22504 \begin_layout LyX-Code
22505 misc %author%,
22506  
22507 \begin_inset Quotes eld
22508 \end_inset
22509
22510 %title%
22511 \begin_inset Quotes erd
22512 \end_inset
22513
22514
22515 \end_layout
22516
22517 \begin_layout Standard
22518 これは,
22519 「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
22520 \end_layout
22521
22522 \begin_layout Standard
22523 もちろん,
22524 キーが存在するときのみ,
22525 そのキーを出力したい時があるはずです.このようなときには
22526 \begin_inset Flex Code
22527 status collapsed
22528
22529 \begin_layout Plain Layout
22530 {%volume%[[vol.
22531 \begin_inset space ~
22532 \end_inset
22533
22534 %volume%]]}
22535 \end_layout
22536
22537 \end_inset
22538
22539 のように,
22540 条件付きの構成を使用することができます.これは,
22541
22542 \begin_inset Flex Code
22543 status collapsed
22544
22545 \begin_layout Plain Layout
22546 volume
22547 \end_layout
22548
22549 \end_inset
22550
22551 が存在するならば,
22552 「vol.
22553 \begin_inset space ~
22554 \end_inset
22555
22556 」とvolumeキーを出力するという意味です.また,
22557
22558 \begin_inset Newline newline
22559 \end_inset
22560
22561
22562 \begin_inset Flex Code
22563 status collapsed
22564
22565 \begin_layout Plain Layout
22566 {%author%[[%author%]][[%editor%,
22567  ed.]]}
22568 \end_layout
22569
22570 \end_inset
22571
22572
22573 \begin_inset Newline newline
22574 \end_inset
22575
22576 のように,
22577 条件の中にelse節を含めることも可能です.ここでは,
22578 もし
22579 \begin_inset Flex Code
22580 status collapsed
22581
22582 \begin_layout Plain Layout
22583 author
22584 \end_layout
22585
22586 \end_inset
22587
22588 キーが存在するならば出力され,
22589 そうでなければeditorキーと「,
22590 \begin_inset space ~
22591 \end_inset
22592
22593 ed.」が出力されます.ここでもキーは,
22594
22595 \begin_inset Flex Code
22596 status collapsed
22597
22598 \begin_layout Plain Layout
22599 %
22600 \end_layout
22601
22602 \end_inset
22603
22604 記号でくくられていることに注意してください.条件全体は,
22605 波括弧で囲まれています.if節およびelse節は,
22606
22607 \begin_inset Flex Code
22608 status collapsed
22609
22610 \begin_layout Plain Layout
22611 [[
22612 \end_layout
22613
22614 \end_inset
22615
22616 」と「
22617 \begin_inset Flex Code
22618 status collapsed
22619
22620 \begin_layout Plain Layout
22621 ]]
22622 \end_layout
22623
22624 \end_inset
22625
22626 」の二重角括弧で囲まれています.これらすべてのあいだには,
22627 空白は入ってはなりません.
22628 \end_layout
22629
22630 \begin_layout Standard
22631 これらの条件文に使うことができるものには,
22632 項目キーの他に,
22633 以下の特殊キーがあります.
22634 \end_layout
22635
22636 \begin_layout Itemize
22637 \begin_inset Flex Code
22638 status collapsed
22639
22640 \begin_layout Plain Layout
22641 {%dialog%[[真]][[偽]]}
22642 \end_layout
22643
22644 \end_inset
22645
22646 :
22647  ダイアログとメニューに対しては「真」の部分を処理し,
22648 他の文脈(作業領域や書き出し)には「偽」の部分を処理します
22649 \end_layout
22650
22651 \begin_layout Itemize
22652 \begin_inset Flex Code
22653 status collapsed
22654
22655 \begin_layout Plain Layout
22656 {%export%[[真]][[偽]]}
22657 \end_layout
22658
22659 \end_inset
22660
22661 :
22662  書き出しとメニューに対しては「真」の部分を処理し,
22663 他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
22664 \end_layout
22665
22666 \begin_layout Itemize
22667 \begin_inset Flex Code
22668 status collapsed
22669
22670 \begin_layout Plain Layout
22671 {%next%[[真]]}
22672 \end_layout
22673
22674 \end_inset
22675
22676 :
22677  他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
22678 \end_layout
22679
22680 \begin_layout Itemize
22681 \begin_inset Flex Code
22682 status collapsed
22683
22684 \begin_layout Plain Layout
22685 {%second%[[真]][[偽]]}
22686 \end_layout
22687
22688 \end_inset
22689
22690 :
22691  これが複数項目の2番目の場合には「真」の部分を処理し,
22692 それ以外の場合には「偽」の部分を処理します
22693 \end_layout
22694
22695 \begin_layout Itemize
22696 \begin_inset Flex Code
22697 status collapsed
22698
22699 \begin_layout Plain Layout
22700 {%ifstar%[[真]][[偽]]}
22701 \end_layout
22702
22703 \end_inset
22704
22705 :
22706  (
22707 \begin_inset Flex Code
22708 status collapsed
22709
22710 \begin_layout Plain Layout
22711
22712 \backslash
22713 cite*
22714 \end_layout
22715
22716 \end_inset
22717
22718 など)星印付き引用コマンドの場合には「真」の部分を処理し,
22719 星印付きでない場合には「偽」の部分を処理します
22720 \end_layout
22721
22722 \begin_layout Itemize
22723 \begin_inset Flex Code
22724 status collapsed
22725
22726 \begin_layout Plain Layout
22727 {%ifentrytype:<type>%[[真]][[偽]]}
22728 \end_layout
22729
22730 \end_inset
22731
22732 :
22733  現行の項目が
22734 \begin_inset Flex Code
22735 status collapsed
22736
22737 \begin_layout Plain Layout
22738 <型>
22739 \end_layout
22740
22741 \end_inset
22742
22743 に一致する場合には「真」の部分を処理し,
22744 それ以外の場合には「偽」の部分を処理します(例:
22745 引用定義において
22746 \begin_inset Flex Code
22747 status collapsed
22748
22749 \begin_layout Plain Layout
22750 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
22751 \end_layout
22752
22753 \end_inset
22754
22755
22756 \end_layout
22757
22758 \begin_layout Itemize
22759 \begin_inset Flex Code
22760 status collapsed
22761
22762 \begin_layout Plain Layout
22763 {%ifmultiple:<authortype>%[[真]][[偽]]}
22764 \end_layout
22765
22766 \end_inset
22767
22768 :
22769  現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,
22770 それ以外の場合には「偽」の部分を処理します(例:
22771 書誌情報定義において
22772 \begin_inset Flex Code
22773 status collapsed
22774
22775 \begin_layout Plain Layout
22776 {%ifmultiple:editor%[[eds.]][[ed.]]}
22777 \end_layout
22778
22779 \end_inset
22780
22781
22782 \end_layout
22783
22784 \begin_layout Itemize
22785 \begin_inset Flex Code
22786 status collapsed
22787
22788 \begin_layout Plain Layout
22789 {%ifqualified%[[真]][[偽]]}
22790 \end_layout
22791
22792 \end_inset
22793
22794 :
22795  現行の引用がqualified citation listである(複数文献引用に対する
22796 \family sans
22797 Biblatex
22798 \family default
22799 特有の形式)場合には「真」の部分を処理し,
22800 それ以外の場合には「偽」の部分を処理します
22801 \end_layout
22802
22803 \begin_layout Standard
22804 \begin_inset Flex Code
22805 status collapsed
22806
22807 \begin_layout Plain Layout
22808 %author%
22809 \end_layout
22810
22811 \end_inset
22812
22813 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller,
22814  Peter and Smith,
22815  Mary and White,
22816  Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
22817 では著者を区切るのに「and」が用いられるため),
22818 望ましい結果ではありません.したがって,
22819 \SpecialChar LyX
22820 は,
22821 正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
22822 \end_layout
22823
22824 \begin_layout Enumerate
22825 書誌情報項目の主要著者・編者に適した,
22826 姓名付き名前リスト用.
22827 \begin_inset Flex Code
22828 status collapsed
22829
22830 \begin_layout Plain Layout
22831 <nametype>
22832 \end_layout
22833
22834 \end_inset
22835
22836 部分は要請されているリスト型を表します(例:
22837
22838 \begin_inset Flex Code
22839 status collapsed
22840
22841 \begin_layout Plain Layout
22842 <nametype:author>
22843 \end_layout
22844
22845 \end_inset
22846
22847
22848 \end_layout
22849
22850 \begin_deeper
22851 \begin_layout Itemize
22852 \begin_inset Flex Code
22853 status collapsed
22854
22855 \begin_layout Plain Layout
22856 %abbrvnames:<nametype>%
22857 \end_layout
22858
22859 \end_inset
22860
22861 :
22862  
22863 \begin_inset Flex Code
22864 status collapsed
22865
22866 \begin_layout Plain Layout
22867 MaxCiteNames
22868 \end_layout
22869
22870 \end_inset
22871
22872 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
22873 \end_layout
22874
22875 \begin_layout Itemize
22876 \begin_inset Flex Code
22877 status collapsed
22878
22879 \begin_layout Plain Layout
22880 %fullnames:<nametype>%
22881 \end_layout
22882
22883 \end_inset
22884
22885 :
22886  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
22887 \end_layout
22888
22889 \begin_layout Itemize
22890 \begin_inset Flex Code
22891 status collapsed
22892
22893 \begin_layout Plain Layout
22894 %forceabbrvnames:<nametype>%
22895 \end_layout
22896
22897 \end_inset
22898
22899 :
22900  
22901 \begin_inset Flex Code
22902 status collapsed
22903
22904 \begin_layout Plain Layout
22905 MaxCiteNames
22906 \end_layout
22907
22908 \end_inset
22909
22910 に関わらず,
22911 常に短縮される(「et al.」と共に供される)名前リストを提供します.
22912 \end_layout
22913
22914 \end_deeper
22915 \begin_layout Enumerate
22916 書誌情報項目中の姓名の順序が異なっている場合の,
22917 姓名付き名前リスト(例:
22918 「Miller,
22919  John:
22920  何らかの文,
22921  in:
22922  Mary Smith,
22923  ed.:
22924  A volume」
22925 \end_layout
22926
22927 \begin_deeper
22928 \begin_layout Itemize
22929 \begin_inset Flex Code
22930 status collapsed
22931
22932 \begin_layout Plain Layout
22933 %abbrvbynames:<nametype>%
22934 \end_layout
22935
22936 \end_inset
22937
22938 :
22939  
22940 \begin_inset Flex Code
22941 status collapsed
22942
22943 \begin_layout Plain Layout
22944 MaxCiteNames
22945 \end_layout
22946
22947 \end_inset
22948
22949 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
22950 \end_layout
22951
22952 \begin_layout Itemize
22953 \begin_inset Flex Code
22954 status collapsed
22955
22956 \begin_layout Plain Layout
22957 %fullbynames:<nametype>%
22958 \end_layout
22959
22960 \end_inset
22961
22962 :
22963  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
22964 \end_layout
22965
22966 \begin_layout Itemize
22967 \begin_inset Flex Code
22968 status collapsed
22969
22970 \begin_layout Plain Layout
22971 %forceabbrvbynames:<nametype>%
22972 \end_layout
22973
22974 \end_inset
22975
22976 :
22977  
22978 \begin_inset Flex Code
22979 status collapsed
22980
22981 \begin_layout Plain Layout
22982 MaxCiteNames
22983 \end_layout
22984
22985 \end_inset
22986
22987 に関わらず,
22988 常に短縮される(「et al.」と共に供される)名前リストを提供します.
22989 \end_layout
22990
22991 \end_deeper
22992 \begin_layout Enumerate
22993 著者-発行年引用ラベルで用いられるような,
22994 姓のみを含む姓リスト.これらは
22995 \begin_inset Flex Code
22996 status collapsed
22997
22998 \begin_layout Plain Layout
22999 <nametype>
23000 \end_layout
23001
23002 \end_inset
23003
23004 部分を取りませんが,
23005 (著者-発行年ラベルで通例であるように)常に著者リストか,
23006 存在しない場合には編者リストを返します.
23007 \end_layout
23008
23009 \begin_deeper
23010 \begin_layout Itemize
23011 \begin_inset Flex Code
23012 status collapsed
23013
23014 \begin_layout Plain Layout
23015 %abbrvciteauthor%
23016 \end_layout
23017
23018 \end_inset
23019
23020 :
23021  
23022 \begin_inset Flex Code
23023 status collapsed
23024
23025 \begin_layout Plain Layout
23026 MaxCiteNames
23027 \end_layout
23028
23029 \end_inset
23030
23031 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
23032 \end_layout
23033
23034 \begin_layout Itemize
23035 \begin_inset Flex Code
23036 status collapsed
23037
23038 \begin_layout Plain Layout
23039 %fullciteauthor%
23040 \end_layout
23041
23042 \end_inset
23043
23044 :
23045  完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
23046 \end_layout
23047
23048 \begin_layout Itemize
23049 \begin_inset Flex Code
23050 status collapsed
23051
23052 \begin_layout Plain Layout
23053 %forceabbrvciteauthor%
23054 \end_layout
23055
23056 \end_inset
23057
23058 :
23059  
23060 \begin_inset Flex Code
23061 status collapsed
23062
23063 \begin_layout Plain Layout
23064 MaxCiteNames
23065 \end_layout
23066
23067 \end_inset
23068
23069 に関わらず,
23070 常に短縮される(「et al.」と共に供される)名前リストを提供します.
23071 \end_layout
23072
23073 \end_deeper
23074 \begin_layout Standard
23075 前二者の姓名の順序は,
23076 下記のマクロで変更することができます.
23077 \end_layout
23078
23079 \begin_layout Itemize
23080 \begin_inset Flex Code
23081 status collapsed
23082
23083 \begin_layout Plain Layout
23084 !firstnameform %surname%,
23085  %prename%
23086 \end_layout
23087
23088 \end_inset
23089
23090 (1の場合の最初の著者)
23091 \end_layout
23092
23093 \begin_layout Itemize
23094 \begin_inset Flex Code
23095 status collapsed
23096
23097 \begin_layout Plain Layout
23098 !othernameform %surname%,
23099  %prename%
23100 \end_layout
23101
23102 \end_inset
23103
23104 (1の場合の他の著者)
23105 \end_layout
23106
23107 \begin_layout Itemize
23108 \begin_inset Flex Code
23109 status collapsed
23110
23111 \begin_layout Plain Layout
23112 !firstbynameform %prename% %surname%
23113 \end_layout
23114
23115 \end_inset
23116
23117 (2の場合の最初の著者)
23118 \end_layout
23119
23120 \begin_layout Itemize
23121 \begin_inset Flex Code
23122 status collapsed
23123
23124 \begin_layout Plain Layout
23125 !otherbynameform %prename% %surname%
23126 \end_layout
23127
23128 \end_inset
23129
23130 (2の場合の他の著者)
23131 \end_layout
23132
23133 \begin_layout Standard
23134 これによって,
23135 名前を「Miller,
23136  Peter and Mary Smith:
23137  \SpecialChar ldots
23138 ,
23139  in:
23140  John Doe and Pat Green,
23141  eds.:\SpecialChar ldots
23142 」のように設定することができます.
23143 \end_layout
23144
23145 \begin_layout Standard
23146 もう一つ,
23147 定義中で使用することのできる文法として,
23148
23149 \begin_inset Flex Code
23150 status collapsed
23151
23152 \begin_layout Plain Layout
23153 {!<i>!}
23154 \end_layout
23155
23156 \end_inset
23157
23158 という形をしたものがあります.これは,
23159 「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,
23160 平文を書き出すときには,
23161 HTMLタグを出力させたくはありませんから,
23162 HTMLタグは「
23163 \begin_inset Flex Code
23164 status collapsed
23165
23166 \begin_layout Plain Layout
23167 {!
23168 \end_layout
23169
23170 \end_inset
23171
23172 」と「
23173 \begin_inset Flex Code
23174 status collapsed
23175
23176 \begin_layout Plain Layout
23177 !}
23178 \end_layout
23179
23180 \end_inset
23181
23182 」でくるんでやらなくてはならないのです.
23183 \end_layout
23184
23185 \begin_layout Standard
23186 \begin_inset Flex Code
23187 status collapsed
23188
23189 \begin_layout Plain Layout
23190 CiteFormat
23191 \end_layout
23192
23193 \end_inset
23194
23195 ブロックでは,
23196 他に2つの特殊な定義が可能です.一つめの例としては,
23197
23198 \end_layout
23199
23200 \begin_layout LyX-Code
23201 !quotetitle 
23202 \begin_inset Quotes eld
23203 \end_inset
23204
23205 %title%
23206 \begin_inset Quotes erd
23207 \end_inset
23208
23209
23210 \end_layout
23211
23212 \begin_layout Standard
23213 といった例が挙げられます.これは,
23214 短縮形ないしはマクロであり,
23215
23216 \begin_inset Flex Code
23217 status collapsed
23218
23219 \begin_layout Plain Layout
23220 %!quotetitle%
23221 \end_layout
23222
23223 \end_inset
23224
23225 のように,
23226 これがキーであるかのように扱って使用することができます.\SpecialChar LyX
23227 は,
23228
23229 \begin_inset Flex Code
23230 status collapsed
23231
23232 \begin_layout Plain Layout
23233 %!quotetitle%
23234 \end_layout
23235
23236 \end_inset
23237
23238 を,
23239 そこで定義されているものを扱う場合と同じように取り扱います.ですから,
23240 明白な警告を敢えてさせて頂くと,
23241
23242 \end_layout
23243
23244 \begin_layout LyX-Code
23245 !funfun %funfun%
23246 \end_layout
23247
23248 \begin_layout Standard
23249 のようなことはしないでください.\SpecialChar LyX
23250 は,
23251 無限ループに陥るようなことはありませんが,
23252 諦めるまでに時間のかかる長いループに入るかもしれません.
23253 \end_layout
23254
23255 \begin_layout Standard
23256 特殊な定義の二つめは,
23257
23258 \end_layout
23259
23260 \begin_layout LyX-Code
23261 B_pptext pp.
23262 \end_layout
23263
23264 \begin_layout Standard
23265 のようなものです.これは翻訳対象となるテキスト部分を定義し,
23266 これによって書誌情報や引用の対応する部分が翻訳されるようになります.
23267 \begin_inset Flex Code
23268 status collapsed
23269
23270 \begin_layout Plain Layout
23271 %B_pptext%
23272 \end_layout
23273
23274 \end_inset
23275
23276 のように,
23277 これをキーとして扱って,
23278 定義の中に入れることもできます.以下の2つの翻訳パスがあることに注意してください.上記の例のように
23279 \begin_inset Flex Code
23280 status collapsed
23281
23282 \begin_layout Plain Layout
23283 B_
23284 \end_layout
23285
23286 \end_inset
23287
23288 で始まる定義は,
23289 すべて現在アクティブなバッファ言語に翻訳されます(したがって翻訳は生成された文書に一致します).アンダースコアだけから始まる定義は,
23290 すべてGUI言語に翻訳されます.これは
23291 \end_layout
23292
23293 \begin_layout LyX-Code
23294 _addtobib Add to bibliography only
23295 \end_layout
23296
23297 \begin_layout Standard
23298 のように,
23299 ダイアログやボタンにのみ現れる文字列に適した翻訳です.
23300 \end_layout
23301
23302 \begin_layout Standard
23303 これらの翻訳可能な文字列のうちいくつかは,
23304
23305 \begin_inset Flex Code
23306 status collapsed
23307
23308 \begin_layout Plain Layout
23309 stdciteformats.inc
23310 \end_layout
23311
23312 \end_inset
23313
23314 及び様々な
23315 \begin_inset Flex Code
23316 status collapsed
23317
23318 \begin_layout Plain Layout
23319 *.citeengine
23320 \end_layout
23321
23322 \end_inset
23323
23324 ファイル中に事前定義されています.これは,
23325 上記で述べたような意味でのマクロではないことに注意してください.
23326 \end_layout
23327
23328 \begin_layout Standard
23329 以下は,
23330 これらの機能を全て使った例です.
23331 \begin_inset VSpace defskip
23332 \end_inset
23333
23334
23335 \end_layout
23336
23337 \begin_layout Standard
23338 \noindent
23339
23340 \family sans
23341 !authoredit {%author%[[%author%,
23342  ]][[{%editor%[[%editor%,
23343  %B_edtext%,
23344  ]]}]]}
23345 \end_layout
23346
23347 \begin_layout Standard
23348 \begin_inset VSpace defskip
23349 \end_inset
23350
23351 これは,
23352
23353 \begin_inset Flex Code
23354 status collapsed
23355
23356 \begin_layout Plain Layout
23357 author
23358 \end_layout
23359
23360 \end_inset
23361
23362 キーが定義されているならば,
23363 著者とコンマを出力し,
23364
23365 \begin_inset Flex Code
23366 status collapsed
23367
23368 \begin_layout Plain Layout
23369 author
23370 \end_layout
23371
23372 \end_inset
23373
23374 キーが定義されておらず,
23375
23376 \begin_inset Flex Code
23377 status collapsed
23378
23379 \begin_layout Plain Layout
23380 editor
23381 \end_layout
23382
23383 \end_inset
23384
23385 キーが定義されているならば,
23386 編集者名の後に
23387 \begin_inset Flex Code
23388 status collapsed
23389
23390 \begin_layout Plain Layout
23391 B_edtext
23392 \end_layout
23393
23394 \end_inset
23395
23396 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
23397 \begin_inset Flex Code
23398 status collapsed
23399
23400 \begin_layout Plain Layout
23401 stdciteformats.inc
23402 \end_layout
23403
23404 \end_inset
23405
23406 の中で定義されていますので,
23407 このファイルをまず読みこめば,
23408 ご自身の定義ないしは再定義の中で使用することができます.
23409 \end_layout
23410
23411 \begin_layout Section
23412 \begin_inset CommandInset label
23413 LatexCommand label
23414 name "sec:XHTML出力のタグ"
23415
23416 \end_inset
23417
23418 XHTML出力のタグ
23419 \end_layout
23420
23421 \begin_layout Standard
23422 \SpecialChar LaTeX
23423 やDocBookと同様,
23424 \SpecialChar LyX
23425 のXHTML出力の書式も,
23426 レイアウト情報によって制御することができます.一般的に,
23427 \SpecialChar LyX
23428 は適切な既定値を提供し,
23429 前述したように,
23430 他のレイアウトタグに基づいて,
23431 既定のCSSスタイルの構成まで行ないます.たとえば,
23432 章見出しを適切に整形するためのCSSを書き出すために,
23433 \SpecialChar LyX
23434 は,
23435 章様式の
23436 \begin_inset Flex Code
23437 status collapsed
23438
23439 \begin_layout Plain Layout
23440 Font
23441 \end_layout
23442
23443 \end_inset
23444
23445 宣言で提供されている情報を利用しようと試みます.
23446 \end_layout
23447
23448 \begin_layout Standard
23449 したがって,
23450 多くの場合,
23451 使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,
23452 まったく何もしなくてよいことになるでしょう.しかしながら,
23453 これが必要になる場合もあるので,
23454 \SpecialChar LyX
23455 は,
23456 生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,
23457 たくさん提供しています.
23458 \end_layout
23459
23460 \begin_layout Standard
23461 様式宣言や差込枠宣言の外で使用することができるタグに,
23462
23463 \begin_inset Flex Code
23464 status collapsed
23465
23466 \begin_layout Plain Layout
23467 HTMLPreamble
23468 \end_layout
23469
23470 \end_inset
23471
23472
23473 \begin_inset Flex Code
23474 status collapsed
23475
23476 \begin_layout Plain Layout
23477 AddToHTMLPreamble
23478 \end_layout
23479
23480 \end_inset
23481
23482 の2つがあることに注意してください.これらの詳細については,
23483
23484 \begin_inset CommandInset ref
23485 LatexCommand ref
23486 reference "subsec:汎用テキストクラスパラメータ"
23487 nolink "false"
23488
23489 \end_inset
23490
23491 をご覧ください.
23492 \end_layout
23493
23494 \begin_layout Subsection
23495 \begin_inset CommandInset label
23496 LatexCommand label
23497 name "subsec:段落様式-XHTML"
23498
23499 \end_inset
23500
23501 段落様式
23502 \end_layout
23503
23504 \begin_layout Standard
23505 \SpecialChar LyX
23506 が段落のために出力するXHTMLの種類は,
23507 通常の段落を取り扱っているのか,
23508 コマンドを取り扱っているのか,
23509 あるいは環境を取り扱っているのかに依存し,
23510 これは対応する
23511 \begin_inset Flex Code
23512 status collapsed
23513
23514 \begin_layout Plain Layout
23515 \SpecialChar LaTeX
23516 Type
23517 \end_layout
23518
23519 \end_inset
23520
23521 タグの内容によって決定されます.
23522 \end_layout
23523
23524 \begin_layout Standard
23525 コマンドや通常の段落の場合には,
23526 XHTML出力は以下の形になります.
23527 \end_layout
23528
23529 \begin_layout LyX-Code
23530
23531 \family sans
23532 <tag attr=
23533 \begin_inset Quotes erd
23534 \end_inset
23535
23536 value
23537 \begin_inset Quotes erd
23538 \end_inset
23539
23540 >
23541 \end_layout
23542
23543 \begin_layout LyX-Code
23544
23545 \family sans
23546 <labeltag attr=
23547 \begin_inset Quotes erd
23548 \end_inset
23549
23550 value
23551 \begin_inset Quotes erd
23552 \end_inset
23553
23554 >ラベル</labeltag>
23555 \end_layout
23556
23557 \begin_layout LyX-Code
23558
23559 \family sans
23560 段落の内容
23561 \end_layout
23562
23563 \begin_layout LyX-Code
23564
23565 \family sans
23566 </tag>
23567 \end_layout
23568
23569 \begin_layout Standard
23570 もちろん,
23571 段落にラベルがなければ,
23572 ラベルタグは省略することができます.
23573 \end_layout
23574
23575 \begin_layout Standard
23576 環境のうち,
23577 リストの変種でないものに関しては,
23578 XHTMLは以下の形を取ります.
23579 \end_layout
23580
23581 \begin_layout LyX-Code
23582
23583 \family sans
23584 <tag attr=
23585 \begin_inset Quotes erd
23586 \end_inset
23587
23588 value
23589 \begin_inset Quotes erd
23590 \end_inset
23591
23592 >
23593 \end_layout
23594
23595 \begin_layout LyX-Code
23596
23597 \family sans
23598 <itemtag attr=
23599 \begin_inset Quotes erd
23600 \end_inset
23601
23602 value
23603 \begin_inset Quotes erd
23604 \end_inset
23605
23606 ><labeltag attr=
23607 \begin_inset Quotes erd
23608 \end_inset
23609
23610 value
23611 \begin_inset Quotes erd
23612 \end_inset
23613
23614 >環境ラベル</labeltag>最初の段落.
23615 \end_layout
23616
23617 \begin_layout LyX-Code
23618
23619 \family sans
23620 </itemtag>
23621 \end_layout
23622
23623 \begin_layout LyX-Code
23624
23625 \family sans
23626 <itemtag>二つめの段落.</itemtag>
23627 \end_layout
23628
23629 \begin_layout LyX-Code
23630
23631 \family sans
23632 </tag>
23633 \end_layout
23634
23635 \begin_layout Standard
23636 ラベルは,
23637 たとえば定理の場合にそうであるように,
23638 最初の段落にだけ出力されることに注意してください.
23639 \end_layout
23640
23641 \begin_layout Standard
23642 リストに関しては,
23643 次のような形になります.
23644 \end_layout
23645
23646 \begin_layout LyX-Code
23647
23648 \family sans
23649 <tag attr=
23650 \begin_inset Quotes erd
23651 \end_inset
23652
23653 value
23654 \begin_inset Quotes erd
23655 \end_inset
23656
23657 >
23658 \end_layout
23659
23660 \begin_layout LyX-Code
23661
23662 \family sans
23663 <itemtag attr=
23664 \begin_inset Quotes erd
23665 \end_inset
23666
23667 value
23668 \begin_inset Quotes erd
23669 \end_inset
23670
23671 ><labeltag attr=
23672 \begin_inset Quotes erd
23673 \end_inset
23674
23675 value
23676 \begin_inset Quotes erd
23677 \end_inset
23678
23679 >リストのラベル</labeltag>最初の項目.</itemtag>
23680 \end_layout
23681
23682 \begin_layout LyX-Code
23683
23684 \family sans
23685 <itemtag attr=
23686 \begin_inset Quotes erd
23687 \end_inset
23688
23689 value
23690 \begin_inset Quotes erd
23691 \end_inset
23692
23693 ><labeltag attr=
23694 \begin_inset Quotes erd
23695 \end_inset
23696
23697 value
23698 \begin_inset Quotes erd
23699 \end_inset
23700
23701 >リストのラベル</labeltag>二つめの項目.</itemtag>
23702 \end_layout
23703
23704 \begin_layout LyX-Code
23705
23706 \family sans
23707 </tag>
23708 \end_layout
23709
23710 \begin_layout LyX-Code
23711
23712 \end_layout
23713
23714 \begin_layout LyX-Code
23715
23716 \family sans
23717 <tag attr=
23718 \begin_inset Quotes erd
23719 \end_inset
23720
23721 value
23722 \begin_inset Quotes erd
23723 \end_inset
23724
23725 >
23726 \end_layout
23727
23728 \begin_layout LyX-Code
23729
23730 \family sans
23731 <labeltag attr=
23732 \begin_inset Quotes erd
23733 \end_inset
23734
23735 value
23736 \begin_inset Quotes erd
23737 \end_inset
23738
23739 >リストのラベル</labeltag><itemtag attr=
23740 \begin_inset Quotes erd
23741 \end_inset
23742
23743 value
23744 \begin_inset Quotes erd
23745 \end_inset
23746
23747 >最初の項目.</itemtag>
23748 \end_layout
23749
23750 \begin_layout LyX-Code
23751
23752 \family sans
23753 <labeltag attr=
23754 \begin_inset Quotes erd
23755 \end_inset
23756
23757 value
23758 \begin_inset Quotes erd
23759 \end_inset
23760
23761 >リストのラベル</labeltag><itemtag attr=
23762 \begin_inset Quotes erd
23763 \end_inset
23764
23765 value
23766 \begin_inset Quotes erd
23767 \end_inset
23768
23769 >二つめの項目</itemtag>
23770 \end_layout
23771
23772 \begin_layout LyX-Code
23773
23774 \family sans
23775 </tag>
23776 \end_layout
23777
23778 \begin_layout Standard
23779 ここで
23780 \begin_inset Flex Code
23781 status collapsed
23782
23783 \begin_layout Plain Layout
23784 labeltag
23785 \end_layout
23786
23787 \end_inset
23788
23789
23790 \begin_inset Flex Code
23791 status collapsed
23792
23793 \begin_layout Plain Layout
23794 itemtag
23795 \end_layout
23796
23797 \end_inset
23798
23799 の順序が違っていることに注意してください.どちらの順序になるかは,
23800
23801 \begin_inset Flex Code
23802 status collapsed
23803
23804 \begin_layout Plain Layout
23805 HTMLLabelFirst
23806 \end_layout
23807
23808 \end_inset
23809
23810 の設定に依存します.もし
23811 \begin_inset Flex Code
23812 status collapsed
23813
23814 \begin_layout Plain Layout
23815 HTMLLabelFirst
23816 \end_layout
23817
23818 \end_inset
23819
23820 が偽であれば(既定値),
23821 最初のケースのようになり,
23822 これが真であれば,
23823 二番めのケースのように,
23824 labelがitemの外側に来るようになります.
23825 \end_layout
23826
23827 \begin_layout Standard
23828 各段落の特定のタグ出力や属性出力は,
23829 以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,
23830 前述のように,
23831 多くの場合,
23832 \SpecialChar LyX
23833 は適切な既定値を生成するので,
23834 たいしたことをしなくても,
23835 望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,
23836 自分の好みにあわせて微調整する目的でここにあるものと考えてください.
23837 \end_layout
23838
23839 \begin_layout Description
23840 \begin_inset Flex Code
23841 status collapsed
23842
23843 \begin_layout Plain Layout
23844 HTMLAttr
23845 \end_layout
23846
23847 \end_inset
23848
23849  [
23850 \begin_inset Flex Code
23851 status collapsed
23852
23853 \begin_layout Plain Layout
23854 文字列
23855 \end_layout
23856
23857 \end_inset
23858
23859 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
23860
23861 \begin_inset Flex Code
23862 status collapsed
23863
23864 \begin_layout Plain Layout
23865 class=`mydiv'
23866 \end_layout
23867
23868 \end_inset
23869
23870 」のようなものです.既定においては,
23871 \SpecialChar LyX
23872 は「
23873 \begin_inset Flex Code
23874 status collapsed
23875
23876 \begin_layout Plain Layout
23877 class=`レイアウト名'
23878 \end_layout
23879
23880 \end_inset
23881
23882 」と出力します.ここで
23883 \begin_inset Flex Code
23884 status collapsed
23885
23886 \begin_layout Plain Layout
23887 レイアウト名
23888 \end_layout
23889
23890 \end_inset
23891
23892 は,
23893 レイアウトの\SpecialChar LyX
23894 名であり,
23895 chapterのように小文字で記述します.
23896 \end_layout
23897
23898 \begin_layout Description
23899 \begin_inset Flex Code
23900 status collapsed
23901
23902 \begin_layout Plain Layout
23903 HTMLClass
23904 \end_layout
23905
23906 \end_inset
23907
23908  [
23909 \begin_inset Flex Code
23910 status collapsed
23911
23912 \begin_layout Plain Layout
23913 文字列
23914 \end_layout
23915
23916 \end_inset
23917
23918 ] この段落に使用するCSSクラス.段落が連番もしくは記号の箇条書きであるならば,
23919 既定値は「lyxenum」または「lyxitem」および階層の深さにより「i」「ii」「iii」「iv」となることに注意してください.これはここで書き換えることができます.しかしながら,
23920 その場合後置句は付け加えられません.すなわち,
23921 CSSクラスは,
23922 つねにここで宣言されたものの通りとなります.
23923 \end_layout
23924
23925 \begin_layout Description
23926 \begin_inset Flex Code
23927 status collapsed
23928
23929 \begin_layout Plain Layout
23930 HTMLForceCSS
23931 \end_layout
23932
23933 \end_inset
23934
23935  [
23936 \begin_inset Flex Code
23937 status collapsed
23938
23939 \begin_layout Plain Layout
23940
23941 \emph on
23942 0
23943 \emph default
23944 ,1
23945 \end_layout
23946
23947 \end_inset
23948
23949 ] 
23950 \begin_inset Flex Code
23951 status collapsed
23952
23953 \begin_layout Plain Layout
23954 HTMLStyle
23955 \end_layout
23956
23957 \end_inset
23958
23959 で追加情報が明示的に与えられているときでも,
23960 \SpecialChar LyX
23961 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
23962 \begin_inset Flex Code
23963 status collapsed
23964
23965 \begin_layout Plain Layout
23966 1
23967 \end_layout
23968
23969 \end_inset
23970
23971 にすると,
23972 生成されたCSSを完全に上書きする代わりに,
23973 変更したり追加したりすることができます.既定値は
23974 \begin_inset Flex Code
23975 status collapsed
23976
23977 \begin_layout Plain Layout
23978 0
23979 \end_layout
23980
23981 \end_inset
23982
23983 です.
23984 \end_layout
23985
23986 \begin_layout Description
23987 \begin_inset Flex Code
23988 status collapsed
23989
23990 \begin_layout Plain Layout
23991 HTMLForceCSS
23992 \end_layout
23993
23994 \end_inset
23995
23996  [
23997 \begin_inset Flex Code
23998 status collapsed
23999
24000 \begin_layout Plain Layout
24001
24002 \emph on
24003 0
24004 \emph default
24005 ,1
24006 \end_layout
24007
24008 \end_inset
24009
24010 ] この段落(通常節やその類い)をTOCに入れるか否か.既定値は真となっているので,
24011 たとえば星付きの節については偽に設定しなくてはなりません.
24012 \end_layout
24013
24014 \begin_layout Description
24015 \begin_inset Flex Code
24016 status collapsed
24017
24018 \begin_layout Plain Layout
24019 HTMLItem
24020 \end_layout
24021
24022 \end_inset
24023
24024  [
24025 \begin_inset Flex Code
24026 status collapsed
24027
24028 \begin_layout Plain Layout
24029 文字列
24030 \end_layout
24031
24032 \end_inset
24033
24034 ] 環境の段落に使用されるタグ.上記各例の
24035 \begin_inset Flex Code
24036 status collapsed
24037
24038 \begin_layout Plain Layout
24039 itemtag
24040 \end_layout
24041
24042 \end_inset
24043
24044 を置き換えます.既定値は
24045 \begin_inset Flex Code
24046 status collapsed
24047
24048 \begin_layout Plain Layout
24049 div
24050 \end_layout
24051
24052 \end_inset
24053
24054 です.
24055 \end_layout
24056
24057 \begin_layout Description
24058 \begin_inset Flex Code
24059 status collapsed
24060
24061 \begin_layout Plain Layout
24062 HTMLItemAttr
24063 \end_layout
24064
24065 \end_inset
24066
24067  [
24068 \begin_inset Flex Code
24069 status collapsed
24070
24071 \begin_layout Plain Layout
24072 文字列
24073 \end_layout
24074
24075 \end_inset
24076
24077 ] itemタグの属性.既定値は
24078 \begin_inset Flex Code
24079 status collapsed
24080
24081 \begin_layout Plain Layout
24082 class=`レイアウト名_item'
24083 \end_layout
24084
24085 \end_inset
24086
24087 です.ここには,
24088 様式情報は含まれては
24089 \emph on
24090 なりません
24091 \emph default
24092 .その目的のためには,
24093
24094 \begin_inset Flex Code
24095 status collapsed
24096
24097 \begin_layout Plain Layout
24098 HTMLStyle
24099 \end_layout
24100
24101 \end_inset
24102
24103 を使用してください.
24104 \end_layout
24105
24106 \begin_layout Description
24107 \begin_inset Flex Code
24108 status collapsed
24109
24110 \begin_layout Plain Layout
24111 HTMLLabel
24112 \end_layout
24113
24114 \end_inset
24115
24116  [
24117 \begin_inset Flex Code
24118 status collapsed
24119
24120 \begin_layout Plain Layout
24121 文字列
24122 \end_layout
24123
24124 \end_inset
24125
24126 ] 段落と項目ラベルに使用されるタグ.上記各例の
24127 \begin_inset Flex Code
24128 status collapsed
24129
24130 \begin_layout Plain Layout
24131 labeltag
24132 \end_layout
24133
24134 \end_inset
24135
24136 を置き換えます.
24137 \begin_inset Flex Code
24138 status collapsed
24139
24140 \begin_layout Plain Layout
24141 LabelType
24142 \end_layout
24143
24144 \end_inset
24145
24146
24147 \begin_inset Flex Code
24148 status collapsed
24149
24150 \begin_layout Plain Layout
24151 Top_Environment
24152 \end_layout
24153
24154 \end_inset
24155
24156
24157 \begin_inset Flex Code
24158 status collapsed
24159
24160 \begin_layout Plain Layout
24161 Centered_Top_Environment
24162 \end_layout
24163
24164 \end_inset
24165
24166 の時は,
24167 既定値は
24168 \begin_inset Flex Code
24169 status collapsed
24170
24171 \begin_layout Plain Layout
24172 div
24173 \end_layout
24174
24175 \end_inset
24176
24177 ですが,
24178 それ以外の時の既定値は
24179 \begin_inset Flex Code
24180 status collapsed
24181
24182 \begin_layout Plain Layout
24183 span
24184 \end_layout
24185
24186 \end_inset
24187
24188 です.
24189 \end_layout
24190
24191 \begin_layout Description
24192 \begin_inset Flex Code
24193 status collapsed
24194
24195 \begin_layout Plain Layout
24196 HTMLLabelAttr
24197 \end_layout
24198
24199 \end_inset
24200
24201  [
24202 \begin_inset Flex Code
24203 status collapsed
24204
24205 \begin_layout Plain Layout
24206 文字列
24207 \end_layout
24208
24209 \end_inset
24210
24211 ] labelタグの属性.既定値は
24212 \begin_inset Flex Code
24213 status collapsed
24214
24215 \begin_layout Plain Layout
24216 class=`レイアウト名_label'
24217 \end_layout
24218
24219 \end_inset
24220
24221 です.ここには,
24222 様式情報は含まれては
24223 \emph on
24224 なりません
24225 \emph default
24226 .その目的のためには,
24227
24228 \begin_inset Flex Code
24229 status collapsed
24230
24231 \begin_layout Plain Layout
24232 HTMLStyle
24233 \end_layout
24234
24235 \end_inset
24236
24237 を使用してください.
24238 \end_layout
24239
24240 \begin_layout Description
24241 \begin_inset Flex Code
24242 status collapsed
24243
24244 \begin_layout Plain Layout
24245 HTMLLabelFirst
24246 \end_layout
24247
24248 \end_inset
24249
24250  [
24251 \begin_inset Flex Code
24252 status collapsed
24253
24254 \begin_layout Plain Layout
24255
24256 \emph on
24257 0
24258 \emph default
24259 ,1
24260 \end_layout
24261
24262 \end_inset
24263
24264 ] このタグは,
24265 リスト関係環境でのみ意味を持ち,
24266 labelタグが,
24267 itemタグの前に出力されるか,
24268 中に出力されるかを制御します.これは,
24269 たとえば,
24270 description環境の中で,
24271
24272 \begin_inset Flex Code
24273 status collapsed
24274
24275 \begin_layout Plain Layout
24276 `<dt>\SpecialChar ldots
24277 </dt><dd>\SpecialChar ldots
24278 </dd>
24279 \end_layout
24280
24281 \end_inset
24282
24283 という形を得るために使用されます.既定値は
24284 \begin_inset Flex Code
24285 status collapsed
24286
24287 \begin_layout Plain Layout
24288 0
24289 \end_layout
24290
24291 \end_inset
24292
24293 で,
24294 labelタグはitemタグの中に出力されます.
24295 \end_layout
24296
24297 \begin_layout Description
24298 \begin_inset Flex Code
24299 status collapsed
24300
24301 \begin_layout Plain Layout
24302 HTMLPreamble
24303 \end_layout
24304
24305 \end_inset
24306
24307  この様式が使用されたときに,
24308
24309 \begin_inset Flex Code
24310 status collapsed
24311
24312 \begin_layout Plain Layout
24313 <head>
24314 \end_layout
24315
24316 \end_inset
24317
24318 セクションに出力される情報.これは,
24319 たとえば,
24320
24321 \begin_inset Flex Code
24322 status collapsed
24323
24324 \begin_layout Plain Layout
24325 onclick
24326 \end_layout
24327
24328 \end_inset
24329
24330 ハンドラを定義するために
24331 \begin_inset Flex Code
24332 status collapsed
24333
24334 \begin_layout Plain Layout
24335 <script>
24336 \end_layout
24337
24338 \end_inset
24339
24340 ブロックをインクルードするのに使用することができます.
24341 \end_layout
24342
24343 \begin_layout Description
24344 \begin_inset Flex Code
24345 status collapsed
24346
24347 \begin_layout Plain Layout
24348 HTMLStyle
24349 \end_layout
24350
24351 \end_inset
24352
24353   この様式が使用されたときに,
24354 インクルードするCSSスタイル情報.これは,
24355 レイアウトが生成する
24356 \begin_inset Flex Code
24357 status collapsed
24358
24359 \begin_layout Plain Layout
24360 <style>
24361 \end_layout
24362
24363 \end_inset
24364
24365 ブロックで自動的に包まれますので,
24366 CSS自体をインクルードするだけで大丈夫です.
24367 \begin_inset Flex Code
24368 status collapsed
24369
24370 \begin_layout Plain Layout
24371 EndHTMLStyle
24372 \end_layout
24373
24374 \end_inset
24375
24376 で閉じなくてはなりません.
24377 \end_layout
24378
24379 \begin_layout Description
24380 \begin_inset Flex Code
24381 status collapsed
24382
24383 \begin_layout Plain Layout
24384 HTMLTag
24385 \end_layout
24386
24387 \end_inset
24388
24389  [
24390 \begin_inset Flex Code
24391 status collapsed
24392
24393 \begin_layout Plain Layout
24394 文字列
24395 \end_layout
24396
24397 \end_inset
24398
24399 ] 主幹ラベルに使用されるタグ.上記各例の
24400 \begin_inset Flex Code
24401 status collapsed
24402
24403 \begin_layout Plain Layout
24404 tag
24405 \end_layout
24406
24407 \end_inset
24408
24409 を置き換えます.既定値は
24410 \begin_inset Flex Code
24411 status collapsed
24412
24413 \begin_layout Plain Layout
24414 div
24415 \end_layout
24416
24417 \end_inset
24418
24419 です.
24420 \end_layout
24421
24422 \begin_layout Description
24423 \begin_inset Flex Code
24424 status collapsed
24425
24426 \begin_layout Plain Layout
24427 HTMLTitle
24428 \end_layout
24429
24430 \end_inset
24431
24432  [
24433 \begin_inset Flex Code
24434 status collapsed
24435
24436 \begin_layout Plain Layout
24437
24438 \emph on
24439 0
24440 \emph default
24441 ,1
24442 \end_layout
24443
24444 \end_inset
24445
24446 ] この様式が,
24447 XHTMLファイルの
24448 \begin_inset Flex Code
24449 status collapsed
24450
24451 \begin_layout Plain Layout
24452 <title>
24453 \end_layout
24454
24455 \end_inset
24456
24457 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
24458 \begin_inset Flex Code
24459 status collapsed
24460
24461 \begin_layout Plain Layout
24462 stdtitle.inc
24463 \end_layout
24464
24465 \end_inset
24466
24467 ファイルでは,
24468
24469 \begin_inset Flex Code
24470 status collapsed
24471
24472 \begin_layout Plain Layout
24473 title
24474 \end_layout
24475
24476 \end_inset
24477
24478 環境のこの項目を真に設定しています.
24479 \end_layout
24480
24481 \begin_layout Subsection
24482 差込枠レイアウトXHTML
24483 \end_layout
24484
24485 \begin_layout Standard
24486 差込枠のXHTML出力も,
24487 レイアウトファイル内の情報によって制御することができます
24488 \begin_inset Foot
24489 status collapsed
24490
24491 \begin_layout Plain Layout
24492 現在のところ,
24493 これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,
24494 「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されません.
24495 \end_layout
24496
24497 \end_inset
24498
24499 .ここでも,
24500 \SpecialChar LyX
24501 は適切な既定値を提供しようと試み,
24502 既定のCSS様式を構成します.しかし,
24503 すべてカスタマイズ可能です.
24504 \end_layout
24505
24506 \begin_layout Standard
24507 \SpecialChar LyX
24508 が差込枠用に出力するXHTMLは,
24509 以下の形を取ります.
24510 \end_layout
24511
24512 \begin_layout LyX-Code
24513 <tag attr=
24514 \begin_inset Quotes erd
24515 \end_inset
24516
24517 value
24518 \begin_inset Quotes erd
24519 \end_inset
24520
24521 >
24522 \end_layout
24523
24524 \begin_layout LyX-Code
24525 <labeltag>ラベル</labeltag>
24526 \end_layout
24527
24528 \begin_layout LyX-Code
24529 <innertag attr=
24530 \begin_inset Quotes erd
24531 \end_inset
24532
24533 value
24534 \begin_inset Quotes erd
24535 \end_inset
24536
24537 >差込枠の内容.</innertag>
24538 \end_layout
24539
24540 \begin_layout LyX-Code
24541 </tag>
24542 \end_layout
24543
24544 \begin_layout Standard
24545 差込枠が多段落を許可している—
24546 つまり
24547 \begin_inset Flex Code
24548 status collapsed
24549
24550 \begin_layout Plain Layout
24551 MultiPar
24552 \end_layout
24553
24554 \end_inset
24555
24556 が真—
24557 ならば,
24558 差込枠の内容は,
24559 それ自身段落として出力され,
24560 それらの段落に用いられる様式(標準,
24561 引用など)を用いて整形されます.もちろん,
24562 段落にラベルがなければ,
24563 labelタグは省略され,
24564 ラベルがあれば,
24565 現在のところ,
24566 つねに
24567 \begin_inset Flex Code
24568 status collapsed
24569
24570 \begin_layout Plain Layout
24571 span
24572 \end_layout
24573
24574 \end_inset
24575
24576 が用いられます.innerタグは非必須であり,
24577 既定では出力されません.各差込枠用に出力される特定のタグや属性は,
24578 以下のレイアウトタグによって制御することができます.
24579 \end_layout
24580
24581 \begin_layout Description
24582 \begin_inset Flex Code
24583 status collapsed
24584
24585 \begin_layout Plain Layout
24586 HTMLAttr
24587 \end_layout
24588
24589 \end_inset
24590
24591  [
24592 \begin_inset Flex Code
24593 status collapsed
24594
24595 \begin_layout Plain Layout
24596 文字列
24597 \end_layout
24598
24599 \end_inset
24600
24601 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
24602
24603 \begin_inset Flex Code
24604 status collapsed
24605
24606 \begin_layout Plain Layout
24607 class=`myinset' onclick=`\SpecialChar ldots
24608 '
24609 \end_layout
24610
24611 \end_inset
24612
24613 」のようなものです.既定においては,
24614 \SpecialChar LyX
24615 は「
24616 \begin_inset Flex Code
24617 status collapsed
24618
24619 \begin_layout Plain Layout
24620 class=`差込枠名'
24621 \end_layout
24622
24623 \end_inset
24624
24625 」と出力します.ここで
24626 \begin_inset Flex Code
24627 status collapsed
24628
24629 \begin_layout Plain Layout
24630 差込枠名
24631 \end_layout
24632
24633 \end_inset
24634
24635 は,
24636 差込枠の\SpecialChar LyX
24637 名であり,
24638 小文字で記述します.アルファベットや数字以外の文字は,
24639 アンダースコアに置き換えられます.例:
24640 footnote.
24641 \end_layout
24642
24643 \begin_layout Description
24644 \begin_inset Flex Code
24645 status collapsed
24646
24647 \begin_layout Plain Layout
24648 HTMLForceCSS
24649 \end_layout
24650
24651 \end_inset
24652
24653  [
24654 \begin_inset Flex Code
24655 status collapsed
24656
24657 \begin_layout Plain Layout
24658
24659 \emph on
24660 0
24661 \emph default
24662 ,1
24663 \end_layout
24664
24665 \end_inset
24666
24667 ] 
24668 \begin_inset Flex Code
24669 status collapsed
24670
24671 \begin_layout Plain Layout
24672 HTMLStyle
24673 \end_layout
24674
24675 \end_inset
24676
24677 で追加情報が明示的に与えられているときでも,
24678 \SpecialChar LyX
24679 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
24680 \begin_inset Flex Code
24681 status collapsed
24682
24683 \begin_layout Plain Layout
24684 1
24685 \end_layout
24686
24687 \end_inset
24688
24689 にすると,
24690 生成されたCSSを完全に上書きする代わりに,
24691 変更したり追加したりすることができます.既定値は
24692 \begin_inset Flex Code
24693 status collapsed
24694
24695 \begin_layout Plain Layout
24696 0
24697 \end_layout
24698
24699 \end_inset
24700
24701 です.
24702 \end_layout
24703
24704 \begin_layout Description
24705 \begin_inset Flex Code
24706 status collapsed
24707
24708 \begin_layout Plain Layout
24709 HTMLInnerAttr
24710 \end_layout
24711
24712 \end_inset
24713
24714  [
24715 \begin_inset Flex Code
24716 status collapsed
24717
24718 \begin_layout Plain Layout
24719 文字列
24720 \end_layout
24721
24722 \end_inset
24723
24724 ] innerタグの属性.既定値は
24725 \begin_inset Flex Code
24726 status collapsed
24727
24728 \begin_layout Plain Layout
24729 class=`差込枠名_inner'
24730 \end_layout
24731
24732 \end_inset
24733
24734 です.
24735 \end_layout
24736
24737 \begin_layout Description
24738 \begin_inset Flex Code
24739 status collapsed
24740
24741 \begin_layout Plain Layout
24742 HTMLInnerTag
24743 \end_layout
24744
24745 \end_inset
24746
24747  [
24748 \begin_inset Flex Code
24749 status collapsed
24750
24751 \begin_layout Plain Layout
24752 文字列
24753 \end_layout
24754
24755 \end_inset
24756
24757 ] innerタグです.上記各例の
24758 \begin_inset Flex Code
24759 status collapsed
24760
24761 \begin_layout Plain Layout
24762 innertag
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 HTMLIsBlock
24776 \end_layout
24777
24778 \end_inset
24779
24780  [
24781 \begin_inset Flex Code
24782 status collapsed
24783
24784 \begin_layout Plain Layout
24785 0,
24786 \emph on
24787 1
24788 \end_layout
24789
24790 \end_inset
24791
24792 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,
24793 それとも,
24794 (派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
24795 \end_layout
24796
24797 \begin_layout Description
24798 \begin_inset Flex Code
24799 status collapsed
24800
24801 \begin_layout Plain Layout
24802 HTMLLabel
24803 \end_layout
24804
24805 \end_inset
24806
24807  [
24808 \begin_inset Flex Code
24809 status collapsed
24810
24811 \begin_layout Plain Layout
24812 文字列
24813 \end_layout
24814
24815 \end_inset
24816
24817 ] 場合によっては,
24818 カウンタへの参照を含む,
24819 この差込枠のラベル.たとえば,
24820 脚註用には
24821 \begin_inset Flex Code
24822 status collapsed
24823
24824 \begin_layout Plain Layout
24825
24826 \backslash
24827 arabic{footnote}
24828 \end_layout
24829
24830 \end_inset
24831
24832 など.これは非必須であり,
24833 既定値はありません.
24834 \end_layout
24835
24836 \begin_layout Description
24837 \begin_inset Flex Code
24838 status collapsed
24839
24840 \begin_layout Plain Layout
24841 HTMLPreamble
24842 \end_layout
24843
24844 \end_inset
24845
24846  この様式が使用されたときに,
24847
24848 \begin_inset Flex Code
24849 status collapsed
24850
24851 \begin_layout Plain Layout
24852 <head>
24853 \end_layout
24854
24855 \end_inset
24856
24857 セクションに出力される情報.これは,
24858 たとえば,
24859
24860 \begin_inset Flex Code
24861 status collapsed
24862
24863 \begin_layout Plain Layout
24864 onclick
24865 \end_layout
24866
24867 \end_inset
24868
24869 ハンドラを定義するために
24870 \begin_inset Flex Code
24871 status collapsed
24872
24873 \begin_layout Plain Layout
24874 <script>
24875 \end_layout
24876
24877 \end_inset
24878
24879 ブロックをインクルードするのに使用することができます.
24880 \end_layout
24881
24882 \begin_layout Description
24883 \begin_inset Flex Code
24884 status collapsed
24885
24886 \begin_layout Plain Layout
24887 HTMLStyle
24888 \end_layout
24889
24890 \end_inset
24891
24892   この様式が使用されたときに,
24893 インクルードするCSSスタイル情報.これは,
24894 レイアウトが生成する
24895 \begin_inset Flex Code
24896 status collapsed
24897
24898 \begin_layout Plain Layout
24899 <style>
24900 \end_layout
24901
24902 \end_inset
24903
24904 ブロックで自動的に包まれますので,
24905 CSS自体をインクルードするだけで大丈夫です.
24906 \end_layout
24907
24908 \begin_layout Description
24909 \begin_inset Flex Code
24910 status collapsed
24911
24912 \begin_layout Plain Layout
24913 HTMLTag
24914 \end_layout
24915
24916 \end_inset
24917
24918  [
24919 \begin_inset Flex Code
24920 status collapsed
24921
24922 \begin_layout Plain Layout
24923 文字列
24924 \end_layout
24925
24926 \end_inset
24927
24928 ] 主幹ラベルに使用されるタグ.上記各例の
24929 \begin_inset Flex Code
24930 status collapsed
24931
24932 \begin_layout Plain Layout
24933 tag
24934 \end_layout
24935
24936 \end_inset
24937
24938 を置き換えます.既定値は
24939 \begin_inset Flex Code
24940 status collapsed
24941
24942 \begin_layout Plain Layout
24943 MultiPar
24944 \end_layout
24945
24946 \end_inset
24947
24948 の設定に依存し,
24949
24950 \begin_inset Flex Code
24951 status collapsed
24952
24953 \begin_layout Plain Layout
24954 MultiPar
24955 \end_layout
24956
24957 \end_inset
24958
24959 が真ならば
24960 \begin_inset Flex Code
24961 status collapsed
24962
24963 \begin_layout Plain Layout
24964 div
24965 \end_layout
24966
24967 \end_inset
24968
24969
24970 偽ならば
24971 \begin_inset Flex Code
24972 status collapsed
24973
24974 \begin_layout Plain Layout
24975 span
24976 \end_layout
24977
24978 \end_inset
24979
24980 です.
24981 \end_layout
24982
24983 \begin_layout Subsection
24984 フロートXHTML
24985 \end_layout
24986
24987 \begin_layout Standard
24988 フロートのXHTML出力も,
24989 レイアウトファイル内の情報によって制御することができます.出力は,
24990 以下の形を取ります.
24991 \end_layout
24992
24993 \begin_layout LyX-Code
24994 <tag attr=
24995 \begin_inset Quotes erd
24996 \end_inset
24997
24998 value
24999 \begin_inset Quotes erd
25000 \end_inset
25001
25002 >
25003 \end_layout
25004
25005 \begin_layout LyX-Code
25006 フロートの内容.
25007 \end_layout
25008
25009 \begin_layout LyX-Code
25010 </tag>
25011 \end_layout
25012
25013 \begin_layout Standard
25014 キャプションは,
25015 存在している場合には,
25016 独立した差込枠となり,
25017 そのような形で出力されます.その外観は,
25018 キャプション差込枠のInsetLayoutで制御することができます.
25019 \end_layout
25020
25021 \begin_layout Description
25022 \begin_inset Flex Code
25023 status collapsed
25024
25025 \begin_layout Plain Layout
25026 HTMLAttr
25027 \end_layout
25028
25029 \end_inset
25030
25031  [
25032 \begin_inset Flex Code
25033 status collapsed
25034
25035 \begin_layout Plain Layout
25036 文字列
25037 \end_layout
25038
25039 \end_inset
25040
25041 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
25042
25043 \begin_inset Flex Code
25044 status collapsed
25045
25046 \begin_layout Plain Layout
25047 class=`myfloat' onclick=`\SpecialChar ldots
25048 '
25049 \end_layout
25050
25051 \end_inset
25052
25053 」のようなものです.既定においては,
25054 \SpecialChar LyX
25055 は「
25056 \begin_inset Flex Code
25057 status collapsed
25058
25059 \begin_layout Plain Layout
25060 class=`float フロート-フロート型'
25061 \end_layout
25062
25063 \end_inset
25064
25065 」と出力します.ここで
25066 \begin_inset Flex Code
25067 status collapsed
25068
25069 \begin_layout Plain Layout
25070 フロート型
25071 \end_layout
25072
25073 \end_inset
25074
25075 は,
25076 フロート宣言で定義された(
25077 \begin_inset CommandInset ref
25078 LatexCommand ref
25079 reference "subsec:フロート"
25080 nolink "false"
25081
25082 \end_inset
25083
25084 参照),
25085 この型のフロートの\SpecialChar LyX
25086 名です.ただし,
25087 これは小文字に変換され,
25088 アルファベットや数字でない文字はアンダースコアに変換されます.例:
25089 float-table.
25090 \end_layout
25091
25092 \begin_layout Description
25093 \begin_inset Flex Code
25094 status collapsed
25095
25096 \begin_layout Plain Layout
25097 HTMLStyle
25098 \end_layout
25099
25100 \end_inset
25101
25102   このフロートが使用されたときに,
25103 インクルードするCSSスタイル情報.これは,
25104 レイアウトが生成する
25105 \begin_inset Flex Code
25106 status collapsed
25107
25108 \begin_layout Plain Layout
25109 <style>
25110 \end_layout
25111
25112 \end_inset
25113
25114 ブロックで自動的に包まれますので,
25115 CSS自体をインクルードするだけで大丈夫です.
25116 \end_layout
25117
25118 \begin_layout Description
25119 \begin_inset Flex Code
25120 status collapsed
25121
25122 \begin_layout Plain Layout
25123 HTMLTag
25124 \end_layout
25125
25126 \end_inset
25127
25128  [
25129 \begin_inset Flex Code
25130 status collapsed
25131
25132 \begin_layout Plain Layout
25133 文字列
25134 \end_layout
25135
25136 \end_inset
25137
25138 ] このフロートに使用されるタグ.上記各例の
25139 \begin_inset Flex Code
25140 status collapsed
25141
25142 \begin_layout Plain Layout
25143 tag
25144 \end_layout
25145
25146 \end_inset
25147
25148 を置き換えます.既定値は
25149 \begin_inset Flex Code
25150 status collapsed
25151
25152 \begin_layout Plain Layout
25153 div
25154 \end_layout
25155
25156 \end_inset
25157
25158 であり,
25159 ほとんどの場合変更する必要はありません.
25160 \end_layout
25161
25162 \begin_layout Subsection
25163 書誌情報の整形
25164 \end_layout
25165
25166 \begin_layout Standard
25167 書誌情報は,
25168
25169 \begin_inset Flex Code
25170 status collapsed
25171
25172 \begin_layout Plain Layout
25173 CiteFormat
25174 \end_layout
25175
25176 \end_inset
25177
25178 ブロックを使用して整形することができます.詳細については,
25179
25180 \begin_inset CommandInset ref
25181 LatexCommand ref
25182 reference "subsec:引用書式指定"
25183 nolink "false"
25184
25185 \end_inset
25186
25187 を参照してください.
25188 \end_layout
25189
25190 \begin_layout Subsection
25191 \SpecialChar LyX
25192 が生成したCSS
25193 \end_layout
25194
25195 \begin_layout Standard
25196 \SpecialChar LyX
25197 は,
25198 提供されている他のレイアウト情報に基づいて,
25199 差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,
25200 これまでに何度か触れました.この節では,
25201 \SpecialChar LyX
25202 がどのレイアウト情報を,
25203 どのように使うのか,
25204 ひとこと述べておきたいと思います.
25205 \end_layout
25206
25207 \begin_layout Standard
25208 \SpecialChar LyX
25209 は,
25210 現在のところ,
25211
25212 \begin_inset Flex Code
25213 status collapsed
25214
25215 \begin_layout Plain Layout
25216 Font
25217 \end_layout
25218
25219 \end_inset
25220
25221 宣言で指定されている
25222 \begin_inset Flex Code
25223 status collapsed
25224
25225 \begin_layout Plain Layout
25226 Family
25227 \end_layout
25228
25229 \end_inset
25230
25231
25232 \begin_inset Flex Code
25233 status collapsed
25234
25235 \begin_layout Plain Layout
25236 Series
25237 \end_layout
25238
25239 \end_inset
25240
25241
25242 \begin_inset Flex Code
25243 status collapsed
25244
25245 \begin_layout Plain Layout
25246 Shape
25247 \end_layout
25248
25249 \end_inset
25250
25251
25252 \begin_inset Flex Code
25253 status collapsed
25254
25255 \begin_layout Plain Layout
25256 Size
25257 \end_layout
25258
25259 \end_inset
25260
25261 を利用して,
25262 フォント情報についてのみCSSを自動生成します(
25263 \begin_inset CommandInset ref
25264 LatexCommand ref
25265 reference "subsec:フォント指定"
25266 nolink "false"
25267
25268 \end_inset
25269
25270 を参照).この変換は,
25271 きわめて分かりやすく自明です.たとえば,
25272
25273 \begin_inset Flex Code
25274 status collapsed
25275
25276 \begin_layout Plain Layout
25277 Family Sans
25278 \end_layout
25279
25280 \end_inset
25281
25282 」は「
25283 \begin_inset Flex Code
25284 status collapsed
25285
25286 \begin_layout Plain Layout
25287 font-family:
25288  sans-serif
25289 \end_layout
25290
25291 \end_inset
25292
25293 」になります.\SpecialChar LyX
25294 の寸法とCSSの寸法のあいだの対応は,
25295 少し複雑ですが,
25296 それでも直感的に分かります.詳細については,
25297
25298 \begin_inset Flex URL
25299 status collapsed
25300
25301 \begin_layout Plain Layout
25302
25303 src/FontInfo.cpp
25304 \end_layout
25305
25306 \end_inset
25307
25308
25309 \begin_inset Flex Code
25310 status collapsed
25311
25312 \begin_layout Plain Layout
25313 getSizeCSS()
25314 \end_layout
25315
25316 \end_inset
25317
25318 関数をご覧ください.
25319 \end_layout
25320
25321 \begin_layout Section
25322 DocBook出力のタグ
25323 \begin_inset CommandInset label
25324 LatexCommand label
25325 name "sec:DocBook出力のタグ"
25326
25327 \end_inset
25328
25329
25330 \end_layout
25331
25332 \begin_layout Standard
25333 \SpecialChar LaTeX
25334 やXHTMLと同様に,
25335 \SpecialChar LyX
25336 のDocBook出力の書式もレイアウト情報によって制御されています.一般的に\SpecialChar LyX
25337 は賢明な既定値を提供していますが,
25338 DocBookは厳密にセマンティックであり,
25339 フォーマッティングを許さないため,
25340 スタイリングの多くは変換の途中で失われてしまいます.可能な場合には,
25341 \SpecialChar LyX
25342 からの情報は
25343 \family typewriter
25344 role
25345 \family default
25346 属性に渡されます.
25347 \end_layout
25348
25349 \begin_layout Standard
25350 多くの場合,
25351 設定した環境や特別差込枠等々について,
25352 納得のいくDocBook出力を得るために,
25353 何かしなくてはならないということはまったくありません.しかしながら,
25354 いくつかの場合において必要となることがあるため,
25355 \SpecialChar LyX
25356 は多くのレイアウトタグを提供し,
25357 生成されるDocBookを調整できるようにしています.
25358 \end_layout
25359
25360 \begin_layout Standard
25361 ラベルはDocBookでは冗長であるため,
25362 めったに出力されることはありません.この情報はタグ自身によって伝達され,
25363 (DocBookファイルを処理した後の)最終文書にラベルが現れるかどうかは,
25364 スタイルシートによって制御されます.しかしながら,
25365 定義リストのように,
25366 ラベルが冗長な内容ではないことが時々あり,
25367 この場合には,
25368 定義される用語がラベルとなります.
25369 \end_layout
25370
25371 \begin_layout Subsection
25372 段落様式
25373 \begin_inset CommandInset label
25374 LatexCommand label
25375 name "subsec:DocBook段落様式"
25376
25377 \end_inset
25378
25379
25380 \end_layout
25381
25382 \begin_layout Standard
25383 段落に対して\SpecialChar LyX
25384 が出力するDocBookの類いは,
25385 通常の段落を取り扱っているのか,
25386 コマンドなのか環境なのかによって変化し,
25387 それ自体も対応する
25388 \begin_inset Flex Code
25389 status collapsed
25390
25391 \begin_layout Plain Layout
25392 \SpecialChar LaTeX
25393 Type
25394 \end_layout
25395
25396 \end_inset
25397
25398 タグの内容によって決定されます.
25399 \end_layout
25400
25401 \begin_layout Standard
25402 コマンドや通常の段落については,
25403 DocBook出力は下記の形を取ります:
25404
25405 \end_layout
25406
25407 \begin_layout LyX-Code
25408 <tag attr>
25409 \end_layout
25410
25411 \begin_layout LyX-Code
25412 段落の中身
25413 \end_layout
25414
25415 \begin_layout LyX-Code
25416 </tag>
25417 \end_layout
25418
25419 \begin_layout Standard
25420 箇条書きの類い出ない環境については,
25421 生成されるDocBookは下記の形を取ります:
25422
25423 \end_layout
25424
25425 \begin_layout LyX-Code
25426 <tag attr>
25427 \end_layout
25428
25429 \begin_layout LyX-Code
25430 <itemtag>第1段落</itemtag>
25431 \end_layout
25432
25433 \begin_layout LyX-Code
25434 <itemtag>第2段落</itemtag>
25435 \end_layout
25436
25437 \begin_layout LyX-Code
25438 </tag>
25439 \end_layout
25440
25441 \begin_layout Standard
25442 箇条書きについては,
25443 DocBook出力は下記の形を取ります:
25444
25445 \end_layout
25446
25447 \begin_layout LyX-Code
25448 <tag attr>
25449 \end_layout
25450
25451 \begin_layout LyX-Code
25452 <itemtag attr>第1項目</itemtag>
25453 \end_layout
25454
25455 \begin_layout LyX-Code
25456 <itemtag attr>第2項目</itemtag>
25457 \end_layout
25458
25459 \begin_layout LyX-Code
25460 </tag>
25461 \end_layout
25462
25463 \begin_layout Standard
25464 各段落型に対する特定のタグやロール出力は,
25465 これから説明するレイアウトタグによって制御することができます.まさにDocBookの性質そのものによって,
25466 妥当な既定値というものはまったく存在せず,
25467 値はつねに注意深く選ばなくてはならないと言うことに注意してください.
25468 \end_layout
25469
25470 \begin_layout Description
25471 \begin_inset Flex Code
25472 status collapsed
25473
25474 \begin_layout Plain Layout
25475 DocBookAttr
25476 \end_layout
25477
25478 \end_inset
25479
25480  [
25481 \begin_inset Flex Code
25482 status collapsed
25483
25484 \begin_layout Plain Layout
25485 文字列
25486 \end_layout
25487
25488 \end_inset
25489
25490 ] メインタグに出力される属性情報を,
25491 上記の例の「
25492 \begin_inset Flex Code
25493 status collapsed
25494
25495 \begin_layout Plain Layout
25496 attr
25497 \end_layout
25498
25499 \end_inset
25500
25501 」の位置に指定します.この情報は,
25502 DocBookファイルの後処理に使用することができます.
25503 \end_layout
25504
25505 \begin_layout Description
25506 \begin_inset Flex Code
25507 status collapsed
25508
25509 \begin_layout Plain Layout
25510 DocBookTag
25511 \end_layout
25512
25513 \end_inset
25514
25515  [
25516 \begin_inset Flex Code
25517 status collapsed
25518
25519 \begin_layout Plain Layout
25520 文字列
25521 \end_layout
25522
25523 \end_inset
25524
25525 ] この差込枠に使用するタグ.上記の例の「
25526 \begin_inset Flex Code
25527 status collapsed
25528
25529 \begin_layout Plain Layout
25530 tag
25531 \end_layout
25532
25533 \end_inset
25534
25535 」の位置に出力します.既定値はフロート名で,
25536 DocBookには一般的なタグはないので,
25537 つねに変更する必要があります.
25538 \end_layout
25539
25540 \begin_layout Description
25541 \begin_inset Flex Code
25542 status collapsed
25543
25544 \begin_layout Plain Layout
25545 DocBookTagType
25546 \end_layout
25547
25548 \end_inset
25549
25550  [
25551 \begin_inset Flex Code
25552 status collapsed
25553
25554 \begin_layout Plain Layout
25555 block
25556 \end_layout
25557
25558 \end_inset
25559
25560 ,
25561  
25562 \begin_inset Flex Code
25563 status collapsed
25564
25565 \begin_layout Plain Layout
25566 paragraph
25567 \end_layout
25568
25569 \end_inset
25570
25571 ,
25572  
25573 \begin_inset Flex Code
25574 status collapsed
25575
25576 \begin_layout Plain Layout
25577 inline
25578 \end_layout
25579
25580 \end_inset
25581
25582 ] このタグの新規行ポリシー.詳細は第
25583 \begin_inset CommandInset ref
25584 LatexCommand ref
25585 reference "subsec:新規行ポリシー"
25586 plural "false"
25587 caps "false"
25588 noprefix "false"
25589 nolink "false"
25590
25591 \end_inset
25592
25593 節を参照のこと.
25594 \end_layout
25595
25596 \begin_layout Subsection
25597 新規行ポリシー
25598 \begin_inset CommandInset label
25599 LatexCommand label
25600 name "subsec:新規行ポリシー"
25601
25602 \end_inset
25603
25604
25605 \end_layout
25606
25607 \begin_layout Standard
25608 すべてのタグに関して,
25609
25610 \begin_inset Flex Code
25611 status collapsed
25612
25613 \begin_layout Plain Layout
25614 DocBook*TagType
25615 \end_layout
25616
25617 \end_inset
25618
25619 属性で指定される)新規行の出力ポリシーに下記の3つの選択肢があります.
25620 \end_layout
25621
25622 \begin_layout Itemize
25623
25624 \begin_inset Flex Code
25625 status collapsed
25626
25627 \begin_layout Plain Layout
25628 block
25629 \end_layout
25630
25631 \end_inset
25632
25633 」:
25634 開始タグと終了タグは独立した行に置きます(つまり開始タグと終了タグの前後にラインフィードします).典型的な要素はフロートです.たとえば,
25635
25636 \end_layout
25637
25638 \begin_deeper
25639 \begin_layout LyX-Code
25640 前の内容
25641 \end_layout
25642
25643 \begin_layout LyX-Code
25644 <blocktag>
25645 \end_layout
25646
25647 \begin_layout LyX-Code
25648  ブロックの内容
25649 \end_layout
25650
25651 \begin_layout LyX-Code
25652 </blocktab>
25653 \end_layout
25654
25655 \begin_layout LyX-Code
25656 後の内容
25657 \end_layout
25658
25659 \begin_layout Standard
25660 のようになります.
25661 \end_layout
25662
25663 \end_deeper
25664 \begin_layout Itemize
25665
25666 \begin_inset Flex Code
25667 status collapsed
25668
25669 \begin_layout Plain Layout
25670 paragraph
25671 \end_layout
25672
25673 \end_inset
25674
25675 」:
25676 開始タグと終了タグは同じ新規行に置きます(開始タグの前と終了タグの後にラインフィードが出力されます).典型的な要素は段落と箇条書き項目です.たとえば,
25677
25678 \end_layout
25679
25680 \begin_deeper
25681 \begin_layout LyX-Code
25682 前の内容
25683 \end_layout
25684
25685 \begin_layout LyX-Code
25686 <paratag>段落の内容</paratag>
25687 \end_layout
25688
25689 \begin_layout LyX-Code
25690 後の内容
25691 \end_layout
25692
25693 \begin_layout Standard
25694 のようになります.
25695 \end_layout
25696
25697 \end_deeper
25698 \begin_layout Itemize
25699
25700 \begin_inset Flex Code
25701 status collapsed
25702
25703 \begin_layout Plain Layout
25704 inline
25705 \end_layout
25706
25707 \end_inset
25708
25709 」:
25710 開始タグと終了タグは内容と同じ行に置かれます.ラインフィードは出力されません.典型的な要素はフォントです.たとえば,
25711
25712 \end_layout
25713
25714 \begin_deeper
25715 \begin_layout LyX-Code
25716 前の内容<inlinetag>段落の内容</inlinetag>後の内容
25717 \end_layout
25718
25719 \begin_layout Standard
25720 のようになります.
25721 \end_layout
25722
25723 \end_deeper
25724 \begin_layout Standard
25725 既定値はつねに「
25726 \begin_inset Flex Code
25727 status collapsed
25728
25729 \begin_layout Plain Layout
25730 block
25731 \end_layout
25732
25733 \end_inset
25734
25735 」です.
25736 \end_layout
25737
25738 \begin_layout Subsection
25739 InsetLayout DocBook
25740 \end_layout
25741
25742 \begin_layout Standard
25743 差込枠のDocBook出力もレイアウトファイルの情報によって制御されます.
25744 \end_layout
25745
25746 \begin_layout Standard
25747 差込枠に対して\SpecialChar LyX
25748 が出力するDocBookは次のような形を取ります.
25749 \end_layout
25750
25751 \begin_layout LyX-Code
25752 <wrappertag wrapperattr>
25753 \end_layout
25754
25755 \begin_layout LyX-Code
25756   <tag attr>
25757 \end_layout
25758
25759 \begin_layout LyX-Code
25760     <innertag innerattr>
25761 \end_layout
25762
25763 \begin_layout LyX-Code
25764       差込枠の内容
25765 \end_layout
25766
25767 \begin_layout LyX-Code
25768     </innertag>
25769 \end_layout
25770
25771 \begin_layout LyX-Code
25772   </tag>
25773 \end_layout
25774
25775 \begin_layout LyX-Code
25776 </wrappertag>
25777 \end_layout
25778
25779 \begin_layout Standard
25780 項目立てをする差込枠については,
25781 以下のようになります.
25782 \end_layout
25783
25784 \begin_layout LyX-Code
25785 <wrappertag wrapperattr>
25786 \end_layout
25787
25788 \begin_layout LyX-Code
25789   <tag attr>
25790 \end_layout
25791
25792 \begin_layout LyX-Code
25793     <innertag innerattr>
25794 \end_layout
25795
25796 \begin_layout LyX-Code
25797       <itemwrappertag itemwrapperattr>
25798 \end_layout
25799
25800 \begin_layout LyX-Code
25801         <itemlabeltag itemattr>
25802 \end_layout
25803
25804 \begin_layout LyX-Code
25805           第1項目のラベル
25806 \end_layout
25807
25808 \begin_layout LyX-Code
25809         </itemtag>
25810 \end_layout
25811
25812 \begin_layout LyX-Code
25813         <itemtag itemattr>
25814 \end_layout
25815
25816 \begin_layout LyX-Code
25817           <itemtag itemattr>
25818 \end_layout
25819
25820 \begin_layout LyX-Code
25821             第1項目の内容 item.
25822 \end_layout
25823
25824 \begin_layout LyX-Code
25825           </itemtag>
25826 \end_layout
25827
25828 \begin_layout LyX-Code
25829         </itemtag>
25830 \end_layout
25831
25832 \begin_layout LyX-Code
25833       </itemwrappertag>
25834 \end_layout
25835
25836 \begin_layout LyX-Code
25837       <itemwrappertag itemwrapperattr>
25838 \end_layout
25839
25840 \begin_layout LyX-Code
25841         <itemlabeltag itemattr>
25842 \end_layout
25843
25844 \begin_layout LyX-Code
25845           第2項目のラベル
25846 \end_layout
25847
25848 \begin_layout LyX-Code
25849         </itemtag>
25850 \end_layout
25851
25852 \begin_layout LyX-Code
25853         <itemtag itemattr>
25854 \end_layout
25855
25856 \begin_layout LyX-Code
25857           <itemtag itemattr>
25858 \end_layout
25859
25860 \begin_layout LyX-Code
25861             第2項目の内容
25862 \end_layout
25863
25864 \begin_layout LyX-Code
25865           </itemtag>
25866 \end_layout
25867
25868 \begin_layout LyX-Code
25869         </itemtag>
25870 \end_layout
25871
25872 \begin_layout LyX-Code
25873       </itemwrappertag>
25874 \end_layout
25875
25876 \begin_layout LyX-Code
25877       ...
25878 \end_layout
25879
25880 \begin_layout LyX-Code
25881     </innertag>
25882 \end_layout
25883
25884 \begin_layout LyX-Code
25885   </tag>
25886 \end_layout
25887
25888 \begin_layout LyX-Code
25889 </wrappertag>
25890 \end_layout
25891
25892 \begin_layout Standard
25893 差込枠が複数の段落を許容する場合—
25894
25895 つまり
25896 \begin_inset Flex Code
25897 status collapsed
25898
25899 \begin_layout Plain Layout
25900 MultiPar
25901 \end_layout
25902
25903 \end_inset
25904
25905 が真である場合—
25906
25907 には,
25908 差込枠の中身自身は,
25909 段落に使用される様式(標準,
25910 引用等)にしたがって整形された段落として出力されます.内側のタグは必須ではなく,
25911 既定では表示されません.
25912 \end_layout
25913
25914 \begin_layout Standard
25915 各差込枠に出力される特定のタグと属性は,
25916 下記のようなレイアウトタグによって制御されます.
25917 \end_layout
25918
25919 \begin_layout Description
25920 \begin_inset Flex Code
25921 status collapsed
25922
25923 \begin_layout Plain Layout
25924 DocBookAttr
25925 \end_layout
25926
25927 \end_inset
25928
25929  [
25930 \begin_inset Flex Code
25931 status collapsed
25932
25933 \begin_layout Plain Layout
25934 文字列
25935 \end_layout
25936
25937 \end_inset
25938
25939 ] メインタグに出力される属性情報を,
25940 上記の例の「
25941 \begin_inset Flex Code
25942 status collapsed
25943
25944 \begin_layout Plain Layout
25945 attr
25946 \end_layout
25947
25948 \end_inset
25949
25950 」の位置に指定します.この情報は,
25951 DocBookファイルの後処理に使用することができます.
25952 \end_layout
25953
25954 \begin_layout Description
25955 \begin_inset Flex Code
25956 status collapsed
25957
25958 \begin_layout Plain Layout
25959 DocBookInInfo
25960 \end_layout
25961
25962 \end_inset
25963
25964  [
25965 \begin_inset Flex Code
25966 status collapsed
25967
25968 \begin_layout Plain Layout
25969 never,
25970  always,
25971  maybe
25972 \end_layout
25973
25974 \end_inset
25975
25976 ] このタグを親レイアウトの最初にある
25977 \begin_inset Flex Code
25978 status collapsed
25979
25980 \begin_layout Plain Layout
25981 <info>
25982 \end_layout
25983
25984 \end_inset
25985
25986 タグの中に入れるかどうかを指定します.
25987 \begin_inset Flex Code
25988 status collapsed
25989
25990 \begin_layout Plain Layout
25991 never
25992 \end_layout
25993
25994 \end_inset
25995
25996 は,
25997 このタグを
25998 \begin_inset Flex Code
25999 status collapsed
26000
26001 \begin_layout Plain Layout
26002 <info>
26003 \end_layout
26004
26005 \end_inset
26006
26007 の中に決して入れないことを示します(これは既定値であり通常の内容に対応します).
26008 \begin_inset Flex Code
26009 status collapsed
26010
26011 \begin_layout Plain Layout
26012 always
26013 \end_layout
26014
26015 \end_inset
26016
26017 は,
26018 このタグを
26019 \begin_inset Flex Code
26020 status collapsed
26021
26022 \begin_layout Plain Layout
26023 <info>
26024 \end_layout
26025
26026 \end_inset
26027
26028 の中につねに入れることを示します(これは通常のメタデータに対応します).親に
26029 \begin_inset Flex Code
26030 status collapsed
26031
26032 \begin_layout Plain Layout
26033 <info>
26034 \end_layout
26035
26036 \end_inset
26037
26038 タグがない場合には生成
26039 \begin_inset Flex 圏点
26040 status open
26041
26042 \begin_layout Plain Layout
26043 されます
26044 \end_layout
26045
26046 \end_inset
26047
26048
26049 \begin_inset Flex Code
26050 status collapsed
26051
26052 \begin_layout Plain Layout
26053 maybe
26054 \end_layout
26055
26056 \end_inset
26057
26058 は,
26059 このタグを
26060 \begin_inset Flex Code
26061 status collapsed
26062
26063 \begin_layout Plain Layout
26064 <info>
26065 \end_layout
26066
26067 \end_inset
26068
26069 の中に入れるかもしれないことを示します(これは表題の場合にのみ該当します).親に
26070 \begin_inset Flex Code
26071 status collapsed
26072
26073 \begin_layout Plain Layout
26074 <info>
26075 \end_layout
26076
26077 \end_inset
26078
26079 タグがない場合には生成されることは
26080 \begin_inset Flex 圏点
26081 status open
26082
26083 \begin_layout Plain Layout
26084 ありません
26085 \end_layout
26086
26087 \end_inset
26088
26089 .対応するタグは,
26090 内容として直接出力されます.
26091 \end_layout
26092
26093 \begin_layout Description
26094 \begin_inset Flex Code
26095 status collapsed
26096
26097 \begin_layout Plain Layout
26098 DocBookItemAttr
26099 \end_layout
26100
26101 \end_inset
26102
26103  [
26104 \begin_inset Flex Code
26105 status collapsed
26106
26107 \begin_layout Plain Layout
26108 文字列
26109 \end_layout
26110
26111 \end_inset
26112
26113 ] 項目タグに出力される属性情報を,
26114 上記の例の「
26115 \begin_inset Flex Code
26116 status collapsed
26117
26118 \begin_layout Plain Layout
26119 itemattr
26120 \end_layout
26121
26122 \end_inset
26123
26124 」の位置に指定します.この情報は,
26125 DocBookファイルの後処理に使用することができます.
26126 \end_layout
26127
26128 \begin_layout Description
26129 \begin_inset Flex Code
26130 status collapsed
26131
26132 \begin_layout Plain Layout
26133 DocBookItemInnerAttr
26134 \end_layout
26135
26136 \end_inset
26137
26138  [
26139 \begin_inset Flex Code
26140 status collapsed
26141
26142 \begin_layout Plain Layout
26143 文字列
26144 \end_layout
26145
26146 \end_inset
26147
26148 ] 項目内部タグに出力される属性情報を,
26149 上記の例の「
26150 \begin_inset Flex Code
26151 status collapsed
26152
26153 \begin_layout Plain Layout
26154 iteminnerattr
26155 \end_layout
26156
26157 \end_inset
26158
26159 」の位置に指定します.この情報は,
26160 DocBookファイルの後処理に使用することができます.
26161 \end_layout
26162
26163 \begin_layout Description
26164 \begin_inset Flex Code
26165 status collapsed
26166
26167 \begin_layout Plain Layout
26168 DocBookItemInnerTag
26169 \end_layout
26170
26171 \end_inset
26172
26173  [
26174 \begin_inset Flex Code
26175 status collapsed
26176
26177 \begin_layout Plain Layout
26178 文字列
26179 \end_layout
26180
26181 \end_inset
26182
26183 ] 差込枠内部の項目内部タグに使用するタグ.上記の例の「
26184 \begin_inset Flex Code
26185 status collapsed
26186
26187 \begin_layout Plain Layout
26188 iteminnertag
26189 \end_layout
26190
26191 \end_inset
26192
26193 」の位置に出力します.既定値は
26194 \begin_inset Flex Code
26195 status collapsed
26196
26197 \begin_layout Plain Layout
26198 NONE
26199 \end_layout
26200
26201 \end_inset
26202
26203 で,
26204 項目内部タグがないことを示します.すなわち,
26205 各項目立て要素について,
26206 項目内部タグなしに中身が直接出力されます.このパラメーターは,
26207 箇条書きのように,
26208 項目立てレイアウトが使われているときのみ意味を持ちます.最もあり得る値は「
26209 \begin_inset Flex Code
26210 status collapsed
26211
26212 \begin_layout Plain Layout
26213 para
26214 \end_layout
26215
26216 \end_inset
26217
26218 」です.
26219 \begin_inset Newline newline
26220 \end_inset
26221
26222 箇条書き項目が新規行を使って分割される場合,
26223 項目内部タグは,
26224 新規行で分割される段落の各部分に対して個別に出力されます.
26225 \end_layout
26226
26227 \begin_layout Description
26228 \begin_inset Flex Code
26229 status collapsed
26230
26231 \begin_layout Plain Layout
26232 DocBookItemInnerTagType
26233 \end_layout
26234
26235 \end_inset
26236
26237  [
26238 \begin_inset Flex Code
26239 status collapsed
26240
26241 \begin_layout Plain Layout
26242 block
26243 \end_layout
26244
26245 \end_inset
26246
26247 ,
26248  
26249 \begin_inset Flex Code
26250 status collapsed
26251
26252 \begin_layout Plain Layout
26253 paragraph
26254 \end_layout
26255
26256 \end_inset
26257
26258 ,
26259  
26260 \begin_inset Flex Code
26261 status collapsed
26262
26263 \begin_layout Plain Layout
26264 inline
26265 \end_layout
26266
26267 \end_inset
26268
26269 ] このタグの新規行ポリシー.詳細は第
26270 \begin_inset CommandInset ref
26271 LatexCommand ref
26272 reference "subsec:新規行ポリシー"
26273 plural "false"
26274 caps "false"
26275 noprefix "false"
26276 nolink "false"
26277
26278 \end_inset
26279
26280 節を参照のこと.
26281 \end_layout
26282
26283 \begin_layout Description
26284 \begin_inset Flex Code
26285 status collapsed
26286
26287 \begin_layout Plain Layout
26288 DocBookItemLabelAttr
26289 \end_layout
26290
26291 \end_inset
26292
26293  [
26294 \begin_inset Flex Code
26295 status collapsed
26296
26297 \begin_layout Plain Layout
26298 文字列
26299 \end_layout
26300
26301 \end_inset
26302
26303 ] 項目ラベルタグに出力される属性情報を,
26304 上記の例の「
26305 \begin_inset Flex Code
26306 status collapsed
26307
26308 \begin_layout Plain Layout
26309 itemlabelattr
26310 \end_layout
26311
26312 \end_inset
26313
26314 」の位置に指定します.この情報は,
26315 DocBookファイルの後処理に使用することができます.
26316 \end_layout
26317
26318 \begin_layout Description
26319 \begin_inset Flex Code
26320 status collapsed
26321
26322 \begin_layout Plain Layout
26323 DocBookItemLabelTag
26324 \end_layout
26325
26326 \end_inset
26327
26328  [
26329 \begin_inset Flex Code
26330 status collapsed
26331
26332 \begin_layout Plain Layout
26333 文字列
26334 \end_layout
26335
26336 \end_inset
26337
26338 ] 差込枠内部の項目ラベルタグに使用するタグ.上記の例の「
26339 \begin_inset Flex Code
26340 status collapsed
26341
26342 \begin_layout Plain Layout
26343 itemlabeltag
26344 \end_layout
26345
26346 \end_inset
26347
26348 」の位置に出力します.このパラメーターは,
26349 定義リストのように,
26350 ラベルの概念を伴う項目立てレイアウトが使われているときのみ意味を持ちます.
26351 \end_layout
26352
26353 \begin_layout Description
26354 \begin_inset Flex Code
26355 status collapsed
26356
26357 \begin_layout Plain Layout
26358 DocBookItemLabelTagType
26359 \end_layout
26360
26361 \end_inset
26362
26363  [
26364 \begin_inset Flex Code
26365 status collapsed
26366
26367 \begin_layout Plain Layout
26368 block
26369 \end_layout
26370
26371 \end_inset
26372
26373 ,
26374  
26375 \begin_inset Flex Code
26376 status collapsed
26377
26378 \begin_layout Plain Layout
26379 paragraph
26380 \end_layout
26381
26382 \end_inset
26383
26384 ,
26385  
26386 \begin_inset Flex Code
26387 status collapsed
26388
26389 \begin_layout Plain Layout
26390 inline
26391 \end_layout
26392
26393 \end_inset
26394
26395 ] このタグの新規行ポリシー.詳細は第
26396 \begin_inset CommandInset ref
26397 LatexCommand ref
26398 reference "subsec:新規行ポリシー"
26399 plural "false"
26400 caps "false"
26401 noprefix "false"
26402 nolink "false"
26403
26404 \end_inset
26405
26406 節を参照のこと.
26407 \end_layout
26408
26409 \begin_layout Description
26410 \begin_inset Flex Code
26411 status collapsed
26412
26413 \begin_layout Plain Layout
26414 DocBookItemTag
26415 \end_layout
26416
26417 \end_inset
26418
26419  [
26420 \begin_inset Flex Code
26421 status collapsed
26422
26423 \begin_layout Plain Layout
26424 文字列
26425 \end_layout
26426
26427 \end_inset
26428
26429 ] 差込枠内部の項目タグに使用するタグ.上記の例の「
26430 \begin_inset Flex Code
26431 status collapsed
26432
26433 \begin_layout Plain Layout
26434 itemtag
26435 \end_layout
26436
26437 \end_inset
26438
26439 」の位置に出力します.既定値は
26440 \begin_inset Flex Code
26441 status collapsed
26442
26443 \begin_layout Plain Layout
26444 NONE
26445 \end_layout
26446
26447 \end_inset
26448
26449 で,
26450 項目タグがないことを示します.このパラメーターは,
26451 箇条書きのように,
26452 項目立てレイアウトが使われているときのみ意味を持ちます.
26453 \end_layout
26454
26455 \begin_layout Description
26456 \begin_inset Flex Code
26457 status collapsed
26458
26459 \begin_layout Plain Layout
26460 DocBookItemTagType
26461 \end_layout
26462
26463 \end_inset
26464
26465  [
26466 \begin_inset Flex Code
26467 status collapsed
26468
26469 \begin_layout Plain Layout
26470 block
26471 \end_layout
26472
26473 \end_inset
26474
26475 ,
26476  
26477 \begin_inset Flex Code
26478 status collapsed
26479
26480 \begin_layout Plain Layout
26481 paragraph
26482 \end_layout
26483
26484 \end_inset
26485
26486 ,
26487  
26488 \begin_inset Flex Code
26489 status collapsed
26490
26491 \begin_layout Plain Layout
26492 inline
26493 \end_layout
26494
26495 \end_inset
26496
26497 ] このタグの新規行ポリシー.詳細は第
26498 \begin_inset CommandInset ref
26499 LatexCommand ref
26500 reference "subsec:新規行ポリシー"
26501 plural "false"
26502 caps "false"
26503 noprefix "false"
26504 nolink "false"
26505
26506 \end_inset
26507
26508 節を参照のこと.
26509 \end_layout
26510
26511 \begin_layout Description
26512 \begin_inset Flex Code
26513 status collapsed
26514
26515 \begin_layout Plain Layout
26516 DocBookItemWrapperAttr
26517 \end_layout
26518
26519 \end_inset
26520
26521  [
26522 \begin_inset Flex Code
26523 status collapsed
26524
26525 \begin_layout Plain Layout
26526 文字列
26527 \end_layout
26528
26529 \end_inset
26530
26531 ] 項目ラッパータグに出力される属性情報を,
26532 上記の例の「
26533 \begin_inset Flex Code
26534 status collapsed
26535
26536 \begin_layout Plain Layout
26537 itemwrapperattr
26538 \end_layout
26539
26540 \end_inset
26541
26542 」の位置に指定します.この情報は,
26543 DocBookファイルの後処理に使用することができます.
26544 \end_layout
26545
26546 \begin_layout Description
26547 \begin_inset Flex Code
26548 status collapsed
26549
26550 \begin_layout Plain Layout
26551 DocBookItemWrapperTag
26552 \end_layout
26553
26554 \end_inset
26555
26556  [
26557 \begin_inset Flex Code
26558 status collapsed
26559
26560 \begin_layout Plain Layout
26561 文字列
26562 \end_layout
26563
26564 \end_inset
26565
26566 ] 差込枠内部の項目ラッパータグに使用するタグ.上記の例の「
26567 \begin_inset Flex Code
26568 status collapsed
26569
26570 \begin_layout Plain Layout
26571 itemwrappertag
26572 \end_layout
26573
26574 \end_inset
26575
26576 」の位置に出力します.既定値は
26577 \begin_inset Flex Code
26578 status collapsed
26579
26580 \begin_layout Plain Layout
26581 NONE
26582 \end_layout
26583
26584 \end_inset
26585
26586 で,
26587 項目ラッパータグがないことを示します.すなわち,
26588 各項目立て要素について,
26589 項目ラッパータグなしにタグと中身が直接出力されます.このパラメーターは,
26590 箇条書きのように,
26591 項目立てレイアウトが使われているときのみ意味を持ちます.
26592 \end_layout
26593
26594 \begin_layout Description
26595 \begin_inset Flex Code
26596 status collapsed
26597
26598 \begin_layout Plain Layout
26599 DocBookItemWrapperTagType
26600 \end_layout
26601
26602 \end_inset
26603
26604  [
26605 \begin_inset Flex Code
26606 status collapsed
26607
26608 \begin_layout Plain Layout
26609 block
26610 \end_layout
26611
26612 \end_inset
26613
26614 ,
26615  
26616 \begin_inset Flex Code
26617 status collapsed
26618
26619 \begin_layout Plain Layout
26620 paragraph
26621 \end_layout
26622
26623 \end_inset
26624
26625 ,
26626  
26627 \begin_inset Flex Code
26628 status collapsed
26629
26630 \begin_layout Plain Layout
26631 inline
26632 \end_layout
26633
26634 \end_inset
26635
26636 ] このタグの新規行ポリシー.詳細は第
26637 \begin_inset CommandInset ref
26638 LatexCommand ref
26639 reference "subsec:新規行ポリシー"
26640 plural "false"
26641 caps "false"
26642 noprefix "false"
26643 nolink "false"
26644
26645 \end_inset
26646
26647 節を参照のこと.
26648 \end_layout
26649
26650 \begin_layout Description
26651 \begin_inset Flex Code
26652 status collapsed
26653
26654 \begin_layout Plain Layout
26655 DocBookInnerAttr
26656 \end_layout
26657
26658 \end_inset
26659
26660  [
26661 \begin_inset Flex Code
26662 status collapsed
26663
26664 \begin_layout Plain Layout
26665 文字列
26666 \end_layout
26667
26668 \end_inset
26669
26670 ] 内部タグに出力される属性情報を,
26671 上記の例の「
26672 \begin_inset Flex Code
26673 status collapsed
26674
26675 \begin_layout Plain Layout
26676 innerattr
26677 \end_layout
26678
26679 \end_inset
26680
26681 」の位置に指定します.この情報は,
26682 DocBookファイルの後処理に使用することができます.
26683 \end_layout
26684
26685 \begin_layout Description
26686 \begin_inset Flex Code
26687 status collapsed
26688
26689 \begin_layout Plain Layout
26690 DocBookInnerTag
26691 \end_layout
26692
26693 \end_inset
26694
26695  [
26696 \begin_inset Flex Code
26697 status collapsed
26698
26699 \begin_layout Plain Layout
26700 文字列
26701 \end_layout
26702
26703 \end_inset
26704
26705 ] 差込枠内部の内部タグに使用するタグ.上記の例の「
26706 \begin_inset Flex Code
26707 status collapsed
26708
26709 \begin_layout Plain Layout
26710 innertag
26711 \end_layout
26712
26713 \end_inset
26714
26715 」の位置に出力します.既定値は
26716 \begin_inset Flex Code
26717 status collapsed
26718
26719 \begin_layout Plain Layout
26720 NONE
26721 \end_layout
26722
26723 \end_inset
26724
26725 で,
26726 内部タグがないことを示します.すなわち,
26727 内部タグなしに中身が直接出力されます.
26728 \end_layout
26729
26730 \begin_layout Description
26731 \begin_inset Flex Code
26732 status collapsed
26733
26734 \begin_layout Plain Layout
26735 DocBookInnerTagType
26736 \end_layout
26737
26738 \end_inset
26739
26740  [
26741 \begin_inset Flex Code
26742 status collapsed
26743
26744 \begin_layout Plain Layout
26745 block
26746 \end_layout
26747
26748 \end_inset
26749
26750 ,
26751  
26752 \begin_inset Flex Code
26753 status collapsed
26754
26755 \begin_layout Plain Layout
26756 paragraph
26757 \end_layout
26758
26759 \end_inset
26760
26761 ,
26762  
26763 \begin_inset Flex Code
26764 status collapsed
26765
26766 \begin_layout Plain Layout
26767 inline
26768 \end_layout
26769
26770 \end_inset
26771
26772 ] このタグの新規行ポリシー.詳細は第
26773 \begin_inset CommandInset ref
26774 LatexCommand ref
26775 reference "subsec:新規行ポリシー"
26776 plural "false"
26777 caps "false"
26778 noprefix "false"
26779 nolink "false"
26780
26781 \end_inset
26782
26783 節を参照のこと.
26784 \end_layout
26785
26786 \begin_layout Description
26787 \begin_inset Flex Code
26788 status collapsed
26789
26790 \begin_layout Plain Layout
26791 DocBookSectionTag
26792 \end_layout
26793
26794 \end_inset
26795
26796  [
26797 \begin_inset Flex Code
26798 status collapsed
26799
26800 \begin_layout Plain Layout
26801 文字列
26802 \end_layout
26803
26804 \end_inset
26805
26806 ] このタイプのセクションに対応するタグを指定します.このパラメーターは,
26807 セクショニング要素(部・章・節等)にのみ意味を持ちます.既定値は
26808 \begin_inset Flex Code
26809 status collapsed
26810
26811 \begin_layout Plain Layout
26812 section
26813 \end_layout
26814
26815 \end_inset
26816
26817 で,
26818 DocBookがセクショニングに他のものを使うときのみ上書きされます(典型的にはbookの部や章).
26819 \end_layout
26820
26821 \begin_layout Description
26822 \begin_inset Flex Code
26823 status collapsed
26824
26825 \begin_layout Plain Layout
26826 DocBookTag
26827 \end_layout
26828
26829 \end_inset
26830
26831  [
26832 \begin_inset Flex Code
26833 status collapsed
26834
26835 \begin_layout Plain Layout
26836 文字列
26837 \end_layout
26838
26839 \end_inset
26840
26841 ] この差込枠に使用するタグ.上記の例の「
26842 \begin_inset Flex Code
26843 status collapsed
26844
26845 \begin_layout Plain Layout
26846 tag
26847 \end_layout
26848
26849 \end_inset
26850
26851 」の位置に出力します.既定値はフロート名で,
26852 DocBookには一般的なタグはないので,
26853 つねに変更する必要があります.
26854 \end_layout
26855
26856 \begin_layout Description
26857 \begin_inset Flex Code
26858 status collapsed
26859
26860 \begin_layout Plain Layout
26861 DocBookTagType
26862 \end_layout
26863
26864 \end_inset
26865
26866  [
26867 \begin_inset Flex Code
26868 status collapsed
26869
26870 \begin_layout Plain Layout
26871 block
26872 \end_layout
26873
26874 \end_inset
26875
26876 ,
26877  
26878 \begin_inset Flex Code
26879 status collapsed
26880
26881 \begin_layout Plain Layout
26882 paragraph
26883 \end_layout
26884
26885 \end_inset
26886
26887 ,
26888  
26889 \begin_inset Flex Code
26890 status collapsed
26891
26892 \begin_layout Plain Layout
26893 inline
26894 \end_layout
26895
26896 \end_inset
26897
26898 ] このタグの新規行ポリシー.詳細は第
26899 \begin_inset CommandInset ref
26900 LatexCommand ref
26901 reference "subsec:新規行ポリシー"
26902 plural "false"
26903 caps "false"
26904 noprefix "false"
26905 nolink "false"
26906
26907 \end_inset
26908
26909 節を参照のこと.
26910 \end_layout
26911
26912 \begin_layout Description
26913 \begin_inset Flex Code
26914 status collapsed
26915
26916 \begin_layout Plain Layout
26917 DocBookWrapperAttr
26918 \end_layout
26919
26920 \end_inset
26921
26922  [
26923 \begin_inset Flex Code
26924 status collapsed
26925
26926 \begin_layout Plain Layout
26927 文字列
26928 \end_layout
26929
26930 \end_inset
26931
26932 ] 外部ラッパータグに出力される属性情報を,
26933 上記の例の「
26934 \begin_inset Flex Code
26935 status collapsed
26936
26937 \begin_layout Plain Layout
26938 wrapperattr
26939 \end_layout
26940
26941 \end_inset
26942
26943 」の位置に指定します.この情報は,
26944 DocBookファイルの後処理に使用することができます.
26945 \end_layout
26946
26947 \begin_layout Description
26948 \begin_inset Flex Code
26949 status collapsed
26950
26951 \begin_layout Plain Layout
26952 DocBookWrapperTag
26953 \end_layout
26954
26955 \end_inset
26956
26957  [
26958 \begin_inset Flex Code
26959 status collapsed
26960
26961 \begin_layout Plain Layout
26962 文字列
26963 \end_layout
26964
26965 \end_inset
26966
26967 ] 差込枠の周りのラッパータグに使用するタグ.上記の例の「
26968 \begin_inset Flex Code
26969 status collapsed
26970
26971 \begin_layout Plain Layout
26972 wrappertag
26973 \end_layout
26974
26975 \end_inset
26976
26977 」の位置に出力します.既定値は
26978 \begin_inset Flex Code
26979 status collapsed
26980
26981 \begin_layout Plain Layout
26982 NONE
26983 \end_layout
26984
26985 \end_inset
26986
26987 で,
26988 ラッパータグがないことを示します.すなわち,
26989 ラッパータグなしにタグと中身が直接出力されます.
26990 \end_layout
26991
26992 \begin_layout Description
26993 \begin_inset Flex Code
26994 status collapsed
26995
26996 \begin_layout Plain Layout
26997 DocBookWrapperTagType
26998 \end_layout
26999
27000 \end_inset
27001
27002  [
27003 \begin_inset Flex Code
27004 status collapsed
27005
27006 \begin_layout Plain Layout
27007 block
27008 \end_layout
27009
27010 \end_inset
27011
27012 ,
27013  
27014 \begin_inset Flex Code
27015 status collapsed
27016
27017 \begin_layout Plain Layout
27018 paragraph
27019 \end_layout
27020
27021 \end_inset
27022
27023 ,
27024  
27025 \begin_inset Flex Code
27026 status collapsed
27027
27028 \begin_layout Plain Layout
27029 inline
27030 \end_layout
27031
27032 \end_inset
27033
27034 ] このタグの新規行ポリシー.詳細は第
27035 \begin_inset CommandInset ref
27036 LatexCommand ref
27037 reference "subsec:新規行ポリシー"
27038 plural "false"
27039 caps "false"
27040 noprefix "false"
27041 nolink "false"
27042
27043 \end_inset
27044
27045 節を参照のこと.
27046 \end_layout
27047
27048 \begin_layout Subsection
27049 Float DocBook
27050 \end_layout
27051
27052 \begin_layout Standard
27053 フロートのDocBook出力もレイアウトファイルの情報によって制御されます.出力は以下の形を取ります.
27054 \end_layout
27055
27056 \begin_layout LyX-Code
27057 <tag attr>
27058 \end_layout
27059
27060 \begin_layout LyX-Code
27061  DocBookとしてのフロートの内容
27062 \end_layout
27063
27064 \begin_layout LyX-Code
27065 </tag>
27066 \end_layout
27067
27068 \begin_layout Standard
27069 キャプションは,
27070 存在するならば別の差込枠となり,
27071 表題とともに出力されます.
27072 \end_layout
27073
27074 \begin_layout Description
27075 \begin_inset Flex Code
27076 status collapsed
27077
27078 \begin_layout Plain Layout
27079 DocBookAttr
27080 \end_layout
27081
27082 \end_inset
27083
27084  [
27085 \begin_inset Flex Code
27086 status collapsed
27087
27088 \begin_layout Plain Layout
27089 文字列
27090 \end_layout
27091
27092 \end_inset
27093
27094 ] メインタグに出力される属性情報を,
27095 上記の例の「
27096 \begin_inset Flex Code
27097 status collapsed
27098
27099 \begin_layout Plain Layout
27100 attr
27101 \end_layout
27102
27103 \end_inset
27104
27105 」の位置に指定します.この情報は,
27106 DocBookファイルの後処理に使用することができます.
27107 \end_layout
27108
27109 \begin_layout Description
27110 \begin_inset Flex Code
27111 status collapsed
27112
27113 \begin_layout Plain Layout
27114 DocBookTag
27115 \end_layout
27116
27117 \end_inset
27118
27119  [
27120 \begin_inset Flex Code
27121 status collapsed
27122
27123 \begin_layout Plain Layout
27124 文字列
27125 \end_layout
27126
27127 \end_inset
27128
27129 ] このフロートに使用するタグ.上記の例の「
27130 \begin_inset Flex Code
27131 status collapsed
27132
27133 \begin_layout Plain Layout
27134 tag
27135 \end_layout
27136
27137 \end_inset
27138
27139 」の位置に出力します.既定値はフロート名で,
27140 DocBookには一般的なタグはないので,
27141 つねに変更する必要があります.
27142 \end_layout
27143
27144 \begin_layout Subsection
27145 書誌情報の組版
27146 \end_layout
27147
27148 \begin_layout Standard
27149 読み込んだ書誌情報は整形することができません.すなわち,
27150 フィールドはすべて,
27151
27152 \begin_inset Flex Code
27153 status collapsed
27154
27155 \begin_layout Plain Layout
27156 bibentry
27157 \end_layout
27158
27159 \end_inset
27160
27161 タグを使用して(BibTeXファイルと同等な)データベース型のDocBook形式でつねに出力されます.
27162 \end_layout
27163
27164 \begin_layout Standard
27165 書誌情報項目が,
27166 \SpecialChar LyX
27167 文書に書誌情報項目として手動で挿入されると,
27168 ユーザーはその整形を担当します.すなわち,
27169 ユーザーが書いたことを解析することは為されず,
27170 文字列は(
27171 \begin_inset Flex Code
27172 status collapsed
27173
27174 \begin_layout Plain Layout
27175 bibliomixed
27176 \end_layout
27177
27178 \end_inset
27179
27180 タグを用いて)直接に使用されます.
27181 \end_layout
27182
27183 \begin_layout Chapter
27184 外部素材を取り込む
27185 \begin_inset CommandInset label
27186 LatexCommand label
27187 name "chap:外部素材を取り込む"
27188
27189 \end_inset
27190
27191
27192 \end_layout
27193
27194 \begin_layout Standard
27195 \begin_inset Box Shadowbox
27196 position "t"
27197 hor_pos "c"
27198 has_inner_box 1
27199 inner_pos "t"
27200 use_parbox 0
27201 use_makebox 0
27202 width "100col%"
27203 special "none"
27204 height "1in"
27205 height_special "totalheight"
27206 thickness "0.4pt"
27207 separation "3pt"
27208 shadowsize "4pt"
27209 framecolor "black"
27210 backgroundcolor "none"
27211 status open
27212
27213 \begin_layout Plain Layout
27214 【警告】本説明書のこの部分は,
27215 しばらく更新されていません.もちろんまだ正確であることを期待していますが,
27216 保証の限りではありません.
27217 \end_layout
27218
27219 \end_inset
27220
27221
27222 \end_layout
27223
27224 \begin_layout Standard
27225 \SpecialChar LyX
27226 外部のソースから素材を使用する方法は,
27227 取扱説明書『
27228 \emph on
27229 埋込オブジェクト篇
27230 \emph default
27231 』で詳細にカバーされています.本章は,
27232 新種の素材を取り込む際に,
27233 舞台裏で何をする必要があるかをカバーします.
27234 \end_layout
27235
27236 \begin_layout Section
27237 どのように機能するのか
27238 \end_layout
27239
27240 \begin_layout Standard
27241 外部素材の機能は,
27242 ひな型の概念に基づいています.ひな型は,
27243 \SpecialChar LyX
27244 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,
27245 \SpecialChar LyX
27246 は,
27247 Xfigの図や,
27248 様々なラスター形式画像,
27249 チェス棋譜,
27250 LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
27251
27252 \begin_inset Flex MenuItem
27253 status collapsed
27254
27255 \begin_layout Plain Layout
27256 挿入\SpecialChar menuseparator
27257 ファイル\SpecialChar menuseparator
27258 外部素材
27259 \end_layout
27260
27261 \end_inset
27262
27263 メニューで見ることができます.さらに,
27264 特定の型の素材をサポートするのに,
27265 自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しますが,
27266 できればあなたが作ったすべてのひな型を投稿して,
27267 我々が\SpecialChar LyX
27268 の後の版に取り込むことができるようにしてくださることを希望します.
27269 \end_layout
27270
27271 \begin_layout Standard
27272 外部素材の機能におけるもう一つの基本的な発想は,
27273 最終素材の元となるオリジナルファイルと,
27274 書き出された文書や印刷された文書に取り込むための生成ファイルとを区別していることです.たとえば,
27275
27276 \begin_inset Flex Code
27277 status collapsed
27278
27279 \begin_layout Plain Layout
27280 Xfig
27281 \end_layout
27282
27283 \end_inset
27284
27285 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
27286
27287 \begin_inset Flex Code
27288 status collapsed
27289
27290 \begin_layout Plain Layout
27291 .fig
27292 \end_layout
27293
27294 \end_inset
27295
27296 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,
27297 作業が終われば
27298 \begin_inset Flex Code
27299 status collapsed
27300
27301 \begin_layout Plain Layout
27302 fig
27303 \end_layout
27304
27305 \end_inset
27306
27307 ファイルに保存します.この図をお使いの文書に取り込みたいときには,
27308 \SpecialChar LaTeX
27309 ファイルにそのままインクルードできるように,
27310
27311 \begin_inset Flex Code
27312 status collapsed
27313
27314 \begin_layout Plain Layout
27315 transfig
27316 \end_layout
27317
27318 \end_inset
27319
27320 を呼び出してPostScriptファイルを生成します.この場合には,
27321
27322 \begin_inset Flex Code
27323 status collapsed
27324
27325 \begin_layout Plain Layout
27326 .fig
27327 \end_layout
27328
27329 \end_inset
27330
27331 ファイルがオリジナルファイルであり,
27332 PostScriptファイルが生成ファイルになります.
27333 \end_layout
27334
27335 \begin_layout Standard
27336 この区別は,
27337 文書を執筆している最中に,
27338 素材を更新することができるようにするために重要です.さらに,
27339 これによって,
27340 複数の書き出し書式をサポートするために必要な柔軟性が提供されます.たとえば,
27341 平文テキストファイルの場合には,
27342 図を生のPostScriptファイルとして取り込むのは,
27343 とても褒められた発想とはいえません.むしろ,
27344 その図への参照だけを含めるか,
27345 最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
27346 の外部素材マネジメントは,
27347 \SpecialChar LyX
27348 がサポートする各書き出し書式別に仕分けしているので,
27349 ユーザがこれを行うことが可能となっています.
27350 \end_layout
27351
27352 \begin_layout Standard
27353 \SpecialChar LyX
27354 の外部素材マネジメントは,
27355 書き出し書式によって異なる生成物をサポートすることの他に,
27356 編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図の場合には,
27357 \SpecialChar LyX
27358 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,
27359 ダブルクリックすることで生成されたPostScriptファイルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,
27360 オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファイルブラウザをいじくり回す必要はないのです.このようにして,
27361 文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,
27362 最終的により生産性を上げることができるようになるのです.
27363 \end_layout
27364
27365 \begin_layout Section
27366 外用ひな型設定ファイル
27367 \end_layout
27368
27369 \begin_layout Standard
27370 \SpecialChar LyX
27371 に自製の外用ひな型を付け加えるのは,
27372 比較的簡単です.しかしながら,
27373 これを不用心に行ってしまうと,
27374 たいていの場合,
27375 簡単に濫用されてしまうようなセキュリティホールを作ってしまいがちであることを心に留めておいてください.したがって,
27376 これを実行に移す前に,
27377
27378 \begin_inset CommandInset ref
27379 LatexCommand ref
27380 reference "sec:セキュリティに関する論点"
27381 nolink "false"
27382
27383 \end_inset
27384
27385 のセキュリティに関する議論を読んでおいてください.
27386 \end_layout
27387
27388 \begin_layout Standard
27389 このことに言及した上で,
27390 あなたが作成した面白いひな型は,
27391 ぜひ投稿してください.
27392 \end_layout
27393
27394 \begin_layout Standard
27395 外用ひな型ファイルは,
27396
27397 \begin_inset Flex Code
27398 status collapsed
27399
27400 \begin_layout Plain Layout
27401 LyXDir/lib/xtemplates/
27402 \end_layout
27403
27404 \end_inset
27405
27406 ディレクトリ中にある
27407 \begin_inset Flex Code
27408 status collapsed
27409
27410 \begin_layout Plain Layout
27411 *.xtemplate
27412 \end_layout
27413
27414 \end_inset
27415
27416 ファイルに定義されています.各ひな型は,
27417 そのファイル完結で定義されています.自分専用のひな型を
27418 \begin_inset Flex Code
27419 status collapsed
27420
27421 \begin_layout Plain Layout
27422 UserDir/xtemplates/
27423 \end_layout
27424
27425 \end_inset
27426
27427 に置くこともできますし,
27428 既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
27429 \end_layout
27430
27431 \begin_layout Standard
27432 典型的なひな型は以下のようになります.
27433 \end_layout
27434
27435 \begin_layout LyX-Code
27436 Template XFig
27437 \end_layout
27438
27439 \begin_layout LyX-Code
27440 GuiName "XFig:
27441  $$AbsOrRelPathParent$$Basename"
27442 \end_layout
27443
27444 \begin_layout LyX-Code
27445 HelpText
27446 \end_layout
27447
27448 \begin_layout LyX-Code
27449 An XFig figure.
27450 \end_layout
27451
27452 \begin_layout LyX-Code
27453 HelpTextEnd
27454 \end_layout
27455
27456 \begin_layout LyX-Code
27457 InputFormat fig
27458 \end_layout
27459
27460 \begin_layout LyX-Code
27461 FileFilter "*.fig"
27462 \end_layout
27463
27464 \begin_layout LyX-Code
27465 AutomaticProduction true
27466 \end_layout
27467
27468 \begin_layout LyX-Code
27469 Transform Rotate
27470 \end_layout
27471
27472 \begin_layout LyX-Code
27473 Transform Resize
27474 \end_layout
27475
27476 \begin_layout LyX-Code
27477 Format LaTeX
27478 \end_layout
27479
27480 \begin_layout LyX-Code
27481 TransformCommand Rotate RotationLatexCommand
27482 \end_layout
27483
27484 \begin_layout LyX-Code
27485 TransformCommand Resize ResizeLatexCommand
27486 \end_layout
27487
27488 \begin_layout LyX-Code
27489 Product "$$RotateFront$$ResizeFront
27490 \end_layout
27491
27492 \begin_layout LyX-Code
27493          
27494 \backslash
27495
27496 \backslash
27497 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
27498 \end_layout
27499
27500 \begin_layout LyX-Code
27501          $$ResizeBack$$RotateBack"
27502 \end_layout
27503
27504 \begin_layout LyX-Code
27505 UpdateFormat pstex
27506 \end_layout
27507
27508 \begin_layout LyX-Code
27509 UpdateResult "$$AbsPath$$Basename.pstex_t"
27510 \end_layout
27511
27512 \begin_layout LyX-Code
27513 Requirement "graphicx"
27514 \end_layout
27515
27516 \begin_layout LyX-Code
27517 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27518 \end_layout
27519
27520 \begin_layout LyX-Code
27521 ReferencedFile latex "$$AbsPath$$Basename.eps"
27522 \end_layout
27523
27524 \begin_layout LyX-Code
27525 ReferencedFile dvi "$$AbsPath$$Basename.eps"
27526 \end_layout
27527
27528 \begin_layout LyX-Code
27529 FormatEnd
27530 \end_layout
27531
27532 \begin_layout LyX-Code
27533 Format PDFLaTeX
27534 \end_layout
27535
27536 \begin_layout LyX-Code
27537 TransformCommand Rotate RotationLatexCommand
27538 \end_layout
27539
27540 \begin_layout LyX-Code
27541 TransformCommand Resize ResizeLatexCommand
27542 \end_layout
27543
27544 \begin_layout LyX-Code
27545 Product "$$RotateFront$$ResizeFront
27546 \end_layout
27547
27548 \begin_layout LyX-Code
27549          
27550 \backslash
27551
27552 \backslash
27553 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
27554 \end_layout
27555
27556 \begin_layout LyX-Code
27557          $$ResizeBack$$RotateBack"
27558 \end_layout
27559
27560 \begin_layout LyX-Code
27561 UpdateFormat pdftex
27562 \end_layout
27563
27564 \begin_layout LyX-Code
27565 UpdateResult "$$AbsPath$$Basename.pdftex_t"
27566 \end_layout
27567
27568 \begin_layout LyX-Code
27569 Requirement "graphicx"
27570 \end_layout
27571
27572 \begin_layout LyX-Code
27573 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
27574 \end_layout
27575
27576 \begin_layout LyX-Code
27577 ReferencedFile latex "$$AbsPath$$Basename.pdf"
27578 \end_layout
27579
27580 \begin_layout LyX-Code
27581 FormatEnd
27582 \end_layout
27583
27584 \begin_layout LyX-Code
27585 Format Ascii
27586 \end_layout
27587
27588 \begin_layout LyX-Code
27589 Product "$$Contents(
27590 \backslash
27591 "$$AbsPath$$Basename.asc
27592 \backslash
27593 ")"
27594 \end_layout
27595
27596 \begin_layout LyX-Code
27597 UpdateFormat asciixfig
27598 \end_layout
27599
27600 \begin_layout LyX-Code
27601 UpdateResult "$$AbsPath$$Basename.asc"
27602 \end_layout
27603
27604 \begin_layout LyX-Code
27605 FormatEnd
27606 \end_layout
27607
27608 \begin_layout LyX-Code
27609 Format DocBook
27610 \end_layout
27611
27612 \begin_layout LyX-Code
27613 Product "<graphic fileref=
27614 \backslash
27615 "$$AbsOrRelPathMaster$$Basename.eps
27616 \backslash
27617 ">
27618 \end_layout
27619
27620 \begin_layout LyX-Code
27621          </graphic>"
27622 \end_layout
27623
27624 \begin_layout LyX-Code
27625 UpdateFormat eps
27626 \end_layout
27627
27628 \begin_layout LyX-Code
27629 UpdateResult "$$AbsPath$$Basename.eps"
27630 \end_layout
27631
27632 \begin_layout LyX-Code
27633 ReferencedFile docbook "$$AbsPath$$Basename.eps"
27634 \end_layout
27635
27636 \begin_layout LyX-Code
27637 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
27638 \end_layout
27639
27640 \begin_layout LyX-Code
27641 FormatEnd
27642 \end_layout
27643
27644 \begin_layout LyX-Code
27645 Product "[XFig:
27646  $$FName]"
27647 \end_layout
27648
27649 \begin_layout LyX-Code
27650 FormatEnd
27651 \end_layout
27652
27653 \begin_layout LyX-Code
27654 TemplateEnd
27655 \end_layout
27656
27657 \begin_layout Standard
27658 ご覧の通り,
27659 ひな型は
27660 \begin_inset Flex Code
27661 status collapsed
27662
27663 \begin_layout Plain Layout
27664 Template
27665 \end_layout
27666
27667 \end_inset
27668
27669  \SpecialChar ldots
27670  
27671 \begin_inset Flex Code
27672 status collapsed
27673
27674 \begin_layout Plain Layout
27675 TemplateEnd
27676 \end_layout
27677
27678 \end_inset
27679
27680 で閉じられます.ひな型には,
27681 一般的な設定を行うヘッダ部と,
27682 サポートされている主要な文書ファイル形式の設定を行う
27683 \begin_inset Flex Code
27684 status collapsed
27685
27686 \begin_layout Plain Layout
27687 Format
27688 \end_layout
27689
27690 \end_inset
27691
27692  \SpecialChar ldots
27693  
27694 \begin_inset Flex Code
27695 status collapsed
27696
27697 \begin_layout Plain Layout
27698 FormatEnd
27699 \end_layout
27700
27701 \end_inset
27702
27703 部があります.
27704 \end_layout
27705
27706 \begin_layout Subsection
27707 ひな型のヘッダ
27708 \end_layout
27709
27710 \begin_layout Description
27711 \begin_inset Flex Code
27712 status collapsed
27713
27714 \begin_layout Plain Layout
27715 AutomaticProduction
27716 \begin_inset space ~
27717 \end_inset
27718
27719 true|false
27720 \end_layout
27721
27722 \end_inset
27723
27724  このひな型で扱うファイルを\SpecialChar LyX
27725 が生成しなくてはならないか否か.このコマンドは,
27726 一度だけ必ず現れなくてはなりません.
27727 \end_layout
27728
27729 \begin_layout Description
27730 \begin_inset Flex Code
27731 status collapsed
27732
27733 \begin_layout Plain Layout
27734 FileFilter
27735 \begin_inset space ~
27736 \end_inset
27737
27738 <パターン>
27739 \end_layout
27740
27741 \end_inset
27742
27743  望むファイル群を表示するために,
27744 ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,
27745 tgifには
27746 \begin_inset Flex Code
27747 status collapsed
27748
27749 \begin_layout Plain Layout
27750 .obj
27751 \end_layout
27752
27753 \end_inset
27754
27755
27756 \begin_inset Flex Code
27757 status collapsed
27758
27759 \begin_layout Plain Layout
27760 .tgo
27761 \end_layout
27762
27763 \end_inset
27764
27765 があります),
27766
27767 \begin_inset Flex Code
27768 status collapsed
27769
27770 \begin_layout Plain Layout
27771 *.{obj,tgo}
27772 \end_layout
27773
27774 \end_inset
27775
27776 」の様なパターンを使用してください.このコマンドは,
27777 一度だけ必ず現れなくてはなりません.
27778 \end_layout
27779
27780 \begin_layout Description
27781 \begin_inset Flex Code
27782 status collapsed
27783
27784 \begin_layout Plain Layout
27785 GuiName
27786 \begin_inset space ~
27787 \end_inset
27788
27789 <GUI名>
27790 \end_layout
27791
27792 \end_inset
27793
27794  この文字列はボタン上に表示されます.このコマンドは,
27795 一度だけ必ず現れなくてはなりません.
27796 \end_layout
27797
27798 \begin_layout Description
27799 \begin_inset Flex Code
27800 status collapsed
27801
27802 \begin_layout Plain Layout
27803 HelpText
27804 \begin_inset space ~
27805 \end_inset
27806
27807 <文章>
27808 \begin_inset space ~
27809 \end_inset
27810
27811 HelpTextEnd
27812 \end_layout
27813
27814 \end_inset
27815
27816  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,
27817 ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,
27818 一度だけ必ず現れなくてはなりません.
27819 \end_layout
27820
27821 \begin_layout Description
27822 \begin_inset Flex Code
27823 status collapsed
27824
27825 \begin_layout Plain Layout
27826 InputFormat
27827 \begin_inset space ~
27828 \end_inset
27829
27830 <書式>
27831 \end_layout
27832
27833 \end_inset
27834
27835  オリジナルファイルのファイル形式.これは,
27836 \SpecialChar LyX
27837 が知っている書式名でなくてはなりません(
27838 \begin_inset CommandInset ref
27839 LatexCommand ref
27840 reference "sec:ファイル形式"
27841 nolink "false"
27842
27843 \end_inset
27844
27845 参照).このひな型が,
27846 2つ以上の書式のオリジナルファイルを取り扱える場合は,
27847
27848 \begin_inset Flex Code
27849 status collapsed
27850
27851 \begin_layout Plain Layout
27852 *
27853 \end_layout
27854
27855 \end_inset
27856
27857 」を使用してください.この場合,
27858 \SpecialChar LyX
27859 はファイル形式を推定するために,
27860 ファイル自体に詮索を試みます.このコマンドは,
27861 一度だけ必ず現れなくてはなりません.
27862 \end_layout
27863
27864 \begin_layout Description
27865 \begin_inset Flex Code
27866 status collapsed
27867
27868 \begin_layout Plain Layout
27869 Template
27870 \begin_inset space ~
27871 \end_inset
27872
27873 <ID>
27874 \end_layout
27875
27876 \end_inset
27877
27878  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
27879 \end_layout
27880
27881 \begin_layout Description
27882 \begin_inset Flex Code
27883 status collapsed
27884
27885 \begin_layout Plain Layout
27886 Transform
27887 \begin_inset space ~
27888 \end_inset
27889
27890 Rotate|Resize|Clip|Extra
27891 \end_layout
27892
27893 \end_inset
27894
27895  このコマンドは,
27896 このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,
27897 外部素材ダイアログ中の対応するタブを使用可能にします.
27898 \begin_inset Flex Code
27899 status collapsed
27900
27901 \begin_layout Plain Layout
27902 Transform
27903 \end_layout
27904
27905 \end_inset
27906
27907 コマンド一つずつに応じて,
27908
27909 \begin_inset Flex Code
27910 status collapsed
27911
27912 \begin_layout Plain Layout
27913 Format
27914 \end_layout
27915
27916 \end_inset
27917
27918 部に,
27919 対応する
27920 \begin_inset Flex Code
27921 status collapsed
27922
27923 \begin_layout Plain Layout
27924 TransformCommand
27925 \end_layout
27926
27927 \end_inset
27928
27929 コマンドか
27930 \begin_inset Flex Code
27931 status collapsed
27932
27933 \begin_layout Plain Layout
27934 TransformOption
27935 \end_layout
27936
27937 \end_inset
27938
27939 コマンドを置かなくてはなりません.これを行わないと,
27940 この書式での変換はサポートされません.
27941 \end_layout
27942
27943 \begin_layout Subsection
27944 \begin_inset Flex Code
27945 status collapsed
27946
27947 \begin_layout Plain Layout
27948 Format
27949 \end_layout
27950
27951 \end_inset
27952
27953
27954 \end_layout
27955
27956 \begin_layout Description
27957 \begin_inset Flex Code
27958 status collapsed
27959
27960 \begin_layout Plain Layout
27961 Format
27962 \begin_inset space ~
27963 \end_inset
27964
27965 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
27966 \end_layout
27967
27968 \end_inset
27969
27970  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,
27971 全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,
27972 全書式に対して
27973 \begin_inset Flex Code
27974 status collapsed
27975
27976 \begin_layout Plain Layout
27977 Format
27978 \end_layout
27979
27980 \end_inset
27981
27982 部を定義してください.表示する方法がないときは,
27983 ダミーテキストを使用してください.これによって,
27984 書き出した文書内で,
27985 少なくとも外部素材への参照を見ることができるようになります.
27986 \end_layout
27987
27988 \begin_layout Description
27989 \begin_inset Flex Code
27990 status collapsed
27991
27992 \begin_layout Plain Layout
27993 Option
27994 \begin_inset space ~
27995 \end_inset
27996
27997 <名称>
27998 \begin_inset space ~
27999 \end_inset
28000
28001 <値>
28002 \end_layout
28003
28004 \end_inset
28005
28006  このコマンドは,
28007
28008 \begin_inset Flex Code
28009 status collapsed
28010
28011 \begin_layout Plain Layout
28012 Product
28013 \end_layout
28014
28015 \end_inset
28016
28017 での代入に使うマクロ
28018 \begin_inset Flex Code
28019 status collapsed
28020
28021 \begin_layout Plain Layout
28022 $$<名称>
28023 \end_layout
28024
28025 \end_inset
28026
28027 を新たに定義します.
28028 \begin_inset Flex Code
28029 status collapsed
28030
28031 \begin_layout Plain Layout
28032 <値>
28033 \end_layout
28034
28035 \end_inset
28036
28037 自体にも代入マクロを使うことができます.
28038 \begin_inset Flex Code
28039 status collapsed
28040
28041 \begin_layout Plain Layout
28042 Product
28043 \end_layout
28044
28045 \end_inset
28046
28047
28048 \begin_inset Flex Code
28049 status collapsed
28050
28051 \begin_layout Plain Layout
28052 <値>
28053 \end_layout
28054
28055 \end_inset
28056
28057 を直接使用するよりも優れた点は,
28058
28059 \begin_inset Flex Code
28060 status collapsed
28061
28062 \begin_layout Plain Layout
28063 $$<名称>
28064 \end_layout
28065
28066 \end_inset
28067
28068 に代入された値が,
28069 その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
28070 \end_layout
28071
28072 \begin_layout Description
28073 \begin_inset Flex Code
28074 status collapsed
28075
28076 \begin_layout Plain Layout
28077 Product
28078 \begin_inset space ~
28079 \end_inset
28080
28081 <文>
28082 \end_layout
28083
28084 \end_inset
28085
28086  書き出された文書に挿入される文.実のところ,
28087 これが最も重要なコマンドであり,
28088 とても複雑になることがあります.このコマンドは,
28089 一度だけ必ず現れなくてはなりません.
28090 \end_layout
28091
28092 \begin_layout Description
28093 \begin_inset Flex Code
28094 status collapsed
28095
28096 \begin_layout Plain Layout
28097 Preamble
28098 \begin_inset space ~
28099 \end_inset
28100
28101 <名称>
28102 \end_layout
28103
28104 \end_inset
28105
28106  このコマンドは,
28107 \SpecialChar LaTeX
28108 プリアンブルに入れるプリアンブル片を指定します.これは
28109 \begin_inset Flex Code
28110 status collapsed
28111
28112 \begin_layout Plain Layout
28113 PreambleDef
28114 \end_layout
28115
28116 \end_inset
28117
28118  \SpecialChar ldots
28119  
28120 \begin_inset Flex Code
28121 status collapsed
28122
28123 \begin_layout Plain Layout
28124 PreambleDefEnd
28125 \end_layout
28126
28127 \end_inset
28128
28129 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
28130 \end_layout
28131
28132 \begin_layout Description
28133 \begin_inset Flex Code
28134 status collapsed
28135
28136 \begin_layout Plain Layout
28137 ReferencedFile
28138 \begin_inset space ~
28139 \end_inset
28140
28141 <書式>
28142 \begin_inset space ~
28143 \end_inset
28144
28145 <ファイル名>
28146 \end_layout
28147
28148 \end_inset
28149
28150  このコマンドは,
28151 変換過程で生成され,
28152 特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,
28153 親文書に対する相対パスとして解釈されます.このコマンドは全く登場しなくても1回以上現れても構いません.
28154 \end_layout
28155
28156 \begin_layout Description
28157 \begin_inset Flex Code
28158 status collapsed
28159
28160 \begin_layout Plain Layout
28161 Requirement
28162 \begin_inset space ~
28163 \end_inset
28164
28165 <package>
28166 \end_layout
28167
28168 \end_inset
28169
28170  必要とされる\SpecialChar LaTeX
28171 パッケージ名.パッケージは,
28172 \SpecialChar LaTeX
28173 プリアンブル中で
28174 \begin_inset Flex Code
28175 status collapsed
28176
28177 \begin_layout Plain Layout
28178
28179 \backslash
28180 usepackage{}
28181 \end_layout
28182
28183 \end_inset
28184
28185 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
28186 \end_layout
28187
28188 \begin_layout Description
28189 \begin_inset Flex Code
28190 status collapsed
28191
28192 \begin_layout Plain Layout
28193 TransformCommand
28194 \begin_inset space ~
28195 \end_inset
28196
28197 Rotate
28198 \begin_inset space ~
28199 \end_inset
28200
28201 RotationLatexCommand
28202 \end_layout
28203
28204 \end_inset
28205
28206  このコマンドは,
28207 回転用に,
28208 組み込みの\SpecialChar LaTeX
28209 コマンドを使用するように指定します.このコマンドは,
28210 1回現れても全く現れなくても構いません.
28211 \end_layout
28212
28213 \begin_layout Description
28214 \begin_inset Flex Code
28215 status collapsed
28216
28217 \begin_layout Plain Layout
28218 TransformCommand
28219 \begin_inset space ~
28220 \end_inset
28221
28222 Resize
28223 \begin_inset space ~
28224 \end_inset
28225
28226 ResizeLatexCommand
28227 \end_layout
28228
28229 \end_inset
28230
28231  このコマンドは,
28232 伸縮用に,
28233 組み込みの\SpecialChar LaTeX
28234 コマンドを使用するように指定します.このコマンドは,
28235 1回現れても全く現れなくても構いません.
28236 \end_layout
28237
28238 \begin_layout Description
28239 \begin_inset Flex Code
28240 status collapsed
28241
28242 \begin_layout Plain Layout
28243 TransformOption
28244 \begin_inset space ~
28245 \end_inset
28246
28247 Rotate
28248 \begin_inset space ~
28249 \end_inset
28250
28251 RotationLatexOption
28252 \end_layout
28253
28254 \end_inset
28255
28256  このコマンドは,
28257 回転が非必須引数を通じて行われるように指定します.このコマンドは,
28258 1回現れても全く現れなくても構いません.
28259 \end_layout
28260
28261 \begin_layout Description
28262 \begin_inset Flex Code
28263 status collapsed
28264
28265 \begin_layout Plain Layout
28266 TransformOption
28267 \begin_inset space ~
28268 \end_inset
28269
28270 Resize
28271 \begin_inset space ~
28272 \end_inset
28273
28274 ResizeLatexOption
28275 \end_layout
28276
28277 \end_inset
28278
28279  このコマンドは,
28280 伸縮が非必須引数を通じて行われるように指定します.このコマンドは,
28281 1回現れても全く現れなくても構いません.
28282 \end_layout
28283
28284 \begin_layout Description
28285 \begin_inset Flex Code
28286 status collapsed
28287
28288 \begin_layout Plain Layout
28289 TransformOption
28290 \begin_inset space ~
28291 \end_inset
28292
28293 Clip
28294 \begin_inset space ~
28295 \end_inset
28296
28297 ClipLatexOption
28298 \end_layout
28299
28300 \end_inset
28301
28302  このコマンドは,
28303 切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,
28304 1回現れても全く現れなくても構いません.
28305 \end_layout
28306
28307 \begin_layout Description
28308 \begin_inset Flex Code
28309 status collapsed
28310
28311 \begin_layout Plain Layout
28312 TransformOption
28313 \begin_inset space ~
28314 \end_inset
28315
28316 Extra
28317 \begin_inset space ~
28318 \end_inset
28319
28320 ExtraLatexOption
28321 \end_layout
28322
28323 \end_inset
28324
28325  このコマンドは,
28326 追加の非必須引数を使用することを指定します.このコマンドは,
28327 1回現れても全く現れなくても構いません.
28328 \end_layout
28329
28330 \begin_layout Description
28331 \begin_inset Flex Code
28332 status collapsed
28333
28334 \begin_layout Plain Layout
28335 UpdateFormat
28336 \begin_inset space ~
28337 \end_inset
28338
28339 <書式>
28340 \end_layout
28341
28342 \end_inset
28343
28344  変換されたファイルのファイル形式.これは,
28345 \SpecialChar LyX
28346 が知っている書式名でなくてはなりません(
28347 \begin_inset Flex MenuItem
28348 status collapsed
28349
28350 \begin_layout Plain Layout
28351 ツール\SpecialChar menuseparator
28352 設定\SpecialChar menuseparator
28353 ファイル処理\SpecialChar menuseparator
28354 ファイル書式
28355 \end_layout
28356
28357 \end_inset
28358
28359 ダイアログを参照).このコマンドは,
28360 一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,
28361 書式
28362 \begin_inset Flex Code
28363 status collapsed
28364
28365 \begin_layout Plain Layout
28366 pdf6
28367 \end_layout
28368
28369 \end_inset
28370
28371 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
28372 \end_layout
28373
28374 \begin_layout Description
28375 \begin_inset Flex Code
28376 status collapsed
28377
28378 \begin_layout Plain Layout
28379 UpdateResult
28380 \begin_inset space ~
28381 \end_inset
28382
28383 <ファイル名>
28384 \end_layout
28385
28386 \end_inset
28387
28388  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,
28389 一度だけ必ず現れなくてはなりません.
28390 \end_layout
28391
28392 \begin_layout Subsection
28393 プリアンブルの定義
28394 \end_layout
28395
28396 \begin_layout Standard
28397 外用ひな型設定ファイルには,
28398
28399 \begin_inset Flex Code
28400 status collapsed
28401
28402 \begin_layout Plain Layout
28403 PreambleDef
28404 \end_layout
28405
28406 \end_inset
28407
28408  \SpecialChar ldots
28409  
28410 \begin_inset Flex Code
28411 status collapsed
28412
28413 \begin_layout Plain Layout
28414 PreambleDefEnd
28415 \end_layout
28416
28417 \end_inset
28418
28419 で囲んだプリアンブル定義を追加することができます.これらの定義は,
28420 ひな型の
28421 \begin_inset Flex Code
28422 status collapsed
28423
28424 \begin_layout Plain Layout
28425 Format
28426 \end_layout
28427
28428 \end_inset
28429
28430 部で使用することができます.
28431 \end_layout
28432
28433 \begin_layout Section
28434 代入機構
28435 \end_layout
28436
28437 \begin_layout Standard
28438 外部素材機構が外部プログラムを呼び出すときには,
28439 ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,
28440 実行前に展開されるマクロをいろいろ入れることができます.実行は,
28441 つねに元の文書があるディレクトリで行われます.
28442 \end_layout
28443
28444 \begin_layout Standard
28445 また,
28446 外部素材が表示されるときにはいつでも,
28447 その名称は代入機構によって組み立てられ,
28448 ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
28449 \end_layout
28450
28451 \begin_layout Standard
28452 使用できるマクロは以下の通りです.
28453 \end_layout
28454
28455 \begin_layout Description
28456 \begin_inset Flex Code
28457 status collapsed
28458
28459 \begin_layout Plain Layout
28460 $$AbsOrRelPathMaster
28461 \end_layout
28462
28463 \end_inset
28464
28465  \SpecialChar LyX
28466 親文書への絶対ファイルパスないしは相対ファイルパス
28467 \end_layout
28468
28469 \begin_layout Description
28470 \begin_inset Flex Code
28471 status collapsed
28472
28473 \begin_layout Plain Layout
28474 $$AbsOrRelPathParent
28475 \end_layout
28476
28477 \end_inset
28478
28479  \SpecialChar LyX
28480 文書への絶対ファイルパスないしは相対ファイルパス
28481 \end_layout
28482
28483 \begin_layout Description
28484 \begin_inset Flex Code
28485 status collapsed
28486
28487 \begin_layout Plain Layout
28488 $$AbsPath
28489 \end_layout
28490
28491 \end_inset
28492
28493  絶対ファイルパス
28494 \end_layout
28495
28496 \begin_layout Description
28497 \begin_inset Flex Code
28498 status collapsed
28499
28500 \begin_layout Plain Layout
28501 $$Basename
28502 \end_layout
28503
28504 \end_inset
28505
28506  パスおよび拡張子を除いたファイル名
28507 \end_layout
28508
28509 \begin_layout Description
28510 \begin_inset Flex Code
28511 status collapsed
28512
28513 \begin_layout Plain Layout
28514 $$Contents(
28515 \begin_inset Quotes eld
28516 \end_inset
28517
28518 filename.ext
28519 \begin_inset Quotes erd
28520 \end_inset
28521
28522 )
28523 \end_layout
28524
28525 \end_inset
28526
28527  このマクロは,
28528
28529 \begin_inset Flex Code
28530 status collapsed
28531
28532 \begin_layout Plain Layout
28533 filename.ext
28534 \end_layout
28535
28536 \end_inset
28537
28538 と云う名のファイルの中身を展開します.
28539 \end_layout
28540
28541 \begin_layout Description
28542 \begin_inset Flex Code
28543 status collapsed
28544
28545 \begin_layout Plain Layout
28546 $$Extension
28547 \end_layout
28548
28549 \end_inset
28550
28551  ファイル拡張子(点を含む)
28552 \end_layout
28553
28554 \begin_layout Description
28555 \begin_inset Flex Code
28556 status collapsed
28557
28558 \begin_layout Plain Layout
28559 $$pngOrjpg
28560 \end_layout
28561
28562 \end_inset
28563
28564  これは,
28565 ファイルがJPEG形式の場合は,
28566 文字列「jpg」となり,
28567 それ以外では文字列「png」となります.これは,
28568 PNG形式とJPEG形式の両方をサポートする出力形式に対して,
28569 不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,
28570 pdf\SpecialChar TeX
28571 出力形式に対してこのマクロを使用します.
28572 \end_layout
28573
28574 \begin_layout Description
28575 \begin_inset Flex Code
28576 status collapsed
28577
28578 \begin_layout Plain Layout
28579 $$FName
28580 \end_layout
28581
28582 \end_inset
28583
28584  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
28585 文書への絶対パスでも良いですし,
28586 相対パスでも構いません.
28587 \end_layout
28588
28589 \begin_layout Description
28590 \begin_inset Flex Code
28591 status collapsed
28592
28593 \begin_layout Plain Layout
28594 $$FPath
28595 \end_layout
28596
28597 \end_inset
28598
28599  
28600 \begin_inset Flex Code
28601 status collapsed
28602
28603 \begin_layout Plain Layout
28604 $$FName
28605 \end_layout
28606
28607 \end_inset
28608
28609 のパス部分(\SpecialChar LyX
28610 文書への絶対パス名か相対パス名)
28611 \end_layout
28612
28613 \begin_layout Description
28614 \begin_inset Flex Code
28615 status collapsed
28616
28617 \begin_layout Plain Layout
28618 $$RelPathMaster
28619 \end_layout
28620
28621 \end_inset
28622
28623  \SpecialChar LyX
28624 親文書への相対ファイルパス
28625 \end_layout
28626
28627 \begin_layout Description
28628 \begin_inset Flex Code
28629 status collapsed
28630
28631 \begin_layout Plain Layout
28632 $$RelPathParent
28633 \end_layout
28634
28635 \end_inset
28636
28637  \SpecialChar LyX
28638 文書への相対ファイルパス
28639 \end_layout
28640
28641 \begin_layout Description
28642 \begin_inset Flex Code
28643 status collapsed
28644
28645 \begin_layout Plain Layout
28646 $$Sysdir
28647 \end_layout
28648
28649 \end_inset
28650
28651  このマクロは,
28652 システムディレクトリの絶対パスを展開します.これは,
28653 典型的には,
28654 \SpecialChar LyX
28655 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
28656 \end_layout
28657
28658 \begin_layout Description
28659 \begin_inset Flex Code
28660 status collapsed
28661
28662 \begin_layout Plain Layout
28663 $$Tempname
28664 \end_layout
28665
28666 \end_inset
28667
28668  元の文書が閉じられたり,
28669 挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
28670 \end_layout
28671
28672 \begin_layout Standard
28673 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,
28674 たとえば絶対パスのファイル名を 
28675 \begin_inset Flex Code
28676 status collapsed
28677
28678 \begin_layout Plain Layout
28679 $$AbsPath$$Basename$$Extension
28680 \end_layout
28681
28682 \end_inset
28683
28684 のようにして作ることができます.
28685 \end_layout
28686
28687 \begin_layout Standard
28688 上記マクロは,
28689 特記しない限りはすべてのコマンドで代入が行われます.
28690 \begin_inset Flex Code
28691 status collapsed
28692
28693 \begin_layout Plain Layout
28694 Transform
28695 \end_layout
28696
28697 \end_inset
28698
28699 コマンドと
28700 \begin_inset Flex Code
28701 status collapsed
28702
28703 \begin_layout Plain Layout
28704 TransformCommand
28705 \end_layout
28706
28707 \end_inset
28708
28709 コマンドが有効にされている場合,
28710
28711 \begin_inset Flex Code
28712 status collapsed
28713
28714 \begin_layout Plain Layout
28715 Product
28716 \end_layout
28717
28718 \end_inset
28719
28720 コマンドは,
28721 これらに加えて以下の代入もサポートします.
28722 \end_layout
28723
28724 \begin_layout Description
28725 \begin_inset Flex Code
28726 status collapsed
28727
28728 \begin_layout Plain Layout
28729 $$ResizeFront
28730 \end_layout
28731
28732 \end_inset
28733
28734  伸縮コマンドの前置部.
28735 \end_layout
28736
28737 \begin_layout Description
28738 \begin_inset Flex Code
28739 status collapsed
28740
28741 \begin_layout Plain Layout
28742 $$ResizeBack
28743 \end_layout
28744
28745 \end_inset
28746
28747  伸縮コマンドの後置部.
28748 \end_layout
28749
28750 \begin_layout Description
28751 \begin_inset Flex Code
28752 status collapsed
28753
28754 \begin_layout Plain Layout
28755 $$RotateFront
28756 \end_layout
28757
28758 \end_inset
28759
28760  回転コマンドの前置部.
28761 \end_layout
28762
28763 \begin_layout Description
28764 \begin_inset Flex Code
28765 status collapsed
28766
28767 \begin_layout Plain Layout
28768 $$RotateBack
28769 \end_layout
28770
28771 \end_inset
28772
28773  回転コマンドの後置部.
28774 \end_layout
28775
28776 \begin_layout Standard
28777 \begin_inset Flex Code
28778 status collapsed
28779
28780 \begin_layout Plain Layout
28781 Option
28782 \end_layout
28783
28784 \end_inset
28785
28786 コマンドの値に入れる文字列では,
28787
28788 \begin_inset Flex Code
28789 status collapsed
28790
28791 \begin_layout Plain Layout
28792 Transform
28793 \end_layout
28794
28795 \end_inset
28796
28797 コマンドと
28798 \begin_inset Flex Code
28799 status collapsed
28800
28801 \begin_layout Plain Layout
28802 TransformOption
28803 \end_layout
28804
28805 \end_inset
28806
28807 コマンドが有効にされていれば,
28808 以下の代入もサポートされます.
28809 \end_layout
28810
28811 \begin_layout Description
28812 \begin_inset Flex Code
28813 status collapsed
28814
28815 \begin_layout Plain Layout
28816 $$Clip
28817 \end_layout
28818
28819 \end_inset
28820
28821  切り抜きオプション.
28822 \end_layout
28823
28824 \begin_layout Description
28825 \begin_inset Flex Code
28826 status collapsed
28827
28828 \begin_layout Plain Layout
28829 $$Extra
28830 \end_layout
28831
28832 \end_inset
28833
28834  追加オプション.
28835 \end_layout
28836
28837 \begin_layout Description
28838 \begin_inset Flex Code
28839 status collapsed
28840
28841 \begin_layout Plain Layout
28842 $$Resize
28843 \end_layout
28844
28845 \end_inset
28846
28847  伸縮オプション.
28848 \end_layout
28849
28850 \begin_layout Description
28851 \begin_inset Flex Code
28852 status collapsed
28853
28854 \begin_layout Plain Layout
28855 $$Rotate
28856 \end_layout
28857
28858 \end_inset
28859
28860  回転オプション.
28861 \end_layout
28862
28863 \begin_layout Standard
28864 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
28865 \end_layout
28866
28867 \begin_layout Enumerate
28868 相対ファイル名と絶対ファイル名は,
28869 それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえば相対名は,
28870 いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,
28871 プログラムによっては必要とされることがあり得ます.
28872 \end_layout
28873
28874 \begin_layout Enumerate
28875 \SpecialChar LaTeX
28876 は,
28877 相対ファイル名に関して,
28878 \SpecialChar LyX
28879 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
28880 にとって相対ファイル名とは,
28881 常にこのファイル名が書かれている文書に対して相対的なものになります.\SpecialChar LaTeX
28882 にとっての相対ファイル名は,
28883 常に親文書に対するものになります.これら二つの定義は,
28884 一つの文書しかないときには同じですが,
28885 部分文書を含む親文書があるときには異なったものとなってきます.つまり,
28886 相対ファイル名は,
28887 \SpecialChar LaTeX
28888 に提示されるときに変換されなくてはならないのです.幸い,
28889 正しいマクロを選びさえすれば,
28890 これは\SpecialChar LyX
28891 が自動的に行ってくれます.
28892 \end_layout
28893
28894 \begin_layout Standard
28895 すると,
28896 新しく作ったひな型定義では,
28897 どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
28898
28899 \end_layout
28900
28901 \begin_layout Itemize
28902 絶対パスが必要とされるときには
28903 \begin_inset Flex Code
28904 status collapsed
28905
28906 \begin_layout Plain Layout
28907 $$AbsPath
28908 \end_layout
28909
28910 \end_inset
28911
28912 を使う.
28913 \end_layout
28914
28915 \begin_layout Itemize
28916 代入された文字列が,
28917 \SpecialChar LaTeX
28918 インプットの一種である場合には,
28919
28920 \begin_inset Flex Code
28921 status collapsed
28922
28923 \begin_layout Plain Layout
28924 $$AbsOrRelPathMaster
28925 \end_layout
28926
28927 \end_inset
28928
28929 を使う.
28930 \end_layout
28931
28932 \begin_layout Itemize
28933 それ以外ならば,
28934 ユーザの選択を尊重するために
28935 \begin_inset Flex Code
28936 status collapsed
28937
28938 \begin_layout Plain Layout
28939 $$AbsOrRelPathParent
28940 \end_layout
28941
28942 \end_inset
28943
28944 を使う.
28945 \end_layout
28946
28947 \begin_layout Standard
28948 このルールが機能せずに,
28949 たとえば相対名が必要となる特殊な場合もありますが,
28950 通常,
28951 上記でうまく動作します.特殊例の例としては,
28952 上述のXFigひな型での
28953 \begin_inset Flex Code
28954 status collapsed
28955
28956 \begin_layout Plain Layout
28957 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
28958 \end_layout
28959
28960 \end_inset
28961
28962 というコマンドがあります.この場合,
28963
28964 \begin_inset Flex Code
28965 status collapsed
28966
28967 \begin_layout Plain Layout
28968 .pstex_t
28969 \end_layout
28970
28971 \end_inset
28972
28973 ファイルの複写子は,
28974 ファイル内容を書き換えるのに相対名を必要とするために,
28975 絶対名を使用することができないのです.
28976 \end_layout
28977
28978 \begin_layout Section
28979 セキュリティに関する論点
28980 \begin_inset CommandInset label
28981 LatexCommand label
28982 name "sec:セキュリティに関する論点"
28983
28984 \end_inset
28985
28986
28987 \end_layout
28988
28989 \begin_layout Standard
28990 外部素材機能は,
28991 多くの外部プログラムとの橋渡しをし,
28992 しかもそれを自動的に行うので,
28993 そのセキュリティ面での帰結を考慮しなくてはなりません.特に,
28994 ユーザは好きなファイル名やパラメータ文字列を含めることが許されていて,
28995 しかもそれらがコマンドに展開されるので,
28996 ユーザが文書を閲覧したり印刷したりしたときに,
28997 任意のコマンドを実行することができるような悪意ある文書を作成することが可能となりましょう.これは,
28998 我々がぜひとも避けたいことなのです.
28999 \end_layout
29000
29001 \begin_layout Standard
29002 しかしながら,
29003 外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,
29004 \SpecialChar LyX
29005 が安全なひな型でのみ適切に設定されているならば,
29006 セキュリティ上の問題は発生しません.これは,
29007 外部プログラムが
29008 \begin_inset Flex Code
29009 status collapsed
29010
29011 \begin_layout Plain Layout
29012 system
29013 \end_layout
29014
29015 \end_inset
29016
29017 システムコールではなく,
29018
29019 \begin_inset Flex Code
29020 status collapsed
29021
29022 \begin_layout Plain Layout
29023 execvp
29024 \end_layout
29025
29026 \end_inset
29027
29028 システムコールで呼び出されているため,
29029 ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
29030 \end_layout
29031
29032 \begin_layout Standard
29033 これは,
29034 外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,
29035 制限があることを意味します.特に,
29036 パイプやリダイレクトはそのまま使用することはできません.これは,
29037 \SpecialChar LyX
29038 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,
29039 これを完全に統御の下においたまま行う安全なスクリプトを書いた上で,
29040 このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
29041 \end_layout
29042
29043 \begin_layout Standard
29044 シェルと直接やりとりするひな型を設計することは可能ではありますが,
29045 悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,
29046 任意のコマンドを実行できるようになるため,
29047 一般的には,
29048 統御下に置いた状態で
29049 \begin_inset Flex Code
29050 status collapsed
29051
29052 \begin_layout Plain Layout
29053 execvp
29054 \end_layout
29055
29056 \end_inset
29057
29058 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,
29059 管理された環境下で使用する分には,
29060 通常のシェルスクリプトを使用する方に流れる誘惑はあります.そうした場合には,
29061 お使いのシステムに簡単に濫用することのできるセキュリティホールを,
29062
29063 \emph on
29064 間違いなく
29065 \emph default
29066 導入することを理解しておいてください.オープンソースの伝統に従って,
29067 私たちは人々に新しいひな型を投稿してくれるよう促していますが,
29068 そのような安全でないひな型はLyXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
29069 には,
29070 安全でないひな型は決して入っていません.
29071 \end_layout
29072
29073 \begin_layout Standard
29074 外部素材を含めることで強力な力を手に入れることができますが,
29075 この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリプトのたった一行に入り込んだ,
29076 ちょっとしたエラーが,
29077 巨大なセキュリティ上の問題に扉を開きうるのです.したがって,
29078 もしこの問題を完全に理解していないならば,
29079 特定のひな型が安全であるかどうか疑問がある際には,
29080 知識豊富なセキュリティの専門家か,
29081 \SpecialChar LyX
29082 開発チームに相談してみてください.そしてこの相談は,
29083 管理されていない環境下でこれを使用する前に,
29084 行うようにしてください.
29085 \end_layout
29086
29087 \begin_layout Chapter
29088 \start_of_appendix
29089 サポートされているレイアウト用\SpecialChar LyX
29090 関数一覧
29091 \begin_inset CommandInset label
29092 LatexCommand label
29093 name "chap:関数一覧"
29094
29095 \end_inset
29096
29097
29098 \end_layout
29099
29100 \begin_layout Standard
29101 \align center
29102 \begin_inset Tabular
29103 <lyxtabular version="3" rows="11" columns="8">
29104 <features tabularvalignment="middle">
29105 <column alignment="left" valignment="top">
29106 <column alignment="left" valignment="top">
29107 <column alignment="left" valignment="top">
29108 <column alignment="left" valignment="top">
29109 <column alignment="left" valignment="top">
29110 <column alignment="left" valignment="top">
29111 <column alignment="left" valignment="top">
29112 <column alignment="left" valignment="top">
29113 <row>
29114 <cell alignment="left" valignment="top" usebox="none">
29115 \begin_inset Text
29116
29117 \begin_layout Plain Layout
29118 accents
29119 \end_layout
29120
29121 \end_inset
29122 </cell>
29123 <cell alignment="left" valignment="top" usebox="none">
29124 \begin_inset Text
29125
29126 \begin_layout Plain Layout
29127 booktabs
29128 \end_layout
29129
29130 \end_inset
29131 </cell>
29132 <cell alignment="left" valignment="top" usebox="none">
29133 \begin_inset Text
29134
29135 \begin_layout Plain Layout
29136 feyn
29137 \end_layout
29138
29139 \end_inset
29140 </cell>
29141 <cell alignment="left" valignment="top" usebox="none">
29142 \begin_inset Text
29143
29144 \begin_layout Plain Layout
29145 listings
29146 \end_layout
29147
29148 \end_inset
29149 </cell>
29150 <cell alignment="center" valignment="top" usebox="none">
29151 \begin_inset Text
29152
29153 \begin_layout Plain Layout
29154 natbib
29155 \end_layout
29156
29157 \end_inset
29158 </cell>
29159 <cell alignment="center" valignment="top" usebox="none">
29160 \begin_inset Text
29161
29162 \begin_layout Plain Layout
29163 rotfloat
29164 \end_layout
29165
29166 \end_inset
29167 </cell>
29168 <cell alignment="center" valignment="top" usebox="none">
29169 \begin_inset Text
29170
29171 \begin_layout Plain Layout
29172 tfrupee
29173 \end_layout
29174
29175 \end_inset
29176 </cell>
29177 <cell alignment="center" valignment="top" usebox="none">
29178 \begin_inset Text
29179
29180 \begin_layout Plain Layout
29181 wasysym
29182 \end_layout
29183
29184 \end_inset
29185 </cell>
29186 </row>
29187 <row>
29188 <cell alignment="left" valignment="top" usebox="none">
29189 \begin_inset Text
29190
29191 \begin_layout Plain Layout
29192 amsbsy
29193 \end_layout
29194
29195 \end_inset
29196 </cell>
29197 <cell alignment="left" valignment="top" usebox="none">
29198 \begin_inset Text
29199
29200 \begin_layout Plain Layout
29201 calc
29202 \end_layout
29203
29204 \end_inset
29205 </cell>
29206 <cell alignment="left" valignment="top" usebox="none">
29207 \begin_inset Text
29208
29209 \begin_layout Plain Layout
29210 fixltx2e
29211 \end_layout
29212
29213 \end_inset
29214 </cell>
29215 <cell alignment="left" valignment="top" usebox="none">
29216 \begin_inset Text
29217
29218 \begin_layout Plain Layout
29219 longtable
29220 \end_layout
29221
29222 \end_inset
29223 </cell>
29224 <cell alignment="center" valignment="top" usebox="none">
29225 \begin_inset Text
29226
29227 \begin_layout Plain Layout
29228 nomencl
29229 \end_layout
29230
29231 \end_inset
29232 </cell>
29233 <cell alignment="center" valignment="top" usebox="none">
29234 \begin_inset Text
29235
29236 \begin_layout Plain Layout
29237 rsphrase
29238 \end_layout
29239
29240 \end_inset
29241 </cell>
29242 <cell alignment="center" valignment="top" usebox="none">
29243 \begin_inset Text
29244
29245 \begin_layout Plain Layout
29246 tipa
29247 \end_layout
29248
29249 \end_inset
29250 </cell>
29251 <cell alignment="center" valignment="top" usebox="none">
29252 \begin_inset Text
29253
29254 \begin_layout Plain Layout
29255 wrapfig
29256 \end_layout
29257
29258 \end_inset
29259 </cell>
29260 </row>
29261 <row>
29262 <cell alignment="left" valignment="top" usebox="none">
29263 \begin_inset Text
29264
29265 \begin_layout Plain Layout
29266 amscd
29267 \end_layout
29268
29269 \end_inset
29270 </cell>
29271 <cell alignment="left" valignment="top" usebox="none">
29272 \begin_inset Text
29273
29274 \begin_layout Plain Layout
29275 CJK
29276 \end_layout
29277
29278 \end_inset
29279 </cell>
29280 <cell alignment="left" valignment="top" usebox="none">
29281 \begin_inset Text
29282
29283 \begin_layout Plain Layout
29284 float
29285 \end_layout
29286
29287 \end_inset
29288 </cell>
29289 <cell alignment="left" valignment="top" usebox="none">
29290 \begin_inset Text
29291
29292 \begin_layout Plain Layout
29293 lyxskak
29294 \end_layout
29295
29296 \end_inset
29297 </cell>
29298 <cell alignment="center" valignment="top" usebox="none">
29299 \begin_inset Text
29300
29301 \begin_layout Plain Layout
29302 pdfcolmk
29303 \end_layout
29304
29305 \end_inset
29306 </cell>
29307 <cell alignment="center" valignment="top" usebox="none">
29308 \begin_inset Text
29309
29310 \begin_layout Plain Layout
29311 setspace
29312 \end_layout
29313
29314 \end_inset
29315 </cell>
29316 <cell alignment="center" valignment="top" usebox="none">
29317 \begin_inset Text
29318
29319 \begin_layout Plain Layout
29320 tipx
29321 \end_layout
29322
29323 \end_inset
29324 </cell>
29325 <cell alignment="center" valignment="top" usebox="none">
29326 \begin_inset Text
29327
29328 \begin_layout Plain Layout
29329 xargs
29330 \end_layout
29331
29332 \end_inset
29333 </cell>
29334 </row>
29335 <row>
29336 <cell alignment="left" valignment="top" usebox="none">
29337 \begin_inset Text
29338
29339 \begin_layout Plain Layout
29340 amsmath
29341 \end_layout
29342
29343 \end_inset
29344 </cell>
29345 <cell alignment="left" valignment="top" usebox="none">
29346 \begin_inset Text
29347
29348 \begin_layout Plain Layout
29349 color
29350 \end_layout
29351
29352 \end_inset
29353 </cell>
29354 <cell alignment="left" valignment="top" usebox="none">
29355 \begin_inset Text
29356
29357 \begin_layout Plain Layout
29358 framed
29359 \end_layout
29360
29361 \end_inset
29362 </cell>
29363 <cell alignment="left" valignment="top" usebox="none">
29364 \begin_inset Text
29365
29366 \begin_layout Plain Layout
29367 makeidx
29368 \end_layout
29369
29370 \end_inset
29371 </cell>
29372 <cell alignment="center" valignment="top" usebox="none">
29373 \begin_inset Text
29374
29375 \begin_layout Plain Layout
29376 pdfpages
29377 \end_layout
29378
29379 \end_inset
29380 </cell>
29381 <cell alignment="center" valignment="top" usebox="none">
29382 \begin_inset Text
29383
29384 \begin_layout Plain Layout
29385 shapepar
29386 \end_layout
29387
29388 \end_inset
29389 </cell>
29390 <cell alignment="center" valignment="top" usebox="none">
29391 \begin_inset Text
29392
29393 \begin_layout Plain Layout
29394 tone
29395 \end_layout
29396
29397 \end_inset
29398 </cell>
29399 <cell alignment="center" valignment="top" usebox="none">
29400 \begin_inset Text
29401
29402 \begin_layout Plain Layout
29403 xcolor
29404 \end_layout
29405
29406 \end_inset
29407 </cell>
29408 </row>
29409 <row>
29410 <cell alignment="left" valignment="top" usebox="none">
29411 \begin_inset Text
29412
29413 \begin_layout Plain Layout
29414 amssymb
29415 \end_layout
29416
29417 \end_inset
29418 </cell>
29419 <cell alignment="left" valignment="top" usebox="none">
29420 \begin_inset Text
29421
29422 \begin_layout Plain Layout
29423 covington
29424 \end_layout
29425
29426 \end_inset
29427 </cell>
29428 <cell alignment="left" valignment="top" usebox="none">
29429 \begin_inset Text
29430
29431 \begin_layout Plain Layout
29432 graphicx
29433 \end_layout
29434
29435 \end_inset
29436 </cell>
29437 <cell alignment="left" valignment="top" usebox="none">
29438 \begin_inset Text
29439
29440 \begin_layout Plain Layout
29441 marvosym
29442 \end_layout
29443
29444 \end_inset
29445 </cell>
29446 <cell alignment="center" valignment="top" usebox="none">
29447 \begin_inset Text
29448
29449 \begin_layout Plain Layout
29450 pifont
29451 \end_layout
29452
29453 \end_inset
29454 </cell>
29455 <cell alignment="center" valignment="top" usebox="none">
29456 \begin_inset Text
29457
29458 \begin_layout Plain Layout
29459 slashed
29460 \end_layout
29461
29462 \end_inset
29463 </cell>
29464 <cell alignment="center" valignment="top" usebox="none">
29465 \begin_inset Text
29466
29467 \begin_layout Plain Layout
29468 txfonts
29469 \end_layout
29470
29471 \end_inset
29472 </cell>
29473 <cell alignment="center" valignment="top" usebox="none">
29474 \begin_inset Text
29475
29476 \begin_layout Plain Layout
29477 xy
29478 \end_layout
29479
29480 \end_inset
29481 </cell>
29482 </row>
29483 <row>
29484 <cell alignment="left" valignment="top" usebox="none">
29485 \begin_inset Text
29486
29487 \begin_layout Plain Layout
29488 amstext
29489 \end_layout
29490
29491 \end_inset
29492 </cell>
29493 <cell alignment="left" valignment="top" usebox="none">
29494 \begin_inset Text
29495
29496 \begin_layout Plain Layout
29497 csquotes
29498 \end_layout
29499
29500 \end_inset
29501 </cell>
29502 <cell alignment="left" valignment="top" usebox="none">
29503 \begin_inset Text
29504
29505 \begin_layout Plain Layout
29506 hhline
29507 \end_layout
29508
29509 \end_inset
29510 </cell>
29511 <cell alignment="left" valignment="top" usebox="none">
29512 \begin_inset Text
29513
29514 \begin_layout Plain Layout
29515 mathdesign
29516 \end_layout
29517
29518 \end_inset
29519 </cell>
29520 <cell alignment="center" valignment="top" usebox="none">
29521 \begin_inset Text
29522
29523 \begin_layout Plain Layout
29524 pmboxdraw
29525 \end_layout
29526
29527 \end_inset
29528 </cell>
29529 <cell alignment="center" valignment="top" usebox="none">
29530 \begin_inset Text
29531
29532 \begin_layout Plain Layout
29533 soul
29534 \end_layout
29535
29536 \end_inset
29537 </cell>
29538 <cell alignment="center" valignment="top" usebox="none">
29539 \begin_inset Text
29540
29541 \begin_layout Plain Layout
29542 ulem
29543 \end_layout
29544
29545 \end_inset
29546 </cell>
29547 <cell alignment="center" valignment="top" usebox="none">
29548 \begin_inset Text
29549
29550 \begin_layout Plain Layout
29551 yhmath
29552 \end_layout
29553
29554 \end_inset
29555 </cell>
29556 </row>
29557 <row>
29558 <cell alignment="left" valignment="top" usebox="none">
29559 \begin_inset Text
29560
29561 \begin_layout Plain Layout
29562 amsthm
29563 \end_layout
29564
29565 \end_inset
29566 </cell>
29567 <cell alignment="left" valignment="top" usebox="none">
29568 \begin_inset Text
29569
29570 \begin_layout Plain Layout
29571 dvipost
29572 \end_layout
29573
29574 \end_inset
29575 </cell>
29576 <cell alignment="left" valignment="top" usebox="none">
29577 \begin_inset Text
29578
29579 \begin_layout Plain Layout
29580 hyperref
29581 \end_layout
29582
29583 \end_inset
29584 </cell>
29585 <cell alignment="left" valignment="top" usebox="none">
29586 \begin_inset Text
29587
29588 \begin_layout Plain Layout
29589 mathdots
29590 \end_layout
29591
29592 \end_inset
29593 </cell>
29594 <cell alignment="center" valignment="top" usebox="none">
29595 \begin_inset Text
29596
29597 \begin_layout Plain Layout
29598 polyglossia
29599 \end_layout
29600
29601 \end_inset
29602 </cell>
29603 <cell alignment="center" valignment="top" usebox="none">
29604 \begin_inset Text
29605
29606 \begin_layout Plain Layout
29607 splitidx
29608 \end_layout
29609
29610 \end_inset
29611 </cell>
29612 <cell alignment="center" valignment="top" usebox="none">
29613 \begin_inset Text
29614
29615 \begin_layout Plain Layout
29616 undertilde
29617 \end_layout
29618
29619 \end_inset
29620 </cell>
29621 <cell alignment="center" valignment="top" usebox="none">
29622 \begin_inset Text
29623
29624 \begin_layout Plain Layout
29625
29626 \end_layout
29627
29628 \end_inset
29629 </cell>
29630 </row>
29631 <row>
29632 <cell alignment="left" valignment="top" usebox="none">
29633 \begin_inset Text
29634
29635 \begin_layout Plain Layout
29636 array
29637 \end_layout
29638
29639 \end_inset
29640 </cell>
29641 <cell alignment="left" valignment="top" usebox="none">
29642 \begin_inset Text
29643
29644 \begin_layout Plain Layout
29645 endnotes
29646 \end_layout
29647
29648 \end_inset
29649 </cell>
29650 <cell alignment="left" valignment="top" usebox="none">
29651 \begin_inset Text
29652
29653 \begin_layout Plain Layout
29654 ifsym
29655 \end_layout
29656
29657 \end_inset
29658 </cell>
29659 <cell alignment="left" valignment="top" usebox="none">
29660 \begin_inset Text
29661
29662 \begin_layout Plain Layout
29663 mathrsfs
29664 \end_layout
29665
29666 \end_inset
29667 </cell>
29668 <cell alignment="center" valignment="top" usebox="none">
29669 \begin_inset Text
29670
29671 \begin_layout Plain Layout
29672 prettyref
29673 \end_layout
29674
29675 \end_inset
29676 </cell>
29677 <cell alignment="center" valignment="top" usebox="none">
29678 \begin_inset Text
29679
29680 \begin_layout Plain Layout
29681 subfig
29682 \end_layout
29683
29684 \end_inset
29685 </cell>
29686 <cell alignment="center" valignment="top" usebox="none">
29687 \begin_inset Text
29688
29689 \begin_layout Plain Layout
29690 units
29691 \end_layout
29692
29693 \end_inset
29694 </cell>
29695 <cell alignment="center" valignment="top" usebox="none">
29696 \begin_inset Text
29697
29698 \begin_layout Plain Layout
29699
29700 \end_layout
29701
29702 \end_inset
29703 </cell>
29704 </row>
29705 <row>
29706 <cell alignment="left" valignment="top" usebox="none">
29707 \begin_inset Text
29708
29709 \begin_layout Plain Layout
29710 ascii
29711 \end_layout
29712
29713 \end_inset
29714 </cell>
29715 <cell alignment="left" valignment="top" usebox="none">
29716 \begin_inset Text
29717
29718 \begin_layout Plain Layout
29719 enumitem
29720 \end_layout
29721
29722 \end_inset
29723 </cell>
29724 <cell alignment="left" valignment="top" usebox="none">
29725 \begin_inset Text
29726
29727 \begin_layout Plain Layout
29728 ifthen
29729 \end_layout
29730
29731 \end_inset
29732 </cell>
29733 <cell alignment="left" valignment="top" usebox="none">
29734 \begin_inset Text
29735
29736 \begin_layout Plain Layout
29737 mhchem
29738 \end_layout
29739
29740 \end_inset
29741 </cell>
29742 <cell alignment="center" valignment="top" usebox="none">
29743 \begin_inset Text
29744
29745 \begin_layout Plain Layout
29746 pxfonts
29747 \end_layout
29748
29749 \end_inset
29750 </cell>
29751 <cell alignment="center" valignment="top" usebox="none">
29752 \begin_inset Text
29753
29754 \begin_layout Plain Layout
29755 subscript
29756 \end_layout
29757
29758 \end_inset
29759 </cell>
29760 <cell alignment="center" valignment="top" usebox="none">
29761 \begin_inset Text
29762
29763 \begin_layout Plain Layout
29764 url
29765 \end_layout
29766
29767 \end_inset
29768 </cell>
29769 <cell alignment="center" valignment="top" usebox="none">
29770 \begin_inset Text
29771
29772 \begin_layout Plain Layout
29773
29774 \end_layout
29775
29776 \end_inset
29777 </cell>
29778 </row>
29779 <row>
29780 <cell alignment="left" valignment="top" usebox="none">
29781 \begin_inset Text
29782
29783 \begin_layout Plain Layout
29784 bbding
29785 \end_layout
29786
29787 \end_inset
29788 </cell>
29789 <cell alignment="left" valignment="top" usebox="none">
29790 \begin_inset Text
29791
29792 \begin_layout Plain Layout
29793 esint
29794 \end_layout
29795
29796 \end_inset
29797 </cell>
29798 <cell alignment="left" valignment="top" usebox="none">
29799 \begin_inset Text
29800
29801 \begin_layout Plain Layout
29802 jurabib
29803 \end_layout
29804
29805 \end_inset
29806 </cell>
29807 <cell alignment="left" valignment="top" usebox="none">
29808 \begin_inset Text
29809
29810 \begin_layout Plain Layout
29811 multicol
29812 \end_layout
29813
29814 \end_inset
29815 </cell>
29816 <cell alignment="center" valignment="top" usebox="none">
29817 \begin_inset Text
29818
29819 \begin_layout Plain Layout
29820 refstyle
29821 \end_layout
29822
29823 \end_inset
29824 </cell>
29825 <cell alignment="center" valignment="top" usebox="none">
29826 \begin_inset Text
29827
29828 \begin_layout Plain Layout
29829 textcomp
29830 \end_layout
29831
29832 \end_inset
29833 </cell>
29834 <cell alignment="center" valignment="top" usebox="none">
29835 \begin_inset Text
29836
29837 \begin_layout Plain Layout
29838 varioref
29839 \end_layout
29840
29841 \end_inset
29842 </cell>
29843 <cell alignment="center" valignment="top" usebox="none">
29844 \begin_inset Text
29845
29846 \begin_layout Plain Layout
29847
29848 \end_layout
29849
29850 \end_inset
29851 </cell>
29852 </row>
29853 <row>
29854 <cell alignment="center" valignment="top" usebox="none">
29855 \begin_inset Text
29856
29857 \begin_layout Plain Layout
29858 bm
29859 \end_layout
29860
29861 \end_inset
29862 </cell>
29863 <cell alignment="center" valignment="top" usebox="none">
29864 \begin_inset Text
29865
29866 \begin_layout Plain Layout
29867 fancybox
29868 \end_layout
29869
29870 \end_inset
29871 </cell>
29872 <cell alignment="center" valignment="top" usebox="none">
29873 \begin_inset Text
29874
29875 \begin_layout Plain Layout
29876 latexsym
29877 \end_layout
29878
29879 \end_inset
29880 </cell>
29881 <cell alignment="center" valignment="top" usebox="none">
29882 \begin_inset Text
29883
29884 \begin_layout Plain Layout
29885 multirow
29886 \end_layout
29887
29888 \end_inset
29889 </cell>
29890 <cell alignment="center" valignment="top" usebox="none">
29891 \begin_inset Text
29892
29893 \begin_layout Plain Layout
29894 rotating
29895 \end_layout
29896
29897 \end_inset
29898 </cell>
29899 <cell alignment="center" valignment="top" usebox="none">
29900 \begin_inset Text
29901
29902 \begin_layout Plain Layout
29903 textgreek
29904 \end_layout
29905
29906 \end_inset
29907 </cell>
29908 <cell alignment="center" valignment="top" usebox="none">
29909 \begin_inset Text
29910
29911 \begin_layout Plain Layout
29912 verbatim
29913 \end_layout
29914
29915 \end_inset
29916 </cell>
29917 <cell alignment="center" valignment="top" usebox="none">
29918 \begin_inset Text
29919
29920 \begin_layout Plain Layout
29921
29922 \end_layout
29923
29924 \end_inset
29925 </cell>
29926 </row>
29927 </lyxtabular>
29928
29929 \end_inset
29930
29931
29932 \end_layout
29933
29934 \begin_layout Chapter
29935 レイアウトで使用できる色名
29936 \begin_inset CommandInset label
29937 LatexCommand label
29938 name "chap:色名"
29939
29940 \end_inset
29941
29942
29943 \end_layout
29944
29945 \begin_layout Standard
29946 ここに列挙されている色は標準色であり,
29947 \SpecialChar LyX
29948 設定で調整できるものです.
29949 \end_layout
29950
29951 \begin_layout Section
29952 色関数
29953 \end_layout
29954
29955 \begin_layout Standard
29956 以下は,
29957 色そのものではありませんが,
29958 色定義に作用します:
29959
29960 \end_layout
29961
29962 \begin_layout Description
29963 ignore この色を無視します
29964 \end_layout
29965
29966 \begin_layout Description
29967 inherit この色を継承します
29968 \end_layout
29969
29970 \begin_layout Description
29971 none
29972 \series medium
29973  
29974 \series default
29975 特定の色ではありません – 透明か既定色です
29976 \end_layout
29977
29978 \begin_layout Section
29979 静的色名
29980 \end_layout
29981
29982 \begin_layout Standard
29983 これらは固定された色名で変更することはできません.これらの色は,
29984 (ダークテーマ等)一部の色テーマでうまく動作しないので,
29985 レイアウト定義の中では用いないでください:
29986
29987 \end_layout
29988
29989 \begin_layout Description
29990 black
29991 \end_layout
29992
29993 \begin_layout Description
29994 white
29995 \end_layout
29996
29997 \begin_layout Description
29998 blue
29999 \end_layout
30000
30001 \begin_layout Description
30002 brown
30003 \end_layout
30004
30005 \begin_layout Description
30006 cyan
30007 \end_layout
30008
30009 \begin_layout Description
30010 darkgray
30011 \end_layout
30012
30013 \begin_layout Description
30014 gray
30015 \end_layout
30016
30017 \begin_layout Description
30018 green
30019 \end_layout
30020
30021 \begin_layout Description
30022 lightgray
30023 \end_layout
30024
30025 \begin_layout Description
30026 lime
30027 \end_layout
30028
30029 \begin_layout Description
30030 magenta
30031 \end_layout
30032
30033 \begin_layout Description
30034 olive
30035 \end_layout
30036
30037 \begin_layout Description
30038 orange
30039 \end_layout
30040
30041 \begin_layout Description
30042 pink
30043 \end_layout
30044
30045 \begin_layout Description
30046 purple
30047 \end_layout
30048
30049 \begin_layout Description
30050 red
30051 \end_layout
30052
30053 \begin_layout Description
30054 teal
30055 \end_layout
30056
30057 \begin_layout Description
30058 violet
30059 \end_layout
30060
30061 \begin_layout Description
30062 yellow
30063 \end_layout
30064
30065 \begin_layout Section
30066 動的色名
30067 \end_layout
30068
30069 \begin_layout Standard
30070 これらは
30071 \begin_inset Info
30072 type  "menu"
30073 arg   "dialog-show prefs"
30074 \end_inset
30075
30076 の特定要素に割り当てられる色です:
30077
30078 \end_layout
30079
30080 \begin_layout Description
30081 added_space 空白マーカ色
30082 \end_layout
30083
30084 \begin_layout Description
30085 addedtext 追加された文章色
30086 \end_layout
30087
30088 \begin_layout Description
30089 appendix 付録マーカ色
30090 \end_layout
30091
30092 \begin_layout Description
30093 background 背景色
30094 \end_layout
30095
30096 \begin_layout Description
30097 bottomarea 下部領域色
30098 \end_layout
30099
30100 \begin_layout Description
30101 branchlabel 派生枝ラベル色
30102 \end_layout
30103
30104 \begin_layout Description
30105 buttonbg ボタンの背景色
30106 \end_layout
30107
30108 \begin_layout Description
30109 buttonframe 差込枠の縁色
30110 \end_layout
30111
30112 \begin_layout Description
30113 buttonhoverbg フォーカスを得ているボタンの背景色
30114 \end_layout
30115
30116 \begin_layout Description
30117 changebar 変更バー色
30118 \end_layout
30119
30120 \begin_layout Description
30121 changedtextauthor1 変更された文章:第1著者の色
30122 \end_layout
30123
30124 \begin_layout Description
30125 changedtextauthor2 変更された文章:第2著者の色
30126 \end_layout
30127
30128 \begin_layout Description
30129 changedtextauthor3 変更された文章:第3著者の色
30130 \end_layout
30131
30132 \begin_layout Description
30133 changedtextauthor4 変更された文章:第4著者の色
30134 \end_layout
30135
30136 \begin_layout Description
30137 changedtextauthor5 変更された文章:第5著者の色
30138 \end_layout
30139
30140 \begin_layout Description
30141 collapsibletext 畳み込み可能枠の文字色
30142 \end_layout
30143
30144 \begin_layout Description
30145 collapsibleframe 畳み込み可能枠の縁色
30146 \end_layout
30147
30148 \begin_layout Description
30149 command コマンド差込枠の文字色
30150 \end_layout
30151
30152 \begin_layout Description
30153 commandbg コマンド差込枠の背景色
30154 \end_layout
30155
30156 \begin_layout Description
30157 commandframe コマンド差込枠の縁色
30158 \end_layout
30159
30160 \begin_layout Description
30161 comment コメント色
30162 \end_layout
30163
30164 \begin_layout Description
30165 commentbg コメントの背景色
30166 \end_layout
30167
30168 \begin_layout Description
30169 cursor カーソル色
30170 \end_layout
30171
30172 \begin_layout Description
30173 deletedtext 削除された文章の色
30174 \end_layout
30175
30176 \begin_layout Description
30177 deletedtextmodifier 削除された文章の修飾子の色
30178 \end_layout
30179
30180 \begin_layout Description
30181 depthbar 余白部の階層表示線の色
30182 \end_layout
30183
30184 \begin_layout Description
30185 eolmarker 行末標色
30186 \end_layout
30187
30188 \begin_layout Description
30189 error \SpecialChar LaTeX
30190 エラーボックス色
30191 \end_layout
30192
30193 \begin_layout Description
30194 footlabel 脚註ラベル色
30195 \end_layout
30196
30197 \begin_layout Description
30198 foreground 前景色
30199 \end_layout
30200
30201 \begin_layout Description
30202 graphicsbg 画像差込枠の背景色
30203 \end_layout
30204
30205 \begin_layout Description
30206 greyedoutbg 淡色表示差込枠の背景色
30207 \end_layout
30208
30209 \begin_layout Description
30210 greyedoutlabel 淡色表示差込枠のラベル色
30211 \end_layout
30212
30213 \begin_layout Description
30214 greyedouttext 淡色表示差込枠の文字色
30215 \end_layout
30216
30217 \begin_layout Description
30218 indexlabel 索引差込枠のラベル色
30219 \end_layout
30220
30221 \begin_layout Description
30222 inlinecompletion 行内補完色
30223 \end_layout
30224
30225 \begin_layout Description
30226 insetbg 差込枠標の背景色
30227 \end_layout
30228
30229 \begin_layout Description
30230 insetframe 差込枠標の縁色
30231 \end_layout
30232
30233 \begin_layout Description
30234 language 外国語の単語を標識するための色
30235 \end_layout
30236
30237 \begin_layout Description
30238 latex \SpecialChar LaTeX
30239 モードの文字色
30240 \end_layout
30241
30242 \begin_layout Description
30243 listingsbg プログラムリスト差込枠の背景色
30244 \end_layout
30245
30246 \begin_layout Description
30247 marginlabel 傍註のラベル色
30248 \end_layout
30249
30250 \begin_layout Description
30251 math 数式差込枠の文字色
30252 \end_layout
30253
30254 \begin_layout Description
30255 mathbg 数式差込枠の背景色
30256 \end_layout
30257
30258 \begin_layout Description
30259 mathcorners フォーカスを得ていない数式差込枠の縁色
30260 \end_layout
30261
30262 \begin_layout Description
30263 mathframe フォーカスを得ている数式差込枠の縁色
30264 \end_layout
30265
30266 \begin_layout Description
30267 mathline 数式行色
30268 \end_layout
30269
30270 \begin_layout Description
30271 mathmacrobg 数式マクロ差込枠の背景色
30272 \end_layout
30273
30274 \begin_layout Description
30275 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
30276 \end_layout
30277
30278 \begin_layout Description
30279 mathmacroframe 数式マクロ差込枠の縁色
30280 \end_layout
30281
30282 \begin_layout Description
30283 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
30284 \end_layout
30285
30286 \begin_layout Description
30287 mathmacrolabel 数式マクロ差込枠のラベル色
30288 \end_layout
30289
30290 \begin_layout Description
30291 mathmacronewarg 数式マクロ新パラメーターのひな型色
30292 \end_layout
30293
30294 \begin_layout Description
30295 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
30296 \end_layout
30297
30298 \begin_layout Description
30299 newpage 新規頁色
30300 \end_layout
30301
30302 \begin_layout Description
30303 nonunique_inlinecompletion 行内補完の一意でない部分の色
30304 \end_layout
30305
30306 \begin_layout Description
30307 note 註釈のラベル色
30308 \end_layout
30309
30310 \begin_layout Description
30311 notebg 註釈の背景色
30312 \end_layout
30313
30314 \begin_layout Description
30315 pagebreak 改頁/改行色
30316 \end_layout
30317
30318 \begin_layout Description
30319 paragraphmarker 段落末を標識するための段落標の色
30320 \end_layout
30321
30322 \begin_layout Description
30323 phantomtext 埋め草差込枠の文字色
30324 \end_layout
30325
30326 \begin_layout Description
30327 preview プレビューに用いられる色
30328 \end_layout
30329
30330 \begin_layout Description
30331 previewframe プレビュー縁色
30332 \end_layout
30333
30334 \begin_layout Description
30335 regexpframe 正規表現枠の色
30336 \end_layout
30337
30338 \begin_layout Description
30339 scroll 行をスクロールすることができることを示す色
30340 \end_layout
30341
30342 \begin_layout Description
30343 selection 文章選択部の背景色
30344 \end_layout
30345
30346 \begin_layout Description
30347 selectiontext 文章選択部の前景色
30348 \end_layout
30349
30350 \begin_layout Description
30351 shadedbg 影付きボックスの背景色
30352 \end_layout
30353
30354 \begin_layout Description
30355 special 特殊文字の色
30356 \end_layout
30357
30358 \begin_layout Description
30359 tabularline 罫線色
30360 \end_layout
30361
30362 \begin_layout Description
30363 tabularonoffline 罫線色
30364 \end_layout
30365
30366 \begin_layout Description
30367 textlabel1 レイアウトと特殊差込枠ラベルの色1
30368 \end_layout
30369
30370 \begin_layout Description
30371 textlabel2 レイアウトと特殊差込枠ラベルの色2
30372 \end_layout
30373
30374 \begin_layout Description
30375 textlabel3 レイアウトと特殊差込枠ラベルの色3
30376 \end_layout
30377
30378 \begin_layout Description
30379 urllabel URL差込枠のラベル色
30380 \end_layout
30381
30382 \begin_layout Description
30383 urltext URL差込枠の文字色
30384 \end_layout
30385
30386 \end_body
30387 \end_document