]> git.lyx.org Git - features.git/blob - lib/doc/ja/Customization.lyx
Turn 'Do not load' math option to 'Automatic' (ticket 10661)
[features.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties 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
27 % Added only for Japanese translation
28 % This is needed to use \textquotedbl (this doesn't exist in OT1 encoding)
29 \usepackage[T1]{fontenc}
30 \end_preamble
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
33 \begin_modules
34 logicalmkup
35 \end_modules
36 \maintain_unincluded_children false
37 \begin_local_layout
38 Format 57
39 InsetLayout Flex:MenuItem
40 LyxType               charstyle
41 LabelString           menu
42 LatexType             command
43 LatexName             menuitem
44 Font
45 Family              Sans
46 EndFont
47 Preamble
48 \newcommand*{\menuitem}[1]{{\sffamily #1}}
49 EndPreamble
50 ResetsFont true
51 End
52 # In case we need to do with sans...
53 #InsetLayout CharStyle:Code
54 #Font
55 #Family              Sans
56 #EndFont
57 #Preamble
58 #\renewcommand{\code}[1]{{\sffamily #1}}
59 #EndPreamble
60 #End
61 InsetLayout             Flex:Ruby
62 LyxType         charstyle
63 LatexType               command
64 LatexName               ruby
65 BgColor         none
66 LabelString             "ルビ"
67 Decoration              Conglomerate
68 Argument post:1
69 LabelString     "ルビ文"
70 MenuString      "ルビ文(S)|S"
71 Decoration      Conglomerate
72 Font
73 Size            tiny
74 EndFont
75 LabelFont
76 Size            tiny
77 EndFont
78 Mandatory       1
79 EndArgument
80 Preamble
81 \IfFileExists{okumacro.sty}
82 {\usepackage{okumacro}}
83 {\newcommand{\ruby}[2]{#2}}
84 EndPreamble
85 ResetsFont true
86 End
87 \end_local_layout
88 \language japanese
89 \language_package default
90 \inputencoding auto
91 \fontencoding global
92 \font_roman "default" "default"
93 \font_sans "default" "default"
94 \font_typewriter "default" "default"
95 \font_math "auto" "auto"
96 \font_default_family default
97 \use_non_tex_fonts false
98 \font_sc false
99 \font_osf false
100 \font_sf_scale 100 100
101 \font_tt_scale 100 100
102 \use_microtype false
103 \use_dash_ligatures false
104 \graphics default
105 \default_output_format default
106 \output_sync 0
107 \bibtex_command default
108 \index_command default
109 \paperfontsize 12
110 \spacing single
111 \use_hyperref true
112 \pdf_title "LyX Configuration Manual"
113 \pdf_author "LyX Team"
114 \pdf_subject "LyX-Documentation Customization"
115 \pdf_keywords "LyX, documentation, customization"
116 \pdf_bookmarks false
117 \pdf_bookmarksnumbered true
118 \pdf_bookmarksopen true
119 \pdf_bookmarksopenlevel 1
120 \pdf_breaklinks false
121 \pdf_pdfborder false
122 \pdf_colorlinks true
123 \pdf_backref false
124 \pdf_pdfusetitle false
125 \pdf_quoted_options "driverfallback=dvipdfmx, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
126 \papersize default
127 \use_geometry false
128 \use_package amsmath 1
129 \use_package amssymb 1
130 \use_package cancel 1
131 \use_package esint 1
132 \use_package mathdots 1
133 \use_package mathtools 1
134 \use_package mhchem 1
135 \use_package stackrel 1
136 \use_package stmaryrd 1
137 \use_package undertilde 1
138 \cite_engine basic
139 \cite_engine_type default
140 \biblio_style plain
141 \use_bibtopic false
142 \use_indices false
143 \paperorientation portrait
144 \suppress_date false
145 \justification false
146 \use_refstyle 0
147 \use_minted 0
148 \notefontcolor #0000ff
149 \branch OutDated
150 \selected 0
151 \filename_suffix 0
152 \color #f5fae7
153 \end_branch
154 \index 索引
155 \shortcut idx
156 \color #008000
157 \end_index
158 \secnumdepth 3
159 \tocdepth 3
160 \paragraph_separation indent
161 \paragraph_indentation default
162 \is_math_indent 1
163 \math_indentation default
164 \math_numbering_side default
165 \quotes_style english
166 \dynamic_quotes 0
167 \papercolumns 1
168 \papersides 2
169 \paperpagestyle headings
170 \tracking_changes false
171 \output_changes false
172 \html_math_output 0
173 \html_css_as_file 0
174 \html_be_strict true
175 \end_header
176
177 \begin_body
178
179 \begin_layout Title
180 \SpecialChar LyX
181 の高度設定
182 \begin_inset Newline newline
183 \end_inset
184
185 熟練ユーザのための各機能
186 \end_layout
187
188 \begin_layout Author
189 \SpecialChar LyX
190 開発チーム
191 \begin_inset Foot
192 status collapsed
193
194 \begin_layout Plain Layout
195 \noindent
196 もしコメントや誤りの修正をお持ちでしたら,\SpecialChar LyX
197 文書化メーリングリスト
198 \begin_inset CommandInset href
199 LatexCommand href
200 target "lyx-docs@lists.lyx.org"
201 type "mailto:"
202 literal "false"
203
204 \end_inset
205
206 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,このファイルの現在のメンテナRichard Heck <rgheck@comc
207 ast.net>をccにして送ってください.
208 \end_layout
209
210 \end_inset
211
212
213 \begin_inset Newline newline
214 \end_inset
215
216
217 \begin_inset Newline newline
218 \end_inset
219
220 第2.3.x版
221 \end_layout
222
223 \begin_layout Standard
224 \begin_inset CommandInset toc
225 LatexCommand tableofcontents
226
227 \end_inset
228
229
230 \begin_inset Note Note
231 status open
232
233 \begin_layout Plain Layout
234 本文書を修正する際には,変更追跡機能を使用してください.これによって,
235 \end_layout
236
237 \begin_layout Plain Layout
238 \SpecialChar LyX
239 翻訳者陣が変更点を認識しやすくなり,メンテナが最新の状態を維持することが容易になります.
240 \end_layout
241
242 \end_inset
243
244
245 \end_layout
246
247 \begin_layout Chapter
248 はじめに
249 \end_layout
250
251 \begin_layout Standard
252 この取扱説明書は,\SpecialChar LyX
253 に備わっている高度設定機能を取り扱います.ここでは,
254 \begin_inset Flex Ruby
255 status collapsed
256
257 \begin_layout Plain Layout
258 捷径
259 \begin_inset Argument post:1
260 status collapsed
261
262 \begin_layout Plain Layout
263 ショートカット
264 \end_layout
265
266 \end_inset
267
268
269 \end_layout
270
271 \end_inset
272
273 や画面プレビューオプション,プリンタオプション,\SpecialChar LyX
274 サーバ経由での\SpecialChar LyX
275 へのコマンド送信,国際化,新しい\SpecialChar LaTeX
276 クラスや\SpecialChar LyX
277 レイアウトの導入などの題材について論じます.おそらくは変更
278 可能なことすべてについて触れることは無理でしょうが—私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—,もっとも一般的な高
279 度設定については説明を行い,わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
280 \end_layout
281
282 \begin_layout Standard
283 \begin_inset Branch OutDated
284 inverted 0
285 status collapsed
286
287 \begin_layout Standard
288 Information from previous versions of this document that now seems to be
289  outdated is contained in the OutDated branch of this document.
290  By default, this information will not appear in the \SpecialChar LaTeX
291  output.
292 \end_layout
293
294 \end_inset
295
296
297 \end_layout
298
299 \begin_layout Chapter
300 \SpecialChar LyX
301 設定ファイル
302 \end_layout
303
304 \begin_layout Standard
305 本章の目的は,\SpecialChar LyX
306 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
307 \begin_inset Flex MenuItem
308 status collapsed
309
310 \begin_layout Plain Layout
311 ヘルプ\SpecialChar menuseparator
312 LyXについて
313 \end_layout
314
315 \end_inset
316
317 を使って,\SpecialChar LyX
318 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,\SpecialChar LyX
319 がシステム全体の設定ファイルを置いておくところです.一
320 方,ユーザディレクトリは,自身がそれを修正した版を置いておくところです.私たちは,本書の以下の部分で,前者を
321 \begin_inset Flex Code
322 status collapsed
323
324 \begin_layout Plain Layout
325 LyXDir
326 \end_layout
327
328 \end_inset
329
330 と呼び,後者を
331 \begin_inset Flex MenuItem
332 status collapsed
333
334 \begin_layout Plain Layout
335 UserDir
336 \end_layout
337
338 \end_inset
339
340 と呼ぶことにします.
341 \end_layout
342
343 \begin_layout Section
344 \begin_inset Flex Code
345 status collapsed
346
347 \begin_layout Plain Layout
348 LyXDir
349 \end_layout
350
351 \end_inset
352
353 にはなにがあるの?
354 \end_layout
355
356 \begin_layout Standard
357 \begin_inset Flex Code
358 status collapsed
359
360 \begin_layout Plain Layout
361 LyXDir
362 \end_layout
363
364 \end_inset
365
366 とそのサブディレクトリには,多くのファイルがあり,\SpecialChar LyX
367 の挙動を高度設定するのに使用されます.これらのファイルの多くは,\SpecialChar LyX
368 内の
369 \begin_inset Flex MenuItem
370 status collapsed
371
372 \begin_layout Plain Layout
373 ツール\SpecialChar menuseparator
374 設定
375 \end_layout
376
377 \end_inset
378
379 ダイアログから変更することができます.\SpecialChar LyX
380 中で行いたいと思うような高度設定は,ほとんどこのダイアログから行うことができるようになっています.しかしながら,LyXの他
381 の多くの内部動作は,
382 \begin_inset Flex Code
383 status collapsed
384
385 \begin_layout Plain Layout
386 LyXDir
387 \end_layout
388
389 \end_inset
390
391 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,以下の各小節で説明します.
392 \end_layout
393
394 \begin_layout Subsection
395 自動的に生成されるファイル
396 \end_layout
397
398 \begin_layout Standard
399 \begin_inset Flex MenuItem
400 status collapsed
401
402 \begin_layout Plain Layout
403 UserDir
404 \end_layout
405
406 \end_inset
407
408 にある各ファイルは,\SpecialChar LyX
409 が自動設定を行ったときに生成されます.これらのファイルは,内部調査中に推測された様々な既定値が置かれています.これらは,随時上書きされてしま
410 うので,一般的には修正しないことが望まれます.
411 \end_layout
412
413 \begin_layout Labeling
414 \labelwidthstring 00.00.0000
415 \begin_inset Flex Code
416 status collapsed
417
418 \begin_layout Plain Layout
419 lyxrc.defaults
420 \end_layout
421
422 \end_inset
423
424  このファイルには,様々な既定コマンドが置かれています.
425 \end_layout
426
427 \begin_layout Labeling
428 \labelwidthstring 00.00.0000
429 \begin_inset Flex Code
430 status collapsed
431
432 \begin_layout Plain Layout
433 packages.lst
434 \end_layout
435
436 \end_inset
437
438  このファイルには,\SpecialChar LyX
439 が認識したパッケージの一覧が収められています.現在のところ,これは\SpecialChar LyX
440 プログラム自体には使用されていませんが,抽出された情報その他は,
441 \begin_inset Flex MenuItem
442 status collapsed
443
444 \begin_layout Plain Layout
445 ヘルプ\SpecialChar menuseparator
446 LaTeXの設定
447 \end_layout
448
449 \end_inset
450
451 で見ることができます.
452 \end_layout
453
454 \begin_layout Labeling
455 \labelwidthstring 00.00.0000
456 \begin_inset Flex Code
457 status collapsed
458
459 \begin_layout Plain Layout
460 textclass.lst
461 \end_layout
462
463 \end_inset
464
465  ユーザの
466 \begin_inset Flex Code
467 status collapsed
468
469 \begin_layout Plain Layout
470 Plain L
471 \end_layout
472
473 \end_inset
474
475 ディレクトリで検出されたテキストクラスと,関連した\SpecialChar LaTeX
476 文書クラスおよびその説明の一覧です.
477 \end_layout
478
479 \begin_layout Labeling
480 \labelwidthstring 00.00.0000
481 \begin_inset Flex Code
482 status collapsed
483
484 \begin_layout Plain Layout
485 lyxmodules.lst
486 \end_layout
487
488 \end_inset
489
490  ユーザの
491 \begin_inset Flex Code
492 status collapsed
493
494 \begin_layout Plain Layout
495 layout/
496 \end_layout
497
498 \end_inset
499
500 ディレクトリで検出されたレイアウトモジュールの一覧です.
501 \end_layout
502
503 \begin_layout Labeling
504 \labelwidthstring 00.00.0000
505 \begin_inset Flex Code
506 status collapsed
507
508 \begin_layout Plain Layout
509 *files.lst
510 \end_layout
511
512 \end_inset
513
514  ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
515 関連ファイルの一覧です.
516 \end_layout
517
518 \begin_layout Labeling
519 \labelwidthstring 00.00.0000
520 \begin_inset Flex Code
521 status collapsed
522
523 \begin_layout Plain Layout
524 doc/LaTeXConfig.lyx
525 \end_layout
526
527 \end_inset
528
529  このファイルは,自動設定中に
530 \begin_inset Flex Code
531 status collapsed
532
533 \begin_layout Plain Layout
534 LaTeXConfig.lyx.in
535 \end_layout
536
537 \end_inset
538
539 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
540 の設定に関する情報が納められています.
541 \end_layout
542
543 \begin_layout Subsection
544 ディレクトリ
545 \end_layout
546
547 \begin_layout Standard
548 以下の各ディレクトリは,
549 \begin_inset Flex Code
550 status collapsed
551
552 \begin_layout Plain Layout
553 LyXDir
554 \end_layout
555
556 \end_inset
557
558
559 \begin_inset Flex Code
560 status collapsed
561
562 \begin_layout Plain Layout
563 UserDir
564 \end_layout
565
566 \end_inset
567
568 に重複して存在します.特定のファイルが両方の場所にある場合には,
569 \begin_inset Flex Code
570 status collapsed
571
572 \begin_layout Plain Layout
573 UserDir
574 \end_layout
575
576 \end_inset
577
578 の方にあるものが使用されます.
579 \end_layout
580
581 \begin_layout Labeling
582 \labelwidthstring 00.00.0000
583 \begin_inset Flex Code
584 status collapsed
585
586 \begin_layout Plain Layout
587 bind/
588 \end_layout
589
590 \end_inset
591
592  このディレクトリには,\SpecialChar LyX
593 で使用されるキー割当を定義している,拡張子が
594 \begin_inset Flex Code
595 status collapsed
596
597 \begin_layout Plain Layout
598 .bind
599 \end_layout
600
601 \end_inset
602
603 のファイルが置かれています.
604 \begin_inset Flex Code
605 status collapsed
606
607 \begin_layout Plain Layout
608 $LANG_xxx.bind
609 \end_layout
610
611 \end_inset
612
613 という名称の割当ファイルの各国語版がある場合には,そちらが用いられます.
614 \end_layout
615
616 \begin_layout Labeling
617 \labelwidthstring 00.00.0000
618 \begin_inset Flex Code
619 status collapsed
620
621 \begin_layout Plain Layout
622 citeengines/
623 \end_layout
624
625 \end_inset
626
627  このディレクトリには,幅広い文献引用力(natbib, biblatexなど)を定義する,拡張子が
628 \begin_inset Flex Code
629 status collapsed
630
631 \begin_layout Plain Layout
632 .citeengine
633 \end_layout
634
635 \end_inset
636
637 のファイルが置かれています.詳細については,第
638 \begin_inset CommandInset ref
639 LatexCommand ref
640 reference "subsec:引用エンジンファイル"
641 plural "false"
642 caps "false"
643 noprefix "false"
644
645 \end_inset
646
647 節をご覧ください.
648 \end_layout
649
650 \begin_layout Labeling
651 \labelwidthstring 00.00.0000
652 \begin_inset Flex Code
653 status collapsed
654
655 \begin_layout Plain Layout
656 clipart/
657 \end_layout
658
659 \end_inset
660
661  このディレクトリには,文書に取り込むことのできる画像ファイルが納められています.
662 \end_layout
663
664 \begin_layout Labeling
665 \labelwidthstring 00.00.0000
666 \begin_inset Flex Code
667 status collapsed
668
669 \begin_layout Plain Layout
670 doc/
671 \end_layout
672
673 \end_inset
674
675  このディレクトリには,\SpecialChar LyX
676 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
677 \begin_inset Flex Code
678 status collapsed
679
680 \begin_layout Plain Layout
681 LaTeXConfig.lyx
682 \end_layout
683
684 \end_inset
685
686 ファイルは特に注目に値します.各国語版のヘルプ文書は,
687 \begin_inset Flex Code
688 status collapsed
689
690 \begin_layout Plain Layout
691 doc/xx
692 \end_layout
693
694 \end_inset
695
696 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
697 \begin_inset CommandInset ref
698 LatexCommand ref
699 reference "cha:LyXの各国語対応"
700
701 \end_inset
702
703 をご覧ください.
704 \end_layout
705
706 \begin_layout Labeling
707 \labelwidthstring 00.00.0000
708 \begin_inset Flex Code
709 status collapsed
710
711 \begin_layout Plain Layout
712 examples/
713 \end_layout
714
715 \end_inset
716
717  このディレクトリには,何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
718 \begin_inset Flex MenuItem
719 status collapsed
720
721 \begin_layout Plain Layout
722 用例
723 \end_layout
724
725 \end_inset
726
727 ボタンを押すと,このディレクトリが表示されます.
728 \end_layout
729
730 \begin_layout Labeling
731 \labelwidthstring 00.00.0000
732 \begin_inset Flex Code
733 status collapsed
734
735 \begin_layout Plain Layout
736 images/
737 \end_layout
738
739 \end_inset
740
741  このディレクトリには,
742 \begin_inset Flex MenuItem
743 status collapsed
744
745 \begin_layout Plain Layout
746 文書
747 \end_layout
748
749 \end_inset
750
751 ダイアログで使用される画像ファイルが納められています.さらに,ツールバーの各アイコンや,\SpecialChar LyX
752 を起動したときに現れるバナーも納められています.
753 \end_layout
754
755 \begin_layout Labeling
756 \labelwidthstring 00.00.0000
757 \begin_inset Flex Code
758 status collapsed
759
760 \begin_layout Plain Layout
761 kbd/
762 \end_layout
763
764 \end_inset
765
766  このディレクトリには,キーボードのキー割当ファイルが納められています.詳細については,
767 \begin_inset CommandInset ref
768 LatexCommand ref
769 reference "sec:国際キー配列"
770
771 \end_inset
772
773 をご覧ください.
774 \end_layout
775
776 \begin_layout Labeling
777 \labelwidthstring 00.00.0000
778 \begin_inset Flex Code
779 status collapsed
780
781 \begin_layout Plain Layout
782 layouts/
783 \end_layout
784
785 \end_inset
786
787  このディレクトリには,
788 \begin_inset CommandInset ref
789 LatexCommand ref
790 reference "cha:新規文書を導入"
791
792 \end_inset
793
794 に述べられているテキストクラスおよびモジュールのファイルが納められています.
795 \end_layout
796
797 \begin_layout Labeling
798 \labelwidthstring 00.00.0000
799 \begin_inset Flex Code
800 status collapsed
801
802 \begin_layout Plain Layout
803 lyx2lyx
804 \end_layout
805
806 \end_inset
807
808  このディレクトリには,\SpecialChar LyX
809 の各バージョン間の変換に使用される
810 \begin_inset Flex Code
811 status collapsed
812
813 \begin_layout Plain Layout
814 lyx2lyx
815 \end_layout
816
817 \end_inset
818
819  Pythonスクリプトが納められています.たとえば,複数のファイルの変換をバッチ処理したい場合には,これらをコマンドラインから実行することもできます.
820 \end_layout
821
822 \begin_layout Labeling
823 \labelwidthstring 00.00.0000
824 \begin_inset Flex Code
825 status collapsed
826
827 \begin_layout Plain Layout
828 scripts/
829 \end_layout
830
831 \end_inset
832
833  このディレクトリには,
834 \begin_inset Flex MenuItem
835 status collapsed
836
837 \begin_layout Plain Layout
838 外用ひな型
839 \end_layout
840
841 \end_inset
842
843 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
844 自身が使用するスクリプトもいくつか収められています.
845 \end_layout
846
847 \begin_layout Labeling
848 \labelwidthstring 00.00.0000
849 \begin_inset Flex Code
850 status collapsed
851
852 \begin_layout Plain Layout
853 templates/
854 \end_layout
855
856 \end_inset
857
858  このディレクトリには,
859 \begin_inset CommandInset ref
860 LatexCommand ref
861 reference "sec:ひな型を作成する"
862
863 \end_inset
864
865 で述べられている標準の\SpecialChar LyX
866 ひな型ファイルが納められています.
867 \end_layout
868
869 \begin_layout Labeling
870 \labelwidthstring 00.00.0000
871 \begin_inset Flex Code
872 status collapsed
873
874 \begin_layout Plain Layout
875 ui/
876 \end_layout
877
878 \end_inset
879
880  このディレクトリには,\SpecialChar LyX
881 の操作画面を定義する拡張子
882 \begin_inset Flex Code
883 status collapsed
884
885 \begin_layout Plain Layout
886 .ui
887 \end_layout
888
889 \end_inset
890
891 のファイルが納められています.つまり,これらのファイルは,どのメニュー項目がどのメニューに現れるかを定義し,どの項目がツールバーに現れるかを定義しています.
892 \end_layout
893
894 \begin_layout Labeling
895 \labelwidthstring 00.00.0000
896 \begin_inset Flex Code
897 status collapsed
898
899 \begin_layout Plain Layout
900 xtemplates/
901 \end_layout
902
903 \end_inset
904
905  このディレクトリには,\SpecialChar LyX
906 文書への外部素材の挿入のひな型を定義する,拡張子が
907 \begin_inset Flex Code
908 status collapsed
909
910 \begin_layout Plain Layout
911 .xtemplate
912 \end_layout
913
914 \end_inset
915
916 のファイルが置かれています.第
917 \begin_inset CommandInset ref
918 LatexCommand ref
919 reference "chap:外部素材を取り込む"
920 plural "false"
921 caps "false"
922 noprefix "false"
923
924 \end_inset
925
926 節参照.
927 \end_layout
928
929 \begin_layout Subsection
930 変更を加えない方がよいファイル
931 \end_layout
932
933 \begin_layout Standard
934 これらのファイルは\SpecialChar LyX
935 が内部的に使用するもので,あなたが開発者でない限りは,凡そこれらに変更を加える必要はありません.
936 \end_layout
937
938 \begin_layout Labeling
939 \labelwidthstring 00.00.0000
940 \begin_inset Flex Code
941 status collapsed
942
943 \begin_layout Plain Layout
944 CREDITS
945 \end_layout
946
947 \end_inset
948
949  このファイルは,\SpecialChar LyX
950 開発陣の名簿です.この内容は,メニュー項目
951 \begin_inset Flex MenuItem
952 status collapsed
953
954 \begin_layout Plain Layout
955 ヘルプ\SpecialChar menuseparator
956 LyXについて
957 \end_layout
958
959 \end_inset
960
961 で表示されます.
962 \end_layout
963
964 \begin_layout Labeling
965 \labelwidthstring 00.00.0000
966 \begin_inset Flex Code
967 status collapsed
968
969 \begin_layout Plain Layout
970 chkconfig.ltx
971 \end_layout
972
973 \end_inset
974
975  これは,自動設定プロセスによって使用される\SpecialChar LaTeX
976 スクリプトです.直接実行しないでください.
977 \end_layout
978
979 \begin_layout Labeling
980 \labelwidthstring 00.00.0000
981 \begin_inset Flex Code
982 status collapsed
983
984 \begin_layout Plain Layout
985 configure.py
986 \end_layout
987
988 \end_inset
989
990  これは,\SpecialChar LyX
991 の環境構成によって使用されるスクリプトです.これは,このスクリプトを実行したディレクトリに設定ファイルを生成します.
992 \end_layout
993
994 \begin_layout Subsection
995 ひとこと必要なファイル群
996 \end_layout
997
998 \begin_layout Labeling
999 \labelwidthstring 00.00.0000
1000 \begin_inset Flex Code
1001 status collapsed
1002
1003 \begin_layout Plain Layout
1004 encodings
1005 \end_layout
1006
1007 \end_inset
1008
1009  このファイルには,各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
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 languages
1019 \end_layout
1020
1021 \end_inset
1022
1023  このファイルには,現在\SpecialChar LyX
1024 がサポートしている言語の全一覧が載っています.
1025 \end_layout
1026
1027 \begin_layout Labeling
1028 \labelwidthstring 00.00.0000
1029 \begin_inset Flex Code
1030 status collapsed
1031
1032 \begin_layout Plain Layout
1033 latexfonts
1034 \end_layout
1035
1036 \end_inset
1037
1038  サポートされているフォントに関する情報が掲載されています.
1039 \end_layout
1040
1041 \begin_layout Labeling
1042 \labelwidthstring 00.00.0000
1043 \begin_inset Flex Code
1044 status collapsed
1045
1046 \begin_layout Plain Layout
1047 layouttranslations
1048 \end_layout
1049
1050 \end_inset
1051
1052  このファイルは,国際化された段落様式の翻訳が収録されています(
1053 \begin_inset CommandInset ref
1054 LatexCommand ref
1055 reference "subsec:段落様式の国際化"
1056
1057 \end_inset
1058
1059 参照).
1060 \end_layout
1061
1062 \begin_layout Labeling
1063 \labelwidthstring 00.00.0000
1064 \begin_inset Flex Code
1065 status collapsed
1066
1067 \begin_layout Plain Layout
1068 unicodesymbols
1069 \end_layout
1070
1071 \end_inset
1072
1073  このファイルは,unicodeエンコーディングされたグリフに関する情報と,\SpecialChar LyX
1074 が\SpecialChar LaTeX
1075 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1076 \end_layout
1077
1078 \begin_layout Section
1079 ユーザのローカル設定ディレクトリ
1080 \end_layout
1081
1082 \begin_layout Standard
1083 \SpecialChar LyX
1084 を非特権ユーザとして利用している場合でも,自分自身で使うために,\SpecialChar LyX
1085 の設定を変更したいと思うかもしれません.
1086 \begin_inset Flex Code
1087 status collapsed
1088
1089 \begin_layout Plain Layout
1090 UserDir
1091 \end_layout
1092
1093 \end_inset
1094
1095 ディレクトリには,すべての個人設定ファイルが収められています.これは,
1096 \begin_inset Flex MenuItem
1097 status collapsed
1098
1099 \begin_layout Plain Layout
1100 ヘルプ\SpecialChar menuseparator
1101 LyXについて
1102 \end_layout
1103
1104 \end_inset
1105
1106 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1107 \begin_inset Flex Code
1108 status collapsed
1109
1110 \begin_layout Plain Layout
1111 LyXDir
1112 \end_layout
1113
1114 \end_inset
1115
1116 のミラーとして使用されており,これは
1117 \begin_inset Flex Code
1118 status collapsed
1119
1120 \begin_layout Plain Layout
1121 UserDir
1122 \end_layout
1123
1124 \end_inset
1125
1126 内のすべてのファイルが,
1127 \begin_inset Flex Code
1128 status collapsed
1129
1130 \begin_layout Plain Layout
1131 LyXDir
1132 \end_layout
1133
1134 \end_inset
1135
1136 すし,自分自身で使うために個人のローカルディレクトリに置くこともできます.
1137 \end_layout
1138
1139 \begin_layout Standard
1140 わかりやすくするために,いくつか例を挙げましょう.
1141 \end_layout
1142
1143 \begin_layout Itemize
1144 \begin_inset Flex MenuItem
1145 status collapsed
1146
1147 \begin_layout Plain Layout
1148 ツール\SpecialChar menuseparator
1149 設定
1150 \end_layout
1151
1152 \end_inset
1153
1154 ダイアログで設定されるユーザ設定は,
1155 \begin_inset Flex Code
1156 status collapsed
1157
1158 \begin_layout Plain Layout
1159 UserDir
1160 \end_layout
1161
1162 \end_inset
1163
1164 中の
1165 \begin_inset Flex Code
1166 status collapsed
1167
1168 \begin_layout Plain Layout
1169 preferences
1170 \end_layout
1171
1172 \end_inset
1173
1174 ファイルに保存されます.
1175 \end_layout
1176
1177 \begin_layout Itemize
1178 \begin_inset Flex MenuItem
1179 status collapsed
1180
1181 \begin_layout Plain Layout
1182 ツール\SpecialChar menuseparator
1183 環境構成
1184 \end_layout
1185
1186 \end_inset
1187
1188 を使用して環境構成を行うと,\SpecialChar LyX
1189
1190 \begin_inset Flex Code
1191 status collapsed
1192
1193 \begin_layout Plain Layout
1194 configure.py
1195 \end_layout
1196
1197 \end_inset
1198
1199 スクリプトを実行し,その結果のファイルは,ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1200 \begin_inset Flex Code
1201 status collapsed
1202
1203 \begin_layout Plain Layout
1204 UserDir/layouts
1205 \end_layout
1206
1207 \end_inset
1208
1209 にご自身で追加したテキストファイルは,
1210 \begin_inset Flex MenuItem
1211 status collapsed
1212
1213 \begin_layout Plain Layout
1214 文書\SpecialChar menuseparator
1215 設定
1216 \end_layout
1217
1218 \end_inset
1219
1220 ダイアログのクラス一覧に表示されるようになることを意味します.
1221 \end_layout
1222
1223 \begin_layout Itemize
1224 たとえば,\SpecialChar LyX
1225 のFTPサイトから最新の取扱説明書をとってきたものの,使用中のシステム上で管理者権限がないために,それをインストールすることができなかったとしても,そ
1226 れらのファイルを
1227 \begin_inset Flex Code
1228 status collapsed
1229
1230 \begin_layout Plain Layout
1231 UserDir/doc/
1232 \end_layout
1233
1234 \end_inset
1235
1236 ディレクトリにコピーすれば,
1237 \begin_inset Flex MenuItem
1238 status collapsed
1239
1240 \begin_layout Plain Layout
1241 ヘルプ
1242 \end_layout
1243
1244 \end_inset
1245
1246 メニュー項目はこれらを開くようになります!
1247 \end_layout
1248
1249 \begin_layout Section
1250 \SpecialChar LyX
1251 を複数の設定を使って実行するには
1252 \end_layout
1253
1254 \begin_layout Standard
1255 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,使用する度に異なる
1256 キー割当を使用したり,異なるプリンタ設定を使用したいことがあるかもしれません.これは,複数の設定ディレクトリを作ることで実現することができます.そして,実行時に
1257 どのディレクトリを使用するか指定するのです.
1258 \end_layout
1259
1260 \begin_layout Standard
1261 \SpecialChar LyX
1262 をコマンドラインスイッチ
1263 \begin_inset Flex Code
1264 status collapsed
1265
1266 \begin_layout Plain Layout
1267 -userdir
1268 \end_layout
1269
1270 \end_inset
1271
1272 P
1273 \emph on
1274 <ディレクトリ名>
1275 \emph default
1276 と共に起動すると,設定を既定のディレクトリではなく,指定したディレクトリから読み込むように,指示することになります(\SpecialChar LyX
1277
1278 \begin_inset Flex Code
1279 status collapsed
1280
1281 \begin_layout Plain Layout
1282 -userdir
1283 \end_layout
1284
1285 \end_inset
1286
1287 スイッチなしで実行すれば,既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,\SpecialChar LyX
1288 は,初めて\SpecialChar LyX
1289 を実行したときに既定ディレクトリを訊い
1290 てくるのと同様に,そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,既定ディレクトリで行うのと全く同じように設定オプションを修正す
1291 ることができます.これらのディレクトリは完全に独立しています(が,読み進めてください).また,環境変数
1292 \begin_inset Flex Code
1293 status collapsed
1294
1295 \begin_layout Plain Layout
1296 LYX_USERDIR_20x
1297 \end_layout
1298
1299 \end_inset
1300
1301 を特定の値に設定しても,全く同じ効果があります.
1302 \end_layout
1303
1304 \begin_layout Standard
1305 複数の設定を持つことはまた,維持の手間も増えるということです.もし新しいレイアウトを
1306 \begin_inset Flex Code
1307 status collapsed
1308
1309 \begin_layout Plain Layout
1310 NewUserDir/layouts
1311 \end_layout
1312
1313 \end_inset
1314
1315 に加えて,これをすべての設定で利用できるようにしたいならば,これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,次のようなトリッ
1316 クを使用してください.\SpecialChar LyX
1317 が新しい設定ディレクトリを生成すると,そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1318 空のサブディレクトリを,既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1319 \begin_inset Flex Code
1320 status collapsed
1321
1322 \begin_layout Plain Layout
1323 doc/
1324 \end_layout
1325
1326 \end_inset
1327
1328 サブディレクトリには,設定スクリプト(
1329 \begin_inset Flex MenuItem
1330 status collapsed
1331
1332 \begin_layout Plain Layout
1333 ツール\SpecialChar menuseparator
1334 環境構成
1335 \end_layout
1336
1337 \end_inset
1338
1339 で使用可能)が書き出した,設定毎に異なるファイルが含まれていますので,注意を払ってください.
1340 \end_layout
1341
1342 \begin_layout Chapter
1343 設定ダイアログ
1344 \end_layout
1345
1346 \begin_layout Standard
1347 設定ダイアログのオプションのすべては,
1348 \emph on
1349 ユーザーの手引き
1350 \emph default
1351 の付録
1352 \emph on
1353 設定ダイアログ
1354 \emph default
1355 に述べられています.オプションのうちいくつかについて,ここでさらに詳細に説明します.
1356 \end_layout
1357
1358 \begin_layout Section
1359 ファイル形式
1360 \begin_inset CommandInset label
1361 LatexCommand label
1362 name "sec:ファイル形式"
1363
1364 \end_inset
1365
1366
1367 \end_layout
1368
1369 \begin_layout Standard
1370 ファイル形式が定義されていない場合,はじめの一歩は,使いたいと思うファイル形式を定義することです.それには,
1371 \begin_inset Flex MenuItem
1372 status collapsed
1373
1374 \begin_layout Plain Layout
1375 ツール\SpecialChar menuseparator
1376 設定
1377 \end_layout
1378
1379 \end_inset
1380
1381 ダイアログを開いてください.
1382 \begin_inset Flex MenuItem
1383 status collapsed
1384
1385 \begin_layout Plain Layout
1386 ファイル処理\SpecialChar menuseparator
1387 ファイル形式
1388 \end_layout
1389
1390 \end_inset
1391
1392 の中で
1393 \begin_inset Flex MenuItem
1394 status collapsed
1395
1396 \begin_layout Plain Layout
1397 新規\SpecialChar ldots
1398
1399 \end_layout
1400
1401 \end_inset
1402
1403 ボタンを押して,登録する新しい形式を定義してください.
1404 \begin_inset Flex MenuItem
1405 status collapsed
1406
1407 \begin_layout Plain Layout
1408 形式
1409 \end_layout
1410
1411 \end_inset
1412
1413 フィールドは,GUI中で形式を認識するために用いられる名称です.
1414 \begin_inset Flex MenuItem
1415 status collapsed
1416
1417 \begin_layout Plain Layout
1418 短縮名
1419 \end_layout
1420
1421 \end_inset
1422
1423 は,形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1424 \begin_inset Flex MenuItem
1425 status collapsed
1426
1427 \begin_layout Plain Layout
1428 捷径
1429 \end_layout
1430
1431 \end_inset
1432
1433 フィールドは,メニュー中で
1434 \begin_inset Flex Ruby
1435 status collapsed
1436
1437 \begin_layout Plain Layout
1438 捷径
1439 \begin_inset Argument post:1
1440 status collapsed
1441
1442 \begin_layout Plain Layout
1443 ショートカット
1444 \end_layout
1445
1446 \end_inset
1447
1448
1449 \end_layout
1450
1451 \end_inset
1452
1453 を提供するのに使用されます(たとえば,
1454 \begin_inset Flex MenuItem
1455 status collapsed
1456
1457 \begin_layout Plain Layout
1458 Ctrl+D
1459 \end_layout
1460
1461 \end_inset
1462
1463 を押すと
1464 \begin_inset Flex MenuItem
1465 status collapsed
1466
1467 \begin_layout Plain Layout
1468 表示\SpecialChar menuseparator
1469 DVI
1470 \end_layout
1471
1472 \end_inset
1473
1474 となります).
1475 \end_layout
1476
1477 \begin_layout Standard
1478 形式には,
1479 \begin_inset Flex MenuItem
1480 status collapsed
1481
1482 \begin_layout Plain Layout
1483 閲覧プログラム
1484 \end_layout
1485
1486 \end_inset
1487
1488
1489 \begin_inset Flex MenuItem
1490 status collapsed
1491
1492 \begin_layout Plain Layout
1493 編集プログラム
1494 \end_layout
1495
1496 \end_inset
1497
1498 を関連づけることができます.たとえば,PostScriptファイルを閲覧するのに
1499 \begin_inset Flex MenuItem
1500 status collapsed
1501
1502 \begin_layout Plain Layout
1503 Ghostview
1504 \end_layout
1505
1506 \end_inset
1507
1508 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,コマンドを定義するのに,次節に掲げる4つの変数を用
1509 いることができます.この閲覧プログラムは,\SpecialChar LyX
1510 中で画像を閲覧したり
1511 \begin_inset Flex MenuItem
1512 status collapsed
1513
1514 \begin_layout Plain Layout
1515 表示
1516 \end_layout
1517
1518 \end_inset
1519
1520 メニューを使用したときに起動されます.一方,編集プログラムは,たとえば,画像を右クリックして現れるコンテクストメニューで
1521 \begin_inset Flex MenuItem
1522 status collapsed
1523
1524 \begin_layout Plain Layout
1525 外部で編集
1526 \end_layout
1527
1528 \end_inset
1529
1530 を選択したときに起動します.
1531 \end_layout
1532
1533 \begin_layout Standard
1534 ファイル形式の
1535 \begin_inset Flex MenuItem
1536 status collapsed
1537
1538 \begin_layout Plain Layout
1539 MIME
1540 \end_layout
1541
1542 \end_inset
1543
1544 型は必須ではありませんが,指定するときには,すべての形式の中で一意的なものでなくてはなりません.これは,この形式のファイルをファイル内容から検出するのに用いられ
1545 ます.重要なファイル形式のうちには,
1546 \begin_inset CommandInset href
1547 LatexCommand href
1548 name "IANA"
1549 target "http://www.iana.org/assignments/media-types/"
1550 literal "false"
1551
1552 \end_inset
1553
1554 に公式に登録されたMIME型がないものがあります.そこで,\SpecialChar LyX
1555 は,
1556 \begin_inset CommandInset href
1557 LatexCommand href
1558 name "freedesktop.org"
1559 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1560 literal "false"
1561
1562 \end_inset
1563
1564 で指定されているMIME型拡張表を使用しています.
1565 \end_layout
1566
1567 \begin_layout Standard
1568 \begin_inset Flex MenuItem
1569 status collapsed
1570
1571 \begin_layout Plain Layout
1572 文書形式
1573 \end_layout
1574
1575 \end_inset
1576
1577 オプションは,\SpecialChar LyX
1578 に,この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,適切な変換経路が存在する場合には(第
1579 \begin_inset CommandInset ref
1580 LatexCommand ref
1581 reference "sec:変換子"
1582
1583 \end_inset
1584
1585 節を参照),この形式が
1586 \begin_inset Flex MenuItem
1587 status collapsed
1588
1589 \begin_layout Plain Layout
1590 ファイル\SpecialChar menuseparator
1591 書き出し
1592 \end_layout
1593
1594 \end_inset
1595
1596
1597 \begin_inset Flex MenuItem
1598 status collapsed
1599
1600 \begin_layout Plain Layout
1601 表示
1602 \end_layout
1603
1604 \end_inset
1605
1606 footlabel Label color for footnotす.
1607 \begin_inset Flex Code
1608 status collapsed
1609
1610 \begin_layout Plain Layout
1611 png
1612 \end_layout
1613
1614 \end_inset
1615
1616 のような純粋な画像形式は,このオプションを有効にしてはいけません.
1617 \begin_inset Flex Code
1618 status collapsed
1619
1620 \begin_layout Plain Layout
1621 pdf
1622 \end_layout
1623
1624 \end_inset
1625
1626 のようにベクター画像であると同時に文書でもあるような形式は,これを有効にします.
1627 \end_layout
1628
1629 \begin_layout Standard
1630 \begin_inset Flex MenuItem
1631 status collapsed
1632
1633 \begin_layout Plain Layout
1634 ベクター画像形式
1635 \end_layout
1636
1637 \end_inset
1638
1639 オプションは,\SpecialChar LyX
1640 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1641 \begin_inset Flex MenuItem
1642 status collapsed
1643
1644 \begin_layout Plain Layout
1645 pdflatex
1646 \end_layout
1647
1648 \end_inset
1649
1650 を書き出す際に,内包されている画像をどの形式に変換するかを決定するのに使用されます.
1651 \begin_inset Flex MenuItem
1652 status collapsed
1653
1654 \begin_layout Plain Layout
1655 pdflatex
1656 \end_layout
1657
1658 \end_inset
1659
1660 は,
1661 \begin_inset Flex MenuItem
1662 status collapsed
1663
1664 \begin_layout Plain Layout
1665 pdf
1666 \end_layout
1667
1668 \end_inset
1669
1670
1671 \begin_inset Flex MenuItem
1672 status collapsed
1673
1674 \begin_layout Plain Layout
1675 png
1676 \end_layout
1677
1678 \end_inset
1679
1680
1681 \begin_inset Flex MenuItem
1682 status collapsed
1683
1684 \begin_layout Plain Layout
1685 Des
1686 \end_layout
1687
1688 \end_inset
1689
1690 以外の画像形式を取り扱うことができないので,内包されている画像は,これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1691 \begin_inset Flex MenuItem
1692 status collapsed
1693
1694 \begin_layout Plain Layout
1695 pdf
1696 \end_layout
1697
1698 \end_inset
1699
1700
1701 \begin_inset Flex MenuItem
1702 status collapsed
1703
1704 \begin_layout Plain Layout
1705 png
1706 \end_layout
1707
1708 \end_inset
1709
1710
1711 \begin_inset Flex MenuItem
1712 status collapsed
1713
1714 \begin_layout Plain Layout
1715 jpg
1716 \end_layout
1717
1718 \end_inset
1719
1720 のいずれかになっていない場合には,ベクター画像形式オプションが有効になっている場合には
1721 \begin_inset Flex MenuItem
1722 status collapsed
1723
1724 \begin_layout Plain Layout
1725 pdf
1726 \end_layout
1727
1728 \end_inset
1729
1730 に変換され,そうでない場合には
1731 \begin_inset Flex MenuItem
1732 status collapsed
1733
1734 \begin_layout Plain Layout
1735 png
1736 \end_layout
1737
1738 \end_inset
1739
1740 に変換されます.
1741 \end_layout
1742
1743 \begin_layout Section
1744 複写子
1745 \end_layout
1746
1747 \begin_layout Standard
1748 形式の変換はすべて,\SpecialChar LyX
1749 の一時ディレクトリで行われるため,変換用にファイルを一時ディレクトリにコピーする前段階で,ファイルに変更を加える必要のあることがあります
1750 \begin_inset Foot
1751 status collapsed
1752
1753 \begin_layout Plain Layout
1754 たとえば,ファイルが他のファイル—たとえば画像—を,相対ファイル名を用いて参照している場合,このファイルが一時ディレクトリにコピーされると参照が無効になる場合が
1755 あります.
1756 \end_layout
1757
1758 \end_inset
1759
1760 .これは複写子によって取り扱われ,複写子は,ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,その過程でファイルに変更を加えます.
1761 \end_layout
1762
1763 \begin_layout Standard
1764 複写子の定義においては,以下の8つの変数を用いることができます.
1765 \end_layout
1766
1767 \begin_layout Labeling
1768 \labelwidthstring 00.00.0000
1769 \begin_inset Flex Code
1770 status collapsed
1771
1772 \begin_layout Plain Layout
1773 $$s
1774 \end_layout
1775
1776 \end_inset
1777
1778  \SpecialChar LyX
1779 のシステムディレクトリ(例:
1780 \begin_inset Flex MenuItem
1781 status collapsed
1782
1783 \begin_layout Plain Layout
1784 /usr/share/lyx
1785 \end_layout
1786
1787 \end_inset
1788
1789
1790 \end_layout
1791
1792 \begin_layout Labeling
1793 \labelwidthstring 00.00.0000
1794 \begin_inset Flex Code
1795 status collapsed
1796
1797 \begin_layout Plain Layout
1798 $$i
1799 \end_layout
1800
1801 \end_inset
1802
1803  入力ファイル
1804 \end_layout
1805
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Flex Code
1809 status collapsed
1810
1811 \begin_layout Plain Layout
1812 $$o
1813 \end_layout
1814
1815 \end_inset
1816
1817  出力ファイル
1818 \end_layout
1819
1820 \begin_layout Labeling
1821 \labelwidthstring 00.00.0000
1822 \begin_inset Flex Code
1823 status collapsed
1824
1825 \begin_layout Plain Layout
1826 $$b
1827 \end_layout
1828
1829 \end_inset
1830
1831  \SpecialChar LyX
1832 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1833 \end_layout
1834
1835 \begin_layout Labeling
1836 \labelwidthstring 00.00.0000
1837 \begin_inset Flex Code
1838 status collapsed
1839
1840 \begin_layout Plain Layout
1841 $$p
1842 \end_layout
1843
1844 \end_inset
1845
1846  \SpecialChar LyX
1847 一時ディレクトリのフルパス名
1848 \end_layout
1849
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Flex Code
1853 status collapsed
1854
1855 \begin_layout Plain Layout
1856 $$r
1857 \end_layout
1858
1859 \end_inset
1860
1861  処理されている元の\SpecialChar LyX
1862 ファイルのフルパス名
1863 \end_layout
1864
1865 \begin_layout Labeling
1866 \labelwidthstring 00.00.0000
1867 \begin_inset Flex Code
1868 status collapsed
1869
1870 \begin_layout Plain Layout
1871 $$f
1872 \end_layout
1873
1874 \end_inset
1875
1876  \SpecialChar LyX
1877 ファイルのファイル名(ディレクトリパスなし)
1878 \end_layout
1879
1880 \begin_layout Labeling
1881 \labelwidthstring 00.00.0000
1882 \begin_inset Flex Code
1883 status collapsed
1884
1885 \begin_layout Plain Layout
1886 $$l
1887 \end_layout
1888
1889 \end_inset
1890
1891  「\SpecialChar LaTeX
1892 名」
1893 \end_layout
1894
1895 \begin_layout Standard
1896 最後の変数は,\SpecialChar LaTeX
1897
1898 \series bold
1899
1900 \backslash
1901 include
1902 \series default
1903 コマンドで使用されるのと同形式のファイル名です.これは,書き出すファイルがそのようなインクルードに適している場合のみ,使用さるべきものです.
1904 \end_layout
1905
1906 \begin_layout Standard
1907 複写子は,出力ファイルに関する操作であれば,ほとんどすべてに対応することができます.たとえば,生成したPDFファイルを,
1908 \begin_inset Flex Code
1909 status collapsed
1910
1911 \begin_layout Plain Layout
1912 /home/you/pdf/
1913 \end_layout
1914
1915 \end_inset
1916
1917 という特別なディレクトリにコピーしたいものとしましょう.その場合には,以下のようなシェルスクリプトを書きます.
1918 \end_layout
1919
1920 \begin_layout Standard
1921 \begin_inset listings
1922 inline false
1923 status open
1924
1925 \begin_layout Plain Layout
1926
1927 #!/bin/bash
1928 \end_layout
1929
1930 \begin_layout Plain Layout
1931
1932 FROMFILE=$1
1933 \end_layout
1934
1935 \begin_layout Plain Layout
1936
1937 TOFILE=`basename $2`
1938 \end_layout
1939
1940 \begin_layout Plain Layout
1941
1942 DescriptionE /home/you/pdf/$TOFILE
1943 \end_layout
1944
1945 \end_inset
1946
1947 これを,例えば
1948 \begin_inset Flex Code
1949 status collapsed
1950
1951 \begin_layout Plain Layout
1952 /home/you/.lyx/scripts/pdfcopier.sh
1953 \end_layout
1954
1955 \end_inset
1956
1957 のような,自身のローカル\SpecialChar LyX
1958 ディレクトリに保存し,お使いのプラットフォームが必要とするならば,実行可能属性を付与します.それから,
1959 \begin_inset Flex MenuItem
1960 status collapsed
1961
1962 \begin_layout Plain Layout
1963 ツール\SpecialChar menuseparator
1964 設定
1965 \end_layout
1966
1967 \end_inset
1968
1969 ダイアログの
1970 \begin_inset Flex MenuItem
1971 status collapsed
1972
1973 \begin_layout Plain Layout
1974 ファイル処理\SpecialChar menuseparator
1975 ファイル形式
1976 \end_layout
1977
1978 \end_inset
1979
1980 の中で,
1981 \begin_inset Flex MenuItem
1982 status collapsed
1983
1984 \begin_layout Plain Layout
1985 PDF(pdflatex)
1986 \end_layout
1987
1988 \end_inset
1989
1990 形式—あるいは他のPDF形式のうちどれか—を選択し,
1991 \begin_inset Flex MenuItem
1992 status collapsed
1993
1994 \begin_layout Plain Layout
1995 複写子
1996 \end_layout
1997
1998 \end_inset
1999
2000 フィールドに
2001 \begin_inset Flex Code
2002 status collapsed
2003
2004 \begin_layout Plain Layout
2005 pdfcopier.sh $$i $$o
2006 \end_layout
2007
2008 \end_inset
2009
2010 と入力します.
2011 \end_layout
2012
2013 \begin_layout Standard
2014 複写子は,\SpecialChar LyX
2015 自身が様々な変換に使用します.たとえば,適切なプログラムが検出された場合,\SpecialChar LyX
2016 は自動的に
2017 \begin_inset Flex MenuItem
2018 status collapsed
2019
2020 \begin_layout Plain Layout
2021 HTML
2022 \end_layout
2023
2024 \end_inset
2025
2026 形式と
2027 \begin_inset Flex MenuItem
2028 status collapsed
2029
2030 \begin_layout Plain Layout
2031 HTML
2032 \begin_inset space ~
2033 \end_inset
2034
2035 (MS Word)
2036 \end_layout
2037
2038 \end_inset
2039
2040 形式の複写子を導入します.これらの形式を書き出す際,複写子は,本体のHTMLファイルだけでなく,関連した様々なファイル(スタイルファイルや画像など)もコピーされ
2041 るように手配します.これらのファイルはすべて,元の\SpecialChar LyX
2042 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2043 \begin_inset Foot
2044 status collapsed
2045
2046 \begin_layout Plain Layout
2047 この複写子の挙動は調整することができます.非必須の「-e」オプションは,コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,す
2048 べてのファイルがコピーされます.「-t」引数は,生成したディレクトリに書き加える拡張子を指定するものです.既定値では,これは「
2049 \begin_inset Flex MenuItem
2050 status collapsed
2051
2052 \begin_layout Plain Layout
2053 LyXconv
2054 \end_layout
2055
2056 \end_inset
2057
2058 」となっているので,
2059 \begin_inset Flex MenuItem
2060 status collapsed
2061
2062 \begin_layout Plain Layout
2063 /path/to/filename.lyx
2064 \end_layout
2065
2066 \end_inset
2067
2068 から生成されたHTMLファイルは,
2069 \begin_inset Flex MenuItem
2070 status collapsed
2071
2072 \begin_layout Plain Layout
2073 /path/to/filename.html.LyXconv
2074 \end_layout
2075
2076 \end_inset
2077
2078 となります..
2079  
2080 \end_layout
2081
2082 \end_inset
2083
2084
2085 \end_layout
2086
2087 \begin_layout Section
2088 変換子
2089 \begin_inset CommandInset label
2090 LatexCommand label
2091 name "sec:変換子"
2092
2093 \end_inset
2094
2095
2096 \end_layout
2097
2098 \begin_layout Standard
2099 各形式間でファイルを変換するために,ご自身の変換子を定義することができます.これは,
2100 \begin_inset Flex MenuItem
2101 status collapsed
2102
2103 \begin_layout Plain Layout
2104 ツール\SpecialChar menuseparator
2105 設定\SpecialChar menuseparator
2106 ファイル処理\SpecialChar menuseparator
2107 変換子
2108 \end_layout
2109
2110 \end_inset
2111
2112 ダイアログで行います.
2113 \end_layout
2114
2115 \begin_layout Standard
2116 新規に変換子を定義するには,ドロップダウンリストから
2117 \begin_inset Flex MenuItem
2118 status collapsed
2119
2120 \begin_layout Plain Layout
2121 変換元の形式
2122 \end_layout
2123
2124 \end_inset
2125
2126
2127 \begin_inset Flex MenuItem
2128 status collapsed
2129
2130 \begin_layout Plain Layout
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 追加
2142 \end_layout
2143
2144 \end_inset
2145
2146 ボタンを押してください.変換子の定義には,以下のような変数を使用することができます.
2147 \end_layout
2148
2149 \begin_layout Labeling
2150 \labelwidthstring 00.00.0000
2151 \begin_inset Flex Code
2152 status collapsed
2153
2154 \begin_layout Plain Layout
2155 $$s
2156 \end_layout
2157
2158 \end_inset
2159
2160  \SpecialChar LyX
2161 システムディレクトリ
2162 \end_layout
2163
2164 \begin_layout Labeling
2165 \labelwidthstring 00.00.0000
2166 \begin_inset Flex Code
2167 status collapsed
2168
2169 \begin_layout Plain Layout
2170 $$i
2171 \end_layout
2172
2173 \end_inset
2174
2175  入力ファイル
2176 \end_layout
2177
2178 \begin_layout Labeling
2179 \labelwidthstring 00.00.0000
2180 \begin_inset Flex Code
2181 status collapsed
2182
2183 \begin_layout Plain Layout
2184 $$o
2185 \end_layout
2186
2187 \end_inset
2188
2189  出力ファイル
2190 \end_layout
2191
2192 \begin_layout Labeling
2193 \labelwidthstring 00.00.0000
2194 \begin_inset Flex Code
2195 status collapsed
2196
2197 \begin_layout Plain Layout
2198 $$b
2199 \end_layout
2200
2201 \end_inset
2202
2203  入力ファイルのベースファイル名(拡張子をとった部分)
2204 \end_layout
2205
2206 \begin_layout Labeling
2207 \labelwidthstring 00.00.0000
2208 \begin_inset Flex Code
2209 status collapsed
2210
2211 \begin_layout Plain Layout
2212 $$p
2213 \end_layout
2214
2215 \end_inset
2216
2217  入力ファイルのパス
2218 \end_layout
2219
2220 \begin_layout Labeling
2221 \labelwidthstring 00.00.0000
2222 \begin_inset Flex Code
2223 status collapsed
2224
2225 \begin_layout Plain Layout
2226 $$r
2227 \end_layout
2228
2229 \end_inset
2230
2231  元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2232 \end_layout
2233
2234 \begin_layout Labeling
2235 \labelwidthstring 00.00.0000
2236 \begin_inset Flex Code
2237 status collapsed
2238
2239 \begin_layout Plain Layout
2240 $$e
2241 \end_layout
2242
2243 \end_inset
2244
2245  文書エンコーディングのiconv名
2246 \end_layout
2247
2248 \begin_layout Standard
2249 \begin_inset Flex MenuItem
2250 status collapsed
2251
2252 \begin_layout Plain Layout
2253 追加フラグ
2254 \end_layout
2255
2256 \end_inset
2257
2258 フィールドには,以下のフラグをコンマで区切って入力することができます.
2259 \end_layout
2260
2261 \begin_layout Labeling
2262 \labelwidthstring 00.00.0000
2263 \begin_inset Flex Code
2264 status collapsed
2265
2266 \begin_layout Plain Layout
2267 latex
2268 \end_layout
2269
2270 \end_inset
2271
2272  この変換子が\SpecialChar LaTeX
2273 の一種を実行することを示します.これによって,\SpecialChar LyX
2274 の\SpecialChar LaTeX
2275 エラーログに記録を残せるようになります.
2276 \end_layout
2277
2278 \begin_layout Labeling
2279 \labelwidthstring 00.00.0000
2280 \begin_inset Flex Code
2281 status collapsed
2282
2283 \begin_layout Plain Layout
2284 needaux
2285 \end_layout
2286
2287 \end_inset
2288
2289  変換に\SpecialChar LaTeX
2290
2291 \begin_inset Flex MenuItem
2292 status collapsed
2293
2294 \begin_layout Plain Layout
2295 .aux
2296 \end_layout
2297
2298 \end_inset
2299
2300 ファイルが必要であることを示します.
2301 \end_layout
2302
2303 \begin_layout Labeling
2304 \labelwidthstring 00.00.0000
2305 \begin_inset Flex Code
2306 status collapsed
2307
2308 \begin_layout Plain Layout
2309 nice
2310 \end_layout
2311
2312 \end_inset
2313
2314  バックエンドからの
2315 \begin_inset Quotes erd
2316 \end_inset
2317
2318 nice
2319 \begin_inset Quotes erd
2320 \end_inset
2321
2322 なファイル,つまり\SpecialChar LyX
2323 が書き出す\SpecialChar LaTeX
2324 ファイルのように,
2325 \begin_inset Flex Code
2326 status open
2327
2328 \begin_layout Plain Layout
2329 input@path
2330 \end_layout
2331
2332 \end_inset
2333
2334 のない\SpecialChar LaTeX
2335 ファイルを必要とします.
2336 \end_layout
2337
2338 \begin_layout Labeling
2339 \labelwidthstring 00.00.0000
2340 \begin_inset Flex Code
2341 status collapsed
2342
2343 \begin_layout Plain Layout
2344 xml
2345 \end_layout
2346
2347 \end_inset
2348
2349  出力がXMLであることを示します.
2350 \end_layout
2351
2352 \begin_layout Standard
2353 以下の3つのフラグは 
2354 \begin_inset Flex MenuItem
2355 status collapsed
2356
2357 \begin_layout Plain Layout
2358 key
2359 \begin_inset space ~
2360 \end_inset
2361
2362 =
2363 \begin_inset space ~
2364 \end_inset
2365
2366 value
2367 \end_layout
2368
2369 \end_inset
2370
2371 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2372 \end_layout
2373
2374 \begin_layout Labeling
2375 \labelwidthstring 00.00.0000
2376 \begin_inset Flex Code
2377 status collapsed
2378
2379 \begin_layout Plain Layout
2380 parselog
2381 \end_layout
2382
2383 \end_inset
2384
2385  これを指定すると,変換子の標準エラーが
2386 \begin_inset Flex Code
2387 status collapsed
2388
2389 \begin_layout Plain Layout
2390 infile.out
2391 \end_layout
2392
2393 \end_inset
2394
2395 ファイルにリダイレクトされ,引数に指定されたスクリプトが
2396 \begin_inset Flex Code
2397 status collapsed
2398
2399 \begin_layout Plain Layout
2400 script < infile.out > infile.log
2401 \end_layout
2402
2403 \end_inset
2404
2405 の形で実行されるようになります.引数には
2406 \begin_inset Flex Code
2407 status collapsed
2408
2409 \begin_layout Plain Layout
2410 $$s
2411 \end_layout
2412
2413 \end_inset
2414
2415 を指定することができます.
2416 \end_layout
2417
2418 \begin_layout Labeling
2419 \labelwidthstring 00.00.0000
2420 \begin_inset Flex Code
2421 status collapsed
2422
2423 \begin_layout Plain Layout
2424 resultdir
2425 \end_layout
2426
2427 \end_inset
2428
2429  これには,変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2430 はこのディレクトリを作成せず,ここに何もコピーしませんが,このディレクトリを宛先にコ
2431 ピーします.引数には,
2432 \begin_inset Flex Code
2433 status collapsed
2434
2435 \begin_layout Plain Layout
2436 $$b
2437 \end_layout
2438
2439 \end_inset
2440
2441 を使用することができ,これはディレクトリがコピーされる際に,入力ファイルおよび出力ファイルのベース名で置換されます.
2442 \begin_inset Newline newline
2443 \end_inset
2444
2445 resultdirとusetempdirは,同時に用いることはできませんのでご注意ください.前者が指定されているときには,後者は無視されます.
2446 \end_layout
2447
2448 \begin_layout Labeling
2449 \labelwidthstring 00.00.0000
2450 \begin_inset Flex Code
2451 status collapsed
2452
2453 \begin_layout Plain Layout
2454 resultfile
2455 \end_layout
2456
2457 \end_inset
2458
2459  これは出力ファイル名を指定するもので,
2460 \begin_inset Flex Code
2461 status collapsed
2462
2463 \begin_layout Plain Layout
2464 $$b
2465 \end_layout
2466
2467 \end_inset
2468
2469 を使用することができます.resultdirが指定されているときのみ有効で,必ず用いる必要はありません.指定されていなければ,既定値は「index」です.
2470 \end_layout
2471
2472 \begin_layout Standard
2473 最後の3つは,\SpecialChar LyX
2474 とともに導入される変換子には,現在いずれも使用されておりません.
2475 \end_layout
2476
2477 \begin_layout Standard
2478 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,「\SpecialChar LyX
2479 からPostScript」変換子が定義されていないのに,\SpecialChar LyX
2480 はPostScrip
2481 tを書き出していることに気づかれることでしょう.これは,まず\SpecialChar LaTeX
2482 ファイルを生成した後に(これには変換子を定義する必要はありません),「LaTeXからDVI」変換子を
2483 使用してDVIに変換し,最後に,得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2484 はこのような変換子の「連鎖」を自動的に見つけ,つねに最
2485 も短い連鎖を選択します.しかしながら,なお形式間に複数の変換方法を定義することも可能です.たとえば,標準的な\SpecialChar LyX
2486 設定は,\SpecialChar LaTeX
2487 からPDFへ変換するのに,以下の3つの方法を
2488 用意しています.
2489 \end_layout
2490
2491 \begin_layout Enumerate
2492 直接
2493 \begin_inset Flex MenuItem
2494 status collapsed
2495
2496 \begin_layout Plain Layout
2497 pdflatex
2498 \end_layout
2499
2500 \end_inset
2501
2502 を使用するもの
2503 \end_layout
2504
2505 \begin_layout Enumerate
2506 (DVIと)PostScriptを経由して
2507 \begin_inset Flex MenuItem
2508 status collapsed
2509
2510 \begin_layout Plain Layout
2511 ps2pdf
2512 \end_layout
2513
2514 \end_inset
2515
2516 を使用するもの
2517 \end_layout
2518
2519 \begin_layout Enumerate
2520 DVI経由で
2521 \begin_inset Flex MenuItem
2522 status collapsed
2523
2524 \begin_layout Plain Layout
2525 dvipdfm
2526 \end_layout
2527
2528 \end_inset
2529
2530 を使用するもの
2531 \end_layout
2532
2533 \begin_layout Enumerate
2534 直接
2535 \begin_inset Flex MenuItem
2536 status collapsed
2537
2538 \begin_layout Plain Layout
2539 Xe\SpecialChar TeX
2540
2541 \end_layout
2542
2543 \end_inset
2544
2545 を使用するもの
2546 \end_layout
2547
2548 \begin_layout Enumerate
2549 直接
2550 \begin_inset Flex MenuItem
2551 status collapsed
2552
2553 \begin_layout Plain Layout
2554 Lua\SpecialChar TeX
2555
2556 \end_layout
2557
2558 \end_inset
2559
2560 を使用するもの
2561 \end_layout
2562
2563 \begin_layout Standard
2564 このように代替連鎖を定義するには,第
2565 \begin_inset CommandInset ref
2566 LatexCommand ref
2567 reference "sec:ファイル形式"
2568
2569 \end_inset
2570
2571 節に述べられているように,ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,標準設定では,
2572 \begin_inset Flex MenuItem
2573 status collapsed
2574
2575 \begin_layout Plain Layout
2576 pdf
2577 \end_layout
2578
2579 \end_inset
2580
2581 (
2582 \begin_inset Flex MenuItem
2583 status collapsed
2584
2585 \begin_layout Plain Layout
2586 ps2pdf
2587 \end_layout
2588
2589 \end_inset
2590
2591 用)・
2592 \begin_inset Flex MenuItem
2593 status collapsed
2594
2595 \begin_layout Plain Layout
2596 pdf2
2597 \end_layout
2598
2599 \end_inset
2600
2601 (
2602 \begin_inset Flex MenuItem
2603 status collapsed
2604
2605 \begin_layout Plain Layout
2606 pdflatex
2607 \end_layout
2608
2609 \end_inset
2610
2611 用)・
2612 \begin_inset Flex MenuItem
2613 status collapsed
2614
2615 \begin_layout Plain Layout
2616 pdf3
2617 \end_layout
2618
2619 \end_inset
2620
2621 (
2622 \begin_inset Flex MenuItem
2623 status collapsed
2624
2625 \begin_layout Plain Layout
2626 dvipdfm
2627 \end_layout
2628
2629 \end_inset
2630
2631 用)・
2632 \begin_inset Flex MenuItem
2633 status collapsed
2634
2635 \begin_layout Plain Layout
2636 pdf4
2637 \end_layout
2638
2639 \end_inset
2640
2641 (
2642 \begin_inset Flex MenuItem
2643 status collapsed
2644
2645 \begin_layout Plain Layout
2646 Xe\SpecialChar TeX
2647
2648 \end_layout
2649
2650 \end_inset
2651
2652 用)・
2653 \begin_inset Flex MenuItem
2654 status collapsed
2655
2656 \begin_layout Plain Layout
2657 pdf5
2658 \end_layout
2659
2660 \end_inset
2661
2662 (
2663 \begin_inset Flex MenuItem
2664 status collapsed
2665
2666 \begin_layout Plain Layout
2667 Lua\SpecialChar TeX
2668
2669 \end_layout
2670
2671 \end_inset
2672
2673 用\SpecialChar softhyphen
2674 ) と命名された形式が定義されていて,すべて共通の拡張子
2675 \begin_inset Flex MenuItem
2676 status collapsed
2677
2678 \begin_layout Plain Layout
2679 .pdf
2680 \end_layout
2681
2682 \end_inset
2683
2684 を持ち,上記で言及した各変換方法に対応しています.
2685 \end_layout
2686
2687 \begin_layout Chapter
2688 \SpecialChar LyX
2689 の各国語対応
2690 \begin_inset CommandInset label
2691 LatexCommand label
2692 name "cha:LyXの各国語対応"
2693
2694 \end_inset
2695
2696
2697 \end_layout
2698
2699 \begin_layout Standard
2700 \SpecialChar LyX
2701 は,翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,\SpecialChar LyX
2702 は30言語の翻訳を提供しています.選択した言語は,使用する
2703 \emph on
2704 ロケール
2705 \emph default
2706 と呼ばれます(ロケール設定についての詳しい資料は,お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,マニュアルページの
2707 \begin_inset Flex Code
2708 status collapsed
2709
2710 \begin_layout Plain Layout
2711 locale(5)
2712 \end_layout
2713
2714 \end_inset
2715
2716 から見ると良いかもしれません).
2717 \end_layout
2718
2719 \begin_layout Standard
2720 これらの翻訳は適切に機能しますが,欠点もいくつかあることに注意してください.たとえば,ダイアログはすべて英文を念頭にデザインされているため,翻訳文の一部は,割り
2721 当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,他の障害は引き起こしません.また,翻訳によっては,すべての
2722 \begin_inset Flex Ruby
2723 status collapsed
2724
2725 \begin_layout Plain Layout
2726 捷径
2727 \begin_inset Argument post:1
2728 status collapsed
2729
2730 \begin_layout Plain Layout
2731 ショートカット
2732 \end_layout
2733
2734 \end_inset
2735
2736
2737 \end_layout
2738
2739 \end_inset
2740
2741 が定義されていないことに気づかれるでしょう.捷径のために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだ捷径を定義していないこともあるでしょう.も
2742 ちろん,私たちの各国語対応チーム—あなたも参加したいと思われるかもしれません
2743 \begin_inset Foot
2744 status collapsed
2745
2746 \begin_layout Plain Layout
2747 もしあなたが英語以外の言語を流暢に操れるならば,これらのチームに参加することは,\SpecialChar LyX
2748 コミュニティに報いるたいへん素晴らしい方法です!
2749 \end_layout
2750
2751 \end_inset
2752
2753 —は,\SpecialChar LyX
2754 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
2755 \end_layout
2756
2757 \begin_layout Section
2758 \SpecialChar LyX
2759 を翻訳する
2760 \end_layout
2761
2762 \begin_layout Subsection
2763 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
2764 \begin_inset Argument 1
2765 status collapsed
2766
2767 \begin_layout Plain Layout
2768 GUI(テキストメッセージ)を翻訳する
2769 \end_layout
2770
2771 \end_inset
2772
2773
2774 \end_layout
2775
2776 \begin_layout Standard
2777 \SpecialChar LyX
2778 は,操作画面の国際化対応にGNU 
2779 \begin_inset Flex Code
2780 status collapsed
2781
2782 \begin_layout Plain Layout
2783 gettext
2784 \end_layout
2785
2786 \end_inset
2787
2788 ライブラリを使用します.\SpecialChar LyX
2789 のすべてのメニューやダイアログでお好みの言語を話させたいときには,その言語の
2790 \begin_inset Flex Code
2791 status collapsed
2792
2793 \begin_layout Plain Layout
2794 po
2795 \end_layout
2796
2797 \end_inset
2798
2799 ファイルが必要です.このファイルが利用可能であれば,そこから
2800 \begin_inset Flex Code
2801 status collapsed
2802
2803 \begin_layout Plain Layout
2804 mo
2805 \end_layout
2806
2807 \end_inset
2808
2809 ファイルを生成して,この
2810 \begin_inset Flex Code
2811 status collapsed
2812
2813 \begin_layout Plain Layout
2814 mo
2815 \end_layout
2816
2817 \end_inset
2818
2819 ファイルをインストールしなくてはなりません.この全過程は,GNU 
2820 \begin_inset Flex Code
2821 status collapsed
2822
2823 \begin_layout Plain Layout
2824 gettext
2825 \end_layout
2826
2827 \end_inset
2828
2829 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,もしせっかくするのであれば,あなたの骨折りの結果を\SpecialChar LyX
2830 コミュニティの他の人々と分かち
2831 合いませんか.どのように段取りを進めればよいか,詳しくは\SpecialChar LyX
2832 開発者メーリングリストにメールを送ってください.
2833 \end_layout
2834
2835 \begin_layout Standard
2836 要約すれば,以下のように行います(xxは言語コードを表します).
2837 \end_layout
2838
2839 \begin_layout Itemize
2840 \SpecialChar LyX
2841 ソースコードをチェックアウトしてください(
2842 \begin_inset CommandInset href
2843 LatexCommand href
2844 name "ウェブ上の情報"
2845 target "http://www.lyx.org/HowToUseGIT"
2846 literal "false"
2847
2848 \end_inset
2849
2850 参照).
2851 \end_layout
2852
2853 \begin_layout Itemize
2854 \begin_inset Flex Code
2855 status collapsed
2856
2857 \begin_layout Plain Layout
2858 lyx.pot
2859 \end_layout
2860
2861 \end_inset
2862
2863 ファイルを
2864 \begin_inset Flex Code
2865 status collapsed
2866
2867 \begin_layout Plain Layout
2868 **.po
2869 \end_layout
2870
2871 \end_inset
2872
2873 ファイルのあるフォルダにコピーして,
2874 \begin_inset Flex Code
2875 status collapsed
2876
2877 \begin_layout Plain Layout
2878 xx.po
2879 \end_layout
2880
2881 \end_inset
2882
2883 に名前を付け替えてください(
2884 \begin_inset Flex Code
2885 status collapsed
2886
2887 \begin_layout Plain Layout
2888 lyx.pot
2889 \end_layout
2890
2891 \end_inset
2892
2893 がどこにもない場合には,コンソールからそのディレクトリで
2894 \begin_inset Flex Code
2895 status collapsed
2896
2897 \begin_layout Plain Layout
2898 make lyx.pot
2899 \end_layout
2900
2901 \end_inset
2902
2903 コマンドを実行し,作成し直すか,他言語の既存のpoファイルをひな型として使用することができます).
2904 \end_layout
2905
2906 \begin_layout Itemize
2907 \begin_inset Flex Code
2908 status collapsed
2909
2910 \begin_layout Plain Layout
2911 xx.po
2912 \end_layout
2913
2914 \end_inset
2915
2916 を編集します.
2917 \begin_inset Foot
2918 status collapsed
2919
2920 \begin_layout Plain Layout
2921 これは単なるテキストファイルなので,どのテキストエディタでも編集できます.しかし,
2922 \family typewriter
2923 Poedit
2924 \family default
2925 (全プラットフォーム用)や
2926 \family typewriter
2927 KBabel
2928 \family default
2929 (KDE用)のように,この目的の編集をサポートする特別なプログラムがあります.
2930 \family typewriter
2931 Emacs
2932 \family default
2933 にも
2934 \begin_inset Flex Code
2935 status collapsed
2936
2937 \begin_layout Plain Layout
2938 po
2939 \end_layout
2940
2941 \end_inset
2942
2943 ファイルを編集するための「モード」があります,第
2944 \begin_inset Flex URL
2945 status open
2946
2947 \begin_layout Plain Layout
2948
2949 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html
2950 \backslash
2951 #PO-Mode
2952 \end_layout
2953
2954 \end_inset
2955
2956
2957 \end_layout
2958
2959 \end_inset
2960
2961 メニューラベルやウィジェットラベルのうちには,翻訳しなくてはならない
2962 \begin_inset Flex Ruby
2963 status collapsed
2964
2965 \begin_layout Plain Layout
2966 捷径
2967 \begin_inset Argument post:1
2968 status collapsed
2969
2970 \begin_layout Plain Layout
2971 ショートカット
2972 \end_layout
2973
2974 \end_inset
2975
2976
2977 \end_layout
2978
2979 \end_inset
2980
2981 がある場合があります.これらのキーは「|」の後に記されており,当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,新しい
2982 \begin_inset Flex Code
2983 status collapsed
2984
2985 \begin_layout Plain Layout
2986 po
2987 \end_layout
2988
2989 \end_inset
2990
2991 ファイルの冒頭に,あなたの電子メールアドレスなどの情報も書き加えて,人々があなたに提案や,滑稽な怒りのメッセージを届けることができるようにしてください.
2992 \end_layout
2993
2994 \begin_layout Standard
2995 もし,あなたがこれを自身のためだけに行っているのであれば,
2996 \end_layout
2997
2998 \begin_layout Itemize
2999 \begin_inset Flex Code
3000 status collapsed
3001
3002 \begin_layout Plain Layout
3003 xx.mo
3004 \end_layout
3005
3006 \end_inset
3007
3008 を生成してください.これは
3009 \begin_inset Flex Code
3010 status collapsed
3011
3012 \begin_layout Plain Layout
3013 msgfmt -o xx.mo < xx.po
3014 \end_layout
3015
3016 \end_inset
3017
3018 でできます.
3019 \end_layout
3020
3021 \begin_layout Itemize
3022 この
3023 \begin_inset Flex Code
3024 status collapsed
3025
3026 \begin_layout Plain Layout
3027 mo
3028 \end_layout
3029
3030 \end_inset
3031
3032 ファイルを,お使いのロケールツリー中,言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3033 \begin_inset Flex Code
3034 status collapsed
3035
3036 \begin_layout Plain Layout
3037 lyx.mo
3038 \end_layout
3039
3040 \end_inset
3041
3042 という名称にしてください(例:
3043 \begin_inset Flex Code
3044 status collapsed
3045
3046 \begin_layout Plain Layout
3047 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3048 \end_layout
3049
3050 \end_inset
3051
3052 ).
3053 \end_layout
3054
3055 \begin_layout Standard
3056 しかしながら前述のように,この新しい
3057 \begin_inset Flex Code
3058 status collapsed
3059
3060 \begin_layout Plain Layout
3061 po
3062 \end_layout
3063
3064 \end_inset
3065
3066 ファイルを他の人たちが使用できるよう,\SpecialChar LyX
3067 頒布版に追加できることが最善です.これを追加するには,\SpecialChar LyX
3068 に変更を加える必要がありますので,もしその気があれば,開発者メーリン
3069 グリストに電子メールを送ってください.
3070 \end_layout
3071
3072 \begin_layout Subsubsection
3073 多義訳語メッセージ
3074 \end_layout
3075
3076 \begin_layout Standard
3077 時には,一つの英語のメッセージが,翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3078 \begin_inset Flex Code
3079 status collapsed
3080
3081 \begin_layout Plain Layout
3082 To
3083 \end_layout
3084
3085 \end_inset
3086
3087 というメッセージで,これは英語で「to」がどういう意味を持っているかによって,独語ではNachと訳されたりBisと訳されたりします.GNU 
3088 \begin_inset Flex Code
3089 status collapsed
3090
3091 \begin_layout Plain Layout
3092 gettext
3093 \end_layout
3094
3095 \end_inset
3096
3097 は,このような多義訳語を
3098 \begin_inset Flex Code
3099 status collapsed
3100
3101 \begin_layout Plain Layout
3102 To
3103 \end_layout
3104
3105 \end_inset
3106
3107 の代わりに,
3108 \begin_inset Flex Code
3109 status collapsed
3110
3111 \begin_layout Plain Layout
3112 To[[as in 'From format x to format y']]
3113 \end_layout
3114
3115 \end_inset
3116
3117
3118 \begin_inset Flex Code
3119 status collapsed
3120
3121 \begin_layout Plain Layout
3122 To[[as in 'From page x to page y']]
3123 \end_layout
3124
3125 \end_inset
3126
3127 としなくてはなりません.これによって,これら2つの
3128 \begin_inset Flex Code
3129 status collapsed
3130
3131 \begin_layout Plain Layout
3132 To
3133 \end_layout
3134
3135 \end_inset
3136
3137 は,
3138 \begin_inset Flex Code
3139 status collapsed
3140
3141 \begin_layout Plain Layout
3142 gettext
3143 \end_layout
3144
3145 \end_inset
3146
3147 には別物と解釈され,それぞれ正しくNachとBisに訳すことができるようになります.
3148 \end_layout
3149
3150 \begin_layout Standard
3151 もちろん,この文脈情報は,翻訳が存在しないときには取り去られる必要がありますので,メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3152 の翻訳機構
3153 では,メッセージの終わりに二重大括弧で囲われているものはすべて,メッセージを表示する前に取り去るようにされています.
3154 \end_layout
3155
3156 \begin_layout Subsection
3157 説明書を翻訳する
3158 \end_layout
3159
3160 \begin_layout Standard
3161
3162 \begin_inset Flex MenuItem
3163 status collapsed
3164
3165 \begin_layout Plain Layout
3166 Help
3167 \end_layout
3168
3169 \end_inset
3170
3171 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!).説明書の翻訳版が利用可能であり
3172 \begin_inset Foot
3173 status collapsed
3174
3175 \begin_layout Plain Layout
3176 2008年3月現在,説明書の少なくとも一部が翻訳されている言語は14言語に上り,入門編が訳されているものはさらにいくつかあります.
3177 \end_layout
3178
3179 \end_inset
3180
3181 ,ロケールがその言語に設定されている場合,\SpecialChar LyX
3182 はこれを自動的に使用します.\SpecialChar LyX
3183 は,翻訳版を
3184 \begin_inset Flex Code
3185 status collapsed
3186
3187 \begin_layout Plain Layout
3188 LyXDir/doc/xx/DocName.lyx
3189 \end_layout
3190
3191 \end_inset
3192
3193
3194 \begin_inset Flex Code
3195 status collapsed
3196
3197 \begin_layout Plain Layout
3198 xx
3199 \end_layout
3200
3201 \end_inset
3202
3203 は現在使用している言語コード)で探します.翻訳文書がない場合には,既定の英語版が表示されます.翻訳版は,原典と同じファイル名(上述の
3204 \begin_inset Flex Code
3205 status collapsed
3206
3207 \begin_layout Plain Layout
3208 DocName
3209 \end_layout
3210
3211 \end_inset
3212
3213 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!),以下のような点をすぐに行
3214 うべきです.
3215 \end_layout
3216
3217 \begin_layout Itemize
3218 説明書翻訳ウェブページ
3219 \begin_inset CommandInset href
3220 LatexCommand href
3221 name "http://www.lyx.org/Translation"
3222 target "http://www.lyx.org/Translation"
3223 literal "false"
3224
3225 \end_inset
3226
3227 を確認してください.ここで,どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,説明書をお使いの言語に翻訳する作業の面倒を
3228 見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,私たちにあなたが興味をお持ちであることを知らせてください.
3229 \end_layout
3230
3231 \begin_layout Standard
3232 いったん実際の翻訳の仕事に取りかかったならば,トラブルを回避するいくつかのヒントがあります.
3233 \end_layout
3234
3235 \begin_layout Itemize
3236 文書化チームに所属してください!そのための情報が
3237 \begin_inset Flex Code
3238 status collapsed
3239
3240 \begin_layout Plain Layout
3241 Intro.lyx
3242 \end_layout
3243
3244 \end_inset
3245
3246
3247 \begin_inset Flex MenuItem
3248 status collapsed
3249
3250 \begin_layout Plain Layout
3251 ヘルプ\SpecialChar menuseparator
3252 はじめの一歩
3253 \end_layout
3254
3255 \end_inset
3256
3257 )にあります.また,この
3258 \begin_inset Flex Code
3259 status collapsed
3260
3261 \begin_layout Plain Layout
3262 Intro.lyx
3263 \end_layout
3264
3265 \end_inset
3266
3267 が最初に訳すべき文書です.
3268 \end_layout
3269
3270 \begin_layout Itemize
3271 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,何世紀にもわたって世界の至る所で,様々な慣行を発達させてきました.また,あなたの国
3272 で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3273 \emph on
3274 警告!活版技術は病みつきになる可能性があるので注意してくさい!
3275 \emph default
3276
3277 \end_layout
3278
3279 \begin_layout Itemize
3280 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3281 \begin_inset Flex Code
3282 status collapsed
3283
3284 \begin_layout Plain Layout
3285 UserDir/doc/xx/
3286 \end_layout
3287
3288 \end_inset
3289
3290 ディレクトリにコピーすれば,個人用の翻訳ヘルプファイルとして使用することができます.
3291 \begin_inset Newline newline
3292 \end_inset
3293
3294
3295 \begin_inset Note Greyedout
3296 status open
3297
3298 \begin_layout Plain Layout
3299
3300 \series bold
3301 【註】
3302 \series default
3303 外部素材(画像など)のある複雑な文書の場合,例えば一時ディレクトリなどにコピーを作ると,文書を別の場所に移したとき,外部素材へのリンクは壊れてしまうかもしれない
3304 ことに注意してください.最も良い方法は,LyXツリーをgit (
3305 \begin_inset Flex URL
3306 status collapsed
3307
3308 \begin_layout Plain Layout
3309
3310 http://www.lyx.org/HowToUseGIT
3311 \end_layout
3312
3313 \end_inset
3314
3315 参照)からとってきて,そのdocファイルを直接編集するのが良いでしょう.
3316 \end_layout
3317
3318 \end_inset
3319
3320
3321 \end_layout
3322
3323 \begin_layout Itemize
3324 (\SpecialChar LyX
3325 チームが維持している)原典の説明書は,時折更新されます.変更点については,
3326 \begin_inset CommandInset href
3327 LatexCommand href
3328 name "http://www.lyx.org/trac/timeline"
3329 target "http://www.lyx.org/trac/timeline"
3330 literal "false"
3331
3332 \end_inset
3333
3334 のソースビューアでご覧ください.この方法で,翻訳文書のどの部分を更新しなくてはならないか,たやすく見つけることができます.
3335 \end_layout
3336
3337 \begin_layout Standard
3338 もし原典に誤りを見つけたならば,修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3339 \end_layout
3340
3341 \begin_layout Standard
3342 \begin_inset Branch OutDated
3343 inverted 0
3344 status collapsed
3345
3346 \begin_layout Section
3347 International Keyboard Support
3348 \end_layout
3349
3350 \begin_layout Standard
3351
3352 \emph on
3353 [Editor's Note: The following section is by
3354 \emph default
3355  
3356 \shape smallcaps
3357 \emph on
3358 Ivan Schreter
3359 \shape default
3360 .
3361  It needs to be fixed to conform to the new Documentation Style sheet and
3362  to make use of the new v1.0 features.
3363  The whole thing also needs to be merged with the section following it.-jw
3364  It may also be badly out of date.-rh (2008)]
3365 \end_layout
3366
3367 \begin_layout Subsection
3368 Defining Own Keymaps: Keymap File Format
3369 \end_layout
3370
3371 \begin_layout Standard
3372 Let's look at a keyboard definition file a little closer.
3373  It is a plain text file defining
3374 \end_layout
3375
3376 \begin_layout Itemize
3377 key-to-key or key-to-string translations
3378 \end_layout
3379
3380 \begin_layout Itemize
3381 dead keys
3382 \end_layout
3383
3384 \begin_layout Itemize
3385 dead keys exceptions
3386 \end_layout
3387
3388 \begin_layout Standard
3389 To define key-to-key or key-to-string translation, use this command:
3390 \end_layout
3391
3392 \begin_layout Quotation
3393 \begin_inset Flex Code
3394 status collapsed
3395
3396 \begin_layout Plain Layout
3397
3398 \backslash
3399 kmap
3400 \end_layout
3401
3402 \end_inset
3403
3404  
3405 \begin_inset Flex Code
3406 status collapsed
3407
3408 \begin_layout Plain Layout
3409 key
3410 \end_layout
3411
3412 \end_inset
3413
3414  outstring 
3415 \end_layout
3416
3417 \begin_layout Standard
3418 where 
3419 \begin_inset Flex Code
3420 status collapsed
3421
3422 \begin_layout Plain Layout
3423 key
3424 \end_layout
3425
3426 \end_inset
3427
3428  is the key to be translated and 
3429 \begin_inset Flex Code
3430 status collapsed
3431
3432 \begin_layout Plain Layout
3433 outstring
3434 \end_layout
3435
3436 \end_inset
3437
3438  is the string to be inserted into the document.
3439  To define dead keys, use:
3440 \end_layout
3441
3442 \begin_layout Quotation
3443 \begin_inset Flex Code
3444 status collapsed
3445
3446 \begin_layout Plain Layout
3447
3448 \backslash
3449 kmod
3450 \end_layout
3451
3452 \end_inset
3453
3454  
3455 \begin_inset Flex Code
3456 status collapsed
3457
3458 \begin_layout Plain Layout
3459 key
3460 \end_layout
3461
3462 \end_inset
3463
3464  deadkey
3465 \end_layout
3466
3467 \begin_layout Standard
3468 where 
3469 \begin_inset Flex Code
3470 status collapsed
3471
3472 \begin_layout Plain Layout
3473 key
3474 \end_layout
3475
3476 \end_inset
3477
3478  is a keyboard key and 
3479 \begin_inset Flex Code
3480 status collapsed
3481
3482 \begin_layout Plain Layout
3483 deadkey
3484 \end_layout
3485
3486 \end_inset
3487
3488  is dead key name.
3489  The following dead keys are supported (shortcut name is in parentheses):
3490 \end_layout
3491
3492 \begin_layout Quotation
3493
3494 \emph on
3495 Name
3496 \begin_inset space \hfill{}
3497 \end_inset
3498
3499 Example
3500 \end_layout
3501
3502 \begin_layout Quotation
3503 acute (acu)
3504 \begin_inset space \hfill{}
3505 \end_inset
3506
3507
3508 \lang english
3509 áéíóú
3510 \end_layout
3511
3512 \begin_layout Quotation
3513 grave (gra)
3514 \begin_inset space \hfill{}
3515 \end_inset
3516
3517
3518 \lang english
3519 àèìòù
3520 \end_layout
3521
3522 \begin_layout Quotation
3523 macron (mac)
3524 \begin_inset space \hfill{}
3525 \end_inset
3526
3527
3528 \lang english
3529  ō
3530 \end_layout
3531
3532 \begin_layout Quotation
3533 tilde (til)
3534 \begin_inset space \hfill{}
3535 \end_inset
3536
3537
3538 \lang english
3539 ñÑ
3540 \end_layout
3541
3542 \begin_layout Quotation
3543 underbar (underb)
3544 \begin_inset space \hfill{}
3545 \end_inset
3546
3547
3548 \begin_inset ERT
3549 status open
3550
3551 \begin_layout Plain Layout
3552
3553
3554 \backslash
3555 b o
3556 \end_layout
3557
3558 \end_inset
3559
3560
3561 \end_layout
3562
3563 \begin_layout Quotation
3564 cedilla (ced)
3565 \begin_inset space \hfill{}
3566 \end_inset
3567
3568
3569 \lang english
3570 çÇ
3571 \end_layout
3572
3573 \begin_layout Quotation
3574 underdot (underd)
3575 \begin_inset space \hfill{}
3576 \end_inset
3577
3578
3579 \begin_inset ERT
3580 status open
3581
3582 \begin_layout Plain Layout
3583
3584
3585 \backslash
3586 d o
3587 \end_layout
3588
3589 \end_inset
3590
3591
3592 \end_layout
3593
3594 \begin_layout Quotation
3595 circumflex (circu)
3596 \begin_inset space \hfill{}
3597 \end_inset
3598
3599
3600 \lang english
3601 âêîôû
3602 \end_layout
3603
3604 \begin_layout Quotation
3605 circle (circl)
3606 \begin_inset space \hfill{}
3607 \end_inset
3608
3609
3610 \lang english
3611 ÅůŮ
3612 \end_layout
3613
3614 \begin_layout Quotation
3615 tie (tie)
3616 \begin_inset space \hfill{}
3617 \end_inset
3618
3619
3620 \begin_inset ERT
3621 status open
3622
3623 \begin_layout Plain Layout
3624
3625
3626 \backslash
3627 t o
3628 \end_layout
3629
3630 \end_inset
3631
3632
3633 \end_layout
3634
3635 \begin_layout Quotation
3636 breve (bre)
3637 \begin_inset space \hfill{}
3638 \end_inset
3639
3640
3641 \lang english
3642 ă
3643 \lang japanese
3644
3645 \begin_inset ERT
3646 status open
3647
3648 \begin_layout Plain Layout
3649
3650
3651 \backslash
3652 u o
3653 \end_layout
3654
3655 \end_inset
3656
3657
3658 \end_layout
3659
3660 \begin_layout Quotation
3661 caron (car)
3662 \begin_inset space \hfill{}
3663 \end_inset
3664
3665
3666 \lang english
3667 čšž
3668 \end_layout
3669
3670 \begin_layout Quotation
3671 hungarian umlaut (hug)
3672 \begin_inset space \hfill{}
3673 \end_inset
3674
3675
3676 \lang english
3677 őű
3678 \end_layout
3679
3680 \begin_layout Quotation
3681 umlaut (uml)
3682 \begin_inset space \hfill{}
3683 \end_inset
3684
3685
3686 \lang english
3687 äöü
3688 \end_layout
3689
3690 \begin_layout Quotation
3691 dot (dot)
3692 \begin_inset space \hfill{}
3693 \end_inset
3694
3695
3696 \lang english
3697 ż
3698 \lang japanese
3699
3700 \begin_inset ERT
3701 status open
3702
3703 \begin_layout Plain Layout
3704
3705
3706 \backslash
3707 .s
3708 \end_layout
3709
3710 \end_inset
3711
3712
3713 \end_layout
3714
3715 \begin_layout Standard
3716 Since in many international keyboards there are exceptions to what some
3717  dead keys should do, you can define them using
3718 \end_layout
3719
3720 \begin_layout Quotation
3721 \begin_inset Flex Code
3722 status collapsed
3723
3724 \begin_layout Plain Layout
3725
3726 \backslash
3727 kxmod
3728 \end_layout
3729
3730 \end_inset
3731
3732  deadkey key outstring
3733 \end_layout
3734
3735 \begin_layout Standard
3736 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3737 , so you put in
3738 \end_layout
3739
3740 \begin_layout Quotation
3741 \begin_inset Flex Code
3742 status collapsed
3743
3744 \begin_layout Plain Layout
3745
3746 \backslash
3747 kxmod
3748 \end_layout
3749
3750 \end_inset
3751
3752  caron o "
3753 \backslash
3754 ^o"
3755 \end_layout
3756
3757 \begin_layout Standard
3758 to make it work correctly.
3759  Also, you have to define as exceptions dead keys over i and j, to remove
3760  the dot from them before inserting an accent mark.
3761  I will change this when the time comes, but so far I haven't had time.
3762 \end_layout
3763
3764 \begin_layout Standard
3765 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3766  double backslash.
3767  Also, quotes and 
3768 \begin_inset Flex Code
3769 status collapsed
3770
3771 \begin_layout Plain Layout
3772 #
3773 \end_layout
3774
3775 \end_inset
3776
3777  have different meaning.
3778  
3779 \begin_inset Flex Code
3780 status collapsed
3781
3782 \begin_layout Plain Layout
3783 #
3784 \end_layout
3785
3786 \end_inset
3787
3788  marks comments, quotes start and end \SpecialChar LaTeX
3789 -style commands.
3790  To enter quote, you'll need to use 
3791 \begin_inset Flex Code
3792 status collapsed
3793
3794 \begin_layout Plain Layout
3795
3796 \backslash
3797 "
3798 \end_layout
3799
3800 \end_inset
3801
3802 , to enter 
3803 \begin_inset Flex Code
3804 status collapsed
3805
3806 \begin_layout Plain Layout
3807 #
3808 \end_layout
3809
3810 \end_inset
3811
3812 , use 
3813 \begin_inset Flex Code
3814 status collapsed
3815
3816 \begin_layout Plain Layout
3817
3818 \backslash
3819 #
3820 \end_layout
3821
3822 \end_inset
3823
3824 .
3825 \end_layout
3826
3827 \begin_layout Standard
3828 If you make a keyboard description file that works for your language, please
3829  mail it to me, so I can include it in the next keymap distribution.
3830 \end_layout
3831
3832 \begin_layout Standard
3833 More keywords will be supported in keymap configuration file in future,
3834  like
3835 \end_layout
3836
3837 \begin_layout Itemize
3838 \begin_inset Flex Code
3839 status collapsed
3840
3841 \begin_layout Plain Layout
3842
3843 \backslash
3844 kinclude filename
3845 \end_layout
3846
3847 \end_inset
3848
3849
3850 \emph on
3851
3852 \begin_inset space \hfill{}
3853 \end_inset
3854
3855
3856 \begin_inset Flex Code
3857 status collapsed
3858
3859 \begin_layout Plain Layout
3860 include
3861 \end_layout
3862
3863 \end_inset
3864
3865  another file
3866 \end_layout
3867
3868 \begin_layout Itemize
3869 \begin_inset Flex Code
3870 status collapsed
3871
3872 \begin_layout Plain Layout
3873
3874 \backslash
3875 kprog program
3876 \end_layout
3877
3878 \end_inset
3879
3880
3881 \emph on
3882
3883 \begin_inset space \hfill{}
3884 \end_inset
3885
3886
3887 \begin_inset Flex Code
3888 status collapsed
3889
3890 \begin_layout Plain Layout
3891 define
3892 \end_layout
3893
3894 \end_inset
3895
3896  an external keymap translation program 
3897 \end_layout
3898
3899 \begin_layout Standard
3900 Also, it should look into 
3901 \begin_inset Flex Code
3902 status collapsed
3903
3904 \begin_layout Plain Layout
3905 lyxrc
3906 \end_layout
3907
3908 \end_inset
3909
3910  file for defaults, too (for example, a 
3911 \begin_inset Flex Code
3912 status collapsed
3913
3914 \begin_layout Plain Layout
3915
3916 \backslash
3917 kinclude
3918 \end_layout
3919
3920 \end_inset
3921
3922  option to include default keyboard).
3923 \end_layout
3924
3925 \end_inset
3926
3927
3928 \end_layout
3929
3930 \begin_layout Section
3931 国際キー配列
3932 \begin_inset CommandInset label
3933 LatexCommand label
3934 name "sec:国際キー配列"
3935
3936 \end_inset
3937
3938
3939 \end_layout
3940
3941 \begin_layout Standard
3942 \begin_inset Note Note
3943 status open
3944
3945 \begin_layout Plain Layout
3946 2008年3月にこの文書を改訂するに当たって,改訂者が本節の内容に詳しくなかったために,本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
3947 \end_layout
3948
3949 \begin_layout Plain Layout
3950 (RH)
3951 \end_layout
3952
3953 \end_inset
3954
3955
3956 \end_layout
3957
3958 \begin_layout Standard
3959 以下の2節では,
3960 \begin_inset Flex Code
3961 status collapsed
3962
3963 \begin_layout Plain Layout
3964 .kmap
3965 \end_layout
3966
3967 \end_inset
3968
3969 および
3970 \begin_inset Flex Code
3971 status collapsed
3972
3973 \begin_layout Plain Layout
3974 .cdef
3975 \end_layout
3976
3977 \end_inset
3978
3979 ファイルの文法を詳細に解説します.これらの節は,提供されているキー配列があなたのニーズに合わない場合に,自身用のキー配列をデザインする手助けとなるでしょう.
3980 \end_layout
3981
3982 \begin_layout Subsection
3983 .kmapファイル
3984 \end_layout
3985
3986 \begin_layout Standard
3987 \begin_inset Flex Code
3988 status collapsed
3989
3990 \begin_layout Plain Layout
3991 .kmap
3992 \end_layout
3993
3994 \end_inset
3995
3996 ファイルは,打鍵したものを文字や文字列に割り当てます.名前が示唆するように,これはキーボード配列表を定義します.
3997 \begin_inset Flex Code
3998 status collapsed
3999
4000 \begin_layout Plain Layout
4001 .kmap
4002 \end_layout
4003
4004 \end_inset
4005
4006 ファイルは,以下の各項で説明するように,
4007 \begin_inset Flex Code
4008 status collapsed
4009
4010 \begin_layout Plain Layout
4011 kmap
4012 \end_layout
4013
4014 \end_inset
4015
4016
4017 \begin_inset Flex Code
4018 status collapsed
4019
4020 \begin_layout Plain Layout
4021 kmod
4022 \end_layout
4023
4024 \end_inset
4025
4026
4027 \begin_inset Flex Code
4028 status collapsed
4029
4030 \begin_layout Plain Layout
4031 ksmod
4032 \end_layout
4033
4034 \end_inset
4035
4036
4037 \begin_inset Flex Code
4038 status collapsed
4039
4040 \begin_layout Plain Layout
4041 kcomb
4042 \end_layout
4043
4044 \end_inset
4045
4046 のキーワードを定義します.
4047 \end_layout
4048
4049 \begin_layout Labeling
4050 \labelwidthstring 00.00.0000
4051 \begin_inset Flex Code
4052 status collapsed
4053
4054 \begin_layout Plain Layout
4055 kmap
4056 \end_layout
4057
4058 \end_inset
4059
4060  文字を文字列に割り当てる
4061 \end_layout
4062
4063 \begin_layout LyX-Code
4064
4065 \backslash
4066 kmap 
4067 \family roman
4068 \emph on
4069 文字
4070 \family default
4071 \emph default
4072  
4073 \family roman
4074 \emph on
4075 文字列
4076 \end_layout
4077
4078 \begin_layout Standard
4079 これは,
4080 \emph on
4081 文字
4082 \emph default
4083
4084 \emph on
4085 文字列
4086 \emph default
4087 に割り当てます.
4088 \emph on
4089 文字列
4090 \emph default
4091 中では,二重引用符(")とバックスラッシュ(
4092 \backslash
4093 )は,前にバックスラッシュ(
4094 \backslash
4095 )を付けてエスケープしなくてはならないことに注意してください.
4096 \end_layout
4097
4098 \begin_layout Standard
4099 \begin_inset Flex MenuItem
4100 status collapsed
4101
4102 \begin_layout Plain Layout
4103 &
4104 \end_layout
4105
4106 \end_inset
4107
4108 を打鍵すると
4109 \begin_inset Flex MenuItem
4110 status collapsed
4111
4112 \begin_layout Plain Layout
4113 /
4114 \end_layout
4115
4116 \end_inset
4117
4118 記号が出力される
4119 \begin_inset Flex MenuItem
4120 status collapsed
4121
4122 \begin_layout Plain Layout
4123 kmap
4124 \end_layout
4125
4126 \end_inset
4127
4128 ステートメントを,一例としてあげると,
4129 \end_layout
4130
4131 \begin_layout LyX-Code
4132
4133 \backslash
4134 kmap & /
4135 \end_layout
4136
4137 \begin_layout Standard
4138 のようになります.
4139 \end_layout
4140
4141 \begin_layout Labeling
4142 \labelwidthstring 00.00.0000
4143 \begin_inset Flex Code
4144 status collapsed
4145
4146 \begin_layout Plain Layout
4147 kmod
4148 \end_layout
4149
4150 \end_inset
4151
4152  アクセント文字を指定する
4153 \end_layout
4154
4155 \begin_layout LyX-Code
4156
4157 \backslash
4158 kmod 
4159 \family roman
4160 \emph on
4161 文字 アクセント 許可文字
4162 \end_layout
4163
4164 \begin_layout Standard
4165 これは
4166 \emph on
4167 文字
4168 \emph default
4169
4170 \emph on
4171 許可文字
4172 \emph default
4173 のアクセントとするものです.これはデッドキー
4174 \begin_inset Foot
4175 status collapsed
4176
4177 \begin_layout Plain Layout
4178
4179 \emph on
4180 デッドキー
4181 \emph default
4182 という用語は,それ自身で文字を出力しないけれども,別のキーを続けて打つと,望んだアクセント文字を出力するキーのことを指し示します.たとえば,独語で
4183 \emph on
4184 ä
4185 \emph default
4186 のようなウムラウトのついた文字は,このようにして出すことができます.
4187 \end_layout
4188
4189 \end_inset
4190
4191 機構です.
4192 \end_layout
4193
4194 \begin_layout Standard
4195
4196 \emph on
4197 文字
4198 \emph default
4199 を打鍵してから
4200 \emph on
4201 許可文字
4202 \emph default
4203 にないキーを打鍵すると,
4204 \emph on
4205 文字
4206 \emph default
4207 の後に許可文字ではないその文字が出力として表示されます.
4208 \begin_inset Flex MenuItem
4209 status collapsed
4210
4211 \begin_layout Plain Layout
4212 Backspace
4213 \end_layout
4214
4215 \end_inset
4216
4217 はデッドキーを取り消しますので,
4218 \emph on
4219 文字
4220 \emph default
4221
4222 \begin_inset Flex MenuItem
4223 status collapsed
4224
4225 \begin_layout Plain Layout
4226 Backspace
4227 \end_layout
4228
4229 \end_inset
4230
4231 と打鍵すると,カーソルは一文字戻ることなく,文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4232 \end_layout
4233
4234 \begin_layout Standard
4235 以下の例は,'文字をacuteアクセントとして,a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4236 \end_layout
4237
4238 \begin_layout LyX-Code
4239
4240 \backslash
4241 kmod ' acute aeiouAEIOU
4242 \end_layout
4243
4244 \begin_layout Labeling
4245 \labelwidthstring 00.00.0000
4246 \begin_inset Flex Code
4247 status collapsed
4248
4249 \begin_layout Plain Layout
4250 ksmod
4251 \end_layout
4252
4253 \end_inset
4254
4255  アクセント文字に例外を指定する
4256 \end_layout
4257
4258 \begin_layout LyX-Code
4259
4260 \backslash
4261 kxmod  
4262 \family roman
4263 \emph on
4264 アクセント 文字 結果
4265 \end_layout
4266
4267 \begin_layout Standard
4268 これは
4269 \emph on
4270 文字
4271 \emph default
4272 上の
4273 \emph on
4274 アクセント
4275 \emph default
4276 について例外を指定するものです.ここで
4277 \emph on
4278 アクセント
4279 \emph default
4280 には,前出の
4281 \begin_inset Flex Code
4282 status collapsed
4283
4284 \begin_layout Plain Layout
4285
4286 \backslash
4287 kmod
4288 \end_layout
4289
4290 \end_inset
4291
4292 宣言で打鍵キーを既に割り当てられてなくてはならず,
4293 \emph on
4294 文字
4295 \emph default
4296
4297 \emph on
4298 アクセント
4299 \emph default
4300
4301 \emph on
4302 許可文字
4303 \emph default
4304 の集合に属していてはなりません.こうして
4305 \emph on
4306 アクセント
4307 \emph default
4308
4309 \emph on
4310 文字
4311 \emph default
4312 の順に入力すると,
4313 \emph on
4314 結果
4315 \emph default
4316 が出力されるようになります.
4317 \begin_inset Flex Code
4318 status collapsed
4319
4320 \begin_layout Plain Layout
4321 .kmap
4322 \end_layout
4323
4324 \end_inset
4325
4326 ファイルにこの宣言がない場合には,
4327 \emph on
4328 アクセント
4329 \emph default
4330
4331 \emph on
4332 文字
4333 \emph default
4334 と入力すると,
4335 \emph on
4336 アクセントキー
4337 \emph default
4338
4339 \emph on
4340 文字
4341 \emph default
4342
4343 \emph on
4344 アクセントキー
4345 \emph default
4346
4347 \begin_inset Flex Code
4348 status collapsed
4349
4350 \begin_layout Plain Layout
4351
4352 \backslash
4353 kmod
4354 \end_layout
4355
4356 \end_inset
4357
4358 宣言の最初の変数)と出力されます.
4359 \end_layout
4360
4361 \begin_layout Standard
4362 以下のコマンドを用いると,acute-i('i)と入力した場合,äiと出力されるようになります.
4363 \end_layout
4364
4365 \begin_layout LyX-Code
4366
4367 \backslash
4368 kxmod acute i "
4369 \backslash
4370
4371 \backslash
4372 '{
4373 \backslash
4374
4375 \backslash
4376 i}"
4377 \end_layout
4378
4379 \begin_layout Labeling
4380 \labelwidthstring 00.00.0000
4381 \begin_inset Flex Code
4382 status collapsed
4383
4384 \begin_layout Plain Layout
4385 kcomb
4386 \end_layout
4387
4388 \end_inset
4389
4390  2つのアクセント文字を結合する
4391 \end_layout
4392
4393 \begin_layout LyX-Code
4394
4395 \backslash
4396 kcomb 
4397 \family roman
4398 \emph on
4399 アクセント1 アクセント2 許可文字
4400 \end_layout
4401
4402 \begin_layout Standard
4403 これはなかなか難解になってきます.これは
4404 \emph on
4405 アクセント1
4406 \emph default
4407
4408 \emph on
4409 アクセント2
4410 \emph default
4411 を(この順番で)結びつけて,
4412 \emph on
4413 許可文字
4414 \emph default
4415 に効果を及ぼすようにします.
4416 \emph on
4417 アクセント1
4418 \emph default
4419
4420 \emph on
4421 アクセント2
4422 \emph default
4423 の打鍵キーは,ファイル内のこのコマンド
4424 \emph on
4425 よりも前に
4426 \emph default
4427
4428 \begin_inset Flex Code
4429 status collapsed
4430
4431 \begin_layout Plain Layout
4432
4433 \backslash
4434 kmod
4435 \end_layout
4436
4437 \end_inset
4438
4439 コマンドで設定されていなくてはなりません.
4440 \end_layout
4441
4442 \begin_layout Standard
4443 \begin_inset Flex Code
4444 status collapsed
4445
4446 \begin_layout Plain Layout
4447 greek.kmap
4448 \end_layout
4449
4450 \end_inset
4451
4452 ファイル上にある例をとってみましょう.
4453 \end_layout
4454
4455 \begin_layout LyX-Code
4456
4457 \backslash
4458 kmod ; acute aeioyvhAEIOYVH 
4459 \backslash
4460 kmod : umlaut iyIY 
4461 \backslash
4462 kcomb acute umlaut iyIY
4463 \end_layout
4464
4465 \begin_layout Standard
4466 これは
4467 \begin_inset Flex MenuItem
4468 status collapsed
4469
4470 \begin_layout Plain Layout
4471 ;:i
4472 \end_layout
4473
4474 \end_inset
4475
4476 を押すと
4477 \begin_inset Flex Code
4478 status collapsed
4479
4480 \begin_layout Plain Layout
4481
4482 \backslash
4483 '{
4484 \backslash
4485 "{i}}
4486 \end_layout
4487
4488 \end_inset
4489
4490 という効果を得るようにするものです.この場合のバックスペースは,最後のデッドキーを取り消すので,
4491 \begin_inset Flex MenuItem
4492 status collapsed
4493
4494 \begin_layout Plain Layout
4495 ;: Backspace i
4496 \end_layout
4497
4498 \end_inset
4499
4500 と押した場合には,
4501 \begin_inset Flex Code
4502 status collapsed
4503
4504 \begin_layout Plain Layout
4505
4506 \backslash
4507 '{i}
4508 \end_layout
4509
4510 \end_inset
4511
4512 となります.
4513 \end_layout
4514
4515 \begin_layout Subsection
4516 .cdefファイル
4517 \end_layout
4518
4519 \begin_layout Standard
4520 \begin_inset Flex Code
4521 status collapsed
4522
4523 \begin_layout Plain Layout
4524 .kmap
4525 \end_layout
4526
4527 \end_inset
4528
4529 による割り当てが行われた後,
4530 \begin_inset Flex Code
4531 status collapsed
4532
4533 \begin_layout Plain Layout
4534 .cdef
4535 \end_layout
4536
4537 \end_inset
4538
4539 ファイルは,記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
4540 頒布版には,現在のところ,少なくとも
4541 \begin_inset Flex Code
4542 status collapsed
4543
4544 \begin_layout Plain Layout
4545 iso8859-1.cdef
4546 \end_layout
4547
4548 \end_inset
4549
4550 ファイルと
4551 \begin_inset Flex Code
4552 status collapsed
4553
4554 \begin_layout Plain Layout
4555 iso8859-2.cdef
4556 \end_layout
4557
4558 \end_inset
4559
4560 ファイルが含まれています.
4561 \end_layout
4562
4563 \begin_layout Standard
4564 一般的に
4565 \begin_inset Flex Code
4566 status collapsed
4567
4568 \begin_layout Plain Layout
4569 .cdef
4570 \end_layout
4571
4572 \end_inset
4573
4574 ファイルは,
4575 \end_layout
4576
4577 \begin_layout LyX-Code
4578
4579 \family roman
4580 \emph on
4581 セット中の文字番号
4582 \family default
4583 \emph default
4584  
4585 \family roman
4586 \emph on
4587  文字列
4588 \end_layout
4589
4590 \begin_layout Standard
4591 という形の宣言の羅列です.たとえば,
4592 \begin_inset Flex MenuItem
4593 status collapsed
4594
4595 \begin_layout Plain Layout
4596
4597 \backslash
4598 '{e}
4599 \end_layout
4600
4601 \end_inset
4602
4603 をiso-8859-1セットの対応する文字(233)に割り当てるには,以下の宣言を用います.
4604 \end_layout
4605
4606 \begin_layout LyX-Code
4607 233 "
4608 \backslash
4609
4610 \backslash
4611 '{e}"
4612 \end_layout
4613
4614 \begin_layout Standard
4615 ここで,
4616 \emph on
4617 文字列
4618 \emph default
4619 中の
4620 \begin_inset Flex Code
4621 status collapsed
4622
4623 \begin_layout Plain Layout
4624
4625 \backslash
4626
4627 \end_layout
4628
4629 \end_inset
4630
4631
4632 \begin_inset Flex Code
4633 status collapsed
4634
4635 \begin_layout Plain Layout
4636 "
4637 \end_layout
4638
4639 \end_inset
4640
4641 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
4642 \begin_inset Flex Code
4643 status collapsed
4644
4645 \begin_layout Plain Layout
4646 iso-8859-7.cdef
4647 \end_layout
4648
4649 \end_inset
4650
4651 ファイルには,
4652 \end_layout
4653
4654 \begin_layout LyX-Code
4655 192 "
4656 \backslash
4657
4658 \backslash
4659 '{
4660 \backslash
4661
4662 \backslash
4663
4664 \backslash
4665 "{i}}"
4666 \begin_inset Newline newline
4667 \end_inset
4668
4669 192 "
4670 \backslash
4671
4672 \backslash
4673
4674 \backslash
4675 "{
4676 \backslash
4677
4678 \backslash
4679 '{i}}"
4680 \end_layout
4681
4682 \begin_layout Standard
4683 という例があります.\SpecialChar LyX
4684 は,キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,それがアクセント付き文字のように解釈ができない
4685 かどうかチェックして,画面上の文字にアクセントを引くことを試みます.
4686 \end_layout
4687
4688 \begin_layout Subsection
4689 デッドキー
4690 \end_layout
4691
4692 \begin_layout Standard
4693 国際文字のサポートを追加する第2の方法として,いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,アクセント付き文字を生成します.ここではそ
4694 の機能を説明するために,きわめて単純なデッドキーの作り方を説明します.
4695 \end_layout
4696
4697 \begin_layout Standard
4698 仮に,曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,自身の
4699 \begin_inset Flex Code
4700 status collapsed
4701
4702 \begin_layout Plain Layout
4703 lyxrc
4704 \end_layout
4705
4706 \end_inset
4707
4708 ファイル中で,
4709 \begin_inset Flex MenuItem
4710 status collapsed
4711
4712 \begin_layout Plain Layout
4713 ^
4714 \end_layout
4715
4716 \end_inset
4717
4718 キー(すなわち
4719 \begin_inset Flex MenuItem
4720 status collapsed
4721
4722 \begin_layout Plain Layout
4723 Shift-6
4724 \end_layout
4725
4726 \end_inset
4727
4728 キー)を,\SpecialChar LyX
4729 コマンドの
4730 \begin_inset Flex Code
4731 status collapsed
4732
4733 \begin_layout Plain Layout
4734 accent-circumflex
4735 \end_layout
4736
4737 \end_inset
4738
4739 に結びつけることができます.すると
4740 \begin_inset Flex MenuItem
4741 status collapsed
4742
4743 \begin_layout Plain Layout
4744 ^
4745 \end_layout
4746
4747 \end_inset
4748
4749 キーの後に文字を打ったときはいつでも,この文字上に曲折アクセントが付けられるようになります.たとえば「
4750 \begin_inset Flex MenuItem
4751 status collapsed
4752
4753 \begin_layout Plain Layout
4754 ^e
4755 \end_layout
4756
4757 \end_inset
4758
4759 」という打鍵順は「ê」という文字を生成します.しかしながら,もし「
4760 \begin_inset Flex MenuItem
4761 status collapsed
4762
4763 \begin_layout Plain Layout
4764 ^t
4765 \end_layout
4766
4767 \end_inset
4768
4769 」と打鍵したならば,「
4770 \begin_inset Flex MenuItem
4771 status collapsed
4772
4773 \begin_layout Plain Layout
4774 t
4775 \end_layout
4776
4777 \end_inset
4778
4779 」は曲折アクセントをとることは決してないために,\SpecialChar LyX
4780 はビープを鳴らして文句を付けます.デッドキーの後に
4781 \begin_inset Flex MenuItem
4782 status collapsed
4783
4784 \begin_layout Plain Layout
4785 スペース
4786 \end_layout
4787
4788 \end_inset
4789
4790 を打つと,アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,このキー上の文字を別のキーに割り当て直す必要が
4791 あります.たとえば,
4792 \begin_inset Flex MenuItem
4793 status collapsed
4794
4795 \begin_layout Plain Layout
4796 ,キー
4797 \end_layout
4798
4799 \end_inset
4800
4801 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
4802 \end_layout
4803
4804 \begin_layout Standard
4805 デッドキーを割り当てるのによく用いられる方法は,
4806 \begin_inset Flex MenuItem
4807 status collapsed
4808
4809 \begin_layout Plain Layout
4810 Meta-
4811 \end_layout
4812
4813 \end_inset
4814
4815
4816 \begin_inset Flex MenuItem
4817 status collapsed
4818
4819 \begin_layout Plain Layout
4820 Ctrl-
4821 \end_layout
4822
4823 \end_inset
4824
4825
4826 \begin_inset Flex MenuItem
4827 status collapsed
4828
4829 \begin_layout Plain Layout
4830 Shift-
4831 \end_layout
4832
4833 \end_inset
4834
4835 キーを,「
4836 \begin_inset Flex MenuItem
4837 status collapsed
4838
4839 \begin_layout Plain Layout
4840 ~
4841 \end_layout
4842
4843 \end_inset
4844
4845 」・「
4846 \begin_inset Flex MenuItem
4847 status collapsed
4848
4849 \begin_layout Plain Layout
4850 ,
4851 \end_layout
4852
4853 \end_inset
4854
4855 」・「
4856 \begin_inset Flex MenuItem
4857 status collapsed
4858
4859 \begin_layout Plain Layout
4860 ^
4861 \end_layout
4862
4863 \end_inset
4864
4865 」のようなアクセントと一緒に用いる方法です.また,
4866 \begin_inset Flex Code
4867 status collapsed
4868
4869 \begin_layout Plain Layout
4870 xmodmap
4871 \end_layout
4872
4873 \end_inset
4874
4875
4876 \begin_inset Flex Code
4877 status collapsed
4878
4879 \begin_layout Plain Layout
4880 xkeycaps
4881 \end_layout
4882
4883 \end_inset
4884
4885 を使って,特別な
4886 \begin_inset Flex Code
4887 status collapsed
4888
4889 \begin_layout Plain Layout
4890 Mode_Switch
4891 \end_layout
4892
4893 \end_inset
4894
4895 キーを設定する方法もあります.
4896 \begin_inset Flex Code
4897 status collapsed
4898
4899 \begin_layout Plain Layout
4900 Mode_Switch
4901 \end_layout
4902
4903 \end_inset
4904
4905 キーは,ちょうど
4906 \begin_inset Flex MenuItem
4907 status collapsed
4908
4909 \begin_layout Plain Layout
4910 Shift
4911 \end_layout
4912
4913 \end_inset
4914
4915 キーのように機能するので,アクセント文字を割り当てるのに使用できます.また,特定のキーを
4916 \begin_inset Flex Code
4917 status collapsed
4918
4919 \begin_layout Plain Layout
4920 usldead_cedilla
4921 \end_layout
4922
4923 \end_inset
4924
4925 などに割り当てることで,これらのキーをデッドキーに仕立て,このシンボリックキーを対応する\SpecialChar LyX
4926 コマンドに割り当てることもできます
4927 \begin_inset Foot
4928 status collapsed
4929
4930 \begin_layout Plain Layout
4931
4932 \noun on
4933 John Weiss
4934 \noun default
4935 からの註:これはまさに私が,自分の
4936 \begin_inset Flex Code
4937 status collapsed
4938
4939 \begin_layout Plain Layout
4940 ~/.lyx/lyxrc
4941 \end_layout
4942
4943 \end_inset
4944
4945
4946 \begin_inset Flex Code
4947 status collapsed
4948
4949 \begin_layout Plain Layout
4950 ~/.xmodmap
4951 \end_layout
4952
4953 \end_inset
4954
4955 で行っていることです.私は,
4956 \begin_inset Flex MenuItem
4957 status collapsed
4958
4959 \begin_layout Plain Layout
4960 Scroll
4961 \begin_inset space ~
4962 \end_inset
4963
4964 Lock
4965 \end_layout
4966
4967 \end_inset
4968
4969 キーを
4970 \begin_inset Flex Code
4971 status collapsed
4972
4973 \begin_layout Plain Layout
4974 Mode_Shift
4975 \end_layout
4976
4977 \end_inset
4978
4979 に仕立てて,多数の
4980 \begin_inset Flex Code
4981 status collapsed
4982
4983 \begin_layout Plain Layout
4984 usldead_*
4985 \end_layout
4986
4987 \end_inset
4988
4989 シンボリックキーを
4990 \begin_inset Flex MenuItem
4991 status collapsed
4992
4993 \begin_layout Plain Layout
4994 Scroll
4995 \begin_inset space ~
4996 \end_inset
4997
4998 Lock-^
4999 \end_layout
5000
5001 \end_inset
5002
5003
5004 \begin_inset Flex MenuItem
5005 status collapsed
5006
5007 \begin_layout Plain Layout
5008 Scroll
5009 \begin_inset space ~
5010 \end_inset
5011
5012 Lock-~
5013 \end_layout
5014
5015 \end_inset
5016
5017 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5018 \end_layout
5019
5020 \end_inset
5021
5022 .この
5023 \begin_inset Flex Code
5024 status collapsed
5025
5026 \begin_layout Plain Layout
5027 Mode_Switch
5028 \end_layout
5029
5030 \end_inset
5031
5032 キーには,
5033 \begin_inset Flex MenuItem
5034 status collapsed
5035
5036 \begin_layout Plain Layout
5037 Ctrl-
5038 \end_layout
5039
5040 \end_inset
5041
5042 キーの片方や使われていないファンクションキーなど,ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5043 コマンドについては,
5044 \emph on
5045 \SpecialChar LyX
5046 関数説明書
5047 \emph default
5048
5049 \begin_inset Flex Code
5050 status collapsed
5051
5052 \begin_layout Plain Layout
5053 LFUN_ACCENT_*
5054 \end_layout
5055
5056 \end_inset
5057
5058 の項をご覧ください.ここには完備した一覧があります.
5059 \end_layout
5060
5061 \begin_layout Subsection
5062 自分の言語設定を保存する
5063 \end_layout
5064
5065 \begin_layout Standard
5066 \begin_inset Flex MenuItem
5067 status collapsed
5068
5069 \begin_layout Plain Layout
5070 ツール\SpecialChar menuseparator
5071 設定
5072 \end_layout
5073
5074 \end_inset
5075
5076 ダイアログを使えば,\SpecialChar LyX
5077 を起動したときに,ご希望の言語環境に自動的に設定されるように,設定を編集することができます.
5078 \end_layout
5079
5080 \begin_layout Chapter
5081 文書クラス・レイアウト・ひな型の新規導入
5082 \begin_inset CommandInset label
5083 LatexCommand label
5084 name "cha:新規文書を導入"
5085
5086 \end_inset
5087
5088
5089 \begin_inset Argument 1
5090 status collapsed
5091
5092 \begin_layout Plain Layout
5093 文書クラスを新規に導入する
5094 \end_layout
5095
5096 \end_inset
5097
5098
5099 \end_layout
5100
5101 \begin_layout Standard
5102 この章では,新しく\SpecialChar LyX
5103 のレイアウトファイルやひな型ファイルを作成して,導入する手順を説明すると共に,新規に\SpecialChar LaTeX
5104 文書クラス(ドキュメントクラス)を正しく導入する方法を復習
5105 します.
5106 \end_layout
5107
5108 \begin_layout Standard
5109 まず,\SpecialChar LyX
5110 と\SpecialChar LaTeX
5111 の間の関係をどのように考えるべきか,若干の註釈を加えておくことにしましょう.理解していただきたいことは,ある意味において,\SpecialChar LyX
5112 は,La\SpecialChar TeX
5113 について何も知らないと
5114 云うことです.実際のところ,\SpecialChar LyX
5115 の観点からは,\SpecialChar LaTeX
5116 は,\SpecialChar LyX
5117 が出力を生成することができる,複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形
5118 式には,DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5119 は,とくに重要な形式ですが,\SpecialChar LyX
5120 がLa\SpecialChar TeX
5121 について持っている情報のほとんどは,実はプログラム本体には含まれて
5122 いないのです
5123 \begin_inset Foot
5124 status collapsed
5125
5126 \begin_layout Plain Layout
5127 過度に複雑なため,\SpecialChar LyX
5128 に「ハードコード化」されているコマンドもありますが,一般的に開発者は,これを「わるいこと」とみなしています.
5129 \end_layout
5130
5131 \end_inset
5132
5133 .このような情報は,
5134 \begin_inset Flex Code
5135 status collapsed
5136
5137 \begin_layout Plain Layout
5138 article.cls
5139 \end_layout
5140
5141 \end_inset
5142
5143 のような標準クラスでも,「レイアウトファイル」に保管されています.同様に,\SpecialChar LyX
5144 は,DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5145 が知っていることは,レイア
5146 ウトファイルの中にあります.
5147 \end_layout
5148
5149 \begin_layout Standard
5150 文書クラス用のレイアウトファイルは,\SpecialChar LyX
5151 構成体—対応する様式や何らかの差込枠などを有する段落群—と,それに対応する\SpecialChar LaTeX
5152 構成体・DocBook構成体・XHTML構成体との
5153 間の翻訳指南書のようなものです.たとえば,\SpecialChar LyX
5154
5155 \begin_inset Flex Code
5156 status collapsed
5157
5158 \begin_layout Plain Layout
5159 article.cls
5160 \end_layout
5161
5162 \end_inset
5163
5164 について知っていることのほとんど総ては,
5165 \begin_inset Flex Code
5166 status collapsed
5167
5168 \begin_layout Plain Layout
5169 article.layout
5170 \end_layout
5171
5172 \end_inset
5173
5174 と,それが呼び出す他の様々なファイルに書き込まれています.このことから,レイアウトファイルを書こうとする人は,既存のファイルを研究することを勧めます.とっかかり
5175 としては,
5176 \begin_inset Flex Code
5177 status collapsed
5178
5179 \begin_layout Plain Layout
5180 article.layout
5181 \end_layout
5182
5183 \end_inset
5184
5185
5186 \begin_inset Flex Code
5187 status collapsed
5188
5189 \begin_layout Plain Layout
5190 book.layout
5191 \end_layout
5192
5193 \end_inset
5194
5195 や,文書クラス用の他のレイアウトファイルに取り込まれている
5196 \begin_inset Flex Code
5197 status collapsed
5198
5199 \begin_layout Plain Layout
5200 stdsections.inc
5201 \end_layout
5202
5203 \end_inset
5204
5205 から見始めるのがよいでしょう.このファイルは,節などの定義が為されている場所です.
5206 \begin_inset Flex Code
5207 status collapsed
5208
5209 \begin_layout Plain Layout
5210 stdsections.inc
5211 \end_layout
5212
5213 \end_inset
5214
5215 は,節様式や小節様式などとしてマークされている段落を,対応する\SpecialChar LaTeX
5216 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5217 に知らせるものです.基本的に
5218 \begin_inset Flex Code
5219 status collapsed
5220
5221 \begin_layout Plain Layout
5222 article.layout
5223 \end_layout
5224
5225 \end_inset
5226
5227 ファイルは,これらの
5228 \begin_inset Flex Code
5229 status collapsed
5230
5231 \begin_layout Plain Layout
5232 std*.inc
5233 \end_layout
5234
5235 \end_inset
5236
5237 ファイルを取り込んでいるだけのものです.
5238 \end_layout
5239
5240 \begin_layout Standard
5241 しかしながら,\SpecialChar LyX
5242 –\SpecialChar LaTeX
5243 間の対応を定義するだけが,レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,\SpecialChar LyX
5244 構成体自身が画面上にどのように表
5245 示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,レイアウトファイルが2つの仕事を行うという事実は,しばしば混乱を引き起こす元となり
5246 ます.ある段落様式を\SpecialChar LaTeX
5247 に翻訳する仕方を\SpecialChar LyX
5248 に指示することは,その表示の仕方を\SpecialChar LyX
5249 に指示するものではありません.逆に,ある段落様式の表示の仕方を\SpecialChar LyX
5250 に指示することは,その段落様
5251 式をどのように\SpecialChar LaTeX
5252 に翻訳するかを\SpecialChar LyX
5253 に指示するものではありません(ましてや\SpecialChar LaTeX
5254 に表示の仕方を指示するものではありません).つまり,一般的に,新しい\SpecialChar LyX
5255 構成体を定義する際には,(
5256 i)
5257 \begin_inset space ~
5258 \end_inset
5259
5260 \SpecialChar LaTeX
5261 にどのように翻訳するかを\SpecialChar LyX
5262 に指示する,(ii)
5263 \begin_inset space ~
5264 \end_inset
5265
5266 それをどのように表示するかを\SpecialChar LyX
5267 に指示する,という,二つのかなり異なることを行わなくてはならないのです.
5268 \end_layout
5269
5270 \begin_layout Standard
5271 もちろん,\SpecialChar LyX
5272 の他のバックエンド形式に関しても,ほぼ同じことが言えますが,XHTMLの場合には若干事情が異なり,\SpecialChar LyX
5273 が,ブラウザ中での段落の表示方法を(CSSの形で)出
5274 力するにあたって,当該段落を\SpecialChar LyX
5275 が画面上に出力する仕方の情報を,ある程度利用することができます.しかし,この場合でも,\SpecialChar LyX
5276 が内部的に行うことと,外部的に行う物事の間の区
5277 別は,依然として有効であり,この2つは独立して制御することができます.詳細に関しては,第
5278 \begin_inset CommandInset ref
5279 LatexCommand ref
5280 reference "sec:XHTML出力のタグ"
5281
5282 \end_inset
5283
5284 節をご覧ください.
5285 \end_layout
5286
5287 \begin_layout Section
5288 新しい\SpecialChar LaTeX
5289 ファイルの導入
5290 \end_layout
5291
5292 \begin_layout Standard
5293 頒布版によっては,\SpecialChar LyX
5294 で使いたい\SpecialChar LaTeX
5295 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,オーバーヘッドプロジェクタ用のスライドを準備するための
5296 パッケージである,Foil\SpecialChar TeX
5297 がないかもしれません.\SpecialChar TeX
5298 Live(2008年以降)やMiK\SpecialChar TeX
5299 のような最近の\SpecialChar LaTeX
5300 頒布版には,これらのパッケージを導入するためのユーザーインタフェ
5301 ースが用意されています.たとえば,MiK\SpecialChar TeX
5302 では,付属の「Package
5303 \begin_inset space ~
5304 \end_inset
5305
5306 Manager」プログラムを起動すると,利用できるパッケージの一覧を得ることができます.どれかを導入するには,その上で右クリックするかツールバーボタンを押してく
5307 ださい.
5308 \end_layout
5309
5310 \begin_layout Standard
5311 お使いの\SpecialChar LaTeX
5312 頒布版がこのような「パッケージマネジャー」を提供していなかったり,使用中の頒布版にそのパッケージが入っていない場合には,以下のステップに従って手動で導入
5313 してください.
5314 \end_layout
5315
5316 \begin_layout Enumerate
5317 \begin_inset CommandInset href
5318 LatexCommand href
5319 name "CTAN"
5320 target "http://www.ctan.org/"
5321 literal "false"
5322
5323 \end_inset
5324
5325 などから欲しいパッケージを入手してください.
5326 \end_layout
5327
5328 \begin_layout Enumerate
5329 パッケージに「
5330 \begin_inset Flex Code
5331 status collapsed
5332
5333 \begin_layout Plain Layout
5334 .ins
5335 \end_layout
5336
5337 \end_inset
5338
5339 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5340 がその一例です)は,コンソールを開いて,このファイルのフォルダに移動し,コマンド
5341 \begin_inset Flex Code
5342 status collapsed
5343
5344 \begin_layout Plain Layout
5345 latex foiltex.ins
5346 \end_layout
5347
5348 \end_inset
5349
5350 を実行してください.すると,パッケージが解凍されて,導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5351 パッケージは圧縮されていないので,このステップは飛ばすこ
5352 とができます.
5353 \end_layout
5354
5355 \begin_layout Enumerate
5356 ここで,パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5357 \end_layout
5358
5359 \begin_deeper
5360 \begin_layout Enumerate
5361 (Linux・OSXなどの)*nix系システムでは,システム上の全ユーザーに新パッケージを利用可能にしたければ,「ローカル」\SpecialChar TeX
5362 ツリーに導入し,そうでなければ「ユー
5363 ザー」\SpecialChar TeX
5364 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,お使いのシステムに依存します.これを見いだすには,
5365 \begin_inset Flex Code
5366 status collapsed
5367
5368 \begin_layout Plain Layout
5369 texmf.cnf
5370 \end_layout
5371
5372 \end_inset
5373
5374 ファイルを参照してください
5375 \begin_inset Foot
5376 status collapsed
5377
5378 \begin_layout Plain Layout
5379 このファイルは,通常
5380 \family sans
5381 $TEXMF/web2c
5382 \family default
5383 ディレクトリにありますが,コマンド
5384 \begin_inset Flex Code
5385 status collapsed
5386
5387 \begin_layout Plain Layout
5388 kpsewhich texmf.cnf
5389 \end_layout
5390
5391 \end_inset
5392
5393 を実行してその場所を見つけることもできます.
5394 \end_layout
5395
5396 \end_inset
5397
5398 .「ローカル」\SpecialChar TeX
5399 ツリーの場所は,
5400 \begin_inset Flex Code
5401 status collapsed
5402
5403 \begin_layout Plain Layout
5404 TEXMFLOCAL
5405 \end_layout
5406
5407 \end_inset
5408
5409 変数で定義されており,通常は
5410 \begin_inset Flex Code
5411 status collapsed
5412
5413 \begin_layout Plain Layout
5414 /usr/local/share/texmf/
5415 \end_layout
5416
5417 \end_inset
5418
5419
5420 \begin_inset Flex Code
5421 status collapsed
5422
5423 \begin_layout Plain Layout
5424 /usr/local/texlive/XXXX
5425 \end_layout
5426
5427 \end_inset
5428
5429  (XXXXは導入されている\SpecialChar TeX
5430 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
5431 ツリーの場所は,
5432 \begin_inset Flex Code
5433 status collapsed
5434
5435 \begin_layout Plain Layout
5436 TEXMFHOME
5437 \end_layout
5438
5439 \end_inset
5440
5441 で定義されており,通常は
5442 \begin_inset Flex Code
5443 status collapsed
5444
5445 \begin_layout Plain Layout
5446 $HOME/texmf/
5447 \end_layout
5448
5449 \end_inset
5450
5451
5452 \begin_inset Flex Code
5453 status collapsed
5454
5455 \begin_layout Plain Layout
5456 $HOME/.texliveXXXX
5457 \end_layout
5458
5459 \end_inset
5460
5461 です(もしこれらの変数が事前定義されていなければ,定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,おそらくroot権限が必要ですが
5462 ,「ユーザー」ツリーにはこのような制限はありません.
5463 \begin_inset Newline newline
5464 \end_inset
5465
5466 一般的に,システムをアップグレードした際に,ユーザーが修正されたり上書きされたりということが起こらないので,ユーザーツリーに導入することが推奨されます.こうする
5467 と,自分のホームディレクトリをバックアップする際に,パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
5468 \end_layout
5469
5470 \begin_layout Enumerate
5471 Windowで,システム上の全ユーザーに新パッケージを利用可能にしたい場合には,\SpecialChar LaTeX
5472 の導入されているフォルダのサブフォルダ
5473 \begin_inset Flex Code
5474 status collapsed
5475
5476 \begin_layout Plain Layout
5477 ~
5478 \backslash
5479 tex
5480 \backslash
5481 latex
5482 \end_layout
5483
5484 \end_inset
5485
5486 に移動します(MiK\SpecialChar TeX
5487 の既定値では,これは
5488 \begin_inset Flex Code
5489 status collapsed
5490
5491 \begin_layout Plain Layout
5492 ~:Programs
5493 \backslash
5494 MiKTeX
5495 \backslash
5496 tex
5497 \backslash
5498 latex
5499 \end_layout
5500
5501 \end_inset
5502
5503 です)
5504 \begin_inset Foot
5505 status open
5506
5507 \begin_layout Plain Layout
5508 これは,英語版でのみ正しいパスになっています.独語版では
5509 \begin_inset Flex Code
5510 status collapsed
5511
5512 \begin_layout Plain Layout
5513 ~:Programme
5514 \backslash
5515 MiKTeX
5516 \backslash
5517 tex
5518 \backslash
5519 latex
5520 \end_layout
5521
5522 \end_inset
5523
5524 となり,他の言語でも同様です.
5525 \end_layout
5526
5527 \end_inset
5528
5529 .ここに新規フォルダ
5530 \begin_inset Flex Code
5531 status collapsed
5532
5533 \begin_layout Plain Layout
5534 foiltex
5535 \end_layout
5536
5537 \end_inset
5538
5539 を作成し,パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,admin権限を持っていない場合には,ローカル\SpecialChar LaTeX
5540 フォルダで同じ
5541 ことを行います.たとえばMiK\SpecialChar TeX
5542
5543 \begin_inset space ~
5544 \end_inset
5545
5546 2.8では,これはWinXP上では
5547 \begin_inset Newline newline
5548 \end_inset
5549
5550
5551 \begin_inset Flex Code
5552 status collapsed
5553
5554 \begin_layout Plain Layout
5555 ~:
5556 \backslash
5557 Documents and Settings
5558 \backslash
5559 <ユーザー名>
5560 \backslash
5561 Application Data
5562 \backslash
5563
5564 \end_layout
5565
5566 \end_inset
5567
5568
5569 \begin_inset Newline newline
5570 \end_inset
5571
5572
5573 \begin_inset Phantom HPhantom
5574 status open
5575
5576 \begin_layout Plain Layout
5577
5578 \family typewriter
5579 ~:
5580 \backslash
5581
5582 \end_layout
5583
5584 \end_inset
5585
5586
5587 \begin_inset Flex Code
5588 status collapsed
5589
5590 \begin_layout Plain Layout
5591 MiKTeX
5592 \backslash
5593 2.8
5594 \backslash
5595 tex
5596 \backslash
5597 latex
5598 \end_layout
5599
5600 \end_inset
5601
5602
5603 \begin_inset Newline newline
5604 \end_inset
5605
5606 フォルダ,WinVista上では
5607 \begin_inset Newline newline
5608 \end_inset
5609
5610
5611 \begin_inset Flex Code
5612 status collapsed
5613
5614 \begin_layout Plain Layout
5615 ~:
5616 \backslash
5617 Users
5618 \backslash
5619 <ユーザー名>
5620 \backslash
5621 AppData
5622 \backslash
5623 Roaming
5624 \backslash
5625 2.8
5626 \backslash
5627 MiKTeX
5628 \backslash
5629 tex
5630 \backslash
5631 latex
5632 \end_layout
5633
5634 \end_inset
5635
5636
5637 \begin_inset Newline newline
5638 \end_inset
5639
5640 フォルダになります.
5641 \end_layout
5642
5643 \end_deeper
5644 \begin_layout Enumerate
5645 ここまで来れば,あとは\SpecialChar LaTeX
5646 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
5647 頒布版に依存します.
5648 \end_layout
5649
5650 \begin_deeper
5651 \begin_layout Enumerate
5652 \SpecialChar TeX
5653 Liveの場合には,コンソールから
5654 \begin_inset Flex Code
5655 status collapsed
5656
5657 \begin_layout Plain Layout
5658 texhash
5659 \end_layout
5660
5661 \end_inset
5662
5663 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,おそらくroot権限で行う必要があります.
5664 \end_layout
5665
5666 \begin_layout Enumerate
5667 MiK\SpecialChar TeX
5668 では,パッケージを全ユーザー用に導入した場合には,「Settings
5669 \begin_inset space ~
5670 \end_inset
5671
5672 (Admin)」を起動し,「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,「Settings」を起動して同様に行ってください
5673
5674 \end_layout
5675
5676 \end_deeper
5677 \begin_layout Enumerate
5678 最後に,\SpecialChar LyX
5679 に新しいパッケージがあることを告げなくてはなりません.そこで,\SpecialChar LyX
5680 からツール\SpecialChar menuseparator
5681 環境構成メニューを実行して,\SpecialChar LyX
5682 を再起動します.
5683 \end_layout
5684
5685 \begin_layout Standard
5686 これでパッケージが導入されました.この例では,文書クラス
5687 \begin_inset Flex Code
5688 status collapsed
5689
5690 \begin_layout Plain Layout
5691 Slides
5692 \begin_inset space ~
5693 \end_inset
5694
5695 (FoilTeX)
5696 \end_layout
5697
5698 \end_inset
5699
5700
5701 \begin_inset Flex MenuItem
5702 status collapsed
5703
5704 \begin_layout Plain Layout
5705 文書\SpecialChar menuseparator
5706 設定\SpecialChar menuseparator
5707 文書クラス
5708 \end_layout
5709
5710 \end_inset
5711
5712 で利用可能になっているはずです.
5713 \end_layout
5714
5715 \begin_layout Standard
5716 \begin_inset Flex MenuItem
5717 status collapsed
5718
5719 \begin_layout Plain Layout
5720 文書\SpecialChar menuseparator
5721 設定\SpecialChar menuseparator
5722 文書クラス
5723 \end_layout
5724
5725 \end_inset
5726
5727 メニューに列挙されてもいない\SpecialChar LaTeX
5728 文書クラスを使用したい場合には,その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
5729 \end_layout
5730
5731 \begin_layout Section
5732 レイアウトファイルの型
5733 \end_layout
5734
5735 \begin_layout Standard
5736 この節は,レイアウト情報を含む各種\SpecialChar LyX
5737 ファイルについて述べます.これらのファイルは,各種段落様式や文字様式についての記述がされているものであり,\SpecialChar LyX
5738 がそれらをどのように
5739 表示すべきなのか,また,それらをどのように\SpecialChar LaTeX
5740 やDocBook,XHTMLその他の出力形式に翻訳すればよいのかが記されています.
5741 \end_layout
5742
5743 \begin_layout Standard
5744 ここでは,レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,\SpecialChar LaTeX
5745 クラスだけでもサポートする文書の種類があまりにたくさんあるので,読者が出会いうるケース
5746 や問題をすべてカバーすることはとても望めません.\SpecialChar LyX
5747 ユーザーメーリングリストには,自身の経験を人々と分かち合いたいと望む,レイアウトデザインの経験豊かな人々がよく顔
5748 を出していますので,気軽に質問を投げかけてみてください.
5749 \end_layout
5750
5751 \begin_layout Standard
5752 新しいレイアウトを準備するに当たっては,\SpecialChar LyX
5753 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
5754 文書クラス用の\SpecialChar LyX
5755 レイアウトを作ったり,
5756 他の人々にも有用なモジュールをお書きになった場合には,
5757 \begin_inset CommandInset href
5758 LatexCommand href
5759 name "LyX Wikiのレイアウトに関する節"
5760 target "http://wiki.lyx.org/Layouts/Layouts"
5761 literal "false"
5762
5763 \end_inset
5764
5765 か,\SpecialChar LyX
5766 開発者メーリングリストに投稿して,\SpecialChar LyX
5767 頒布版に同梱することができるようにしてください
5768 \begin_inset Foot
5769 status collapsed
5770
5771 \begin_layout Plain Layout
5772 \SpecialChar LyX
5773 はGeneral Public Licenseの下でライセンスされていますので,\SpecialChar LyX
5774 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
5775 \end_layout
5776
5777 \end_inset
5778
5779
5780 \end_layout
5781
5782 \begin_layout Subsection
5783 レイアウトモジュール
5784 \begin_inset CommandInset label
5785 LatexCommand label
5786 name "subsec:レイアウトモジュール"
5787
5788 \end_inset
5789
5790
5791 \end_layout
5792
5793 \begin_layout Standard
5794 ここまで,「レイアウトファイル」についてお話してきました.しかし,レイアウト情報を含むものには,他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき
5795 ,それは
5796 \begin_inset Flex Code
5797 status collapsed
5798
5799 \begin_layout Plain Layout
5800 .layout
5801 \end_layout
5802
5803 \end_inset
5804
5805 拡張子を持ち,文書クラスに関する情報を\SpecialChar LyX
5806 に提供するものを指します.しかしながら,\SpecialChar LyX
5807  1.6以降,レイアウト情報は,拡張子が
5808 \begin_inset Flex Code
5809 status collapsed
5810
5811 \begin_layout Plain Layout
5812 .module
5813 \end_layout
5814
5815 \end_inset
5816
5817 のレイアウト
5818 \emph on
5819 モジュール
5820 \emph default
5821 にも含めることができます.レイアウトが\SpecialChar LaTeX
5822 クラスに対応しているように,モジュールは\SpecialChar LaTeX
5823 パッケージに対応するものであり,
5824 \begin_inset Flex Code
5825 status collapsed
5826
5827 \begin_layout Plain Layout
5828 endnotes
5829 \end_layout
5830
5831 \end_inset
5832
5833 モジュールのように,特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,特定の文書レイアウトに特化したものではなく,多くのレ
5834 イアウトで使用できるという意味において,一面,
5835 \begin_inset Flex Code
5836 status collapsed
5837
5838 \begin_layout Plain Layout
5839 stdsections.inc
5840 \end_layout
5841
5842 \end_inset
5843
5844 等のインクルードファイル
5845 \begin_inset Foot
5846 status collapsed
5847
5848 \begin_layout Plain Layout
5849 これらは任意の拡張子をつけることができますが,慣習的に
5850 \begin_inset Flex Code
5851 status collapsed
5852
5853 \begin_layout Plain Layout
5854 .inc
5855 \end_layout
5856
5857 \end_inset
5858
5859 拡張子が用いられます.
5860 \end_layout
5861
5862 \end_inset
5863
5864 のようなものです.相異なる点といえば,
5865 \begin_inset Flex Code
5866 status collapsed
5867
5868 \begin_layout Plain Layout
5869 article.cls
5870 \end_layout
5871
5872 \end_inset
5873
5874 でインクルードファイルを使用するには,そのファイルを編集しなくてはなりませんが,モジュールの場合は,
5875 \begin_inset Flex MenuItem
5876 status collapsed
5877
5878 \begin_layout Plain Layout
5879 文書\SpecialChar menuseparator
5880 設定
5881 \end_layout
5882
5883 \end_inset
5884
5885 ダイアログで選択するだけですみます.
5886 \end_layout
5887
5888 \begin_layout Standard
5889 モジュール作成は,新しく段落様式を一つ加えたり,自由差込枠を加えたりするだけで済むことも多いので,レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的に
5890 は,レイアウトファイルに入れることのできるものはすべて入れることができます.
5891 \end_layout
5892
5893 \begin_layout Standard
5894 新しいモジュールを作成し,それを
5895 \begin_inset Flex Code
5896 status collapsed
5897
5898 \begin_layout Plain Layout
5899 layout/
5900 \end_layout
5901
5902 \end_inset
5903
5904 フォルダにコピーした後,モジュールがメニューに現れるようにするためには,\SpecialChar LyX
5905 の環境構成を行って再起動しなくてはなりません.しかしながら,モジュールの修正の場合には,
5906 \begin_inset Flex MenuItem
5907 status collapsed
5908
5909 \begin_layout Plain Layout
5910 文書\SpecialChar menuseparator
5911 設定
5912 \end_layout
5913
5914 \end_inset
5915
5916 を開いてどれかを選択し「OK」を押せば,直ちに反映されます.
5917 \emph on
5918 これを実行する前に,作業中の文書を保存しておくことを強く勧めます
5919 \emph default
5920 .もっと言えば,
5921 \emph on
5922 実際の文書で作業しているときに,同時にモジュールの編集をしようとしないことを強く勧めます
5923 \emph default
5924 .もちろん開発陣は,そのような場合でも\SpecialChar LyX
5925 が安定性を維持するように努力していますが,あなたが作成したモジュール中の文法エラー等によって,奇妙な挙動が引き起こされるこ
5926 とがあるからです.
5927 \end_layout
5928
5929 \begin_layout Subsubsection
5930 ローカルレイアウト
5931 \end_layout
5932
5933 \begin_layout Standard
5934 \SpecialChar LyX
5935 に於けるモジュールは,\SpecialChar LaTeX
5936 に於けるパッケージに当たります.しかしながら,特定の差込枠や文字様式を,ひとつの文書のためだけに作りたいこともあるでしょうから,そのような
5937 場合に,他の文書でも利用できるようなモジュールをわざわざ書くことには,あまり意味がありません.このような場合に必要となるのが,「ローカルレイアウト」なのです.
5938 \end_layout
5939
5940 \begin_layout Standard
5941 これは,
5942 \family sans
5943 文書\SpecialChar menuseparator
5944 設定\SpecialChar menuseparator
5945 ローカルのレイアウト
5946 \family default
5947 にあります.そこにある大きなテキストボックスは,本来ならレイアウトファイルやモジュールに入力すべきものを,入力するためのものです.特定の文書のローカルレイアウト
5948 は,その文書専属のモジュールだと考えることができます.したがって,
5949 \begin_inset Flex Code
5950 status collapsed
5951
5952 \begin_layout Plain Layout
5953 Format
5954 \end_layout
5955
5956 \end_inset
5957
5958 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
5959  2.2では,最新書式は60です)
5960 \end_layout
5961
5962 \begin_layout Standard
5963 \begin_inset Flex Code
5964 status collapsed
5965
5966 \begin_layout Plain Layout
5967 ローカルのレイアウト
5968 \end_layout
5969
5970 \end_inset
5971
5972 面に何かを入力すると,下部にある「検証」ボタンが有効になります.このボタンを押すと,ユーザーの入力したものが,指定された書式に沿って,有効なレイアウト情報になっ
5973 ているかどうかが検証されます.すると,\SpecialChar LyX
5974 がその結果を返しますが,残念ながら,エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,\SpecialChar LyX
5975 をターミナル(
5976 擬似端末)から起動した場合には,そのエラーがターミナルに返されます.ローカルレイアウトは,正しい書式で入力されないうちは,保存することができません.
5977 \end_layout
5978
5979 \begin_layout Standard
5980 ここで,前節と同じ警告があります.ローカルレイアウトは,作業中の文書上で,特に保存していない文書上ではいじらないでください.それに注意すれば,テスト用文書上でロ
5981 ーカルレイアウトを用いるのは,レイアウトのアイディアを試すのに便利ですし,モジュール開発の第一歩としても便利です.
5982 \end_layout
5983
5984 \begin_layout Subsection
5985 \begin_inset Flex MenuItem
5986 status collapsed
5987
5988 \begin_layout Plain Layout
5989 .sty
5990 \end_layout
5991
5992 \end_inset
5993
5994 ファイル用のレイアウト
5995 \end_layout
5996
5997 \begin_layout Standard
5998 新しく\SpecialChar LaTeX
5999 文書クラスをサポートしようとするとき,\SpecialChar LaTeX2e
6000 クラス(
6001 \begin_inset Flex Code
6002 status collapsed
6003
6004 \begin_layout Plain Layout
6005 .cls
6006 \end_layout
6007
6008 \end_inset
6009
6010 )ファイルが絡む場合と,スタイル(
6011 \begin_inset Flex Code
6012 status collapsed
6013
6014 \begin_layout Plain Layout
6015 .sty
6016 \end_layout
6017
6018 \end_inset
6019
6020 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,通常は,かなり容易ですが,新しくクラスファイルをサポートすることは,もう少し難しくな
6021 ります.この節では,前者について述べることとし,後者については次節に譲ります.当然のことながら,新しくDocBook DTDをサポートしたい場合にも,同様の所見
6022 が当てはまります.
6023 \end_layout
6024
6025 \begin_layout Standard
6026 この易しい方の場合では,新しい文書クラスは,既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,スタイルファイルは
6027 \begin_inset Flex MenuItem
6028 status collapsed
6029
6030 \begin_layout Plain Layout
6031 myclass.sty
6032 \end_layout
6033
6034 \end_inset
6035
6036 という名称で,標準的なクラスである
6037 \begin_inset Flex MenuItem
6038 status collapsed
6039
6040 \begin_layout Plain Layout
6041 report.cls
6042 \end_layout
6043
6044 \end_inset
6045
6046 と共に用いられるものと仮定しましょう.
6047 \end_layout
6048
6049 \begin_layout Standard
6050 既存の文書クラスのレイアウトファイルを,以下のように,お使いのローカルディレクトリにコピーすることから始めてください
6051 \begin_inset Foot
6052 status collapsed
6053
6054 \begin_layout Plain Layout
6055 もちろん,どのディレクトリがローカルディレクトリとなるかは,プラットフォームに依存します.\SpecialChar LyX
6056 では,起動時に
6057 \begin_inset Flex MenuItem
6058 status collapsed
6059
6060 \begin_layout Plain Layout
6061 -userdir
6062 \end_layout
6063
6064 \end_inset
6065
6066 オプションを指定することによって,ローカルディレクトリを指定することも可能です.
6067 \end_layout
6068
6069 \end_inset
6070
6071
6072 \end_layout
6073
6074 \begin_layout LyX-Code
6075 cp report.layout ~/.lyx/layouts/myclass.layout
6076 \end_layout
6077
6078 \begin_layout Standard
6079 それから,
6080 \begin_inset Flex Code
6081 status collapsed
6082
6083 \begin_layout Plain Layout
6084 myclass.layout
6085 \end_layout
6086
6087 \end_inset
6088
6089 を編集して,
6090 \end_layout
6091
6092 \begin_layout LyX-Code
6093
6094 \backslash
6095 DeclareLaTeXClass{report}
6096 \end_layout
6097
6098 \begin_layout Standard
6099 という行を
6100 \end_layout
6101
6102 \begin_layout LyX-Code
6103
6104 \backslash
6105 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6106 \end_layout
6107
6108 \begin_layout Standard
6109 のように変更してください.それから,ファイル冒頭辺りに
6110 \end_layout
6111
6112 \begin_layout LyX-Code
6113 Preamble 
6114 \begin_inset Newline newline
6115 \end_inset
6116
6117     
6118 \backslash
6119 usepackage{myclass}
6120 \begin_inset Newline newline
6121 \end_inset
6122
6123 EndPreamble
6124 \end_layout
6125
6126 \begin_layout Standard
6127 と書き加えてください.
6128 \end_layout
6129
6130 \begin_layout Standard
6131 \SpecialChar LyX
6132 を起動して
6133 \begin_inset Flex MenuItem
6134 status collapsed
6135
6136 \begin_layout Plain Layout
6137 ツール\SpecialChar menuseparator
6138 環境構成
6139 \end_layout
6140
6141 \end_inset
6142
6143 を選択してください.それから\SpecialChar LyX
6144 を再起動し,新規文書を作成してみてください.すると,
6145 \begin_inset Flex MenuItem
6146 status collapsed
6147
6148 \begin_layout Plain Layout
6149 文書\SpecialChar menuseparator
6150 設定
6151 \end_layout
6152
6153 \end_inset
6154
6155 ダイアログの文書クラスオプションに「
6156 \begin_inset Flex MenuItem
6157 status collapsed
6158
6159 \begin_layout Plain Layout
6160 report (myclass)
6161 \end_layout
6162
6163 \end_inset
6164
6165 」が現れるはずです.新しいクラスにおいて,節区切り用コマンドなどの一部が,基礎となったクラス—この例では
6166 \begin_inset Flex Code
6167 status collapsed
6168
6169 \begin_layout Plain Layout
6170 report
6171 \end_layout
6172
6173 \end_inset
6174
6175 —とは違う挙動をすることはよくありますので,希望に応じて,各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6176 \begin_inset Flex Code
6177 status collapsed
6178
6179 \begin_layout Plain Layout
6180 stdsections.inc
6181 \end_layout
6182
6183 \end_inset
6184
6185 に含まれていますが,このファイルをコピーしたり変更したりする必要はありません.代わりに,自身のレイアウトファイル中,
6186 \begin_inset Flex Code
6187 status collapsed
6188
6189 \begin_layout Plain Layout
6190 stdsections.inc
6191 \end_layout
6192
6193 \end_inset
6194
6195 も取り込む
6196 \begin_inset Flex Code
6197 status collapsed
6198
6199 \begin_layout Plain Layout
6200 Input stdclass.inc
6201 \end_layout
6202
6203 \end_inset
6204
6205 の後に変更を加えるだけです.たとえば,章見だしのフォントをサンセリフ体に変更するには,以下のような行を加えます.
6206 \end_layout
6207
6208 \begin_layout LyX-Code
6209 Style Chapter
6210 \end_layout
6211
6212 \begin_layout LyX-Code
6213     Font
6214 \end_layout
6215
6216 \begin_layout LyX-Code
6217         Family Sans
6218 \end_layout
6219
6220 \begin_layout LyX-Code
6221     EndFont
6222 \end_layout
6223
6224 \begin_layout LyX-Code
6225 End
6226 \end_layout
6227
6228 \begin_layout Standard
6229 これは,既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6230 \end_layout
6231
6232 \begin_layout Standard
6233 新しいパッケージでは,基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,これらをレイアウトファイルに加えます.そのやり方につ
6234 いては,第
6235 \begin_inset CommandInset ref
6236 LatexCommand ref
6237 reference "sec:テキストクラス"
6238
6239 \end_inset
6240
6241 節の情報を参照してください.
6242 \end_layout
6243
6244 \begin_layout Standard
6245 もし
6246 \begin_inset Flex Code
6247 status collapsed
6248
6249 \begin_layout Plain Layout
6250 myclass.sty
6251 \end_layout
6252
6253 \end_inset
6254
6255 が他の文書クラスで使用することができたり,あるいはできない場合でも,基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょ
6256 う.最も簡単なモジュールの例としては,以下のようなものになります.
6257 \end_layout
6258
6259 \begin_layout LyX-Code
6260 #
6261 \backslash
6262 DeclareLyXModule{My Package}
6263 \end_layout
6264
6265 \begin_layout LyX-Code
6266 #DescriptionBegin
6267 \end_layout
6268
6269 \begin_layout LyX-Code
6270 #Support for mypkg.sty.
6271 \end_layout
6272
6273 \begin_layout LyX-Code
6274 #DescriptionEnd
6275 \begin_inset Newline newline
6276 \end_inset
6277
6278
6279 \end_layout
6280
6281 \begin_layout LyX-Code
6282 Format 60
6283 \begin_inset Newline newline
6284 \end_inset
6285
6286
6287 \end_layout
6288
6289 \begin_layout LyX-Code
6290 Preamble
6291 \begin_inset Newline newline
6292 \end_inset
6293
6294     
6295 \backslash
6296 usepackage{mypkg}
6297 \begin_inset Newline newline
6298 \end_inset
6299
6300 EndPreamble
6301 \end_layout
6302
6303 \begin_layout Standard
6304 もう少し複雑なモジュールでは,既存の構成物の挙動を修正したり,新しい構成物を定義したりすることになるでしょう.この辺りの議論については,第
6305 \begin_inset CommandInset ref
6306 LatexCommand ref
6307 reference "sec:テキストクラス"
6308
6309 \end_inset
6310
6311 節を参照してください.
6312 \end_layout
6313
6314 \begin_layout Subsection
6315 \begin_inset Flex MenuItem
6316 status collapsed
6317
6318 \begin_layout Plain Layout
6319 .cls
6320 \end_layout
6321
6322 \end_inset
6323
6324 ファイル用のレイアウト
6325 \end_layout
6326
6327 \begin_layout Standard
6328 これには2つのケースがありえます.ひとつは,クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,多くの学位論文用クラスは
6329 \begin_inset Flex MenuItem
6330 status collapsed
6331
6332 \begin_layout Plain Layout
6333 book.cls
6334 \end_layout
6335
6336 \end_inset
6337
6338 に基づいています.お使いのものがどうであるかを見るには,クラスファイル中に
6339 \end_layout
6340
6341 \begin_layout LyX-Code
6342
6343 \backslash
6344 LoadClass{book}
6345 \end_layout
6346
6347 \begin_layout Standard
6348 という行がないかどうか探してください.もしこれがあれば,
6349 \begin_inset Flex Code
6350 status collapsed
6351
6352 \begin_layout Plain Layout
6353 Declare\SpecialChar LaTeX
6354 Class
6355 \end_layout
6356
6357 \end_inset
6358
6359 行は異なりますが,おおよそ前節のように進めることができます.あなたが新しく作るクラスが
6360 \begin_inset Flex Code
6361 status collapsed
6362
6363 \begin_layout Plain Layout
6364 thesis
6365 \end_layout
6366
6367 \end_inset
6368
6369 であり,
6370 \begin_inset Flex Code
6371 status collapsed
6372
6373 \begin_layout Plain Layout
6374 book
6375 \end_layout
6376
6377 \end_inset
6378
6379 クラスに基づいていれば,
6380 \begin_inset Flex Code
6381 status collapsed
6382
6383 \begin_layout Plain Layout
6384 Declare\SpecialChar LaTeX
6385 Class
6386 \end_layout
6387
6388 \end_inset
6389
6390 行は以下のようにします
6391 \begin_inset Foot
6392 status collapsed
6393
6394 \begin_layout Plain Layout
6395 さらに\SpecialChar LyX
6396 は,文書クラス名がレイアウトファイル名と同じだと仮定するので,クラスファイルを
6397 \begin_inset Flex Code
6398 status collapsed
6399
6400 \begin_layout Plain Layout
6401 thesis.layout
6402 \end_layout
6403
6404 \end_inset
6405
6406 という名前で保存するのが最も簡単です. 
6407 \end_layout
6408
6409 \end_inset
6410
6411
6412 \end_layout
6413
6414 \begin_layout LyX-Code
6415
6416 \backslash
6417 DeclareLaTeXClass[thesis,book]{thesis}
6418 \end_layout
6419
6420 \begin_layout Standard
6421 他方,新しいクラスが既存のクラスに基づいていない場合には,おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,類似した\SpecialChar LaTeX
6422 クラスを使用してい
6423 る既存のレイアウトファイルをコピーして,それに修正を加えるようにすることを強くお勧めします.少なくとも,どの項目を考慮すべきかがわかるように,既存のファイルを作
6424 業の開始点としてください.
6425 \end_layout
6426
6427 \begin_layout Subsection
6428 ひな型を作成する
6429 \begin_inset CommandInset label
6430 LatexCommand label
6431 name "sec:ひな型を作成する"
6432
6433 \end_inset
6434
6435
6436 \end_layout
6437
6438 \begin_layout Standard
6439 新しい文書クラス用のレイアウトファイルを書いたならば,そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,内容はダミーですが,レイアウトの使
6440 い方を示す一種のチュートリアルとして動作します.もちろん,イメージを得るために,\SpecialChar LyX
6441 添付のひな型をあれこれ見てみるのもよいでしょう.
6442 \end_layout
6443
6444 \begin_layout Standard
6445 ひな型は,通常の文書と同様,\SpecialChar LyX
6446 を使って作成することができます.唯一違う点は,通常の文書では,フォント構成や用紙寸法を含め,すべてのあり得る設定が為されている点です
6447 .これらの場合,通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,ひな型の設計者は,
6448 \begin_inset Flex Code
6449 status collapsed
6450
6451 \begin_layout Plain Layout
6452
6453 \backslash
6454 fontscheme
6455 \end_layout
6456
6457 \end_inset
6458
6459
6460 \begin_inset Flex Code
6461 status collapsed
6462
6463 \begin_layout Plain Layout
6464
6465 \backslash
6466 papersize
6467 \end_layout
6468
6469 \end_inset
6470
6471 などの対応するコマンドをひな型\SpecialChar LyX
6472 ファイルから取り除く必要があります.これは,たとえば
6473 \begin_inset Flex Code
6474 status collapsed
6475
6476 \begin_layout Plain Layout
6477 vi
6478 \end_layout
6479
6480 \end_inset
6481
6482
6483 \begin_inset Flex Code
6484 status collapsed
6485
6486 \begin_layout Plain Layout
6487 notepad
6488 \end_layout
6489
6490 \end_inset
6491
6492 のような,どの軽いテキストエディタでも行うことができます.
6493 \end_layout
6494
6495 \begin_layout Standard
6496 編集したひな型を
6497 \begin_inset Flex Code
6498 status collapsed
6499
6500 \begin_layout Plain Layout
6501 UserDir/templates/
6502 \end_layout
6503
6504 \end_inset
6505
6506 に置き,グローバルなひな型ディレクトリ
6507 \begin_inset Flex Code
6508 status collapsed
6509
6510 \begin_layout Plain Layout
6511 LyXDir/templates/
6512 \end_layout
6513
6514 \end_inset
6515
6516 から使用したいものを同じ場所にコピーし,
6517 \begin_inset Flex MenuItem
6518 status collapsed
6519
6520 \begin_layout Plain Layout
6521 ツール\SpecialChar menuseparator
6522 設定\SpecialChar menuseparator
6523 パス
6524 \end_layout
6525
6526 \end_inset
6527
6528 ダイアログのひな型パスを再定義してください.
6529 \end_layout
6530
6531 \begin_layout Standard
6532 ところで,特別な意味を持つひな型
6533 \begin_inset Flex Code
6534 status collapsed
6535
6536 \begin_layout Plain Layout
6537 defaults.lyx
6538 \end_layout
6539
6540 \end_inset
6541
6542 があることに注意してください.このひな型は,
6543 \begin_inset Flex MenuItem
6544 status collapsed
6545
6546 \begin_layout Plain Layout
6547 ファイル\SpecialChar menuseparator
6548 新規
6549 \end_layout
6550
6551 \end_inset
6552
6553 を使って新規文書を作成する際,便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
6554 内部から作成するのにしなくてはならないことは,対応する設定を持つ文書を
6555 開き,
6556 \begin_inset Flex MenuItem
6557 status collapsed
6558
6559 \begin_layout Plain Layout
6560 文書既定値として保存
6561 \end_layout
6562
6563 \end_inset
6564
6565 ボタンを押すことです.
6566 \end_layout
6567
6568 \begin_layout Subsection
6569 旧レイアウトファイルの更新
6570 \end_layout
6571
6572 \begin_layout Standard
6573 レイアウトファイルの書式は,\SpecialChar LyX
6574 のリリース毎に変更されますので,古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
6575 が古い書式のレイアウトファイルを読み込むと,\SpecialChar LyX
6576 は,
6577 自動的に変換ツール
6578 \begin_inset Flex Code
6579 status collapsed
6580
6581 \begin_layout Plain Layout
6582 \SpecialChar LyX
6583 Dir/scripts/layout2layout.py
6584 \end_layout
6585
6586 \end_inset
6587
6588 を呼び出し,それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,\SpecialChar LyX
6589 がこれを毎回行な
6590 わくて済むように,レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,以下のように変換子を手動で呼び出してください.
6591 \end_layout
6592
6593 \begin_layout Enumerate
6594 ファイル
6595 \begin_inset Flex Code
6596 status collapsed
6597
6598 \begin_layout Plain Layout
6599 myclass.layout
6600 \end_layout
6601
6602 \end_inset
6603
6604
6605 \begin_inset Flex Code
6606 status collapsed
6607
6608 \begin_layout Plain Layout
6609 myclass.old
6610 \end_layout
6611
6612 \end_inset
6613
6614 に改称
6615 \end_layout
6616
6617 \begin_layout Enumerate
6618 以下のコマンドをコール
6619 \begin_inset Newline newline
6620 \end_inset
6621
6622
6623 \begin_inset Flex Code
6624 status collapsed
6625
6626 \begin_layout Plain Layout
6627 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6628 \end_layout
6629
6630 \end_inset
6631
6632
6633 \begin_inset Newline newline
6634 \end_inset
6635
6636 ここで
6637 \begin_inset Flex Code
6638 status collapsed
6639
6640 \begin_layout Plain Layout
6641 LyXDir
6642 \end_layout
6643
6644 \end_inset
6645
6646 は\SpecialChar LyX
6647 システムディレクトリの名前です.
6648 \end_layout
6649
6650 \begin_layout Standard
6651 手動変換は,インクルードされているファイル内部の変更までは取り扱いませんので,それらのファイルは別に変換されなくてはなりません.
6652 \end_layout
6653
6654 \begin_layout Subsection
6655 \begin_inset CommandInset label
6656 LatexCommand label
6657 name "subsec:引用エンジンファイル"
6658
6659 \end_inset
6660
6661 引用エンジンファイル
6662 \end_layout
6663
6664 \begin_layout Standard
6665 \begin_inset Flex Code
6666 status collapsed
6667
6668 \begin_layout Plain Layout
6669 citeengines/
6670 \end_layout
6671
6672 \end_inset
6673
6674 サブディレクトリ以下に収められている,いわゆる
6675 \begin_inset Flex Code
6676 status collapsed
6677
6678 \begin_layout Plain Layout
6679 *.citeengine
6680 \end_layout
6681
6682 \end_inset
6683
6684 ファイルは,レイアウトファイルの特殊形です.これらの目的は,
6685 \family sans
6686 natbib
6687 \family default
6688
6689 \family sans
6690 jurabib
6691 \family default
6692
6693 \family sans
6694 biblatex
6695 \family default
6696 など,書誌情報を生成する\SpecialChar LaTeX
6697 パッケージの詳細を定義することですが,通常の(追加パッケージのない)Bib\SpecialChar TeX
6698 引用が\SpecialChar LyX
6699 中でどのように取り扱われるかも,これらのファイルの中で定
6700 義されます.
6701 \end_layout
6702
6703 \begin_layout Standard
6704 より具体的には,どのパッケージを\SpecialChar LyX
6705 が読み込む必要があるのか,どの引用コマンドが利用可能であるのか,これらが\SpecialChar LyX
6706 中(作業領域・ダイアログ・コンテクストメニュー)で,さら
6707 にはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,これらのファイルは,使用できる派生様式(著者-刊行年,数値など)とその子細を特定します
6708 .引用エンジンファイルは,
6709 \family sans
6710 文書\SpecialChar menuseparator
6711 設定\SpecialChar ldots
6712 \SpecialChar menuseparator
6713 書誌情報\SpecialChar menuseparator
6714 様式整形子
6715 \family default
6716 で利用できる選択肢を生成するのにも使用されます.
6717 \end_layout
6718
6719 \begin_layout Standard
6720 引用エンジンファイルは,本質的に通常のレイアウトファイルであり,理論上どのようなレイアウト情報も内包することができますが,通常は
6721 \begin_inset Flex Code
6722 status collapsed
6723
6724 \begin_layout Plain Layout
6725 MaxCiteNames
6726 \end_layout
6727
6728 \end_inset
6729
6730
6731 \begin_inset Flex Code
6732 status collapsed
6733
6734 \begin_layout Plain Layout
6735 CiteFramework
6736 \end_layout
6737
6738 \end_inset
6739
6740
6741 \begin_inset Flex Code
6742 status collapsed
6743
6744 \begin_layout Plain Layout
6745 CiteEngine
6746 \end_layout
6747
6748 \end_inset
6749
6750
6751 \begin_inset Flex Code
6752 status collapsed
6753
6754 \begin_layout Plain Layout
6755 CiteFormat
6756 \end_layout
6757
6758 \end_inset
6759
6760 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,ファイル自身に加え,第 
6761 \begin_inset CommandInset ref
6762 LatexCommand ref
6763 reference "subsec:引用エンジンの説明"
6764 plural "false"
6765 caps "false"
6766 noprefix "false"
6767
6768 \end_inset
6769
6770 節と第
6771 \begin_inset CommandInset ref
6772 LatexCommand ref
6773 reference "subsec:引用書式指定"
6774 plural "false"
6775 caps "false"
6776 noprefix "false"
6777
6778 \end_inset
6779
6780 節に述べられています.
6781 \end_layout
6782
6783 \begin_layout Section
6784 \begin_inset CommandInset label
6785 LatexCommand label
6786 name "sec:テキストクラス"
6787
6788 \end_inset
6789
6790 レイアウトファイルの書式
6791 \end_layout
6792
6793 \begin_layout Standard
6794 以下の各節では,いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,直面することの説明を行います.私たちからのアドバイスとしては
6795 ,ゆっくりと進めるようにして,ちょっと進むごとに保存やテストを行い,心休まる音楽を聴き,好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰ま
6796 ってしまったときにはそうです.実際にはそんなに難しいことではないのですが,特に一度に多くのことをやろうとすると,選択肢が多くありすぎて圧倒されてしまうのです.さ
6797 て,もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
6798 の既存のレイアウトを例や参考に使ったり,既存のレイアウトを自身の目的に合わせて修正したりすると,作業が容易になります.
6799 \end_layout
6800
6801 \begin_layout Standard
6802 この章で述べられているタグは,すべて大文字小文字を区別しません.つまり,
6803 \begin_inset Flex Code
6804 status collapsed
6805
6806 \begin_layout Plain Layout
6807 Style
6808 \end_layout
6809
6810 \end_inset
6811
6812
6813 \begin_inset Flex Code
6814 status collapsed
6815
6816 \begin_layout Plain Layout
6817 style
6818 \end_layout
6819
6820 \end_inset
6821
6822
6823 \begin_inset Flex Code
6824 status collapsed
6825
6826 \begin_layout Plain Layout
6827 StYlE
6828 \end_layout
6829
6830 \end_inset
6831
6832 は同じコマンドとなります.機能名の後にある角括弧は,その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,既定値は
6833 \begin_inset Flex Code
6834 status collapsed
6835
6836 \begin_layout Plain Layout
6837
6838 \emph on
6839 強調
6840 \end_layout
6841
6842 \end_inset
6843
6844 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,既定値は
6845 \begin_inset Flex Code
6846 status collapsed
6847
6848 \begin_layout Plain Layout
6849 浮動小数点型=
6850 \emph on
6851 既定値
6852 \end_layout
6853
6854 \end_inset
6855
6856 のように表示されます.
6857 \end_layout
6858
6859 \begin_layout Subsection
6860 文書クラス宣言と分類
6861 \end_layout
6862
6863 \begin_layout Standard
6864 レイアウトファイル中の
6865 \begin_inset Flex Code
6866 status collapsed
6867
6868 \begin_layout Plain Layout
6869 #
6870 \end_layout
6871
6872 \end_inset
6873
6874 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
6875 \begin_inset Flex Code
6876 status collapsed
6877
6878 \begin_layout Plain Layout
6879 *.layout
6880 \end_layout
6881
6882 \end_inset
6883
6884 ファイルは,以下のような行で始めなくてはならないのです.
6885 \end_layout
6886
6887 \begin_layout LyX-Code
6888
6889 \size small
6890 #% Do not delete the line below; configure depends on this
6891 \end_layout
6892
6893 \begin_layout LyX-Code
6894
6895 \size small
6896 #  
6897 \backslash
6898 DeclareLaTeXClass{Article (Standard Class)}
6899 \end_layout
6900
6901 \begin_layout LyX-Code
6902
6903 \size small
6904 #  
6905 \backslash
6906 DeclareCategory{Articles}
6907 \end_layout
6908
6909 \begin_layout Standard
6910 2行目と3行目は,\SpecialChar LyX
6911 が環境構成を行う際に用いられます.このレイアウトファイルは,\SpecialChar LaTeX
6912 スクリプト
6913 \begin_inset Flex Code
6914 status collapsed
6915
6916 \begin_layout Plain Layout
6917 chkconfig.ltx
6918 \end_layout
6919
6920 \end_inset
6921
6922 が,
6923 \begin_inset Flex Code
6924 status collapsed
6925
6926 \begin_layout Plain Layout
6927 #
6928 \end_layout
6929
6930 \end_inset
6931
6932 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
6933 コメントですが,2行目にはテキストクラスの宣言が,3行目にはクラスの分類(非必須)が書かれています.これらの
6934 行が
6935 \begin_inset Flex Code
6936 status collapsed
6937
6938 \begin_layout Plain Layout
6939 article.layout
6940 \end_layout
6941
6942 \end_inset
6943
6944 と名付けられたファイルにあると,
6945 \begin_inset Flex Code
6946 status collapsed
6947
6948 \begin_layout Plain Layout
6949 article
6950 \end_layout
6951
6952 \end_inset
6953
6954 (レイアウトファイル名)という名称のテキストクラスを定義し,\SpecialChar LaTeX
6955 文書クラス
6956 \begin_inset Flex Code
6957 status collapsed
6958
6959 \begin_layout Plain Layout
6960 article.cls
6961 \end_layout
6962
6963 \end_inset
6964
6965 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
6966 \begin_inset Flex MenuItem
6967 status collapsed
6968
6969 \begin_layout Plain Layout
6970 文書\SpecialChar menuseparator
6971 設定
6972 \end_layout
6973
6974 \end_inset
6975
6976 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
6977 \begin_inset Flex MenuItem
6978 status collapsed
6979
6980 \begin_layout Plain Layout
6981 文書\SpecialChar menuseparator
6982 設定
6983 \end_layout
6984
6985 \end_inset
6986
6987 ダイアログで使用され,文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,典型的なものには,「Articles」「Books」「Repor
6988 ts」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,このクラスは「Uncatego
6989 rized」グループに属することになります.
6990 \end_layout
6991
6992 \begin_layout Standard
6993 節見出し表示に変更を加えた,
6994 \begin_inset Flex Code
6995 status collapsed
6996
6997 \begin_layout Plain Layout
6998 article.cls
6999 \end_layout
7000
7001 \end_inset
7002
7003 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7004 \begin_inset Flex Code
7005 status collapsed
7006
7007 \begin_layout Plain Layout
7008 myarticle.layout
7009 \end_layout
7010
7011 \end_inset
7012
7013 というファイルに置いたとすると,このファイルのヘッダは以下のようになります.
7014 \end_layout
7015
7016 \begin_layout LyX-Code
7017
7018 \size small
7019 #% Do not delete the line below; configure depends on this 
7020 \end_layout
7021
7022 \begin_layout LyX-Code
7023
7024 \size small
7025 #  
7026 \backslash
7027 DeclareLaTeXClass[article]{article (with My Own Headings)}
7028 \end_layout
7029
7030 \begin_layout LyX-Code
7031
7032 \size small
7033 #  
7034 \backslash
7035 DeclareCategory{Articles}
7036 \end_layout
7037
7038 \begin_layout Standard
7039 これは,\SpecialChar LaTeX
7040 文書クラス
7041 \begin_inset Flex Code
7042 status collapsed
7043
7044 \begin_layout Plain Layout
7045 article.cls
7046 \end_layout
7047
7048 \end_inset
7049
7050 に関連づけられ,「Article (with My Own Headings)」と表示される,
7051 \begin_inset Flex Code
7052 status collapsed
7053
7054 \begin_layout Plain Layout
7055 myarticle
7056 \end_layout
7057
7058 \end_inset
7059
7060 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,以下のように宣言すると良いでしょう.
7061 \end_layout
7062
7063 \begin_layout LyX-Code
7064
7065 \size small
7066 #% Do not delete the line below; configure depends on this 
7067 \end_layout
7068
7069 \begin_layout LyX-Code
7070
7071 \size small
7072 #  
7073 \backslash
7074 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7075 \end_layout
7076
7077 \begin_layout LyX-Code
7078
7079 \size small
7080 #  
7081 \backslash
7082 DeclareCategory{Articles}
7083 \end_layout
7084
7085 \begin_layout Standard
7086 これは,このテキストクラスが
7087 \begin_inset Flex Code
7088 status collapsed
7089
7090 \begin_layout Plain Layout
7091 foo.sty
7092 \end_layout
7093
7094 \end_inset
7095
7096 パッケージを使用することを示しています.最後に,DocBookコード向けのクラスを宣言することもできることを見ます.典型的な宣言は以下のようになります.
7097 \end_layout
7098
7099 \begin_layout LyX-Code
7100
7101 \size small
7102 #% Do not delete the line below; configure depends on this 
7103 \end_layout
7104
7105 \begin_layout LyX-Code
7106
7107 \size small
7108
7109 \backslash
7110 DeclareDocBookClass[article]{SGML (DocBook article)}
7111 \end_layout
7112
7113 \begin_layout LyX-Code
7114
7115 \size small
7116 #  
7117 \backslash
7118 DeclareCategory{Articles}
7119 \end_layout
7120
7121 \begin_layout Standard
7122 これらの宣言には,文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7123 \end_layout
7124
7125 \begin_layout Standard
7126 できる限り明示的に要約すると,レイアウト宣言は以下の形をとります.
7127 \end_layout
7128
7129 \begin_layout LyX-Code
7130
7131 \size small
7132 #  
7133 \backslash
7134 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7135 \end_layout
7136
7137 \begin_layout LyX-Code
7138
7139 \size small
7140 #  
7141 \backslash
7142 DeclareCategory{分類}
7143 \end_layout
7144
7145 \begin_layout Standard
7146 ここで「クラス」は,\SpecialChar LaTeX
7147 クラスファイル名とレイアウトファイル名が異なるときのみ,指定する必要があります.クラスファイル名が指定されなければ,\SpecialChar LyX
7148 は単純に,クラスファイル
7149 名がレイアウトファイル名と同じであると仮定します.
7150 \end_layout
7151
7152 \begin_layout Standard
7153 テキストクラスがあなたの嗜好に合うように修正できたならば,他にしなくてはならないことは,それを
7154 \begin_inset Flex Code
7155 status collapsed
7156
7157 \begin_layout Plain Layout
7158 LyXDir/layouts/
7159 \end_layout
7160
7161 \end_inset
7162
7163
7164 \begin_inset Flex Code
7165 status collapsed
7166
7167 \begin_layout Plain Layout
7168 UserDir/layouts
7169 \end_layout
7170
7171 \end_inset
7172
7173 にコピーし,
7174 \begin_inset Flex MenuItem
7175 status collapsed
7176
7177 \begin_layout Plain Layout
7178 ツール\SpecialChar menuseparator
7179 環境構成
7180 \end_layout
7181
7182 \end_inset
7183
7184 を実行し,\SpecialChar LyX
7185 を終了して再起動するだけです.そうすれば,この新しいテキストクラスが,他のテキストクラスと同様に使用できるようになります.
7186 \end_layout
7187
7188 \begin_layout Standard
7189 レイアウトファイルが導入されたならば,これを編集して,環境構成したり\SpecialChar LyX
7190 を再起動したりすることなく,その変更を確認することができます
7191 \begin_inset Foot
7192 status collapsed
7193
7194 \begin_layout Plain Layout
7195 第1.6版よりも前の\SpecialChar LyX
7196 では,これを行うことはできませんでした.その結果,レイアウトファイルに加えた変更を反映させるには,その度に\SpecialChar LyX
7197 を再起動しなくてはならなかったので,
7198 レイアウトファイルを編集する作業は,たいへん時間を浪費する作業だったのです.
7199 \end_layout
7200
7201 \end_inset
7202
7203 .\SpecialChar LyX
7204 関数
7205 \begin_inset Flex MenuItem
7206 status collapsed
7207
7208 \begin_layout Plain Layout
7209 layout-reload
7210 \end_layout
7211
7212 \end_inset
7213
7214 を使用すれば,現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—もちろん自分でどれかのキーに割り当て
7215 ることもできますが—.しかし,通常は,この関数を使用する場合は,これをミニバッファに入力します.
7216 \end_layout
7217
7218 \begin_layout Standard
7219
7220 \emph on
7221 注意
7222 \emph default
7223
7224 \begin_inset Flex MenuItem
7225 status collapsed
7226
7227 \begin_layout Plain Layout
7228 layout-reload
7229 \end_layout
7230
7231 \end_inset
7232
7233 はかなり「高度な機能」です.この機能を利用する前に,作業中の文書を保存しておくことを
7234 \emph on
7235 強く
7236 \emph default
7237 勧めます.もっと言えば,大事な文書の作業をしているときに,同時にレイアウト情報の編集をしようとしないことを
7238 \emph on
7239 強く
7240 \emph default
7241 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,そのようなエラーが起こると,\SpecialChar LyX
7242 は現在の
7243 レイアウトが無効であるものと判断して,別のレイアウトに切り替えようとする可能性があります
7244 \begin_inset Foot
7245 status collapsed
7246
7247 \begin_layout Plain Layout
7248 非常に悪質な文法エラーの場合には,\SpecialChar LyX
7249 が終了してしまうことさえあります.これは,ある種のエラーでは,\SpecialChar LyX
7250 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意く
7251 ださい.
7252 \end_layout
7253
7254 \end_inset
7255
7256 .\SpecialChar LyX
7257 開発陣は,このような状況下でも安定性を保つよう努力していますが,後悔よりも安心の方が良いでしょう
7258 \begin_inset Foot
7259 status collapsed
7260
7261 \begin_layout Plain Layout
7262 重ねての助言ですが,つねにバックアップを取ってください.それから,お母さんのお片づけに注意.
7263 \end_layout
7264
7265 \end_inset
7266
7267
7268 \end_layout
7269
7270 \begin_layout Subsection
7271 モジュール宣言
7272 \end_layout
7273
7274 \begin_layout Standard
7275 モジュールは,以下のような行で始まらなくてはなりません.
7276 \end_layout
7277
7278 \begin_layout LyX-Code
7279 #
7280 \backslash
7281 DeclareLyXModule[endnotes.sty]{Endnotes} 
7282 \end_layout
7283
7284 \begin_layout Standard
7285 波括弧内に入っている必須引数はモジュール名で,これは
7286 \begin_inset Flex MenuItem
7287 status collapsed
7288
7289 \begin_layout Plain Layout
7290 文書\SpecialChar menuseparator
7291 設定
7292 \end_layout
7293
7294 \end_inset
7295
7296 内に表示されます.角括弧内の引数は非必須です.これは,モジュールが依存する\SpecialChar LaTeX
7297 パッケージをすべて宣言します.また,非必須引数として,
7298 \begin_inset Flex Code
7299 status collapsed
7300
7301 \begin_layout Plain Layout
7302 変換元->変換先
7303 \end_layout
7304
7305 \end_inset
7306
7307 の形を使用することができます.これは,
7308 \begin_inset Flex Code
7309 status collapsed
7310
7311 \begin_layout Plain Layout
7312 変換元
7313 \end_layout
7314
7315 \end_inset
7316
7317 形式から
7318 \begin_inset Flex Code
7319 status collapsed
7320
7321 \begin_layout Plain Layout
7322 変換先
7323 \end_layout
7324
7325 \end_inset
7326
7327 形式への変換鎖が存在するときのみ,このモジュールを使用できることを宣言するものです.
7328 \end_layout
7329
7330 \begin_layout Standard
7331 それから,以下のようなモジュール宣言を行います
7332 \begin_inset Foot
7333 status collapsed
7334
7335 \begin_layout Plain Layout
7336 モジュールを\SpecialChar LyX
7337 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,次回のインタフェースの更新時に翻訳されることになります.
7338 \end_layout
7339
7340 \end_inset
7341
7342
7343 \end_layout
7344
7345 \begin_layout LyX-Code
7346 #DescriptionBegin 
7347 \end_layout
7348
7349 \begin_layout LyX-Code
7350 #Adds an endnote command, in addition to footnotes.
7351  
7352 \end_layout
7353
7354 \begin_layout LyX-Code
7355 #You will need to add  
7356 \backslash
7357 theendnotes in TeX code where you 
7358 \end_layout
7359
7360 \begin_layout LyX-Code
7361 #want the endnotes to appear.
7362  
7363 \end_layout
7364
7365 \begin_layout LyX-Code
7366 #DescriptionEnd 
7367 \end_layout
7368
7369 \begin_layout LyX-Code
7370 #Requires: somemodule | othermodule
7371 \end_layout
7372
7373 \begin_layout LyX-Code
7374 #Excludes: badmodule
7375 \end_layout
7376
7377 \begin_layout Standard
7378 ここで説明(Description)は,
7379 \begin_inset Flex MenuItem
7380 status collapsed
7381
7382 \begin_layout Plain Layout
7383 文書\SpecialChar menuseparator
7384 設定
7385 \end_layout
7386
7387 \end_inset
7388
7389 でこのモジュールが何をするものか,ユーザに情報を与えるために使用されます.
7390 \begin_inset Flex Code
7391 status collapsed
7392
7393 \begin_layout Plain Layout
7394 Requires
7395 \end_layout
7396
7397 \end_inset
7398
7399 行は,このモジュールが共に使用する必要がある,他のモジュールを特定するのに用いられます.一方,
7400 \begin_inset Flex Code
7401 status collapsed
7402
7403 \begin_layout Plain Layout
7404 Excludes
7405 \end_layout
7406
7407 \end_inset
7408
7409 行は,このモジュールが共に使用してはならない,他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,上記のようにモジュールが複数ある場合には,パ
7410 イプ記号「|」で区切らなくてはなりません.
7411 \begin_inset Flex Code
7412 status collapsed
7413
7414 \begin_layout Plain Layout
7415 Requires
7416 \end_layout
7417
7418 \end_inset
7419
7420 に指定されたモジュールは,選言的に取り扱われることに注意してください.つまり,
7421 \begin_inset Flex Code
7422 status collapsed
7423
7424 \begin_layout Plain Layout
7425 Requires
7426 \end_layout
7427
7428 \end_inset
7429
7430 に指定されたモジュールのうち,
7431 \emph on
7432 少なくとも一つ
7433 \emph default
7434 が使用されていればよいということです.同様に,
7435 \begin_inset Flex Code
7436 status collapsed
7437
7438 \begin_layout Plain Layout
7439 Excludes
7440 \end_layout
7441
7442 \end_inset
7443
7444 に指定されたモジュールは,一つも使用されてはなりません.ここでモジュールは,
7445 \begin_inset Flex Code
7446 status collapsed
7447
7448 \begin_layout Plain Layout
7449 .module
7450 \end_layout
7451
7452 \end_inset
7453
7454 拡張子を除いたファイル名で認識されることに注意してください.つまり
7455 \begin_inset Flex Code
7456 status collapsed
7457
7458 \begin_layout Plain Layout
7459 somemodule
7460 \end_layout
7461
7462 \end_inset
7463
7464 とは,実のところ
7465 \begin_inset Flex Code
7466 status collapsed
7467
7468 \begin_layout Plain Layout
7469 somemodule.module
7470 \end_layout
7471
7472 \end_inset
7473
7474 に他なりません.
7475 \end_layout
7476
7477 \begin_layout Subsection
7478 引用エンジンファイルの宣言
7479 \end_layout
7480
7481 \begin_layout Standard
7482 引用エンジンファイルは,次のような行で始まらなくてはなりません.
7483 \end_layout
7484
7485 \begin_layout LyX-Code
7486 #
7487 \backslash
7488 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
7489 \end_layout
7490
7491 \begin_layout Standard
7492 波括弧内の必須引数はモジュール名で,
7493 \begin_inset Flex Noun
7494 status collapsed
7495
7496 \begin_layout Plain Layout
7497 文書\SpecialChar menuseparator
7498 設定\SpecialChar menuseparator
7499 書誌情報
7500 \end_layout
7501
7502 \end_inset
7503
7504 にそのまま現れます.角括弧内の引数は非必須です.これは,引用エンジンが依存する\SpecialChar LaTeX
7505 パッケージを宣言します.
7506 \end_layout
7507
7508 \begin_layout Standard
7509 引用エンジン宣言には,その後,以下のような行が続きます
7510 \begin_inset Foot
7511 status collapsed
7512
7513 \begin_layout Plain Layout
7514 \SpecialChar LyX
7515 とともに公表するモジュールの場合は,英語で書かれることが望まれます.この説明は,翻訳対象メッセージのリストに含まれますので,次回インタフェースの更新の際に翻訳さ
7516 れることになります.
7517 \end_layout
7518
7519 \end_inset
7520
7521
7522 \end_layout
7523
7524 \begin_layout LyX-Code
7525 # DescriptionBegin
7526 \end_layout
7527
7528 \begin_layout LyX-Code
7529 #   Biblatex supports many author-year and numerical styles.
7530 \end_layout
7531
7532 \begin_layout LyX-Code
7533 #   It is mainly aimed at the Humanities.
7534  It is highly
7535 \end_layout
7536
7537 \begin_layout LyX-Code
7538 #   customizable, fully localized and provides many features
7539 \end_layout
7540
7541 \begin_layout LyX-Code
7542 #   that are not possible with BibTeX.
7543  The use of 'biber' as
7544 \end_layout
7545
7546 \begin_layout LyX-Code
7547 #   bibliography processor is advised.
7548 \end_layout
7549
7550 \begin_layout LyX-Code
7551 # DescriptionEnd
7552 \end_layout
7553
7554 \begin_layout Standard
7555 この説明は,
7556 \begin_inset Flex Noun
7557 status collapsed
7558
7559 \begin_layout Plain Layout
7560 文書\SpecialChar menuseparator
7561 設定\SpecialChar menuseparator
7562 書誌情報
7563 \end_layout
7564
7565 \end_inset
7566
7567 の中で,ユーザーに引用エンジンに関する情報を提供するために使われます.
7568 \end_layout
7569
7570 \begin_layout Subsection
7571 書式番号
7572 \end_layout
7573
7574 \begin_layout Standard
7575 レイアウトファイルやインクルードされたファイル,またはモジュールの最初の非コメント行には,以下のように,かならずファイル形式番号が記されていなくてはなりません.
7576 \end_layout
7577
7578 \begin_layout Description
7579 \begin_inset Flex Code
7580 status collapsed
7581
7582 \begin_layout Plain Layout
7583 Format
7584 \end_layout
7585
7586 \end_inset
7587
7588  [
7589 \begin_inset Flex Code
7590 status collapsed
7591
7592 \begin_layout Plain Layout
7593 整数型
7594 \end_layout
7595
7596 \end_inset
7597
7598 ] このレイアウトファイルの書式
7599 \end_layout
7600
7601 \begin_layout Standard
7602 このタグは\SpecialChar LyX
7603
7604 \begin_inset space ~
7605 \end_inset
7606
7607 1.4.0で導入されました.\SpecialChar LyX
7608
7609 \begin_inset space ~
7610 \end_inset
7611
7612 1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
7613 現行版のファイル形式は,書式60です.しかし,\SpecialChar LyX
7614 の各版は,旧版の\SpecialChar LyX
7615 で作成さ
7616 れたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法はありません.
7617 \end_layout
7618
7619 \begin_layout Subsection
7620 \begin_inset CommandInset label
7621 LatexCommand label
7622 name "subsec:汎用テキストクラスパラメータ"
7623
7624 \end_inset
7625
7626 汎用テキストクラスパラメータ
7627 \end_layout
7628
7629 \begin_layout Standard
7630 以下は,文書クラス全体の挙動を決定する汎用パラメータです(これは,
7631 \begin_inset Flex Code
7632 status collapsed
7633
7634 \begin_layout Plain Layout
7635 .layout
7636 \end_layout
7637
7638 \end_inset
7639
7640 ファイルのみに使用されるべきで,モジュールでは使ってはならない,ということを意味するものでは
7641 \emph on
7642 ありません
7643 \emph default
7644 .モジュールには,すべてのレイアウトタグを使用することができます).
7645 \end_layout
7646
7647 \begin_layout Description
7648 \begin_inset Flex Code
7649 status collapsed
7650
7651 \begin_layout Plain Layout
7652 AddToHTMLPreamble
7653 \end_layout
7654
7655 \end_inset
7656
7657  この文書クラスがXHTMLに出力されるときに,
7658 \begin_inset Flex Code
7659 status collapsed
7660
7661 \begin_layout Plain Layout
7662 <head>
7663 \end_layout
7664
7665 \end_inset
7666
7667 ブロックに追加出力される情報です.典型的には,これはCSSスタイル情報を出力するのに用いられますが,
7668 \begin_inset Flex Code
7669 status collapsed
7670
7671 \begin_layout Plain Layout
7672 <head>
7673 \end_layout
7674
7675 \end_inset
7676
7677 に出力するものであれば,何でも使用することができます.「
7678 \begin_inset Flex Code
7679 status collapsed
7680
7681 \begin_layout Plain Layout
7682 EndPreamble
7683 \end_layout
7684
7685 \end_inset
7686
7687 」で閉じる必要があります.
7688 \end_layout
7689
7690 \begin_layout Description
7691 \begin_inset Flex Code
7692 status collapsed
7693
7694 \begin_layout Plain Layout
7695 AddToPreamble
7696 \end_layout
7697
7698 \end_inset
7699
7700  文書プリアンブルに書き加えられる情報です.「
7701 \begin_inset Flex Code
7702 status collapsed
7703
7704 \begin_layout Plain Layout
7705 EndPreamble
7706 \end_layout
7707
7708 \end_inset
7709
7710 」で閉じる必要があります.
7711 \end_layout
7712
7713 \begin_layout Description
7714 \begin_inset Flex Code
7715 status collapsed
7716
7717 \begin_layout Plain Layout
7718 CiteEngine <エンジン>
7719 \end_layout
7720
7721 \end_inset
7722
7723  文献参照を表示する方法を定義します.詳細については,第
7724 \begin_inset CommandInset ref
7725 LatexCommand ref
7726 reference "subsec:引用エンジンの説明"
7727 plural "false"
7728 caps "false"
7729 noprefix "false"
7730
7731 \end_inset
7732
7733 節をご覧ください.「
7734 \begin_inset Flex Code
7735 status collapsed
7736
7737 \begin_layout Plain Layout
7738 End
7739 \end_layout
7740
7741 \end_inset
7742
7743 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7744 \begin_inset CommandInset ref
7745 LatexCommand ref
7746 reference "subsec:引用エンジンファイル"
7747 plural "false"
7748 caps "false"
7749 noprefix "false"
7750
7751 \end_inset
7752
7753 節参照).
7754 \end_layout
7755
7756 \begin_layout Description
7757 \begin_inset Flex Code
7758 status collapsed
7759
7760 \begin_layout Plain Layout
7761 CiteFormat
7762 \end_layout
7763
7764 \end_inset
7765
7766  書誌情報の表示に使う書式を定義します.詳細については,第
7767 \begin_inset CommandInset ref
7768 LatexCommand ref
7769 reference "subsec:引用書式指定"
7770
7771 \end_inset
7772
7773 節をご覧ください.「
7774 \begin_inset Flex Code
7775 status collapsed
7776
7777 \begin_layout Plain Layout
7778 End
7779 \end_layout
7780
7781 \end_inset
7782
7783 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7784 \begin_inset CommandInset ref
7785 LatexCommand ref
7786 reference "subsec:引用エンジンファイル"
7787 plural "false"
7788 caps "false"
7789 noprefix "false"
7790
7791 \end_inset
7792
7793 節参照).
7794 \end_layout
7795
7796 \begin_layout Description
7797 \begin_inset Flex Code
7798 status collapsed
7799
7800 \begin_layout Plain Layout
7801 CiteFramework
7802 \end_layout
7803
7804 \end_inset
7805
7806  [
7807 \begin_inset Flex Code
7808 status collapsed
7809
7810 \begin_layout Plain Layout
7811
7812 \emph on
7813 bibtex
7814 \end_layout
7815
7816 \end_inset
7817
7818 ,
7819 \begin_inset Flex Code
7820 status collapsed
7821
7822 \begin_layout Plain Layout
7823 biblatex
7824 \end_layout
7825
7826 \end_inset
7827
7828 ] 書誌情報を生成するのに,
7829 \family sans
7830 Biblatex
7831 \family default
7832 を用いるのかBib\SpecialChar TeX
7833 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
7834 \begin_inset CommandInset ref
7835 LatexCommand ref
7836 reference "subsec:引用エンジンファイル"
7837 plural "false"
7838 caps "false"
7839 noprefix "false"
7840
7841 \end_inset
7842
7843 節参照).
7844 \end_layout
7845
7846 \begin_layout Description
7847 \begin_inset Flex Code
7848 status collapsed
7849
7850 \begin_layout Plain Layout
7851 ClassOptions
7852 \end_layout
7853
7854 \end_inset
7855
7856  文書クラスがサポートする様々な大域オプションを記します.説明は,第
7857 \begin_inset CommandInset ref
7858 LatexCommand ref
7859 reference "subsec:ClassOptions"
7860
7861 \end_inset
7862
7863 節を参照してください.「
7864 \begin_inset Flex Code
7865 status collapsed
7866
7867 \begin_layout Plain Layout
7868 End
7869 \end_layout
7870
7871 \end_inset
7872
7873 」で閉じる必要があります.
7874 \end_layout
7875
7876 \begin_layout Description
7877 \begin_inset Flex Code
7878 status collapsed
7879
7880 \begin_layout Plain Layout
7881 Columns
7882 \end_layout
7883
7884 \end_inset
7885
7886  [
7887 \begin_inset Flex Code
7888 status collapsed
7889
7890 \begin_layout Plain Layout
7891
7892 \emph on
7893 1
7894 \end_layout
7895
7896 \end_inset
7897
7898 ,
7899 \begin_inset space \thinspace{}
7900 \end_inset
7901
7902
7903 \begin_inset Flex Code
7904 status collapsed
7905
7906 \begin_layout Plain Layout
7907 2
7908 \end_layout
7909
7910 \end_inset
7911
7912 ] 文書クラスが既定で1段組か2段組かを指定します.
7913 \begin_inset Flex MenuItem
7914 status collapsed
7915
7916 \begin_layout Plain Layout
7917 文書\SpecialChar menuseparator
7918 設定
7919 \end_layout
7920
7921 \end_inset
7922
7923 ダイアログで変更することができます.
7924 \end_layout
7925
7926 \begin_layout Description
7927 \begin_inset Flex Code
7928 status collapsed
7929
7930 \begin_layout Plain Layout
7931 Counter
7932 \end_layout
7933
7934 \end_inset
7935
7936  [
7937 \begin_inset Flex Code
7938 status collapsed
7939
7940 \begin_layout Plain Layout
7941 文字列
7942 \end_layout
7943
7944 \end_inset
7945
7946 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,生成されます.もし存在しなければ修正されます.「
7947 \begin_inset Flex Code
7948 status collapsed
7949
7950 \begin_layout Plain Layout
7951 End
7952 \end_layout
7953
7954 \end_inset
7955
7956 」で閉じる必要があります.
7957 \begin_inset Newline newline
7958 \end_inset
7959
7960 カウンタについての詳細は,第
7961 \begin_inset CommandInset ref
7962 LatexCommand ref
7963 reference "subsec:カウンタ"
7964
7965 \end_inset
7966
7967 節を参照してください.
7968 \end_layout
7969
7970 \begin_layout Description
7971 \begin_inset Flex Code
7972 status collapsed
7973
7974 \begin_layout Plain Layout
7975 DefaultFont
7976 \end_layout
7977
7978 \end_inset
7979
7980  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,第
7981 \begin_inset CommandInset ref
7982 LatexCommand ref
7983 reference "subsec:フォント指定"
7984
7985 \end_inset
7986
7987 節を参照してください.「
7988 \begin_inset Flex Code
7989 status collapsed
7990
7991 \begin_layout Plain Layout
7992 EndFont
7993 \end_layout
7994
7995 \end_inset
7996
7997 」で閉じる必要があります.
7998 \end_layout
7999
8000 \begin_layout Description
8001 \begin_inset Flex Code
8002 status collapsed
8003
8004 \begin_layout Plain Layout
8005 DefaultModule
8006 \end_layout
8007
8008 \end_inset
8009
8010  [
8011 \begin_inset Flex Code
8012 status collapsed
8013
8014 \begin_layout Plain Layout
8015 <モジュール>
8016 \end_layout
8017
8018 \end_inset
8019
8020 ] この文書クラスに,既定で取り込むモジュールを指定します.モジュールは,
8021 \begin_inset Flex Code
8022 status collapsed
8023
8024 \begin_layout Plain Layout
8025 .module
8026 \end_layout
8027
8028 \end_inset
8029
8030 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,当初は有効の状態になっています(これは新しいファイルが作成されたときや,
8031 既存の文書にこの文書クラスが選択したときのみ該当します).
8032 \end_layout
8033
8034 \begin_layout Description
8035 \begin_inset Flex Code
8036 status collapsed
8037
8038 \begin_layout Plain Layout
8039 DefaultStyle
8040 \end_layout
8041
8042 \end_inset
8043
8044  [
8045 \begin_inset Flex Code
8046 status collapsed
8047
8048 \begin_layout Plain Layout
8049 <様式>
8050 \end_layout
8051
8052 \end_inset
8053
8054 ]
8055 \lang english
8056  
8057 \lang japanese
8058 これは新規段落に割り当てられる様式であり,通常は
8059 \begin_inset Flex MenuItem
8060 status collapsed
8061
8062 \begin_layout Plain Layout
8063 標準
8064 \end_layout
8065
8066 \end_inset
8067
8068 です.もしこれを指定しなければ,最初に定義される様式がこれに割り当てられるようにはなっていますが,このディレクティブを使用することが推奨されます.
8069 \end_layout
8070
8071 \begin_layout Description
8072 \begin_inset Flex Code
8073 status collapsed
8074
8075 \begin_layout Plain Layout
8076 ExcludesModule
8077 \end_layout
8078
8079 \end_inset
8080
8081  [
8082 \begin_inset Flex Code
8083 status collapsed
8084
8085 \begin_layout Plain Layout
8086 <モジュール>
8087 \end_layout
8088
8089 \end_inset
8090
8091 ] このタグは,指定されたモジュール—
8092 \begin_inset Flex Code
8093 status collapsed
8094
8095 \begin_layout Plain Layout
8096 .module
8097 \end_layout
8098
8099 \end_inset
8100
8101 拡張子を除いたファイル名で指定します—が,この文書クラスでは使用できないように設定します.これはたとえば,特定の学術誌用レイアウトファイルの中で,定理番号を節毎
8102 に振る
8103 \begin_inset Flex Code
8104 status collapsed
8105
8106 \begin_layout Plain Layout
8107 theorems-sec
8108 \end_layout
8109
8110 \end_inset
8111
8112 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,モジュール内で
8113 \emph on
8114 使用してはいけません
8115 \emph default
8116 .モジュールは,他のモジュールを排除する独自の枠組みがあります(第
8117 \begin_inset CommandInset ref
8118 LatexCommand ref
8119 reference "subsec:レイアウトモジュール"
8120
8121 \end_inset
8122
8123 節参照).
8124 \end_layout
8125
8126 \begin_layout Description
8127 \begin_inset Flex Code
8128 status collapsed
8129
8130 \begin_layout Plain Layout
8131 Float
8132 \end_layout
8133
8134 \end_inset
8135
8136  フロートを新規に定義します.詳細は,第
8137 \begin_inset CommandInset ref
8138 LatexCommand ref
8139 reference "subsec:フロート"
8140
8141 \end_inset
8142
8143 節を参照してください.「
8144 \begin_inset Flex Code
8145 status collapsed
8146
8147 \begin_layout Plain Layout
8148 End
8149 \end_layout
8150
8151 \end_inset
8152
8153 」で閉じる必要があります.
8154 \end_layout
8155
8156 \begin_layout Description
8157 \begin_inset Flex Code
8158 status collapsed
8159
8160 \begin_layout Plain Layout
8161 HTMLPreamble
8162 \end_layout
8163
8164 \end_inset
8165
8166  この文書クラスがXHTMLに出力されるときに,
8167 \begin_inset Flex Code
8168 status collapsed
8169
8170 \begin_layout Plain Layout
8171 <head>
8172 \end_layout
8173
8174 \end_inset
8175
8176 ブロックに出力される情報です.これより前に出現した
8177 \begin_inset Flex Code
8178 status collapsed
8179
8180 \begin_layout Plain Layout
8181 HTMLPreamble
8182 \end_layout
8183
8184 \end_inset
8185
8186
8187 \begin_inset Flex Code
8188 status collapsed
8189
8190 \begin_layout Plain Layout
8191 AddToHTMLPreamble
8192 \end_layout
8193
8194 \end_inset
8195
8196 宣言は,すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
8197 \begin_inset Flex Code
8198 status collapsed
8199
8200 \begin_layout Plain Layout
8201 AddToHTMLPreamble
8202 \end_layout
8203
8204 \end_inset
8205
8206 を使用してください).これは「
8207 \begin_inset Flex Code
8208 status collapsed
8209
8210 \begin_layout Plain Layout
8211 EndPreamble
8212 \end_layout
8213
8214 \end_inset
8215
8216 」で閉じる必要があります.
8217 \end_layout
8218
8219 \begin_layout Description
8220 \begin_inset Flex Code
8221 status collapsed
8222
8223 \begin_layout Plain Layout
8224 HTMLTOCSection
8225 \end_layout
8226
8227 \end_inset
8228
8229  [
8230 \begin_inset Flex Code
8231 status collapsed
8232
8233 \begin_layout Plain Layout
8234 <様式>
8235 \end_layout
8236
8237 \end_inset
8238
8239 ] 文書がHTMLに出力されるときに,目次や書誌情報などに使用されるレイアウトです.articleの場合には,これは通常「節」であり,bookの場合は「章」です
8240 .これを指定しない場合には,\SpecialChar LyX
8241 はどのレイアウトを使用するべきか,解析しようと試みます.
8242 \end_layout
8243
8244 \begin_layout Description
8245 \begin_inset Flex Code
8246 status collapsed
8247
8248 \begin_layout Plain Layout
8249 IfCounter 
8250 \end_layout
8251
8252 \end_inset
8253
8254  [
8255 \begin_inset Flex Code
8256 status collapsed
8257
8258 \begin_layout Plain Layout
8259 <カウンタ>
8260 \end_layout
8261
8262 \end_inset
8263
8264 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,この節は無視されます.「
8265 \begin_inset Flex Code
8266 status collapsed
8267
8268 \begin_layout Plain Layout
8269 End
8270 \end_layout
8271
8272 \end_inset
8273
8274 」で閉じる必要があります.
8275 \begin_inset Newline newline
8276 \end_inset
8277
8278 カウンタについての詳細は,第
8279 \begin_inset CommandInset ref
8280 LatexCommand ref
8281 reference "subsec:カウンタ"
8282
8283 \end_inset
8284
8285 節をご覧ください.
8286 \end_layout
8287
8288 \begin_layout Description
8289 \begin_inset Flex Code
8290 status collapsed
8291
8292 \begin_layout Plain Layout
8293 IfStyle
8294 \end_layout
8295
8296 \end_inset
8297
8298  [
8299 \begin_inset Flex Code
8300 status collapsed
8301
8302 \begin_layout Plain Layout
8303 <様式>
8304 \end_layout
8305
8306 \end_inset
8307
8308 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,この節は無視されます.「
8309 \begin_inset Flex Code
8310 status collapsed
8311
8312 \begin_layout Plain Layout
8313 End
8314 \end_layout
8315
8316 \end_inset
8317
8318 」で閉じる必要があります.
8319 \end_layout
8320
8321 \begin_layout Description
8322 \begin_inset Flex Code
8323 status collapsed
8324
8325 \begin_layout Plain Layout
8326 Input
8327 \end_layout
8328
8329 \end_inset
8330
8331  [
8332 \begin_inset Flex Code
8333 status collapsed
8334
8335 \begin_layout Plain Layout
8336 <ファイル名>
8337 \end_layout
8338
8339 \end_inset
8340
8341 ]
8342 \lang english
8343  
8344 \lang japanese
8345 名称の指し示すように,このコマンドは,同じコマンドを何度も指定せずに済むように,別のレイアウト定義ファイルを取り込ませます.よく使われる例は,基本的なレイアウト
8346 のほとんどを収録している
8347 \begin_inset Flex Code
8348 status collapsed
8349
8350 \begin_layout Plain Layout
8351 stdclass.inc
8352 \end_layout
8353
8354 \end_inset
8355
8356 のような標準レイアウトファイルです.
8357 \end_layout
8358
8359 \begin_layout Description
8360 \begin_inset Flex Code
8361 status collapsed
8362
8363 \begin_layout Plain Layout
8364 InsetLayout
8365 \end_layout
8366
8367 \end_inset
8368
8369  [
8370 \begin_inset Flex Code
8371 status collapsed
8372
8373 \begin_layout Plain Layout
8374 <型>
8375 \end_layout
8376
8377 \end_inset
8378
8379 ]
8380 \lang english
8381  
8382 \lang japanese
8383 このセクションは,差込枠のレイアウトを定義(再定義)します.これは,既存の差込枠にも,新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
8384 \begin_inset Flex Code
8385 status collapsed
8386
8387 \begin_layout Plain Layout
8388 End
8389 \end_layout
8390
8391 \end_inset
8392
8393 」で閉じる必要があります.
8394 \begin_inset Newline newline
8395 \end_inset
8396
8397 詳しい情報は,第
8398 \begin_inset CommandInset ref
8399 LatexCommand ref
8400 reference "subsec:任意設定差込枠"
8401
8402 \end_inset
8403
8404 節をご覧ください.
8405 \end_layout
8406
8407 \begin_layout Description
8408 \begin_inset Flex Code
8409 status collapsed
8410
8411 \begin_layout Plain Layout
8412 LeftMargin
8413 \end_layout
8414
8415 \end_inset
8416
8417  [
8418 \begin_inset Flex Code
8419 status collapsed
8420
8421 \begin_layout Plain Layout
8422 文字列
8423 \end_layout
8424
8425 \end_inset
8426
8427 ] 画面上の左余白の幅を指示する文字列.例:「
8428 \begin_inset Flex Code
8429 status collapsed
8430
8431 \begin_layout Plain Layout
8432 MMMMM
8433 \end_layout
8434
8435 \end_inset
8436
8437 」.(これは,「2ex」のような「長さ」ではないことに注意してください.)
8438 \end_layout
8439
8440 \begin_layout Description
8441 \begin_inset Flex Code
8442 status collapsed
8443
8444 \begin_layout Plain Layout
8445 MaxCiteNames
8446 \end_layout
8447
8448 \end_inset
8449
8450  [
8451 \begin_inset Flex Code
8452 status collapsed
8453
8454 \begin_layout Plain Layout
8455 整数
8456 \end_layout
8457
8458 \end_inset
8459
8460 ] 著者-刊行年引用で,引用が「第一著者 et al.」に切り替わる前に,表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
8461 \begin_inset CommandInset ref
8462 LatexCommand ref
8463 reference "subsec:引用エンジンファイル"
8464 plural "false"
8465 caps "false"
8466 noprefix "false"
8467
8468 \end_inset
8469
8470 節参照).
8471 \end_layout
8472
8473 \begin_layout Description
8474 \begin_inset Flex Code
8475 status collapsed
8476
8477 \begin_layout Plain Layout
8478 NoCounter
8479 \end_layout
8480
8481 \end_inset
8482
8483  [
8484 \begin_inset Flex Code
8485 status collapsed
8486
8487 \begin_layout Plain Layout
8488 <カウンタ>
8489 \end_layout
8490
8491 \end_inset
8492
8493 ] このコマンドは,既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
8494 \end_layout
8495
8496 \begin_layout Description
8497 \begin_inset Flex Code
8498 status collapsed
8499
8500 \begin_layout Plain Layout
8501 NoFloat
8502 \end_layout
8503
8504 \end_inset
8505
8506  [
8507 \begin_inset Flex Code
8508 status collapsed
8509
8510 \begin_layout Plain Layout
8511 <フロート>
8512 \end_layout
8513
8514 \end_inset
8515
8516 ] このコマンドは既存のフロートを削除します.これは特に,Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
8517 \end_layout
8518
8519 \begin_layout Description
8520 \begin_inset Flex Code
8521 status collapsed
8522
8523 \begin_layout Plain Layout
8524 NoStyle
8525 \end_layout
8526
8527 \end_inset
8528
8529  [
8530 \begin_inset Flex Code
8531 status collapsed
8532
8533 \begin_layout Plain Layout
8534 <様式>
8535 \end_layout
8536
8537 \end_inset
8538
8539 ] このコマンドは既存の様式を削除します.これは特に,Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
8540 \end_layout
8541
8542 \begin_layout Description
8543 \begin_inset Flex Code
8544 status collapsed
8545
8546 \begin_layout Plain Layout
8547 OutlinerName
8548 \end_layout
8549
8550 \end_inset
8551
8552  [
8553 \begin_inset Flex Code
8554 status collapsed
8555
8556 \begin_layout Plain Layout
8557 <型>
8558 \end_layout
8559
8560 \end_inset
8561
8562 ] [
8563 \begin_inset Flex Code
8564 status collapsed
8565
8566 \begin_layout Plain Layout
8567 <文字列>
8568 \end_layout
8569
8570 \end_inset
8571
8572 ] 型が
8573 \begin_inset Flex Code
8574 status collapsed
8575
8576 \begin_layout Plain Layout
8577 <型>
8578 \end_layout
8579
8580 \end_inset
8581
8582 で名前が
8583 \begin_inset Flex Code
8584 status collapsed
8585
8586 \begin_layout Plain Layout
8587 <文字列>
8588 \end_layout
8589
8590 \end_inset
8591
8592 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
8593 \end_layout
8594
8595 \begin_layout Description
8596 \begin_inset Flex Code
8597 status collapsed
8598
8599 \begin_layout Plain Layout
8600 OutputFormat
8601 \end_layout
8602
8603 \end_inset
8604
8605  [
8606 \begin_inset Flex Code
8607 status collapsed
8608
8609 \begin_layout Plain Layout
8610 <形式>
8611 \end_layout
8612
8613 \end_inset
8614
8615 ] このクラスによって生成されるファイル形式を示す文字列(
8616 \family sans
8617 設定
8618 \family default
8619 ダイアログで定義される形のもの).おもに,
8620 \begin_inset Flex Code
8621 status collapsed
8622
8623 \begin_layout Plain Layout
8624 OutputType
8625 \end_layout
8626
8627 \end_inset
8628
8629
8630 \begin_inset Flex Code
8631 status collapsed
8632
8633 \begin_layout Plain Layout
8634 literate
8635 \end_layout
8636
8637 \end_inset
8638
8639 になっていて,新しい型のliterate文書を定義したい時に便利です.対応する
8640 \begin_inset Flex Code
8641 status collapsed
8642
8643 \begin_layout Plain Layout
8644 OutputType
8645 \end_layout
8646
8647 \end_inset
8648
8649 パラメーターに遭遇したときには,この文字列は,「
8650 \begin_inset Flex Code
8651 status collapsed
8652
8653 \begin_layout Plain Layout
8654 docbook
8655 \end_layout
8656
8657 \end_inset
8658
8659 」・「
8660 \begin_inset Flex Code
8661 status collapsed
8662
8663 \begin_layout Plain Layout
8664 lat
8665 \emph on
8666 ex
8667 \end_layout
8668
8669 \end_inset
8670
8671 」のいずれかにリセットされます.
8672 \end_layout
8673
8674 \begin_layout Description
8675 \begin_inset Flex Code
8676 status collapsed
8677
8678 \begin_layout Plain Layout
8679 OutputType
8680 \end_layout
8681
8682 \end_inset
8683
8684  [
8685 \begin_inset Flex Code
8686 status collapsed
8687
8688 \begin_layout Plain Layout
8689
8690 \emph on
8691 lat
8692 \emph default
8693 ex
8694 \end_layout
8695
8696 \end_inset
8697
8698
8699 \begin_inset Flex Code
8700 status collapsed
8701
8702 \begin_layout Plain Layout
8703 docbook
8704 \end_layout
8705
8706 \end_inset
8707
8708
8709 \begin_inset Flex Code
8710 status collapsed
8711
8712 \begin_layout Plain Layout
8713 literate
8714 \end_layout
8715
8716 \end_inset
8717
8718 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,取り得る値は「docbook」・「latex」・「literate」です.
8719 \end_layout
8720
8721 \begin_layout Description
8722 \begin_inset Flex Code
8723 status collapsed
8724
8725 \begin_layout Plain Layout
8726 PackageOptions
8727 \end_layout
8728
8729 \end_inset
8730
8731  [
8732 \begin_inset Flex Code
8733 status collapsed
8734
8735 \begin_layout Plain Layout
8736 文字列
8737 \end_layout
8738
8739 \end_inset
8740
8741  
8742 \begin_inset Flex Code
8743 status collapsed
8744
8745 \begin_layout Plain Layout
8746 文字列
8747 \end_layout
8748
8749 \end_inset
8750
8751 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,「
8752 \begin_inset Flex Code
8753 status collapsed
8754
8755 \begin_layout Plain Layout
8756 PackageOptions natbib square
8757 \end_layout
8758
8759 \end_inset
8760
8761 」とすると,
8762 \begin_inset Flex Code
8763 status collapsed
8764
8765 \begin_layout Plain Layout
8766 natbib
8767 \end_layout
8768
8769 \end_inset
8770
8771
8772 \begin_inset Flex Code
8773 status collapsed
8774
8775 \begin_layout Plain Layout
8776 square
8777 \end_layout
8778
8779 \end_inset
8780
8781 オプションとともに読み込みます(\SpecialChar TeX
8782 perts向けに述べると,これは,
8783 \begin_inset Flex Code
8784 status collapsed
8785
8786 \begin_layout Plain Layout
8787 natbib
8788 \end_layout
8789
8790 \end_inset
8791
8792 を読み込む前に,\SpecialChar LyX
8793
8794 \begin_inset Flex Code
8795 status collapsed
8796
8797 \begin_layout Plain Layout
8798
8799 \backslash
8800 PassOptionsToPackage{natbib}{square}
8801 \end_layout
8802
8803 \end_inset
8804
8805 を出力させます).
8806 \end_layout
8807
8808 \begin_layout Description
8809 \begin_inset Flex Code
8810 status collapsed
8811
8812 \begin_layout Plain Layout
8813 PageStyle
8814 \end_layout
8815
8816 \end_inset
8817
8818  [
8819 \emph on
8820
8821 \begin_inset Flex Code
8822 status collapsed
8823
8824 \begin_layout Plain Layout
8825 plain
8826 \end_layout
8827
8828 \end_inset
8829
8830
8831 \emph default
8832
8833 \begin_inset Flex Code
8834 status collapsed
8835
8836 \begin_layout Plain Layout
8837 empty
8838 \end_layout
8839
8840 \end_inset
8841
8842
8843 \begin_inset Flex Code
8844 status collapsed
8845
8846 \begin_layout Plain Layout
8847 headings
8848 \end_layout
8849
8850 \end_inset
8851
8852 ] 既定ページ様式.
8853 \begin_inset Flex MenuItem
8854 status collapsed
8855
8856 \begin_layout Plain Layout
8857 文書\SpecialChar menuseparator
8858 設定
8859 \end_layout
8860
8861 \end_inset
8862
8863 ダイアログで変更することができます.
8864 \end_layout
8865
8866 \begin_layout Description
8867 \begin_inset Flex Code
8868 status collapsed
8869
8870 \begin_layout Plain Layout
8871 Preamble
8872 \end_layout
8873
8874 \end_inset
8875
8876  \SpecialChar LaTeX
8877 文書のプリアンブルを設定します.前に行った
8878 \begin_inset Flex Code
8879 status collapsed
8880
8881 \begin_layout Plain Layout
8882 Preamble
8883 \end_layout
8884
8885 \end_inset
8886
8887 宣言や
8888 \begin_inset Flex Code
8889 status collapsed
8890
8891 \begin_layout Plain Layout
8892 AddToPreamble
8893 \end_layout
8894
8895 \end_inset
8896
8897 宣言は,すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
8898 \begin_inset Flex Code
8899 status collapsed
8900
8901 \begin_layout Plain Layout
8902 AddToPreamble
8903 \end_layout
8904
8905 \end_inset
8906
8907 を使用してください.)「
8908 \begin_inset Flex Code
8909 status collapsed
8910
8911 \begin_layout Plain Layout
8912 EndPreamble
8913 \end_layout
8914
8915 \end_inset
8916
8917 」で閉じる必要があります.
8918 \end_layout
8919
8920 \begin_layout Description
8921 \begin_inset Flex Code
8922 status collapsed
8923
8924 \begin_layout Plain Layout
8925 Provides
8926 \end_layout
8927
8928 \end_inset
8929
8930  [
8931 \begin_inset Flex Code
8932 status collapsed
8933
8934 \begin_layout Plain Layout
8935 文字列
8936 \end_layout
8937
8938 \end_inset
8939
8940 ] [
8941 \begin_inset Flex Code
8942 status collapsed
8943
8944 \begin_layout Plain Layout
8945
8946 \emph on
8947 0
8948 \end_layout
8949
8950 \end_inset
8951
8952
8953 \begin_inset Flex Code
8954 status collapsed
8955
8956 \begin_layout Plain Layout
8957 1
8958 \end_layout
8959
8960 \end_inset
8961
8962 ] このクラスが
8963 \begin_inset Flex Code
8964 status collapsed
8965
8966 \begin_layout Plain Layout
8967 文字列
8968 \end_layout
8969
8970 \end_inset
8971
8972 で示される機能を既に提供しているかどうかを示します.機能は,一般的にパッケージ名(
8973 \begin_inset Flex Code
8974 status collapsed
8975
8976 \begin_layout Plain Layout
8977 amsmath
8978 \end_layout
8979
8980 \end_inset
8981
8982
8983 \begin_inset Flex Code
8984 status collapsed
8985
8986 \begin_layout Plain Layout
8987 makeidx
8988 \end_layout
8989
8990 \end_inset
8991
8992 ・\SpecialChar ldots
8993 )やマクロ名(
8994 \begin_inset Flex Code
8995 status collapsed
8996
8997 \begin_layout Plain Layout
8998 url
8999 \end_layout
9000
9001 \end_inset
9002
9003
9004 \begin_inset Flex Code
9005 status collapsed
9006
9007 \begin_layout Plain Layout
9008 boldsymbol
9009 \end_layout
9010
9011 \end_inset
9012
9013 ・\SpecialChar ldots
9014 )です.機能一覧については,
9015 \begin_inset CommandInset ref
9016 LatexCommand ref
9017 reference "chap:関数一覧"
9018
9019 \end_inset
9020
9021 を参照.
9022 \end_layout
9023
9024 \begin_layout Description
9025 \begin_inset Flex Code
9026 status collapsed
9027
9028 \begin_layout Plain Layout
9029 ProvidesModule
9030 \end_layout
9031
9032 \end_inset
9033
9034  [
9035 \begin_inset Flex Code
9036 status collapsed
9037
9038 \begin_layout Plain Layout
9039 文字列
9040 \end_layout
9041
9042 \end_inset
9043
9044 ] このレイアウトが
9045 \begin_inset Flex Code
9046 status collapsed
9047
9048 \begin_layout Plain Layout
9049 文字列
9050 \end_layout
9051
9052 \end_inset
9053
9054 で表されているモジュールの機能を提供することを示し,
9055 \begin_inset Flex Code
9056 status collapsed
9057
9058 \begin_layout Plain Layout
9059 .module
9060 \end_layout
9061
9062 \end_inset
9063
9064 拡張子を除いたファイル名で指定します.
9065 \begin_inset Flex Code
9066 status collapsed
9067
9068 \begin_layout Plain Layout
9069 DefaultModule
9070 \end_layout
9071
9072 \end_inset
9073
9074 タグを使用すると,モジュールを使用しなくてはならないことを示しますが,このタグは主に,このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いら
9075 れます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
9076 \end_layout
9077
9078 \begin_layout Description
9079 \begin_inset Flex Code
9080 status collapsed
9081
9082 \begin_layout Plain Layout
9083 Requires
9084 \end_layout
9085
9086 \end_inset
9087
9088  [
9089 \begin_inset Flex Code
9090 status collapsed
9091
9092 \begin_layout Plain Layout
9093 文字列
9094 \end_layout
9095
9096 \end_inset
9097
9098 ] このクラスが
9099 \begin_inset Flex Code
9100 status collapsed
9101
9102 \begin_layout Plain Layout
9103 文字列
9104 \end_layout
9105
9106 \end_inset
9107
9108 で表されている機能を要求することを示します.機能が複数ある場合には,コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してくだ
9109 さい(機能一覧については
9110 \begin_inset CommandInset ref
9111 LatexCommand ref
9112 reference "chap:関数一覧"
9113
9114 \end_inset
9115
9116 を参照).特定のオプションをとるパッケージを要求する場合,
9117 \begin_inset Flex Code
9118 status collapsed
9119
9120 \begin_layout Plain Layout
9121 PackageOptions
9122 \end_layout
9123
9124 \end_inset
9125
9126 を追加して使うことができます.
9127 \end_layout
9128
9129 \begin_layout Description
9130 \begin_inset Flex Code
9131 status collapsed
9132
9133 \begin_layout Plain Layout
9134 RightMargin
9135 \end_layout
9136
9137 \end_inset
9138
9139  [
9140 \begin_inset Flex Code
9141 status collapsed
9142
9143 \begin_layout Plain Layout
9144 文字列
9145 \end_layout
9146
9147 \end_inset
9148
9149 ] 画面上の右余白の幅を指示する文字列.例:「
9150 \begin_inset Flex Code
9151 status collapsed
9152
9153 \begin_layout Plain Layout
9154 MMMMM
9155 \end_layout
9156
9157 \end_inset
9158
9159 」.
9160 \end_layout
9161
9162 \begin_layout Description
9163 \begin_inset Flex Code
9164 status collapsed
9165
9166 \begin_layout Plain Layout
9167 SecNumDepth
9168 \end_layout
9169
9170 \end_inset
9171
9172  [
9173 \begin_inset Flex Code
9174 status collapsed
9175
9176 \begin_layout Plain Layout
9177 int=3
9178 \end_layout
9179
9180 \end_inset
9181
9182 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
9183 における
9184 \begin_inset Flex Code
9185 status collapsed
9186
9187 \begin_layout Plain Layout
9188 secnumdepth
9189 \end_layout
9190
9191 \end_inset
9192
9193 カウンタに対応します.
9194 \end_layout
9195
9196 \begin_layout Description
9197 \begin_inset Flex Code
9198 status collapsed
9199
9200 \begin_layout Plain Layout
9201 Sides
9202 \end_layout
9203
9204 \end_inset
9205
9206  [
9207 \emph on
9208
9209 \begin_inset Flex Code
9210 status collapsed
9211
9212 \begin_layout Plain Layout
9213 1
9214 \end_layout
9215
9216 \end_inset
9217
9218
9219 \emph default
9220 ,
9221 \begin_inset space \thinspace{}
9222 \end_inset
9223
9224
9225 \begin_inset Flex Code
9226 status collapsed
9227
9228 \begin_layout Plain Layout
9229 2
9230 \end_layout
9231
9232 \end_inset
9233
9234 ] クラスの既定値として,用紙の片面に印字するか両面に印字するかを指定します.
9235 \begin_inset Flex MenuItem
9236 status collapsed
9237
9238 \begin_layout Plain Layout
9239 文書\SpecialChar menuseparator
9240 設定
9241 \end_layout
9242
9243 \end_inset
9244
9245 ダイアログで変更することができます.
9246 \end_layout
9247
9248 \begin_layout Description
9249 \begin_inset Flex Code
9250 status collapsed
9251
9252 \begin_layout Plain Layout
9253 Style
9254 \end_layout
9255
9256 \end_inset
9257
9258  [
9259 \begin_inset Flex Code
9260 status collapsed
9261
9262 \begin_layout Plain Layout
9263 <名称>
9264 \end_layout
9265
9266 \end_inset
9267
9268 ]
9269 \lang english
9270  
9271 \lang japanese
9272 この部分は段落様式を定義します.様式がまだ存在していなければ,生成されます.既に存在していれば,そのパラメータが修正されます.「
9273 \begin_inset Flex Code
9274 status collapsed
9275
9276 \begin_layout Plain Layout
9277 End
9278 \end_layout
9279
9280 \end_inset
9281
9282 」で閉じる必要があります.
9283 \begin_inset Newline newline
9284 \end_inset
9285
9286 段落様式に関する詳細は,
9287 \begin_inset CommandInset ref
9288 LatexCommand ref
9289 reference "subsec:段落様式-XHTML"
9290
9291 \end_inset
9292
9293 をご覧ください.
9294 \end_layout
9295
9296 \begin_layout Description
9297 \begin_inset Flex Code
9298 status collapsed
9299
9300 \begin_layout Plain Layout
9301 TitleLatexName
9302 \end_layout
9303
9304 \end_inset
9305
9306  [
9307 \begin_inset Flex Code
9308 status collapsed
9309
9310 \begin_layout Plain Layout
9311 文字列="maketitle"
9312 \end_layout
9313
9314 \end_inset
9315
9316
9317 \begin_inset Flex Code
9318 status collapsed
9319
9320 \begin_layout Plain Layout
9321 TitleLatexType
9322 \end_layout
9323
9324 \end_inset
9325
9326 で使用すべきコマンド名あるいは環境名.The name of the command or environment to be used with
9327  
9328 \begin_inset Flex Code
9329 status collapsed
9330
9331 \begin_layout Plain Layout
9332 TitleLatexType
9333 \end_layout
9334
9335 \end_inset
9336
9337 .
9338 \end_layout
9339
9340 \begin_layout Description
9341 \begin_inset Flex Code
9342 status collapsed
9343
9344 \begin_layout Plain Layout
9345 TitleLatexType
9346 \end_layout
9347
9348 \end_inset
9349
9350  [
9351 \begin_inset Flex Code
9352 status collapsed
9353
9354 \begin_layout Plain Layout
9355
9356 \emph on
9357 CommandAfter
9358 \end_layout
9359
9360 \end_inset
9361
9362
9363 \begin_inset Flex Code
9364 status collapsed
9365
9366 \begin_layout Plain Layout
9367 Environment
9368 \end_layout
9369
9370 \end_inset
9371
9372 ] 文書のタイトルを定義するのに,どのようなマークアップを使用するのかを示します.
9373 \begin_inset Flex Code
9374 status collapsed
9375
9376 \begin_layout Plain Layout
9377 CommandAfter
9378 \end_layout
9379
9380 \end_inset
9381
9382 は,「
9383 \begin_inset Flex Code
9384 status collapsed
9385
9386 \begin_layout Plain Layout
9387 InTitle
9388 \begin_inset space ~
9389 \end_inset
9390
9391 1
9392 \end_layout
9393
9394 \end_inset
9395
9396 」が指定されている最後のレイアウトの後に,
9397 \begin_inset Flex Code
9398 status collapsed
9399
9400 \begin_layout Plain Layout
9401 TitleLatexName
9402 \end_layout
9403
9404 \end_inset
9405
9406 で指定したマクロ名を挿入することを意味します.
9407 \begin_inset Flex Code
9408 status collapsed
9409
9410 \begin_layout Plain Layout
9411 Environment
9412 \end_layout
9413
9414 \end_inset
9415
9416 は,「
9417 \begin_inset Flex Code
9418 status collapsed
9419
9420 \begin_layout Plain Layout
9421 InTitle
9422 \begin_inset space ~
9423 \end_inset
9424
9425 1
9426 \end_layout
9427
9428 \end_inset
9429
9430 」を持つ段落群を
9431 \begin_inset Flex Code
9432 status collapsed
9433
9434 \begin_layout Plain Layout
9435 TitleLatexName
9436 \end_layout
9437
9438 \end_inset
9439
9440 で指定した環境でくるむ場合に対応します.
9441 \end_layout
9442
9443 \begin_layout Description
9444 \begin_inset Flex Code
9445 status collapsed
9446
9447 \begin_layout Plain Layout
9448 TocDepth
9449 \end_layout
9450
9451 \end_inset
9452
9453  [
9454 \begin_inset Flex Code
9455 status collapsed
9456
9457 \begin_layout Plain Layout
9458 int=3
9459 \end_layout
9460
9461 \end_inset
9462
9463 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
9464
9465 \begin_inset Flex Code
9466 status collapsed
9467
9468 \begin_layout Plain Layout
9469 tocdepth
9470 \end_layout
9471
9472 \end_inset
9473
9474 カウンタに対応します.
9475 \end_layout
9476
9477 \begin_layout Subsection
9478 \begin_inset Flex Code
9479 status collapsed
9480
9481 \begin_layout Plain Layout
9482 ClassOptions
9483 \end_layout
9484
9485 \end_inset
9486
9487
9488 \begin_inset CommandInset label
9489 LatexCommand label
9490 name "subsec:ClassOptions"
9491
9492 \end_inset
9493
9494
9495 \end_layout
9496
9497 \begin_layout Standard
9498 \begin_inset Flex Code
9499 status collapsed
9500
9501 \begin_layout Plain Layout
9502 ClassOptions
9503 \end_layout
9504
9505 \end_inset
9506
9507 部は,以下の項目を取り得ます.
9508 \end_layout
9509
9510 \begin_layout Description
9511 \begin_inset Flex Code
9512 status collapsed
9513
9514 \begin_layout Plain Layout
9515 FontSize
9516 \end_layout
9517
9518 \end_inset
9519
9520  [
9521 \begin_inset Flex Code
9522 status collapsed
9523
9524 \begin_layout Plain Layout
9525 文字列="10|11|12"
9526 \end_layout
9527
9528 \end_inset
9529
9530 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
9531 \begin_inset Flex Code
9532 status collapsed
9533
9534 \begin_layout Plain Layout
9535 |
9536 \end_layout
9537
9538 \end_inset
9539
9540 」で区切ります.
9541 \end_layout
9542
9543 \begin_layout Description
9544 \begin_inset Flex Code
9545 status collapsed
9546
9547 \begin_layout Plain Layout
9548 Header
9549 \end_layout
9550
9551 \end_inset
9552
9553  XMLベースの出力クラスで,DTD行を設定するのに使用されます.例:PUBLIC 
9554 \begin_inset Quotes eld
9555 \end_inset
9556
9557 -//OASIS//DTD DocBook V4.2//EN
9558 \begin_inset Quotes erd
9559 \end_inset
9560
9561
9562 \end_layout
9563
9564 \begin_layout Description
9565 \begin_inset Flex Code
9566 status collapsed
9567
9568 \begin_layout Plain Layout
9569 PageStyle
9570 \end_layout
9571
9572 \end_inset
9573
9574  [
9575 \begin_inset Flex Code
9576 status collapsed
9577
9578 \begin_layout Plain Layout
9579 文字列="empty|plain|headings|fancy"
9580 \end_layout
9581
9582 \end_inset
9583
9584 ] 使用できるページ様式の一覧です.「
9585 \begin_inset Flex Code
9586 status collapsed
9587
9588 \begin_layout Plain Layout
9589 |
9590 \end_layout
9591
9592 \end_inset
9593
9594 」で区切ります.
9595 \end_layout
9596
9597 \begin_layout Description
9598 \begin_inset Flex Code
9599 status collapsed
9600
9601 \begin_layout Plain Layout
9602 Other
9603 \end_layout
9604
9605 \end_inset
9606
9607  [
9608 \begin_inset Flex Code
9609 status collapsed
9610
9611 \begin_layout Plain Layout
9612 文字列=""
9613 \end_layout
9614
9615 \end_inset
9616
9617
9618 \begin_inset Flex Code
9619 status collapsed
9620
9621 \begin_layout Plain Layout
9622
9623 \backslash
9624 documentclass
9625 \end_layout
9626
9627 \end_inset
9628
9629 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
9630 \end_layout
9631
9632 \begin_layout Standard
9633 \begin_inset Flex Code
9634 status collapsed
9635
9636 \begin_layout Plain Layout
9637 ClassOptions
9638 \end_layout
9639
9640 \end_inset
9641
9642 部は「
9643 \begin_inset Flex Code
9644 status collapsed
9645
9646 \begin_layout Plain Layout
9647 End
9648 \end_layout
9649
9650 \end_inset
9651
9652 」で閉じる必要があります.
9653 \end_layout
9654
9655 \begin_layout Subsection
9656 段落様式
9657 \begin_inset CommandInset label
9658 LatexCommand label
9659 name "subsec:段落様式"
9660
9661 \end_inset
9662
9663
9664 \end_layout
9665
9666 \begin_layout Standard
9667 段落様式の記述は,以下のようになります
9668 \begin_inset Foot
9669 status collapsed
9670
9671 \begin_layout Plain Layout
9672 これは新しいレイアウトを定義するか,既存のレイアウトを修正することになることに注意してください.
9673 \end_layout
9674
9675 \end_inset
9676
9677
9678 \end_layout
9679
9680 \begin_layout LyX-Code
9681 Style 
9682 \family roman
9683 \emph on
9684 名称
9685 \end_layout
9686
9687 \begin_layout LyX-Code
9688  ...
9689 \end_layout
9690
9691 \begin_layout LyX-Code
9692 End
9693 \end_layout
9694
9695 \begin_layout Standard
9696 ここでは,以下のコマンドを使用することができます.
9697 \end_layout
9698
9699 \begin_layout Description
9700 \begin_inset Flex Code
9701 status collapsed
9702
9703 \begin_layout Plain Layout
9704 AddToToc
9705 \end_layout
9706
9707 \end_inset
9708
9709  [
9710 \begin_inset Flex Code
9711 status collapsed
9712
9713 \begin_layout Plain Layout
9714 文字列
9715 \end_layout
9716
9717 \end_inset
9718
9719 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧
9720 ください.既定値:無効.
9721 \end_layout
9722
9723 \begin_layout Description
9724 \begin_inset Flex Code
9725 status collapsed
9726
9727 \begin_layout Plain Layout
9728 Align
9729 \end_layout
9730
9731 \end_inset
9732
9733  [
9734 \begin_inset Flex Code
9735 status collapsed
9736
9737 \begin_layout Plain Layout
9738
9739 \emph on
9740 block
9741 \emph default
9742 , left, right, center
9743 \end_layout
9744
9745 \end_inset
9746
9747 ] 段落の揃え.
9748 \end_layout
9749
9750 \begin_layout Description
9751 \begin_inset Flex Code
9752 status collapsed
9753
9754 \begin_layout Plain Layout
9755 AlignPossible
9756 \end_layout
9757
9758 \end_inset
9759
9760  [
9761 \begin_inset Flex Code
9762 status collapsed
9763
9764 \begin_layout Plain Layout
9765
9766 \emph on
9767 block
9768 \emph default
9769 , left, right, center
9770 \end_layout
9771
9772 \end_inset
9773
9774 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
9775 スタイルには,意味を成さない一部の揃えが禁じられているものがあります.たとえば,連番箇条書きを右揃えや中央揃えにすること
9776 はできません).
9777 \end_layout
9778
9779 \begin_layout Description
9780 \begin_inset Flex Code
9781 status collapsed
9782
9783 \begin_layout Plain Layout
9784 Argument
9785 \end_layout
9786
9787 \end_inset
9788
9789  [
9790 \begin_inset Flex Code
9791 status collapsed
9792
9793 \begin_layout Plain Layout
9794 整数
9795 \end_layout
9796
9797 \end_inset
9798
9799 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.これは,節見出しのようなものに便利で,また\SpecialChar LaTeX
9800 でのみ意味を持ちます.コマンドまたは環
9801 境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,必須・非必須を問わず–,別の場所で定義され,引数番号はその順序を表します.定義は
9802 \begin_inset Flex Code
9803 status collapsed
9804
9805 \begin_layout Plain Layout
9806 EndArgument
9807 \end_layout
9808
9809 \end_inset
9810
9811 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,以下のようになります.
9812 \end_layout
9813
9814 \begin_deeper
9815 \begin_layout Quote
9816
9817 \family typewriter
9818 Argument 1
9819 \end_layout
9820
9821 \begin_layout Quote
9822
9823 \family typewriter
9824 ...
9825 \end_layout
9826
9827 \begin_layout Quote
9828
9829 \family typewriter
9830 EndArgument
9831 \end_layout
9832
9833 \begin_layout Quote
9834
9835 \family typewriter
9836 Argument 2
9837 \end_layout
9838
9839 \begin_layout Quote
9840
9841 \family typewriter
9842 ...
9843 \end_layout
9844
9845 \begin_layout Quote
9846
9847 \family typewriter
9848 EndArgument
9849 \end_layout
9850
9851 \begin_layout Standard
9852 \begin_inset Flex Code
9853 status collapsed
9854
9855 \begin_layout Plain Layout
9856 Argument
9857 \end_layout
9858
9859 \end_inset
9860
9861 定義内部では,以下の指定をすることができます.
9862 \end_layout
9863
9864 \begin_layout Itemize
9865 \begin_inset Flex Code
9866 status collapsed
9867
9868 \begin_layout Plain Layout
9869 LabelString
9870 \end_layout
9871
9872 \end_inset
9873
9874  
9875 \begin_inset Flex Code
9876 status collapsed
9877
9878 \begin_layout Plain Layout
9879 [文字列]
9880 \end_layout
9881
9882 \end_inset
9883
9884  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
9885 \begin_inset Flex Code
9886 status collapsed
9887
9888 \begin_layout Plain Layout
9889 MenuString
9890 \end_layout
9891
9892 \end_inset
9893
9894 を指定した場合を除く).メニューには,後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9895 \begin_inset space \space{}
9896 \end_inset
9897
9898
9899 \begin_inset Quotes eld
9900 \end_inset
9901
9902
9903 \begin_inset Flex Code
9904 status collapsed
9905
9906 \begin_layout Plain Layout
9907 Short Title|S
9908 \end_layout
9909
9910 \end_inset
9911
9912
9913 \begin_inset Quotes erd
9914 \end_inset
9915
9916 ).
9917 \end_layout
9918
9919 \begin_layout Itemize
9920 \begin_inset Flex Code
9921 status collapsed
9922
9923 \begin_layout Plain Layout
9924 MenuString
9925 \end_layout
9926
9927 \end_inset
9928
9929  
9930 \begin_inset Flex Code
9931 status collapsed
9932
9933 \begin_layout Plain Layout
9934 [文字列]
9935 \end_layout
9936
9937 \end_inset
9938
9939  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9940 \begin_inset space \space{}
9941 \end_inset
9942
9943
9944 \begin_inset Quotes eld
9945 \end_inset
9946
9947
9948 \begin_inset Flex Code
9949 status collapsed
9950
9951 \begin_layout Plain Layout
9952 Short Title|S
9953 \end_layout
9954
9955 \end_inset
9956
9957
9958 \begin_inset Quotes erd
9959 \end_inset
9960
9961 ).この指定は必須ではありません.指定しない場合には,代わりに
9962 \begin_inset Flex Code
9963 status collapsed
9964
9965 \begin_layout Plain Layout
9966 LabelString
9967 \end_layout
9968
9969 \end_inset
9970
9971 がメニューに用いられます.
9972 \end_layout
9973
9974 \begin_layout Itemize
9975 \begin_inset Flex Code
9976 status collapsed
9977
9978 \begin_layout Plain Layout
9979 Tooltip
9980 \end_layout
9981
9982 \end_inset
9983
9984  
9985 \begin_inset Flex Code
9986 status collapsed
9987
9988 \begin_layout Plain Layout
9989 [文字列]
9990 \end_layout
9991
9992 \end_inset
9993
9994  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
9995 \end_layout
9996
9997 \begin_layout Itemize
9998 \begin_inset Flex Code
9999 status collapsed
10000
10001 \begin_layout Plain Layout
10002 Mandatory
10003 \end_layout
10004
10005 \end_inset
10006
10007  [
10008 \begin_inset Flex Code
10009 status collapsed
10010
10011 \begin_layout Plain Layout
10012
10013 \emph on
10014 0
10015 \end_layout
10016
10017 \end_inset
10018
10019 ,
10020 \begin_inset space \thinspace{}
10021 \end_inset
10022
10023
10024 \begin_inset Flex Code
10025 status collapsed
10026
10027 \begin_layout Plain Layout
10028 1
10029 \end_layout
10030
10031 \end_inset
10032
10033 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,与えられなければ空の出力を行いますが,非必須引数の場合はそもそも出力されません
10034 .既定では,必須引数は
10035 \begin_inset Flex Code
10036 status collapsed
10037
10038 \begin_layout Plain Layout
10039 {...}
10040 \end_layout
10041
10042 \end_inset
10043
10044 で区切られ,非必須引数は
10045 \begin_inset Flex Code
10046 status collapsed
10047
10048 \begin_layout Plain Layout
10049 [...]
10050 \end_layout
10051
10052 \end_inset
10053
10054 で区切られます.
10055 \end_layout
10056
10057 \begin_layout Itemize
10058 \begin_inset Flex Code
10059 status collapsed
10060
10061 \begin_layout Plain Layout
10062 Requires
10063 \end_layout
10064
10065 \end_inset
10066
10067  
10068 \begin_inset Flex Code
10069 status collapsed
10070
10071 \begin_layout Plain Layout
10072 [整数=0]
10073 \end_layout
10074
10075 \end_inset
10076
10077  この引数が出力されるとき,必要となる別の引数を(番号によって)指定します.例えば,\SpecialChar LaTeX
10078 コマンドでは,
10079 \begin_inset Flex Code
10080 status collapsed
10081
10082 \begin_layout Plain Layout
10083
10084 \backslash
10085 command[][引数]{文字列}
10086 \end_layout
10087
10088 \end_inset
10089
10090 のように,前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
10091 \begin_inset Flex Code
10092 status collapsed
10093
10094 \begin_layout Plain Layout
10095 Argument 2
10096 \end_layout
10097
10098 \end_inset
10099
10100 中に
10101 \begin_inset Flex Code
10102 status collapsed
10103
10104 \begin_layout Plain Layout
10105 Requires 1
10106 \end_layout
10107
10108 \end_inset
10109
10110 ステートメントを置くことで実現できます.
10111 \end_layout
10112
10113 \begin_layout Itemize
10114 \begin_inset Flex Code
10115 status collapsed
10116
10117 \begin_layout Plain Layout
10118 LeftDelim
10119 \end_layout
10120
10121 \end_inset
10122
10123  
10124 \begin_inset Flex Code
10125 status collapsed
10126
10127 \begin_layout Plain Layout
10128 [文字列]
10129 \end_layout
10130
10131 \end_inset
10132
10133  (
10134 \begin_inset Flex Code
10135 status collapsed
10136
10137 \begin_layout Plain Layout
10138 {
10139 \end_layout
10140
10141 \end_inset
10142
10143
10144 \begin_inset Flex Code
10145 status collapsed
10146
10147 \begin_layout Plain Layout
10148 [
10149 \end_layout
10150
10151 \end_inset
10152
10153 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
10154 \begin_inset Flex Code
10155 status collapsed
10156
10157 \begin_layout Plain Layout
10158 <br/>
10159 \end_layout
10160
10161 \end_inset
10162
10163 で指示できます.
10164 \end_layout
10165
10166 \begin_layout Itemize
10167 \begin_inset Flex Code
10168 status collapsed
10169
10170 \begin_layout Plain Layout
10171 RightDelim
10172 \end_layout
10173
10174 \end_inset
10175
10176  
10177 \begin_inset Flex Code
10178 status collapsed
10179
10180 \begin_layout Plain Layout
10181 [文字列]
10182 \end_layout
10183
10184 \end_inset
10185
10186  (
10187 \begin_inset Flex Code
10188 status collapsed
10189
10190 \begin_layout Plain Layout
10191 }
10192 \end_layout
10193
10194 \end_inset
10195
10196
10197 \begin_inset Flex Code
10198 status collapsed
10199
10200 \begin_layout Plain Layout
10201 ]
10202 \end_layout
10203
10204 \end_inset
10205
10206 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
10207 \begin_inset Flex Code
10208 status collapsed
10209
10210 \begin_layout Plain Layout
10211 <br/>
10212 \end_layout
10213
10214 \end_inset
10215
10216 で指示できます.
10217 \end_layout
10218
10219 \begin_layout Itemize
10220 \begin_inset Flex Code
10221 status collapsed
10222
10223 \begin_layout Plain Layout
10224 DefaultArg
10225 \end_layout
10226
10227 \end_inset
10228
10229  
10230 \begin_inset Flex Code
10231 status collapsed
10232
10233 \begin_layout Plain Layout
10234 [文字列]
10235 \end_layout
10236
10237 \end_inset
10238
10239  ユーザー指定引数が与えられなかったとき,すなわち引数差込枠が挿入されなかったときに限り,挿入される引数を定義します(空の引数差込枠が挿入されてもDefault
10240 Argは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
10241 \end_layout
10242
10243 \begin_layout Itemize
10244 \begin_inset Flex Code
10245 status collapsed
10246
10247 \begin_layout Plain Layout
10248 PresetArg
10249 \end_layout
10250
10251 \end_inset
10252
10253  
10254 \begin_inset Flex Code
10255 status collapsed
10256
10257 \begin_layout Plain Layout
10258 [文字列]
10259 \end_layout
10260
10261 \end_inset
10262
10263  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
10264 \end_layout
10265
10266 \begin_layout Itemize
10267 \begin_inset Flex Code
10268 status collapsed
10269
10270 \begin_layout Plain Layout
10271 Font
10272 \end_layout
10273
10274 \end_inset
10275
10276  引数の内容に用いられるフォント.
10277 \begin_inset CommandInset ref
10278 LatexCommand ref
10279 reference "subsec:フォント指定"
10280
10281 \end_inset
10282
10283 参照.
10284 \end_layout
10285
10286 \begin_layout Itemize
10287 \begin_inset Flex Code
10288 status collapsed
10289
10290 \begin_layout Plain Layout
10291 LabelFont
10292 \end_layout
10293
10294 \end_inset
10295
10296  ラベルに用いられるフォント.
10297 \begin_inset CommandInset ref
10298 LatexCommand ref
10299 reference "subsec:フォント指定"
10300
10301 \end_inset
10302
10303 参照.
10304 \end_layout
10305
10306 \begin_layout Itemize
10307 \begin_inset Flex Code
10308 status collapsed
10309
10310 \begin_layout Plain Layout
10311 Decoration
10312 \end_layout
10313
10314 \end_inset
10315
10316  [
10317 \begin_inset Flex Code
10318 status collapsed
10319
10320 \begin_layout Plain Layout
10321
10322 \emph on
10323 Classic
10324 \emph default
10325 , Minimalistic, Conglomerate
10326 \end_layout
10327
10328 \end_inset
10329
10330 ] 差込枠の枠とボタンに用いられる装飾様式.
10331 \end_layout
10332
10333 \begin_layout Itemize
10334 \begin_inset Flex Code
10335 status collapsed
10336
10337 \begin_layout Plain Layout
10338 AutoInsert
10339 \end_layout
10340
10341 \end_inset
10342
10343  
10344 \begin_inset Flex Code
10345 status collapsed
10346
10347 \begin_layout Plain Layout
10348 [整数=0]
10349 \end_layout
10350
10351 \end_inset
10352
10353  これが
10354 \begin_inset Flex Code
10355 status collapsed
10356
10357 \begin_layout Plain Layout
10358 1
10359 \end_layout
10360
10361 \end_inset
10362
10363 に設定されると,各様式が選択されたときに,この引数が自動的に挿入されます.現在のところ,様式・レイアウト毎に1変数のみ自動挿入することができます.
10364 \end_layout
10365
10366 \begin_layout Itemize
10367 \begin_inset Flex Code
10368 status collapsed
10369
10370 \begin_layout Plain Layout
10371 InsertCotext
10372 \end_layout
10373
10374 \end_inset
10375
10376  
10377 \begin_inset Flex Code
10378 status collapsed
10379
10380 \begin_layout Plain Layout
10381 [整数=0]
10382 \end_layout
10383
10384 \end_inset
10385
10386  これが
10387 \begin_inset Flex Code
10388 status collapsed
10389
10390 \begin_layout Plain Layout
10391 1
10392 \end_layout
10393
10394 \end_inset
10395
10396 に設定されると,この引数は,副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
10397 \end_layout
10398
10399 \begin_layout Itemize
10400 \begin_inset Flex Code
10401 status collapsed
10402
10403 \begin_layout Plain Layout
10404 PassThru
10405 \end_layout
10406
10407 \end_inset
10408
10409  [
10410 \begin_inset Flex Code
10411 status collapsed
10412
10413 \begin_layout Plain Layout
10414
10415 \emph on
10416 inherited
10417 \emph default
10418 , true, false
10419 \end_layout
10420
10421 \end_inset
10422
10423 ] この引数の内容が,\SpecialChar LaTeX
10424 が要求する特別な書き換えを行うことなく,原文のまま出力されるべきかどうかを指定します.既定値では,
10425 \begin_inset Flex Code
10426 status collapsed
10427
10428 \begin_layout Plain Layout
10429 PassThru
10430 \end_layout
10431
10432 \end_inset
10433
10434 の状態は,引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,この引数のみの状態を変更します.
10435 \end_layout
10436
10437 \begin_layout Itemize
10438 \begin_inset Flex Code
10439 status collapsed
10440
10441 \begin_layout Plain Layout
10442 PassThruChars
10443 \end_layout
10444
10445 \end_inset
10446
10447  [
10448 \begin_inset Flex Code
10449 status collapsed
10450
10451 \begin_layout Plain Layout
10452 文字列
10453 \end_layout
10454
10455 \end_inset
10456
10457 ]
10458 \family typewriter
10459  
10460 \family default
10461 \SpecialChar LaTeX
10462 が要求する特別な翻訳は抜きにして,生の形で出力されるべき各文字を定義します.PassThruとは違って,引数用に,これは明示的に定義されなくてはなりません.つま
10463 り,引数は,親差込枠や親レイアウトからPassThruCharsを継承しません.
10464 \end_layout
10465
10466 \begin_layout Itemize
10467 \begin_inset Flex Code
10468 status collapsed
10469
10470 \begin_layout Plain Layout
10471 IsTocCaption
10472 \end_layout
10473
10474 \end_inset
10475
10476  [
10477 \begin_inset Flex Code
10478 status collapsed
10479
10480 \begin_layout Plain Layout
10481
10482 \emph on
10483 0
10484 \end_layout
10485
10486 \end_inset
10487
10488 ,
10489 \begin_inset space \thinspace{}
10490 \end_inset
10491
10492
10493 \begin_inset Flex Code
10494 status collapsed
10495
10496 \begin_layout Plain Layout
10497 1
10498 \end_layout
10499
10500 \end_inset
10501
10502 ] これを1に設定すると,引数は,その内容を対応する一覧表の項目に出力します.AddToTocを参照.
10503 \end_layout
10504
10505 \begin_layout Standard
10506 既定では,
10507 \begin_inset Flex Code
10508 status collapsed
10509
10510 \begin_layout Plain Layout
10511 LatexType
10512 \end_layout
10513
10514 \end_inset
10515
10516
10517 \begin_inset Flex Code
10518 status collapsed
10519
10520 \begin_layout Plain Layout
10521 Command
10522 \end_layout
10523
10524 \end_inset
10525
10526 のとき,各レイアウトで\SpecialChar LyX
10527 作業領域に入力した文字列は,コマンドの最後の(必須)引数になります.しかしながら,前置句
10528 \begin_inset Flex Code
10529 status collapsed
10530
10531 \begin_layout Plain Layout
10532 post:
10533 \end_layout
10534
10535 \end_inset
10536
10537 を付けた文字列は,この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,作業領域引数の後の最初の引数は
10538 \begin_inset Flex Code
10539 status collapsed
10540
10541 \begin_layout Plain Layout
10542 post:1
10543 \end_layout
10544
10545 \end_inset
10546
10547 となります.後置引数は,
10548 \begin_inset Flex Code
10549 status collapsed
10550
10551 \begin_layout Plain Layout
10552 Command
10553 \end_layout
10554
10555 \end_inset
10556
10557 以外の
10558 \begin_inset Flex Code
10559 status collapsed
10560
10561 \begin_layout Plain Layout
10562 LatexType
10563 \end_layout
10564
10565 \end_inset
10566
10567 では無視されます.
10568 \end_layout
10569
10570 \begin_layout Standard
10571 (
10572 \begin_inset Flex Code
10573 status collapsed
10574
10575 \begin_layout Plain Layout
10576
10577 \backslash
10578 item[foo]
10579 \end_layout
10580
10581 \end_inset
10582
10583 のような)箇条書き
10584 \begin_inset Flex Code
10585 status collapsed
10586
10587 \begin_layout Plain Layout
10588
10589 \backslash
10590 item
10591 \end_layout
10592
10593 \end_inset
10594
10595 の引数は,前置句
10596 \begin_inset Flex Code
10597 status collapsed
10598
10599 \begin_layout Plain Layout
10600 item:
10601 \end_layout
10602
10603 \end_inset
10604
10605 の後に番号を付けます(例:
10606 \begin_inset Flex Code
10607 status collapsed
10608
10609 \begin_layout Plain Layout
10610 Argument item:1
10611 \end_layout
10612
10613 \end_inset
10614
10615 ).
10616 \end_layout
10617
10618 \end_deeper
10619 \begin_layout Description
10620 \begin_inset Flex Code
10621 status collapsed
10622
10623 \begin_layout Plain Layout
10624 BabelPreamble
10625 \end_layout
10626
10627 \end_inset
10628
10629  これは,前に現れたこの様式の
10630 \begin_inset Flex Code
10631 status collapsed
10632
10633 \begin_layout Plain Layout
10634 BabelPreamble
10635 \end_layout
10636
10637 \end_inset
10638
10639 宣言をすべて,完全に上書きしますので注意してください.「
10640 \begin_inset Flex Code
10641 status collapsed
10642
10643 \begin_layout Plain Layout
10644 EndBabelPreamble
10645 \end_layout
10646
10647 \end_inset
10648
10649 」で閉じる必要があります.これの利用法についての詳細は,第
10650 \begin_inset CommandInset ref
10651 LatexCommand ref
10652 reference "subsec:段落様式の国際化"
10653
10654 \end_inset
10655
10656 節をご覧ください.
10657 \end_layout
10658
10659 \begin_layout Description
10660 \begin_inset Flex Code
10661 status collapsed
10662
10663 \begin_layout Plain Layout
10664 BottomSep
10665 \end_layout
10666
10667 \end_inset
10668
10669  [
10670 \begin_inset Flex Code
10671 status collapsed
10672
10673 \begin_layout Plain Layout
10674 浮動小数点型=0
10675 \end_layout
10676
10677 \end_inset
10678
10679 ]
10680 \begin_inset Foot
10681 status collapsed
10682
10683 \begin_layout Plain Layout
10684 ここで「浮動小数点型」とは1.5のような実数を指します.
10685 \end_layout
10686
10687 \end_inset
10688
10689  このレイアウト型の段落塊の最後の段落と,次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,分離幅は足し上げられるのではなく,最大値がとられま
10690 す.
10691 \end_layout
10692
10693 \begin_layout Description
10694 \begin_inset Flex Code
10695 status collapsed
10696
10697 \begin_layout Plain Layout
10698 Category
10699 \end_layout
10700
10701 \end_inset
10702
10703  [
10704 \begin_inset Flex Code
10705 status collapsed
10706
10707 \begin_layout Plain Layout
10708 文字列
10709 \end_layout
10710
10711 \end_inset
10712
10713 ] この様式のカテゴリです.これは,ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが
10714 ,作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
10715 \end_layout
10716
10717 \begin_layout Description
10718 \begin_inset Flex Code
10719 status collapsed
10720
10721 \begin_layout Plain Layout
10722 CommandDepth
10723 \end_layout
10724
10725 \end_inset
10726
10727  XMLコマンドの深度.XML型の書式でのみ使用されます.
10728 \end_layout
10729
10730 \begin_layout Description
10731 \begin_inset Flex Code
10732 status collapsed
10733
10734 \begin_layout Plain Layout
10735 CopyStyle
10736 \end_layout
10737
10738 \end_inset
10739
10740  [
10741 \begin_inset Flex Code
10742 status collapsed
10743
10744 \begin_layout Plain Layout
10745 文字列
10746 \end_layout
10747
10748 \end_inset
10749
10750 ] 既存の様式から,すべての機能を現在の様式にコピーします.
10751 \end_layout
10752
10753 \begin_layout Description
10754 \begin_inset Flex Code
10755 status collapsed
10756
10757 \begin_layout Plain Layout
10758 DependsOn
10759 \end_layout
10760
10761 \end_inset
10762
10763  [
10764 \begin_inset Flex Code
10765 status collapsed
10766
10767 \begin_layout Plain Layout
10768 <名称>
10769 \end_layout
10770
10771 \end_inset
10772
10773 ]
10774 \lang english
10775  
10776 \lang japanese
10777 この
10778 \emph on
10779 前に
10780 \emph default
10781 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,プリアンブルの断片の順序を確実にするためのものです
10782 \begin_inset Foot
10783 status collapsed
10784
10785 \begin_layout Plain Layout
10786 この機能以外には,プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
10787 の特定のバージョンで観察された順序は,将来のバージョンで警告なしに変わる可能性が
10788 あります.
10789 \end_layout
10790
10791 \end_inset
10792
10793
10794 \end_layout
10795
10796 \begin_layout Description
10797 \begin_inset Flex Code
10798 status collapsed
10799
10800 \begin_layout Plain Layout
10801 EndLabeltype
10802 \end_layout
10803
10804 \end_inset
10805
10806  [
10807 \begin_inset Flex Code
10808 status collapsed
10809
10810 \begin_layout Plain Layout
10811
10812 \emph on
10813 No_Label
10814 \emph default
10815 , Box, Filled_Box, Static
10816 \end_layout
10817
10818 \end_inset
10819
10820 ] 段落の最後(あるいは
10821 \begin_inset Flex Code
10822 status collapsed
10823
10824 \begin_layout Plain Layout
10825 LatexType
10826 \end_layout
10827
10828 \end_inset
10829
10830 が,
10831 \begin_inset Flex Code
10832 status collapsed
10833
10834 \begin_layout Plain Layout
10835 Environment
10836 \end_layout
10837
10838 \end_inset
10839
10840
10841 \begin_inset Flex Code
10842 status collapsed
10843
10844 \begin_layout Plain Layout
10845 Item_Environment
10846 \end_layout
10847
10848 \end_inset
10849
10850
10851 \begin_inset Flex Code
10852 status collapsed
10853
10854 \begin_layout Plain Layout
10855 List_Environment
10856 \end_layout
10857
10858 \end_inset
10859
10860 のいずれかの場合は,段落群の最後)に置くラベル.
10861 \begin_inset Flex Code
10862 status collapsed
10863
10864 \begin_layout Plain Layout
10865 No_Label
10866 \end_layout
10867
10868 \end_inset
10869
10870 の場合は「何もない」ことを指し,
10871 \begin_inset Flex Code
10872 status collapsed
10873
10874 \begin_layout Plain Layout
10875 Box
10876 \end_layout
10877
10878 \end_inset
10879
10880 (あるいは
10881 \begin_inset Flex Code
10882 status collapsed
10883
10884 \begin_layout Plain Layout
10885 Filled_Box
10886 \end_layout
10887
10888 \end_inset
10889
10890 )の場合は,証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
10891 \begin_inset Flex Code
10892 status collapsed
10893
10894 \begin_layout Plain Layout
10895 Static
10896 \end_layout
10897
10898 \end_inset
10899
10900 は明示したテキスト文字列を指します.
10901 \end_layout
10902
10903 \begin_layout Description
10904 \begin_inset Flex Code
10905 status collapsed
10906
10907 \begin_layout Plain Layout
10908 EndLabelString
10909 \end_layout
10910
10911 \end_inset
10912
10913  [
10914 \begin_inset Flex Code
10915 status collapsed
10916
10917 \begin_layout Plain Layout
10918 文字列=""
10919 \end_layout
10920
10921 \end_inset
10922
10923
10924 \begin_inset Flex Code
10925 status collapsed
10926
10927 \begin_layout Plain Layout
10928 Static
10929 \end_layout
10930
10931 \end_inset
10932
10933
10934 \begin_inset Flex Code
10935 status collapsed
10936
10937 \begin_layout Plain Layout
10938 EndLabelType
10939 \end_layout
10940
10941 \end_inset
10942
10943 のラベルで用いる文字列.
10944 \end_layout
10945
10946 \begin_layout Description
10947 \begin_inset Flex Code
10948 status collapsed
10949
10950 \begin_layout Plain Layout
10951 Font
10952 \end_layout
10953
10954 \end_inset
10955
10956  本文テキストとラベルの
10957 \emph on
10958 両方で
10959 \emph default
10960 用いられるフォント.第
10961 \begin_inset CommandInset ref
10962 LatexCommand ref
10963 reference "subsec:フォント指定"
10964
10965 \end_inset
10966
10967 節を参照.このフォントを定義すると,自動的に
10968 \begin_inset Flex Code
10969 status collapsed
10970
10971 \begin_layout Plain Layout
10972 LabelFont
10973 \end_layout
10974
10975 \end_inset
10976
10977 も同じ値で定義されることに注意してください.したがって,
10978 \begin_inset Flex Code
10979 status collapsed
10980
10981 \begin_layout Plain Layout
10982 LabelFont
10983 \end_layout
10984
10985 \end_inset
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 ForceLocal
10996 \end_layout
10997
10998 \end_inset
10999
11000  [
11001 \begin_inset Flex Code
11002 status collapsed
11003
11004 \begin_layout Plain Layout
11005 int=0
11006 \end_layout
11007
11008 \end_inset
11009
11010 ] 新しい様式を\SpecialChar LyX
11011 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11012  2.1.0です.引数は数字で,0・-1・1以上の任意の数をとることが
11013 できます.様式の
11014 \begin_inset Flex Code
11015 status collapsed
11016
11017 \begin_layout Plain Layout
11018 ForceLocal
11019 \end_layout
11020
11021 \end_inset
11022
11023 フラグが1以上ならば,これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,文書ヘッダからの様式定義が文書クラスに追加されます.したがって,古い
11024 版の\SpecialChar LyX
11025 もこの様式を取り扱えるようになります.
11026 \begin_inset Flex Code
11027 status collapsed
11028
11029 \begin_layout Plain Layout
11030 ForceLocal
11031 \end_layout
11032
11033 \end_inset
11034
11035 の引数は版数です.様式が読み込まれたときに,文書クラス中の既存の様式の版数よりも小さいと,新しい様式は無視されます.版数が大きいと,既存の様式に代わって新しい様
11036 式が用いられます.値-1は無限大の版数を意味し,この様式が常に用いられることになります.
11037 \end_layout
11038
11039 \begin_layout Description
11040 \begin_inset Flex Code
11041 status collapsed
11042
11043 \begin_layout Plain Layout
11044 FreeSpacing
11045 \end_layout
11046
11047 \end_inset
11048
11049  [
11050 \emph on
11051
11052 \begin_inset Flex Code
11053 status collapsed
11054
11055 \begin_layout Plain Layout
11056 0
11057 \end_layout
11058
11059 \end_inset
11060
11061
11062 \emph default
11063 ,
11064 \begin_inset space \thinspace{}
11065 \end_inset
11066
11067
11068 \begin_inset Flex Code
11069 status collapsed
11070
11071 \begin_layout Plain Layout
11072 1
11073 \end_layout
11074
11075 \end_inset
11076
11077 ] \SpecialChar LyX
11078 は,空白をそれ自体文字や記号ではなく,2つの単語の間の分割子として捉えているため,単語間に2つ以上の空白を入れることは,通常許可していません.これ自体はとて
11079 も素晴らしいことですが,たとえばプログラムコードや生の\SpecialChar LaTeX
11080 コードを入力しようとするときなどに,煩わしくなることがあります.このことから,
11081 \begin_inset Flex Code
11082 status collapsed
11083
11084 \begin_layout Plain Layout
11085 FreeSpacing
11086 \end_layout
11087
11088 \end_inset
11089
11090 を有効にすることが認められています.\SpecialChar LyX
11091 は,\SpecialChar LaTeX
11092 モード以外では2つめ以降の空白には,保護された空白を使用することに注意してください.
11093 \end_layout
11094
11095 \begin_layout Description
11096 \begin_inset Flex Code
11097 status collapsed
11098
11099 \begin_layout Plain Layout
11100 HTML*
11101 \end_layout
11102
11103 \end_inset
11104
11105  これらのタグは,XHTML出力で使用されます.第
11106 \begin_inset CommandInset ref
11107 LatexCommand ref
11108 reference "subsec:段落様式-XHTML"
11109
11110 \end_inset
11111
11112 節をご覧ください.
11113 \end_layout
11114
11115 \begin_layout Description
11116 \begin_inset Flex Code
11117 status collapsed
11118
11119 \begin_layout Plain Layout
11120 InnerTag
11121 \end_layout
11122
11123 \end_inset
11124
11125  [[FIXME]] (XML型書式でのみ使用されます.)
11126 \end_layout
11127
11128 \begin_layout Description
11129 \begin_inset Flex Code
11130 status collapsed
11131
11132 \begin_layout Plain Layout
11133 InPreamble
11134 \end_layout
11135
11136 \end_inset
11137
11138  [
11139 \emph on
11140
11141 \begin_inset Flex Code
11142 status collapsed
11143
11144 \begin_layout Plain Layout
11145 0
11146 \end_layout
11147
11148 \end_inset
11149
11150
11151 \emph default
11152 ,
11153 \begin_inset space \thinspace{}
11154 \end_inset
11155
11156
11157 \begin_inset Flex Code
11158 status collapsed
11159
11160 \begin_layout Plain Layout
11161 1
11162 \end_layout
11163
11164 \end_inset
11165
11166
11167 \begin_inset Flex Code
11168 status collapsed
11169
11170 \begin_layout Plain Layout
11171 1
11172 \end_layout
11173
11174 \end_inset
11175
11176 の場合,様式が文書本体ではなく,文書プリアンブルにインクルードされるようにします.これは,タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利
11177 です.これは,
11178 \begin_inset Flex Code
11179 status collapsed
11180
11181 \begin_layout Plain Layout
11182 LatexType
11183 \end_layout
11184
11185 \end_inset
11186
11187
11188 \begin_inset Flex Code
11189 status collapsed
11190
11191 \begin_layout Plain Layout
11192 Command
11193 \end_layout
11194
11195 \end_inset
11196
11197 または
11198 \begin_inset Flex Code
11199 status collapsed
11200
11201 \begin_layout Plain Layout
11202 Paragraph
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 InTitle
11216 \end_layout
11217
11218 \end_inset
11219
11220  [
11221 \emph on
11222
11223 \begin_inset Flex Code
11224 status collapsed
11225
11226 \begin_layout Plain Layout
11227 0
11228 \end_layout
11229
11230 \end_inset
11231
11232
11233 \emph default
11234 ,
11235 \begin_inset space \thinspace{}
11236 \end_inset
11237
11238
11239 \begin_inset Flex Code
11240 status collapsed
11241
11242 \begin_layout Plain Layout
11243 1
11244 \end_layout
11245
11246 \end_inset
11247
11248
11249 \begin_inset Flex Code
11250 status collapsed
11251
11252 \begin_layout Plain Layout
11253 1
11254 \end_layout
11255
11256 \end_inset
11257
11258 の場合,このレイアウトをタイトルブロックの一部としてマークします(大域項目の
11259 \begin_inset Flex Code
11260 status collapsed
11261
11262 \begin_layout Plain Layout
11263 TitleLatexType
11264 \end_layout
11265
11266 \end_inset
11267
11268
11269 \begin_inset Flex Code
11270 status collapsed
11271
11272 \begin_layout Plain Layout
11273 TitleLatexName
11274 \end_layout
11275
11276 \end_inset
11277
11278 も参照).
11279 \end_layout
11280
11281 \begin_layout Description
11282 \begin_inset Flex Code
11283 status collapsed
11284
11285 \begin_layout Plain Layout
11286 IsTocCaption
11287 \end_layout
11288
11289 \end_inset
11290
11291  [
11292 \begin_inset Flex Code
11293 status collapsed
11294
11295 \begin_layout Plain Layout
11296
11297 \emph on
11298 0
11299 \end_layout
11300
11301 \end_inset
11302
11303 ,
11304 \begin_inset space \thinspace{}
11305 \end_inset
11306
11307
11308 \begin_inset Flex Code
11309 status collapsed
11310
11311 \begin_layout Plain Layout
11312 1
11313 \end_layout
11314
11315 \end_inset
11316
11317 ] これを1に設定すると,AddToTocが有効になり,段落は,その内容の要約を一覧表の項目に表示します.0に設定すると,ラベルが存在すれば,それのみが表示され
11318 ます.
11319 \end_layout
11320
11321 \begin_layout Description
11322 \begin_inset Flex Code
11323 status collapsed
11324
11325 \begin_layout Plain Layout
11326 ItemCommand
11327 \end_layout
11328
11329 \end_inset
11330
11331  [
11332 \begin_inset Flex Code
11333 status collapsed
11334
11335 \begin_layout Plain Layout
11336 文字列="item"
11337 \end_layout
11338
11339 \end_inset
11340
11341 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
11342 コマンド.コマンドは,前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,\SpecialChar LaTeX
11343 出力中では
11344 \begin_inset Flex Code
11345 status collapsed
11346
11347 \begin_layout Plain Layout
11348
11349 \backslash
11350 item
11351 \end_layout
11352
11353 \end_inset
11354
11355 となります).
11356 \end_layout
11357
11358 \begin_layout Description
11359 \begin_inset Flex Code
11360 status collapsed
11361
11362 \begin_layout Plain Layout
11363 ItemSep
11364 \end_layout
11365
11366 \end_inset
11367
11368  [
11369 \begin_inset Flex Code
11370 status collapsed
11371
11372 \begin_layout Plain Layout
11373 浮動小数点型=0
11374 \end_layout
11375
11376 \end_inset
11377
11378 ] これは,同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,それぞれのレイアウトは,その環境の
11379 \begin_inset Flex Code
11380 status collapsed
11381
11382 \begin_layout Plain Layout
11383 ParSep
11384 \end_layout
11385
11386 \end_inset
11387
11388 だけ分離されます.しかし,その環境の項目全体は,さらにこの
11389 \begin_inset Flex Code
11390 status collapsed
11391
11392 \begin_layout Plain Layout
11393 ItemSep
11394 \end_layout
11395
11396 \end_inset
11397
11398 分だけ離されます.これは
11399 \emph on
11400 乗数
11401 \emph default
11402 であることに注意してください.
11403 \end_layout
11404
11405 \begin_layout Description
11406 \begin_inset Flex Code
11407 status collapsed
11408
11409 \begin_layout Plain Layout
11410 ItemTag
11411 \end_layout
11412
11413 \end_inset
11414
11415  [[FIXME]] (XML型書式でのみ使用されます.)
11416 \end_layout
11417
11418 \begin_layout Description
11419 \begin_inset Flex Code
11420 status collapsed
11421
11422 \begin_layout Plain Layout
11423 KeepEmpty
11424 \end_layout
11425
11426 \end_inset
11427
11428  [
11429 \emph on
11430
11431 \begin_inset Flex Code
11432 status collapsed
11433
11434 \begin_layout Plain Layout
11435 0
11436 \end_layout
11437
11438 \end_inset
11439
11440
11441 \emph default
11442 ,
11443 \begin_inset space \thinspace{}
11444 \end_inset
11445
11446
11447 \begin_inset Flex Code
11448 status collapsed
11449
11450 \begin_layout Plain Layout
11451 1
11452 \end_layout
11453
11454 \end_inset
11455
11456 ] 段落を空のままにすると,\SpecialChar LaTeX
11457 出力が空になってしまうので,通常,\SpecialChar LyX
11458 は段落を空にすることを許可しません.しかしながら,これを無効にすることが望ましい場合が存在します.
11459 たとえば,書簡のひな型では,必須フィールドを人々が忘れないように,空のフィールドのまま提供する手もあります.特別なクラスにおいては,レイアウトを実際には文章を含
11460 まないある種の改行として使用することもあります.
11461 \end_layout
11462
11463 \begin_layout Description
11464 \begin_inset Flex Code
11465 status collapsed
11466
11467 \begin_layout Plain Layout
11468 LabelBottomsep
11469 \end_layout
11470
11471 \end_inset
11472
11473  [
11474 \begin_inset Flex Code
11475 status collapsed
11476
11477 \begin_layout Plain Layout
11478 浮動小数点型=0
11479 \end_layout
11480
11481 \end_inset
11482
11483 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
11484 \begin_inset Flex Code
11485 status collapsed
11486
11487 \begin_layout Plain Layout
11488 Top_Environment
11489 \end_layout
11490
11491 \end_inset
11492
11493 および
11494 \begin_inset Newline linebreak
11495 \end_inset
11496
11497
11498 \begin_inset Flex Code
11499 status collapsed
11500
11501 \begin_layout Plain Layout
11502 Centered_Top_Environment
11503 \end_layout
11504
11505 \end_inset
11506
11507 ).
11508 \end_layout
11509
11510 \begin_layout Description
11511 \begin_inset Flex Code
11512 status collapsed
11513
11514 \begin_layout Plain Layout
11515 LabelCounter
11516 \end_layout
11517
11518 \end_inset
11519
11520  [
11521 \begin_inset Flex Code
11522 status collapsed
11523
11524 \begin_layout Plain Layout
11525 文字列=""
11526 \end_layout
11527
11528 \end_inset
11529
11530 ] 自動連番に使われるカウンタ名(詳しくは第
11531 \begin_inset CommandInset ref
11532 LatexCommand ref
11533 reference "subsec:カウンタ"
11534 plural "false"
11535 caps "false"
11536 noprefix "false"
11537
11538 \end_inset
11539
11540 節参照).カウンタがラベル中に表示されるようにするためには,
11541 \begin_inset Flex Code
11542 status collapsed
11543
11544 \begin_layout Plain Layout
11545 LabelString
11546 \end_layout
11547
11548 \end_inset
11549
11550 中で参照する必要があります.これは,少なくとも
11551 \begin_inset Flex Code
11552 status collapsed
11553
11554 \begin_layout Plain Layout
11555 Static
11556 \end_layout
11557
11558 \end_inset
11559
11560
11561 \begin_inset Flex Code
11562 status collapsed
11563
11564 \begin_layout Plain Layout
11565 Above
11566 \end_layout
11567
11568 \end_inset
11569
11570
11571 \begin_inset Flex Code
11572 status collapsed
11573
11574 \begin_layout Plain Layout
11575 Centered
11576 \end_layout
11577
11578 \end_inset
11579
11580 の各
11581 \begin_inset Flex Code
11582 status collapsed
11583
11584 \begin_layout Plain Layout
11585 LabelType
11586 \end_layout
11587
11588 \end_inset
11589
11590 で動作します.
11591 \begin_inset Newline newline
11592 \end_inset
11593
11594 また,
11595 \begin_inset Flex Code
11596 status collapsed
11597
11598 \begin_layout Plain Layout
11599 LabelType
11600 \end_layout
11601
11602 \end_inset
11603
11604
11605 \begin_inset Flex Code
11606 status collapsed
11607
11608 \begin_layout Plain Layout
11609 Enumerate
11610 \end_layout
11611
11612 \end_inset
11613
11614 型のときにも,若干複雑にはなりますが,本項目を使うことができます.たとえば,「
11615 \begin_inset Flex Code
11616 status collapsed
11617
11618 \begin_layout Plain Layout
11619 LabelCounter myenum
11620 \end_layout
11621
11622 \end_inset
11623
11624 」と宣言したものとしましょう.すると,\SpecialChar LaTeX
11625 におけるのと同様,実際に使われるカウンタは,
11626 \begin_inset Flex Code
11627 status collapsed
11628
11629 \begin_layout Plain Layout
11630 myenumi
11631 \end_layout
11632
11633 \end_inset
11634
11635
11636 \begin_inset Flex Code
11637 status collapsed
11638
11639 \begin_layout Plain Layout
11640 myenumii
11641 \end_layout
11642
11643 \end_inset
11644
11645
11646 \begin_inset Flex Code
11647 status collapsed
11648
11649 \begin_layout Plain Layout
11650 myenumii
11651 \end_layout
11652
11653 \end_inset
11654
11655
11656 \begin_inset Flex Code
11657 status collapsed
11658
11659 \begin_layout Plain Layout
11660 myenumiv
11661 \end_layout
11662
11663 \end_inset
11664
11665 のようになります.これらのカウンタは,全て別々に宣言されなくてはなりません.
11666 \begin_inset Newline newline
11667 \end_inset
11668
11669 カウンタの詳細については,
11670 \begin_inset CommandInset ref
11671 LatexCommand ref
11672 reference "subsec:カウンタ"
11673
11674 \end_inset
11675
11676 をご覧ください.
11677 \end_layout
11678
11679 \begin_layout Description
11680 \begin_inset Flex Code
11681 status collapsed
11682
11683 \begin_layout Plain Layout
11684 LabelFont
11685 \end_layout
11686
11687 \end_inset
11688
11689  ラベルに使用されるフォント.
11690 \begin_inset CommandInset ref
11691 LatexCommand ref
11692 reference "subsec:フォント指定"
11693
11694 \end_inset
11695
11696 を参照.
11697 \end_layout
11698
11699 \begin_layout Description
11700 \begin_inset Flex Code
11701 status collapsed
11702
11703 \begin_layout Plain Layout
11704 LabelIndent
11705 \end_layout
11706
11707 \end_inset
11708
11709  [
11710 \begin_inset Flex Code
11711 status collapsed
11712
11713 \begin_layout Plain Layout
11714 文字列=""
11715 \end_layout
11716
11717 \end_inset
11718
11719 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
11720 \end_layout
11721
11722 \begin_layout Description
11723 \begin_inset Flex Code
11724 status collapsed
11725
11726 \begin_layout Plain Layout
11727 LabelSep
11728 \end_layout
11729
11730 \end_inset
11731
11732  [
11733 \begin_inset Flex Code
11734 status collapsed
11735
11736 \begin_layout Plain Layout
11737 文字列=""
11738 \end_layout
11739
11740 \end_inset
11741
11742 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
11743 \end_layout
11744
11745 \begin_layout Description
11746 \begin_inset Flex Code
11747 status collapsed
11748
11749 \begin_layout Plain Layout
11750 LabelString
11751 \end_layout
11752
11753 \end_inset
11754
11755  [
11756 \begin_inset Flex Code
11757 status collapsed
11758
11759 \begin_layout Plain Layout
11760 文字列=""
11761 \end_layout
11762
11763 \end_inset
11764
11765
11766 \begin_inset Flex Code
11767 status collapsed
11768
11769 \begin_layout Plain Layout
11770 Static
11771 \end_layout
11772
11773 \end_inset
11774
11775 ラベル型でラベルに使用する文字列.
11776 \begin_inset Flex Code
11777 status collapsed
11778
11779 \begin_layout Plain Layout
11780 LabelCounter
11781 \end_layout
11782
11783 \end_inset
11784
11785 を設定している場合,
11786 \begin_inset CommandInset ref
11787 LatexCommand ref
11788 reference "subsec:カウンタ"
11789
11790 \end_inset
11791
11792 に述べられている特別な整形コマンドを含めることができます.
11793 \end_layout
11794
11795 \begin_layout Description
11796 \begin_inset Flex Code
11797 status collapsed
11798
11799 \begin_layout Plain Layout
11800 LabelStringAppendix
11801 \end_layout
11802
11803 \end_inset
11804
11805  [
11806 \begin_inset Flex Code
11807 status collapsed
11808
11809 \begin_layout Plain Layout
11810 文字列=""
11811 \end_layout
11812
11813 \end_inset
11814
11815 ] これは付録の中で
11816 \begin_inset Flex Code
11817 status collapsed
11818
11819 \begin_layout Plain Layout
11820 LabelString
11821 \end_layout
11822
11823 \end_inset
11824
11825 の代わりに用いられます.各
11826 \begin_inset Flex Code
11827 status collapsed
11828
11829 \begin_layout Plain Layout
11830 LabelString
11831 \end_layout
11832
11833 \end_inset
11834
11835 ステートメントは,
11836 \begin_inset Flex Code
11837 status collapsed
11838
11839 \begin_layout Plain Layout
11840 LabelStringAppendix
11841 \end_layout
11842
11843 \end_inset
11844
11845 をもリセットすることに注意してください.
11846 \end_layout
11847
11848 \begin_layout Description
11849 \begin_inset Flex Code
11850 status collapsed
11851
11852 \begin_layout Plain Layout
11853 LabelTag
11854 \end_layout
11855
11856 \end_inset
11857
11858  [FIXME] (XML型書式でのみ使用されます.)
11859 \end_layout
11860
11861 \begin_layout Description
11862 \begin_inset Flex Code
11863 status collapsed
11864
11865 \begin_layout Plain Layout
11866 LabelType
11867 \end_layout
11868
11869 \end_inset
11870
11871  [
11872 \begin_inset Flex Code
11873 status collapsed
11874
11875 \begin_layout Plain Layout
11876
11877 \emph on
11878 No_Label
11879 \emph default
11880 , Manual, Static, Above,
11881 \begin_inset Newline newline
11882 \end_inset
11883
11884 Centered, Sensitive, Enumerate,
11885 \begin_inset Newline newline
11886 \end_inset
11887
11888 Itemize, Bibliography
11889 \end_layout
11890
11891 \end_inset
11892
11893 ]
11894 \end_layout
11895
11896 \begin_deeper
11897 \begin_layout Description
11898 \begin_inset Flex Code
11899 status collapsed
11900
11901 \begin_layout Plain Layout
11902 Manual
11903 \end_layout
11904
11905 \end_inset
11906
11907  は,ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,保護された空白を使用してください.
11908 \end_layout
11909
11910 \begin_layout Description
11911 \begin_inset Flex Code
11912 status collapsed
11913
11914 \begin_layout Plain Layout
11915 Static
11916 \end_layout
11917
11918 \end_inset
11919
11920  は,ラベルが
11921 \begin_inset Flex Code
11922 status collapsed
11923
11924 \begin_layout Plain Layout
11925 LabelString
11926 \end_layout
11927
11928 \end_inset
11929
11930 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
11931 \begin_inset Flex Code
11932 status collapsed
11933
11934 \begin_layout Plain Layout
11935 LatexType
11936 \end_layout
11937
11938 \end_inset
11939
11940
11941 \begin_inset Flex Code
11942 status collapsed
11943
11944 \begin_layout Plain Layout
11945 Environment
11946 \end_layout
11947
11948 \end_inset
11949
11950 のときは,連続する同じ
11951 \begin_inset Flex Code
11952 status collapsed
11953
11954 \begin_layout Plain Layout
11955 Style
11956 \end_layout
11957
11958 \end_inset
11959
11960 の段落中,最初の段落にのみ表示されます.
11961 \end_layout
11962
11963 \begin_layout Description
11964 \begin_inset Flex Code
11965 status collapsed
11966
11967 \begin_layout Plain Layout
11968 Above
11969 \end_layout
11970
11971 \end_inset
11972
11973 および
11974 \begin_inset Flex Code
11975 status collapsed
11976
11977 \begin_layout Plain Layout
11978 Centered
11979 \end_layout
11980
11981 \end_inset
11982
11983  は,
11984 \begin_inset Flex Code
11985 status collapsed
11986
11987 \begin_layout Plain Layout
11988 Static
11989 \end_layout
11990
11991 \end_inset
11992
11993 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
11994 \end_layout
11995
11996 \begin_layout Description
11997 \begin_inset Flex Code
11998 status collapsed
11999
12000 \begin_layout Plain Layout
12001 Sensitive
12002 \end_layout
12003
12004 \end_inset
12005
12006  はキャプションラベルの「図」や「表」の特別な場合です.
12007 \begin_inset Flex Code
12008 status collapsed
12009
12010 \begin_layout Plain Layout
12011 Sensitive
12012 \end_layout
12013
12014 \end_inset
12015
12016 は,(ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,フロートに関連付けられたカウンタの値がNであるものとすると,「Float
12017 Type N」にハードコードされています.キャプションがフロートの外に挿入されると,
12018 \begin_inset Flex Code
12019 status collapsed
12020
12021 \begin_layout Plain Layout
12022 LabelString
12023 \end_layout
12024
12025 \end_inset
12026
12027 は「意味を成しません!」と表示されます.
12028 \end_layout
12029
12030 \begin_layout Description
12031 \begin_inset Flex Code
12032 status collapsed
12033
12034 \begin_layout Plain Layout
12035 Enumerate
12036 \end_layout
12037
12038 \end_inset
12039
12040  は,通常の連番ラベルを生成します.現在のところ,これは,第4階層まで順に,アラビア数字・小文字・小文字ローマ数字・大文字を使用するようにハードコードされていま
12041 す.
12042 \end_layout
12043
12044 \begin_layout Description
12045 \begin_inset Flex Code
12046 status collapsed
12047
12048 \begin_layout Plain Layout
12049 Itemize
12050 \end_layout
12051
12052 \end_inset
12053
12054  は,各階層でさまざまなブリットを生成します.これもハードコードされています.
12055 \end_layout
12056
12057 \begin_layout Description
12058 \begin_inset Flex Code
12059 status collapsed
12060
12061 \begin_layout Plain Layout
12062 Bibliography
12063 \end_layout
12064
12065 \end_inset
12066
12067  は,
12068 \begin_inset Flex Code
12069 status collapsed
12070
12071 \begin_layout Plain Layout
12072 LatexType BibEnvironment
12073 \end_layout
12074
12075 \end_inset
12076
12077 とともにのみ使用されます.
12078 \end_layout
12079
12080 \end_deeper
12081 \begin_layout Description
12082 \begin_inset Flex Code
12083 status collapsed
12084
12085 \begin_layout Plain Layout
12086 LangPreamble
12087 \end_layout
12088
12089 \end_inset
12090
12091  これは,この様式で既に出現した
12092 \begin_inset Flex Code
12093 status collapsed
12094
12095 \begin_layout Plain Layout
12096 LangPreamble
12097 \end_layout
12098
12099 \end_inset
12100
12101 宣言をすべて,完全に上書きしますので,注意してください.使用法についての詳細は,
12102 \begin_inset CommandInset ref
12103 LatexCommand ref
12104 reference "subsec:段落様式の国際化"
12105
12106 \end_inset
12107
12108 をご覧ください.
12109 \end_layout
12110
12111 \begin_layout Description
12112 \begin_inset Flex Code
12113 status collapsed
12114
12115 \begin_layout Plain Layout
12116 LatexName
12117 \end_layout
12118
12119 \end_inset
12120
12121  [
12122 \begin_inset Flex Code
12123 status collapsed
12124
12125 \begin_layout Plain Layout
12126 <名称>
12127 \end_layout
12128
12129 \end_inset
12130
12131 ] 対応する\SpecialChar LaTeX
12132 の名称です.環境名かコマンド名を指します.
12133 \end_layout
12134
12135 \begin_layout Description
12136 \begin_inset Flex Code
12137 status collapsed
12138
12139 \begin_layout Plain Layout
12140 LatexParam
12141 \end_layout
12142
12143 \end_inset
12144
12145  [
12146 \begin_inset Flex Code
12147 status collapsed
12148
12149 \begin_layout Plain Layout
12150 <パラメータ>
12151 \end_layout
12152
12153 \end_inset
12154
12155 ] 対応する
12156 \begin_inset Flex Code
12157 status collapsed
12158
12159 \begin_layout Plain Layout
12160 LatexName
12161 \end_layout
12162
12163 \end_inset
12164
12165 の非必須パラメータです.このパラメータは,\SpecialChar LyX
12166 内部から変更することはできません(変更可能なパラメータには
12167 \begin_inset Flex Code
12168 status collapsed
12169
12170 \begin_layout Plain Layout
12171 Argument
12172 \end_layout
12173
12174 \end_inset
12175
12176 を使用してください).これは,全ての\SpecialChar LaTeX
12177  
12178 \begin_inset Flex Code
12179 status collapsed
12180
12181 \begin_layout Plain Layout
12182 Argument
12183 \end_layout
12184
12185 \end_inset
12186
12187 の後にそのままの形で出力されます.
12188 \end_layout
12189
12190 \begin_layout Description
12191 \begin_inset Flex Code
12192 status collapsed
12193
12194 \begin_layout Plain Layout
12195 LatexType
12196 \end_layout
12197
12198 \end_inset
12199
12200  [
12201 \begin_inset Flex Code
12202 status collapsed
12203
12204 \begin_layout Plain Layout
12205
12206 \emph on
12207 Paragraph
12208 \emph default
12209 , Command, Environment, Item_Environment,
12210 \begin_inset Newline newline
12211 \end_inset
12212
12213 List_Environment, Bib_Environment
12214 \end_layout
12215
12216 \end_inset
12217
12218 ] レイアウトがどのように\SpecialChar LaTeX
12219 に変換されるべきかを示します
12220 \begin_inset Foot
12221 status collapsed
12222
12223 \begin_layout Plain Layout
12224 これらのルールはSGMLクラスにも適用されるので,
12225 \begin_inset Flex Code
12226 status collapsed
12227
12228 \begin_layout Plain Layout
12229 LatexType
12230 \end_layout
12231
12232 \end_inset
12233
12234 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイル(ファイル名
12235 \begin_inset Flex Code
12236 status collapsed
12237
12238 \begin_layout Plain Layout
12239 db_*.inc
12240 \end_layout
12241
12242 \end_inset
12243
12244 )を見てください.
12245 \end_layout
12246
12247 \end_inset
12248
12249
12250 \end_layout
12251
12252 \begin_deeper
12253 \begin_layout Description
12254 \begin_inset Flex Code
12255 status collapsed
12256
12257 \begin_layout Plain Layout
12258 Paragraph
12259 \end_layout
12260
12261 \end_inset
12262
12263  は,何も特別なことは意味しません.
12264 \end_layout
12265
12266 \begin_layout Description
12267 \begin_inset Flex Code
12268 status collapsed
12269
12270 \begin_layout Plain Layout
12271 Command
12272 \end_layout
12273
12274 \end_inset
12275
12276  は,
12277 \begin_inset Flex Code
12278 status collapsed
12279
12280 \begin_layout Plain Layout
12281
12282 \backslash
12283
12284 \emph on
12285 LatexName
12286 \emph default
12287 {\SpecialChar ldots
12288 }
12289 \end_layout
12290
12291 \end_inset
12292
12293 を意味します.
12294 \end_layout
12295
12296 \begin_layout Description
12297 \begin_inset Flex Code
12298 status collapsed
12299
12300 \begin_layout Plain Layout
12301 Environment
12302 \end_layout
12303
12304 \end_inset
12305
12306  は,
12307 \begin_inset Flex Code
12308 status collapsed
12309
12310 \begin_layout Plain Layout
12311
12312 \backslash
12313 begin{
12314 \emph on
12315 LatexName
12316 \emph default
12317 }\SpecialChar ldots
12318
12319 \backslash
12320 end{
12321 \emph on
12322 LatexName
12323 \emph default
12324 }
12325 \end_layout
12326
12327 \end_inset
12328
12329 を意味します.
12330 \end_layout
12331
12332 \begin_layout Description
12333 \begin_inset Flex Code
12334 status collapsed
12335
12336 \begin_layout Plain Layout
12337 Item_Environment
12338 \end_layout
12339
12340 \end_inset
12341
12342  は
12343 \begin_inset Flex Code
12344 status collapsed
12345
12346 \begin_layout Plain Layout
12347 Environment
12348 \end_layout
12349
12350 \end_inset
12351
12352 と同じですが,
12353 \begin_inset Flex Code
12354 status collapsed
12355
12356 \begin_layout Plain Layout
12357
12358 \backslash
12359 item
12360 \end_layout
12361
12362 \end_inset
12363
12364 がこの環境のすべての段落に付けられるところだけが異なっています.
12365 \end_layout
12366
12367 \begin_layout Description
12368 \begin_inset Flex Code
12369 status collapsed
12370
12371 \begin_layout Plain Layout
12372 List_Environment
12373 \end_layout
12374
12375 \end_inset
12376
12377  は
12378 \begin_inset Flex Code
12379 status collapsed
12380
12381 \begin_layout Plain Layout
12382 Item_Environment
12383 \end_layout
12384
12385 \end_inset
12386
12387 と同じですが,
12388 \begin_inset Flex Code
12389 status collapsed
12390
12391 \begin_layout Plain Layout
12392 LabelWidthString
12393 \end_layout
12394
12395 \end_inset
12396
12397 が環境の引数として渡されるところだけが異なっています.
12398 \begin_inset Flex Code
12399 status collapsed
12400
12401 \begin_layout Plain Layout
12402 LabelWidthString
12403 \end_layout
12404
12405 \end_inset
12406
12407 は,
12408 \begin_inset Flex MenuItem
12409 status collapsed
12410
12411 \begin_layout Plain Layout
12412 編集\SpecialChar menuseparator
12413 段落設定
12414 \end_layout
12415
12416 \end_inset
12417
12418 ダイアログで定義することができます.
12419 \end_layout
12420
12421 \begin_layout Description
12422 \begin_inset Flex Code
12423 status collapsed
12424
12425 \begin_layout Plain Layout
12426 Bib_Environment
12427 \end_layout
12428
12429 \end_inset
12430
12431  は
12432 \begin_inset Flex Code
12433 status collapsed
12434
12435 \begin_layout Plain Layout
12436 Environment
12437 \end_layout
12438
12439 \end_inset
12440
12441 に似ていますが,以下のように,書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
12442 \begin_inset Newline newline
12443 \end_inset
12444
12445
12446 \begin_inset Flex Code
12447 status collapsed
12448
12449 \begin_layout Plain Layout
12450
12451 \backslash
12452 begin{thebibliography}{99}
12453 \end_layout
12454
12455 \end_inset
12456
12457
12458 \begin_inset Newline newline
12459 \end_inset
12460
12461 したがって,これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,書誌情報項目の段落設定で,ユーザーが変更することができます.
12462 \end_layout
12463
12464 \begin_layout Standard
12465 上記最後のいくつかをまとめると,\SpecialChar LaTeX
12466 出力は,\SpecialChar LaTeX
12467 型に依存して
12468 \end_layout
12469
12470 \begin_layout LyX-Code
12471
12472 \backslash
12473 LatexName[LatexParam]{\SpecialChar ldots
12474 }
12475 \end_layout
12476
12477 \begin_layout Standard
12478 のようになるか,
12479 \end_layout
12480
12481 \begin_layout LyX-Code
12482
12483 \backslash
12484 begin{LatexName}[LatexParam] \SpecialChar ldots
12485  
12486 \backslash
12487 end{LatexName}.
12488 \end_layout
12489
12490 \begin_layout Standard
12491 となります.
12492 \end_layout
12493
12494 \end_deeper
12495 \begin_layout Description
12496 \begin_inset Flex Code
12497 status collapsed
12498
12499 \begin_layout Plain Layout
12500 LeftDelim
12501 \end_layout
12502
12503 \end_inset
12504
12505  [
12506 \begin_inset Flex Code
12507 status collapsed
12508
12509 \begin_layout Plain Layout
12510 文字列
12511 \end_layout
12512
12513 \end_inset
12514
12515 ] 様式の内容の最初に置かれる文字列.出力中の改行は
12516 \begin_inset Flex Code
12517 status collapsed
12518
12519 \begin_layout Plain Layout
12520 <br/>
12521 \end_layout
12522
12523 \end_inset
12524
12525 で指示できます.
12526 \end_layout
12527
12528 \begin_layout Description
12529 \begin_inset Flex Code
12530 status collapsed
12531
12532 \begin_layout Plain Layout
12533 LeftMargin
12534 \end_layout
12535
12536 \end_inset
12537
12538  [
12539 \begin_inset Flex Code
12540 status collapsed
12541
12542 \begin_layout Plain Layout
12543 文字列=""
12544 \end_layout
12545
12546 \end_inset
12547
12548 ] レイアウトを環境の中に入れた場合,左余白は単純に加えられるのではなく,因子
12549 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
12550 \end_inset
12551
12552 をかけて加えられます.このパラメータは,
12553 \begin_inset Flex Code
12554 status collapsed
12555
12556 \begin_layout Plain Layout
12557 Margin
12558 \end_layout
12559
12560 \end_inset
12561
12562
12563 \begin_inset Flex Code
12564 status collapsed
12565
12566 \begin_layout Plain Layout
12567 Manual
12568 \end_layout
12569
12570 \end_inset
12571
12572 あるいは
12573 \begin_inset Flex Code
12574 status collapsed
12575
12576 \begin_layout Plain Layout
12577 Dynamic
12578 \end_layout
12579
12580 \end_inset
12581
12582 に設定されているときにも用いられることに注意してください.その場合には,これは手動設定余白または動的設定余白に加えられることに注意してください.
12583 \begin_inset Newline newline
12584 \end_inset
12585
12586 たとえば「
12587 \begin_inset Flex Code
12588 status collapsed
12589
12590 \begin_layout Plain Layout
12591 MM
12592 \end_layout
12593
12594 \end_inset
12595
12596 」と指定すると,段落を通常フォントの「
12597 \begin_inset Flex Code
12598 status collapsed
12599
12600 \begin_layout Plain Layout
12601 MM
12602 \end_layout
12603
12604 \end_inset
12605
12606 」の幅だけ行頭下げを行います.文字列の前に「
12607 \begin_inset Flex Code
12608 status collapsed
12609
12610 \begin_layout Plain Layout
12611 -
12612 \end_layout
12613
12614 \end_inset
12615
12616 」を付けると,負の幅を与えることができます.この方法が採用されたのは,どの画面フォントでも見かけが同じになるようにするためです.
12617 \end_layout
12618
12619 \begin_layout Description
12620 \begin_inset Flex Code
12621 status collapsed
12622
12623 \begin_layout Plain Layout
12624 Margin
12625 \end_layout
12626
12627 \end_inset
12628
12629  [
12630 \begin_inset Flex Code
12631 status collapsed
12632
12633 \begin_layout Plain Layout
12634
12635 \emph on
12636 Static
12637 \emph default
12638 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12639 \end_layout
12640
12641 \end_inset
12642
12643
12644 \begin_inset Newline newline
12645 \end_inset
12646
12647 このレイアウトの左余白の種類です.
12648 \end_layout
12649
12650 \begin_deeper
12651 \begin_layout Description
12652 \begin_inset Flex Code
12653 status collapsed
12654
12655 \begin_layout Plain Layout
12656 Static
12657 \end_layout
12658
12659 \end_inset
12660
12661  は固定余白を示します.
12662 \end_layout
12663
12664 \begin_layout Description
12665 \begin_inset Flex Code
12666 status collapsed
12667
12668 \begin_layout Plain Layout
12669 Manual
12670 \end_layout
12671
12672 \end_inset
12673
12674  は,左余白が
12675 \begin_inset Flex MenuItem
12676 status collapsed
12677
12678 \begin_layout Plain Layout
12679 編集\SpecialChar menuseparator
12680 段落設定
12681 \end_layout
12682
12683 \end_inset
12684
12685 ダイアログで入力した文字列によって決められることを示します.これは,タブを用いずに整った一覧表を組むのに使用されます.
12686 \end_layout
12687
12688 \begin_layout Description
12689 \begin_inset Flex Code
12690 status collapsed
12691
12692 \begin_layout Plain Layout
12693 Dynamic
12694 \end_layout
12695
12696 \end_inset
12697
12698  は,余白がラベルの大きさに依存することを示します.これは,自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,「3.2
12699  非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
12700 \end_layout
12701
12702 \begin_layout Description
12703 \begin_inset Flex Code
12704 status collapsed
12705
12706 \begin_layout Plain Layout
12707 First_Dynamic
12708 \end_layout
12709
12710 \end_inset
12711
12712  は似ていますが,段落の最初の行だけがDynamicでその他の行はStaticです.これは,たとえば,箇条書き(記述)に使用されます.
12713 \end_layout
12714
12715 \begin_layout Description
12716 \begin_inset Flex Code
12717 status collapsed
12718
12719 \begin_layout Plain Layout
12720 Right_Address_Box
12721 \end_layout
12722
12723 \end_inset
12724
12725  は,段落中,最も長い行が右余白に合うように余白を選択します.これは,ページの右端に住所を組版するのに用いられます.
12726 \end_layout
12727
12728 \end_deeper
12729 \begin_layout Description
12730 \begin_inset Flex Code
12731 status collapsed
12732
12733 \begin_layout Plain Layout
12734 NeedProtect
12735 \end_layout
12736
12737 \end_inset
12738
12739  [
12740 \begin_inset Flex Code
12741 status collapsed
12742
12743 \begin_layout Plain Layout
12744
12745 \emph on
12746 0
12747 \end_layout
12748
12749 \end_inset
12750
12751 ,
12752 \begin_inset space \thinspace{}
12753 \end_inset
12754
12755
12756 \begin_inset Flex Code
12757 status collapsed
12758
12759 \begin_layout Plain Layout
12760 1
12761 \end_layout
12762
12763 \end_inset
12764
12765 ] このレイアウト中の脆弱なコマンドが
12766 \begin_inset Flex Code
12767 status collapsed
12768
12769 \begin_layout Plain Layout
12770
12771 \backslash
12772 protect
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 \backslash
12784 protect
12785 \end_layout
12786
12787 \end_inset
12788
12789 されるべきかでは
12790 \emph on
12791 ありません
12792 \emph default
12793 ).
12794 \end_layout
12795
12796 \begin_layout Description
12797 \begin_inset Flex Code
12798 status collapsed
12799
12800 \begin_layout Plain Layout
12801 Newline
12802 \end_layout
12803
12804 \end_inset
12805
12806  [
12807 \begin_inset Flex Code
12808 status collapsed
12809
12810 \begin_layout Plain Layout
12811 0
12812 \end_layout
12813
12814 \end_inset
12815
12816 ,
12817 \begin_inset space \thinspace{}
12818 \end_inset
12819
12820
12821 \begin_inset Flex Code
12822 status collapsed
12823
12824 \begin_layout Plain Layout
12825
12826 \emph on
12827 1
12828 \end_layout
12829
12830 \end_inset
12831
12832 ] 新規行を\SpecialChar LaTeX
12833 の新規行(
12834 \begin_inset Flex Code
12835 status collapsed
12836
12837 \begin_layout Plain Layout
12838
12839 \backslash
12840
12841 \backslash
12842
12843 \end_layout
12844
12845 \end_inset
12846
12847 )に変換するか否か.\SpecialChar LyX
12848 中で\SpecialChar LaTeX
12849 編集をやりやすくするために,変換は無効にすることができます.
12850 \end_layout
12851
12852 \begin_layout Description
12853 \begin_inset Flex Code
12854 status collapsed
12855
12856 \begin_layout Plain Layout
12857 NextNoIndent
12858 \end_layout
12859
12860 \end_inset
12861
12862  [
12863 \begin_inset Flex Code
12864 status collapsed
12865
12866 \begin_layout Plain Layout
12867
12868 \emph on
12869 0
12870 \end_layout
12871
12872 \end_inset
12873
12874 ,
12875 \begin_inset space \thinspace{}
12876 \end_inset
12877
12878
12879 \begin_inset Flex Code
12880 status collapsed
12881
12882 \begin_layout Plain Layout
12883 1
12884 \end_layout
12885
12886 \end_inset
12887
12888 ] 真に設定すると,
12889 \begin_inset Flex Code
12890 status collapsed
12891
12892 \begin_layout Plain Layout
12893 DefaultStyle
12894 \end_layout
12895
12896 \end_inset
12897
12898  (通常
12899 \begin_inset Flex Code
12900 status collapsed
12901
12902 \begin_layout Plain Layout
12903 Standard
12904 \end_layout
12905
12906 \end_inset
12907
12908 )段落が行頭下げになっている場合でも,この型の段落に続くそれらの段落は,字下げされません(逆に言えば,既定でない段落には影響を与えません).
12909 \end_layout
12910
12911 \begin_layout Description
12912 \begin_inset Flex Code
12913 status collapsed
12914
12915 \begin_layout Plain Layout
12916 ObsoletedBy
12917 \end_layout
12918
12919 \end_inset
12920
12921  [
12922 \begin_inset Flex Code
12923 status collapsed
12924
12925 \begin_layout Plain Layout
12926 <名称>
12927 \end_layout
12928
12929 \end_inset
12930
12931 ] このレイアウトが置き換えられたレイアウト名.これは,後方互換性を維持しながら,レイアウトの名称を変更するのに使用されます.
12932 \end_layout
12933
12934 \begin_layout Description
12935 \begin_inset Flex Code
12936 status collapsed
12937
12938 \begin_layout Plain Layout
12939 ParagraphGroup
12940 \end_layout
12941
12942 \end_inset
12943
12944  [
12945 \begin_inset Flex Code
12946 status collapsed
12947
12948 \begin_layout Plain Layout
12949 0
12950 \end_layout
12951
12952 \end_inset
12953
12954 ,
12955 \begin_inset space \thinspace{}
12956 \end_inset
12957
12958
12959 \begin_inset Flex Code
12960 status collapsed
12961
12962 \begin_layout Plain Layout
12963 1
12964 \end_layout
12965
12966 \end_inset
12967
12968 ] 同じ型の段落が引き続く場合,同じ段落として取り扱うか否かを決定します.これは,そのような連続グループに対して,
12969 \begin_inset Flex Code
12970 status collapsed
12971
12972 \begin_layout Plain Layout
12973 GuiLabel
12974 \end_layout
12975
12976 \end_inset
12977
12978 が一度だけ出力される効果があります.既定では,
12979 \begin_inset Flex Code
12980 status collapsed
12981
12982 \begin_layout Plain Layout
12983 LaTeXType
12984 \end_layout
12985
12986 \end_inset
12987
12988
12989 \begin_inset Flex Code
12990 status collapsed
12991
12992 \begin_layout Plain Layout
12993 Environment
12994 \end_layout
12995
12996 \end_inset
12997
12998 および
12999 \begin_inset Flex Code
13000 status collapsed
13001
13002 \begin_layout Plain Layout
13003 Bib_Environment
13004 \end_layout
13005
13006 \end_inset
13007
13008  については有効であり,他の型すべてについて無効になっています.
13009 \end_layout
13010
13011 \begin_layout Description
13012 \begin_inset Flex Code
13013 status collapsed
13014
13015 \begin_layout Plain Layout
13016 ParbreakIsNewline
13017 \end_layout
13018
13019 \end_inset
13020
13021  [
13022 \begin_inset Flex Code
13023 status collapsed
13024
13025 \begin_layout Plain Layout
13026
13027 \emph on
13028 0
13029 \end_layout
13030
13031 \end_inset
13032
13033 ,
13034 \begin_inset space \thinspace{}
13035 \end_inset
13036
13037
13038 \begin_inset Flex Code
13039 status collapsed
13040
13041 \begin_layout Plain Layout
13042 1
13043 \end_layout
13044
13045 \end_inset
13046
13047 ] \SpecialChar LaTeX
13048 出力中で,段落を空行ではなく,改行で区切るよう指定します.
13049 \begin_inset Flex Code
13050 status collapsed
13051
13052 \begin_layout Plain Layout
13053 PassThru 1
13054 \end_layout
13055
13056 \end_inset
13057
13058 と併用すれば,(\SpecialChar TeX
13059 コードを使用したときのように)テキストエディタをエミュレートすることができます.
13060 \end_layout
13061
13062 \begin_layout Description
13063 \begin_inset Flex Code
13064 status collapsed
13065
13066 \begin_layout Plain Layout
13067 ParIndent
13068 \end_layout
13069
13070 \end_inset
13071
13072  [
13073 \begin_inset Flex Code
13074 status collapsed
13075
13076 \begin_layout Plain Layout
13077 文字列=""
13078 \end_layout
13079
13080 \end_inset
13081
13082 ] 段落の最初の行の行頭下げ.レイアウトによっては
13083 \begin_inset Flex Code
13084 status collapsed
13085
13086 \begin_layout Plain Layout
13087 Parindent
13088 \end_layout
13089
13090 \end_inset
13091
13092 は固定されています.例外には標準レイアウトがあり,標準レイアウトの段落の行頭下げは,
13093 \begin_inset Flex Code
13094 status collapsed
13095
13096 \begin_layout Plain Layout
13097 NextNoIndent
13098 \end_layout
13099
13100 \end_inset
13101
13102 で禁止することができるようになっています.また,環境中の標準レイアウト段落は,当該段落の
13103 \begin_inset Flex Code
13104 status collapsed
13105
13106 \begin_layout Plain Layout
13107 Parindent
13108 \end_layout
13109
13110 \end_inset
13111
13112 ではなく,この環境の
13113 \begin_inset Flex Code
13114 status collapsed
13115
13116 \begin_layout Plain Layout
13117 Parindent
13118 \end_layout
13119
13120 \end_inset
13121
13122 を使用します.たとえば,箇条書き(連番)内の標準段落は,行頭下げされません.
13123 \end_layout
13124
13125 \begin_layout Description
13126 \begin_inset Flex Code
13127 status collapsed
13128
13129 \begin_layout Plain Layout
13130 ParSep
13131 \end_layout
13132
13133 \end_inset
13134
13135  [
13136 \begin_inset Flex Code
13137 status collapsed
13138
13139 \begin_layout Plain Layout
13140 浮動小数点型=0
13141 \end_layout
13142
13143 \end_inset
13144
13145 ] このレイアウトの2段落間の垂直余白.
13146 \end_layout
13147
13148 \begin_layout Description
13149 \begin_inset Flex Code
13150 status collapsed
13151
13152 \begin_layout Plain Layout
13153 Parskip
13154 \end_layout
13155
13156 \end_inset
13157
13158  [
13159 \begin_inset Flex Code
13160 status collapsed
13161
13162 \begin_layout Plain Layout
13163 浮動小数点型=0
13164 \end_layout
13165
13166 \end_inset
13167
13168 ] \SpecialChar LyX
13169 では,文書を組版するのに,ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,この値は完全に無視されます.「スキップ」を選
13170 択した際には,\SpecialChar LaTeX
13171 型「段落」レイアウトの
13172 \begin_inset Flex Code
13173 status collapsed
13174
13175 \begin_layout Plain Layout
13176 ParIndent
13177 \end_layout
13178
13179 \end_inset
13180
13181 は無視され,すべての段落はこの
13182 \begin_inset Flex Code
13183 status collapsed
13184
13185 \begin_layout Plain Layout
13186 Parskip
13187 \end_layout
13188
13189 \end_inset
13190
13191 引数分だけ引き離されます.垂直余白は,
13192 \begin_inset Flex Code
13193 status collapsed
13194
13195 \begin_layout Plain Layout
13196 DefaultHeight
13197 \end_layout
13198
13199 \end_inset
13200
13201 を標準フォントでの1行の高さとすると,
13202 \begin_inset Flex Code
13203 status collapsed
13204
13205 \begin_layout Plain Layout
13206 Parskipの値
13207 \end_layout
13208
13209 \end_inset
13210
13211
13212 \begin_inset Formula $\times$
13213 \end_inset
13214
13215
13216 \begin_inset Flex Code
13217 status collapsed
13218
13219 \begin_layout Plain Layout
13220 DefaultHeight
13221 \end_layout
13222
13223 \end_inset
13224
13225 によって計算されます.このようにして,画面フォントを変更しても同じように表示されるのです.
13226 \end_layout
13227
13228 \begin_layout Description
13229 \begin_inset Flex Code
13230 status collapsed
13231
13232 \begin_layout Plain Layout
13233 PassThru
13234 \end_layout
13235
13236 \end_inset
13237
13238  [
13239 \emph on
13240
13241 \begin_inset Flex Code
13242 status collapsed
13243
13244 \begin_layout Plain Layout
13245 0
13246 \end_layout
13247
13248 \end_inset
13249
13250
13251 \emph default
13252 ,
13253 \begin_inset space \thinspace{}
13254 \end_inset
13255
13256
13257 \begin_inset Flex Code
13258 status collapsed
13259
13260 \begin_layout Plain Layout
13261 1
13262 \end_layout
13263
13264 \end_inset
13265
13266 ] この段落の内容が,\SpecialChar LaTeX
13267 が必要とするような特別な変換を行わずに,生の形で出力されるべきかどうか.
13268 \end_layout
13269
13270 \begin_layout Description
13271 \begin_inset Flex Code
13272 status collapsed
13273
13274 \begin_layout Plain Layout
13275 PassThruChars
13276 \end_layout
13277
13278 \end_inset
13279
13280  [
13281 \begin_inset Flex Code
13282 status collapsed
13283
13284 \begin_layout Plain Layout
13285 文字列
13286 \end_layout
13287
13288 \end_inset
13289
13290 ]
13291 \family typewriter
13292  
13293 \family default
13294 \SpecialChar LaTeX
13295 が要請する特別な翻訳なしで.生の形で出力されるべき,それぞれの文字を定義します.
13296 \end_layout
13297
13298 \begin_layout Description
13299 \begin_inset Flex Code
13300 status collapsed
13301
13302 \begin_layout Plain Layout
13303 Preamble
13304 \end_layout
13305
13306 \end_inset
13307
13308  この様式が使用されたときに,\SpecialChar LaTeX
13309 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,パッケージを読み込んだりと言ったことに使用します.「
13310 \begin_inset Flex Code
13311 status collapsed
13312
13313 \begin_layout Plain Layout
13314 EndPreamble
13315 \end_layout
13316
13317 \end_inset
13318
13319 」で閉じる必要があります.
13320 \end_layout
13321
13322 \begin_layout Description
13323 \begin_inset Flex Code
13324 status collapsed
13325
13326 \begin_layout Plain Layout
13327 RefPrefix
13328 \end_layout
13329
13330 \end_inset
13331
13332  [
13333 \begin_inset Flex Code
13334 status collapsed
13335
13336 \begin_layout Plain Layout
13337 文字列
13338 \end_layout
13339
13340 \end_inset
13341
13342 ] この型の段落を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
13343 \end_layout
13344
13345 \begin_layout Description
13346 \begin_inset Flex Code
13347 status collapsed
13348
13349 \begin_layout Plain Layout
13350 Requires
13351 \end_layout
13352
13353 \end_inset
13354
13355  [
13356 \begin_inset Flex Code
13357 status collapsed
13358
13359 \begin_layout Plain Layout
13360 文字列
13361 \end_layout
13362
13363 \end_inset
13364
13365 ] この様式が機能
13366 \begin_inset Flex Code
13367 status collapsed
13368
13369 \begin_layout Plain Layout
13370 文字列
13371 \end_layout
13372
13373 \end_inset
13374
13375 を必要とするかどうか(機能詳細については,第
13376 \begin_inset CommandInset ref
13377 LatexCommand ref
13378 reference "chap:関数一覧"
13379
13380 \end_inset
13381
13382 節参照).特定のオプションをとるパッケージを要求する場合,
13383 \begin_inset Flex Code
13384 status collapsed
13385
13386 \begin_layout Plain Layout
13387 PackageOptions
13388 \end_layout
13389
13390 \end_inset
13391
13392 を汎用テキストクラスパラメータとして追加して使うことができます(
13393 \begin_inset CommandInset ref
13394 LatexCommand ref
13395 reference "subsec:汎用テキストクラスパラメータ"
13396
13397 \end_inset
13398
13399 を参照).
13400 \end_layout
13401
13402 \begin_layout Description
13403 \begin_inset Flex Code
13404 status collapsed
13405
13406 \begin_layout Plain Layout
13407 ResetArgs
13408 \end_layout
13409
13410 \end_inset
13411
13412  [
13413 \begin_inset Flex Code
13414 status collapsed
13415
13416 \begin_layout Plain Layout
13417
13418 \emph on
13419 0
13420 \end_layout
13421
13422 \end_inset
13423
13424 ,
13425 \begin_inset Flex Code
13426 status collapsed
13427
13428 \begin_layout Plain Layout
13429 1
13430 \end_layout
13431
13432 \end_inset
13433
13434 ] (
13435 \begin_inset Flex Code
13436 status collapsed
13437
13438 \begin_layout Plain Layout
13439 Argument
13440 \end_layout
13441
13442 \end_inset
13443
13444 タグで定義された)この様式の\SpecialChar LaTeX
13445 引数をリセットします.これは,様式を
13446 \begin_inset Flex Code
13447 status collapsed
13448
13449 \begin_layout Plain Layout
13450 CopyStyle
13451 \end_layout
13452
13453 \end_inset
13454
13455 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
13456 \end_layout
13457
13458 \begin_layout Description
13459 \begin_inset Flex Code
13460 status collapsed
13461
13462 \begin_layout Plain Layout
13463 ResumeCounter
13464 \end_layout
13465
13466 \end_inset
13467
13468  [
13469 \begin_inset Flex Code
13470 status collapsed
13471
13472 \begin_layout Plain Layout
13473
13474 \emph on
13475 0
13476 \end_layout
13477
13478 \end_inset
13479
13480 ,
13481 \begin_inset Flex Code
13482 status collapsed
13483
13484 \begin_layout Plain Layout
13485 1
13486 \end_layout
13487
13488 \end_inset
13489
13490 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
13491 \begin_inset Flex Code
13492 status collapsed
13493
13494 \begin_layout Plain Layout
13495 LabelType
13496 \end_layout
13497
13498 \end_inset
13499
13500
13501 \begin_inset Flex Code
13502 status collapsed
13503
13504 \begin_layout Plain Layout
13505 Enumerate
13506 \end_layout
13507
13508 \end_inset
13509
13510 の時のみ有効です.
13511 \end_layout
13512
13513 \begin_layout Description
13514 \begin_inset Flex Code
13515 status collapsed
13516
13517 \begin_layout Plain Layout
13518 RightDelim
13519 \end_layout
13520
13521 \end_inset
13522
13523  [
13524 \begin_inset Flex Code
13525 status collapsed
13526
13527 \begin_layout Plain Layout
13528 文字列
13529 \end_layout
13530
13531 \end_inset
13532
13533 ] 様式の内容の最後に置かれる文字列.出力中の改行は
13534 \begin_inset Flex Code
13535 status collapsed
13536
13537 \begin_layout Plain Layout
13538 <br/>
13539 \end_layout
13540
13541 \end_inset
13542
13543 で指示できます.
13544 \end_layout
13545
13546 \begin_layout Description
13547 \begin_inset Flex Code
13548 status collapsed
13549
13550 \begin_layout Plain Layout
13551 RightMargin
13552 \end_layout
13553
13554 \end_inset
13555
13556  [
13557 \begin_inset Flex Code
13558 status collapsed
13559
13560 \begin_layout Plain Layout
13561 文字列=""
13562 \end_layout
13563
13564 \end_inset
13565
13566
13567 \begin_inset Flex Code
13568 status collapsed
13569
13570 \begin_layout Plain Layout
13571 LeftMargin
13572 \end_layout
13573
13574 \end_inset
13575
13576 に同様.
13577 \end_layout
13578
13579 \begin_layout Description
13580 \begin_inset Flex Code
13581 status collapsed
13582
13583 \begin_layout Plain Layout
13584 Spacing
13585 \end_layout
13586
13587 \end_inset
13588
13589  [
13590 \begin_inset Flex Code
13591 status collapsed
13592
13593 \begin_layout Plain Layout
13594
13595 \emph on
13596 single
13597 \end_layout
13598
13599 \end_inset
13600
13601
13602 \begin_inset Flex Code
13603 status collapsed
13604
13605 \begin_layout Plain Layout
13606 onehalf
13607 \end_layout
13608
13609 \end_inset
13610
13611
13612 \begin_inset Flex Code
13613 status collapsed
13614
13615 \begin_layout Plain Layout
13616 double
13617 \end_layout
13618
13619 \end_inset
13620
13621
13622 \begin_inset Flex Code
13623 status collapsed
13624
13625 \begin_layout Plain Layout
13626 other
13627 \begin_inset space ~
13628 \end_inset
13629
13630 <
13631 \emph on
13632
13633 \emph default
13634 >
13635 \end_layout
13636
13637 \end_inset
13638
13639 ]
13640 \lang english
13641  
13642 \lang japanese
13643 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
13644 \begin_inset Flex Code
13645 status collapsed
13646
13647 \begin_layout Plain Layout
13648 single
13649 \end_layout
13650
13651 \end_inset
13652
13653
13654 \begin_inset Flex Code
13655 status collapsed
13656
13657 \begin_layout Plain Layout
13658 onehalf
13659 \end_layout
13660
13661 \end_inset
13662
13663
13664 \begin_inset Flex Code
13665 status collapsed
13666
13667 \begin_layout Plain Layout
13668 double
13669 \end_layout
13670
13671 \end_inset
13672
13673 は,それぞれ乗数1・1.25・1.667に対応します.引数
13674 \begin_inset Flex Code
13675 status collapsed
13676
13677 \begin_layout Plain Layout
13678 other
13679 \end_layout
13680
13681 \end_inset
13682
13683 を指定した場合には,実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
13684 \begin_inset Flex Code
13685 status collapsed
13686
13687 \begin_layout Plain Layout
13688 Spacing
13689 \end_layout
13690
13691 \end_inset
13692
13693 は,\SpecialChar LaTeX
13694 パッケージ
13695 \begin_inset Flex Code
13696 status collapsed
13697
13698 \begin_layout Plain Layout
13699 setspace
13700 \end_layout
13701
13702 \end_inset
13703
13704 パッケージを使用した,限定的な\SpecialChar LaTeX
13705 コードを生成することを意味することにご注意ください.
13706 \end_layout
13707
13708 \begin_layout Description
13709 \begin_inset Flex Code
13710 status collapsed
13711
13712 \begin_layout Plain Layout
13713 Spellcheck
13714 \end_layout
13715
13716 \end_inset
13717
13718  [
13719 \begin_inset Flex Code
13720 status collapsed
13721
13722 \begin_layout Plain Layout
13723 0
13724 \end_layout
13725
13726 \end_inset
13727
13728 ,
13729 \begin_inset space \thinspace{}
13730 \end_inset
13731
13732
13733 \begin_inset Flex Code
13734 status collapsed
13735
13736 \begin_layout Plain Layout
13737 1
13738 \end_layout
13739
13740 \end_inset
13741
13742 ] この様式の段落をスペルチェックするか否か.既定値は真です.
13743 \end_layout
13744
13745 \begin_layout Description
13746 \begin_inset Flex Code
13747 status collapsed
13748
13749 \begin_layout Plain Layout
13750 StepMasterCounter
13751 \end_layout
13752
13753 \end_inset
13754
13755  [
13756 \begin_inset Flex Code
13757 status collapsed
13758
13759 \begin_layout Plain Layout
13760
13761 \emph on
13762 0
13763 \end_layout
13764
13765 \end_inset
13766
13767 ,
13768 \begin_inset Flex Code
13769 status collapsed
13770
13771 \begin_layout Plain Layout
13772 1
13773 \end_layout
13774
13775 \end_inset
13776
13777 ] 新しいレイアウト群を開始する際に,このカウンタの親カウンタを進めるか否か.これは,現在のところ,
13778 \begin_inset Flex Code
13779 status collapsed
13780
13781 \begin_layout Plain Layout
13782 LabelType
13783 \end_layout
13784
13785 \end_inset
13786
13787
13788 \begin_inset Flex Code
13789 status collapsed
13790
13791 \begin_layout Plain Layout
13792 Enumerate
13793 \end_layout
13794
13795 \end_inset
13796
13797 の時のみ有効です.
13798 \end_layout
13799
13800 \begin_layout Description
13801 \begin_inset Flex Code
13802 status collapsed
13803
13804 \begin_layout Plain Layout
13805 TextFont
13806 \end_layout
13807
13808 \end_inset
13809
13810  本文に使うフォント.第
13811 \begin_inset CommandInset ref
13812 LatexCommand ref
13813 reference "subsec:フォント指定"
13814
13815 \end_inset
13816
13817 節参照.
13818 \end_layout
13819
13820 \begin_layout Description
13821 \begin_inset Flex Code
13822 status collapsed
13823
13824 \begin_layout Plain Layout
13825 TocLevel
13826 \end_layout
13827
13828 \end_inset
13829
13830  [
13831 \begin_inset Flex Code
13832 status collapsed
13833
13834 \begin_layout Plain Layout
13835 整数型=3
13836 \end_layout
13837
13838 \end_inset
13839
13840 ] 目次中でのこの様式の階層.これは,節見出しの自動連番に使用されます.
13841 \end_layout
13842
13843 \begin_layout Description
13844 \begin_inset Flex Code
13845 status collapsed
13846
13847 \begin_layout Plain Layout
13848 ToggleIndent
13849 \end_layout
13850
13851 \end_inset
13852
13853  [
13854 \emph on
13855
13856 \begin_inset Flex Code
13857 status collapsed
13858
13859 \begin_layout Plain Layout
13860 default
13861 \end_layout
13862
13863 \end_inset
13864
13865
13866 \emph default
13867
13868 \begin_inset Flex Code
13869 status collapsed
13870
13871 \begin_layout Plain Layout
13872 always
13873 \end_layout
13874
13875 \end_inset
13876
13877
13878 \begin_inset Flex Code
13879 status collapsed
13880
13881 \begin_layout Plain Layout
13882 never
13883 \end_layout
13884
13885 \end_inset
13886
13887 ] このタグは,この段落の1行目の行頭下げが,段落設定ダイアログで切り替えられるかどうかを決めます.
13888 \begin_inset Flex Code
13889 status collapsed
13890
13891 \begin_layout Plain Layout
13892 default
13893 \end_layout
13894
13895 \end_inset
13896
13897 が指定されると,文書設定が「行頭下げ」段落様式を使用しているときに,行頭下げを変更することができます.
13898 \begin_inset Flex Code
13899 status collapsed
13900
13901 \begin_layout Plain Layout
13902 always
13903 \end_layout
13904
13905 \end_inset
13906
13907 は,文書設定にかかわらず変更することができ,
13908 \begin_inset Flex Code
13909 status collapsed
13910
13911 \begin_layout Plain Layout
13912 never
13913 \end_layout
13914
13915 \end_inset
13916
13917 は,どのような場合でも変更することができません.
13918 \end_layout
13919
13920 \begin_layout Description
13921 \begin_inset Flex Code
13922 status collapsed
13923
13924 \begin_layout Plain Layout
13925 TopSep
13926 \end_layout
13927
13928 \end_inset
13929
13930  [
13931 \begin_inset Flex Code
13932 status collapsed
13933
13934 \begin_layout Plain Layout
13935 浮動小数点型=0
13936 \end_layout
13937
13938 \end_inset
13939
13940 ] このレイアウトを持つ一連の段落群の最初の段落と,その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,余白は単純に追加されるのではなく,それら
13941 の最大値がとられます.
13942 \end_layout
13943
13944 \begin_layout Subsection
13945 段落様式の国際化
13946 \begin_inset CommandInset label
13947 LatexCommand label
13948 name "subsec:段落様式の国際化"
13949
13950 \end_inset
13951
13952
13953 \end_layout
13954
13955 \begin_layout Standard
13956 \SpecialChar LyX
13957 は,長きにわたってレイアウト情報の国際化をサポートしてきましたが,第2.0版までは,これは操作画面にのみ適用されるものであって,たとえばPDF出力には適用されませ
13958 んでした.たとえば,フランスの著者が,「Theorem 1」の代わりに「
13959 \lang french
13960 Théorème
13961 \lang japanese
13962  1」としたければ,醜いハックに頼るしかありませんでした.Georg Baumのおかげで,これは解消されました.
13963 \end_layout
13964
13965 \begin_layout Standard
13966 もし
13967 \begin_inset Flex MenuItem
13968 status collapsed
13969
13970 \begin_layout Plain Layout
13971 Style
13972 \end_layout
13973
13974 \end_inset
13975
13976 が,組版文書に出力される文字列を定義するのであれば,非英語文書や複数言語文書をサポートするために,
13977 \begin_inset Flex MenuItem
13978 status collapsed
13979
13980 \begin_layout Plain Layout
13981 LangPreamble
13982 \end_layout
13983
13984 \end_inset
13985
13986
13987 \begin_inset Flex MenuItem
13988 status collapsed
13989
13990 \begin_layout Plain Layout
13991 BabelPreamble
13992 \end_layout
13993
13994 \end_inset
13995
13996 を使用することができます.以下の抜粋(
13997 \begin_inset Flex MenuItem
13998 status collapsed
13999
14000 \begin_layout Plain Layout
14001 theorems-ams.inc
14002 \end_layout
14003
14004 \end_inset
14005
14006 より)は,これがどう動作するかを示すものです.
14007 \end_layout
14008
14009 \begin_layout LyX-Code
14010 Preamble
14011 \end_layout
14012
14013 \begin_deeper
14014 \begin_layout LyX-Code
14015   
14016 \backslash
14017 theoremstyle{remark}
14018 \end_layout
14019
14020 \begin_layout LyX-Code
14021   
14022 \backslash
14023 newtheorem{claim}[thm]{
14024 \backslash
14025 protect
14026 \backslash
14027 claimname}
14028 \end_layout
14029
14030 \begin_layout LyX-Code
14031 EndPreamble
14032 \end_layout
14033
14034 \begin_layout LyX-Code
14035 LangPreamble
14036 \end_layout
14037
14038 \begin_layout LyX-Code
14039   
14040 \backslash
14041 providecommand{
14042 \backslash
14043 claimname}{_(Claim)}
14044 \end_layout
14045
14046 \begin_layout LyX-Code
14047 EndLangPreamble
14048 \end_layout
14049
14050 \begin_layout LyX-Code
14051 BabelPreamble
14052 \end_layout
14053
14054 \begin_layout LyX-Code
14055     
14056 \backslash
14057 addto
14058 \backslash
14059 captions$$lang{
14060 \backslash
14061 renewcommand{
14062 \backslash
14063 claimname}{_(Claim)}}
14064 \end_layout
14065
14066 \begin_layout LyX-Code
14067 EndBabelPreamble
14068 \end_layout
14069
14070 \end_deeper
14071 \begin_layout Standard
14072 原則として,
14073 \begin_inset Flex MenuItem
14074 status collapsed
14075
14076 \begin_layout Plain Layout
14077 LangPreamble
14078 \end_layout
14079
14080 \end_inset
14081
14082
14083 \begin_inset Flex MenuItem
14084 status collapsed
14085
14086 \begin_layout Plain Layout
14087 BabelPreamble
14088 \end_layout
14089
14090 \end_inset
14091
14092 タグ内には,有効な\SpecialChar LaTeX
14093 コードはすべて用いることができますが,実際においては,ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるの
14094 は,\SpecialChar LaTeX
14095 コマンド
14096 \begin_inset Flex Code
14097 status collapsed
14098
14099 \begin_layout Plain Layout
14100
14101 \backslash
14102 claimname
14103 \end_layout
14104
14105 \end_inset
14106
14107 とその
14108 \begin_inset Flex Code
14109 status collapsed
14110
14111 \begin_layout Plain Layout
14112
14113 \backslash
14114 newtheorem
14115 \end_layout
14116
14117 \end_inset
14118
14119 中での用い方です.
14120 \end_layout
14121
14122 \begin_layout Standard
14123 \begin_inset Flex Code
14124 status collapsed
14125
14126 \begin_layout Plain Layout
14127 LangPreamble
14128 \end_layout
14129
14130 \end_inset
14131
14132 タグは,文書全体の言語に基づいた国際化を提供します.タグの内容は,
14133 \begin_inset Flex Code
14134 status collapsed
14135
14136 \begin_layout Plain Layout
14137 Preamble
14138 \end_layout
14139
14140 \end_inset
14141
14142 タグと同様,プリアンブルに置かれるのですが,これを特別なものにしているのは,「関数」
14143 \begin_inset Flex Code
14144 status collapsed
14145
14146 \begin_layout Plain Layout
14147 _()
14148 \end_layout
14149
14150 \end_inset
14151
14152 が使用されていることです.これは,\SpecialChar LyX
14153 が\SpecialChar LaTeX
14154 出力を生成する際,その引数を文書言語に翻訳したもので置き換えられます.
14155 \end_layout
14156
14157 \begin_layout Standard
14158 \begin_inset Flex Code
14159 status collapsed
14160
14161 \begin_layout Plain Layout
14162 BabelPreamble
14163 \end_layout
14164
14165 \end_inset
14166
14167 タグは,複数言語文書をサポートし,
14168 \begin_inset Flex Code
14169 status collapsed
14170
14171 \begin_layout Plain Layout
14172 babel
14173 \end_layout
14174
14175 \end_inset
14176
14177 パッケージへのインタフェースを提供することを意図しているので,もう少し複雑です.その内容は,文書に現れる言語それぞれについて一度,プリアンブルに追加されます.こ
14178 の場合には,
14179 \begin_inset Flex Code
14180 status collapsed
14181
14182 \begin_layout Plain Layout
14183 _()
14184 \end_layout
14185
14186 \end_inset
14187
14188 の引数は,その当該言語への翻訳で置き換えられ,
14189 \begin_inset Flex Code
14190 status collapsed
14191
14192 \begin_layout Plain Layout
14193 $$lang
14194 \end_layout
14195
14196 \end_inset
14197
14198 は言語名(babelパッケージで使用されるもの)で置き換えられます.
14199 \end_layout
14200
14201 \begin_layout Standard
14202 したがって,フランス語のセクションを持つドイツ語文書では,以下のような内容がプリアンブルに追加されます
14203 \end_layout
14204
14205 \begin_layout LyX-Code
14206
14207 \backslash
14208 addto
14209 \backslash
14210 captionsfrench{
14211 \backslash
14212 renewcommand{
14213 \backslash
14214 claimname}{Affirmation}}
14215 \begin_inset Newline newline
14216 \end_inset
14217
14218
14219 \backslash
14220 addto
14221 \backslash
14222 captionsngerman{
14223 \backslash
14224 renewcommand{
14225 \backslash
14226 claimname}{Behauptung}}
14227 \begin_inset Newline newline
14228 \end_inset
14229
14230
14231 \backslash
14232 providecommand{
14233 \backslash
14234 claimname}{Behauptung}
14235 \end_layout
14236
14237 \begin_layout Standard
14238 それから,\SpecialChar LaTeX
14239
14240 \begin_inset Flex Code
14241 status collapsed
14242
14243 \begin_layout Plain Layout
14244 babel
14245 \end_layout
14246
14247 \end_inset
14248
14249 は協力して,出力に正しい文字列を生成します.
14250 \end_layout
14251
14252 \begin_layout Standard
14253 ここで注意しておくべき一つの重要な点は,翻訳は,
14254 \begin_inset Flex Code
14255 status collapsed
14256
14257 \begin_layout Plain Layout
14258 layouttranslations
14259 \end_layout
14260
14261 \end_inset
14262
14263 ファイルを通じて,\SpecialChar LyX
14264 自身によって提供されるということです.つまり,ユーザー作成のレイアウトファイルに入力された文字列は,
14265 \begin_inset Flex Code
14266 status collapsed
14267
14268 \begin_layout Plain Layout
14269 layouttranslations
14270 \end_layout
14271
14272 \end_inset
14273
14274 ファイルをそれに応じて変更しない限り,\SpecialChar LyX
14275 の国際化ルーチンでは取り扱われないので,
14276 \begin_inset Flex MenuItem
14277 status collapsed
14278
14279 \begin_layout Plain Layout
14280 LangPreamble
14281 \end_layout
14282
14283 \end_inset
14284
14285
14286 \begin_inset Flex MenuItem
14287 status collapsed
14288
14289 \begin_layout Plain Layout
14290 BabelPreamble
14291 \end_layout
14292
14293 \end_inset
14294
14295 は,事実上,\SpecialChar LyX
14296 とともに提供されるレイアウトファイルでのみ,使うことができるということを意味します.とはいえ,こういうことでありますので,将来的に\SpecialChar LyX
14297 に同梱させようとい
14298 う意図を以て作成されたレイアウトは,適切なところではすべて,これらのタグを使用するべきです.\SpecialChar LyX
14299 が提供する段落様式の翻訳は,マイナー更新(例えば2.1.x版から2.1.y版
14300 )では変更されないことに注意してください.しかしながら,メジャー更新(例えば2.0.x版から2.1.y版)では,新しい翻訳や修正が導入される可能性は大いにあります.
14301 \end_layout
14302
14303 \begin_layout Subsection
14304 フロート
14305 \begin_inset CommandInset label
14306 LatexCommand label
14307 name "subsec:フロート"
14308
14309 \end_inset
14310
14311
14312 \end_layout
14313
14314 \begin_layout Standard
14315 \SpecialChar LyX
14316 第1.3.0版以来,テキストクラス自体の中でフロート(
14317 \begin_inset Flex MenuItem
14318 status collapsed
14319
14320 \begin_layout Plain Layout
14321 figure
14322 \end_layout
14323
14324 \end_inset
14325
14326
14327 \begin_inset Flex MenuItem
14328 status collapsed
14329
14330 \begin_layout Plain Layout
14331 table
14332 \end_layout
14333
14334 \end_inset
14335
14336 ・\SpecialChar ldots
14337 )を定義することが可能となり,かつ必要となりました.標準的なフロートは
14338 \begin_inset Flex Code
14339 status collapsed
14340
14341 \begin_layout Plain Layout
14342 stdfloats.inc
14343 \end_layout
14344
14345 \end_inset
14346
14347 ファイルに含まれているので,作業中のレイアウトファイルに
14348 \end_layout
14349
14350 \begin_layout LyX-Code
14351 Input stdfloats.inc
14352 \end_layout
14353
14354 \begin_layout Standard
14355 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
14356 に同梱されているAGUクラスのように,それ以外のフロート型を提供するテキストクラスを実装するには,以下の情報が役立つであり
14357 ましょう.
14358 \end_layout
14359
14360 \begin_layout Description
14361 \begin_inset Flex Code
14362 status collapsed
14363
14364 \begin_layout Plain Layout
14365 AllowedPlacement
14366 \end_layout
14367
14368 \end_inset
14369
14370  [
14371 \begin_inset Flex Code
14372 status collapsed
14373
14374 \begin_layout Plain Layout
14375 文字列
14376 \end_layout
14377
14378 \end_inset
14379
14380 =!htbpH] このフロート型に許可された配置用の選択肢.値は,配置文字からなる文字列です.使用できる文字には,
14381 \emph on
14382 h
14383 \emph default
14384  (
14385 \begin_inset Quotes eld
14386 \end_inset
14387
14388 here if possible:可能ならば現在位置に
14389 \begin_inset Quotes erd
14390 \end_inset
14391
14392 ), 
14393 \emph on
14394 t
14395 \emph default
14396  (
14397 \begin_inset Quotes eld
14398 \end_inset
14399
14400 top of page:ページ上部
14401 \begin_inset Quotes erd
14402 \end_inset
14403
14404 )・
14405 \emph on
14406 b
14407 \emph default
14408  (
14409 \begin_inset Quotes eld
14410 \end_inset
14411
14412 bottom of page:ページ下部
14413 \begin_inset Quotes erd
14414 \end_inset
14415
14416 )・
14417 \emph on
14418 p
14419 \emph default
14420  (
14421 \begin_inset Quotes eld
14422 \end_inset
14423
14424 page of floats:フロートを独立したページに
14425 \begin_inset Quotes erd
14426 \end_inset
14427
14428 )・
14429 \emph on
14430 H
14431 \emph default
14432  (
14433 \begin_inset Quotes eld
14434 \end_inset
14435
14436 here definitely:何としても現在位置に置く
14437 \begin_inset Quotes erd
14438 \end_inset
14439
14440 )・
14441 \emph on
14442 !
14443 \emph default
14444  (
14445 \begin_inset Quotes eld
14446 \end_inset
14447
14448 ignore LaTeX rules:LaTeXの規則を無視する
14449 \begin_inset Quotes erd
14450 \end_inset
14451
14452 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,文字列として
14453 \emph on
14454 none
14455 \emph default
14456 を与えてください.
14457 \end_layout
14458
14459 \begin_layout Description
14460 \begin_inset Flex Code
14461 status collapsed
14462
14463 \begin_layout Plain Layout
14464 AllowsSideways
14465 \end_layout
14466
14467 \end_inset
14468
14469  [
14470 \begin_inset Flex Code
14471 status collapsed
14472
14473 \begin_layout Plain Layout
14474 0
14475 \end_layout
14476
14477 \end_inset
14478
14479 ,
14480 \begin_inset space \thinspace{}
14481 \end_inset
14482
14483
14484 \emph on
14485
14486 \begin_inset Flex Code
14487 status collapsed
14488
14489 \begin_layout Plain Layout
14490 1
14491 \end_layout
14492
14493 \end_inset
14494
14495
14496 \emph default
14497 ] フロートを,\SpecialChar LaTeX
14498 パッケージの
14499 \family typewriter
14500 rotfloat
14501 \family default
14502  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
14503 \begin_inset Flex Code
14504 status collapsed
14505
14506 \begin_layout Plain Layout
14507 0
14508 \end_layout
14509
14510 \end_inset
14511
14512 を指定してください.
14513 \end_layout
14514
14515 \begin_layout Description
14516 \begin_inset Flex Code
14517 status collapsed
14518
14519 \begin_layout Plain Layout
14520 AllowsWide
14521 \end_layout
14522
14523 \end_inset
14524
14525  [
14526 \begin_inset Flex Code
14527 status collapsed
14528
14529 \begin_layout Plain Layout
14530 0
14531 \end_layout
14532
14533 \end_inset
14534
14535 ,
14536 \begin_inset space \thinspace{}
14537 \end_inset
14538
14539
14540 \emph on
14541
14542 \begin_inset Flex Code
14543 status collapsed
14544
14545 \begin_layout Plain Layout
14546 1
14547 \end_layout
14548
14549 \end_inset
14550
14551
14552 \emph default
14553 ] このフロートに,二段組段落において段落をまたぐ,星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
14554 \begin_inset Flex Code
14555 status collapsed
14556
14557 \begin_layout Plain Layout
14558 0
14559 \end_layout
14560
14561 \end_inset
14562
14563 を指定してください.
14564 \end_layout
14565
14566 \begin_layout Description
14567 \begin_inset Flex Code
14568 status collapsed
14569
14570 \begin_layout Plain Layout
14571 Extension
14572 \end_layout
14573
14574 \end_inset
14575
14576  [
14577 \begin_inset Flex Code
14578 status collapsed
14579
14580 \begin_layout Plain Layout
14581 文字列
14582 \end_layout
14583
14584 \end_inset
14585
14586 =
14587 \begin_inset Quotes erd
14588 \end_inset
14589
14590
14591 \begin_inset Quotes erd
14592 \end_inset
14593
14594 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
14595 がキャプションを書き込むファイルです.
14596 \end_layout
14597
14598 \begin_layout Description
14599 \begin_inset Flex Code
14600 status collapsed
14601
14602 \begin_layout Plain Layout
14603 GuiName
14604 \end_layout
14605
14606 \end_inset
14607
14608  [
14609 \begin_inset Flex Code
14610 status collapsed
14611
14612 \begin_layout Plain Layout
14613 文字列
14614 \end_layout
14615
14616 \end_inset
14617
14618 =
14619 \begin_inset Quotes erd
14620 \end_inset
14621
14622
14623 \begin_inset Quotes erd
14624 \end_inset
14625
14626 ] メニューとキャプションに使用される文字列.babelが使用される場合には,これは現在の言語に翻訳されます.
14627 \end_layout
14628
14629 \begin_layout Description
14630 \begin_inset Flex Code
14631 status collapsed
14632
14633 \begin_layout Plain Layout
14634 HTML*
14635 \end_layout
14636
14637 \end_inset
14638
14639  これらは,XHTML出力で使用されます.
14640 \begin_inset CommandInset ref
14641 LatexCommand ref
14642 reference "sec:XHTML出力のタグ"
14643
14644 \end_inset
14645
14646 をご覧ください.
14647 \end_layout
14648
14649 \begin_layout Description
14650 \begin_inset Flex Code
14651 status collapsed
14652
14653 \begin_layout Plain Layout
14654 IsPredefined
14655 \end_layout
14656
14657 \end_inset
14658
14659  [
14660 \begin_inset Flex Code
14661 status collapsed
14662
14663 \begin_layout Plain Layout
14664
14665 \emph on
14666 0
14667 \end_layout
14668
14669 \end_inset
14670
14671 ,
14672 \begin_inset space \thinspace{}
14673 \end_inset
14674
14675
14676 \begin_inset Flex Code
14677 status collapsed
14678
14679 \begin_layout Plain Layout
14680 1
14681 \end_layout
14682
14683 \end_inset
14684
14685 ] フロートがドキュメントクラス中に既に定義されているのか,あるいは\SpecialChar LaTeX
14686 パッケージ
14687 \begin_inset Flex Code
14688 status collapsed
14689
14690 \begin_layout Plain Layout
14691 float
14692 \end_layout
14693
14694 \end_inset
14695
14696 を読み込む必要があり,そのファイル内のものを使用して,オン・ザ・フライで定義するかを示します.既定は
14697 \begin_inset Flex Code
14698 status collapsed
14699
14700 \begin_layout Plain Layout
14701 0
14702 \end_layout
14703
14704 \end_inset
14705
14706 で,この場合
14707 \begin_inset Flex Code
14708 status collapsed
14709
14710 \begin_layout Plain Layout
14711 float
14712 \end_layout
14713
14714 \end_inset
14715
14716 を使用します.\SpecialChar LaTeX
14717 ドキュメントクラス中に既に定義されているときには,
14718 \begin_inset Flex Code
14719 status collapsed
14720
14721 \begin_layout Plain Layout
14722 0
14723 \end_layout
14724
14725 \end_inset
14726
14727 に設定しなくてはなりません.
14728 \end_layout
14729
14730 \begin_layout Description
14731 \begin_inset Flex Code
14732 status collapsed
14733
14734 \begin_layout Plain Layout
14735 ListCommand
14736 \end_layout
14737
14738 \end_inset
14739
14740  [
14741 \begin_inset Flex Code
14742 status collapsed
14743
14744 \begin_layout Plain Layout
14745 文字列
14746 \end_layout
14747
14748 \end_inset
14749
14750 =
14751 \begin_inset Quotes erd
14752 \end_inset
14753
14754
14755 \begin_inset Quotes erd
14756 \end_inset
14757
14758 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
14759 \backslash
14760 」は書きません.
14761 \begin_inset Flex Code
14762 status collapsed
14763
14764 \begin_layout Plain Layout
14765 NeedsFloatPkg
14766 \end_layout
14767
14768 \end_inset
14769
14770 が偽の時には,このコマンドを生成する標準的な方法はないので,これは
14771 \emph on
14772 必ず
14773 \emph default
14774 指定しなくてはなりません.
14775 \begin_inset Flex Code
14776 status collapsed
14777
14778 \begin_layout Plain Layout
14779 NeedsFloatPkg
14780 \end_layout
14781
14782 \end_inset
14783
14784 が真の時は,標準的な方法が存在するので,これは無視されます.
14785 \end_layout
14786
14787 \begin_layout Description
14788 \begin_inset Flex Code
14789 status collapsed
14790
14791 \begin_layout Plain Layout
14792 ListName
14793 \end_layout
14794
14795 \end_inset
14796
14797  [
14798 \begin_inset Flex Code
14799 status collapsed
14800
14801 \begin_layout Plain Layout
14802 文字列
14803 \end_layout
14804
14805 \end_inset
14806
14807 =
14808 \begin_inset Quotes erd
14809 \end_inset
14810
14811
14812 \begin_inset Quotes erd
14813 \end_inset
14814
14815 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
14816 中では,これは画面上のラベルとして使用されます.また,見出しとして使用するために,La\SpecialChar TeX
14817 に渡さ
14818 れ,XHTML出力でも見出しとして使用されます.これは,文書言語に翻訳されます.
14819 \end_layout
14820
14821 \begin_layout Description
14822 \begin_inset Flex Code
14823 status collapsed
14824
14825 \begin_layout Plain Layout
14826 NumberWithin
14827 \end_layout
14828
14829 \end_inset
14830
14831  [
14832 \begin_inset Flex Code
14833 status collapsed
14834
14835 \begin_layout Plain Layout
14836 文字列
14837 \end_layout
14838
14839 \end_inset
14840
14841 =
14842 \begin_inset Quotes erd
14843 \end_inset
14844
14845
14846 \begin_inset Quotes erd
14847 \end_inset
14848
14849 ] この(非必須の)引数は,このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
14850 \begin_inset Flex Code
14851 status collapsed
14852
14853 \begin_layout Plain Layout
14854 NumberWithin
14855 \end_layout
14856
14857 \end_inset
14858
14859 が「
14860 \begin_inset Flex Code
14861 status collapsed
14862
14863 \begin_layout Plain Layout
14864 chapter
14865 \end_layout
14866
14867 \end_inset
14868
14869 」に指定されていれば,フロートは章ごとに番号が振り直されます.
14870 \end_layout
14871
14872 \begin_layout Description
14873 \begin_inset Flex Code
14874 status collapsed
14875
14876 \begin_layout Plain Layout
14877 Placement
14878 \end_layout
14879
14880 \end_inset
14881
14882  [
14883 \begin_inset Flex Code
14884 status collapsed
14885
14886 \begin_layout Plain Layout
14887 文字列
14888 \end_layout
14889
14890 \end_inset
14891
14892 =
14893 \begin_inset Quotes erd
14894 \end_inset
14895
14896
14897 \begin_inset Quotes erd
14898 \end_inset
14899
14900 ] このクラスのフロートの既定の配置法.文字列は,標準的な\SpecialChar LaTeX
14901 表記に従い,
14902 \begin_inset Flex Code
14903 status collapsed
14904
14905 \begin_layout Plain Layout
14906 t
14907 \end_layout
14908
14909 \end_inset
14910
14911 ならば上部(top),
14912 \begin_inset Flex Code
14913 status collapsed
14914
14915 \begin_layout Plain Layout
14916 b
14917 \end_layout
14918
14919 \end_inset
14920
14921 ならば下部(bottom),
14922 \begin_inset Flex Code
14923 status collapsed
14924
14925 \begin_layout Plain Layout
14926 p
14927 \end_layout
14928
14929 \end_inset
14930
14931 ならばページ(page),
14932 \begin_inset Flex Code
14933 status collapsed
14934
14935 \begin_layout Plain Layout
14936 h
14937 \end_layout
14938
14939 \end_inset
14940
14941 ならばここ(here)を表します
14942 \begin_inset Foot
14943 status collapsed
14944
14945 \begin_layout Plain Layout
14946 \SpecialChar LaTeX
14947 同様,文字列中でのこれらの文字の順序は関係ありません.
14948 \end_layout
14949
14950 \end_inset
14951
14952 .これらの他に新しい型
14953 \begin_inset Flex Code
14954 status collapsed
14955
14956 \begin_layout Plain Layout
14957 H
14958 \end_layout
14959
14960 \end_inset
14961
14962 があり,これはフロートを「ここ」に置いていいけれども他の場所はだめ,というものなので,本当はフロートにあるものではありません.しかし,
14963 \begin_inset Flex Code
14964 status collapsed
14965
14966 \begin_layout Plain Layout
14967 H
14968 \end_layout
14969
14970 \end_inset
14971
14972 指定子は特別なものであり,その細かい実装上の理由で,組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,代わり
14973 に「
14974 \begin_inset Flex Code
14975 status collapsed
14976
14977 \begin_layout Plain Layout
14978 tbp
14979 \end_layout
14980
14981 \end_inset
14982
14983 」を指定してください.
14984 \end_layout
14985
14986 \begin_layout Description
14987 \begin_inset Flex Code
14988 status collapsed
14989
14990 \begin_layout Plain Layout
14991 RefPrefix
14992 \end_layout
14993
14994 \end_inset
14995
14996  [
14997 \begin_inset Flex Code
14998 status collapsed
14999
15000 \begin_layout Plain Layout
15001 文字列
15002 \end_layout
15003
15004 \end_inset
15005
15006 ] この型のフロートを参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.コピーした様式が設定した
15007 \begin_inset Flex Code
15008 status collapsed
15009
15010 \begin_layout Plain Layout
15011 RefPrefix
15012 \end_layout
15013
15014 \end_inset
15015
15016 は,特別な文字列「OFF」(すべて大文字)を使えば,いつでも削除することができます.
15017 \end_layout
15018
15019 \begin_layout Description
15020 \begin_inset Flex Code
15021 status collapsed
15022
15023 \begin_layout Plain Layout
15024 Style
15025 \end_layout
15026
15027 \end_inset
15028
15029  [
15030 \begin_inset Flex Code
15031 status collapsed
15032
15033 \begin_layout Plain Layout
15034 文字列
15035 \end_layout
15036
15037 \end_inset
15038
15039 =
15040 \begin_inset Quotes erd
15041 \end_inset
15042
15043
15044 \begin_inset Quotes erd
15045 \end_inset
15046
15047
15048 \begin_inset Flex Code
15049 status collapsed
15050
15051 \begin_layout Plain Layout
15052
15053 \backslash
15054 newfloat
15055 \end_layout
15056
15057 \end_inset
15058
15059 を使用してフロートを定義する際に使用される様式.
15060 \end_layout
15061
15062 \begin_layout Description
15063 \begin_inset Flex Code
15064 status collapsed
15065
15066 \begin_layout Plain Layout
15067 Type
15068 \end_layout
15069
15070 \end_inset
15071
15072  [
15073 \begin_inset Flex Code
15074 status collapsed
15075
15076 \begin_layout Plain Layout
15077 文字列
15078 \end_layout
15079
15080 \end_inset
15081
15082 =
15083 \begin_inset Quotes erd
15084 \end_inset
15085
15086
15087 \begin_inset Quotes erd
15088 \end_inset
15089
15090 ] プログラムやアルゴリズムのような,フロートの新しいクラス「型」.適切な
15091 \begin_inset Flex Code
15092 status collapsed
15093
15094 \begin_layout Plain Layout
15095
15096 \backslash
15097 newfloat
15098 \end_layout
15099
15100 \end_inset
15101
15102 の後で,
15103 \begin_inset Flex Code
15104 status collapsed
15105
15106 \begin_layout Plain Layout
15107
15108 \backslash
15109 begin{program}
15110 \end_layout
15111
15112 \end_inset
15113
15114
15115 \begin_inset Flex Code
15116 status collapsed
15117
15118 \begin_layout Plain Layout
15119
15120 \backslash
15121 end{algorithm*}
15122 \end_layout
15123
15124 \end_inset
15125
15126 といったコマンドが利用できます.
15127 \end_layout
15128
15129 \begin_layout Description
15130 \begin_inset Flex Code
15131 status collapsed
15132
15133 \begin_layout Plain Layout
15134 UsesFloatPkg
15135 \end_layout
15136
15137 \end_inset
15138
15139  [
15140 \begin_inset Flex Code
15141 status collapsed
15142
15143 \begin_layout Plain Layout
15144 0
15145 \end_layout
15146
15147 \end_inset
15148
15149 ,
15150 \begin_inset space \thinspace{}
15151 \end_inset
15152
15153
15154 \begin_inset Flex Code
15155 status collapsed
15156
15157 \begin_layout Plain Layout
15158
15159 \emph on
15160 1
15161 \end_layout
15162
15163 \end_inset
15164
15165 ] このフロートが,クラスファイルやパッケージ中で,\SpecialChar LaTeX
15166 パッケージ
15167 \begin_inset Flex Code
15168 status collapsed
15169
15170 \begin_layout Plain Layout
15171 float
15172 \end_layout
15173
15174 \end_inset
15175
15176 が提供しているものを使用して定義されているのか,\SpecialChar LyX
15177 自身がオン・ザ・フライで定義しているのかを示します.
15178 \end_layout
15179
15180 \begin_layout Standard
15181 \begin_inset Flex Code
15182 status collapsed
15183
15184 \begin_layout Plain Layout
15185
15186 \emph on
15187 type
15188 \end_layout
15189
15190 \end_inset
15191
15192 型のフロートを定義すると,自動的に
15193 \emph on
15194 対応する
15195 \emph default
15196
15197 \begin_inset Flex Code
15198 status collapsed
15199
15200 \begin_layout Plain Layout
15201
15202 \emph on
15203 type
15204 \end_layout
15205
15206 \end_inset
15207
15208 名カウンタが定義されます.
15209 \end_layout
15210
15211 \begin_layout Subsection
15212 自由差込枠と差込枠レイアウト
15213 \begin_inset CommandInset label
15214 LatexCommand label
15215 name "subsec:任意設定差込枠"
15216
15217 \end_inset
15218
15219
15220 \end_layout
15221
15222 \begin_layout Standard
15223 自由差込枠には次の3種類があります.
15224 \end_layout
15225
15226 \begin_layout Itemize
15227 文字様式(
15228 \begin_inset Flex Code
15229 status collapsed
15230
15231 \begin_layout Plain Layout
15232 CharStyle
15233 \end_layout
15234
15235 \end_inset
15236
15237 ).これは,
15238 \begin_inset Flex Code
15239 status collapsed
15240
15241 \begin_layout Plain Layout
15242
15243 \backslash
15244 noun
15245 \end_layout
15246
15247 \end_inset
15248
15249
15250 \begin_inset Flex Code
15251 status collapsed
15252
15253 \begin_layout Plain Layout
15254
15255 \backslash
15256 code
15257 \end_layout
15258
15259 \end_inset
15260
15261 などの\SpecialChar LaTeX
15262 コマンドに対応した意味論的マークアップを定義するものです.
15263 \end_layout
15264
15265 \begin_layout Itemize
15266 ユーザ設定(
15267 \begin_inset Flex Code
15268 status collapsed
15269
15270 \begin_layout Plain Layout
15271 Custom
15272 \end_layout
15273
15274 \end_inset
15275
15276 ).これは,\SpecialChar TeX
15277 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,これは
15278 \begin_inset Flex Code
15279 status collapsed
15280
15281 \begin_layout Plain Layout
15282 endnote
15283 \end_layout
15284
15285 \end_inset
15286
15287 モジュール中で定義されています.
15288 \end_layout
15289
15290 \begin_layout Itemize
15291 XML要素(
15292 \begin_inset Flex Code
15293 status collapsed
15294
15295 \begin_layout Plain Layout
15296 Element
15297 \end_layout
15298
15299 \end_inset
15300
15301 ).DocBookクラスで使用するものです.
15302 \end_layout
15303
15304 \begin_layout Standard
15305 自由差込枠は,以下で説明する
15306 \begin_inset Flex Code
15307 status collapsed
15308
15309 \begin_layout Plain Layout
15310 InsetLayout
15311 \end_layout
15312
15313 \end_inset
15314
15315 タグを使用して定義されます.
15316 \end_layout
15317
15318 \begin_layout Standard
15319 \begin_inset Flex Code
15320 status collapsed
15321
15322 \begin_layout Plain Layout
15323 InsetLayout
15324 \end_layout
15325
15326 \end_inset
15327
15328 タグは,もう一つ別の機能も提供します.これを使えば,いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
15329 \begin_inset Flex Code
15330 status collapsed
15331
15332 \begin_layout Plain Layout
15333 InsetLayout
15334 \end_layout
15335
15336 \end_inset
15337
15338 は自由差込枠を定義することの他に,脚註・傍註・註釈差込枠・\SpecialChar TeX
15339 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザ
15340 ー定義するのに使用されます.
15341 \end_layout
15342
15343 \begin_layout Standard
15344 \begin_inset Flex Code
15345 status collapsed
15346
15347 \begin_layout Plain Layout
15348 InsetLayout
15349 \end_layout
15350
15351 \end_inset
15352
15353 定義は以下の形の行では始まらなくてはなりません.
15354 \end_layout
15355
15356 \begin_layout LyX-Code
15357 InsetLayout <型>
15358 \end_layout
15359
15360 \begin_layout Standard
15361 ここで
15362 \begin_inset Flex Code
15363 status collapsed
15364
15365 \begin_layout Plain Layout
15366 <型>
15367 \end_layout
15368
15369 \end_inset
15370
15371 は,レイアウトを定義しようとしている差込枠を指し,4つの場合があります.
15372 \end_layout
15373
15374 \begin_layout Enumerate
15375 既存の差込枠のレイアウトを変更する場合.この場合,
15376 \begin_inset Flex Code
15377 status collapsed
15378
15379 \begin_layout Plain Layout
15380 <型>
15381 \end_layout
15382
15383 \end_inset
15384
15385 は以下のいずれかになります:
15386 \begin_inset Flex Code
15387 status collapsed
15388
15389 \begin_layout Plain Layout
15390 Algorithm
15391 \end_layout
15392
15393 \end_inset
15394
15395
15396 \begin_inset Flex Code
15397 status collapsed
15398
15399 \begin_layout Plain Layout
15400 Branch
15401 \end_layout
15402
15403 \end_inset
15404
15405
15406 \begin_inset Flex Code
15407 status collapsed
15408
15409 \begin_layout Plain Layout
15410 Box
15411 \end_layout
15412
15413 \end_inset
15414
15415
15416 \begin_inset Flex Code
15417 status collapsed
15418
15419 \begin_layout Plain Layout
15420 Box:shaded
15421 \end_layout
15422
15423 \end_inset
15424
15425
15426 \begin_inset Flex Code
15427 status collapsed
15428
15429 \begin_layout Plain Layout
15430 Caption:Standard
15431 \end_layout
15432
15433 \end_inset
15434
15435
15436 \begin_inset Flex Code
15437 status collapsed
15438
15439 \begin_layout Plain Layout
15440 ERT
15441 \end_layout
15442
15443 \end_inset
15444
15445
15446 \begin_inset Flex Code
15447 status collapsed
15448
15449 \begin_layout Plain Layout
15450 Figure
15451 \end_layout
15452
15453 \end_inset
15454
15455
15456 \begin_inset Flex Code
15457 status collapsed
15458
15459 \begin_layout Plain Layout
15460 Foot
15461 \end_layout
15462
15463 \end_inset
15464
15465
15466 \begin_inset Flex Code
15467 status collapsed
15468
15469 \begin_layout Plain Layout
15470 Index
15471 \end_layout
15472
15473 \end_inset
15474
15475
15476 \begin_inset Flex Code
15477 status collapsed
15478
15479 \begin_layout Plain Layout
15480 Info
15481 \end_layout
15482
15483 \end_inset
15484
15485
15486 \begin_inset Flex Code
15487 status collapsed
15488
15489 \begin_layout Plain Layout
15490 Info:menu
15491 \end_layout
15492
15493 \end_inset
15494
15495
15496 \begin_inset Flex Code
15497 status collapsed
15498
15499 \begin_layout Plain Layout
15500 Info:shortcut
15501 \end_layout
15502
15503 \end_inset
15504
15505
15506 \begin_inset Flex Code
15507 status collapsed
15508
15509 \begin_layout Plain Layout
15510 Info:shortcuts
15511 \end_layout
15512
15513 \end_inset
15514
15515
15516 \begin_inset Flex Code
15517 status collapsed
15518
15519 \begin_layout Plain Layout
15520 Listings
15521 \end_layout
15522
15523 \end_inset
15524
15525
15526 \begin_inset Flex Code
15527 status collapsed
15528
15529 \begin_layout Plain Layout
15530 Marginal
15531 \end_layout
15532
15533 \end_inset
15534
15535
15536 \begin_inset Flex Code
15537 status collapsed
15538
15539 \begin_layout Plain Layout
15540 Note:Comment
15541 \end_layout
15542
15543 \end_inset
15544
15545
15546 \begin_inset Flex Code
15547 status collapsed
15548
15549 \begin_layout Plain Layout
15550 Note:Note
15551 \end_layout
15552
15553 \end_inset
15554
15555
15556 \begin_inset Flex Code
15557 status collapsed
15558
15559 \begin_layout Plain Layout
15560 Note:GreyedOut
15561 \end_layout
15562
15563 \end_inset
15564
15565
15566 \begin_inset Flex Code
15567 status collapsed
15568
15569 \begin_layout Plain Layout
15570 Table
15571 \end_layout
15572
15573 \end_inset
15574
15575
15576 \begin_inset Flex Code
15577 status collapsed
15578
15579 \begin_layout Plain Layout
15580 URL
15581 \end_layout
15582
15583 \end_inset
15584
15585
15586 \end_layout
15587
15588 \begin_layout Enumerate
15589 自由差込枠のレイアウトを定義する場合.この場合,
15590 \begin_inset Flex Code
15591 status collapsed
15592
15593 \begin_layout Plain Layout
15594 <型>
15595 \end_layout
15596
15597 \end_inset
15598
15599
15600 \begin_inset Flex Code
15601 status collapsed
15602
15603 \begin_layout Plain Layout
15604 Flex:<名称>
15605 \end_layout
15606
15607 \end_inset
15608
15609 の形でなくてはなりません.ここで,
15610 \begin_inset Flex Code
15611 status collapsed
15612
15613 \begin_layout Plain Layout
15614 名称
15615 \end_layout
15616
15617 \end_inset
15618
15619 は,既存の自由差込枠で使用されていない有効な識別子であれば,何でも構いません.識別子には空白を入れることもできますが,この場合には全体を引用符で囲まなくてはなり
15620 ません.自由差込枠の定義には,この定義がどの差込枠型なのか宣言するために,
15621 \begin_inset Flex Code
15622 status collapsed
15623
15624 \begin_layout Plain Layout
15625 LyXType
15626 \end_layout
15627
15628 \end_inset
15629
15630 項目が含まれていなくてはならないことに注意してください.
15631 \end_layout
15632
15633 \begin_layout Enumerate
15634 ユーザー定義派生枝を定義する場合.この場合,
15635 \begin_inset Flex Code
15636 status collapsed
15637
15638 \begin_layout Plain Layout
15639 <型>
15640 \end_layout
15641
15642 \end_inset
15643
15644 は「
15645 \begin_inset Flex Code
15646 status collapsed
15647
15648 \begin_layout Plain Layout
15649 Branch:<名称>
15650 \end_layout
15651
15652 \end_inset
15653
15654 」の形でなくてはなりません.ここで,
15655 \begin_inset Flex Code
15656 status collapsed
15657
15658 \begin_layout Plain Layout
15659 名称
15660 \end_layout
15661
15662 \end_inset
15663
15664 は,ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主
15665 な目的は,ユーザーの必要に応じて,特定の派生枝を\SpecialChar LaTeX
15666 がくるむことができるようにすることです.
15667 \end_layout
15668
15669 \begin_layout Enumerate
15670 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
15671 \begin_inset Flex Code
15672 status collapsed
15673
15674 \begin_layout Plain Layout
15675 <型>
15676 \end_layout
15677
15678 \end_inset
15679
15680 は「
15681 \begin_inset Flex Code
15682 status collapsed
15683
15684 \begin_layout Plain Layout
15685 Caption:<名称>
15686 \end_layout
15687
15688 \end_inset
15689
15690 」の形でなくてはなりません.ここで,
15691 \begin_inset Flex Code
15692 status collapsed
15693
15694 \begin_layout Plain Layout
15695 名称
15696 \end_layout
15697
15698 \end_inset
15699
15700 は,メニューに表示されるキャプション名です.応用例については,標準キャプション(
15701 \begin_inset Flex Code
15702 status collapsed
15703
15704 \begin_layout Plain Layout
15705 Caption:Standard
15706 \end_layout
15707
15708 \end_inset
15709
15710 ),若しくはKOMA-Scriptクラスのクラス定義キャプション(
15711 \begin_inset Flex Code
15712 status collapsed
15713
15714 \begin_layout Plain Layout
15715 Caption:Above
15716 \end_layout
15717
15718 \end_inset
15719
15720
15721 \begin_inset Flex Code
15722 status collapsed
15723
15724 \begin_layout Plain Layout
15725 Caption:Below
15726 \end_layout
15727
15728 \end_inset
15729
15730 ),
15731 \family sans
15732 多言語キャプション
15733 \family default
15734 モジュール(
15735 \begin_inset Flex Code
15736 status collapsed
15737
15738 \begin_layout Plain Layout
15739 Caption:\SpecialChar allowbreak
15740 Bicaption
15741 \end_layout
15742
15743 \end_inset
15744
15745 )をご覧ください.
15746 \end_layout
15747
15748 \begin_layout Standard
15749 \begin_inset Flex Code
15750 status collapsed
15751
15752 \begin_layout Plain Layout
15753 InsetLayout
15754 \end_layout
15755
15756 \end_inset
15757
15758 定義には以下の項目を入れることができます.
15759 \end_layout
15760
15761 \begin_layout Description
15762 \begin_inset Flex Code
15763 status collapsed
15764
15765 \begin_layout Plain Layout
15766 AddToToc
15767 \end_layout
15768
15769 \end_inset
15770
15771  [
15772 \begin_inset Flex Code
15773 status collapsed
15774
15775 \begin_layout Plain Layout
15776 文字列
15777 \end_layout
15778
15779 \end_inset
15780
15781 =""] この差込枠は,この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参
15782 照してください.これは,自由差込枠にのみ実装されています.既定値:無効.
15783 \end_layout
15784
15785 \begin_layout Description
15786 \begin_inset Flex Code
15787 status collapsed
15788
15789 \begin_layout Plain Layout
15790 Argument
15791 \end_layout
15792
15793 \end_inset
15794
15795  [
15796 \begin_inset Flex Code
15797 status collapsed
15798
15799 \begin_layout Plain Layout
15800 整数
15801 \end_layout
15802
15803 \end_inset
15804
15805 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
15806 \begin_inset Flex Code
15807 status collapsed
15808
15809 \begin_layout Plain Layout
15810 EndArgument
15811 \end_layout
15812
15813 \end_inset
15814
15815 で閉じなくてはなりません.詳細は第
15816 \begin_inset CommandInset ref
15817 LatexCommand ref
15818 reference "subsec:段落様式"
15819
15820 \end_inset
15821
15822 節参照.
15823 \end_layout
15824
15825 \begin_layout Description
15826 \begin_inset Flex Code
15827 status collapsed
15828
15829 \begin_layout Plain Layout
15830 BabelPreamble
15831 \end_layout
15832
15833 \end_inset
15834
15835  言語コマンドを変更するプリアンブル.第
15836 \begin_inset CommandInset ref
15837 LatexCommand ref
15838 reference "subsec:段落様式の国際化"
15839
15840 \end_inset
15841
15842 節参照.
15843 \end_layout
15844
15845 \begin_layout Description
15846 \begin_inset Flex Code
15847 status collapsed
15848
15849 \begin_layout Plain Layout
15850 BgColor
15851 \end_layout
15852
15853 \end_inset
15854
15855  [
15856 \begin_inset Flex Code
15857 status collapsed
15858
15859 \begin_layout Plain Layout
15860 <名称>
15861 \end_layout
15862
15863 \end_inset
15864
15865 ] 差込枠の背景色.使用できる色名一覧は第
15866 \begin_inset CommandInset ref
15867 LatexCommand ref
15868 reference "chap:色名"
15869
15870 \end_inset
15871
15872 節参照.
15873 \end_layout
15874
15875 \begin_layout Description
15876 \begin_inset Flex Code
15877 status collapsed
15878
15879 \begin_layout Plain Layout
15880 ContentAsLabel
15881 \end_layout
15882
15883 \end_inset
15884
15885  [
15886 \begin_inset Flex Code
15887 status collapsed
15888
15889 \begin_layout Plain Layout
15890
15891 \emph on
15892 0
15893 \end_layout
15894
15895 \end_inset
15896
15897 ,
15898 \begin_inset space \thinspace{}
15899 \end_inset
15900
15901
15902 \begin_inset Flex Code
15903 status collapsed
15904
15905 \begin_layout Plain Layout
15906 1
15907 \end_layout
15908
15909 \end_inset
15910
15911 ] 差込枠を閉じた際,差込枠の内容をラベルとして使用するか否か.既定値は偽です.
15912 \end_layout
15913
15914 \begin_layout Description
15915 \begin_inset Flex Code
15916 status collapsed
15917
15918 \begin_layout Plain Layout
15919 CopyStyle
15920 \end_layout
15921
15922 \end_inset
15923
15924  [<型>] 段落様式と同様です.第
15925 \begin_inset CommandInset ref
15926 LatexCommand ref
15927 reference "subsec:段落様式"
15928
15929 \end_inset
15930
15931 節参照のこと.完全な型を指定する必要があることに注意してください.例:
15932 \begin_inset Flex Code
15933 status collapsed
15934
15935 \begin_layout Plain Layout
15936 CopyStyle Flex:<名称>
15937 \end_layout
15938
15939 \end_inset
15940
15941
15942 \end_layout
15943
15944 \begin_layout Description
15945 \begin_inset Flex Code
15946 status collapsed
15947
15948 \begin_layout Plain Layout
15949 CustomPars
15950 \end_layout
15951
15952 \end_inset
15953
15954  [
15955 \begin_inset Flex Code
15956 status collapsed
15957
15958 \begin_layout Plain Layout
15959
15960 \emph on
15961 0
15962 \end_layout
15963
15964 \end_inset
15965
15966 ,
15967 \begin_inset space \thinspace{}
15968 \end_inset
15969
15970
15971 \begin_inset Flex Code
15972 status collapsed
15973
15974 \begin_layout Plain Layout
15975 1
15976 \end_layout
15977
15978 \end_inset
15979
15980 ] 段落を設定するのに,段落設定ダイアログをユーザが使えるかどうかを指定します.
15981 \end_layout
15982
15983 \begin_layout Description
15984 \begin_inset Flex Code
15985 status collapsed
15986
15987 \begin_layout Plain Layout
15988 Decoration
15989 \end_layout
15990
15991 \end_inset
15992
15993  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
15994 \begin_inset Flex Code
15995 status collapsed
15996
15997 \begin_layout Plain Layout
15998 Classic
15999 \end_layout
16000
16001 \end_inset
16002
16003
16004 \begin_inset Flex Code
16005 status collapsed
16006
16007 \begin_layout Plain Layout
16008 Minimalistic
16009 \end_layout
16010
16011 \end_inset
16012
16013
16014 \begin_inset Flex Code
16015 status collapsed
16016
16017 \begin_layout Plain Layout
16018 Conglomerate
16019 \end_layout
16020
16021 \end_inset
16022
16023 のいずれかを指定することができます.脚註は通常
16024 \begin_inset Flex Code
16025 status collapsed
16026
16027 \begin_layout Plain Layout
16028 Classic
16029 \end_layout
16030
16031 \end_inset
16032
16033 を使用し,\SpecialChar TeX
16034 コード差込枠は通常
16035 \begin_inset Flex Code
16036 status collapsed
16037
16038 \begin_layout Plain Layout
16039 Minimalistic
16040 \end_layout
16041
16042 \end_inset
16043
16044 ,文字様式は
16045 \begin_inset Flex Code
16046 status collapsed
16047
16048 \begin_layout Plain Layout
16049 Conglomerate
16050 \end_layout
16051
16052 \end_inset
16053
16054 を使用します.
16055 \end_layout
16056
16057 \begin_layout Description
16058 \begin_inset Flex Code
16059 status collapsed
16060
16061 \begin_layout Plain Layout
16062 Display
16063 \end_layout
16064
16065 \end_inset
16066
16067  [
16068 \begin_inset Flex Code
16069 status collapsed
16070
16071 \begin_layout Plain Layout
16072 0
16073 \end_layout
16074
16075 \end_inset
16076
16077 ,
16078 \begin_inset space \thinspace{}
16079 \end_inset
16080
16081
16082 \begin_inset Flex Code
16083 status collapsed
16084
16085 \begin_layout Plain Layout
16086
16087 \emph on
16088 1
16089 \end_layout
16090
16091 \end_inset
16092
16093
16094 \begin_inset Flex Code
16095 status collapsed
16096
16097 \begin_layout Plain Layout
16098 LatexType
16099 \end_layout
16100
16101 \end_inset
16102
16103
16104 \begin_inset Flex Code
16105 status collapsed
16106
16107 \begin_layout Plain Layout
16108 Environment
16109 \end_layout
16110
16111 \end_inset
16112
16113 の時のみ意味をもちます.環境を,出力中で独立して出力させるか,周囲のテキストとインラインで出力させるかを示します.偽にすると,\SpecialChar LaTeX
16114 環境は,
16115 \begin_inset Flex Code
16116 status collapsed
16117
16118 \begin_layout Plain Layout
16119
16120 \backslash
16121 begin{LatexName}
16122 \end_layout
16123
16124 \end_inset
16125
16126 タグと
16127 \begin_inset Flex Code
16128 status collapsed
16129
16130 \begin_layout Plain Layout
16131
16132 \backslash
16133 end{LatexName}
16134 \end_layout
16135
16136 \end_inset
16137
16138 タグの後の空白(改行文字を含む)を無視するものと仮定します.
16139 \end_layout
16140
16141 \begin_layout Description
16142 \begin_inset Flex Code
16143 status collapsed
16144
16145 \begin_layout Plain Layout
16146 End
16147 \end_layout
16148
16149 \end_inset
16150
16151  
16152 \begin_inset Flex Code
16153 status collapsed
16154
16155 \begin_layout Plain Layout
16156 InsetLayout
16157 \end_layout
16158
16159 \end_inset
16160
16161 宣言を閉じるのに必要です.
16162 \end_layout
16163
16164 \begin_layout Description
16165 \begin_inset Flex Code
16166 status collapsed
16167
16168 \begin_layout Plain Layout
16169 Font
16170 \end_layout
16171
16172 \end_inset
16173
16174  本文本体とラベル
16175 \emph on
16176 両方に
16177 \emph default
16178 使用されるフォントです.第
16179 \begin_inset CommandInset ref
16180 LatexCommand ref
16181 reference "subsec:フォント指定"
16182
16183 \end_inset
16184
16185 節を参照.このフォントを定義すると自動的に
16186 \begin_inset Flex Code
16187 status collapsed
16188
16189 \begin_layout Plain Layout
16190 LabelFont
16191 \end_layout
16192
16193 \end_inset
16194
16195 も同じ値に定義されるので,これらを別々の値にしたいときは,これを先に定義してから後に
16196 \begin_inset Flex Code
16197 status collapsed
16198
16199 \begin_layout Plain Layout
16200 LabelFont
16201 \end_layout
16202
16203 \end_inset
16204
16205 を定義しなくてはならないことに注意してください.
16206 \end_layout
16207
16208 \begin_layout Description
16209 \begin_inset Flex Code
16210 status collapsed
16211
16212 \begin_layout Plain Layout
16213 FixedWidthPreambleEncoding
16214 \end_layout
16215
16216 \end_inset
16217
16218  [
16219 \begin_inset Flex Code
16220 status collapsed
16221
16222 \begin_layout Plain Layout
16223
16224 \emph on
16225 0
16226 \end_layout
16227
16228 \end_inset
16229
16230 ,
16231 \begin_inset space \thinspace{}
16232 \end_inset
16233
16234
16235 \begin_inset Flex Code
16236 status collapsed
16237
16238 \begin_layout Plain Layout
16239 1
16240 \end_layout
16241
16242 \end_inset
16243
16244 ] このレイアウトによって生成される
16245 \begin_inset Flex Code
16246 status collapsed
16247
16248 \begin_layout Plain Layout
16249 BabelPreamble
16250 \end_layout
16251
16252 \end_inset
16253
16254 および
16255 \begin_inset Flex Code
16256 status collapsed
16257
16258 \begin_layout Plain Layout
16259 LangPreamble
16260 \end_layout
16261
16262 \end_inset
16263
16264 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
16265 \family typewriter
16266 listings
16267 \family default
16268 のように,
16269 \family sans
16270 utf8
16271 \family default
16272 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
16273 パッケージのために必要です.この設定は,Xe\SpecialChar TeX
16274 やLua\SpecialChar TeX
16275 のようなUnicodeを完全に解する\SpecialChar LaTeX
16276 バックエンドを使用してい
16277 る場合には,無視されます.
16278 \end_layout
16279
16280 \begin_layout Description
16281 \begin_inset Flex Code
16282 status collapsed
16283
16284 \begin_layout Plain Layout
16285 ForceLocalFontSwitch
16286 \end_layout
16287
16288 \end_inset
16289
16290  [
16291 \begin_inset Flex Code
16292 status collapsed
16293
16294 \begin_layout Plain Layout
16295
16296 \emph on
16297 0
16298 \end_layout
16299
16300 \end_inset
16301
16302 ,
16303 \begin_inset space \thinspace{}
16304 \end_inset
16305
16306
16307 \begin_inset Flex Code
16308 status collapsed
16309
16310 \begin_layout Plain Layout
16311 1
16312 \end_layout
16313
16314 \end_inset
16315
16316 ] babel使用時に,常にローカルフォント切替(
16317 \begin_inset Flex Code
16318 status collapsed
16319
16320 \begin_layout Plain Layout
16321
16322 \backslash
16323 foreignlanguage
16324 \end_layout
16325
16326 \end_inset
16327
16328 )を使い,グローバル切替(
16329 \begin_inset Flex Code
16330 status collapsed
16331
16332 \begin_layout Plain Layout
16333
16334 \backslash
16335 selectlanguage
16336 \end_layout
16337
16338 \end_inset
16339
16340 など)は使わない.
16341 \end_layout
16342
16343 \begin_layout Description
16344 \begin_inset Flex Code
16345 status collapsed
16346
16347 \begin_layout Plain Layout
16348 ForceLTR
16349 \end_layout
16350
16351 \end_inset
16352
16353  [
16354 \begin_inset Flex Code
16355 status collapsed
16356
16357 \begin_layout Plain Layout
16358
16359 \emph on
16360 0
16361 \end_layout
16362
16363 \end_inset
16364
16365 ,
16366 \begin_inset space \thinspace{}
16367 \end_inset
16368
16369
16370 \begin_inset Flex Code
16371 status collapsed
16372
16373 \begin_layout Plain Layout
16374 1
16375 \end_layout
16376
16377 \end_inset
16378
16379 ] たとえば\SpecialChar TeX
16380 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
16381 \end_layout
16382
16383 \begin_layout Description
16384 \begin_inset Flex Code
16385 status collapsed
16386
16387 \begin_layout Plain Layout
16388 ForceOwnlines
16389 \end_layout
16390
16391 \end_inset
16392
16393  [
16394 \begin_inset Flex Code
16395 status collapsed
16396
16397 \begin_layout Plain Layout
16398
16399 \emph on
16400 0
16401 \end_layout
16402
16403 \end_inset
16404
16405 ,
16406 \begin_inset space \thinspace{}
16407 \end_inset
16408
16409
16410 \begin_inset Flex Code
16411 status collapsed
16412
16413 \begin_layout Plain Layout
16414 1
16415 \end_layout
16416
16417 \end_inset
16418
16419 ] \SpecialChar LaTeX
16420 出力において,この差込枠が開始する前と終了する後に,改行を強制します.これは,解析上の目的のために,差込枠が単独行に出力されるように保証します.
16421 \end_layout
16422
16423 \begin_layout Description
16424 \begin_inset Flex Code
16425 status collapsed
16426
16427 \begin_layout Plain Layout
16428 ForcePlain
16429 \end_layout
16430
16431 \end_inset
16432
16433  [
16434 \begin_inset Flex Code
16435 status collapsed
16436
16437 \begin_layout Plain Layout
16438
16439 \emph on
16440 0
16441 \end_layout
16442
16443 \end_inset
16444
16445 ,
16446 \begin_inset space \thinspace{}
16447 \end_inset
16448
16449
16450 \begin_inset Flex Code
16451 status collapsed
16452
16453 \begin_layout Plain Layout
16454 1
16455 \end_layout
16456
16457 \end_inset
16458
16459 ] PlainLayoutを使用するべきなのか,それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
16460 \end_layout
16461
16462 \begin_layout Description
16463 \begin_inset Flex Code
16464 status collapsed
16465
16466 \begin_layout Plain Layout
16467 FreeSpacing
16468 \end_layout
16469
16470 \end_inset
16471
16472  [
16473 \emph on
16474
16475 \begin_inset Flex Code
16476 status collapsed
16477
16478 \begin_layout Plain Layout
16479 0
16480 \end_layout
16481
16482 \end_inset
16483
16484
16485 \emph default
16486 ,
16487 \begin_inset space \thinspace{}
16488 \end_inset
16489
16490
16491 \begin_inset Flex Code
16492 status collapsed
16493
16494 \begin_layout Plain Layout
16495 1
16496 \end_layout
16497
16498 \end_inset
16499
16500 ] 段落様式と同様.第
16501 \begin_inset CommandInset ref
16502 LatexCommand ref
16503 reference "subsec:段落様式"
16504
16505 \end_inset
16506
16507 節参照.
16508 \end_layout
16509
16510 \begin_layout Description
16511 \begin_inset Flex Code
16512 status collapsed
16513
16514 \begin_layout Plain Layout
16515 HTML*
16516 \end_layout
16517
16518 \end_inset
16519
16520  これらは,XHTML出力で使用されます.第
16521 \begin_inset CommandInset ref
16522 LatexCommand ref
16523 reference "sec:XHTML出力のタグ"
16524
16525 \end_inset
16526
16527 節をご覧ください.
16528 \end_layout
16529
16530 \begin_layout Description
16531 \begin_inset Flex Code
16532 status collapsed
16533
16534 \begin_layout Plain Layout
16535 InToc
16536 \end_layout
16537
16538 \end_inset
16539
16540  [
16541 \begin_inset Flex Code
16542 status collapsed
16543
16544 \begin_layout Plain Layout
16545
16546 \emph on
16547 0
16548 \end_layout
16549
16550 \end_inset
16551
16552 ,
16553 \begin_inset space \thinspace{}
16554 \end_inset
16555
16556
16557 \begin_inset Flex Code
16558 status collapsed
16559
16560 \begin_layout Plain Layout
16561 1
16562 \end_layout
16563
16564 \end_inset
16565
16566 ] AddToTocの設定に関わらず,「文書構造」面用に出力される文字列に,この差込枠の内容を含めるかどうか.たとえば,節見出しの脚註の内容が,文書構造の目次に
16567 表示されることは望まないでしょうが,通常,文字様式の内容は表示されることを望むでしょう.既定値は偽,すなわち含めません.
16568 \end_layout
16569
16570 \begin_layout Description
16571 \begin_inset Flex Code
16572 status collapsed
16573
16574 \begin_layout Plain Layout
16575 IsTocCaption
16576 \end_layout
16577
16578 \end_inset
16579
16580  [
16581 \begin_inset Flex Code
16582 status collapsed
16583
16584 \begin_layout Plain Layout
16585
16586 \emph on
16587 0
16588 \end_layout
16589
16590 \end_inset
16591
16592 ,
16593 \begin_inset space \thinspace{}
16594 \end_inset
16595
16596
16597 \begin_inset Flex Code
16598 status collapsed
16599
16600 \begin_layout Plain Layout
16601 1
16602 \end_layout
16603
16604 \end_inset
16605
16606 ] AddToTocが有効なときに,これが1に設定されていると,差込枠の内容の要約が,目次項目に表示されます.0の場合は,ラベルのみが表示されます.
16607 \end_layout
16608
16609 \begin_layout Description
16610 \begin_inset Flex Code
16611 status collapsed
16612
16613 \begin_layout Plain Layout
16614 KeepEmpty
16615 \end_layout
16616
16617 \end_inset
16618
16619  [
16620 \emph on
16621
16622 \begin_inset Flex Code
16623 status collapsed
16624
16625 \begin_layout Plain Layout
16626 0
16627 \end_layout
16628
16629 \end_inset
16630
16631
16632 \emph default
16633 ,
16634 \begin_inset space \thinspace{}
16635 \end_inset
16636
16637
16638 \begin_inset Flex Code
16639 status collapsed
16640
16641 \begin_layout Plain Layout
16642 1
16643 \end_layout
16644
16645 \end_inset
16646
16647 ] 段落様式と同様.第
16648 \begin_inset CommandInset ref
16649 LatexCommand ref
16650 reference "subsec:段落様式"
16651
16652 \end_inset
16653
16654 節参照.
16655 \end_layout
16656
16657 \begin_layout Description
16658 \begin_inset Flex Code
16659 status collapsed
16660
16661 \begin_layout Plain Layout
16662 LabelFont
16663 \end_layout
16664
16665 \end_inset
16666
16667  ラベルに使用されるフォント.第
16668 \begin_inset CommandInset ref
16669 LatexCommand ref
16670 reference "subsec:フォント指定"
16671
16672 \end_inset
16673
16674 節を参照.非効率を回避するため,この定義は
16675 \begin_inset Flex Code
16676 status collapsed
16677
16678 \begin_layout Plain Layout
16679 Font
16680 \end_layout
16681
16682 \end_inset
16683
16684 の前には決して現れてはなりません.
16685 \end_layout
16686
16687 \begin_layout Description
16688 \begin_inset Flex Code
16689 status collapsed
16690
16691 \begin_layout Plain Layout
16692 LabelString
16693 \end_layout
16694
16695 \end_inset
16696
16697  [
16698 \begin_inset Flex Code
16699 status collapsed
16700
16701 \begin_layout Plain Layout
16702 文字列
16703 \end_layout
16704
16705 \end_inset
16706
16707 =
16708 \begin_inset Quotes erd
16709 \end_inset
16710
16711
16712 \begin_inset Quotes erd
16713 \end_inset
16714
16715 ]
16716 \lang english
16717  
16718 \lang japanese
16719 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
16720 コードや派生枝),ラベルが動的に変更されます.
16721 \end_layout
16722
16723 \begin_layout Description
16724 \begin_inset Flex Code
16725 status collapsed
16726
16727 \begin_layout Plain Layout
16728 LangPreamble
16729 \end_layout
16730
16731 \end_inset
16732
16733  言語依存のプリアンブル.第
16734 \begin_inset CommandInset ref
16735 LatexCommand ref
16736 reference "subsec:段落様式の国際化"
16737
16738 \end_inset
16739
16740 節参照.
16741 \end_layout
16742
16743 \begin_layout Description
16744 \begin_inset Flex Code
16745 status collapsed
16746
16747 \begin_layout Plain Layout
16748 LatexName
16749 \end_layout
16750
16751 \end_inset
16752
16753  [
16754 \begin_inset Flex Code
16755 status collapsed
16756
16757 \begin_layout Plain Layout
16758 <名称>
16759 \end_layout
16760
16761 \end_inset
16762
16763 ] 対応する\SpecialChar LaTeX
16764 関連物の名称.環境名ないしはコマンド名.
16765 \end_layout
16766
16767 \begin_layout Description
16768 \begin_inset Flex Code
16769 status collapsed
16770
16771 \begin_layout Plain Layout
16772 LatexParam
16773 \end_layout
16774
16775 \end_inset
16776
16777  [
16778 \begin_inset Flex Code
16779 status collapsed
16780
16781 \begin_layout Plain Layout
16782 <パラメータ>
16783 \end_layout
16784
16785 \end_inset
16786
16787 ]
16788 \lang english
16789  
16790 \lang japanese
16791 対応する
16792 \begin_inset Flex Code
16793 status collapsed
16794
16795 \begin_layout Plain Layout
16796 LatexName
16797 \end_layout
16798
16799 \end_inset
16800
16801 関連物の非必須パラメータ.
16802 \begin_inset Flex Code
16803 status collapsed
16804
16805 \begin_layout Plain Layout
16806 []
16807 \end_layout
16808
16809 \end_inset
16810
16811 のような括弧対を含む.このパラメータは\SpecialChar LyX
16812 内部から変更することはできません(変更可能なパラメータには
16813 \begin_inset Flex Code
16814 status collapsed
16815
16816 \begin_layout Plain Layout
16817 Argument
16818 \end_layout
16819
16820 \end_inset
16821
16822 を使用してください).これは,全ての\SpecialChar LaTeX
16823  
16824 \begin_inset Flex Code
16825 status collapsed
16826
16827 \begin_layout Plain Layout
16828 Argument
16829 \end_layout
16830
16831 \end_inset
16832
16833 の後にそのままの形で出力されます.
16834 \end_layout
16835
16836 \begin_layout Description
16837 \begin_inset Flex Code
16838 status collapsed
16839
16840 \begin_layout Plain Layout
16841 LatexType
16842 \end_layout
16843
16844 \end_inset
16845
16846  [
16847 \begin_inset Flex Code
16848 status collapsed
16849
16850 \begin_layout Plain Layout
16851 Command, Environment, None
16852 \end_layout
16853
16854 \end_inset
16855
16856 ] 様式がどのように\SpecialChar LaTeX
16857 に変換されるべきかを示します
16858 \begin_inset Foot
16859 status collapsed
16860
16861 \begin_layout Plain Layout
16862 これらのルールはSGMLクラスにも適用されるので,
16863 \begin_inset Flex Code
16864 status collapsed
16865
16866 \begin_layout Plain Layout
16867 LatexType
16868 \end_layout
16869
16870 \end_inset
16871
16872 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイルを見てください.
16873 \end_layout
16874
16875 \end_inset
16876
16877
16878 \end_layout
16879
16880 \begin_deeper
16881 \begin_layout Description
16882 \begin_inset Flex Code
16883 status collapsed
16884
16885 \begin_layout Plain Layout
16886 None
16887 \end_layout
16888
16889 \end_inset
16890
16891  は,何も特別なことは意味しません
16892 \end_layout
16893
16894 \begin_layout Description
16895 \begin_inset Flex Code
16896 status collapsed
16897
16898 \begin_layout Plain Layout
16899 Command
16900 \end_layout
16901
16902 \end_inset
16903
16904  は,
16905 \begin_inset Flex Code
16906 status collapsed
16907
16908 \begin_layout Plain Layout
16909
16910 \backslash
16911
16912 \emph on
16913 LatexName
16914 \emph default
16915 {\SpecialChar ldots
16916 }
16917 \end_layout
16918
16919 \end_inset
16920
16921 を意味します
16922 \end_layout
16923
16924 \begin_layout Description
16925 \begin_inset Flex Code
16926 status collapsed
16927
16928 \begin_layout Plain Layout
16929 Environment
16930 \end_layout
16931
16932 \end_inset
16933
16934  は,
16935 \begin_inset Flex Code
16936 status collapsed
16937
16938 \begin_layout Plain Layout
16939
16940 \backslash
16941 begin{
16942 \emph on
16943 LatexName
16944 \emph default
16945 }\SpecialChar ldots
16946
16947 \backslash
16948 end{
16949 \emph on
16950 LatexName
16951 \emph default
16952 }
16953 \end_layout
16954
16955 \end_inset
16956
16957 を意味します
16958 \end_layout
16959
16960 \begin_layout Standard
16961 上記最後のいくつかをまとめると,\SpecialChar LaTeX
16962 出力は,\SpecialChar LaTeX
16963 型に依存して
16964 \end_layout
16965
16966 \begin_layout LyX-Code
16967
16968 \backslash
16969 LatexName[LatexParam]{\SpecialChar ldots
16970 }
16971 \end_layout
16972
16973 \begin_layout Standard
16974 のようになるか,
16975 \end_layout
16976
16977 \begin_layout LyX-Code
16978
16979 \backslash
16980 begin{LatexName}[LatexParam] \SpecialChar ldots
16981  
16982 \backslash
16983 end{LatexName}.
16984 \end_layout
16985
16986 \begin_layout Standard
16987 となります.
16988 \end_layout
16989
16990 \end_deeper
16991 \begin_layout Description
16992 \begin_inset Flex Code
16993 status collapsed
16994
16995 \begin_layout Plain Layout
16996 LeftDelim
16997 \end_layout
16998
16999 \end_inset
17000
17001  [
17002 \begin_inset Flex Code
17003 status collapsed
17004
17005 \begin_layout Plain Layout
17006 文字列
17007 \end_layout
17008
17009 \end_inset
17010
17011 ] 様式の内容の最初に置かれる文字列.出力中の改行は
17012 \begin_inset Flex Code
17013 status collapsed
17014
17015 \begin_layout Plain Layout
17016 <br/>
17017 \end_layout
17018
17019 \end_inset
17020
17021 で指示できます.
17022 \end_layout
17023
17024 \begin_layout Description
17025 \begin_inset Flex Code
17026 status collapsed
17027
17028 \begin_layout Plain Layout
17029 LyxType
17030 \end_layout
17031
17032 \end_inset
17033
17034  
17035 \begin_inset Flex Code
17036 status collapsed
17037
17038 \begin_layout Plain Layout
17039 charstyle
17040 \end_layout
17041
17042 \end_inset
17043
17044
17045 \begin_inset Flex Code
17046 status collapsed
17047
17048 \begin_layout Plain Layout
17049 custom
17050 \end_layout
17051
17052 \end_inset
17053
17054
17055 \begin_inset Flex Code
17056 status collapsed
17057
17058 \begin_layout Plain Layout
17059 element
17060 \end_layout
17061
17062 \end_inset
17063
17064
17065 \begin_inset Flex Code
17066 status collapsed
17067
17068 \begin_layout Plain Layout
17069 end
17070 \end_layout
17071
17072 \end_inset
17073
17074 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,自由差込枠に必須であり,かつ自由差込枠でしか意味を持ちません.こ
17075 の項目は,就中,差込枠がどのメニューに表示されるかを決定します.
17076 \begin_inset Flex Code
17077 status collapsed
17078
17079 \begin_layout Plain Layout
17080 LyxType
17081 \end_layout
17082
17083 \end_inset
17084
17085
17086 \begin_inset Flex Code
17087 status collapsed
17088
17089 \begin_layout Plain Layout
17090 charstyle
17091 \end_layout
17092
17093 \end_inset
17094
17095 に設定すると,
17096 \begin_inset Flex Code
17097 status collapsed
17098
17099 \begin_layout Plain Layout
17100 MultiPar
17101 \end_layout
17102
17103 \end_inset
17104
17105 が偽に設定されます
17106 \lang english
17107  and 
17108 \lang japanese
17109
17110 \begin_inset Flex Code
17111 status collapsed
17112
17113 \begin_layout Plain Layout
17114 ForcePlain
17115 \end_layout
17116
17117 \end_inset
17118
17119
17120 \lang english
17121  to true
17122 \lang japanese
17123 .文字様式差込枠で
17124 \begin_inset Flex Code
17125 status collapsed
17126
17127 \begin_layout Plain Layout
17128 MultiPar
17129 \end_layout
17130
17131 \end_inset
17132
17133 を真にしたい時には
17134 \lang english
17135 , or 
17136 \lang japanese
17137
17138 \begin_inset Flex Code
17139 status collapsed
17140
17141 \begin_layout Plain Layout
17142 ForcePlain
17143 \end_layout
17144
17145 \end_inset
17146
17147
17148 \lang english
17149  to false
17150 \lang japanese
17151
17152 \begin_inset Flex Code
17153 status collapsed
17154
17155 \begin_layout Plain Layout
17156 LyxType
17157 \end_layout
17158
17159 \end_inset
17160
17161 を設定した
17162 \emph on
17163 後に
17164 \emph default
17165 設定すれば,真に設定することができます.
17166 \end_layout
17167
17168 \begin_layout Description
17169 \begin_inset Flex Code
17170 status collapsed
17171
17172 \begin_layout Plain Layout
17173 MultiPar
17174 \end_layout
17175
17176 \end_inset
17177
17178  [
17179 \begin_inset Flex Code
17180 status collapsed
17181
17182 \begin_layout Plain Layout
17183
17184 \emph on
17185 0
17186 \end_layout
17187
17188 \end_inset
17189
17190 ,
17191 \begin_inset space \thinspace{}
17192 \end_inset
17193
17194
17195 \begin_inset Flex Code
17196 status collapsed
17197
17198 \begin_layout Plain Layout
17199 1
17200 \end_layout
17201
17202 \end_inset
17203
17204 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
17205 \begin_inset Flex Code
17206 status collapsed
17207
17208 \begin_layout Plain Layout
17209 CustomPars
17210 \end_layout
17211
17212 \end_inset
17213
17214 を同じ値に設定し,
17215 \begin_inset Flex Code
17216 status collapsed
17217
17218 \begin_layout Plain Layout
17219 ForcePlain
17220 \end_layout
17221
17222 \end_inset
17223
17224 を逆の値に設定します.これらは,
17225 \begin_inset Flex Code
17226 status collapsed
17227
17228 \begin_layout Plain Layout
17229 MultiPar
17230 \end_layout
17231
17232 \end_inset
17233
17234
17235 \emph on
17236 後に
17237 \emph default
17238 指定されれば,他の値に指定し直すことができます.既定値は真です.
17239 \end_layout
17240
17241 \begin_layout Description
17242 \begin_inset Flex Code
17243 status collapsed
17244
17245 \begin_layout Plain Layout
17246 NeedProtect
17247 \end_layout
17248
17249 \end_inset
17250
17251  [
17252 \begin_inset Flex Code
17253 status collapsed
17254
17255 \begin_layout Plain Layout
17256
17257 \emph on
17258 0
17259 \end_layout
17260
17261 \end_inset
17262
17263 ,
17264 \begin_inset space \thinspace{}
17265 \end_inset
17266
17267
17268 \begin_inset Flex Code
17269 status collapsed
17270
17271 \begin_layout Plain Layout
17272 1
17273 \end_layout
17274
17275 \end_inset
17276
17277 ] 本レイアウト中で脆弱なコマンドを
17278 \begin_inset Flex Code
17279 status collapsed
17280
17281 \begin_layout Plain Layout
17282
17283 \backslash
17284 protect
17285 \end_layout
17286
17287 \end_inset
17288
17289 するか否か(註:当該コマンド自身をprotectするかどうかでは
17290 \emph on
17291 ありません
17292 \emph default
17293 ).既定値は偽です.
17294 \end_layout
17295
17296 \begin_layout Description
17297 \begin_inset Flex Code
17298 status collapsed
17299
17300 \begin_layout Plain Layout
17301 NoInsetLayout
17302 \end_layout
17303
17304 \end_inset
17305
17306  [
17307 \begin_inset Flex Code
17308 status collapsed
17309
17310 \begin_layout Plain Layout
17311 <レイアウト>
17312 \end_layout
17313
17314 \end_inset
17315
17316 ] 既存の
17317 \begin_inset Flex Code
17318 status collapsed
17319
17320 \begin_layout Plain Layout
17321 InsetLayout
17322 \end_layout
17323
17324 \end_inset
17325
17326 を削除します.
17327 \end_layout
17328
17329 \begin_layout Description
17330 \begin_inset Flex Code
17331 status collapsed
17332
17333 \begin_layout Plain Layout
17334 ObsoletedBy
17335 \end_layout
17336
17337 \end_inset
17338
17339  [
17340 \begin_inset Flex Code
17341 status collapsed
17342
17343 \begin_layout Plain Layout
17344 <レイアウト>
17345 \end_layout
17346
17347 \end_inset
17348
17349 ] この古い
17350 \begin_inset Flex Code
17351 status collapsed
17352
17353 \begin_layout Plain Layout
17354 InsetLayout
17355 \end_layout
17356
17357 \end_inset
17358
17359 を引き継いだ
17360 \begin_inset Flex Code
17361 status collapsed
17362
17363 \begin_layout Plain Layout
17364 InsetLayout
17365 \end_layout
17366
17367 \end_inset
17368
17369 の名称.これは,
17370 \begin_inset Flex Code
17371 status collapsed
17372
17373 \begin_layout Plain Layout
17374 InsetLayout
17375 \end_layout
17376
17377 \end_inset
17378
17379 の改名を,後方互換性を維持しながら行うために用いられます.
17380 \end_layout
17381
17382 \begin_layout Description
17383 \begin_inset Flex Code
17384 status collapsed
17385
17386 \begin_layout Plain Layout
17387 ParbreakIsNewline
17388 \end_layout
17389
17390 \end_inset
17391
17392  [
17393 \begin_inset Flex Code
17394 status collapsed
17395
17396 \begin_layout Plain Layout
17397
17398 \emph on
17399 0
17400 \end_layout
17401
17402 \end_inset
17403
17404 ,
17405 \begin_inset space \thinspace{}
17406 \end_inset
17407
17408
17409 \begin_inset Flex Code
17410 status collapsed
17411
17412 \begin_layout Plain Layout
17413 1
17414 \end_layout
17415
17416 \end_inset
17417
17418 ] 段落様式と同様.第
17419 \begin_inset CommandInset ref
17420 LatexCommand ref
17421 reference "subsec:段落様式"
17422
17423 \end_inset
17424
17425 節参照.
17426 \end_layout
17427
17428 \begin_layout Description
17429 \begin_inset Flex Code
17430 status collapsed
17431
17432 \begin_layout Plain Layout
17433 PassThru
17434 \end_layout
17435
17436 \end_inset
17437
17438  [
17439 \emph on
17440
17441 \begin_inset Flex Code
17442 status collapsed
17443
17444 \begin_layout Plain Layout
17445 0
17446 \end_layout
17447
17448 \end_inset
17449
17450
17451 \emph default
17452 ,
17453 \begin_inset space \thinspace{}
17454 \end_inset
17455
17456
17457 \begin_inset Flex Code
17458 status collapsed
17459
17460 \begin_layout Plain Layout
17461 1
17462 \end_layout
17463
17464 \end_inset
17465
17466 ] 段落様式と同様.第
17467 \begin_inset CommandInset ref
17468 LatexCommand ref
17469 reference "subsec:段落様式"
17470
17471 \end_inset
17472
17473 節参照.
17474 \end_layout
17475
17476 \begin_layout Description
17477 \begin_inset Flex Code
17478 status collapsed
17479
17480 \begin_layout Plain Layout
17481 Preamble
17482 \end_layout
17483
17484 \end_inset
17485
17486  段落様式と同様.第
17487 \begin_inset CommandInset ref
17488 LatexCommand ref
17489 reference "subsec:段落様式"
17490
17491 \end_inset
17492
17493 節参照.
17494 \end_layout
17495
17496 \begin_layout Description
17497 \begin_inset Flex Code
17498 status collapsed
17499
17500 \begin_layout Plain Layout
17501 RefPrefix
17502 \end_layout
17503
17504 \end_inset
17505
17506  [
17507 \begin_inset Flex Code
17508 status collapsed
17509
17510 \begin_layout Plain Layout
17511 文字列
17512 \end_layout
17513
17514 \end_inset
17515
17516 ] この型の差込枠を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
17517 \end_layout
17518
17519 \begin_layout Description
17520 \begin_inset Flex Code
17521 status collapsed
17522
17523 \begin_layout Plain Layout
17524 Requires
17525 \end_layout
17526
17527 \end_inset
17528
17529  [
17530 \begin_inset Flex Code
17531 status collapsed
17532
17533 \begin_layout Plain Layout
17534 文字列
17535 \end_layout
17536
17537 \end_inset
17538
17539 ] 段落様式と同様.第
17540 \begin_inset CommandInset ref
17541 LatexCommand ref
17542 reference "subsec:段落様式"
17543
17544 \end_inset
17545
17546 節参照.
17547 \end_layout
17548
17549 \begin_layout Description
17550 \begin_inset Flex Code
17551 status collapsed
17552
17553 \begin_layout Plain Layout
17554 ResetArgs
17555 \end_layout
17556
17557 \end_inset
17558
17559  [
17560 \begin_inset Flex Code
17561 status collapsed
17562
17563 \begin_layout Plain Layout
17564
17565 \emph on
17566 0
17567 \end_layout
17568
17569 \end_inset
17570
17571 ,
17572 \begin_inset space \thinspace{}
17573 \end_inset
17574
17575
17576 \begin_inset Flex Code
17577 status collapsed
17578
17579 \begin_layout Plain Layout
17580 1
17581 \end_layout
17582
17583 \end_inset
17584
17585 ] (
17586 \begin_inset Flex Code
17587 status collapsed
17588
17589 \begin_layout Plain Layout
17590 Argument
17591 \end_layout
17592
17593 \end_inset
17594
17595 タグで定義された)この様式の\SpecialChar LaTeX
17596 引数をリセットします.これは,様式を
17597 \begin_inset Flex Code
17598 status collapsed
17599
17600 \begin_layout Plain Layout
17601 CopyStyle
17602 \end_layout
17603
17604 \end_inset
17605
17606 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
17607 \end_layout
17608
17609 \begin_layout Description
17610 \begin_inset Flex Code
17611 status collapsed
17612
17613 \begin_layout Plain Layout
17614 ResetsFont
17615 \end_layout
17616
17617 \end_inset
17618
17619  [
17620 \begin_inset Flex Code
17621 status collapsed
17622
17623 \begin_layout Plain Layout
17624 0
17625 \end_layout
17626
17627 \end_inset
17628
17629 ,
17630 \begin_inset space \thinspace{}
17631 \end_inset
17632
17633
17634 \begin_inset Flex Code
17635 status collapsed
17636
17637 \begin_layout Plain Layout
17638
17639 \emph on
17640 1
17641 \end_layout
17642
17643 \end_inset
17644
17645 ] この差込枠が周囲の環境と同じフォントを用いるか,独自のフォントを用いるか.既定値は真,すなわち独自のフォントを用います.
17646 \begin_inset Note Note
17647 status open
17648
17649 \begin_layout Plain Layout
17650 This is outdated: The default changed from 1 to 0
17651 \end_layout
17652
17653 \end_inset
17654
17655
17656 \end_layout
17657
17658 \begin_layout Description
17659 \begin_inset Flex Code
17660 status collapsed
17661
17662 \begin_layout Plain Layout
17663 RightDelim
17664 \end_layout
17665
17666 \end_inset
17667
17668  [
17669 \begin_inset Flex Code
17670 status collapsed
17671
17672 \begin_layout Plain Layout
17673 文字列
17674 \end_layout
17675
17676 \end_inset
17677
17678 ] 様式の内容の最後に置かれる文字列.出力中の改行は
17679 \begin_inset Flex Code
17680 status collapsed
17681
17682 \begin_layout Plain Layout
17683 <br/>
17684 \end_layout
17685
17686 \end_inset
17687
17688 で指示できます.
17689 \end_layout
17690
17691 \begin_layout Description
17692 \begin_inset Flex Code
17693 status collapsed
17694
17695 \begin_layout Plain Layout
17696 Spellcheck
17697 \end_layout
17698
17699 \end_inset
17700
17701  [
17702 \begin_inset Flex Code
17703 status collapsed
17704
17705 \begin_layout Plain Layout
17706 0
17707 \end_layout
17708
17709 \end_inset
17710
17711 ,
17712 \begin_inset space \thinspace{}
17713 \end_inset
17714
17715
17716 \begin_inset Flex Code
17717 status collapsed
17718
17719 \begin_layout Plain Layout
17720
17721 \emph on
17722 1
17723 \end_layout
17724
17725 \end_inset
17726
17727 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
17728 \end_layout
17729
17730 \begin_layout Subsection
17731 カウンタ
17732 \begin_inset CommandInset label
17733 LatexCommand label
17734 name "subsec:カウンタ"
17735
17736 \end_inset
17737
17738
17739 \end_layout
17740
17741 \begin_layout Standard
17742 テキストクラスには,カウンタ(
17743 \begin_inset Flex MenuItem
17744 status collapsed
17745
17746 \begin_layout Plain Layout
17747 chapter
17748 \end_layout
17749
17750 \end_inset
17751
17752
17753 \begin_inset Flex MenuItem
17754 status collapsed
17755
17756 \begin_layout Plain Layout
17757 figure
17758 \end_layout
17759
17760 \end_inset
17761
17762 ・\SpecialChar ldots
17763 )を定義することが必要です.標準的なカウンタは
17764 \begin_inset Flex Code
17765 status collapsed
17766
17767 \begin_layout Plain Layout
17768 stdcounters.inc
17769 \end_layout
17770
17771 \end_inset
17772
17773 ファイルに含まれているので,作業中のレイアウトファイルに
17774 \end_layout
17775
17776 \begin_layout LyX-Code
17777 Input stdcounters.inc
17778 \end_layout
17779
17780 \begin_layout Standard
17781 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,そうすることもできます.カウンタ宣言は,
17782 \end_layout
17783
17784 \begin_layout LyX-Code
17785 Counter カウンタ名
17786 \end_layout
17787
17788 \begin_layout Standard
17789 で始まらなくてはなりません.ここで「
17790 \begin_inset Flex Code
17791 status collapsed
17792
17793 \begin_layout Plain Layout
17794 カウンタ名
17795 \end_layout
17796
17797 \end_inset
17798
17799 」は,実際のカウンタ名で置き換えます.また,宣言は「
17800 \begin_inset Flex Code
17801 status collapsed
17802
17803 \begin_layout Plain Layout
17804 End
17805 \end_layout
17806
17807 \end_inset
17808
17809 」で終わらなくてはなりません.
17810 \end_layout
17811
17812 \begin_layout Standard
17813 以下のパラメータを使用することができます.
17814 \end_layout
17815
17816 \begin_layout Description
17817 \begin_inset Flex Code
17818 status collapsed
17819
17820 \begin_layout Plain Layout
17821 InitialValue
17822 \end_layout
17823
17824 \end_inset
17825
17826  [
17827 \begin_inset Flex Code
17828 status collapsed
17829
17830 \begin_layout Plain Layout
17831 整数=1
17832 \end_layout
17833
17834 \end_inset
17835
17836 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,既定値1のままで充分でしょう.
17837 \end_layout
17838
17839 \begin_layout Description
17840 \begin_inset Flex Code
17841 status collapsed
17842
17843 \begin_layout Plain Layout
17844 LabelString [文字列=""]
17845 \end_layout
17846
17847 \end_inset
17848
17849  定義されていると,ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
17850 \begin_inset Flex Code
17851 status collapsed
17852
17853 \begin_layout Plain Layout
17854 LabelStringAppendix
17855 \end_layout
17856
17857 \end_inset
17858
17859 も同じ値に設定されます.文字列中では,以下の構成要素を使用することができます.
17860 \end_layout
17861
17862 \begin_deeper
17863 \begin_layout Itemize
17864 \begin_inset Flex Code
17865 status collapsed
17866
17867 \begin_layout Plain Layout
17868
17869 \backslash
17870 thecounter
17871 \end_layout
17872
17873 \end_inset
17874
17875 は,カウンタ
17876 \begin_inset Flex Code
17877 status collapsed
17878
17879 \begin_layout Plain Layout
17880 counter
17881 \end_layout
17882
17883 \end_inset
17884
17885
17886 \begin_inset Flex Code
17887 status collapsed
17888
17889 \begin_layout Plain Layout
17890 LabelString
17891 \end_layout
17892
17893 \end_inset
17894
17895 (または
17896 \begin_inset Newline linebreak
17897 \end_inset
17898
17899
17900 \begin_inset Flex Code
17901 status collapsed
17902
17903 \begin_layout Plain Layout
17904 LabelStringAppendix
17905 \end_layout
17906
17907 \end_inset
17908
17909 )を展開したもので置き換えられます. 
17910 \end_layout
17911
17912 \begin_layout Itemize
17913 カウンタ値は,\SpecialChar LaTeX
17914 型マクロ
17915 \begin_inset Flex Code
17916 status collapsed
17917
17918 \begin_layout Plain Layout
17919
17920 \backslash
17921
17922 \emph on
17923 numbertype
17924 \emph default
17925 {
17926 \emph on
17927 カウンタ
17928 \emph default
17929 }
17930 \end_layout
17931
17932 \end_inset
17933
17934 を用いて表現することができます.ここで
17935 \begin_inset Flex Code
17936 status collapsed
17937
17938 \begin_layout Plain Layout
17939
17940 \emph on
17941 numbertype
17942 \end_layout
17943
17944 \end_inset
17945
17946 は以下のいずれかです.
17947 \begin_inset Flex Code
17948 status collapsed
17949
17950 \begin_layout Plain Layout
17951 arabic
17952 \end_layout
17953
17954 \end_inset
17955
17956 :1, 2, 3,\SpecialChar ldots
17957
17958 \begin_inset Flex Code
17959 status collapsed
17960
17961 \begin_layout Plain Layout
17962 alph
17963 \end_layout
17964
17965 \end_inset
17966
17967 :a, b, c, \SpecialChar ldots
17968 (小文字);
17969 \begin_inset Flex Code
17970 status collapsed
17971
17972 \begin_layout Plain Layout
17973 Alph
17974 \end_layout
17975
17976 \end_inset
17977
17978 :A, B, C, \SpecialChar ldots
17979 (大文字);
17980 \begin_inset Flex Code
17981 status collapsed
17982
17983 \begin_layout Plain Layout
17984 roman
17985 \end_layout
17986
17987 \end_inset
17988
17989 :i, ii, iii, \SpecialChar ldots
17990 (小文字ローマ数字);
17991 \begin_inset Flex Code
17992 status collapsed
17993
17994 \begin_layout Plain Layout
17995 Roman
17996 \end_layout
17997
17998 \end_inset
17999
18000 :I, II, III\SpecialChar ldots
18001 (大文字ローマ数字).
18002 \end_layout
18003
18004 \end_deeper
18005 \begin_layout Standard
18006 \begin_inset Flex Code
18007 status collapsed
18008
18009 \begin_layout Plain Layout
18010 LabelString
18011 \end_layout
18012
18013 \end_inset
18014
18015 が定義されていないときは,既定値は以下のように組み立てられます.このカウンタに親カウンタ
18016 \begin_inset Flex Code
18017 status collapsed
18018
18019 \begin_layout Plain Layout
18020 master
18021 \end_layout
18022
18023 \end_inset
18024
18025
18026 \begin_inset Flex Code
18027 status collapsed
18028
18029 \begin_layout Plain Layout
18030 Within
18031 \end_layout
18032
18033 \end_inset
18034
18035 で定義)があるときには,文字列
18036 \begin_inset Newline linebreak
18037 \end_inset
18038
18039
18040 \begin_inset Flex Code
18041 status collapsed
18042
18043 \begin_layout Plain Layout
18044
18045 \backslash
18046 themaster.
18047 \backslash
18048 arabic{カウンタ}
18049 \end_layout
18050
18051 \end_inset
18052
18053 が使用されます.それ以外の場合は,
18054 \begin_inset Flex Code
18055 status collapsed
18056
18057 \begin_layout Plain Layout
18058
18059 \backslash
18060 arabic{カウンタ}
18061 \end_layout
18062
18063 \end_inset
18064
18065 が使用されます.
18066 \end_layout
18067
18068 \begin_layout Description
18069 \begin_inset Flex Code
18070 status collapsed
18071
18072 \begin_layout Plain Layout
18073 LabelStringAppendix
18074 \end_layout
18075
18076 \end_inset
18077
18078  [
18079 \begin_inset Flex Code
18080 status collapsed
18081
18082 \begin_layout Plain Layout
18083 文字列
18084 \end_layout
18085
18086 \end_inset
18087
18088 =""] 
18089 \begin_inset Flex Code
18090 status collapsed
18091
18092 \begin_layout Plain Layout
18093 LabelString
18094 \end_layout
18095
18096 \end_inset
18097
18098 と同様ですが,付録で使用するためのものです.
18099 \end_layout
18100
18101 \begin_layout Description
18102 \begin_inset Flex Code
18103 status collapsed
18104
18105 \begin_layout Plain Layout
18106 PrettyFormat
18107 \end_layout
18108
18109 \end_inset
18110
18111  [
18112 \begin_inset Flex Code
18113 status collapsed
18114
18115 \begin_layout Plain Layout
18116 文字列
18117 \end_layout
18118
18119 \end_inset
18120
18121 =
18122 \begin_inset Quotes erd
18123 \end_inset
18124
18125
18126 \begin_inset Quotes erd
18127 \end_inset
18128
18129 ] このカウンタの整形参照で使用する書式.たとえば,節番号への参照を「Section
18130 \begin_inset space ~
18131 \end_inset
18132
18133 2.4」のように表示させたい場合には,文字列に「##」を含めます.これは,カウンタ番号で置換されます.したがって,節の場合には「Section ##」のようにしま
18134 す.
18135 \end_layout
18136
18137 \begin_layout Description
18138 \begin_inset Flex Code
18139 status collapsed
18140
18141 \begin_layout Plain Layout
18142 Within
18143 \end_layout
18144
18145 \end_inset
18146
18147  [
18148 \begin_inset Flex Code
18149 status collapsed
18150
18151 \begin_layout Plain Layout
18152 文字列
18153 \end_layout
18154
18155 \end_inset
18156
18157 =
18158 \begin_inset Quotes erd
18159 \end_inset
18160
18161
18162 \begin_inset Quotes erd
18163 \end_inset
18164
18165 ] これを別のカウンタ名に設定すると,現在のカウンタは,別のカウンタが増加する毎にリセットされます.たとえば,
18166 \begin_inset Flex Code
18167 status collapsed
18168
18169 \begin_layout Plain Layout
18170 subsection
18171 \end_layout
18172
18173 \end_inset
18174
18175
18176 \begin_inset Flex Code
18177 status collapsed
18178
18179 \begin_layout Plain Layout
18180 section
18181 \end_layout
18182
18183 \end_inset
18184
18185 毎に番号がリセットされます.
18186 \end_layout
18187
18188 \begin_layout Subsection
18189 フォント指定
18190 \begin_inset CommandInset label
18191 LatexCommand label
18192 name "subsec:フォント指定"
18193
18194 \end_inset
18195
18196
18197 \end_layout
18198
18199 \begin_layout Standard
18200 フォント指定は,以下のような形を取ります.
18201 \end_layout
18202
18203 \begin_layout LyX-Code
18204 Font 
18205 \family roman
18206 \emph on
18207 または
18208 \family default
18209 \emph default
18210  LabelFont 
18211 \family roman
18212 \emph on
18213 または
18214 \family default
18215 \emph default
18216  DefaultFont
18217 \end_layout
18218
18219 \begin_layout LyX-Code
18220  ...
18221 \end_layout
18222
18223 \begin_layout LyX-Code
18224 EndFont
18225 \end_layout
18226
18227 \begin_layout Standard
18228 以下のコマンドを使用することができます.
18229 \end_layout
18230
18231 \begin_layout Description
18232 \begin_inset Flex Code
18233 status collapsed
18234
18235 \begin_layout Plain Layout
18236 Color
18237 \end_layout
18238
18239 \end_inset
18240
18241  [
18242 \begin_inset Flex Code
18243 status collapsed
18244
18245 \begin_layout Plain Layout
18246
18247 \emph on
18248 none
18249 \end_layout
18250
18251 \end_inset
18252
18253
18254 \begin_inset Flex Code
18255 status collapsed
18256
18257 \begin_layout Plain Layout
18258 black
18259 \end_layout
18260
18261 \end_inset
18262
18263
18264 \begin_inset Flex Code
18265 status collapsed
18266
18267 \begin_layout Plain Layout
18268 white
18269 \end_layout
18270
18271 \end_inset
18272
18273
18274 \begin_inset Flex Code
18275 status collapsed
18276
18277 \begin_layout Plain Layout
18278 red
18279 \end_layout
18280
18281 \end_inset
18282
18283
18284 \begin_inset Flex Code
18285 status collapsed
18286
18287 \begin_layout Plain Layout
18288 green
18289 \end_layout
18290
18291 \end_inset
18292
18293
18294 \begin_inset Flex Code
18295 status collapsed
18296
18297 \begin_layout Plain Layout
18298 blue
18299 \end_layout
18300
18301 \end_inset
18302
18303
18304 \begin_inset Flex Code
18305 status collapsed
18306
18307 \begin_layout Plain Layout
18308 cyan
18309 \end_layout
18310
18311 \end_inset
18312
18313
18314 \begin_inset Flex Code
18315 status collapsed
18316
18317 \begin_layout Plain Layout
18318 magenta
18319 \end_layout
18320
18321 \end_inset
18322
18323
18324 \begin_inset Flex Code
18325 status collapsed
18326
18327 \begin_layout Plain Layout
18328 yellow
18329 \end_layout
18330
18331 \end_inset
18332
18333
18334 \begin_inset Flex Code
18335 status collapsed
18336
18337 \begin_layout Plain Layout
18338 brown
18339 \end_layout
18340
18341 \end_inset
18342
18343
18344 \begin_inset Flex Code
18345 status collapsed
18346
18347 \begin_layout Plain Layout
18348 darkgray
18349 \end_layout
18350
18351 \end_inset
18352
18353
18354 \begin_inset Flex Code
18355 status collapsed
18356
18357 \begin_layout Plain Layout
18358 gray
18359 \end_layout
18360
18361 \end_inset
18362
18363
18364 \begin_inset Flex Code
18365 status collapsed
18366
18367 \begin_layout Plain Layout
18368 lightgray
18369 \end_layout
18370
18371 \end_inset
18372
18373
18374 \begin_inset Flex Code
18375 status collapsed
18376
18377 \begin_layout Plain Layout
18378 lime
18379 \end_layout
18380
18381 \end_inset
18382
18383
18384 \begin_inset Flex Code
18385 status collapsed
18386
18387 \begin_layout Plain Layout
18388 orange
18389 \end_layout
18390
18391 \end_inset
18392
18393
18394 \begin_inset Flex Code
18395 status collapsed
18396
18397 \begin_layout Plain Layout
18398 olive
18399 \end_layout
18400
18401 \end_inset
18402
18403
18404 \begin_inset Flex Code
18405 status collapsed
18406
18407 \begin_layout Plain Layout
18408 pink
18409 \end_layout
18410
18411 \end_inset
18412
18413
18414 \begin_inset Flex Code
18415 status collapsed
18416
18417 \begin_layout Plain Layout
18418 purple
18419 \end_layout
18420
18421 \end_inset
18422
18423
18424 \begin_inset Flex Code
18425 status collapsed
18426
18427 \begin_layout Plain Layout
18428 teal
18429 \end_layout
18430
18431 \end_inset
18432
18433
18434 \begin_inset Flex Code
18435 status collapsed
18436
18437 \begin_layout Plain Layout
18438 violet
18439 \end_layout
18440
18441 \end_inset
18442
18443 ]
18444 \end_layout
18445
18446 \begin_layout Description
18447 \begin_inset Flex Code
18448 status collapsed
18449
18450 \begin_layout Plain Layout
18451 Family
18452 \end_layout
18453
18454 \end_inset
18455
18456  [
18457 \emph on
18458
18459 \begin_inset Flex Code
18460 status collapsed
18461
18462 \begin_layout Plain Layout
18463 Roman
18464 \end_layout
18465
18466 \end_inset
18467
18468
18469 \emph default
18470
18471 \begin_inset Flex Code
18472 status collapsed
18473
18474 \begin_layout Plain Layout
18475 Sans
18476 \end_layout
18477
18478 \end_inset
18479
18480
18481 \begin_inset Flex Code
18482 status collapsed
18483
18484 \begin_layout Plain Layout
18485 Typewriter
18486 \end_layout
18487
18488 \end_inset
18489
18490
18491 \end_layout
18492
18493 \begin_layout Description
18494 \begin_inset Flex Code
18495 status collapsed
18496
18497 \begin_layout Plain Layout
18498 Misc
18499 \end_layout
18500
18501 \end_inset
18502
18503  [
18504 \begin_inset Flex Code
18505 status collapsed
18506
18507 \begin_layout Plain Layout
18508 文字列
18509 \end_layout
18510
18511 \end_inset
18512
18513 ] 有効な引数は,
18514 \begin_inset Flex Code
18515 status collapsed
18516
18517 \begin_layout Plain Layout
18518 emph
18519 \end_layout
18520
18521 \end_inset
18522
18523
18524 \begin_inset Flex Code
18525 status collapsed
18526
18527 \begin_layout Plain Layout
18528 noun
18529 \end_layout
18530
18531 \end_inset
18532
18533
18534 \begin_inset Flex Code
18535 status collapsed
18536
18537 \begin_layout Plain Layout
18538 strikeout
18539 \end_layout
18540
18541 \end_inset
18542
18543
18544 \begin_inset Flex Code
18545 status collapsed
18546
18547 \begin_layout Plain Layout
18548 underbar
18549 \end_layout
18550
18551 \end_inset
18552
18553
18554 \begin_inset Flex Code
18555 status collapsed
18556
18557 \begin_layout Plain Layout
18558 uuline
18559 \end_layout
18560
18561 \end_inset
18562
18563
18564 \begin_inset Flex Code
18565 status collapsed
18566
18567 \begin_layout Plain Layout
18568 uwave
18569 \end_layout
18570
18571 \end_inset
18572
18573
18574 \begin_inset Flex Code
18575 status collapsed
18576
18577 \begin_layout Plain Layout
18578 no_emph
18579 \end_layout
18580
18581 \end_inset
18582
18583
18584 \begin_inset Flex Code
18585 status collapsed
18586
18587 \begin_layout Plain Layout
18588 no_noun
18589 \end_layout
18590
18591 \end_inset
18592
18593
18594 \begin_inset Flex Code
18595 status collapsed
18596
18597 \begin_layout Plain Layout
18598 no_strikeout
18599 \end_layout
18600
18601 \end_inset
18602
18603
18604 \begin_inset Flex Code
18605 status collapsed
18606
18607 \begin_layout Plain Layout
18608 no_bar
18609 \end_layout
18610
18611 \end_inset
18612
18613
18614 \begin_inset Flex Code
18615 status collapsed
18616
18617 \begin_layout Plain Layout
18618 no_uuline
18619 \end_layout
18620
18621 \end_inset
18622
18623
18624 \begin_inset Flex Code
18625 status collapsed
18626
18627 \begin_layout Plain Layout
18628 no_uwave
18629 \end_layout
18630
18631 \end_inset
18632
18633 です.それぞれ,対応する属性を有効にしたり無効にしたりします.
18634 \begin_inset Newline newline
18635 \end_inset
18636
18637 たとえば,
18638 \begin_inset Flex Code
18639 status collapsed
18640
18641 \begin_layout Plain Layout
18642 emph
18643 \end_layout
18644
18645 \end_inset
18646
18647 は強調を有効にし,
18648 \begin_inset Flex Code
18649 status collapsed
18650
18651 \begin_layout Plain Layout
18652 no_emph
18653 \end_layout
18654
18655 \end_inset
18656
18657 はそれを無効にします.もし後者がわかりにくければ,現在のコンテクストのフォント設定は,一般的に周囲のコンテクストから継承していることを思い出してください.ですか
18658
18659 \begin_inset Flex Code
18660 status collapsed
18661
18662 \begin_layout Plain Layout
18663 no_emph
18664 \end_layout
18665
18666 \end_inset
18667
18668 は,たとえば定理環境で,何をせずとも有効となっている強調を無効にするのです.
18669 \end_layout
18670
18671 \begin_layout Description
18672 \begin_inset Flex Code
18673 status collapsed
18674
18675 \begin_layout Plain Layout
18676 Series
18677 \end_layout
18678
18679 \end_inset
18680
18681  [
18682 \emph on
18683
18684 \begin_inset Flex Code
18685 status collapsed
18686
18687 \begin_layout Plain Layout
18688 Medium
18689 \end_layout
18690
18691 \end_inset
18692
18693
18694 \emph default
18695
18696 \begin_inset Flex Code
18697 status collapsed
18698
18699 \begin_layout Plain Layout
18700 Bold
18701 \end_layout
18702
18703 \end_inset
18704
18705
18706 \end_layout
18707
18708 \begin_layout Description
18709 \begin_inset Flex Code
18710 status collapsed
18711
18712 \begin_layout Plain Layout
18713 Shape
18714 \end_layout
18715
18716 \end_inset
18717
18718  [
18719 \emph on
18720
18721 \begin_inset Flex Code
18722 status collapsed
18723
18724 \begin_layout Plain Layout
18725 Up
18726 \end_layout
18727
18728 \end_inset
18729
18730
18731 \emph default
18732
18733 \begin_inset Flex Code
18734 status collapsed
18735
18736 \begin_layout Plain Layout
18737 Italic
18738 \end_layout
18739
18740 \end_inset
18741
18742
18743 \begin_inset Flex Code
18744 status collapsed
18745
18746 \begin_layout Plain Layout
18747 SmallCaps
18748 \end_layout
18749
18750 \end_inset
18751
18752
18753 \begin_inset Flex Code
18754 status collapsed
18755
18756 \begin_layout Plain Layout
18757 Slanted
18758 \end_layout
18759
18760 \end_inset
18761
18762
18763 \end_layout
18764
18765 \begin_layout Description
18766 \begin_inset Flex Code
18767 status collapsed
18768
18769 \begin_layout Plain Layout
18770 Size
18771 \end_layout
18772
18773 \end_inset
18774
18775  [
18776 \begin_inset Flex Code
18777 status collapsed
18778
18779 \begin_layout Plain Layout
18780 tiny
18781 \end_layout
18782
18783 \end_inset
18784
18785
18786 \begin_inset Flex Code
18787 status collapsed
18788
18789 \begin_layout Plain Layout
18790 small
18791 \end_layout
18792
18793 \end_inset
18794
18795
18796 \begin_inset Flex Code
18797 status collapsed
18798
18799 \begin_layout Plain Layout
18800
18801 \emph on
18802 normal
18803 \end_layout
18804
18805 \end_inset
18806
18807
18808 \begin_inset Flex Code
18809 status collapsed
18810
18811 \begin_layout Plain Layout
18812 large
18813 \end_layout
18814
18815 \end_inset
18816
18817
18818 \begin_inset Flex Code
18819 status collapsed
18820
18821 \begin_layout Plain Layout
18822 larger
18823 \end_layout
18824
18825 \end_inset
18826
18827
18828 \begin_inset Flex Code
18829 status collapsed
18830
18831 \begin_layout Plain Layout
18832 largest
18833 \end_layout
18834
18835 \end_inset
18836
18837
18838 \begin_inset Flex Code
18839 status collapsed
18840
18841 \begin_layout Plain Layout
18842 huge
18843 \end_layout
18844
18845 \end_inset
18846
18847
18848 \begin_inset Flex Code
18849 status collapsed
18850
18851 \begin_layout Plain Layout
18852 giant
18853 \end_layout
18854
18855 \end_inset
18856
18857 ]
18858 \end_layout
18859
18860 \begin_layout Subsection
18861 \begin_inset CommandInset label
18862 LatexCommand label
18863 name "subsec:引用エンジンの説明"
18864
18865 \end_inset
18866
18867 引用エンジンの説明
18868 \end_layout
18869
18870 \begin_layout Standard
18871 主に引用エンジンファイル(第
18872 \begin_inset CommandInset ref
18873 LatexCommand ref
18874 reference "subsec:引用エンジンファイル"
18875 plural "false"
18876 caps "false"
18877 noprefix "false"
18878
18879 \end_inset
18880
18881 節参照)で用いられる
18882 \begin_inset Flex Code
18883 status collapsed
18884
18885 \begin_layout Plain Layout
18886 CiteEngine
18887 \end_layout
18888
18889 \end_inset
18890
18891 ブロックは,特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
18892 の用語では,引用エンジンとは,番号や著者名,刊行年を使って,引用を整形する特定の方法のこ
18893 とを指します.\SpecialChar LyX
18894 は,3つのエンジンの型をサポートします.すなわち,
18895 \end_layout
18896
18897 \begin_layout Enumerate
18898 \begin_inset Flex Code
18899 status collapsed
18900
18901 \begin_layout Plain Layout
18902 default
18903 \end_layout
18904
18905 \end_inset
18906
18907 : 既定のBib\SpecialChar TeX
18908 流の引用方法である,単純な番号による様式(例:「[1]」)
18909 \end_layout
18910
18911 \begin_layout Enumerate
18912 \begin_inset Flex Code
18913 status collapsed
18914
18915 \begin_layout Plain Layout
18916 authoryear
18917 \end_layout
18918
18919 \end_inset
18920
18921 : 著者名と刊行年を使ったHarvard様式の引用(例:「Smith and Miller (2017b)」)
18922 \end_layout
18923
18924 \begin_layout Enumerate
18925 \begin_inset Flex Code
18926 status collapsed
18927
18928 \begin_layout Plain Layout
18929 numerical
18930 \end_layout
18931
18932 \end_inset
18933
18934 : 番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:「Smith and Miller [1]」)
18935 \end_layout
18936
18937 \begin_layout Standard
18938 \begin_inset Flex Code
18939 status collapsed
18940
18941 \begin_layout Plain Layout
18942 CiteEngine
18943 \end_layout
18944
18945 \end_inset
18946
18947 ブロックは以下のようになります.
18948 \end_layout
18949
18950 \begin_layout LyX-Code
18951 CiteEngine default
18952 \end_layout
18953
18954 \begin_layout LyX-Code
18955  cite
18956 \end_layout
18957
18958 \begin_layout LyX-Code
18959  Citep*[][]
18960 \end_layout
18961
18962 \begin_layout LyX-Code
18963  citeyearpar[][]=parencite*
18964 \end_layout
18965
18966 \begin_layout LyX-Code
18967  ...
18968 \end_layout
18969
18970 \begin_layout LyX-Code
18971 End
18972 \end_layout
18973
18974 \begin_layout Standard
18975 \begin_inset Flex Code
18976 status collapsed
18977
18978 \begin_layout Plain Layout
18979 CiteEngine
18980 \end_layout
18981
18982 \end_inset
18983
18984 に続くタグがエンジンを表します.各行は,このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,\SpecialChar LyX
18985 コマンドと\SpecialChar LaTeX
18986 出力を命名するのに使
18987 われる引用コマンドのみを含むこともあれば,色々変えるために複雑なこともあります.完全な文法は
18988 \end_layout
18989
18990 \begin_layout LyX-Code
18991 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
18992 \end_layout
18993
18994 \begin_layout Standard
18995 という形になっています.ここで
18996 \end_layout
18997
18998 \begin_layout Itemize
18999 \begin_inset Flex Code
19000 status collapsed
19001
19002 \begin_layout Plain Layout
19003 LyXName
19004 \end_layout
19005
19006 \end_inset
19007
19008
19009 \begin_inset Flex Code
19010 status collapsed
19011
19012 \begin_layout Plain Layout
19013 *.lyx
19014 \end_layout
19015
19016 \end_inset
19017
19018 ファイルで使用される名前.
19019 \end_layout
19020
19021 \begin_deeper
19022 \begin_layout Standard
19023 可搬性のために,異なる引用パッケージ中の同じ形をしたコマンドには,同じ名前をつけるようにしています(したがって,多くの名前がnatbibから派生しており,\SpecialChar LaTeX
19024 コマン
19025 ド名が異なる場合には,しばしば
19026 \begin_inset Flex Code
19027 status collapsed
19028
19029 \begin_layout Plain Layout
19030 latexcmd
19031 \end_layout
19032
19033 \end_inset
19034
19035 を変える必要があります).
19036 \end_layout
19037
19038 \end_deeper
19039 \begin_layout Itemize
19040 \begin_inset Flex Code
19041 status collapsed
19042
19043 \begin_layout Plain Layout
19044 alias
19045 \end_layout
19046
19047 \end_inset
19048
19049 : このエンジンにおいて,与えられた
19050 \begin_inset Flex Code
19051 status collapsed
19052
19053 \begin_layout Plain Layout
19054 LyXName
19055 \end_layout
19056
19057 \end_inset
19058
19059 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,引用パッケージとエンジンを切り替えるのが楽になります.
19060 \begin_inset Flex Code
19061 status collapsed
19062
19063 \begin_layout Plain Layout
19064 alias
19065 \end_layout
19066
19067 \end_inset
19068
19069 はレイアウト定義中での
19070 \begin_inset Flex Code
19071 status collapsed
19072
19073 \begin_layout Plain Layout
19074 ObsoletedBy
19075 \end_layout
19076
19077 \end_inset
19078
19079 に相当するものと考えてよいでしょう.
19080 \end_layout
19081
19082 \begin_layout Itemize
19083 \begin_inset Flex Code
19084 status collapsed
19085
19086 \begin_layout Plain Layout
19087 latexcmd
19088 \end_layout
19089
19090 \end_inset
19091
19092 : 出力される実際の\SpecialChar LaTeX
19093 コマンド.
19094 \end_layout
19095
19096 \begin_layout Standard
19097 \begin_inset Flex Code
19098 status collapsed
19099
19100 \begin_layout Plain Layout
19101 Alias
19102 \end_layout
19103
19104 \end_inset
19105
19106
19107 \begin_inset Flex Code
19108 status collapsed
19109
19110 \begin_layout Plain Layout
19111 latexcmd
19112 \end_layout
19113
19114 \end_inset
19115
19116 は必須ではありません.
19117 \begin_inset Flex Code
19118 status collapsed
19119
19120 \begin_layout Plain Layout
19121 latexcmd
19122 \end_layout
19123
19124 \end_inset
19125
19126 が与えられない時は,
19127 \begin_inset Flex Code
19128 status collapsed
19129
19130 \begin_layout Plain Layout
19131 LyXName
19132 \end_layout
19133
19134 \end_inset
19135
19136 が\SpecialChar LaTeX
19137 に出力されます.
19138 \end_layout
19139
19140 \begin_layout Standard
19141 さらに,下記の点に注意してください.
19142 \end_layout
19143
19144 \begin_layout Itemize
19145 大文字にするとコマンドも大文字化されたものになります(
19146 \begin_inset Flex Code
19147 status collapsed
19148
19149 \begin_layout Plain Layout
19150
19151 \backslash
19152 latexcmd
19153 \end_layout
19154
19155 \end_inset
19156
19157
19158 \begin_inset Flex Code
19159 status collapsed
19160
19161 \begin_layout Plain Layout
19162
19163 \backslash
19164 Latexcmd
19165 \end_layout
19166
19167 \end_inset
19168
19169 に).これらは通常,名前の前置詞を大文字化するのを確実にします(
19170 \emph on
19171 von Goethe
19172 \emph default
19173  
19174 \begin_inset Formula $\Rightarrow$
19175 \end_inset
19176
19177  
19178 \emph on
19179 Von Goethe
19180 \emph default
19181 ).
19182 \end_layout
19183
19184 \begin_layout Itemize
19185 括弧
19186 \begin_inset Flex Code
19187 status collapsed
19188
19189 \begin_layout Plain Layout
19190 []
19191 \end_layout
19192
19193 \end_inset
19194
19195 は非必須引数の数を表します(0-2をとりえます).
19196 \end_layout
19197
19198 \begin_layout Itemize
19199 星印
19200 \begin_inset Flex Code
19201 status collapsed
19202
19203 \begin_layout Plain Layout
19204 *
19205 \end_layout
19206
19207 \end_inset
19208
19209 は星印付きコマンドを示します(
19210 \begin_inset Flex Code
19211 status collapsed
19212
19213 \begin_layout Plain Layout
19214
19215 \backslash
19216 latexcmd
19217 \end_layout
19218
19219 \end_inset
19220
19221
19222 \begin_inset Flex Code
19223 status collapsed
19224
19225 \begin_layout Plain Layout
19226
19227 \backslash
19228 latexcmd*
19229 \end_layout
19230
19231 \end_inset
19232
19233 に).
19234 \end_layout
19235
19236 \begin_deeper
19237 \begin_layout Standard
19238 既定では,星印付きバージョンは,
19239 \begin_inset Flex Code
19240 status collapsed
19241
19242 \begin_layout Plain Layout
19243 MaxCiteNames
19244 \end_layout
19245
19246 \end_inset
19247
19248 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
19249 \end_layout
19250
19251 \begin_layout Standard
19252 星印が,当該コマンドについては別の意味を持つ場合には,
19253 \begin_inset Flex Code
19254 status collapsed
19255
19256 \begin_layout Plain Layout
19257 <!_stardesc!_stardesctooltip>
19258 \end_layout
19259
19260 \end_inset
19261
19262 のように三角括弧で指定することができます.前置詞
19263 \begin_inset Flex Code
19264 status collapsed
19265
19266 \begin_layout Plain Layout
19267 !_
19268 \end_layout
19269
19270 \end_inset
19271
19272 で標識した,翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,引用ダイアログ中の「Full aut&hor list」チェックボックスラベ
19273 ルを書き換える文字列を指し,二つ目のキーワードは,このチェックボックスに対する非必須のツールチップの文字列を指します.
19274 \end_layout
19275
19276 \begin_layout Standard
19277 これらの2つのマクロは,下記のように,前置詞から
19278 \begin_inset Flex Code
19279 status collapsed
19280
19281 \begin_layout Plain Layout
19282 !
19283 \end_layout
19284
19285 \end_inset
19286
19287 を落とした形で
19288 \begin_inset Flex Code
19289 status collapsed
19290
19291 \begin_layout Plain Layout
19292 CiteFormat
19293 \end_layout
19294
19295 \end_inset
19296
19297 (次節参照)で定義されなくてはなりません.
19298 \end_layout
19299
19300 \begin_layout LyX-Code
19301 _stardesc Sta&rred command label
19302 \end_layout
19303
19304 \begin_layout LyX-Code
19305 _stardesctooltip Tooltip for the starred command checkbox.
19306 \end_layout
19307
19308 \end_deeper
19309 \begin_layout Itemize
19310 ドル記号
19311 \begin_inset Flex Code
19312 status collapsed
19313
19314 \begin_layout Plain Layout
19315 $
19316 \end_layout
19317
19318 \end_inset
19319
19320 は,このコマンドが「qualified citation lists」を取り扱うことを示します.これは,リスト中の個別の引用に対して,前置文字列と後置文字列を置
19321 くことができる,
19322 \family sans
19323 Biblatex
19324 \family default
19325 に特有の複数文献引用機能です.詳細については,
19326 \family sans
19327 Biblatex
19328 \family default
19329 の取扱説明書をご覧ください.
19330 \end_layout
19331
19332 \begin_layout Subsection
19333 \begin_inset CommandInset label
19334 LatexCommand label
19335 name "subsec:引用書式指定"
19336
19337 \end_inset
19338
19339 引用書式指定
19340 \end_layout
19341
19342 \begin_layout Standard
19343 (引用ダイアログやツールチップなどの)\SpecialChar LyX
19344 内部やXHTML出力において,書誌情報をどのように表示するべきかの叙述には,
19345 \begin_inset Flex Code
19346 status collapsed
19347
19348 \begin_layout Plain Layout
19349 CiteFormat
19350 \end_layout
19351
19352 \end_inset
19353
19354 ブロックが使用されています.このブロックは,以下のような形をしています.
19355 \end_layout
19356
19357 \begin_layout LyX-Code
19358 CiteFormat
19359 \end_layout
19360
19361 \begin_layout LyX-Code
19362  article ...
19363 \end_layout
19364
19365 \begin_layout LyX-Code
19366  book ...
19367 \end_layout
19368
19369 \begin_layout LyX-Code
19370 End
19371 \end_layout
19372
19373 \begin_layout Standard
19374 あるいは
19375 \end_layout
19376
19377 \begin_layout LyX-Code
19378 CiteFormat
19379 \end_layout
19380
19381 \begin_layout LyX-Code
19382  cite ...
19383 \end_layout
19384
19385 \begin_layout LyX-Code
19386  citet*[][] ...
19387 \end_layout
19388
19389 \begin_layout LyX-Code
19390 End
19391 \end_layout
19392
19393 \begin_layout Standard
19394 最初の例の各行は,それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,このような定義は,Bib\SpecialChar TeX
19395 ファイル中に存
19396 在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,\SpecialChar LyX
19397 は,ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
19398 は,いくつかの書式を
19399 \begin_inset Flex Code
19400 status collapsed
19401
19402 \begin_layout Plain Layout
19403 stdciteformats.inc
19404 \end_layout
19405
19406 \end_inset
19407
19408 ファイルで事前定義しており,これはほとんどの\SpecialChar LyX
19409 文書クラスにインクルードされています.
19410 \end_layout
19411
19412 \begin_layout Standard
19413 2つ目の例では,各行は,特定の引用コマンド(この例では
19414 \begin_inset Flex Code
19415 status collapsed
19416
19417 \begin_layout Plain Layout
19418
19419 \backslash
19420 cite
19421 \end_layout
19422
19423 \end_inset
19424
19425 及び
19426 \begin_inset Flex Code
19427 status collapsed
19428
19429 \begin_layout Plain Layout
19430
19431 \backslash
19432 citet
19433 \end_layout
19434
19435 \end_inset
19436
19437 )が,引用差込枠ラベルや引用ダイアログ,メニュー,XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
19438 は,\SpecialChar LyX
19439 に同梱されている個別の
19440 \begin_inset Flex Code
19441 status collapsed
19442
19443 \begin_layout Plain Layout
19444 *.citeengine
19445 \end_layout
19446
19447 \end_inset
19448
19449 ファイル中において,
19450 \family sans
19451 文書\SpecialChar menuseparator
19452 設定\SpecialChar menuseparator
19453 書誌情報\SpecialChar ldots
19454
19455 \family default
19456 でサポートしている引用様式用に,そのような書式を定義しています(第
19457 \begin_inset CommandInset ref
19458 LatexCommand ref
19459 reference "subsec:引用エンジンファイル"
19460 plural "false"
19461 caps "false"
19462 noprefix "false"
19463
19464 \end_inset
19465
19466 節参照).
19467 \end_layout
19468
19469 \begin_layout Standard
19470 この定義は,Bib\SpecialChar TeX
19471 キーをその値で置換できる機能を持った,簡単な言語を使用しています.キーは,
19472 \begin_inset Flex Code
19473 status collapsed
19474
19475 \begin_layout Plain Layout
19476 %author%
19477 \end_layout
19478
19479 \end_inset
19480
19481 のように
19482 \begin_inset Flex Code
19483 status collapsed
19484
19485 \begin_layout Plain Layout
19486 %
19487 \end_layout
19488
19489 \end_inset
19490
19491 記号でくくらなくてはなりません.したがって,簡単な定義は以下のようになります.
19492 \end_layout
19493
19494 \begin_layout LyX-Code
19495 misc %author%, 
19496 \begin_inset Quotes eld
19497 \end_inset
19498
19499 %title%
19500 \begin_inset Quotes erd
19501 \end_inset
19502
19503
19504 \end_layout
19505
19506 \begin_layout Standard
19507 これは,「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
19508 \end_layout
19509
19510 \begin_layout Standard
19511 もちろん,キーが存在するときのみ,そのキーを出力したい時があるはずです.このようなときには
19512 \begin_inset Flex Code
19513 status collapsed
19514
19515 \begin_layout Plain Layout
19516 {%volume%[[vol.
19517 \begin_inset space ~
19518 \end_inset
19519
19520 %volume%]]}
19521 \end_layout
19522
19523 \end_inset
19524
19525 のように,条件付きの構成を使用することができます.これは,
19526 \begin_inset Flex Code
19527 status collapsed
19528
19529 \begin_layout Plain Layout
19530 volume
19531 \end_layout
19532
19533 \end_inset
19534
19535 が存在するならば,「vol.
19536 \begin_inset space ~
19537 \end_inset
19538
19539 」とvolumeキーを出力するという意味です.また,
19540 \begin_inset Newline newline
19541 \end_inset
19542
19543
19544 \begin_inset Flex Code
19545 status collapsed
19546
19547 \begin_layout Plain Layout
19548 {%author%[[%author%]][[%editor%, ed.]]}
19549 \end_layout
19550
19551 \end_inset
19552
19553
19554 \begin_inset Newline newline
19555 \end_inset
19556
19557 のように,条件の中にelse節を含めることも可能です.ここでは,もし
19558 \begin_inset Flex Code
19559 status collapsed
19560
19561 \begin_layout Plain Layout
19562 author
19563 \end_layout
19564
19565 \end_inset
19566
19567 キーが存在するならば出力され,そうでなければeditorキーと「,
19568 \begin_inset space ~
19569 \end_inset
19570
19571 ed.」が出力されます.ここでもキーは,
19572 \begin_inset Flex Code
19573 status collapsed
19574
19575 \begin_layout Plain Layout
19576 %
19577 \end_layout
19578
19579 \end_inset
19580
19581 記号でくくられていることに注意してください.条件全体は,波括弧で囲まれています.if節およびelse節は,「
19582 \begin_inset Flex Code
19583 status collapsed
19584
19585 \begin_layout Plain Layout
19586 [[
19587 \end_layout
19588
19589 \end_inset
19590
19591 」と「
19592 \begin_inset Flex Code
19593 status collapsed
19594
19595 \begin_layout Plain Layout
19596 ]]
19597 \end_layout
19598
19599 \end_inset
19600
19601 」の二重角括弧で囲まれています.これらすべてのあいだには,空白は入ってはなりません.
19602 \end_layout
19603
19604 \begin_layout Standard
19605 これらの条件文に使うことができるものには,項目キーの他に,以下の特殊キーがあります.
19606 \end_layout
19607
19608 \begin_layout Itemize
19609 \begin_inset Flex Code
19610 status collapsed
19611
19612 \begin_layout Plain Layout
19613 {%dialog%[[真]][[偽]]}
19614 \end_layout
19615
19616 \end_inset
19617
19618 : ダイアログとメニューに対しては「真」の部分を処理し,他の文脈(作業領域や書き出し)には「偽」の部分を処理します
19619 \end_layout
19620
19621 \begin_layout Itemize
19622 \begin_inset Flex Code
19623 status collapsed
19624
19625 \begin_layout Plain Layout
19626 {%export%[[真]][[偽]]}
19627 \end_layout
19628
19629 \end_inset
19630
19631 : 書き出しとメニューに対しては「真」の部分を処理し,他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
19632 \end_layout
19633
19634 \begin_layout Itemize
19635 \begin_inset Flex Code
19636 status collapsed
19637
19638 \begin_layout Plain Layout
19639 {%next%[[真]]}
19640 \end_layout
19641
19642 \end_inset
19643
19644 : 他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
19645 \end_layout
19646
19647 \begin_layout Itemize
19648 \begin_inset Flex Code
19649 status collapsed
19650
19651 \begin_layout Plain Layout
19652 {%second%[[真]][[偽]]}
19653 \end_layout
19654
19655 \end_inset
19656
19657 : これが複数項目の2番目の場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19658 \end_layout
19659
19660 \begin_layout Itemize
19661 \begin_inset Flex Code
19662 status collapsed
19663
19664 \begin_layout Plain Layout
19665 {%ifstar%[[真]][[偽]]}
19666 \end_layout
19667
19668 \end_inset
19669
19670 : (
19671 \begin_inset Flex Code
19672 status collapsed
19673
19674 \begin_layout Plain Layout
19675
19676 \backslash
19677 cite*
19678 \end_layout
19679
19680 \end_inset
19681
19682 など)星印付き引用コマンドの場合には「真」の部分を処理し,星印付きでない場合には「偽」の部分を処理します
19683 \end_layout
19684
19685 \begin_layout Itemize
19686 \begin_inset Flex Code
19687 status collapsed
19688
19689 \begin_layout Plain Layout
19690 {%ifentrytype:<type>%[[真]][[偽]]}
19691 \end_layout
19692
19693 \end_inset
19694
19695 : 現行の項目が
19696 \begin_inset Flex Code
19697 status collapsed
19698
19699 \begin_layout Plain Layout
19700 <型>
19701 \end_layout
19702
19703 \end_inset
19704
19705 に一致する場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:引用定義において
19706 \begin_inset Flex Code
19707 status collapsed
19708
19709 \begin_layout Plain Layout
19710 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
19711 \end_layout
19712
19713 \end_inset
19714
19715
19716 \end_layout
19717
19718 \begin_layout Itemize
19719 \begin_inset Flex Code
19720 status collapsed
19721
19722 \begin_layout Plain Layout
19723 {%ifmultiple:<authortype>%[[真]][[偽]]}
19724 \end_layout
19725
19726 \end_inset
19727
19728 : 現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:書誌情報定義において
19729 \begin_inset Flex Code
19730 status collapsed
19731
19732 \begin_layout Plain Layout
19733 {%ifmultiple:editor%[[eds.]][[ed.]]}
19734 \end_layout
19735
19736 \end_inset
19737
19738
19739 \end_layout
19740
19741 \begin_layout Itemize
19742 \begin_inset Flex Code
19743 status collapsed
19744
19745 \begin_layout Plain Layout
19746 {%ifqualified%[[真]][[偽]]}
19747 \end_layout
19748
19749 \end_inset
19750
19751 : 現行の引用がqualified citation listである(複数文献引用に対する
19752 \family sans
19753 Biblatex
19754 \family default
19755 特有の形式)場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19756 \end_layout
19757
19758 \begin_layout Standard
19759 \begin_inset Flex Code
19760 status collapsed
19761
19762 \begin_layout Plain Layout
19763 %author%
19764 \end_layout
19765
19766 \end_inset
19767
19768 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller, Peter and Smith, Mary
19769  and White, Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
19770 では著者を区切るのに「and」が用いられるため),望ましい結果ではありません.したがっ
19771 て,\SpecialChar LyX
19772 は,正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
19773 \end_layout
19774
19775 \begin_layout Enumerate
19776 書誌情報項目の主要著者・編者に適した,姓名付き名前リスト用.
19777 \begin_inset Flex Code
19778 status collapsed
19779
19780 \begin_layout Plain Layout
19781 <nametype>
19782 \end_layout
19783
19784 \end_inset
19785
19786 部分は要請されているリスト型を表します(例:
19787 \begin_inset Flex Code
19788 status collapsed
19789
19790 \begin_layout Plain Layout
19791 <nametype:author>
19792 \end_layout
19793
19794 \end_inset
19795
19796
19797 \end_layout
19798
19799 \begin_deeper
19800 \begin_layout Itemize
19801 \begin_inset Flex Code
19802 status collapsed
19803
19804 \begin_layout Plain Layout
19805 %abbrvnames:<nametype>%
19806 \end_layout
19807
19808 \end_inset
19809
19810
19811 \begin_inset Flex Code
19812 status collapsed
19813
19814 \begin_layout Plain Layout
19815 MaxCiteNames
19816 \end_layout
19817
19818 \end_inset
19819
19820 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19821 \end_layout
19822
19823 \begin_layout Itemize
19824 \begin_inset Flex Code
19825 status collapsed
19826
19827 \begin_layout Plain Layout
19828 %fullnames:<nametype>%
19829 \end_layout
19830
19831 \end_inset
19832
19833 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19834 \end_layout
19835
19836 \begin_layout Itemize
19837 \begin_inset Flex Code
19838 status collapsed
19839
19840 \begin_layout Plain Layout
19841 %forceabbrvnames:<nametype>%
19842 \end_layout
19843
19844 \end_inset
19845
19846
19847 \begin_inset Flex Code
19848 status collapsed
19849
19850 \begin_layout Plain Layout
19851 MaxCiteNames
19852 \end_layout
19853
19854 \end_inset
19855
19856 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
19857 \end_layout
19858
19859 \end_deeper
19860 \begin_layout Enumerate
19861 書誌情報項目中の姓名の順序が異なっている場合の,姓名付き名前リスト(例:「Miller, John: 何らかの文, in: Mary Smith,
19862  ed.: A volume」
19863 \end_layout
19864
19865 \begin_deeper
19866 \begin_layout Itemize
19867 \begin_inset Flex Code
19868 status collapsed
19869
19870 \begin_layout Plain Layout
19871 %abbrvbynames:<nametype>%
19872 \end_layout
19873
19874 \end_inset
19875
19876
19877 \begin_inset Flex Code
19878 status collapsed
19879
19880 \begin_layout Plain Layout
19881 MaxCiteNames
19882 \end_layout
19883
19884 \end_inset
19885
19886 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19887 \end_layout
19888
19889 \begin_layout Itemize
19890 \begin_inset Flex Code
19891 status collapsed
19892
19893 \begin_layout Plain Layout
19894 %fullbynames:<nametype>%
19895 \end_layout
19896
19897 \end_inset
19898
19899 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19900 \end_layout
19901
19902 \begin_layout Itemize
19903 \begin_inset Flex Code
19904 status collapsed
19905
19906 \begin_layout Plain Layout
19907 %forceabbrvbynames:<nametype>%
19908 \end_layout
19909
19910 \end_inset
19911
19912
19913 \begin_inset Flex Code
19914 status collapsed
19915
19916 \begin_layout Plain Layout
19917 MaxCiteNames
19918 \end_layout
19919
19920 \end_inset
19921
19922 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
19923 \end_layout
19924
19925 \end_deeper
19926 \begin_layout Enumerate
19927 著者-発行年引用ラベルで用いられるような,姓のみを含む姓リスト.これらは
19928 \begin_inset Flex Code
19929 status collapsed
19930
19931 \begin_layout Plain Layout
19932 <nametype>
19933 \end_layout
19934
19935 \end_inset
19936
19937 部分を取りませんが,(著者-発行年ラベルで通例であるように)常に著者リストか,存在しない場合には編者リストを返します.
19938 \end_layout
19939
19940 \begin_deeper
19941 \begin_layout Itemize
19942 \begin_inset Flex Code
19943 status collapsed
19944
19945 \begin_layout Plain Layout
19946 %abbrvciteauthor%
19947 \end_layout
19948
19949 \end_inset
19950
19951
19952 \begin_inset Flex Code
19953 status collapsed
19954
19955 \begin_layout Plain Layout
19956 MaxCiteNames
19957 \end_layout
19958
19959 \end_inset
19960
19961 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19962 \end_layout
19963
19964 \begin_layout Itemize
19965 \begin_inset Flex Code
19966 status collapsed
19967
19968 \begin_layout Plain Layout
19969 %fullciteauthor%
19970 \end_layout
19971
19972 \end_inset
19973
19974 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19975 \end_layout
19976
19977 \begin_layout Itemize
19978 \begin_inset Flex Code
19979 status collapsed
19980
19981 \begin_layout Plain Layout
19982 %forceabbrvciteauthor%
19983 \end_layout
19984
19985 \end_inset
19986
19987
19988 \begin_inset Flex Code
19989 status collapsed
19990
19991 \begin_layout Plain Layout
19992 MaxCiteNames
19993 \end_layout
19994
19995 \end_inset
19996
19997 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
19998 \end_layout
19999
20000 \end_deeper
20001 \begin_layout Standard
20002 前二者の姓名の順序は,下記のマクロで変更することができます.
20003 \end_layout
20004
20005 \begin_layout Itemize
20006 \begin_inset Flex Code
20007 status collapsed
20008
20009 \begin_layout Plain Layout
20010 !firstnameform %surname%, %prename%
20011 \end_layout
20012
20013 \end_inset
20014
20015 (1の場合の最初の著者)
20016 \end_layout
20017
20018 \begin_layout Itemize
20019 \begin_inset Flex Code
20020 status collapsed
20021
20022 \begin_layout Plain Layout
20023 !othernameform %surname%, %prename%
20024 \end_layout
20025
20026 \end_inset
20027
20028 (1の場合の他の著者)
20029 \end_layout
20030
20031 \begin_layout Itemize
20032 \begin_inset Flex Code
20033 status collapsed
20034
20035 \begin_layout Plain Layout
20036 !firstbynameform %prename% %surname%
20037 \end_layout
20038
20039 \end_inset
20040
20041 (2の場合の最初の著者)
20042 \end_layout
20043
20044 \begin_layout Itemize
20045 \begin_inset Flex Code
20046 status collapsed
20047
20048 \begin_layout Plain Layout
20049 !otherbynameform %prename% %surname%
20050 \end_layout
20051
20052 \end_inset
20053
20054 (2の場合の他の著者)
20055 \end_layout
20056
20057 \begin_layout Standard
20058 これによって,名前を「Miller, Peter and Mary Smith: \SpecialChar ldots
20059 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
20060 」のように
20061 設定することができます.
20062 \end_layout
20063
20064 \begin_layout Standard
20065 もう一つ,定義中で使用することのできる文法として,
20066 \begin_inset Flex Code
20067 status collapsed
20068
20069 \begin_layout Plain Layout
20070 {!<i>!}
20071 \end_layout
20072
20073 \end_inset
20074
20075 という形をしたものがあります.これは,「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,平文を書き出すときには,HTMLタ
20076 グを出力させたくはありませんから,HTMLタグは「
20077 \begin_inset Flex Code
20078 status collapsed
20079
20080 \begin_layout Plain Layout
20081 {!
20082 \end_layout
20083
20084 \end_inset
20085
20086 」と「
20087 \begin_inset Flex Code
20088 status collapsed
20089
20090 \begin_layout Plain Layout
20091 !}
20092 \end_layout
20093
20094 \end_inset
20095
20096 」でくるんでやらなくてはならないのです.
20097 \end_layout
20098
20099 \begin_layout Standard
20100 \begin_inset Flex Code
20101 status collapsed
20102
20103 \begin_layout Plain Layout
20104 CiteFormat
20105 \end_layout
20106
20107 \end_inset
20108
20109 ブロックでは,他に2つの特殊な定義が可能です.一つめの例としては,
20110 \end_layout
20111
20112 \begin_layout LyX-Code
20113 !quotetitle 
20114 \begin_inset Quotes eld
20115 \end_inset
20116
20117 %title%
20118 \begin_inset Quotes erd
20119 \end_inset
20120
20121
20122 \end_layout
20123
20124 \begin_layout Standard
20125 といった例が挙げられます.これは,短縮形ないしはマクロであり,
20126 \begin_inset Flex Code
20127 status collapsed
20128
20129 \begin_layout Plain Layout
20130 %!quotetitle%
20131 \end_layout
20132
20133 \end_inset
20134
20135 のように,これがキーであるかのように扱って使用することができます.\SpecialChar LyX
20136 は,
20137 \begin_inset Flex Code
20138 status collapsed
20139
20140 \begin_layout Plain Layout
20141 %!quotetitle%
20142 \end_layout
20143
20144 \end_inset
20145
20146 を,そこで定義されているものを扱う場合と同じように取り扱います.ですから,明白な警告を敢えてさせて頂くと,
20147 \end_layout
20148
20149 \begin_layout LyX-Code
20150 !funfun %funfun%
20151 \end_layout
20152
20153 \begin_layout Standard
20154 のようなことはしないでください.\SpecialChar LyX
20155 は,無限ループに陥るようなことはありませんが,諦めるまでに時間のかかる長いループに入るかもしれません.
20156 \end_layout
20157
20158 \begin_layout Standard
20159 特殊な定義の二つめは,
20160 \end_layout
20161
20162 \begin_layout LyX-Code
20163 _pptext pp.
20164 \end_layout
20165
20166 \begin_layout Standard
20167 のようなものです.これは翻訳対象となるテキスト部分を定義し,これによって書誌情報や引用の対応する部分が翻訳されるようになります.
20168 \begin_inset Flex Code
20169 status collapsed
20170
20171 \begin_layout Plain Layout
20172 %_pptext%
20173 \end_layout
20174
20175 \end_inset
20176
20177 のように,これをキーとして扱って,定義の中に入れることもできます.これらのうちいくつかは,
20178 \begin_inset Flex Code
20179 status collapsed
20180
20181 \begin_layout Plain Layout
20182 stdciteformats.inc
20183 \end_layout
20184
20185 \end_inset
20186
20187 及び様々な
20188 \begin_inset Flex Code
20189 status collapsed
20190
20191 \begin_layout Plain Layout
20192 *.citeengine
20193 \end_layout
20194
20195 \end_inset
20196
20197 ファイル中に事前定義されています.これは,上記で述べたような意味でのマクロではないことに注意してください.
20198 \end_layout
20199
20200 \begin_layout Standard
20201 以下は,これらの機能を全て使った例です.
20202 \begin_inset VSpace defskip
20203 \end_inset
20204
20205
20206 \end_layout
20207
20208 \begin_layout Standard
20209 \noindent
20210
20211 \family typewriter
20212 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
20213 \end_layout
20214
20215 \begin_layout Standard
20216 \begin_inset VSpace defskip
20217 \end_inset
20218
20219 これは,
20220 \begin_inset Flex Code
20221 status collapsed
20222
20223 \begin_layout Plain Layout
20224 author
20225 \end_layout
20226
20227 \end_inset
20228
20229 キーが定義されているならば,著者とコンマを出力し,
20230 \begin_inset Flex Code
20231 status collapsed
20232
20233 \begin_layout Plain Layout
20234 author
20235 \end_layout
20236
20237 \end_inset
20238
20239 キーが定義されておらず,
20240 \begin_inset Flex Code
20241 status collapsed
20242
20243 \begin_layout Plain Layout
20244 editor
20245 \end_layout
20246
20247 \end_inset
20248
20249 キーが定義されているならば,編集者名の後に
20250 \begin_inset Flex Code
20251 status collapsed
20252
20253 \begin_layout Plain Layout
20254 _edtext
20255 \end_layout
20256
20257 \end_inset
20258
20259 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
20260 \begin_inset Flex Code
20261 status collapsed
20262
20263 \begin_layout Plain Layout
20264 stdciteformats.inc
20265 \end_layout
20266
20267 \end_inset
20268
20269 の中で定義されていますので,このファイルをまず読みこめば,ご自身の定義ないしは再定義の中で使用することができます.
20270 \end_layout
20271
20272 \begin_layout Section
20273 \begin_inset CommandInset label
20274 LatexCommand label
20275 name "sec:XHTML出力のタグ"
20276
20277 \end_inset
20278
20279 XHTML出力のタグ
20280 \end_layout
20281
20282 \begin_layout Standard
20283 \SpecialChar LaTeX
20284 やDocBookと同様,\SpecialChar LyX
20285 のXHTML出力の書式も,レイアウト情報によって制御することができます.一般的に,\SpecialChar LyX
20286 は適切な既定値を提供し,前述したように,他のレイアウト
20287 タグに基づいて,既定のCSSスタイルの構成まで行ないます.たとえば,章見出しを適切に整形するためのCSSを書き出すために,\SpecialChar LyX
20288 は,章様式の
20289 \begin_inset Flex Code
20290 status collapsed
20291
20292 \begin_layout Plain Layout
20293 Font
20294 \end_layout
20295
20296 \end_inset
20297
20298 宣言で提供されている情報を利用しようと試みます.
20299 \end_layout
20300
20301 \begin_layout Standard
20302 したがって,多くの場合,使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,まったく何もしなくてよいことになるでしょう.しかしながら
20303 ,これが必要になる場合もあるので,\SpecialChar LyX
20304 は,生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,たくさん提供しています.
20305 \end_layout
20306
20307 \begin_layout Standard
20308 様式宣言や差込枠宣言の外で使用することができるタグに,
20309 \begin_inset Flex Code
20310 status collapsed
20311
20312 \begin_layout Plain Layout
20313 HTMLPreamble
20314 \end_layout
20315
20316 \end_inset
20317
20318
20319 \begin_inset Flex Code
20320 status collapsed
20321
20322 \begin_layout Plain Layout
20323 AddToHTMLPreamble
20324 \end_layout
20325
20326 \end_inset
20327
20328 の2つがあることに注意してください.これらの詳細については,
20329 \begin_inset CommandInset ref
20330 LatexCommand ref
20331 reference "subsec:汎用テキストクラスパラメータ"
20332
20333 \end_inset
20334
20335 をご覧ください.
20336 \end_layout
20337
20338 \begin_layout Subsection
20339 \begin_inset CommandInset label
20340 LatexCommand label
20341 name "subsec:段落様式-XHTML"
20342
20343 \end_inset
20344
20345 段落様式
20346 \end_layout
20347
20348 \begin_layout Standard
20349 \SpecialChar LyX
20350 が段落のために出力するXHTMLの種類は,通常の段落を取り扱っているのか,コマンドを取り扱っているのか,あるいは環境を取り扱っているのかに依存し,これは対応する
20351 \begin_inset Flex Code
20352 status collapsed
20353
20354 \begin_layout Plain Layout
20355 \SpecialChar LaTeX
20356 Type
20357 \end_layout
20358
20359 \end_inset
20360
20361 タグの内容によって決定されます.
20362 \end_layout
20363
20364 \begin_layout Standard
20365 コマンドや通常の段落の場合には,XHTML出力は以下の形になります.
20366 \end_layout
20367
20368 \begin_layout LyX-Code
20369 <tag attr=
20370 \begin_inset Quotes erd
20371 \end_inset
20372
20373 value
20374 \begin_inset Quotes erd
20375 \end_inset
20376
20377 >
20378 \end_layout
20379
20380 \begin_layout LyX-Code
20381 <labeltag attr=
20382 \begin_inset Quotes erd
20383 \end_inset
20384
20385 value
20386 \begin_inset Quotes erd
20387 \end_inset
20388
20389 >ラベル</labeltag>
20390 \end_layout
20391
20392 \begin_layout LyX-Code
20393 段落の内容
20394 \end_layout
20395
20396 \begin_layout LyX-Code
20397 </tag>
20398 \end_layout
20399
20400 \begin_layout Standard
20401 もちろん,段落にラベルがなければ,ラベルタグは省略することができます.
20402 \end_layout
20403
20404 \begin_layout Standard
20405 環境のうち,リストの変種でないものに関しては,XHTMLは以下の形を取ります.
20406 \end_layout
20407
20408 \begin_layout LyX-Code
20409 <tag attr=
20410 \begin_inset Quotes erd
20411 \end_inset
20412
20413 value
20414 \begin_inset Quotes erd
20415 \end_inset
20416
20417 >
20418 \end_layout
20419
20420 \begin_layout LyX-Code
20421 <itemtag attr=
20422 \begin_inset Quotes erd
20423 \end_inset
20424
20425 value
20426 \begin_inset Quotes erd
20427 \end_inset
20428
20429 ><labeltag attr=
20430 \begin_inset Quotes erd
20431 \end_inset
20432
20433 value
20434 \begin_inset Quotes erd
20435 \end_inset
20436
20437 >環境ラベル</labeltag>最初の段落.
20438 \end_layout
20439
20440 \begin_layout LyX-Code
20441 </itemtag>
20442 \end_layout
20443
20444 \begin_layout LyX-Code
20445 <itemtag>二つめの段落.</itemtag>
20446 \end_layout
20447
20448 \begin_layout LyX-Code
20449 </tag>
20450 \end_layout
20451
20452 \begin_layout Standard
20453 ラベルは,たとえば定理の場合にそうであるように,最初の段落にだけ出力されることに注意してください.
20454 \end_layout
20455
20456 \begin_layout Standard
20457 リストに関しては,次のような形になります.
20458 \end_layout
20459
20460 \begin_layout LyX-Code
20461 <tag attr=
20462 \begin_inset Quotes erd
20463 \end_inset
20464
20465 value
20466 \begin_inset Quotes erd
20467 \end_inset
20468
20469 >
20470 \end_layout
20471
20472 \begin_layout LyX-Code
20473 <itemtag attr=
20474 \begin_inset Quotes erd
20475 \end_inset
20476
20477 value
20478 \begin_inset Quotes erd
20479 \end_inset
20480
20481 ><labeltag attr=
20482 \begin_inset Quotes erd
20483 \end_inset
20484
20485 value
20486 \begin_inset Quotes erd
20487 \end_inset
20488
20489 >リストのラベル</labeltag>最初の項目.</itemtag>
20490 \end_layout
20491
20492 \begin_layout LyX-Code
20493 <itemtag attr=
20494 \begin_inset Quotes erd
20495 \end_inset
20496
20497 value
20498 \begin_inset Quotes erd
20499 \end_inset
20500
20501 ><labeltag attr=
20502 \begin_inset Quotes erd
20503 \end_inset
20504
20505 value
20506 \begin_inset Quotes erd
20507 \end_inset
20508
20509 >リストのラベル</labeltag>二つめの項目.</itemtag>
20510 \end_layout
20511
20512 \begin_layout LyX-Code
20513 </tag>
20514 \end_layout
20515
20516 \begin_layout LyX-Code
20517
20518 \end_layout
20519
20520 \begin_layout LyX-Code
20521 <tag attr=
20522 \begin_inset Quotes erd
20523 \end_inset
20524
20525 value
20526 \begin_inset Quotes erd
20527 \end_inset
20528
20529 >
20530 \end_layout
20531
20532 \begin_layout LyX-Code
20533 <labeltag attr=
20534 \begin_inset Quotes erd
20535 \end_inset
20536
20537 value
20538 \begin_inset Quotes erd
20539 \end_inset
20540
20541 >リストのラベル</labeltag><itemtag attr=
20542 \begin_inset Quotes erd
20543 \end_inset
20544
20545 value
20546 \begin_inset Quotes erd
20547 \end_inset
20548
20549 >最初の項目.</itemtag>
20550 \end_layout
20551
20552 \begin_layout LyX-Code
20553 <labeltag attr=
20554 \begin_inset Quotes erd
20555 \end_inset
20556
20557 value
20558 \begin_inset Quotes erd
20559 \end_inset
20560
20561 >リストのラベル</labeltag><itemtag attr=
20562 \begin_inset Quotes erd
20563 \end_inset
20564
20565 value
20566 \begin_inset Quotes erd
20567 \end_inset
20568
20569 >二つめの項目</itemtag>
20570 \end_layout
20571
20572 \begin_layout LyX-Code
20573 </tag>
20574 \end_layout
20575
20576 \begin_layout Standard
20577 ここで
20578 \begin_inset Flex Code
20579 status collapsed
20580
20581 \begin_layout Plain Layout
20582 labeltag
20583 \end_layout
20584
20585 \end_inset
20586
20587
20588 \begin_inset Flex Code
20589 status collapsed
20590
20591 \begin_layout Plain Layout
20592 itemtag
20593 \end_layout
20594
20595 \end_inset
20596
20597 の順序が違っていることに注意してください.どちらの順序になるかは,
20598 \begin_inset Flex Code
20599 status collapsed
20600
20601 \begin_layout Plain Layout
20602 HTMLLabelFirst
20603 \end_layout
20604
20605 \end_inset
20606
20607 の設定に依存します.もし
20608 \begin_inset Flex Code
20609 status collapsed
20610
20611 \begin_layout Plain Layout
20612 HTMLLabelFirst
20613 \end_layout
20614
20615 \end_inset
20616
20617 が偽であれば(既定値),最初のケースのようになり,これが真であれば,二番めのケースのように,labelがitemの外側に来るようになります.
20618 \end_layout
20619
20620 \begin_layout Standard
20621 各段落の特定のタグ出力や属性出力は,以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,前述のように,多くの場合,\SpecialChar LyX
20622 は適切な既定値を生成
20623 するので,たいしたことをしなくても,望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,自分の好みにあわせて微調整する目的
20624 でここにあるものと考えてください.
20625 \end_layout
20626
20627 \begin_layout Description
20628 \begin_inset Flex Code
20629 status collapsed
20630
20631 \begin_layout Plain Layout
20632 HTMLAttr
20633 \end_layout
20634
20635 \end_inset
20636
20637  [
20638 \begin_inset Flex Code
20639 status collapsed
20640
20641 \begin_layout Plain Layout
20642 文字列
20643 \end_layout
20644
20645 \end_inset
20646
20647 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
20648 \begin_inset Flex Code
20649 status collapsed
20650
20651 \begin_layout Plain Layout
20652 class=`mydiv'
20653 \end_layout
20654
20655 \end_inset
20656
20657 」のようなものです.既定においては,\SpecialChar LyX
20658 は「
20659 \begin_inset Flex Code
20660 status collapsed
20661
20662 \begin_layout Plain Layout
20663 class=`レイアウト名'
20664 \end_layout
20665
20666 \end_inset
20667
20668 」と出力します.ここで
20669 \begin_inset Flex Code
20670 status collapsed
20671
20672 \begin_layout Plain Layout
20673 レイアウト名
20674 \end_layout
20675
20676 \end_inset
20677
20678 は,レイアウトの\SpecialChar LyX
20679 名であり,chapterのように小文字で記述します.
20680 \end_layout
20681
20682 \begin_layout Description
20683 \begin_inset Flex Code
20684 status collapsed
20685
20686 \begin_layout Plain Layout
20687 HTMLForceCSS
20688 \end_layout
20689
20690 \end_inset
20691
20692  [
20693 \begin_inset Flex Code
20694 status collapsed
20695
20696 \begin_layout Plain Layout
20697
20698 \emph on
20699 0
20700 \emph default
20701 ,1
20702 \end_layout
20703
20704 \end_inset
20705
20706 ] 
20707 \begin_inset Flex Code
20708 status collapsed
20709
20710 \begin_layout Plain Layout
20711 HTMLStyle
20712 \end_layout
20713
20714 \end_inset
20715
20716 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
20717 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
20718 \begin_inset Flex Code
20719 status collapsed
20720
20721 \begin_layout Plain Layout
20722 1
20723 \end_layout
20724
20725 \end_inset
20726
20727 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
20728 \begin_inset Flex Code
20729 status collapsed
20730
20731 \begin_layout Plain Layout
20732 0
20733 \end_layout
20734
20735 \end_inset
20736
20737 です.
20738 \end_layout
20739
20740 \begin_layout Description
20741 \begin_inset Flex Code
20742 status collapsed
20743
20744 \begin_layout Plain Layout
20745 HTMLItem
20746 \end_layout
20747
20748 \end_inset
20749
20750  [
20751 \begin_inset Flex Code
20752 status collapsed
20753
20754 \begin_layout Plain Layout
20755 文字列
20756 \end_layout
20757
20758 \end_inset
20759
20760 ] 環境の段落に使用されるタグ.上記各例の
20761 \begin_inset Flex Code
20762 status collapsed
20763
20764 \begin_layout Plain Layout
20765 itemtag
20766 \end_layout
20767
20768 \end_inset
20769
20770 を置き換えます.既定値は
20771 \begin_inset Flex Code
20772 status collapsed
20773
20774 \begin_layout Plain Layout
20775 div
20776 \end_layout
20777
20778 \end_inset
20779
20780 です.
20781 \end_layout
20782
20783 \begin_layout Description
20784 \begin_inset Flex Code
20785 status collapsed
20786
20787 \begin_layout Plain Layout
20788 HTMLItemAttr
20789 \end_layout
20790
20791 \end_inset
20792
20793  [
20794 \begin_inset Flex Code
20795 status collapsed
20796
20797 \begin_layout Plain Layout
20798 文字列
20799 \end_layout
20800
20801 \end_inset
20802
20803 ] itemタグの属性.既定値は
20804 \begin_inset Flex Code
20805 status collapsed
20806
20807 \begin_layout Plain Layout
20808 class=`レイアウト名_item'
20809 \end_layout
20810
20811 \end_inset
20812
20813 です.ここには,様式情報は含まれては
20814 \emph on
20815 なりません
20816 \emph default
20817 .その目的のためには,
20818 \begin_inset Flex Code
20819 status collapsed
20820
20821 \begin_layout Plain Layout
20822 HTMLStyle
20823 \end_layout
20824
20825 \end_inset
20826
20827 を使用してください.
20828 \end_layout
20829
20830 \begin_layout Description
20831 \begin_inset Flex Code
20832 status collapsed
20833
20834 \begin_layout Plain Layout
20835 HTMLLabel
20836 \end_layout
20837
20838 \end_inset
20839
20840  [
20841 \begin_inset Flex Code
20842 status collapsed
20843
20844 \begin_layout Plain Layout
20845 文字列
20846 \end_layout
20847
20848 \end_inset
20849
20850 ] 段落と項目ラベルに使用されるタグ.上記各例の
20851 \begin_inset Flex Code
20852 status collapsed
20853
20854 \begin_layout Plain Layout
20855 labeltag
20856 \end_layout
20857
20858 \end_inset
20859
20860 を置き換えます.
20861 \begin_inset Flex Code
20862 status collapsed
20863
20864 \begin_layout Plain Layout
20865 LabelType
20866 \end_layout
20867
20868 \end_inset
20869
20870
20871 \begin_inset Flex Code
20872 status collapsed
20873
20874 \begin_layout Plain Layout
20875 Top_Environment
20876 \end_layout
20877
20878 \end_inset
20879
20880
20881 \begin_inset Flex Code
20882 status collapsed
20883
20884 \begin_layout Plain Layout
20885 Centered_Top_Environment
20886 \end_layout
20887
20888 \end_inset
20889
20890 の時は,既定値は
20891 \begin_inset Flex Code
20892 status collapsed
20893
20894 \begin_layout Plain Layout
20895 div
20896 \end_layout
20897
20898 \end_inset
20899
20900 ですが,それ以外の時の既定値は
20901 \begin_inset Flex Code
20902 status collapsed
20903
20904 \begin_layout Plain Layout
20905 span
20906 \end_layout
20907
20908 \end_inset
20909
20910 です.
20911 \end_layout
20912
20913 \begin_layout Description
20914 \begin_inset Flex Code
20915 status collapsed
20916
20917 \begin_layout Plain Layout
20918 HTMLLabelAttr
20919 \end_layout
20920
20921 \end_inset
20922
20923  [
20924 \begin_inset Flex Code
20925 status collapsed
20926
20927 \begin_layout Plain Layout
20928 文字列
20929 \end_layout
20930
20931 \end_inset
20932
20933 ] labelタグの属性.既定値は
20934 \begin_inset Flex Code
20935 status collapsed
20936
20937 \begin_layout Plain Layout
20938 class=`レイアウト名_label'
20939 \end_layout
20940
20941 \end_inset
20942
20943 です.ここには,様式情報は含まれては
20944 \emph on
20945 なりません
20946 \emph default
20947 .その目的のためには,
20948 \begin_inset Flex Code
20949 status collapsed
20950
20951 \begin_layout Plain Layout
20952 HTMLStyle
20953 \end_layout
20954
20955 \end_inset
20956
20957 を使用してください.
20958 \end_layout
20959
20960 \begin_layout Description
20961 \begin_inset Flex Code
20962 status collapsed
20963
20964 \begin_layout Plain Layout
20965 HTMLLabelFirst
20966 \end_layout
20967
20968 \end_inset
20969
20970  [
20971 \begin_inset Flex Code
20972 status collapsed
20973
20974 \begin_layout Plain Layout
20975
20976 \emph on
20977 0
20978 \emph default
20979 ,1
20980 \end_layout
20981
20982 \end_inset
20983
20984 ] このタグは,リスト関係環境でのみ意味を持ち,labelタグが,itemタグの前に出力されるか,中に出力されるかを制御します.これは,たとえば,descrip
20985 tion環境の中で,
20986 \begin_inset Flex Code
20987 status collapsed
20988
20989 \begin_layout Plain Layout
20990 `<dt>\SpecialChar ldots
20991 </dt><dd>\SpecialChar ldots
20992 </dd>
20993 \end_layout
20994
20995 \end_inset
20996
20997 という形を得るために使用されます.既定値は
20998 \begin_inset Flex Code
20999 status collapsed
21000
21001 \begin_layout Plain Layout
21002 0
21003 \end_layout
21004
21005 \end_inset
21006
21007 で,labelタグはitemタグの中に出力されます.
21008 \end_layout
21009
21010 \begin_layout Description
21011 \begin_inset Flex Code
21012 status collapsed
21013
21014 \begin_layout Plain Layout
21015 HTMLPreamble
21016 \end_layout
21017
21018 \end_inset
21019
21020  この様式が使用されたときに,
21021 \begin_inset Flex Code
21022 status collapsed
21023
21024 \begin_layout Plain Layout
21025 <head>
21026 \end_layout
21027
21028 \end_inset
21029
21030 セクションに出力される情報.これは,たとえば,
21031 \begin_inset Flex Code
21032 status collapsed
21033
21034 \begin_layout Plain Layout
21035 onclick
21036 \end_layout
21037
21038 \end_inset
21039
21040 ハンドラを定義するために
21041 \begin_inset Flex Code
21042 status collapsed
21043
21044 \begin_layout Plain Layout
21045 <script>
21046 \end_layout
21047
21048 \end_inset
21049
21050 ブロックをインクルードするのに使用することができます.
21051 \end_layout
21052
21053 \begin_layout Description
21054 \begin_inset Flex Code
21055 status collapsed
21056
21057 \begin_layout Plain Layout
21058 HTMLStyle
21059 \end_layout
21060
21061 \end_inset
21062
21063   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21064 \begin_inset Flex Code
21065 status collapsed
21066
21067 \begin_layout Plain Layout
21068 <style>
21069 \end_layout
21070
21071 \end_inset
21072
21073 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21074 \begin_inset Flex Code
21075 status collapsed
21076
21077 \begin_layout Plain Layout
21078 EndHTMLStyle
21079 \end_layout
21080
21081 \end_inset
21082
21083 で閉じなくてはなりません.
21084 \end_layout
21085
21086 \begin_layout Description
21087 \begin_inset Flex Code
21088 status collapsed
21089
21090 \begin_layout Plain Layout
21091 HTMLTag
21092 \end_layout
21093
21094 \end_inset
21095
21096  [
21097 \begin_inset Flex Code
21098 status collapsed
21099
21100 \begin_layout Plain Layout
21101 文字列
21102 \end_layout
21103
21104 \end_inset
21105
21106 ] 主幹ラベルに使用されるタグ.上記各例の
21107 \begin_inset Flex Code
21108 status collapsed
21109
21110 \begin_layout Plain Layout
21111 tag
21112 \end_layout
21113
21114 \end_inset
21115
21116 を置き換えます.既定値は
21117 \begin_inset Flex Code
21118 status collapsed
21119
21120 \begin_layout Plain Layout
21121 div
21122 \end_layout
21123
21124 \end_inset
21125
21126 です.
21127 \end_layout
21128
21129 \begin_layout Description
21130 \begin_inset Flex Code
21131 status collapsed
21132
21133 \begin_layout Plain Layout
21134 HTMLTitle
21135 \end_layout
21136
21137 \end_inset
21138
21139  [
21140 \begin_inset Flex Code
21141 status collapsed
21142
21143 \begin_layout Plain Layout
21144
21145 \emph on
21146 0
21147 \emph default
21148 ,1
21149 \end_layout
21150
21151 \end_inset
21152
21153 ] この様式が,XHTMLファイルの
21154 \begin_inset Flex Code
21155 status collapsed
21156
21157 \begin_layout Plain Layout
21158 <title>
21159 \end_layout
21160
21161 \end_inset
21162
21163 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
21164 \begin_inset Flex Code
21165 status collapsed
21166
21167 \begin_layout Plain Layout
21168 stdtitle.inc
21169 \end_layout
21170
21171 \end_inset
21172
21173 ファイルでは,
21174 \begin_inset Flex Code
21175 status collapsed
21176
21177 \begin_layout Plain Layout
21178 title
21179 \end_layout
21180
21181 \end_inset
21182
21183 環境のこの項目を真に設定しています.
21184 \end_layout
21185
21186 \begin_layout Subsection
21187 差込枠レイアウトXHTML
21188 \end_layout
21189
21190 \begin_layout Standard
21191 差込枠のXHTML出力も,レイアウトファイル内の情報によって制御することができます
21192 \begin_inset Foot
21193 status collapsed
21194
21195 \begin_layout Plain Layout
21196 現在のところ,これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されませ
21197 ん.
21198 \end_layout
21199
21200 \end_inset
21201
21202 .ここでも,\SpecialChar LyX
21203 は適切な既定値を提供しようと試み,既定のCSS様式を構成します.しかし,すべてカスタマイズ可能です.
21204 \end_layout
21205
21206 \begin_layout Standard
21207 \SpecialChar LyX
21208 が差込枠用に出力するXHTMLは,以下の形を取ります.
21209 \end_layout
21210
21211 \begin_layout LyX-Code
21212 <tag attr=
21213 \begin_inset Quotes erd
21214 \end_inset
21215
21216 value
21217 \begin_inset Quotes erd
21218 \end_inset
21219
21220 >
21221 \end_layout
21222
21223 \begin_layout LyX-Code
21224 <labeltag>ラベル</labeltag>
21225 \end_layout
21226
21227 \begin_layout LyX-Code
21228 <innertag attr=
21229 \begin_inset Quotes erd
21230 \end_inset
21231
21232 value
21233 \begin_inset Quotes erd
21234 \end_inset
21235
21236 >差込枠の内容.</innertag>
21237 \end_layout
21238
21239 \begin_layout LyX-Code
21240 </tag>
21241 \end_layout
21242
21243 \begin_layout Standard
21244 差込枠が多段落を許可している—つまり
21245 \begin_inset Flex Code
21246 status collapsed
21247
21248 \begin_layout Plain Layout
21249 MultiPar
21250 \end_layout
21251
21252 \end_inset
21253
21254 が真—ならば,差込枠の内容は,それ自身段落として出力され,それらの段落に用いられる様式(標準,引用など)を用いて整形されます.もちろん,段落にラベルがなければ,
21255 labelタグは省略され,ラベルがあれば,現在のところ,つねに
21256 \begin_inset Flex Code
21257 status collapsed
21258
21259 \begin_layout Plain Layout
21260 span
21261 \end_layout
21262
21263 \end_inset
21264
21265 が用いられます.innerタグは非必須であり,既定では出力されません.各差込枠用に出力される特定のタグや属性は,以下のレイアウトタグによって制御することができま
21266 す.
21267 \end_layout
21268
21269 \begin_layout Description
21270 \begin_inset Flex Code
21271 status collapsed
21272
21273 \begin_layout Plain Layout
21274 HTMLAttr
21275 \end_layout
21276
21277 \end_inset
21278
21279  [
21280 \begin_inset Flex Code
21281 status collapsed
21282
21283 \begin_layout Plain Layout
21284 文字列
21285 \end_layout
21286
21287 \end_inset
21288
21289 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21290 \begin_inset Flex Code
21291 status collapsed
21292
21293 \begin_layout Plain Layout
21294 class=`myinset' onclick=`\SpecialChar ldots
21295 '
21296 \end_layout
21297
21298 \end_inset
21299
21300 」のようなものです.既定においては,\SpecialChar LyX
21301 は「
21302 \begin_inset Flex Code
21303 status collapsed
21304
21305 \begin_layout Plain Layout
21306 class=`差込枠名'
21307 \end_layout
21308
21309 \end_inset
21310
21311 」と出力します.ここで
21312 \begin_inset Flex Code
21313 status collapsed
21314
21315 \begin_layout Plain Layout
21316 差込枠名
21317 \end_layout
21318
21319 \end_inset
21320
21321 は,差込枠の\SpecialChar LyX
21322 名であり,小文字で記述します.アルファベットや数字以外の文字は,アンダースコアに置き換えられます.
21323 \end_layout
21324
21325 \begin_layout Description
21326 \begin_inset Flex Code
21327 status collapsed
21328
21329 \begin_layout Plain Layout
21330 HTMLForceCSS
21331 \end_layout
21332
21333 \end_inset
21334
21335  [
21336 \begin_inset Flex Code
21337 status collapsed
21338
21339 \begin_layout Plain Layout
21340
21341 \emph on
21342 0
21343 \emph default
21344 ,1
21345 \end_layout
21346
21347 \end_inset
21348
21349 ] 
21350 \begin_inset Flex Code
21351 status collapsed
21352
21353 \begin_layout Plain Layout
21354 HTMLStyle
21355 \end_layout
21356
21357 \end_inset
21358
21359 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
21360 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
21361 \begin_inset Flex Code
21362 status collapsed
21363
21364 \begin_layout Plain Layout
21365 1
21366 \end_layout
21367
21368 \end_inset
21369
21370 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
21371 \begin_inset Flex Code
21372 status collapsed
21373
21374 \begin_layout Plain Layout
21375 0
21376 \end_layout
21377
21378 \end_inset
21379
21380 です.
21381 \end_layout
21382
21383 \begin_layout Description
21384 \begin_inset Flex Code
21385 status collapsed
21386
21387 \begin_layout Plain Layout
21388 HTMLInnerAttr
21389 \end_layout
21390
21391 \end_inset
21392
21393  [
21394 \begin_inset Flex Code
21395 status collapsed
21396
21397 \begin_layout Plain Layout
21398 文字列
21399 \end_layout
21400
21401 \end_inset
21402
21403 ] innerタグの属性.既定値は
21404 \begin_inset Flex Code
21405 status collapsed
21406
21407 \begin_layout Plain Layout
21408 class=`差込枠名_inner'
21409 \end_layout
21410
21411 \end_inset
21412
21413 です.
21414 \end_layout
21415
21416 \begin_layout Description
21417 \begin_inset Flex Code
21418 status collapsed
21419
21420 \begin_layout Plain Layout
21421 HTMLInnerTag
21422 \end_layout
21423
21424 \end_inset
21425
21426  [
21427 \begin_inset Flex Code
21428 status collapsed
21429
21430 \begin_layout Plain Layout
21431 文字列
21432 \end_layout
21433
21434 \end_inset
21435
21436 ] innerタグです.上記各例の
21437 \begin_inset Flex Code
21438 status collapsed
21439
21440 \begin_layout Plain Layout
21441 innertag
21442 \end_layout
21443
21444 \end_inset
21445
21446 を置き換えます.既定値はなしです.
21447 \end_layout
21448
21449 \begin_layout Description
21450 \begin_inset Flex Code
21451 status collapsed
21452
21453 \begin_layout Plain Layout
21454 HTMLIsBlock
21455 \end_layout
21456
21457 \end_inset
21458
21459  [
21460 \begin_inset Flex Code
21461 status collapsed
21462
21463 \begin_layout Plain Layout
21464 0,
21465 \emph on
21466 1
21467 \end_layout
21468
21469 \end_inset
21470
21471 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,それとも,(派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
21472 \end_layout
21473
21474 \begin_layout Description
21475 \begin_inset Flex Code
21476 status collapsed
21477
21478 \begin_layout Plain Layout
21479 HTMLLabel
21480 \end_layout
21481
21482 \end_inset
21483
21484  [
21485 \begin_inset Flex Code
21486 status collapsed
21487
21488 \begin_layout Plain Layout
21489 文字列
21490 \end_layout
21491
21492 \end_inset
21493
21494 ] 場合によっては,カウンタへの参照を含む,この差込枠のラベル.たとえば,脚註用には
21495 \begin_inset Flex Code
21496 status collapsed
21497
21498 \begin_layout Plain Layout
21499
21500 \backslash
21501 arabic{footnote}
21502 \end_layout
21503
21504 \end_inset
21505
21506 など.これは非必須であり,既定値はありません.
21507 \end_layout
21508
21509 \begin_layout Description
21510 \begin_inset Flex Code
21511 status collapsed
21512
21513 \begin_layout Plain Layout
21514 HTMLPreamble
21515 \end_layout
21516
21517 \end_inset
21518
21519  この様式が使用されたときに,
21520 \begin_inset Flex Code
21521 status collapsed
21522
21523 \begin_layout Plain Layout
21524 <head>
21525 \end_layout
21526
21527 \end_inset
21528
21529 セクションに出力される情報.これは,たとえば,
21530 \begin_inset Flex Code
21531 status collapsed
21532
21533 \begin_layout Plain Layout
21534 onclick
21535 \end_layout
21536
21537 \end_inset
21538
21539 ハンドラを定義するために
21540 \begin_inset Flex Code
21541 status collapsed
21542
21543 \begin_layout Plain Layout
21544 <script>
21545 \end_layout
21546
21547 \end_inset
21548
21549 ブロックをインクルードするのに使用することができます.
21550 \end_layout
21551
21552 \begin_layout Description
21553 \begin_inset Flex Code
21554 status collapsed
21555
21556 \begin_layout Plain Layout
21557 HTMLStyle
21558 \end_layout
21559
21560 \end_inset
21561
21562   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21563 \begin_inset Flex Code
21564 status collapsed
21565
21566 \begin_layout Plain Layout
21567 <style>
21568 \end_layout
21569
21570 \end_inset
21571
21572 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21573 \end_layout
21574
21575 \begin_layout Description
21576 \begin_inset Flex Code
21577 status collapsed
21578
21579 \begin_layout Plain Layout
21580 HTMLTag
21581 \end_layout
21582
21583 \end_inset
21584
21585  [
21586 \begin_inset Flex Code
21587 status collapsed
21588
21589 \begin_layout Plain Layout
21590 文字列
21591 \end_layout
21592
21593 \end_inset
21594
21595 ] 主幹ラベルに使用されるタグ.上記各例の
21596 \begin_inset Flex Code
21597 status collapsed
21598
21599 \begin_layout Plain Layout
21600 tag
21601 \end_layout
21602
21603 \end_inset
21604
21605 を置き換えます.既定値は
21606 \begin_inset Flex Code
21607 status collapsed
21608
21609 \begin_layout Plain Layout
21610 MultiPar
21611 \end_layout
21612
21613 \end_inset
21614
21615 の設定に依存し,
21616 \begin_inset Flex Code
21617 status collapsed
21618
21619 \begin_layout Plain Layout
21620 MultiPar
21621 \end_layout
21622
21623 \end_inset
21624
21625 が真ならば
21626 \begin_inset Flex Code
21627 status collapsed
21628
21629 \begin_layout Plain Layout
21630 div
21631 \end_layout
21632
21633 \end_inset
21634
21635 ,偽ならば
21636 \begin_inset Flex Code
21637 status collapsed
21638
21639 \begin_layout Plain Layout
21640 span
21641 \end_layout
21642
21643 \end_inset
21644
21645 です.
21646 \end_layout
21647
21648 \begin_layout Subsection
21649 フロートXHTML
21650 \end_layout
21651
21652 \begin_layout Standard
21653 フロートのXHTML出力も,レイアウトファイル内の情報によって制御することができます.出力は,以下の形を取ります.
21654 \end_layout
21655
21656 \begin_layout LyX-Code
21657 <tag attr=
21658 \begin_inset Quotes erd
21659 \end_inset
21660
21661 value
21662 \begin_inset Quotes erd
21663 \end_inset
21664
21665 >
21666 \end_layout
21667
21668 \begin_layout LyX-Code
21669 フロートの内容.
21670 \end_layout
21671
21672 \begin_layout LyX-Code
21673 </tag>
21674 \end_layout
21675
21676 \begin_layout Standard
21677 キャプションは,存在している場合には,独立した差込枠となり,そのような形で出力されます.その外観は,キャプション差込枠のInsetLayoutで制御することがで
21678 きます.
21679 \end_layout
21680
21681 \begin_layout Description
21682 \begin_inset Flex Code
21683 status collapsed
21684
21685 \begin_layout Plain Layout
21686 HTMLAttr
21687 \end_layout
21688
21689 \end_inset
21690
21691  [
21692 \begin_inset Flex Code
21693 status collapsed
21694
21695 \begin_layout Plain Layout
21696 文字列
21697 \end_layout
21698
21699 \end_inset
21700
21701 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21702 \begin_inset Flex Code
21703 status collapsed
21704
21705 \begin_layout Plain Layout
21706 class=`myfloat' onclick=`\SpecialChar ldots
21707 '
21708 \end_layout
21709
21710 \end_inset
21711
21712 」のようなものです.既定においては,\SpecialChar LyX
21713 は「
21714 \begin_inset Flex Code
21715 status collapsed
21716
21717 \begin_layout Plain Layout
21718 class=`float フロート-フロート型'
21719 \end_layout
21720
21721 \end_inset
21722
21723 」と出力します.ここで
21724 \begin_inset Flex Code
21725 status collapsed
21726
21727 \begin_layout Plain Layout
21728 フロート型
21729 \end_layout
21730
21731 \end_inset
21732
21733 は,フロート宣言で定義された(
21734 \begin_inset CommandInset ref
21735 LatexCommand ref
21736 reference "subsec:フロート"
21737
21738 \end_inset
21739
21740 参照),この型のフロートの\SpecialChar LyX
21741 名です.ただし,これは小文字に変換され,アルファベットや数字でない文字はアンダースコアに変換されます.例:float-table.
21742 \end_layout
21743
21744 \begin_layout Description
21745 \begin_inset Flex Code
21746 status collapsed
21747
21748 \begin_layout Plain Layout
21749 HTMLStyle
21750 \end_layout
21751
21752 \end_inset
21753
21754   このフロートが使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21755 \begin_inset Flex Code
21756 status collapsed
21757
21758 \begin_layout Plain Layout
21759 <style>
21760 \end_layout
21761
21762 \end_inset
21763
21764 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21765 \end_layout
21766
21767 \begin_layout Description
21768 \begin_inset Flex Code
21769 status collapsed
21770
21771 \begin_layout Plain Layout
21772 HTMLTag
21773 \end_layout
21774
21775 \end_inset
21776
21777  [
21778 \begin_inset Flex Code
21779 status collapsed
21780
21781 \begin_layout Plain Layout
21782 文字列
21783 \end_layout
21784
21785 \end_inset
21786
21787 ] このフロートに使用されるタグ.上記各例の
21788 \begin_inset Flex Code
21789 status collapsed
21790
21791 \begin_layout Plain Layout
21792 tag
21793 \end_layout
21794
21795 \end_inset
21796
21797 を置き換えます.既定値は
21798 \begin_inset Flex Code
21799 status collapsed
21800
21801 \begin_layout Plain Layout
21802 div
21803 \end_layout
21804
21805 \end_inset
21806
21807 であり,ほとんどの場合変更する必要はありません.
21808 \end_layout
21809
21810 \begin_layout Subsection
21811 書誌情報の整形
21812 \end_layout
21813
21814 \begin_layout Standard
21815 書誌情報は,
21816 \begin_inset Flex Code
21817 status collapsed
21818
21819 \begin_layout Plain Layout
21820 CiteFormat
21821 \end_layout
21822
21823 \end_inset
21824
21825 ブロックを使用して整形することができます.詳細については,
21826 \begin_inset CommandInset ref
21827 LatexCommand ref
21828 reference "subsec:引用書式指定"
21829
21830 \end_inset
21831
21832 を参照してください.
21833 \end_layout
21834
21835 \begin_layout Subsection
21836 \SpecialChar LyX
21837 が生成したCSS
21838 \end_layout
21839
21840 \begin_layout Standard
21841 \SpecialChar LyX
21842 は,提供されている他のレイアウト情報に基づいて,差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,これまでに何度か触れました.この節では,\SpecialChar LyX
21843
21844 がどのレイアウト情報を,どのように使うのか,ひとこと述べておきたいと思います.
21845 \end_layout
21846
21847 \begin_layout Standard
21848 \SpecialChar LyX
21849 は,現在のところ,
21850 \begin_inset Flex Code
21851 status collapsed
21852
21853 \begin_layout Plain Layout
21854 Font
21855 \end_layout
21856
21857 \end_inset
21858
21859 宣言で指定されている
21860 \begin_inset Flex Code
21861 status collapsed
21862
21863 \begin_layout Plain Layout
21864 Family
21865 \end_layout
21866
21867 \end_inset
21868
21869
21870 \begin_inset Flex Code
21871 status collapsed
21872
21873 \begin_layout Plain Layout
21874 Series
21875 \end_layout
21876
21877 \end_inset
21878
21879
21880 \begin_inset Flex Code
21881 status collapsed
21882
21883 \begin_layout Plain Layout
21884 Shape
21885 \end_layout
21886
21887 \end_inset
21888
21889
21890 \begin_inset Flex Code
21891 status collapsed
21892
21893 \begin_layout Plain Layout
21894 Size
21895 \end_layout
21896
21897 \end_inset
21898
21899 を利用して,フォント情報についてのみCSSを自動生成します(
21900 \begin_inset CommandInset ref
21901 LatexCommand ref
21902 reference "subsec:フォント指定"
21903
21904 \end_inset
21905
21906 を参照).この変換は,きわめて分かりやすく自明です.たとえば,「
21907 \begin_inset Flex Code
21908 status collapsed
21909
21910 \begin_layout Plain Layout
21911 Family Sans
21912 \end_layout
21913
21914 \end_inset
21915
21916 」は「
21917 \begin_inset Flex Code
21918 status collapsed
21919
21920 \begin_layout Plain Layout
21921 font-family: sans-serif
21922 \end_layout
21923
21924 \end_inset
21925
21926 」になります.\SpecialChar LyX
21927 の寸法とCSSの寸法のあいだの対応は,少し複雑ですが,それでも直感的に分かります.詳細については,
21928 \begin_inset Flex URL
21929 status collapsed
21930
21931 \begin_layout Plain Layout
21932
21933 src/FontInfo.cpp
21934 \end_layout
21935
21936 \end_inset
21937
21938
21939 \begin_inset Flex Code
21940 status collapsed
21941
21942 \begin_layout Plain Layout
21943 getSizeCSS()
21944 \end_layout
21945
21946 \end_inset
21947
21948 関数をご覧ください.
21949 \end_layout
21950
21951 \begin_layout Chapter
21952 外部素材を取り込む
21953 \begin_inset CommandInset label
21954 LatexCommand label
21955 name "chap:外部素材を取り込む"
21956
21957 \end_inset
21958
21959
21960 \end_layout
21961
21962 \begin_layout Standard
21963 \begin_inset Box Shadowbox
21964 position "t"
21965 hor_pos "c"
21966 has_inner_box 1
21967 inner_pos "t"
21968 use_parbox 0
21969 use_makebox 0
21970 width "100col%"
21971 special "none"
21972 height "1in"
21973 height_special "totalheight"
21974 thickness "0.4pt"
21975 separation "3pt"
21976 shadowsize "4pt"
21977 framecolor "black"
21978 backgroundcolor "none"
21979 status open
21980
21981 \begin_layout Plain Layout
21982 【警告】本説明書のこの部分は,しばらく更新されていません.もちろんまだ正確であることを期待していますが,保証の限りではありません.
21983 \end_layout
21984
21985 \end_inset
21986
21987
21988 \end_layout
21989
21990 \begin_layout Standard
21991 \SpecialChar LyX
21992 外部のソースから素材を使用する方法は,取扱説明書『
21993 \emph on
21994 埋込オブジェクト篇
21995 \emph default
21996 』で詳細にカバーされています.本章は,新種の素材を取り込む際に,舞台裏で何をする必要があるかをカバーします.
21997 \end_layout
21998
21999 \begin_layout Section
22000 どのように機能するのか
22001 \end_layout
22002
22003 \begin_layout Standard
22004 外部素材の機能は,ひな型の概念に基づいています.ひな型は,\SpecialChar LyX
22005 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,\SpecialChar LyX
22006 は,Xfigの図や,様々
22007 なラスター形式画像,チェス棋譜,LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
22008 \begin_inset Flex MenuItem
22009 status collapsed
22010
22011 \begin_layout Plain Layout
22012 挿入\SpecialChar menuseparator
22013 ファイル\SpecialChar menuseparator
22014 外部素材
22015 \end_layout
22016
22017 \end_inset
22018
22019 メニューで見ることができます.さらに,特定の型の素材をサポートするのに,自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しま
22020 すが,できればあなたが作ったすべてのひな型を投稿して,我々が\SpecialChar LyX
22021 の後の版に取り込むことができるようにしてくださることを希望します.
22022 \end_layout
22023
22024 \begin_layout Standard
22025 外部素材の機能におけるもう一つの基本的な発想は,最終素材の元となるオリジナルファイルと,書き出された文書や印刷された文書に取り込むための生成ファイルとを区別して
22026 いることです.たとえば,
22027 \begin_inset Flex Code
22028 status collapsed
22029
22030 \begin_layout Plain Layout
22031 Xfig
22032 \end_layout
22033
22034 \end_inset
22035
22036 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
22037 \begin_inset Flex Code
22038 status collapsed
22039
22040 \begin_layout Plain Layout
22041 .fig
22042 \end_layout
22043
22044 \end_inset
22045
22046 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,作業が終われば
22047 \begin_inset Flex Code
22048 status collapsed
22049
22050 \begin_layout Plain Layout
22051 fig
22052 \end_layout
22053
22054 \end_inset
22055
22056 ファイルに保存します.この図をお使いの文書に取り込みたいときには,\SpecialChar LaTeX
22057 ファイルにそのままインクルードできるように,
22058 \begin_inset Flex Code
22059 status collapsed
22060
22061 \begin_layout Plain Layout
22062 transfig
22063 \end_layout
22064
22065 \end_inset
22066
22067 を呼び出してPostScriptファイルを生成します.この場合には,
22068 \begin_inset Flex Code
22069 status collapsed
22070
22071 \begin_layout Plain Layout
22072 .fig
22073 \end_layout
22074
22075 \end_inset
22076
22077 ファイルがオリジナルファイルであり,PostScriptファイルが生成ファイルになります.
22078 \end_layout
22079
22080 \begin_layout Standard
22081 この区別は,文書を執筆している最中に,素材を更新することができるようにするために重要です.さらに,これによって,複数の書き出し書式をサポートするために必要な柔軟
22082 性が提供されます.たとえば,平文テキストファイルの場合には,図を生のPostScriptファイルとして取り込むのは,とても褒められた発想とはいえません.むしろ,
22083 その図への参照だけを含めるか,最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
22084 の外部素材マネジメントは
22085 ,\SpecialChar LyX
22086 がサポートする各書き出し書式別に仕分けしているので,ユーザがこれを行うことが可能となっています.
22087 \end_layout
22088
22089 \begin_layout Standard
22090 \SpecialChar LyX
22091 の外部素材マネジメントは,書き出し書式によって異なる生成物をサポートすることの他に,編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図
22092 の場合には,\SpecialChar LyX
22093 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,ダブルクリックすることで生成されたPostScriptファイ
22094 ルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファ
22095 イルブラウザをいじくり回す必要はないのです.このようにして,文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,最終的により生産性を上げることが
22096 できるようになるのです.
22097 \end_layout
22098
22099 \begin_layout Section
22100 外用ひな型設定ファイル
22101 \end_layout
22102
22103 \begin_layout Standard
22104 \SpecialChar LyX
22105 に自製の外用ひな型を付け加えるのは,比較的簡単です.しかしながら,これを不用心に行ってしまうと,たいていの場合,簡単に濫用されてしまうようなセキュリティホールを
22106 作ってしまいがちであることを心に留めておいてください.したがって,これを実行に移す前に,
22107 \begin_inset CommandInset ref
22108 LatexCommand ref
22109 reference "sec:セキュリティに関する論点"
22110
22111 \end_inset
22112
22113 のセキュリティに関する議論を読んでおいてください.
22114 \end_layout
22115
22116 \begin_layout Standard
22117 このことに言及した上で,あなたが作成した面白いひな型は,ぜひ投稿してください.
22118 \end_layout
22119
22120 \begin_layout Standard
22121 外用ひな型ファイルは,
22122 \begin_inset Flex Code
22123 status collapsed
22124
22125 \begin_layout Plain Layout
22126 LyXDir/lib/xtemplates/
22127 \end_layout
22128
22129 \end_inset
22130
22131 ディレクトリ中にある
22132 \begin_inset Flex Code
22133 status collapsed
22134
22135 \begin_layout Plain Layout
22136 *.xtemplate
22137 \end_layout
22138
22139 \end_inset
22140
22141 ファイルに定義されています.各ひな型は,そのファイル完結で定義されています.自分専用のひな型を
22142 \begin_inset Flex Code
22143 status collapsed
22144
22145 \begin_layout Plain Layout
22146 UserDir/xtemplates/
22147 \end_layout
22148
22149 \end_inset
22150
22151 に置くこともできますし,既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
22152 \end_layout
22153
22154 \begin_layout Standard
22155 典型的なひな型は以下のようになります.
22156 \end_layout
22157
22158 \begin_layout LyX-Code
22159 Template XFig
22160 \end_layout
22161
22162 \begin_layout LyX-Code
22163 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22164 \end_layout
22165
22166 \begin_layout LyX-Code
22167 HelpText
22168 \end_layout
22169
22170 \begin_layout LyX-Code
22171 An XFig figure.
22172 \end_layout
22173
22174 \begin_layout LyX-Code
22175 HelpTextEnd
22176 \end_layout
22177
22178 \begin_layout LyX-Code
22179 InputFormat fig
22180 \end_layout
22181
22182 \begin_layout LyX-Code
22183 FileFilter "*.fig"
22184 \end_layout
22185
22186 \begin_layout LyX-Code
22187 AutomaticProduction true
22188 \end_layout
22189
22190 \begin_layout LyX-Code
22191 Transform Rotate
22192 \end_layout
22193
22194 \begin_layout LyX-Code
22195 Transform Resize
22196 \end_layout
22197
22198 \begin_layout LyX-Code
22199 Format LaTeX
22200 \end_layout
22201
22202 \begin_layout LyX-Code
22203 TransformCommand Rotate RotationLatexCommand
22204 \end_layout
22205
22206 \begin_layout LyX-Code
22207 TransformCommand Resize ResizeLatexCommand
22208 \end_layout
22209
22210 \begin_layout LyX-Code
22211 Product "$$RotateFront$$ResizeFront
22212 \end_layout
22213
22214 \begin_layout LyX-Code
22215          
22216 \backslash
22217
22218 \backslash
22219 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22220 \end_layout
22221
22222 \begin_layout LyX-Code
22223          $$ResizeBack$$RotateBack"
22224 \end_layout
22225
22226 \begin_layout LyX-Code
22227 UpdateFormat pstex
22228 \end_layout
22229
22230 \begin_layout LyX-Code
22231 UpdateResult "$$AbsPath$$Basename.pstex_t"
22232 \end_layout
22233
22234 \begin_layout LyX-Code
22235 Requirement "graphicx"
22236 \end_layout
22237
22238 \begin_layout LyX-Code
22239 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22240 \end_layout
22241
22242 \begin_layout LyX-Code
22243 ReferencedFile latex "$$AbsPath$$Basename.eps"
22244 \end_layout
22245
22246 \begin_layout LyX-Code
22247 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22248 \end_layout
22249
22250 \begin_layout LyX-Code
22251 FormatEnd
22252 \end_layout
22253
22254 \begin_layout LyX-Code
22255 Format PDFLaTeX
22256 \end_layout
22257
22258 \begin_layout LyX-Code
22259 TransformCommand Rotate RotationLatexCommand
22260 \end_layout
22261
22262 \begin_layout LyX-Code
22263 TransformCommand Resize ResizeLatexCommand
22264 \end_layout
22265
22266 \begin_layout LyX-Code
22267 Product "$$RotateFront$$ResizeFront
22268 \end_layout
22269
22270 \begin_layout LyX-Code
22271          
22272 \backslash
22273
22274 \backslash
22275 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22276 \end_layout
22277
22278 \begin_layout LyX-Code
22279          $$ResizeBack$$RotateBack"
22280 \end_layout
22281
22282 \begin_layout LyX-Code
22283 UpdateFormat pdftex
22284 \end_layout
22285
22286 \begin_layout LyX-Code
22287 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22288 \end_layout
22289
22290 \begin_layout LyX-Code
22291 Requirement "graphicx"
22292 \end_layout
22293
22294 \begin_layout LyX-Code
22295 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22296 \end_layout
22297
22298 \begin_layout LyX-Code
22299 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22300 \end_layout
22301
22302 \begin_layout LyX-Code
22303 FormatEnd
22304 \end_layout
22305
22306 \begin_layout LyX-Code
22307 Format Ascii
22308 \end_layout
22309
22310 \begin_layout LyX-Code
22311 Product "$$Contents(
22312 \backslash
22313 "$$AbsPath$$Basename.asc
22314 \backslash
22315 ")"
22316 \end_layout
22317
22318 \begin_layout LyX-Code
22319 UpdateFormat asciixfig
22320 \end_layout
22321
22322 \begin_layout LyX-Code
22323 UpdateResult "$$AbsPath$$Basename.asc"
22324 \end_layout
22325
22326 \begin_layout LyX-Code
22327 FormatEnd
22328 \end_layout
22329
22330 \begin_layout LyX-Code
22331 Format DocBook
22332 \end_layout
22333
22334 \begin_layout LyX-Code
22335 Product "<graphic fileref=
22336 \backslash
22337 "$$AbsOrRelPathMaster$$Basename.eps
22338 \backslash
22339 ">
22340 \end_layout
22341
22342 \begin_layout LyX-Code
22343          </graphic>"
22344 \end_layout
22345
22346 \begin_layout LyX-Code
22347 UpdateFormat eps
22348 \end_layout
22349
22350 \begin_layout LyX-Code
22351 UpdateResult "$$AbsPath$$Basename.eps"
22352 \end_layout
22353
22354 \begin_layout LyX-Code
22355 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22356 \end_layout
22357
22358 \begin_layout LyX-Code
22359 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22360 \end_layout
22361
22362 \begin_layout LyX-Code
22363 FormatEnd
22364 \end_layout
22365
22366 \begin_layout LyX-Code
22367 Product "[XFig: $$FName]"
22368 \end_layout
22369
22370 \begin_layout LyX-Code
22371 FormatEnd
22372 \end_layout
22373
22374 \begin_layout LyX-Code
22375 TemplateEnd
22376 \end_layout
22377
22378 \begin_layout Standard
22379 ご覧の通り,ひな型は
22380 \begin_inset Flex Code
22381 status collapsed
22382
22383 \begin_layout Plain Layout
22384 Template
22385 \end_layout
22386
22387 \end_inset
22388
22389  \SpecialChar ldots
22390  
22391 \begin_inset Flex Code
22392 status collapsed
22393
22394 \begin_layout Plain Layout
22395 TemplateEnd
22396 \end_layout
22397
22398 \end_inset
22399
22400 で閉じられます.ひな型には,一般的な設定を行うヘッダ部と,サポートされている主要な文書ファイル形式の設定を行う
22401 \begin_inset Flex Code
22402 status collapsed
22403
22404 \begin_layout Plain Layout
22405 Format
22406 \end_layout
22407
22408 \end_inset
22409
22410  \SpecialChar ldots
22411  
22412 \begin_inset Flex Code
22413 status collapsed
22414
22415 \begin_layout Plain Layout
22416 FormatEnd
22417 \end_layout
22418
22419 \end_inset
22420
22421 部があります.
22422 \end_layout
22423
22424 \begin_layout Subsection
22425 ひな型のヘッダ
22426 \end_layout
22427
22428 \begin_layout Description
22429 \begin_inset Flex Code
22430 status collapsed
22431
22432 \begin_layout Plain Layout
22433 AutomaticProduction
22434 \begin_inset space ~
22435 \end_inset
22436
22437 true|false
22438 \end_layout
22439
22440 \end_inset
22441
22442  このひな型で扱うファイルを\SpecialChar LyX
22443 が生成しなくてはならないか否か.このコマンドは,一度だけ必ず現れなくてはなりません.
22444 \end_layout
22445
22446 \begin_layout Description
22447 \begin_inset Flex Code
22448 status collapsed
22449
22450 \begin_layout Plain Layout
22451 FileFilter
22452 \begin_inset space ~
22453 \end_inset
22454
22455 <パターン>
22456 \end_layout
22457
22458 \end_inset
22459
22460  望むファイル群を表示するために,ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,tgifには
22461 \begin_inset Flex Code
22462 status collapsed
22463
22464 \begin_layout Plain Layout
22465 .obj
22466 \end_layout
22467
22468 \end_inset
22469
22470
22471 \begin_inset Flex Code
22472 status collapsed
22473
22474 \begin_layout Plain Layout
22475 .tgo
22476 \end_layout
22477
22478 \end_inset
22479
22480 があります),「
22481 \begin_inset Flex Code
22482 status collapsed
22483
22484 \begin_layout Plain Layout
22485 *.{obj,tgo}
22486 \end_layout
22487
22488 \end_inset
22489
22490 」の様なパターンを使用してください.このコマンドは,一度だけ必ず現れなくてはなりません.
22491 \end_layout
22492
22493 \begin_layout Description
22494 \begin_inset Flex Code
22495 status collapsed
22496
22497 \begin_layout Plain Layout
22498 GuiName
22499 \begin_inset space ~
22500 \end_inset
22501
22502 <GUI名>
22503 \end_layout
22504
22505 \end_inset
22506
22507  この文字列はボタン上に表示されます.このコマンドは,一度だけ必ず現れなくてはなりません.
22508 \end_layout
22509
22510 \begin_layout Description
22511 \begin_inset Flex Code
22512 status collapsed
22513
22514 \begin_layout Plain Layout
22515 HelpText
22516 \begin_inset space ~
22517 \end_inset
22518
22519 <文章>
22520 \begin_inset space ~
22521 \end_inset
22522
22523 HelpTextEnd
22524 \end_layout
22525
22526 \end_inset
22527
22528  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,一度だけ必
22529 ず現れなくてはなりません.
22530 \end_layout
22531
22532 \begin_layout Description
22533 \begin_inset Flex Code
22534 status collapsed
22535
22536 \begin_layout Plain Layout
22537 InputFormat
22538 \begin_inset space ~
22539 \end_inset
22540
22541 <書式>
22542 \end_layout
22543
22544 \end_inset
22545
22546  オリジナルファイルのファイル形式.これは,\SpecialChar LyX
22547 が知っている書式名でなくてはなりません(
22548 \begin_inset CommandInset ref
22549 LatexCommand ref
22550 reference "sec:ファイル形式"
22551
22552 \end_inset
22553
22554 参照).このひな型が,2つ以上の書式のオリジナルファイルを取り扱える場合は,「
22555 \begin_inset Flex Code
22556 status collapsed
22557
22558 \begin_layout Plain Layout
22559 *
22560 \end_layout
22561
22562 \end_inset
22563
22564 」を使用してください.この場合,\SpecialChar LyX
22565 はファイル形式を推定するために,ファイル自体に詮索を試みます.このコマンドは,一度だけ必ず現れなくてはなりません.
22566 \end_layout
22567
22568 \begin_layout Description
22569 \begin_inset Flex Code
22570 status collapsed
22571
22572 \begin_layout Plain Layout
22573 Template
22574 \begin_inset space ~
22575 \end_inset
22576
22577 <ID>
22578 \end_layout
22579
22580 \end_inset
22581
22582  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
22583 \end_layout
22584
22585 \begin_layout Description
22586 \begin_inset Flex Code
22587 status collapsed
22588
22589 \begin_layout Plain Layout
22590 Transform
22591 \begin_inset space ~
22592 \end_inset
22593
22594 Rotate|Resize|Clip|Extra
22595 \end_layout
22596
22597 \end_inset
22598
22599  このコマンドは,このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,外部素材ダイア
22600 ログ中の対応するタブを使用可能にします.
22601 \begin_inset Flex Code
22602 status collapsed
22603
22604 \begin_layout Plain Layout
22605 Transform
22606 \end_layout
22607
22608 \end_inset
22609
22610 コマンド一つずつに応じて,
22611 \begin_inset Flex Code
22612 status collapsed
22613
22614 \begin_layout Plain Layout
22615 Format
22616 \end_layout
22617
22618 \end_inset
22619
22620 部に,対応する
22621 \begin_inset Flex Code
22622 status collapsed
22623
22624 \begin_layout Plain Layout
22625 TransformCommand
22626 \end_layout
22627
22628 \end_inset
22629
22630 コマンドか
22631 \begin_inset Flex Code
22632 status collapsed
22633
22634 \begin_layout Plain Layout
22635 TransformOption
22636 \end_layout
22637
22638 \end_inset
22639
22640 コマンドを置かなくてはなりません.これを行わないと,この書式での変換はサポートされません.
22641 \end_layout
22642
22643 \begin_layout Subsection
22644 \begin_inset Flex Code
22645 status collapsed
22646
22647 \begin_layout Plain Layout
22648 Format
22649 \end_layout
22650
22651 \end_inset
22652
22653
22654 \end_layout
22655
22656 \begin_layout Description
22657 \begin_inset Flex Code
22658 status collapsed
22659
22660 \begin_layout Plain Layout
22661 Format
22662 \begin_inset space ~
22663 \end_inset
22664
22665 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
22666 \end_layout
22667
22668 \end_inset
22669
22670  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,全書式に対して
22671 \begin_inset Flex Code
22672 status collapsed
22673
22674 \begin_layout Plain Layout
22675 Format
22676 \end_layout
22677
22678 \end_inset
22679
22680 部を定義してください.表示する方法がないときは,ダミーテキストを使用してください.これによって,書き出した文書内で,少なくとも外部素材への参照を見ることができる
22681 ようになります.
22682 \end_layout
22683
22684 \begin_layout Description
22685 \begin_inset Flex Code
22686 status collapsed
22687
22688 \begin_layout Plain Layout
22689 Option
22690 \begin_inset space ~
22691 \end_inset
22692
22693 <名称>
22694 \begin_inset space ~
22695 \end_inset
22696
22697 <値>
22698 \end_layout
22699
22700 \end_inset
22701
22702  このコマンドは,
22703 \begin_inset Flex Code
22704 status collapsed
22705
22706 \begin_layout Plain Layout
22707 Product
22708 \end_layout
22709
22710 \end_inset
22711
22712 での代入に使うマクロ
22713 \begin_inset Flex Code
22714 status collapsed
22715
22716 \begin_layout Plain Layout
22717 $$<名称>
22718 \end_layout
22719
22720 \end_inset
22721
22722 を新たに定義します.
22723 \begin_inset Flex Code
22724 status collapsed
22725
22726 \begin_layout Plain Layout
22727 <値>
22728 \end_layout
22729
22730 \end_inset
22731
22732 自体にも代入マクロを使うことができます.
22733 \begin_inset Flex Code
22734 status collapsed
22735
22736 \begin_layout Plain Layout
22737 Product
22738 \end_layout
22739
22740 \end_inset
22741
22742
22743 \begin_inset Flex Code
22744 status collapsed
22745
22746 \begin_layout Plain Layout
22747 <値>
22748 \end_layout
22749
22750 \end_inset
22751
22752 を直接使用するよりも優れた点は,
22753 \begin_inset Flex Code
22754 status collapsed
22755
22756 \begin_layout Plain Layout
22757 $$<名称>
22758 \end_layout
22759
22760 \end_inset
22761
22762 に代入された値が,その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
22763 \end_layout
22764
22765 \begin_layout Description
22766 \begin_inset Flex Code
22767 status collapsed
22768
22769 \begin_layout Plain Layout
22770 Product
22771 \begin_inset space ~
22772 \end_inset
22773
22774 <文>
22775 \end_layout
22776
22777 \end_inset
22778
22779  書き出された文書に挿入される文.実のところ,これが最も重要なコマンドであり,とても複雑になることがあります.このコマンドは,一度だけ必ず現れなくてはなりません
22780
22781 \end_layout
22782
22783 \begin_layout Description
22784 \begin_inset Flex Code
22785 status collapsed
22786
22787 \begin_layout Plain Layout
22788 Preamble
22789 \begin_inset space ~
22790 \end_inset
22791
22792 <名称>
22793 \end_layout
22794
22795 \end_inset
22796
22797  このコマンドは,\SpecialChar LaTeX
22798 プリアンブルに入れるプリアンブル片を指定します.これは
22799 \begin_inset Flex Code
22800 status collapsed
22801
22802 \begin_layout Plain Layout
22803 PreambleDef
22804 \end_layout
22805
22806 \end_inset
22807
22808  \SpecialChar ldots
22809  
22810 \begin_inset Flex Code
22811 status collapsed
22812
22813 \begin_layout Plain Layout
22814 PreambleDefEnd
22815 \end_layout
22816
22817 \end_inset
22818
22819 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
22820 \end_layout
22821
22822 \begin_layout Description
22823 \begin_inset Flex Code
22824 status collapsed
22825
22826 \begin_layout Plain Layout
22827 ReferencedFile
22828 \begin_inset space ~
22829 \end_inset
22830
22831 <書式>
22832 \begin_inset space ~
22833 \end_inset
22834
22835 <ファイル名>
22836 \end_layout
22837
22838 \end_inset
22839
22840  このコマンドは,変換過程で生成され,特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,親文書に対する相対パスとして解釈さ
22841 れます.このコマンドは全く登場しなくても1回以上現れても構いません.
22842 \end_layout
22843
22844 \begin_layout Description
22845 \begin_inset Flex Code
22846 status collapsed
22847
22848 \begin_layout Plain Layout
22849 Requirement
22850 \begin_inset space ~
22851 \end_inset
22852
22853 <package>
22854 \end_layout
22855
22856 \end_inset
22857
22858  必要とされる\SpecialChar LaTeX
22859 パッケージ名.パッケージは,\SpecialChar LaTeX
22860 プリアンブル中で
22861 \begin_inset Flex Code
22862 status collapsed
22863
22864 \begin_layout Plain Layout
22865
22866 \backslash
22867 usepackage{}
22868 \end_layout
22869
22870 \end_inset
22871
22872 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
22873 \end_layout
22874
22875 \begin_layout Description
22876 \begin_inset Flex Code
22877 status collapsed
22878
22879 \begin_layout Plain Layout
22880 TransformCommand
22881 \begin_inset space ~
22882 \end_inset
22883
22884 Rotate
22885 \begin_inset space ~
22886 \end_inset
22887
22888 RotationLatexCommand
22889 \end_layout
22890
22891 \end_inset
22892
22893  このコマンドは,回転用に,組み込みの\SpecialChar LaTeX
22894 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
22895 \end_layout
22896
22897 \begin_layout Description
22898 \begin_inset Flex Code
22899 status collapsed
22900
22901 \begin_layout Plain Layout
22902 TransformCommand
22903 \begin_inset space ~
22904 \end_inset
22905
22906 Resize
22907 \begin_inset space ~
22908 \end_inset
22909
22910 ResizeLatexCommand
22911 \end_layout
22912
22913 \end_inset
22914
22915  このコマンドは,伸縮用に,組み込みの\SpecialChar LaTeX
22916 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
22917 \end_layout
22918
22919 \begin_layout Description
22920 \begin_inset Flex Code
22921 status collapsed
22922
22923 \begin_layout Plain Layout
22924 TransformOption
22925 \begin_inset space ~
22926 \end_inset
22927
22928 Rotate
22929 \begin_inset space ~
22930 \end_inset
22931
22932 RotationLatexOption
22933 \end_layout
22934
22935 \end_inset
22936
22937  このコマンドは,回転が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
22938 \end_layout
22939
22940 \begin_layout Description
22941 \begin_inset Flex Code
22942 status collapsed
22943
22944 \begin_layout Plain Layout
22945 TransformOption
22946 \begin_inset space ~
22947 \end_inset
22948
22949 Resize
22950 \begin_inset space ~
22951 \end_inset
22952
22953 ResizeLatexOption
22954 \end_layout
22955
22956 \end_inset
22957
22958  このコマンドは,伸縮が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
22959 \end_layout
22960
22961 \begin_layout Description
22962 \begin_inset Flex Code
22963 status collapsed
22964
22965 \begin_layout Plain Layout
22966 TransformOption
22967 \begin_inset space ~
22968 \end_inset
22969
22970 Clip
22971 \begin_inset space ~
22972 \end_inset
22973
22974 ClipLatexOption
22975 \end_layout
22976
22977 \end_inset
22978
22979  このコマンドは,切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
22980 \end_layout
22981
22982 \begin_layout Description
22983 \begin_inset Flex Code
22984 status collapsed
22985
22986 \begin_layout Plain Layout
22987 TransformOption
22988 \begin_inset space ~
22989 \end_inset
22990
22991 Extra
22992 \begin_inset space ~
22993 \end_inset
22994
22995 ExtraLatexOption
22996 \end_layout
22997
22998 \end_inset
22999
23000  このコマンドは,追加の非必須引数を使用することを指定します.このコマンドは,1回現れても全く現れなくても構いません.
23001 \end_layout
23002
23003 \begin_layout Description
23004 \begin_inset Flex Code
23005 status collapsed
23006
23007 \begin_layout Plain Layout
23008 UpdateFormat
23009 \begin_inset space ~
23010 \end_inset
23011
23012 <書式>
23013 \end_layout
23014
23015 \end_inset
23016
23017  変換されたファイルのファイル形式.これは,\SpecialChar LyX
23018 が知っている書式名でなくてはなりません(
23019 \begin_inset Flex MenuItem
23020 status collapsed
23021
23022 \begin_layout Plain Layout
23023 ツール\SpecialChar menuseparator
23024 設定\SpecialChar menuseparator
23025 ファイル処理\SpecialChar menuseparator
23026 ファイル書式
23027 \end_layout
23028
23029 \end_inset
23030
23031 ダイアログを参照).このコマンドは,一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,書式
23032 \begin_inset Flex Code
23033 status collapsed
23034
23035 \begin_layout Plain Layout
23036 pdf6
23037 \end_layout
23038
23039 \end_inset
23040
23041 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
23042 \end_layout
23043
23044 \begin_layout Description
23045 \begin_inset Flex Code
23046 status collapsed
23047
23048 \begin_layout Plain Layout
23049 UpdateResult
23050 \begin_inset space ~
23051 \end_inset
23052
23053 <ファイル名>
23054 \end_layout
23055
23056 \end_inset
23057
23058  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,一度だけ必ず現れなくてはなりません.
23059 \end_layout
23060
23061 \begin_layout Subsection
23062 プリアンブルの定義
23063 \end_layout
23064
23065 \begin_layout Standard
23066 外用ひな型設定ファイルには,
23067 \begin_inset Flex Code
23068 status collapsed
23069
23070 \begin_layout Plain Layout
23071 PreambleDef
23072 \end_layout
23073
23074 \end_inset
23075
23076  \SpecialChar ldots
23077  
23078 \begin_inset Flex Code
23079 status collapsed
23080
23081 \begin_layout Plain Layout
23082 PreambleDefEnd
23083 \end_layout
23084
23085 \end_inset
23086
23087 で囲んだプリアンブル定義を追加することができます.これらの定義は,ひな型の
23088 \begin_inset Flex Code
23089 status collapsed
23090
23091 \begin_layout Plain Layout
23092 Format
23093 \end_layout
23094
23095 \end_inset
23096
23097 部で使用することができます.
23098 \end_layout
23099
23100 \begin_layout Section
23101 代入機構
23102 \end_layout
23103
23104 \begin_layout Standard
23105 外部素材機構が外部プログラムを呼び出すときには,ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,実行前に展開されるマクロをい
23106 ろいろ入れることができます.実行は,つねに元の文書があるディレクトリで行われます.
23107 \end_layout
23108
23109 \begin_layout Standard
23110 また,外部素材が表示されるときにはいつでも,その名称は代入機構によって組み立てられ,ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
23111 \end_layout
23112
23113 \begin_layout Standard
23114 使用できるマクロは以下の通りです.
23115 \end_layout
23116
23117 \begin_layout Description
23118 \begin_inset Flex Code
23119 status collapsed
23120
23121 \begin_layout Plain Layout
23122 $$AbsOrRelPathMaster
23123 \end_layout
23124
23125 \end_inset
23126
23127  \SpecialChar LyX
23128 親文書への絶対ファイルパスないしは相対ファイルパス
23129 \end_layout
23130
23131 \begin_layout Description
23132 \begin_inset Flex Code
23133 status collapsed
23134
23135 \begin_layout Plain Layout
23136 $$AbsOrRelPathParent
23137 \end_layout
23138
23139 \end_inset
23140
23141  \SpecialChar LyX
23142 文書への絶対ファイルパスないしは相対ファイルパス
23143 \end_layout
23144
23145 \begin_layout Description
23146 \begin_inset Flex Code
23147 status collapsed
23148
23149 \begin_layout Plain Layout
23150 $$AbsPath
23151 \end_layout
23152
23153 \end_inset
23154
23155  絶対ファイルパス
23156 \end_layout
23157
23158 \begin_layout Description
23159 \begin_inset Flex Code
23160 status collapsed
23161
23162 \begin_layout Plain Layout
23163 $$Basename
23164 \end_layout
23165
23166 \end_inset
23167
23168  パスおよび拡張子を除いたファイル名
23169 \end_layout
23170
23171 \begin_layout Description
23172 \begin_inset Flex Code
23173 status collapsed
23174
23175 \begin_layout Plain Layout
23176 $$Contents(
23177 \begin_inset Quotes eld
23178 \end_inset
23179
23180 filename.ext
23181 \begin_inset Quotes erd
23182 \end_inset
23183
23184 )
23185 \end_layout
23186
23187 \end_inset
23188
23189  このマクロは,
23190 \begin_inset Flex Code
23191 status collapsed
23192
23193 \begin_layout Plain Layout
23194 filename.ext
23195 \end_layout
23196
23197 \end_inset
23198
23199 と云う名のファイルの中身を展開します.
23200 \end_layout
23201
23202 \begin_layout Description
23203 \begin_inset Flex Code
23204 status collapsed
23205
23206 \begin_layout Plain Layout
23207 $$Extension
23208 \end_layout
23209
23210 \end_inset
23211
23212  ファイル拡張子(点を含む)
23213 \end_layout
23214
23215 \begin_layout Description
23216 \begin_inset Flex Code
23217 status collapsed
23218
23219 \begin_layout Plain Layout
23220 $$pngOrjpg
23221 \end_layout
23222
23223 \end_inset
23224
23225  これは,ファイルがJPEG形式の場合は,文字列「jpg」となり,それ以外では文字列「png」となります.これは,PNG形式とJPEG形式の両方をサポートする出
23226 力形式に対して,不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,pdf\SpecialChar TeX
23227 出力形式に対してこのマクロを使用します.
23228 \end_layout
23229
23230 \begin_layout Description
23231 \begin_inset Flex Code
23232 status collapsed
23233
23234 \begin_layout Plain Layout
23235 $$FName
23236 \end_layout
23237
23238 \end_inset
23239
23240  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
23241 文書への絶対パスでも良いですし,相対パスでも構いません.
23242 \end_layout
23243
23244 \begin_layout Description
23245 \begin_inset Flex Code
23246 status collapsed
23247
23248 \begin_layout Plain Layout
23249 $$FPath
23250 \end_layout
23251
23252 \end_inset
23253
23254  
23255 \begin_inset Flex Code
23256 status collapsed
23257
23258 \begin_layout Plain Layout
23259 $$FName
23260 \end_layout
23261
23262 \end_inset
23263
23264 のパス部分(\SpecialChar LyX
23265 文書への絶対パス名か相対パス名)
23266 \end_layout
23267
23268 \begin_layout Description
23269 \begin_inset Flex Code
23270 status collapsed
23271
23272 \begin_layout Plain Layout
23273 $$RelPathMaster
23274 \end_layout
23275
23276 \end_inset
23277
23278  \SpecialChar LyX
23279 親文書への相対ファイルパス
23280 \end_layout
23281
23282 \begin_layout Description
23283 \begin_inset Flex Code
23284 status collapsed
23285
23286 \begin_layout Plain Layout
23287 $$RelPathParent
23288 \end_layout
23289
23290 \end_inset
23291
23292  \SpecialChar LyX
23293 文書への相対ファイルパス
23294 \end_layout
23295
23296 \begin_layout Description
23297 \begin_inset Flex Code
23298 status collapsed
23299
23300 \begin_layout Plain Layout
23301 $$Sysdir
23302 \end_layout
23303
23304 \end_inset
23305
23306  このマクロは,システムディレクトリの絶対パスを展開します.これは,典型的には,\SpecialChar LyX
23307 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
23308 \end_layout
23309
23310 \begin_layout Description
23311 \begin_inset Flex Code
23312 status collapsed
23313
23314 \begin_layout Plain Layout
23315 $$Tempname
23316 \end_layout
23317
23318 \end_inset
23319
23320  元の文書が閉じられたり,挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
23321 \end_layout
23322
23323 \begin_layout Standard
23324 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,たとえば絶対パスのファイル名を 
23325 \begin_inset Flex Code
23326 status collapsed
23327
23328 \begin_layout Plain Layout
23329 $$AbsPath$$Basename$$Extension
23330 \end_layout
23331
23332 \end_inset
23333
23334 のようにして作ることができます.
23335 \end_layout
23336
23337 \begin_layout Standard
23338 上記マクロは,特記しない限りはすべてのコマンドで代入が行われます.
23339 \begin_inset Flex Code
23340 status collapsed
23341
23342 \begin_layout Plain Layout
23343 Transform
23344 \end_layout
23345
23346 \end_inset
23347
23348 コマンドと
23349 \begin_inset Flex Code
23350 status collapsed
23351
23352 \begin_layout Plain Layout
23353 TransformCommand
23354 \end_layout
23355
23356 \end_inset
23357
23358 コマンドが有効にされている場合,
23359 \begin_inset Flex Code
23360 status collapsed
23361
23362 \begin_layout Plain Layout
23363 Product
23364 \end_layout
23365
23366 \end_inset
23367
23368 コマンドは,これらに加えて以下の代入もサポートします.
23369 \end_layout
23370
23371 \begin_layout Description
23372 \begin_inset Flex Code
23373 status collapsed
23374
23375 \begin_layout Plain Layout
23376 $$ResizeFront
23377 \end_layout
23378
23379 \end_inset
23380
23381  伸縮コマンドの前置部.
23382 \end_layout
23383
23384 \begin_layout Description
23385 \begin_inset Flex Code
23386 status collapsed
23387
23388 \begin_layout Plain Layout
23389 $$ResizeBack
23390 \end_layout
23391
23392 \end_inset
23393
23394  伸縮コマンドの後置部.
23395 \end_layout
23396
23397 \begin_layout Description
23398 \begin_inset Flex Code
23399 status collapsed
23400
23401 \begin_layout Plain Layout
23402 $$RotateFront
23403 \end_layout
23404
23405 \end_inset
23406
23407  回転コマンドの前置部.
23408 \end_layout
23409
23410 \begin_layout Description
23411 \begin_inset Flex Code
23412 status collapsed
23413
23414 \begin_layout Plain Layout
23415 $$RotateBack
23416 \end_layout
23417
23418 \end_inset
23419
23420  回転コマンドの後置部.
23421 \end_layout
23422
23423 \begin_layout Standard
23424 \begin_inset Flex Code
23425 status collapsed
23426
23427 \begin_layout Plain Layout
23428 Option
23429 \end_layout
23430
23431 \end_inset
23432
23433 コマンドの値に入れる文字列では,
23434 \begin_inset Flex Code
23435 status collapsed
23436
23437 \begin_layout Plain Layout
23438 Transform
23439 \end_layout
23440
23441 \end_inset
23442
23443 コマンドと
23444 \begin_inset Flex Code
23445 status collapsed
23446
23447 \begin_layout Plain Layout
23448 TransformOption
23449 \end_layout
23450
23451 \end_inset
23452
23453 コマンドが有効にされていれば,以下の代入もサポートされます.
23454 \end_layout
23455
23456 \begin_layout Description
23457 \begin_inset Flex Code
23458 status collapsed
23459
23460 \begin_layout Plain Layout
23461 $$Clip
23462 \end_layout
23463
23464 \end_inset
23465
23466  切り抜きオプション.
23467 \end_layout
23468
23469 \begin_layout Description
23470 \begin_inset Flex Code
23471 status collapsed
23472
23473 \begin_layout Plain Layout
23474 $$Extra
23475 \end_layout
23476
23477 \end_inset
23478
23479  追加オプション.
23480 \end_layout
23481
23482 \begin_layout Description
23483 \begin_inset Flex Code
23484 status collapsed
23485
23486 \begin_layout Plain Layout
23487 $$Resize
23488 \end_layout
23489
23490 \end_inset
23491
23492  伸縮オプション.
23493 \end_layout
23494
23495 \begin_layout Description
23496 \begin_inset Flex Code
23497 status collapsed
23498
23499 \begin_layout Plain Layout
23500 $$Rotate
23501 \end_layout
23502
23503 \end_inset
23504
23505  回転オプション.
23506 \end_layout
23507
23508 \begin_layout Standard
23509 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
23510 \end_layout
23511
23512 \begin_layout Enumerate
23513 相対ファイル名と絶対ファイル名は,それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえ
23514 ば相対名は,いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,プログラムによっては必要とされることがあり得ます.
23515 \end_layout
23516
23517 \begin_layout Enumerate
23518 \SpecialChar LaTeX
23519 は,相対ファイル名に関して,\SpecialChar LyX
23520 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
23521 にとって相対ファイル名とは,常にこのファイル名が書か
23522 れている文書に対して相対的なものになります.\SpecialChar LaTeX
23523 にとっての相対ファイル名は,常に親文書に対するものになります.これら二つの定義は,一つの文書しかないときには同じです
23524 が,部分文書を含む親文書があるときには異なったものとなってきます.つまり,相対ファイル名は,\SpecialChar LaTeX
23525 に提示されるときに変換されなくてはならないのです.幸い,正しいマクロ
23526 を選びさえすれば,これは\SpecialChar LyX
23527 が自動的に行ってくれます.
23528 \end_layout
23529
23530 \begin_layout Standard
23531 すると,新しく作ったひな型定義では,どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
23532 \end_layout
23533
23534 \begin_layout Itemize
23535 絶対パスが必要とされるときには
23536 \begin_inset Flex Code
23537 status collapsed
23538
23539 \begin_layout Plain Layout
23540 $$AbsPath
23541 \end_layout
23542
23543 \end_inset
23544
23545 を使う.
23546 \end_layout
23547
23548 \begin_layout Itemize
23549 代入された文字列が,\SpecialChar LaTeX
23550 インプットの一種である場合には,
23551 \begin_inset Flex Code
23552 status collapsed
23553
23554 \begin_layout Plain Layout
23555 $$AbsOrRelPathMaster
23556 \end_layout
23557
23558 \end_inset
23559
23560 を使う.
23561 \end_layout
23562
23563 \begin_layout Itemize
23564 それ以外ならば,ユーザの選択を尊重するために
23565 \begin_inset Flex Code
23566 status collapsed
23567
23568 \begin_layout Plain Layout
23569 $$AbsOrRelPathParent
23570 \end_layout
23571
23572 \end_inset
23573
23574 を使う.
23575 \end_layout
23576
23577 \begin_layout Standard
23578 このルールが機能せずに,たとえば相対名が必要となる特殊な場合もありますが,通常,上記でうまく動作します.特殊例の例としては,上述のXFigひな型での
23579 \begin_inset Flex Code
23580 status collapsed
23581
23582 \begin_layout Plain Layout
23583 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23584 \end_layout
23585
23586 \end_inset
23587
23588 というコマンドがあります.この場合,
23589 \begin_inset Flex Code
23590 status collapsed
23591
23592 \begin_layout Plain Layout
23593 .pstex_t
23594 \end_layout
23595
23596 \end_inset
23597
23598 ファイルの複写子は,ファイル内容を書き換えるのに相対名を必要とするために,絶対名を使用することができないのです.
23599 \end_layout
23600
23601 \begin_layout Section
23602 セキュリティに関する論点
23603 \begin_inset CommandInset label
23604 LatexCommand label
23605 name "sec:セキュリティに関する論点"
23606
23607 \end_inset
23608
23609
23610 \end_layout
23611
23612 \begin_layout Standard
23613 外部素材機能は,多くの外部プログラムとの橋渡しをし,しかもそれを自動的に行うので,そのセキュリティ面での帰結を考慮しなくてはなりません.特に,ユーザは好きなファ
23614 イル名やパラメータ文字列を含めることが許されていて,しかもそれらがコマンドに展開されるので,ユーザが文書を閲覧したり印刷したりしたときに,任意のコマンドを実行す
23615 ることができるような悪意ある文書を作成することが可能となりましょう.これは,我々がぜひとも避けたいことなのです.
23616 \end_layout
23617
23618 \begin_layout Standard
23619 しかしながら,外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,\SpecialChar LyX
23620 が安全なひな型でのみ適切に設定されているならば,セキュリティ上の問題は発生しま
23621 せん.これは,外部プログラムが
23622 \begin_inset Flex Code
23623 status collapsed
23624
23625 \begin_layout Plain Layout
23626 system
23627 \end_layout
23628
23629 \end_inset
23630
23631 システムコールではなく,
23632 \begin_inset Flex Code
23633 status collapsed
23634
23635 \begin_layout Plain Layout
23636 execvp
23637 \end_layout
23638
23639 \end_inset
23640
23641 システムコールで呼び出されているため,ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
23642 \end_layout
23643
23644 \begin_layout Standard
23645 これは,外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,制限があることを意味します.特に,パイプやリダイレクトはそのまま使用することは
23646 できません.これは,\SpecialChar LyX
23647 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,これを完全に統御の下においたまま行う安全なス
23648 クリプトを書いた上で,このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
23649 \end_layout
23650
23651 \begin_layout Standard
23652 シェルと直接やりとりするひな型を設計することは可能ではありますが,悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,任意のコマンドを実行できるよ
23653 うになるため,一般的には,統御下に置いた状態で
23654 \begin_inset Flex Code
23655 status collapsed
23656
23657 \begin_layout Plain Layout
23658 execvp
23659 \end_layout
23660
23661 \end_inset
23662
23663 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,管理された環境下で使用する分には,通常のシェルスクリプトを使用する方に流れる誘
23664 惑はあります.そうした場合には,お使いのシステムに簡単に濫用することのできるセキュリティホールを,
23665 \emph on
23666 間違いなく
23667 \emph default
23668 導入することを理解しておいてください.オープンソースの伝統に従って,私たちは人々に新しいひな型を投稿してくれるよう促していますが,そのような安全でないひな型はL
23669 yXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
23670 には,安全でないひな型は決して入っていません
23671
23672 \end_layout
23673
23674 \begin_layout Standard
23675 外部素材を含めることで強力な力を手に入れることができますが,この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリ
23676 プトのたった一行に入り込んだ,ちょっとしたエラーが,巨大なセキュリティ上の問題に扉を開きうるのです.したがって,もしこの問題を完全に理解していないならば,特定の
23677 ひな型が安全であるかどうか疑問がある際には,知識豊富なセキュリティの専門家か,\SpecialChar LyX
23678 開発チームに相談してみてください.そしてこの相談は,管理されていない環境下でこれを
23679 使用する前に,行うようにしてください.
23680 \end_layout
23681
23682 \begin_layout Chapter
23683 \start_of_appendix
23684 サポートされているレイアウト用\SpecialChar LyX
23685 関数一覧
23686 \begin_inset CommandInset label
23687 LatexCommand label
23688 name "chap:関数一覧"
23689
23690 \end_inset
23691
23692
23693 \end_layout
23694
23695 \begin_layout Standard
23696 \align center
23697 \begin_inset Tabular
23698 <lyxtabular version="3" rows="11" columns="8">
23699 <features tabularvalignment="middle">
23700 <column alignment="left" valignment="top">
23701 <column alignment="left" valignment="top">
23702 <column alignment="left" valignment="top">
23703 <column alignment="left" valignment="top">
23704 <column alignment="left" valignment="top">
23705 <column alignment="left" valignment="top">
23706 <column alignment="left" valignment="top">
23707 <column alignment="left" valignment="top">
23708 <row>
23709 <cell alignment="left" valignment="top" usebox="none">
23710 \begin_inset Text
23711
23712 \begin_layout Plain Layout
23713 accents
23714 \end_layout
23715
23716 \end_inset
23717 </cell>
23718 <cell alignment="left" valignment="top" usebox="none">
23719 \begin_inset Text
23720
23721 \begin_layout Plain Layout
23722 booktabs
23723 \end_layout
23724
23725 \end_inset
23726 </cell>
23727 <cell alignment="left" valignment="top" usebox="none">
23728 \begin_inset Text
23729
23730 \begin_layout Plain Layout
23731 feyn
23732 \end_layout
23733
23734 \end_inset
23735 </cell>
23736 <cell alignment="left" valignment="top" usebox="none">
23737 \begin_inset Text
23738
23739 \begin_layout Plain Layout
23740 listings
23741 \end_layout
23742
23743 \end_inset
23744 </cell>
23745 <cell alignment="center" valignment="top" usebox="none">
23746 \begin_inset Text
23747
23748 \begin_layout Plain Layout
23749 natbib
23750 \end_layout
23751
23752 \end_inset
23753 </cell>
23754 <cell alignment="center" valignment="top" usebox="none">
23755 \begin_inset Text
23756
23757 \begin_layout Plain Layout
23758 rotfloat
23759 \end_layout
23760
23761 \end_inset
23762 </cell>
23763 <cell alignment="center" valignment="top" usebox="none">
23764 \begin_inset Text
23765
23766 \begin_layout Plain Layout
23767 tfrupee
23768 \end_layout
23769
23770 \end_inset
23771 </cell>
23772 <cell alignment="center" valignment="top" usebox="none">
23773 \begin_inset Text
23774
23775 \begin_layout Plain Layout
23776 wasysym
23777 \end_layout
23778
23779 \end_inset
23780 </cell>
23781 </row>
23782 <row>
23783 <cell alignment="left" valignment="top" usebox="none">
23784 \begin_inset Text
23785
23786 \begin_layout Plain Layout
23787 amsbsy
23788 \end_layout
23789
23790 \end_inset
23791 </cell>
23792 <cell alignment="left" valignment="top" usebox="none">
23793 \begin_inset Text
23794
23795 \begin_layout Plain Layout
23796 calc
23797 \end_layout
23798
23799 \end_inset
23800 </cell>
23801 <cell alignment="left" valignment="top" usebox="none">
23802 \begin_inset Text
23803
23804 \begin_layout Plain Layout
23805 fixltx2e
23806 \end_layout
23807
23808 \end_inset
23809 </cell>
23810 <cell alignment="left" valignment="top" usebox="none">
23811 \begin_inset Text
23812
23813 \begin_layout Plain Layout
23814 longtable
23815 \end_layout
23816
23817 \end_inset
23818 </cell>
23819 <cell alignment="center" valignment="top" usebox="none">
23820 \begin_inset Text
23821
23822 \begin_layout Plain Layout
23823 nomencl
23824 \end_layout
23825
23826 \end_inset
23827 </cell>
23828 <cell alignment="center" valignment="top" usebox="none">
23829 \begin_inset Text
23830
23831 \begin_layout Plain Layout
23832 rsphrase
23833 \end_layout
23834
23835 \end_inset
23836 </cell>
23837 <cell alignment="center" valignment="top" usebox="none">
23838 \begin_inset Text
23839
23840 \begin_layout Plain Layout
23841 tipa
23842 \end_layout
23843
23844 \end_inset
23845 </cell>
23846 <cell alignment="center" valignment="top" usebox="none">
23847 \begin_inset Text
23848
23849 \begin_layout Plain Layout
23850 wrapfig
23851 \end_layout
23852
23853 \end_inset
23854 </cell>
23855 </row>
23856 <row>
23857 <cell alignment="left" valignment="top" usebox="none">
23858 \begin_inset Text
23859
23860 \begin_layout Plain Layout
23861 amscd
23862 \end_layout
23863
23864 \end_inset
23865 </cell>
23866 <cell alignment="left" valignment="top" usebox="none">
23867 \begin_inset Text
23868
23869 \begin_layout Plain Layout
23870 CJK
23871 \end_layout
23872
23873 \end_inset
23874 </cell>
23875 <cell alignment="left" valignment="top" usebox="none">
23876 \begin_inset Text
23877
23878 \begin_layout Plain Layout
23879 float
23880 \end_layout
23881
23882 \end_inset
23883 </cell>
23884 <cell alignment="left" valignment="top" usebox="none">
23885 \begin_inset Text
23886
23887 \begin_layout Plain Layout
23888 lyxskak
23889 \end_layout
23890
23891 \end_inset
23892 </cell>
23893 <cell alignment="center" valignment="top" usebox="none">
23894 \begin_inset Text
23895
23896 \begin_layout Plain Layout
23897 pdfcolmk
23898 \end_layout
23899
23900 \end_inset
23901 </cell>
23902 <cell alignment="center" valignment="top" usebox="none">
23903 \begin_inset Text
23904
23905 \begin_layout Plain Layout
23906 setspace
23907 \end_layout
23908
23909 \end_inset
23910 </cell>
23911 <cell alignment="center" valignment="top" usebox="none">
23912 \begin_inset Text
23913
23914 \begin_layout Plain Layout
23915 tipx
23916 \end_layout
23917
23918 \end_inset
23919 </cell>
23920 <cell alignment="center" valignment="top" usebox="none">
23921 \begin_inset Text
23922
23923 \begin_layout Plain Layout
23924 xargs
23925 \end_layout
23926
23927 \end_inset
23928 </cell>
23929 </row>
23930 <row>
23931 <cell alignment="left" valignment="top" usebox="none">
23932 \begin_inset Text
23933
23934 \begin_layout Plain Layout
23935 amsmath
23936 \end_layout
23937
23938 \end_inset
23939 </cell>
23940 <cell alignment="left" valignment="top" usebox="none">
23941 \begin_inset Text
23942
23943 \begin_layout Plain Layout
23944 color
23945 \end_layout
23946
23947 \end_inset
23948 </cell>
23949 <cell alignment="left" valignment="top" usebox="none">
23950 \begin_inset Text
23951
23952 \begin_layout Plain Layout
23953 framed
23954 \end_layout
23955
23956 \end_inset
23957 </cell>
23958 <cell alignment="left" valignment="top" usebox="none">
23959 \begin_inset Text
23960
23961 \begin_layout Plain Layout
23962 makeidx
23963 \end_layout
23964
23965 \end_inset
23966 </cell>
23967 <cell alignment="center" valignment="top" usebox="none">
23968 \begin_inset Text
23969
23970 \begin_layout Plain Layout
23971 pdfpages
23972 \end_layout
23973
23974 \end_inset
23975 </cell>
23976 <cell alignment="center" valignment="top" usebox="none">
23977 \begin_inset Text
23978
23979 \begin_layout Plain Layout
23980 shapepar
23981 \end_layout
23982
23983 \end_inset
23984 </cell>
23985 <cell alignment="center" valignment="top" usebox="none">
23986 \begin_inset Text
23987
23988 \begin_layout Plain Layout
23989 tone
23990 \end_layout
23991
23992 \end_inset
23993 </cell>
23994 <cell alignment="center" valignment="top" usebox="none">
23995 \begin_inset Text
23996
23997 \begin_layout Plain Layout
23998 xcolor
23999 \end_layout
24000
24001 \end_inset
24002 </cell>
24003 </row>
24004 <row>
24005 <cell alignment="left" valignment="top" usebox="none">
24006 \begin_inset Text
24007
24008 \begin_layout Plain Layout
24009 amssymb
24010 \end_layout
24011
24012 \end_inset
24013 </cell>
24014 <cell alignment="left" valignment="top" usebox="none">
24015 \begin_inset Text
24016
24017 \begin_layout Plain Layout
24018 covington
24019 \end_layout
24020
24021 \end_inset
24022 </cell>
24023 <cell alignment="left" valignment="top" usebox="none">
24024 \begin_inset Text
24025
24026 \begin_layout Plain Layout
24027 graphicx
24028 \end_layout
24029
24030 \end_inset
24031 </cell>
24032 <cell alignment="left" valignment="top" usebox="none">
24033 \begin_inset Text
24034
24035 \begin_layout Plain Layout
24036 marvosym
24037 \end_layout
24038
24039 \end_inset
24040 </cell>
24041 <cell alignment="center" valignment="top" usebox="none">
24042 \begin_inset Text
24043
24044 \begin_layout Plain Layout
24045 pifont
24046 \end_layout
24047
24048 \end_inset
24049 </cell>
24050 <cell alignment="center" valignment="top" usebox="none">
24051 \begin_inset Text
24052
24053 \begin_layout Plain Layout
24054 slashed
24055 \end_layout
24056
24057 \end_inset
24058 </cell>
24059 <cell alignment="center" valignment="top" usebox="none">
24060 \begin_inset Text
24061
24062 \begin_layout Plain Layout
24063 txfonts
24064 \end_layout
24065
24066 \end_inset
24067 </cell>
24068 <cell alignment="center" valignment="top" usebox="none">
24069 \begin_inset Text
24070
24071 \begin_layout Plain Layout
24072 xy
24073 \end_layout
24074
24075 \end_inset
24076 </cell>
24077 </row>
24078 <row>
24079 <cell alignment="left" valignment="top" usebox="none">
24080 \begin_inset Text
24081
24082 \begin_layout Plain Layout
24083 amstext
24084 \end_layout
24085
24086 \end_inset
24087 </cell>
24088 <cell alignment="left" valignment="top" usebox="none">
24089 \begin_inset Text
24090
24091 \begin_layout Plain Layout
24092 csquotes
24093 \end_layout
24094
24095 \end_inset
24096 </cell>
24097 <cell alignment="left" valignment="top" usebox="none">
24098 \begin_inset Text
24099
24100 \begin_layout Plain Layout
24101 hhline
24102 \end_layout
24103
24104 \end_inset
24105 </cell>
24106 <cell alignment="left" valignment="top" usebox="none">
24107 \begin_inset Text
24108
24109 \begin_layout Plain Layout
24110 mathdesign
24111 \end_layout
24112
24113 \end_inset
24114 </cell>
24115 <cell alignment="center" valignment="top" usebox="none">
24116 \begin_inset Text
24117
24118 \begin_layout Plain Layout
24119 pmboxdraw
24120 \end_layout
24121
24122 \end_inset
24123 </cell>
24124 <cell alignment="center" valignment="top" usebox="none">
24125 \begin_inset Text
24126
24127 \begin_layout Plain Layout
24128 soul
24129 \end_layout
24130
24131 \end_inset
24132 </cell>
24133 <cell alignment="center" valignment="top" usebox="none">
24134 \begin_inset Text
24135
24136 \begin_layout Plain Layout
24137 ulem
24138 \end_layout
24139
24140 \end_inset
24141 </cell>
24142 <cell alignment="center" valignment="top" usebox="none">
24143 \begin_inset Text
24144
24145 \begin_layout Plain Layout
24146 yhmath
24147 \end_layout
24148
24149 \end_inset
24150 </cell>
24151 </row>
24152 <row>
24153 <cell alignment="left" valignment="top" usebox="none">
24154 \begin_inset Text
24155
24156 \begin_layout Plain Layout
24157 amsthm
24158 \end_layout
24159
24160 \end_inset
24161 </cell>
24162 <cell alignment="left" valignment="top" usebox="none">
24163 \begin_inset Text
24164
24165 \begin_layout Plain Layout
24166 dvipost
24167 \end_layout
24168
24169 \end_inset
24170 </cell>
24171 <cell alignment="left" valignment="top" usebox="none">
24172 \begin_inset Text
24173
24174 \begin_layout Plain Layout
24175 hyperref
24176 \end_layout
24177
24178 \end_inset
24179 </cell>
24180 <cell alignment="left" valignment="top" usebox="none">
24181 \begin_inset Text
24182
24183 \begin_layout Plain Layout
24184 mathdots
24185 \end_layout
24186
24187 \end_inset
24188 </cell>
24189 <cell alignment="center" valignment="top" usebox="none">
24190 \begin_inset Text
24191
24192 \begin_layout Plain Layout
24193 polyglossia
24194 \end_layout
24195
24196 \end_inset
24197 </cell>
24198 <cell alignment="center" valignment="top" usebox="none">
24199 \begin_inset Text
24200
24201 \begin_layout Plain Layout
24202 splitidx
24203 \end_layout
24204
24205 \end_inset
24206 </cell>
24207 <cell alignment="center" valignment="top" usebox="none">
24208 \begin_inset Text
24209
24210 \begin_layout Plain Layout
24211 undertilde
24212 \end_layout
24213
24214 \end_inset
24215 </cell>
24216 <cell alignment="center" valignment="top" usebox="none">
24217 \begin_inset Text
24218
24219 \begin_layout Plain Layout
24220
24221 \end_layout
24222
24223 \end_inset
24224 </cell>
24225 </row>
24226 <row>
24227 <cell alignment="left" valignment="top" usebox="none">
24228 \begin_inset Text
24229
24230 \begin_layout Plain Layout
24231 array
24232 \end_layout
24233
24234 \end_inset
24235 </cell>
24236 <cell alignment="left" valignment="top" usebox="none">
24237 \begin_inset Text
24238
24239 \begin_layout Plain Layout
24240 endnotes
24241 \end_layout
24242
24243 \end_inset
24244 </cell>
24245 <cell alignment="left" valignment="top" usebox="none">
24246 \begin_inset Text
24247
24248 \begin_layout Plain Layout
24249 ifsym
24250 \end_layout
24251
24252 \end_inset
24253 </cell>
24254 <cell alignment="left" valignment="top" usebox="none">
24255 \begin_inset Text
24256
24257 \begin_layout Plain Layout
24258 mathrsfs
24259 \end_layout
24260
24261 \end_inset
24262 </cell>
24263 <cell alignment="center" valignment="top" usebox="none">
24264 \begin_inset Text
24265
24266 \begin_layout Plain Layout
24267 prettyref
24268 \end_layout
24269
24270 \end_inset
24271 </cell>
24272 <cell alignment="center" valignment="top" usebox="none">
24273 \begin_inset Text
24274
24275 \begin_layout Plain Layout
24276 subfig
24277 \end_layout
24278
24279 \end_inset
24280 </cell>
24281 <cell alignment="center" valignment="top" usebox="none">
24282 \begin_inset Text
24283
24284 \begin_layout Plain Layout
24285 units
24286 \end_layout
24287
24288 \end_inset
24289 </cell>
24290 <cell alignment="center" valignment="top" usebox="none">
24291 \begin_inset Text
24292
24293 \begin_layout Plain Layout
24294
24295 \end_layout
24296
24297 \end_inset
24298 </cell>
24299 </row>
24300 <row>
24301 <cell alignment="left" valignment="top" usebox="none">
24302 \begin_inset Text
24303
24304 \begin_layout Plain Layout
24305 ascii
24306 \end_layout
24307
24308 \end_inset
24309 </cell>
24310 <cell alignment="left" valignment="top" usebox="none">
24311 \begin_inset Text
24312
24313 \begin_layout Plain Layout
24314 enumitem
24315 \end_layout
24316
24317 \end_inset
24318 </cell>
24319 <cell alignment="left" valignment="top" usebox="none">
24320 \begin_inset Text
24321
24322 \begin_layout Plain Layout
24323 ifthen
24324 \end_layout
24325
24326 \end_inset
24327 </cell>
24328 <cell alignment="left" valignment="top" usebox="none">
24329 \begin_inset Text
24330
24331 \begin_layout Plain Layout
24332 mhchem
24333 \end_layout
24334
24335 \end_inset
24336 </cell>
24337 <cell alignment="center" valignment="top" usebox="none">
24338 \begin_inset Text
24339
24340 \begin_layout Plain Layout
24341 pxfonts
24342 \end_layout
24343
24344 \end_inset
24345 </cell>
24346 <cell alignment="center" valignment="top" usebox="none">
24347 \begin_inset Text
24348
24349 \begin_layout Plain Layout
24350 subscript
24351 \end_layout
24352
24353 \end_inset
24354 </cell>
24355 <cell alignment="center" valignment="top" usebox="none">
24356 \begin_inset Text
24357
24358 \begin_layout Plain Layout
24359 url
24360 \end_layout
24361
24362 \end_inset
24363 </cell>
24364 <cell alignment="center" valignment="top" usebox="none">
24365 \begin_inset Text
24366
24367 \begin_layout Plain Layout
24368
24369 \end_layout
24370
24371 \end_inset
24372 </cell>
24373 </row>
24374 <row>
24375 <cell alignment="left" valignment="top" usebox="none">
24376 \begin_inset Text
24377
24378 \begin_layout Plain Layout
24379 bbding
24380 \end_layout
24381
24382 \end_inset
24383 </cell>
24384 <cell alignment="left" valignment="top" usebox="none">
24385 \begin_inset Text
24386
24387 \begin_layout Plain Layout
24388 esint
24389 \end_layout
24390
24391 \end_inset
24392 </cell>
24393 <cell alignment="left" valignment="top" usebox="none">
24394 \begin_inset Text
24395
24396 \begin_layout Plain Layout
24397 jurabib
24398 \end_layout
24399
24400 \end_inset
24401 </cell>
24402 <cell alignment="left" valignment="top" usebox="none">
24403 \begin_inset Text
24404
24405 \begin_layout Plain Layout
24406 multicol
24407 \end_layout
24408
24409 \end_inset
24410 </cell>
24411 <cell alignment="center" valignment="top" usebox="none">
24412 \begin_inset Text
24413
24414 \begin_layout Plain Layout
24415 refstyle
24416 \end_layout
24417
24418 \end_inset
24419 </cell>
24420 <cell alignment="center" valignment="top" usebox="none">
24421 \begin_inset Text
24422
24423 \begin_layout Plain Layout
24424 textcomp
24425 \end_layout
24426
24427 \end_inset
24428 </cell>
24429 <cell alignment="center" valignment="top" usebox="none">
24430 \begin_inset Text
24431
24432 \begin_layout Plain Layout
24433 varioref
24434 \end_layout
24435
24436 \end_inset
24437 </cell>
24438 <cell alignment="center" valignment="top" usebox="none">
24439 \begin_inset Text
24440
24441 \begin_layout Plain Layout
24442
24443 \end_layout
24444
24445 \end_inset
24446 </cell>
24447 </row>
24448 <row>
24449 <cell alignment="center" valignment="top" usebox="none">
24450 \begin_inset Text
24451
24452 \begin_layout Plain Layout
24453 bm
24454 \end_layout
24455
24456 \end_inset
24457 </cell>
24458 <cell alignment="center" valignment="top" usebox="none">
24459 \begin_inset Text
24460
24461 \begin_layout Plain Layout
24462 fancybox
24463 \end_layout
24464
24465 \end_inset
24466 </cell>
24467 <cell alignment="center" valignment="top" usebox="none">
24468 \begin_inset Text
24469
24470 \begin_layout Plain Layout
24471 latexsym
24472 \end_layout
24473
24474 \end_inset
24475 </cell>
24476 <cell alignment="center" valignment="top" usebox="none">
24477 \begin_inset Text
24478
24479 \begin_layout Plain Layout
24480 multirow
24481 \end_layout
24482
24483 \end_inset
24484 </cell>
24485 <cell alignment="center" valignment="top" usebox="none">
24486 \begin_inset Text
24487
24488 \begin_layout Plain Layout
24489 rotating
24490 \end_layout
24491
24492 \end_inset
24493 </cell>
24494 <cell alignment="center" valignment="top" usebox="none">
24495 \begin_inset Text
24496
24497 \begin_layout Plain Layout
24498 textgreek
24499 \end_layout
24500
24501 \end_inset
24502 </cell>
24503 <cell alignment="center" valignment="top" usebox="none">
24504 \begin_inset Text
24505
24506 \begin_layout Plain Layout
24507 verbatim
24508 \end_layout
24509
24510 \end_inset
24511 </cell>
24512 <cell alignment="center" valignment="top" usebox="none">
24513 \begin_inset Text
24514
24515 \begin_layout Plain Layout
24516
24517 \end_layout
24518
24519 \end_inset
24520 </cell>
24521 </row>
24522 </lyxtabular>
24523
24524 \end_inset
24525
24526
24527 \end_layout
24528
24529 \begin_layout Chapter
24530 レイアウトで使用できる色名
24531 \begin_inset CommandInset label
24532 LatexCommand label
24533 name "chap:色名"
24534
24535 \end_inset
24536
24537
24538 \end_layout
24539
24540 \begin_layout Standard
24541 ここに列挙されている色は標準色であり,\SpecialChar LyX
24542 設定で調整できるものです.
24543 \end_layout
24544
24545 \begin_layout Section
24546
24547 \lang english
24548 Color functions
24549 \end_layout
24550
24551 \begin_layout Standard
24552
24553 \lang english
24554 The following are no real colors, but rather act on color definitions:
24555 \end_layout
24556
24557 \begin_layout Description
24558 ignore この色を無視します
24559 \end_layout
24560
24561 \begin_layout Description
24562 inherit この色を継承します
24563 \end_layout
24564
24565 \begin_layout Description
24566 none
24567 \series medium
24568  
24569 \series default
24570 特定の色ではありません – 透明か既定色です
24571 \end_layout
24572
24573 \begin_layout Section
24574
24575 \lang english
24576 Static colors
24577 \end_layout
24578
24579 \begin_layout Standard
24580
24581 \lang english
24582 These are fixed colors that cannot me customized:
24583 \end_layout
24584
24585 \begin_layout Description
24586 black
24587 \end_layout
24588
24589 \begin_layout Description
24590 white
24591 \end_layout
24592
24593 \begin_layout Description
24594 blue
24595 \end_layout
24596
24597 \begin_layout Description
24598 brown
24599 \end_layout
24600
24601 \begin_layout Description
24602 cyan
24603 \end_layout
24604
24605 \begin_layout Description
24606 darkgray
24607 \end_layout
24608
24609 \begin_layout Description
24610 gray
24611 \end_layout
24612
24613 \begin_layout Description
24614 green
24615 \end_layout
24616
24617 \begin_layout Description
24618 lightgray
24619 \end_layout
24620
24621 \begin_layout Description
24622 lime
24623 \end_layout
24624
24625 \begin_layout Description
24626 magenta
24627 \end_layout
24628
24629 \begin_layout Description
24630 olive
24631 \end_layout
24632
24633 \begin_layout Description
24634 orange
24635 \end_layout
24636
24637 \begin_layout Description
24638 pink
24639 \end_layout
24640
24641 \begin_layout Description
24642 purple
24643 \end_layout
24644
24645 \begin_layout Description
24646 red
24647 \end_layout
24648
24649 \begin_layout Description
24650 teal
24651 \end_layout
24652
24653 \begin_layout Description
24654 violet
24655 \end_layout
24656
24657 \begin_layout Description
24658 yellow
24659 \end_layout
24660
24661 \begin_layout Section
24662
24663 \lang english
24664 Dynamic colors
24665 \end_layout
24666
24667 \begin_layout Standard
24668
24669 \lang english
24670 These are the colors allocated to specific elements in
24671 \lang japanese
24672
24673 \begin_inset Flex MenuItem
24674 status collapsed
24675
24676 \begin_layout Plain Layout
24677 ツール\SpecialChar menuseparator
24678 設定
24679 \end_layout
24680
24681 \end_inset
24682
24683 :
24684 \end_layout
24685
24686 \begin_layout Description
24687 added_space 空白マーカ色
24688 \end_layout
24689
24690 \begin_layout Description
24691 addedtext 追加された文章色
24692 \end_layout
24693
24694 \begin_layout Description
24695 appendix 付録マーカ色
24696 \end_layout
24697
24698 \begin_layout Description
24699 background 背景色
24700 \end_layout
24701
24702 \begin_layout Description
24703 bottomarea 下部領域色
24704 \end_layout
24705
24706 \begin_layout Description
24707 branchlabel 派生枝ラベル色
24708 \end_layout
24709
24710 \begin_layout Description
24711 buttonbg ボタンの背景色
24712 \end_layout
24713
24714 \begin_layout Description
24715 buttonframe 差込枠の縁色
24716 \end_layout
24717
24718 \begin_layout Description
24719 buttonhoverbg フォーカスを得ているボタンの背景色
24720 \end_layout
24721
24722 \begin_layout Description
24723 changebar 変更バー色
24724 \end_layout
24725
24726 \begin_layout Description
24727 changedtextauthor1 変更された文章:第1著者の色
24728 \end_layout
24729
24730 \begin_layout Description
24731 changedtextauthor2 変更された文章:第2著者の色
24732 \end_layout
24733
24734 \begin_layout Description
24735 changedtextauthor3 変更された文章:第3著者の色
24736 \end_layout
24737
24738 \begin_layout Description
24739 changedtextauthor4 変更された文章:第4著者の色
24740 \end_layout
24741
24742 \begin_layout Description
24743 changedtextauthor5 変更された文章:第5著者の色
24744 \end_layout
24745
24746 \begin_layout Description
24747 collapsibletext 畳み込み可能枠の文字色
24748 \end_layout
24749
24750 \begin_layout Description
24751 collapsibleframe 畳み込み可能枠の縁色
24752 \end_layout
24753
24754 \begin_layout Description
24755 command コマンド差込枠の文字色
24756 \end_layout
24757
24758 \begin_layout Description
24759 commandbg コマンド差込枠の背景色
24760 \end_layout
24761
24762 \begin_layout Description
24763 commandframe コマンド差込枠の縁色
24764 \end_layout
24765
24766 \begin_layout Description
24767 commentbg コメントの背景色
24768 \end_layout
24769
24770 \begin_layout Description
24771 commentlabel コメント色
24772 \end_layout
24773
24774 \begin_layout Description
24775 cursor カーソル色
24776 \end_layout
24777
24778 \begin_layout Description
24779 deletedtext 削除された文章の色
24780 \end_layout
24781
24782 \begin_layout Description
24783 deletedtextmodifier 削除された文章の修飾子の色
24784 \end_layout
24785
24786 \begin_layout Description
24787 depthbar 余白部の階層表示線の色
24788 \end_layout
24789
24790 \begin_layout Description
24791 eolmarker 行末標色
24792 \end_layout
24793
24794 \begin_layout Description
24795 error \SpecialChar LaTeX
24796 エラーボックス色
24797 \end_layout
24798
24799 \begin_layout Description
24800 footlabel 脚註ラベル色
24801 \end_layout
24802
24803 \begin_layout Description
24804 foreground 
24805 \lang english
24806 Foreground color
24807 \end_layout
24808
24809 \begin_layout Description
24810 graphicsbg 画像差込枠の背景色
24811 \end_layout
24812
24813 \begin_layout Description
24814 greyedoutbg 淡色表示差込枠の背景色
24815 \end_layout
24816
24817 \begin_layout Description
24818 greyedoutlabel 淡色表示差込枠のラベル色
24819 \end_layout
24820
24821 \begin_layout Description
24822 greyedouttext 淡色表示差込枠の文字色
24823 \end_layout
24824
24825 \begin_layout Description
24826 indexlabel 索引差込枠のラベル色
24827 \end_layout
24828
24829 \begin_layout Description
24830 inlinecompletion 行内補完色
24831 \end_layout
24832
24833 \begin_layout Description
24834 insetbg 差込枠標の背景色
24835 \end_layout
24836
24837 \begin_layout Description
24838 insetframe 差込枠標の縁色
24839 \end_layout
24840
24841 \begin_layout Description
24842 language 外国語の単語を標識するための色
24843 \end_layout
24844
24845 \begin_layout Description
24846 latex \SpecialChar LaTeX
24847 モードの文字色
24848 \end_layout
24849
24850 \begin_layout Description
24851 listingsbg プログラムリスト差込枠の背景色
24852 \end_layout
24853
24854 \begin_layout Description
24855 marginlabel 傍註のラベル色
24856 \end_layout
24857
24858 \begin_layout Description
24859 math 数式差込枠の文字色
24860 \end_layout
24861
24862 \begin_layout Description
24863 mathbg 数式差込枠の背景色
24864 \end_layout
24865
24866 \begin_layout Description
24867 mathcorners フォーカスを得ていない数式差込枠の縁色
24868 \end_layout
24869
24870 \begin_layout Description
24871 mathframe フォーカスを得ている数式差込枠の縁色
24872 \end_layout
24873
24874 \begin_layout Description
24875 mathline 数式行色
24876 \end_layout
24877
24878 \begin_layout Description
24879 mathmacrobg 数式マクロ差込枠の背景色
24880 \end_layout
24881
24882 \begin_layout Description
24883 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
24884 \end_layout
24885
24886 \begin_layout Description
24887 mathmacroframe 数式マクロ差込枠の縁色
24888 \end_layout
24889
24890 \begin_layout Description
24891 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
24892 \end_layout
24893
24894 \begin_layout Description
24895 mathmacrolabel 数式マクロ差込枠のラベル色
24896 \end_layout
24897
24898 \begin_layout Description
24899 mathmacronewarg 数式マクロ新パラメーターのひな型色
24900 \end_layout
24901
24902 \begin_layout Description
24903 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
24904 \end_layout
24905
24906 \begin_layout Description
24907 newpage 新規頁色
24908 \end_layout
24909
24910 \begin_layout Description
24911 nonunique_inlinecompletion 行内補完の一意でない部分の色
24912 \end_layout
24913
24914 \begin_layout Description
24915 notebg 註釈の背景色
24916 \end_layout
24917
24918 \begin_layout Description
24919 notelabel 註釈のラベル色
24920 \end_layout
24921
24922 \begin_layout Description
24923 pagebreak 改頁/改行色
24924 \end_layout
24925
24926 \begin_layout Description
24927 paragraphmarker 段落末を標識するための段落標の色
24928 \end_layout
24929
24930 \begin_layout Description
24931 phantomtext 埋め草差込枠の文字色
24932 \end_layout
24933
24934 \begin_layout Description
24935 preview プレビューに用いられる色
24936 \end_layout
24937
24938 \begin_layout Description
24939 previewframe プレビュー縁色
24940 \end_layout
24941
24942 \begin_layout Description
24943 regexpframe 正規表現枠の色
24944 \end_layout
24945
24946 \begin_layout Description
24947 scroll 
24948 \lang english
24949 Color that indicates when a row can be scrolled
24950 \end_layout
24951
24952 \begin_layout Description
24953 selection 文章選択部の背景色
24954 \end_layout
24955
24956 \begin_layout Description
24957 selectiontext 文章選択部の前景色
24958 \end_layout
24959
24960 \begin_layout Description
24961 shadedbg 影付きボックスの背景色
24962 \end_layout
24963
24964 \begin_layout Description
24965 special 特殊文字の色
24966 \end_layout
24967
24968 \begin_layout Description
24969 tabularline 罫線色
24970 \end_layout
24971
24972 \begin_layout Description
24973 tabularonoffline 罫線色
24974 \end_layout
24975
24976 \begin_layout Description
24977 urllabel URL差込枠のラベル色
24978 \end_layout
24979
24980 \begin_layout Description
24981 urltext URL差込枠の文字色
24982 \end_layout
24983
24984 \end_body
24985 \end_document