]> git.lyx.org Git - lyx.git/blob - lib/doc/ja/Customization.lyx
Fix some non-accessible URLS
[lyx.git] / lib / doc / ja / Customization.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 564
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 jis-platex
91 \fontencoding auto
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 "https://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#PO-Mode
2950 \end_layout
2951
2952 \end_inset
2953
2954
2955 \end_layout
2956
2957 \end_inset
2958
2959 メニューラベルやウィジェットラベルのうちには,翻訳しなくてはならない
2960 \begin_inset Flex Ruby
2961 status collapsed
2962
2963 \begin_layout Plain Layout
2964 捷径
2965 \begin_inset Argument post:1
2966 status collapsed
2967
2968 \begin_layout Plain Layout
2969 ショートカット
2970 \end_layout
2971
2972 \end_inset
2973
2974
2975 \end_layout
2976
2977 \end_inset
2978
2979 がある場合があります.これらのキーは「|」の後に記されており,当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,新しい
2980 \begin_inset Flex Code
2981 status collapsed
2982
2983 \begin_layout Plain Layout
2984 po
2985 \end_layout
2986
2987 \end_inset
2988
2989 ファイルの冒頭に,あなたの電子メールアドレスなどの情報も書き加えて,人々があなたに提案や,滑稽な怒りのメッセージを届けることができるようにしてください.
2990 \end_layout
2991
2992 \begin_layout Standard
2993 もし,あなたがこれを自身のためだけに行っているのであれば,
2994 \end_layout
2995
2996 \begin_layout Itemize
2997 \begin_inset Flex Code
2998 status collapsed
2999
3000 \begin_layout Plain Layout
3001 xx.mo
3002 \end_layout
3003
3004 \end_inset
3005
3006 を生成してください.これは
3007 \begin_inset Flex Code
3008 status collapsed
3009
3010 \begin_layout Plain Layout
3011 msgfmt -o xx.mo < xx.po
3012 \end_layout
3013
3014 \end_inset
3015
3016 でできます.
3017 \end_layout
3018
3019 \begin_layout Itemize
3020 この
3021 \begin_inset Flex Code
3022 status collapsed
3023
3024 \begin_layout Plain Layout
3025 mo
3026 \end_layout
3027
3028 \end_inset
3029
3030 ファイルを,お使いのロケールツリー中,言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3031 \begin_inset Flex Code
3032 status collapsed
3033
3034 \begin_layout Plain Layout
3035 lyx.mo
3036 \end_layout
3037
3038 \end_inset
3039
3040 という名称にしてください(例:
3041 \begin_inset Flex Code
3042 status collapsed
3043
3044 \begin_layout Plain Layout
3045 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3046 \end_layout
3047
3048 \end_inset
3049
3050 ).
3051 \end_layout
3052
3053 \begin_layout Standard
3054 しかしながら前述のように,この新しい
3055 \begin_inset Flex Code
3056 status collapsed
3057
3058 \begin_layout Plain Layout
3059 po
3060 \end_layout
3061
3062 \end_inset
3063
3064 ファイルを他の人たちが使用できるよう,\SpecialChar LyX
3065 頒布版に追加できることが最善です.これを追加するには,\SpecialChar LyX
3066 に変更を加える必要がありますので,もしその気があれば,開発者メーリン
3067 グリストに電子メールを送ってください.
3068 \end_layout
3069
3070 \begin_layout Subsubsection
3071 多義訳語メッセージ
3072 \end_layout
3073
3074 \begin_layout Standard
3075 時には,一つの英語のメッセージが,翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3076 \begin_inset Flex Code
3077 status collapsed
3078
3079 \begin_layout Plain Layout
3080 To
3081 \end_layout
3082
3083 \end_inset
3084
3085 というメッセージで,これは英語で「to」がどういう意味を持っているかによって,独語ではNachと訳されたりBisと訳されたりします.GNU 
3086 \begin_inset Flex Code
3087 status collapsed
3088
3089 \begin_layout Plain Layout
3090 gettext
3091 \end_layout
3092
3093 \end_inset
3094
3095 は,このような多義訳語を
3096 \begin_inset Flex Code
3097 status collapsed
3098
3099 \begin_layout Plain Layout
3100 To
3101 \end_layout
3102
3103 \end_inset
3104
3105 の代わりに,
3106 \begin_inset Flex Code
3107 status collapsed
3108
3109 \begin_layout Plain Layout
3110 To[[as in 'From format x to format y']]
3111 \end_layout
3112
3113 \end_inset
3114
3115
3116 \begin_inset Flex Code
3117 status collapsed
3118
3119 \begin_layout Plain Layout
3120 To[[as in 'From page x to page y']]
3121 \end_layout
3122
3123 \end_inset
3124
3125 としなくてはなりません.これによって,これら2つの
3126 \begin_inset Flex Code
3127 status collapsed
3128
3129 \begin_layout Plain Layout
3130 To
3131 \end_layout
3132
3133 \end_inset
3134
3135 は,
3136 \begin_inset Flex Code
3137 status collapsed
3138
3139 \begin_layout Plain Layout
3140 gettext
3141 \end_layout
3142
3143 \end_inset
3144
3145 には別物と解釈され,それぞれ正しくNachとBisに訳すことができるようになります.
3146 \end_layout
3147
3148 \begin_layout Standard
3149 もちろん,この文脈情報は,翻訳が存在しないときには取り去られる必要がありますので,メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3150 の翻訳機構
3151 では,メッセージの終わりに二重大括弧で囲われているものはすべて,メッセージを表示する前に取り去るようにされています.
3152 \end_layout
3153
3154 \begin_layout Subsection
3155 説明書を翻訳する
3156 \end_layout
3157
3158 \begin_layout Standard
3159
3160 \begin_inset Flex MenuItem
3161 status collapsed
3162
3163 \begin_layout Plain Layout
3164 Help
3165 \end_layout
3166
3167 \end_inset
3168
3169 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!).説明書の翻訳版が利用可能であり
3170 \begin_inset Foot
3171 status collapsed
3172
3173 \begin_layout Plain Layout
3174 2008年3月現在,説明書の少なくとも一部が翻訳されている言語は14言語に上り,入門編が訳されているものはさらにいくつかあります.
3175 \end_layout
3176
3177 \end_inset
3178
3179 ,ロケールがその言語に設定されている場合,\SpecialChar LyX
3180 はこれを自動的に使用します.\SpecialChar LyX
3181 は,翻訳版を
3182 \begin_inset Flex Code
3183 status collapsed
3184
3185 \begin_layout Plain Layout
3186 LyXDir/doc/xx/DocName.lyx
3187 \end_layout
3188
3189 \end_inset
3190
3191
3192 \begin_inset Flex Code
3193 status collapsed
3194
3195 \begin_layout Plain Layout
3196 xx
3197 \end_layout
3198
3199 \end_inset
3200
3201 は現在使用している言語コード)で探します.翻訳文書がない場合には,既定の英語版が表示されます.翻訳版は,原典と同じファイル名(上述の
3202 \begin_inset Flex Code
3203 status collapsed
3204
3205 \begin_layout Plain Layout
3206 DocName
3207 \end_layout
3208
3209 \end_inset
3210
3211 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!),以下のような点をすぐに行
3212 うべきです.
3213 \end_layout
3214
3215 \begin_layout Itemize
3216 説明書翻訳ウェブページ
3217 \begin_inset CommandInset href
3218 LatexCommand href
3219 name "https://www.lyx.org/Translation"
3220 target "https://www.lyx.org/Translation"
3221 literal "false"
3222
3223 \end_inset
3224
3225 を確認してください.ここで,どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,説明書をお使いの言語に翻訳する作業の面倒を
3226 見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,私たちにあなたが興味をお持ちであることを知らせてください.
3227 \end_layout
3228
3229 \begin_layout Standard
3230 いったん実際の翻訳の仕事に取りかかったならば,トラブルを回避するいくつかのヒントがあります.
3231 \end_layout
3232
3233 \begin_layout Itemize
3234 文書化チームに所属してください!そのための情報が
3235 \begin_inset Flex Code
3236 status collapsed
3237
3238 \begin_layout Plain Layout
3239 Intro.lyx
3240 \end_layout
3241
3242 \end_inset
3243
3244
3245 \begin_inset Flex MenuItem
3246 status collapsed
3247
3248 \begin_layout Plain Layout
3249 ヘルプ\SpecialChar menuseparator
3250 はじめの一歩
3251 \end_layout
3252
3253 \end_inset
3254
3255 )にあります.また,この
3256 \begin_inset Flex Code
3257 status collapsed
3258
3259 \begin_layout Plain Layout
3260 Intro.lyx
3261 \end_layout
3262
3263 \end_inset
3264
3265 が最初に訳すべき文書です.
3266 \end_layout
3267
3268 \begin_layout Itemize
3269 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,何世紀にもわたって世界の至る所で,様々な慣行を発達させてきました.また,あなたの国
3270 で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3271 \emph on
3272 警告!活版技術は病みつきになる可能性があるので注意してくさい!
3273 \emph default
3274
3275 \end_layout
3276
3277 \begin_layout Itemize
3278 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3279 \begin_inset Flex Code
3280 status collapsed
3281
3282 \begin_layout Plain Layout
3283 UserDir/doc/xx/
3284 \end_layout
3285
3286 \end_inset
3287
3288 ディレクトリにコピーすれば,個人用の翻訳ヘルプファイルとして使用することができます.
3289 \begin_inset Newline newline
3290 \end_inset
3291
3292
3293 \begin_inset Note Greyedout
3294 status open
3295
3296 \begin_layout Plain Layout
3297
3298 \series bold
3299 【註】
3300 \series default
3301 外部素材(画像など)のある複雑な文書の場合,例えば一時ディレクトリなどにコピーを作ると,文書を別の場所に移したとき,外部素材へのリンクは壊れてしまうかもしれない
3302 ことに注意してください.最も良い方法は,LyXツリーをgit (
3303 \begin_inset Flex URL
3304 status collapsed
3305
3306 \begin_layout Plain Layout
3307
3308 https://www.lyx.org/HowToUseGIT
3309 \end_layout
3310
3311 \end_inset
3312
3313 参照)からとってきて,そのdocファイルを直接編集するのが良いでしょう.
3314 \end_layout
3315
3316 \end_inset
3317
3318
3319 \end_layout
3320
3321 \begin_layout Itemize
3322 (\SpecialChar LyX
3323 チームが維持している)原典の説明書は,時折更新されます.変更点については,
3324 \begin_inset CommandInset href
3325 LatexCommand href
3326 name "https://www.lyx.org/trac/timeline"
3327 target "https://www.lyx.org/trac/timeline"
3328 literal "false"
3329
3330 \end_inset
3331
3332 のソースビューアでご覧ください.この方法で,翻訳文書のどの部分を更新しなくてはならないか,たやすく見つけることができます.
3333 \end_layout
3334
3335 \begin_layout Standard
3336 もし原典に誤りを見つけたならば,修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3337 \end_layout
3338
3339 \begin_layout Standard
3340 \begin_inset Branch OutDated
3341 inverted 0
3342 status collapsed
3343
3344 \begin_layout Section
3345 International Keyboard Support
3346 \end_layout
3347
3348 \begin_layout Standard
3349
3350 \emph on
3351 [Editor's Note: The following section is by
3352 \emph default
3353  
3354 \shape smallcaps
3355 \emph on
3356 Ivan Schreter
3357 \shape default
3358 .
3359  It needs to be fixed to conform to the new Documentation Style sheet and
3360  to make use of the new v1.0 features.
3361  The whole thing also needs to be merged with the section following it.-jw
3362  It may also be badly out of date.-rh (2008)]
3363 \end_layout
3364
3365 \begin_layout Subsection
3366 Defining Own Keymaps: Keymap File Format
3367 \end_layout
3368
3369 \begin_layout Standard
3370 Let's look at a keyboard definition file a little closer.
3371  It is a plain text file defining
3372 \end_layout
3373
3374 \begin_layout Itemize
3375 key-to-key or key-to-string translations
3376 \end_layout
3377
3378 \begin_layout Itemize
3379 dead keys
3380 \end_layout
3381
3382 \begin_layout Itemize
3383 dead keys exceptions
3384 \end_layout
3385
3386 \begin_layout Standard
3387 To define key-to-key or key-to-string translation, use this command:
3388 \end_layout
3389
3390 \begin_layout Quotation
3391 \begin_inset Flex Code
3392 status collapsed
3393
3394 \begin_layout Plain Layout
3395
3396 \backslash
3397 kmap
3398 \end_layout
3399
3400 \end_inset
3401
3402  
3403 \begin_inset Flex Code
3404 status collapsed
3405
3406 \begin_layout Plain Layout
3407 key
3408 \end_layout
3409
3410 \end_inset
3411
3412  outstring 
3413 \end_layout
3414
3415 \begin_layout Standard
3416 where 
3417 \begin_inset Flex Code
3418 status collapsed
3419
3420 \begin_layout Plain Layout
3421 key
3422 \end_layout
3423
3424 \end_inset
3425
3426  is the key to be translated and 
3427 \begin_inset Flex Code
3428 status collapsed
3429
3430 \begin_layout Plain Layout
3431 outstring
3432 \end_layout
3433
3434 \end_inset
3435
3436  is the string to be inserted into the document.
3437  To define dead keys, use:
3438 \end_layout
3439
3440 \begin_layout Quotation
3441 \begin_inset Flex Code
3442 status collapsed
3443
3444 \begin_layout Plain Layout
3445
3446 \backslash
3447 kmod
3448 \end_layout
3449
3450 \end_inset
3451
3452  
3453 \begin_inset Flex Code
3454 status collapsed
3455
3456 \begin_layout Plain Layout
3457 key
3458 \end_layout
3459
3460 \end_inset
3461
3462  deadkey
3463 \end_layout
3464
3465 \begin_layout Standard
3466 where 
3467 \begin_inset Flex Code
3468 status collapsed
3469
3470 \begin_layout Plain Layout
3471 key
3472 \end_layout
3473
3474 \end_inset
3475
3476  is a keyboard key and 
3477 \begin_inset Flex Code
3478 status collapsed
3479
3480 \begin_layout Plain Layout
3481 deadkey
3482 \end_layout
3483
3484 \end_inset
3485
3486  is dead key name.
3487  The following dead keys are supported (shortcut name is in parentheses):
3488 \end_layout
3489
3490 \begin_layout Quotation
3491
3492 \emph on
3493 Name
3494 \begin_inset space \hfill{}
3495 \end_inset
3496
3497 Example
3498 \end_layout
3499
3500 \begin_layout Quotation
3501 acute (acu)
3502 \begin_inset space \hfill{}
3503 \end_inset
3504
3505
3506 \lang english
3507 áéíóú
3508 \end_layout
3509
3510 \begin_layout Quotation
3511 grave (gra)
3512 \begin_inset space \hfill{}
3513 \end_inset
3514
3515
3516 \lang english
3517 àèìòù
3518 \end_layout
3519
3520 \begin_layout Quotation
3521 macron (mac)
3522 \begin_inset space \hfill{}
3523 \end_inset
3524
3525
3526 \lang english
3527  ō
3528 \end_layout
3529
3530 \begin_layout Quotation
3531 tilde (til)
3532 \begin_inset space \hfill{}
3533 \end_inset
3534
3535
3536 \lang english
3537 ñÑ
3538 \end_layout
3539
3540 \begin_layout Quotation
3541 underbar (underb)
3542 \begin_inset space \hfill{}
3543 \end_inset
3544
3545
3546 \begin_inset ERT
3547 status open
3548
3549 \begin_layout Plain Layout
3550
3551
3552 \backslash
3553 b o
3554 \end_layout
3555
3556 \end_inset
3557
3558
3559 \end_layout
3560
3561 \begin_layout Quotation
3562 cedilla (ced)
3563 \begin_inset space \hfill{}
3564 \end_inset
3565
3566
3567 \lang english
3568 çÇ
3569 \end_layout
3570
3571 \begin_layout Quotation
3572 underdot (underd)
3573 \begin_inset space \hfill{}
3574 \end_inset
3575
3576
3577 \begin_inset ERT
3578 status open
3579
3580 \begin_layout Plain Layout
3581
3582
3583 \backslash
3584 d o
3585 \end_layout
3586
3587 \end_inset
3588
3589
3590 \end_layout
3591
3592 \begin_layout Quotation
3593 circumflex (circu)
3594 \begin_inset space \hfill{}
3595 \end_inset
3596
3597
3598 \lang english
3599 âêîôû
3600 \end_layout
3601
3602 \begin_layout Quotation
3603 circle (circl)
3604 \begin_inset space \hfill{}
3605 \end_inset
3606
3607
3608 \lang english
3609 ÅůŮ
3610 \end_layout
3611
3612 \begin_layout Quotation
3613 tie (tie)
3614 \begin_inset space \hfill{}
3615 \end_inset
3616
3617
3618 \begin_inset ERT
3619 status open
3620
3621 \begin_layout Plain Layout
3622
3623
3624 \backslash
3625 t o
3626 \end_layout
3627
3628 \end_inset
3629
3630
3631 \end_layout
3632
3633 \begin_layout Quotation
3634 breve (bre)
3635 \begin_inset space \hfill{}
3636 \end_inset
3637
3638
3639 \lang english
3640 ă
3641 \lang japanese
3642
3643 \begin_inset ERT
3644 status open
3645
3646 \begin_layout Plain Layout
3647
3648
3649 \backslash
3650 u o
3651 \end_layout
3652
3653 \end_inset
3654
3655
3656 \end_layout
3657
3658 \begin_layout Quotation
3659 caron (car)
3660 \begin_inset space \hfill{}
3661 \end_inset
3662
3663
3664 \lang english
3665 čšž
3666 \end_layout
3667
3668 \begin_layout Quotation
3669 hungarian umlaut (hug)
3670 \begin_inset space \hfill{}
3671 \end_inset
3672
3673
3674 \lang english
3675 őű
3676 \end_layout
3677
3678 \begin_layout Quotation
3679 umlaut (uml)
3680 \begin_inset space \hfill{}
3681 \end_inset
3682
3683
3684 \lang english
3685 äöü
3686 \end_layout
3687
3688 \begin_layout Quotation
3689 dot (dot)
3690 \begin_inset space \hfill{}
3691 \end_inset
3692
3693
3694 \lang english
3695 ż
3696 \lang japanese
3697
3698 \begin_inset ERT
3699 status open
3700
3701 \begin_layout Plain Layout
3702
3703
3704 \backslash
3705 .s
3706 \end_layout
3707
3708 \end_inset
3709
3710
3711 \end_layout
3712
3713 \begin_layout Standard
3714 Since in many international keyboards there are exceptions to what some
3715  dead keys should do, you can define them using
3716 \end_layout
3717
3718 \begin_layout Quotation
3719 \begin_inset Flex Code
3720 status collapsed
3721
3722 \begin_layout Plain Layout
3723
3724 \backslash
3725 kxmod
3726 \end_layout
3727
3728 \end_inset
3729
3730  deadkey key outstring
3731 \end_layout
3732
3733 \begin_layout Standard
3734 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3735 , so you put in
3736 \end_layout
3737
3738 \begin_layout Quotation
3739 \begin_inset Flex Code
3740 status collapsed
3741
3742 \begin_layout Plain Layout
3743
3744 \backslash
3745 kxmod
3746 \end_layout
3747
3748 \end_inset
3749
3750  caron o "
3751 \backslash
3752 ^o"
3753 \end_layout
3754
3755 \begin_layout Standard
3756 to make it work correctly.
3757  Also, you have to define as exceptions dead keys over i and j, to remove
3758  the dot from them before inserting an accent mark.
3759  I will change this when the time comes, but so far I haven't had time.
3760 \end_layout
3761
3762 \begin_layout Standard
3763 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3764  double backslash.
3765  Also, quotes and 
3766 \begin_inset Flex Code
3767 status collapsed
3768
3769 \begin_layout Plain Layout
3770 #
3771 \end_layout
3772
3773 \end_inset
3774
3775  have different meaning.
3776  
3777 \begin_inset Flex Code
3778 status collapsed
3779
3780 \begin_layout Plain Layout
3781 #
3782 \end_layout
3783
3784 \end_inset
3785
3786  marks comments, quotes start and end \SpecialChar LaTeX
3787 -style commands.
3788  To enter quote, you'll need to use 
3789 \begin_inset Flex Code
3790 status collapsed
3791
3792 \begin_layout Plain Layout
3793
3794 \backslash
3795 "
3796 \end_layout
3797
3798 \end_inset
3799
3800 , to enter 
3801 \begin_inset Flex Code
3802 status collapsed
3803
3804 \begin_layout Plain Layout
3805 #
3806 \end_layout
3807
3808 \end_inset
3809
3810 , use 
3811 \begin_inset Flex Code
3812 status collapsed
3813
3814 \begin_layout Plain Layout
3815
3816 \backslash
3817 #
3818 \end_layout
3819
3820 \end_inset
3821
3822 .
3823 \end_layout
3824
3825 \begin_layout Standard
3826 If you make a keyboard description file that works for your language, please
3827  mail it to me, so I can include it in the next keymap distribution.
3828 \end_layout
3829
3830 \begin_layout Standard
3831 More keywords will be supported in keymap configuration file in future,
3832  like
3833 \end_layout
3834
3835 \begin_layout Itemize
3836 \begin_inset Flex Code
3837 status collapsed
3838
3839 \begin_layout Plain Layout
3840
3841 \backslash
3842 kinclude filename
3843 \end_layout
3844
3845 \end_inset
3846
3847
3848 \emph on
3849
3850 \begin_inset space \hfill{}
3851 \end_inset
3852
3853
3854 \begin_inset Flex Code
3855 status collapsed
3856
3857 \begin_layout Plain Layout
3858 include
3859 \end_layout
3860
3861 \end_inset
3862
3863  another file
3864 \end_layout
3865
3866 \begin_layout Itemize
3867 \begin_inset Flex Code
3868 status collapsed
3869
3870 \begin_layout Plain Layout
3871
3872 \backslash
3873 kprog program
3874 \end_layout
3875
3876 \end_inset
3877
3878
3879 \emph on
3880
3881 \begin_inset space \hfill{}
3882 \end_inset
3883
3884
3885 \begin_inset Flex Code
3886 status collapsed
3887
3888 \begin_layout Plain Layout
3889 define
3890 \end_layout
3891
3892 \end_inset
3893
3894  an external keymap translation program 
3895 \end_layout
3896
3897 \begin_layout Standard
3898 Also, it should look into 
3899 \begin_inset Flex Code
3900 status collapsed
3901
3902 \begin_layout Plain Layout
3903 lyxrc
3904 \end_layout
3905
3906 \end_inset
3907
3908  file for defaults, too (for example, a 
3909 \begin_inset Flex Code
3910 status collapsed
3911
3912 \begin_layout Plain Layout
3913
3914 \backslash
3915 kinclude
3916 \end_layout
3917
3918 \end_inset
3919
3920  option to include default keyboard).
3921 \end_layout
3922
3923 \end_inset
3924
3925
3926 \end_layout
3927
3928 \begin_layout Section
3929 国際キー配列
3930 \begin_inset CommandInset label
3931 LatexCommand label
3932 name "sec:国際キー配列"
3933
3934 \end_inset
3935
3936
3937 \end_layout
3938
3939 \begin_layout Standard
3940 \begin_inset Note Note
3941 status open
3942
3943 \begin_layout Plain Layout
3944 2008年3月にこの文書を改訂するに当たって,改訂者が本節の内容に詳しくなかったために,本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
3945 \end_layout
3946
3947 \begin_layout Plain Layout
3948 (RH)
3949 \end_layout
3950
3951 \end_inset
3952
3953
3954 \end_layout
3955
3956 \begin_layout Standard
3957 以下の2節では,
3958 \begin_inset Flex Code
3959 status collapsed
3960
3961 \begin_layout Plain Layout
3962 .kmap
3963 \end_layout
3964
3965 \end_inset
3966
3967 および
3968 \begin_inset Flex Code
3969 status collapsed
3970
3971 \begin_layout Plain Layout
3972 .cdef
3973 \end_layout
3974
3975 \end_inset
3976
3977 ファイルの文法を詳細に解説します.これらの節は,提供されているキー配列があなたのニーズに合わない場合に,自身用のキー配列をデザインする手助けとなるでしょう.
3978 \end_layout
3979
3980 \begin_layout Subsection
3981 .kmapファイル
3982 \end_layout
3983
3984 \begin_layout Standard
3985 \begin_inset Flex Code
3986 status collapsed
3987
3988 \begin_layout Plain Layout
3989 .kmap
3990 \end_layout
3991
3992 \end_inset
3993
3994 ファイルは,打鍵したものを文字や文字列に割り当てます.名前が示唆するように,これはキーボード配列表を定義します.
3995 \begin_inset Flex Code
3996 status collapsed
3997
3998 \begin_layout Plain Layout
3999 .kmap
4000 \end_layout
4001
4002 \end_inset
4003
4004 ファイルは,以下の各項で説明するように,
4005 \begin_inset Flex Code
4006 status collapsed
4007
4008 \begin_layout Plain Layout
4009 kmap
4010 \end_layout
4011
4012 \end_inset
4013
4014
4015 \begin_inset Flex Code
4016 status collapsed
4017
4018 \begin_layout Plain Layout
4019 kmod
4020 \end_layout
4021
4022 \end_inset
4023
4024
4025 \begin_inset Flex Code
4026 status collapsed
4027
4028 \begin_layout Plain Layout
4029 ksmod
4030 \end_layout
4031
4032 \end_inset
4033
4034
4035 \begin_inset Flex Code
4036 status collapsed
4037
4038 \begin_layout Plain Layout
4039 kcomb
4040 \end_layout
4041
4042 \end_inset
4043
4044 のキーワードを定義します.
4045 \end_layout
4046
4047 \begin_layout Labeling
4048 \labelwidthstring 00.00.0000
4049 \begin_inset Flex Code
4050 status collapsed
4051
4052 \begin_layout Plain Layout
4053 kmap
4054 \end_layout
4055
4056 \end_inset
4057
4058  文字を文字列に割り当てる
4059 \end_layout
4060
4061 \begin_layout LyX-Code
4062
4063 \backslash
4064 kmap 
4065 \family roman
4066 \emph on
4067 文字
4068 \family default
4069 \emph default
4070  
4071 \family roman
4072 \emph on
4073 文字列
4074 \end_layout
4075
4076 \begin_layout Standard
4077 これは,
4078 \emph on
4079 文字
4080 \emph default
4081
4082 \emph on
4083 文字列
4084 \emph default
4085 に割り当てます.
4086 \emph on
4087 文字列
4088 \emph default
4089 中では,二重引用符(")とバックスラッシュ(
4090 \backslash
4091 )は,前にバックスラッシュ(
4092 \backslash
4093 )を付けてエスケープしなくてはならないことに注意してください.
4094 \end_layout
4095
4096 \begin_layout Standard
4097 \begin_inset Flex MenuItem
4098 status collapsed
4099
4100 \begin_layout Plain Layout
4101 &
4102 \end_layout
4103
4104 \end_inset
4105
4106 を打鍵すると
4107 \begin_inset Flex MenuItem
4108 status collapsed
4109
4110 \begin_layout Plain Layout
4111 /
4112 \end_layout
4113
4114 \end_inset
4115
4116 記号が出力される
4117 \begin_inset Flex MenuItem
4118 status collapsed
4119
4120 \begin_layout Plain Layout
4121 kmap
4122 \end_layout
4123
4124 \end_inset
4125
4126 ステートメントを,一例としてあげると,
4127 \end_layout
4128
4129 \begin_layout LyX-Code
4130
4131 \backslash
4132 kmap & /
4133 \end_layout
4134
4135 \begin_layout Standard
4136 のようになります.
4137 \end_layout
4138
4139 \begin_layout Labeling
4140 \labelwidthstring 00.00.0000
4141 \begin_inset Flex Code
4142 status collapsed
4143
4144 \begin_layout Plain Layout
4145 kmod
4146 \end_layout
4147
4148 \end_inset
4149
4150  アクセント文字を指定する
4151 \end_layout
4152
4153 \begin_layout LyX-Code
4154
4155 \backslash
4156 kmod 
4157 \family roman
4158 \emph on
4159 文字 アクセント 許可文字
4160 \end_layout
4161
4162 \begin_layout Standard
4163 これは
4164 \emph on
4165 文字
4166 \emph default
4167
4168 \emph on
4169 許可文字
4170 \emph default
4171 のアクセントとするものです.これはデッドキー
4172 \begin_inset Foot
4173 status collapsed
4174
4175 \begin_layout Plain Layout
4176
4177 \emph on
4178 デッドキー
4179 \emph default
4180 という用語は,それ自身で文字を出力しないけれども,別のキーを続けて打つと,望んだアクセント文字を出力するキーのことを指し示します.たとえば,独語で
4181 \emph on
4182 ä
4183 \emph default
4184 のようなウムラウトのついた文字は,このようにして出すことができます.
4185 \end_layout
4186
4187 \end_inset
4188
4189 機構です.
4190 \end_layout
4191
4192 \begin_layout Standard
4193
4194 \emph on
4195 文字
4196 \emph default
4197 を打鍵してから
4198 \emph on
4199 許可文字
4200 \emph default
4201 にないキーを打鍵すると,
4202 \emph on
4203 文字
4204 \emph default
4205 の後に許可文字ではないその文字が出力として表示されます.
4206 \begin_inset Flex MenuItem
4207 status collapsed
4208
4209 \begin_layout Plain Layout
4210 Backspace
4211 \end_layout
4212
4213 \end_inset
4214
4215 はデッドキーを取り消しますので,
4216 \emph on
4217 文字
4218 \emph default
4219
4220 \begin_inset Flex MenuItem
4221 status collapsed
4222
4223 \begin_layout Plain Layout
4224 Backspace
4225 \end_layout
4226
4227 \end_inset
4228
4229 と打鍵すると,カーソルは一文字戻ることなく,文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4230 \end_layout
4231
4232 \begin_layout Standard
4233 以下の例は,'文字をacuteアクセントとして,a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4234 \end_layout
4235
4236 \begin_layout LyX-Code
4237
4238 \backslash
4239 kmod ' acute aeiouAEIOU
4240 \end_layout
4241
4242 \begin_layout Labeling
4243 \labelwidthstring 00.00.0000
4244 \begin_inset Flex Code
4245 status collapsed
4246
4247 \begin_layout Plain Layout
4248 ksmod
4249 \end_layout
4250
4251 \end_inset
4252
4253  アクセント文字に例外を指定する
4254 \end_layout
4255
4256 \begin_layout LyX-Code
4257
4258 \backslash
4259 kxmod  
4260 \family roman
4261 \emph on
4262 アクセント 文字 結果
4263 \end_layout
4264
4265 \begin_layout Standard
4266 これは
4267 \emph on
4268 文字
4269 \emph default
4270 上の
4271 \emph on
4272 アクセント
4273 \emph default
4274 について例外を指定するものです.ここで
4275 \emph on
4276 アクセント
4277 \emph default
4278 には,前出の
4279 \begin_inset Flex Code
4280 status collapsed
4281
4282 \begin_layout Plain Layout
4283
4284 \backslash
4285 kmod
4286 \end_layout
4287
4288 \end_inset
4289
4290 宣言で打鍵キーを既に割り当てられてなくてはならず,
4291 \emph on
4292 文字
4293 \emph default
4294
4295 \emph on
4296 アクセント
4297 \emph default
4298
4299 \emph on
4300 許可文字
4301 \emph default
4302 の集合に属していてはなりません.こうして
4303 \emph on
4304 アクセント
4305 \emph default
4306
4307 \emph on
4308 文字
4309 \emph default
4310 の順に入力すると,
4311 \emph on
4312 結果
4313 \emph default
4314 が出力されるようになります.
4315 \begin_inset Flex Code
4316 status collapsed
4317
4318 \begin_layout Plain Layout
4319 .kmap
4320 \end_layout
4321
4322 \end_inset
4323
4324 ファイルにこの宣言がない場合には,
4325 \emph on
4326 アクセント
4327 \emph default
4328
4329 \emph on
4330 文字
4331 \emph default
4332 と入力すると,
4333 \emph on
4334 アクセントキー
4335 \emph default
4336
4337 \emph on
4338 文字
4339 \emph default
4340
4341 \emph on
4342 アクセントキー
4343 \emph default
4344
4345 \begin_inset Flex Code
4346 status collapsed
4347
4348 \begin_layout Plain Layout
4349
4350 \backslash
4351 kmod
4352 \end_layout
4353
4354 \end_inset
4355
4356 宣言の最初の変数)と出力されます.
4357 \end_layout
4358
4359 \begin_layout Standard
4360 以下のコマンドを用いると,acute-i('i)と入力した場合,äiと出力されるようになります.
4361 \end_layout
4362
4363 \begin_layout LyX-Code
4364
4365 \backslash
4366 kxmod acute i "
4367 \backslash
4368
4369 \backslash
4370 '{
4371 \backslash
4372
4373 \backslash
4374 i}"
4375 \end_layout
4376
4377 \begin_layout Labeling
4378 \labelwidthstring 00.00.0000
4379 \begin_inset Flex Code
4380 status collapsed
4381
4382 \begin_layout Plain Layout
4383 kcomb
4384 \end_layout
4385
4386 \end_inset
4387
4388  2つのアクセント文字を結合する
4389 \end_layout
4390
4391 \begin_layout LyX-Code
4392
4393 \backslash
4394 kcomb 
4395 \family roman
4396 \emph on
4397 アクセント1 アクセント2 許可文字
4398 \end_layout
4399
4400 \begin_layout Standard
4401 これはなかなか難解になってきます.これは
4402 \emph on
4403 アクセント1
4404 \emph default
4405
4406 \emph on
4407 アクセント2
4408 \emph default
4409 を(この順番で)結びつけて,
4410 \emph on
4411 許可文字
4412 \emph default
4413 に効果を及ぼすようにします.
4414 \emph on
4415 アクセント1
4416 \emph default
4417
4418 \emph on
4419 アクセント2
4420 \emph default
4421 の打鍵キーは,ファイル内のこのコマンド
4422 \emph on
4423 よりも前に
4424 \emph default
4425
4426 \begin_inset Flex Code
4427 status collapsed
4428
4429 \begin_layout Plain Layout
4430
4431 \backslash
4432 kmod
4433 \end_layout
4434
4435 \end_inset
4436
4437 コマンドで設定されていなくてはなりません.
4438 \end_layout
4439
4440 \begin_layout Standard
4441 \begin_inset Flex Code
4442 status collapsed
4443
4444 \begin_layout Plain Layout
4445 greek.kmap
4446 \end_layout
4447
4448 \end_inset
4449
4450 ファイル上にある例をとってみましょう.
4451 \end_layout
4452
4453 \begin_layout LyX-Code
4454
4455 \backslash
4456 kmod ; acute aeioyvhAEIOYVH 
4457 \backslash
4458 kmod : umlaut iyIY 
4459 \backslash
4460 kcomb acute umlaut iyIY
4461 \end_layout
4462
4463 \begin_layout Standard
4464 これは
4465 \begin_inset Flex MenuItem
4466 status collapsed
4467
4468 \begin_layout Plain Layout
4469 ;:i
4470 \end_layout
4471
4472 \end_inset
4473
4474 を押すと
4475 \begin_inset Flex Code
4476 status collapsed
4477
4478 \begin_layout Plain Layout
4479
4480 \backslash
4481 '{
4482 \backslash
4483 "{i}}
4484 \end_layout
4485
4486 \end_inset
4487
4488 という効果を得るようにするものです.この場合のバックスペースは,最後のデッドキーを取り消すので,
4489 \begin_inset Flex MenuItem
4490 status collapsed
4491
4492 \begin_layout Plain Layout
4493 ;: Backspace i
4494 \end_layout
4495
4496 \end_inset
4497
4498 と押した場合には,
4499 \begin_inset Flex Code
4500 status collapsed
4501
4502 \begin_layout Plain Layout
4503
4504 \backslash
4505 '{i}
4506 \end_layout
4507
4508 \end_inset
4509
4510 となります.
4511 \end_layout
4512
4513 \begin_layout Subsection
4514 .cdefファイル
4515 \end_layout
4516
4517 \begin_layout Standard
4518 \begin_inset Flex Code
4519 status collapsed
4520
4521 \begin_layout Plain Layout
4522 .kmap
4523 \end_layout
4524
4525 \end_inset
4526
4527 による割り当てが行われた後,
4528 \begin_inset Flex Code
4529 status collapsed
4530
4531 \begin_layout Plain Layout
4532 .cdef
4533 \end_layout
4534
4535 \end_inset
4536
4537 ファイルは,記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
4538 頒布版には,現在のところ,少なくとも
4539 \begin_inset Flex Code
4540 status collapsed
4541
4542 \begin_layout Plain Layout
4543 iso8859-1.cdef
4544 \end_layout
4545
4546 \end_inset
4547
4548 ファイルと
4549 \begin_inset Flex Code
4550 status collapsed
4551
4552 \begin_layout Plain Layout
4553 iso8859-2.cdef
4554 \end_layout
4555
4556 \end_inset
4557
4558 ファイルが含まれています.
4559 \end_layout
4560
4561 \begin_layout Standard
4562 一般的に
4563 \begin_inset Flex Code
4564 status collapsed
4565
4566 \begin_layout Plain Layout
4567 .cdef
4568 \end_layout
4569
4570 \end_inset
4571
4572 ファイルは,
4573 \end_layout
4574
4575 \begin_layout LyX-Code
4576
4577 \family roman
4578 \emph on
4579 セット中の文字番号
4580 \family default
4581 \emph default
4582  
4583 \family roman
4584 \emph on
4585  文字列
4586 \end_layout
4587
4588 \begin_layout Standard
4589 という形の宣言の羅列です.たとえば,
4590 \begin_inset Flex MenuItem
4591 status collapsed
4592
4593 \begin_layout Plain Layout
4594
4595 \backslash
4596 '{e}
4597 \end_layout
4598
4599 \end_inset
4600
4601 をiso-8859-1セットの対応する文字(233)に割り当てるには,以下の宣言を用います.
4602 \end_layout
4603
4604 \begin_layout LyX-Code
4605 233 "
4606 \backslash
4607
4608 \backslash
4609 '{e}"
4610 \end_layout
4611
4612 \begin_layout Standard
4613 ここで,
4614 \emph on
4615 文字列
4616 \emph default
4617 中の
4618 \begin_inset Flex Code
4619 status collapsed
4620
4621 \begin_layout Plain Layout
4622
4623 \backslash
4624
4625 \end_layout
4626
4627 \end_inset
4628
4629
4630 \begin_inset Flex Code
4631 status collapsed
4632
4633 \begin_layout Plain Layout
4634 "
4635 \end_layout
4636
4637 \end_inset
4638
4639 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
4640 \begin_inset Flex Code
4641 status collapsed
4642
4643 \begin_layout Plain Layout
4644 iso-8859-7.cdef
4645 \end_layout
4646
4647 \end_inset
4648
4649 ファイルには,
4650 \end_layout
4651
4652 \begin_layout LyX-Code
4653 192 "
4654 \backslash
4655
4656 \backslash
4657 '{
4658 \backslash
4659
4660 \backslash
4661
4662 \backslash
4663 "{i}}"
4664 \begin_inset Newline newline
4665 \end_inset
4666
4667 192 "
4668 \backslash
4669
4670 \backslash
4671
4672 \backslash
4673 "{
4674 \backslash
4675
4676 \backslash
4677 '{i}}"
4678 \end_layout
4679
4680 \begin_layout Standard
4681 という例があります.\SpecialChar LyX
4682 は,キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,それがアクセント付き文字のように解釈ができない
4683 かどうかチェックして,画面上の文字にアクセントを引くことを試みます.
4684 \end_layout
4685
4686 \begin_layout Subsection
4687 デッドキー
4688 \end_layout
4689
4690 \begin_layout Standard
4691 国際文字のサポートを追加する第2の方法として,いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,アクセント付き文字を生成します.ここではそ
4692 の機能を説明するために,きわめて単純なデッドキーの作り方を説明します.
4693 \end_layout
4694
4695 \begin_layout Standard
4696 仮に,曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,自身の
4697 \begin_inset Flex Code
4698 status collapsed
4699
4700 \begin_layout Plain Layout
4701 lyxrc
4702 \end_layout
4703
4704 \end_inset
4705
4706 ファイル中で,
4707 \begin_inset Flex MenuItem
4708 status collapsed
4709
4710 \begin_layout Plain Layout
4711 ^
4712 \end_layout
4713
4714 \end_inset
4715
4716 キー(すなわち
4717 \begin_inset Flex MenuItem
4718 status collapsed
4719
4720 \begin_layout Plain Layout
4721 Shift-6
4722 \end_layout
4723
4724 \end_inset
4725
4726 キー)を,\SpecialChar LyX
4727 コマンドの
4728 \begin_inset Flex Code
4729 status collapsed
4730
4731 \begin_layout Plain Layout
4732 accent-circumflex
4733 \end_layout
4734
4735 \end_inset
4736
4737 に結びつけることができます.すると
4738 \begin_inset Flex MenuItem
4739 status collapsed
4740
4741 \begin_layout Plain Layout
4742 ^
4743 \end_layout
4744
4745 \end_inset
4746
4747 キーの後に文字を打ったときはいつでも,この文字上に曲折アクセントが付けられるようになります.たとえば「
4748 \begin_inset Flex MenuItem
4749 status collapsed
4750
4751 \begin_layout Plain Layout
4752 ^e
4753 \end_layout
4754
4755 \end_inset
4756
4757 」という打鍵順は「ê」という文字を生成します.しかしながら,もし「
4758 \begin_inset Flex MenuItem
4759 status collapsed
4760
4761 \begin_layout Plain Layout
4762 ^t
4763 \end_layout
4764
4765 \end_inset
4766
4767 」と打鍵したならば,「
4768 \begin_inset Flex MenuItem
4769 status collapsed
4770
4771 \begin_layout Plain Layout
4772 t
4773 \end_layout
4774
4775 \end_inset
4776
4777 」は曲折アクセントをとることは決してないために,\SpecialChar LyX
4778 はビープを鳴らして文句を付けます.デッドキーの後に
4779 \begin_inset Flex MenuItem
4780 status collapsed
4781
4782 \begin_layout Plain Layout
4783 スペース
4784 \end_layout
4785
4786 \end_inset
4787
4788 を打つと,アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,このキー上の文字を別のキーに割り当て直す必要が
4789 あります.たとえば,
4790 \begin_inset Flex MenuItem
4791 status collapsed
4792
4793 \begin_layout Plain Layout
4794 ,キー
4795 \end_layout
4796
4797 \end_inset
4798
4799 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
4800 \end_layout
4801
4802 \begin_layout Standard
4803 デッドキーを割り当てるのによく用いられる方法は,
4804 \begin_inset Flex MenuItem
4805 status collapsed
4806
4807 \begin_layout Plain Layout
4808 Meta-
4809 \end_layout
4810
4811 \end_inset
4812
4813
4814 \begin_inset Flex MenuItem
4815 status collapsed
4816
4817 \begin_layout Plain Layout
4818 Ctrl-
4819 \end_layout
4820
4821 \end_inset
4822
4823
4824 \begin_inset Flex MenuItem
4825 status collapsed
4826
4827 \begin_layout Plain Layout
4828 Shift-
4829 \end_layout
4830
4831 \end_inset
4832
4833 キーを,「
4834 \begin_inset Flex MenuItem
4835 status collapsed
4836
4837 \begin_layout Plain Layout
4838 ~
4839 \end_layout
4840
4841 \end_inset
4842
4843 」・「
4844 \begin_inset Flex MenuItem
4845 status collapsed
4846
4847 \begin_layout Plain Layout
4848 ,
4849 \end_layout
4850
4851 \end_inset
4852
4853 」・「
4854 \begin_inset Flex MenuItem
4855 status collapsed
4856
4857 \begin_layout Plain Layout
4858 ^
4859 \end_layout
4860
4861 \end_inset
4862
4863 」のようなアクセントと一緒に用いる方法です.また,
4864 \begin_inset Flex Code
4865 status collapsed
4866
4867 \begin_layout Plain Layout
4868 xmodmap
4869 \end_layout
4870
4871 \end_inset
4872
4873
4874 \begin_inset Flex Code
4875 status collapsed
4876
4877 \begin_layout Plain Layout
4878 xkeycaps
4879 \end_layout
4880
4881 \end_inset
4882
4883 を使って,特別な
4884 \begin_inset Flex Code
4885 status collapsed
4886
4887 \begin_layout Plain Layout
4888 Mode_Switch
4889 \end_layout
4890
4891 \end_inset
4892
4893 キーを設定する方法もあります.
4894 \begin_inset Flex Code
4895 status collapsed
4896
4897 \begin_layout Plain Layout
4898 Mode_Switch
4899 \end_layout
4900
4901 \end_inset
4902
4903 キーは,ちょうど
4904 \begin_inset Flex MenuItem
4905 status collapsed
4906
4907 \begin_layout Plain Layout
4908 Shift
4909 \end_layout
4910
4911 \end_inset
4912
4913 キーのように機能するので,アクセント文字を割り当てるのに使用できます.また,特定のキーを
4914 \begin_inset Flex Code
4915 status collapsed
4916
4917 \begin_layout Plain Layout
4918 usldead_cedilla
4919 \end_layout
4920
4921 \end_inset
4922
4923 などに割り当てることで,これらのキーをデッドキーに仕立て,このシンボリックキーを対応する\SpecialChar LyX
4924 コマンドに割り当てることもできます
4925 \begin_inset Foot
4926 status collapsed
4927
4928 \begin_layout Plain Layout
4929
4930 \noun on
4931 John Weiss
4932 \noun default
4933 からの註:これはまさに私が,自分の
4934 \begin_inset Flex Code
4935 status collapsed
4936
4937 \begin_layout Plain Layout
4938 ~/.lyx/lyxrc
4939 \end_layout
4940
4941 \end_inset
4942
4943
4944 \begin_inset Flex Code
4945 status collapsed
4946
4947 \begin_layout Plain Layout
4948 ~/.xmodmap
4949 \end_layout
4950
4951 \end_inset
4952
4953 で行っていることです.私は,
4954 \begin_inset Flex MenuItem
4955 status collapsed
4956
4957 \begin_layout Plain Layout
4958 Scroll
4959 \begin_inset space ~
4960 \end_inset
4961
4962 Lock
4963 \end_layout
4964
4965 \end_inset
4966
4967 キーを
4968 \begin_inset Flex Code
4969 status collapsed
4970
4971 \begin_layout Plain Layout
4972 Mode_Shift
4973 \end_layout
4974
4975 \end_inset
4976
4977 に仕立てて,多数の
4978 \begin_inset Flex Code
4979 status collapsed
4980
4981 \begin_layout Plain Layout
4982 usldead_*
4983 \end_layout
4984
4985 \end_inset
4986
4987 シンボリックキーを
4988 \begin_inset Flex MenuItem
4989 status collapsed
4990
4991 \begin_layout Plain Layout
4992 Scroll
4993 \begin_inset space ~
4994 \end_inset
4995
4996 Lock-^
4997 \end_layout
4998
4999 \end_inset
5000
5001
5002 \begin_inset Flex MenuItem
5003 status collapsed
5004
5005 \begin_layout Plain Layout
5006 Scroll
5007 \begin_inset space ~
5008 \end_inset
5009
5010 Lock-~
5011 \end_layout
5012
5013 \end_inset
5014
5015 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5016 \end_layout
5017
5018 \end_inset
5019
5020 .この
5021 \begin_inset Flex Code
5022 status collapsed
5023
5024 \begin_layout Plain Layout
5025 Mode_Switch
5026 \end_layout
5027
5028 \end_inset
5029
5030 キーには,
5031 \begin_inset Flex MenuItem
5032 status collapsed
5033
5034 \begin_layout Plain Layout
5035 Ctrl-
5036 \end_layout
5037
5038 \end_inset
5039
5040 キーの片方や使われていないファンクションキーなど,ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5041 コマンドについては,
5042 \emph on
5043 \SpecialChar LyX
5044 関数説明書
5045 \emph default
5046
5047 \begin_inset Flex Code
5048 status collapsed
5049
5050 \begin_layout Plain Layout
5051 LFUN_ACCENT_*
5052 \end_layout
5053
5054 \end_inset
5055
5056 の項をご覧ください.ここには完備した一覧があります.
5057 \end_layout
5058
5059 \begin_layout Subsection
5060 自分の言語設定を保存する
5061 \end_layout
5062
5063 \begin_layout Standard
5064 \begin_inset Flex MenuItem
5065 status collapsed
5066
5067 \begin_layout Plain Layout
5068 ツール\SpecialChar menuseparator
5069 設定
5070 \end_layout
5071
5072 \end_inset
5073
5074 ダイアログを使えば,\SpecialChar LyX
5075 を起動したときに,ご希望の言語環境に自動的に設定されるように,設定を編集することができます.
5076 \end_layout
5077
5078 \begin_layout Chapter
5079 文書クラス・レイアウト・ひな型の新規導入
5080 \begin_inset CommandInset label
5081 LatexCommand label
5082 name "cha:新規文書を導入"
5083
5084 \end_inset
5085
5086
5087 \begin_inset Argument 1
5088 status collapsed
5089
5090 \begin_layout Plain Layout
5091 文書クラスを新規に導入する
5092 \end_layout
5093
5094 \end_inset
5095
5096
5097 \end_layout
5098
5099 \begin_layout Standard
5100 この章では,新しく\SpecialChar LyX
5101 のレイアウトファイルやひな型ファイルを作成して,導入する手順を説明すると共に,新規に\SpecialChar LaTeX
5102 文書クラス(ドキュメントクラス)を正しく導入する方法を復習
5103 します.
5104 \end_layout
5105
5106 \begin_layout Standard
5107 まず,\SpecialChar LyX
5108 と\SpecialChar LaTeX
5109 の間の関係をどのように考えるべきか,若干の註釈を加えておくことにしましょう.理解していただきたいことは,ある意味において,\SpecialChar LyX
5110 は,La\SpecialChar TeX
5111 について何も知らないと
5112 云うことです.実際のところ,\SpecialChar LyX
5113 の観点からは,\SpecialChar LaTeX
5114 は,\SpecialChar LyX
5115 が出力を生成することができる,複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形
5116 式には,DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5117 は,とくに重要な形式ですが,\SpecialChar LyX
5118 がLa\SpecialChar TeX
5119 について持っている情報のほとんどは,実はプログラム本体には含まれて
5120 いないのです
5121 \begin_inset Foot
5122 status collapsed
5123
5124 \begin_layout Plain Layout
5125 過度に複雑なため,\SpecialChar LyX
5126 に「ハードコード化」されているコマンドもありますが,一般的に開発者は,これを「わるいこと」とみなしています.
5127 \end_layout
5128
5129 \end_inset
5130
5131 .このような情報は,
5132 \begin_inset Flex Code
5133 status collapsed
5134
5135 \begin_layout Plain Layout
5136 article.cls
5137 \end_layout
5138
5139 \end_inset
5140
5141 のような標準クラスでも,「レイアウトファイル」に保管されています.同様に,\SpecialChar LyX
5142 は,DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5143 が知っていることは,レイア
5144 ウトファイルの中にあります.
5145 \end_layout
5146
5147 \begin_layout Standard
5148 文書クラス用のレイアウトファイルは,\SpecialChar LyX
5149 構成体—対応する様式や何らかの差込枠などを有する段落群—と,それに対応する\SpecialChar LaTeX
5150 構成体・DocBook構成体・XHTML構成体との
5151 間の翻訳指南書のようなものです.たとえば,\SpecialChar LyX
5152
5153 \begin_inset Flex Code
5154 status collapsed
5155
5156 \begin_layout Plain Layout
5157 article.cls
5158 \end_layout
5159
5160 \end_inset
5161
5162 について知っていることのほとんど総ては,
5163 \begin_inset Flex Code
5164 status collapsed
5165
5166 \begin_layout Plain Layout
5167 article.layout
5168 \end_layout
5169
5170 \end_inset
5171
5172 と,それが呼び出す他の様々なファイルに書き込まれています.このことから,レイアウトファイルを書こうとする人は,既存のファイルを研究することを勧めます.とっかかり
5173 としては,
5174 \begin_inset Flex Code
5175 status collapsed
5176
5177 \begin_layout Plain Layout
5178 article.layout
5179 \end_layout
5180
5181 \end_inset
5182
5183
5184 \begin_inset Flex Code
5185 status collapsed
5186
5187 \begin_layout Plain Layout
5188 book.layout
5189 \end_layout
5190
5191 \end_inset
5192
5193 や,文書クラス用の他のレイアウトファイルに取り込まれている
5194 \begin_inset Flex Code
5195 status collapsed
5196
5197 \begin_layout Plain Layout
5198 stdsections.inc
5199 \end_layout
5200
5201 \end_inset
5202
5203 から見始めるのがよいでしょう.このファイルは,節などの定義が為されている場所です.
5204 \begin_inset Flex Code
5205 status collapsed
5206
5207 \begin_layout Plain Layout
5208 stdsections.inc
5209 \end_layout
5210
5211 \end_inset
5212
5213 は,節様式や小節様式などとしてマークされている段落を,対応する\SpecialChar LaTeX
5214 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5215 に知らせるものです.基本的に
5216 \begin_inset Flex Code
5217 status collapsed
5218
5219 \begin_layout Plain Layout
5220 article.layout
5221 \end_layout
5222
5223 \end_inset
5224
5225 ファイルは,これらの
5226 \begin_inset Flex Code
5227 status collapsed
5228
5229 \begin_layout Plain Layout
5230 std*.inc
5231 \end_layout
5232
5233 \end_inset
5234
5235 ファイルを取り込んでいるだけのものです.
5236 \end_layout
5237
5238 \begin_layout Standard
5239 しかしながら,\SpecialChar LyX
5240 –\SpecialChar LaTeX
5241 間の対応を定義するだけが,レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,\SpecialChar LyX
5242 構成体自身が画面上にどのように表
5243 示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,レイアウトファイルが2つの仕事を行うという事実は,しばしば混乱を引き起こす元となり
5244 ます.ある段落様式を\SpecialChar LaTeX
5245 に翻訳する仕方を\SpecialChar LyX
5246 に指示することは,その表示の仕方を\SpecialChar LyX
5247 に指示するものではありません.逆に,ある段落様式の表示の仕方を\SpecialChar LyX
5248 に指示することは,その段落様
5249 式をどのように\SpecialChar LaTeX
5250 に翻訳するかを\SpecialChar LyX
5251 に指示するものではありません(ましてや\SpecialChar LaTeX
5252 に表示の仕方を指示するものではありません).つまり,一般的に,新しい\SpecialChar LyX
5253 構成体を定義する際には,(
5254 i)
5255 \begin_inset space ~
5256 \end_inset
5257
5258 \SpecialChar LaTeX
5259 にどのように翻訳するかを\SpecialChar LyX
5260 に指示する,(ii)
5261 \begin_inset space ~
5262 \end_inset
5263
5264 それをどのように表示するかを\SpecialChar LyX
5265 に指示する,という,二つのかなり異なることを行わなくてはならないのです.
5266 \end_layout
5267
5268 \begin_layout Standard
5269 もちろん,\SpecialChar LyX
5270 の他のバックエンド形式に関しても,ほぼ同じことが言えますが,XHTMLの場合には若干事情が異なり,\SpecialChar LyX
5271 が,ブラウザ中での段落の表示方法を(CSSの形で)出
5272 力するにあたって,当該段落を\SpecialChar LyX
5273 が画面上に出力する仕方の情報を,ある程度利用することができます.しかし,この場合でも,\SpecialChar LyX
5274 が内部的に行うことと,外部的に行う物事の間の区
5275 別は,依然として有効であり,この2つは独立して制御することができます.詳細に関しては,第
5276 \begin_inset CommandInset ref
5277 LatexCommand ref
5278 reference "sec:XHTML出力のタグ"
5279
5280 \end_inset
5281
5282 節をご覧ください.
5283 \end_layout
5284
5285 \begin_layout Section
5286 新しい\SpecialChar LaTeX
5287 ファイルの導入
5288 \end_layout
5289
5290 \begin_layout Standard
5291 頒布版によっては,\SpecialChar LyX
5292 で使いたい\SpecialChar LaTeX
5293 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,オーバーヘッドプロジェクタ用のスライドを準備するための
5294 パッケージである,Foil\SpecialChar TeX
5295 がないかもしれません.\SpecialChar TeX
5296 Live(2008年以降)やMiK\SpecialChar TeX
5297 のような最近の\SpecialChar LaTeX
5298 頒布版には,これらのパッケージを導入するためのユーザーインタフェ
5299 ースが用意されています.たとえば,MiK\SpecialChar TeX
5300 では,付属の「Package
5301 \begin_inset space ~
5302 \end_inset
5303
5304 Manager」プログラムを起動すると,利用できるパッケージの一覧を得ることができます.どれかを導入するには,その上で右クリックするかツールバーボタンを押してく
5305 ださい.
5306 \end_layout
5307
5308 \begin_layout Standard
5309 お使いの\SpecialChar LaTeX
5310 頒布版がこのような「パッケージマネジャー」を提供していなかったり,使用中の頒布版にそのパッケージが入っていない場合には,以下のステップに従って手動で導入
5311 してください.
5312 \end_layout
5313
5314 \begin_layout Enumerate
5315 \begin_inset CommandInset href
5316 LatexCommand href
5317 name "CTAN"
5318 target "http://www.ctan.org/"
5319 literal "false"
5320
5321 \end_inset
5322
5323 などから欲しいパッケージを入手してください.
5324 \end_layout
5325
5326 \begin_layout Enumerate
5327 パッケージに「
5328 \begin_inset Flex Code
5329 status collapsed
5330
5331 \begin_layout Plain Layout
5332 .ins
5333 \end_layout
5334
5335 \end_inset
5336
5337 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5338 がその一例です)は,コンソールを開いて,このファイルのフォルダに移動し,コマンド
5339 \begin_inset Flex Code
5340 status collapsed
5341
5342 \begin_layout Plain Layout
5343 latex foiltex.ins
5344 \end_layout
5345
5346 \end_inset
5347
5348 を実行してください.すると,パッケージが解凍されて,導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5349 パッケージは圧縮されていないので,このステップは飛ばすこ
5350 とができます.
5351 \end_layout
5352
5353 \begin_layout Enumerate
5354 ここで,パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5355 \end_layout
5356
5357 \begin_deeper
5358 \begin_layout Enumerate
5359 (Linux・OSXなどの)*nix系システムでは,システム上の全ユーザーに新パッケージを利用可能にしたければ,「ローカル」\SpecialChar TeX
5360 ツリーに導入し,そうでなければ「ユー
5361 ザー」\SpecialChar TeX
5362 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,お使いのシステムに依存します.これを見いだすには,
5363 \begin_inset Flex Code
5364 status collapsed
5365
5366 \begin_layout Plain Layout
5367 texmf.cnf
5368 \end_layout
5369
5370 \end_inset
5371
5372 ファイルを参照してください
5373 \begin_inset Foot
5374 status collapsed
5375
5376 \begin_layout Plain Layout
5377 このファイルは,通常
5378 \family sans
5379 $TEXMF/web2c
5380 \family default
5381 ディレクトリにありますが,コマンド
5382 \begin_inset Flex Code
5383 status collapsed
5384
5385 \begin_layout Plain Layout
5386 kpsewhich texmf.cnf
5387 \end_layout
5388
5389 \end_inset
5390
5391 を実行してその場所を見つけることもできます.
5392 \end_layout
5393
5394 \end_inset
5395
5396 .「ローカル」\SpecialChar TeX
5397 ツリーの場所は,
5398 \begin_inset Flex Code
5399 status collapsed
5400
5401 \begin_layout Plain Layout
5402 TEXMFLOCAL
5403 \end_layout
5404
5405 \end_inset
5406
5407 変数で定義されており,通常は
5408 \begin_inset Flex Code
5409 status collapsed
5410
5411 \begin_layout Plain Layout
5412 /usr/local/share/texmf/
5413 \end_layout
5414
5415 \end_inset
5416
5417
5418 \begin_inset Flex Code
5419 status collapsed
5420
5421 \begin_layout Plain Layout
5422 /usr/local/texlive/XXXX
5423 \end_layout
5424
5425 \end_inset
5426
5427  (XXXXは導入されている\SpecialChar TeX
5428 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
5429 ツリーの場所は,
5430 \begin_inset Flex Code
5431 status collapsed
5432
5433 \begin_layout Plain Layout
5434 TEXMFHOME
5435 \end_layout
5436
5437 \end_inset
5438
5439 で定義されており,通常は
5440 \begin_inset Flex Code
5441 status collapsed
5442
5443 \begin_layout Plain Layout
5444 $HOME/texmf/
5445 \end_layout
5446
5447 \end_inset
5448
5449
5450 \begin_inset Flex Code
5451 status collapsed
5452
5453 \begin_layout Plain Layout
5454 $HOME/.texliveXXXX
5455 \end_layout
5456
5457 \end_inset
5458
5459 です(もしこれらの変数が事前定義されていなければ,定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,おそらくroot権限が必要ですが
5460 ,「ユーザー」ツリーにはこのような制限はありません.
5461 \begin_inset Newline newline
5462 \end_inset
5463
5464 一般的に,システムをアップグレードした際に,ユーザーが修正されたり上書きされたりということが起こらないので,ユーザーツリーに導入することが推奨されます.こうする
5465 と,自分のホームディレクトリをバックアップする際に,パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
5466 \end_layout
5467
5468 \begin_layout Enumerate
5469 Windowで,システム上の全ユーザーに新パッケージを利用可能にしたい場合には,\SpecialChar LaTeX
5470 の導入されているフォルダのサブフォルダ
5471 \begin_inset Flex Code
5472 status collapsed
5473
5474 \begin_layout Plain Layout
5475 ~
5476 \backslash
5477 tex
5478 \backslash
5479 latex
5480 \end_layout
5481
5482 \end_inset
5483
5484 に移動します(MiK\SpecialChar TeX
5485 の既定値では,これは
5486 \begin_inset Flex Code
5487 status collapsed
5488
5489 \begin_layout Plain Layout
5490 ~:Programs
5491 \backslash
5492 MiKTeX
5493 \backslash
5494 tex
5495 \backslash
5496 latex
5497 \end_layout
5498
5499 \end_inset
5500
5501 です)
5502 \begin_inset Foot
5503 status open
5504
5505 \begin_layout Plain Layout
5506 これは,英語版でのみ正しいパスになっています.独語版では
5507 \begin_inset Flex Code
5508 status collapsed
5509
5510 \begin_layout Plain Layout
5511 ~:Programme
5512 \backslash
5513 MiKTeX
5514 \backslash
5515 tex
5516 \backslash
5517 latex
5518 \end_layout
5519
5520 \end_inset
5521
5522 となり,他の言語でも同様です.
5523 \end_layout
5524
5525 \end_inset
5526
5527 .ここに新規フォルダ
5528 \begin_inset Flex Code
5529 status collapsed
5530
5531 \begin_layout Plain Layout
5532 foiltex
5533 \end_layout
5534
5535 \end_inset
5536
5537 を作成し,パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,admin権限を持っていない場合には,ローカル\SpecialChar LaTeX
5538 フォルダで同じ
5539 ことを行います.たとえばMiK\SpecialChar TeX
5540
5541 \begin_inset space ~
5542 \end_inset
5543
5544 2.8では,これはWinXP上では
5545 \begin_inset Newline newline
5546 \end_inset
5547
5548
5549 \begin_inset Flex Code
5550 status collapsed
5551
5552 \begin_layout Plain Layout
5553 ~:
5554 \backslash
5555 Documents and Settings
5556 \backslash
5557 <ユーザー名>
5558 \backslash
5559 Application Data
5560 \backslash
5561
5562 \end_layout
5563
5564 \end_inset
5565
5566
5567 \begin_inset Newline newline
5568 \end_inset
5569
5570
5571 \begin_inset Phantom HPhantom
5572 status open
5573
5574 \begin_layout Plain Layout
5575
5576 \family typewriter
5577 ~:
5578 \backslash
5579
5580 \end_layout
5581
5582 \end_inset
5583
5584
5585 \begin_inset Flex Code
5586 status collapsed
5587
5588 \begin_layout Plain Layout
5589 MiKTeX
5590 \backslash
5591 2.8
5592 \backslash
5593 tex
5594 \backslash
5595 latex
5596 \end_layout
5597
5598 \end_inset
5599
5600
5601 \begin_inset Newline newline
5602 \end_inset
5603
5604 フォルダ,WinVista上では
5605 \begin_inset Newline newline
5606 \end_inset
5607
5608
5609 \begin_inset Flex Code
5610 status collapsed
5611
5612 \begin_layout Plain Layout
5613 ~:
5614 \backslash
5615 Users
5616 \backslash
5617 <ユーザー名>
5618 \backslash
5619 AppData
5620 \backslash
5621 Roaming
5622 \backslash
5623 2.8
5624 \backslash
5625 MiKTeX
5626 \backslash
5627 tex
5628 \backslash
5629 latex
5630 \end_layout
5631
5632 \end_inset
5633
5634
5635 \begin_inset Newline newline
5636 \end_inset
5637
5638 フォルダになります.
5639 \end_layout
5640
5641 \end_deeper
5642 \begin_layout Enumerate
5643 ここまで来れば,あとは\SpecialChar LaTeX
5644 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
5645 頒布版に依存します.
5646 \end_layout
5647
5648 \begin_deeper
5649 \begin_layout Enumerate
5650 \SpecialChar TeX
5651 Liveの場合には,コンソールから
5652 \begin_inset Flex Code
5653 status collapsed
5654
5655 \begin_layout Plain Layout
5656 texhash
5657 \end_layout
5658
5659 \end_inset
5660
5661 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,おそらくroot権限で行う必要があります.
5662 \end_layout
5663
5664 \begin_layout Enumerate
5665 MiK\SpecialChar TeX
5666 では,パッケージを全ユーザー用に導入した場合には,「Settings
5667 \begin_inset space ~
5668 \end_inset
5669
5670 (Admin)」を起動し,「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,「Settings」を起動して同様に行ってください
5671
5672 \end_layout
5673
5674 \end_deeper
5675 \begin_layout Enumerate
5676 最後に,\SpecialChar LyX
5677 に新しいパッケージがあることを告げなくてはなりません.そこで,\SpecialChar LyX
5678 からツール\SpecialChar menuseparator
5679 環境構成メニューを実行して,\SpecialChar LyX
5680 を再起動します.
5681 \end_layout
5682
5683 \begin_layout Standard
5684 これでパッケージが導入されました.この例では,文書クラス
5685 \begin_inset Flex Code
5686 status collapsed
5687
5688 \begin_layout Plain Layout
5689 Slides
5690 \begin_inset space ~
5691 \end_inset
5692
5693 (FoilTeX)
5694 \end_layout
5695
5696 \end_inset
5697
5698
5699 \begin_inset Flex MenuItem
5700 status collapsed
5701
5702 \begin_layout Plain Layout
5703 文書\SpecialChar menuseparator
5704 設定\SpecialChar menuseparator
5705 文書クラス
5706 \end_layout
5707
5708 \end_inset
5709
5710 で利用可能になっているはずです.
5711 \end_layout
5712
5713 \begin_layout Standard
5714 \begin_inset Flex MenuItem
5715 status collapsed
5716
5717 \begin_layout Plain Layout
5718 文書\SpecialChar menuseparator
5719 設定\SpecialChar menuseparator
5720 文書クラス
5721 \end_layout
5722
5723 \end_inset
5724
5725 メニューに列挙されてもいない\SpecialChar LaTeX
5726 文書クラスを使用したい場合には,その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
5727 \end_layout
5728
5729 \begin_layout Section
5730 レイアウトファイルの型
5731 \end_layout
5732
5733 \begin_layout Standard
5734 この節は,レイアウト情報を含む各種\SpecialChar LyX
5735 ファイルについて述べます.これらのファイルは,各種段落様式や文字様式についての記述がされているものであり,\SpecialChar LyX
5736 がそれらをどのように
5737 表示すべきなのか,また,それらをどのように\SpecialChar LaTeX
5738 やDocBook,XHTMLその他の出力形式に翻訳すればよいのかが記されています.
5739 \end_layout
5740
5741 \begin_layout Standard
5742 ここでは,レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,\SpecialChar LaTeX
5743 クラスだけでもサポートする文書の種類があまりにたくさんあるので,読者が出会いうるケース
5744 や問題をすべてカバーすることはとても望めません.\SpecialChar LyX
5745 ユーザーメーリングリストには,自身の経験を人々と分かち合いたいと望む,レイアウトデザインの経験豊かな人々がよく顔
5746 を出していますので,気軽に質問を投げかけてみてください.
5747 \end_layout
5748
5749 \begin_layout Standard
5750 新しいレイアウトを準備するに当たっては,\SpecialChar LyX
5751 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
5752 文書クラス用の\SpecialChar LyX
5753 レイアウトを作ったり,
5754 他の人々にも有用なモジュールをお書きになった場合には,
5755 \begin_inset CommandInset href
5756 LatexCommand href
5757 name "LyX Wikiのレイアウトに関する節"
5758 target "https://wiki.lyx.org/Layouts/Layouts"
5759 literal "false"
5760
5761 \end_inset
5762
5763 か,\SpecialChar LyX
5764 開発者メーリングリストに投稿して,\SpecialChar LyX
5765 頒布版に同梱することができるようにしてください
5766 \begin_inset Foot
5767 status collapsed
5768
5769 \begin_layout Plain Layout
5770 \SpecialChar LyX
5771 はGeneral Public Licenseの下でライセンスされていますので,\SpecialChar LyX
5772 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
5773 \end_layout
5774
5775 \end_inset
5776
5777
5778 \end_layout
5779
5780 \begin_layout Subsection
5781 レイアウトモジュール
5782 \begin_inset CommandInset label
5783 LatexCommand label
5784 name "subsec:レイアウトモジュール"
5785
5786 \end_inset
5787
5788
5789 \end_layout
5790
5791 \begin_layout Standard
5792 ここまで,「レイアウトファイル」についてお話してきました.しかし,レイアウト情報を含むものには,他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき
5793 ,それは
5794 \begin_inset Flex Code
5795 status collapsed
5796
5797 \begin_layout Plain Layout
5798 .layout
5799 \end_layout
5800
5801 \end_inset
5802
5803 拡張子を持ち,文書クラスに関する情報を\SpecialChar LyX
5804 に提供するものを指します.しかしながら,\SpecialChar LyX
5805  1.6以降,レイアウト情報は,拡張子が
5806 \begin_inset Flex Code
5807 status collapsed
5808
5809 \begin_layout Plain Layout
5810 .module
5811 \end_layout
5812
5813 \end_inset
5814
5815 のレイアウト
5816 \emph on
5817 モジュール
5818 \emph default
5819 にも含めることができます.レイアウトが\SpecialChar LaTeX
5820 クラスに対応しているように,モジュールは\SpecialChar LaTeX
5821 パッケージに対応するものであり,
5822 \begin_inset Flex Code
5823 status collapsed
5824
5825 \begin_layout Plain Layout
5826 endnotes
5827 \end_layout
5828
5829 \end_inset
5830
5831 モジュールのように,特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,特定の文書レイアウトに特化したものではなく,多くのレ
5832 イアウトで使用できるという意味において,一面,
5833 \begin_inset Flex Code
5834 status collapsed
5835
5836 \begin_layout Plain Layout
5837 stdsections.inc
5838 \end_layout
5839
5840 \end_inset
5841
5842 等のインクルードファイル
5843 \begin_inset Foot
5844 status collapsed
5845
5846 \begin_layout Plain Layout
5847 これらは任意の拡張子をつけることができますが,慣習的に
5848 \begin_inset Flex Code
5849 status collapsed
5850
5851 \begin_layout Plain Layout
5852 .inc
5853 \end_layout
5854
5855 \end_inset
5856
5857 拡張子が用いられます.
5858 \end_layout
5859
5860 \end_inset
5861
5862 のようなものです.相異なる点といえば,
5863 \begin_inset Flex Code
5864 status collapsed
5865
5866 \begin_layout Plain Layout
5867 article.cls
5868 \end_layout
5869
5870 \end_inset
5871
5872 でインクルードファイルを使用するには,そのファイルを編集しなくてはなりませんが,モジュールの場合は,
5873 \begin_inset Flex MenuItem
5874 status collapsed
5875
5876 \begin_layout Plain Layout
5877 文書\SpecialChar menuseparator
5878 設定
5879 \end_layout
5880
5881 \end_inset
5882
5883 ダイアログで選択するだけですみます.
5884 \end_layout
5885
5886 \begin_layout Standard
5887 モジュール作成は,新しく段落様式を一つ加えたり,自由差込枠を加えたりするだけで済むことも多いので,レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的に
5888 は,レイアウトファイルに入れることのできるものはすべて入れることができます.
5889 \end_layout
5890
5891 \begin_layout Standard
5892 新しいモジュールを作成し,それを
5893 \begin_inset Flex Code
5894 status collapsed
5895
5896 \begin_layout Plain Layout
5897 layout/
5898 \end_layout
5899
5900 \end_inset
5901
5902 フォルダにコピーした後,モジュールがメニューに現れるようにするためには,\SpecialChar LyX
5903 の環境構成を行って再起動しなくてはなりません.しかしながら,モジュールの修正の場合には,
5904 \begin_inset Flex MenuItem
5905 status collapsed
5906
5907 \begin_layout Plain Layout
5908 文書\SpecialChar menuseparator
5909 設定
5910 \end_layout
5911
5912 \end_inset
5913
5914 を開いてどれかを選択し「OK」を押せば,直ちに反映されます.
5915 \emph on
5916 これを実行する前に,作業中の文書を保存しておくことを強く勧めます
5917 \emph default
5918 .もっと言えば,
5919 \emph on
5920 実際の文書で作業しているときに,同時にモジュールの編集をしようとしないことを強く勧めます
5921 \emph default
5922 .もちろん開発陣は,そのような場合でも\SpecialChar LyX
5923 が安定性を維持するように努力していますが,あなたが作成したモジュール中の文法エラー等によって,奇妙な挙動が引き起こされるこ
5924 とがあるからです.
5925 \end_layout
5926
5927 \begin_layout Subsubsection
5928 ローカルレイアウト
5929 \end_layout
5930
5931 \begin_layout Standard
5932 \SpecialChar LyX
5933 に於けるモジュールは,\SpecialChar LaTeX
5934 に於けるパッケージに当たります.しかしながら,特定の差込枠や文字様式を,ひとつの文書のためだけに作りたいこともあるでしょうから,そのような
5935 場合に,他の文書でも利用できるようなモジュールをわざわざ書くことには,あまり意味がありません.このような場合に必要となるのが,「ローカルレイアウト」なのです.
5936 \end_layout
5937
5938 \begin_layout Standard
5939 これは,
5940 \family sans
5941 文書\SpecialChar menuseparator
5942 設定\SpecialChar menuseparator
5943 ローカルのレイアウト
5944 \family default
5945 にあります.そこにある大きなテキストボックスは,本来ならレイアウトファイルやモジュールに入力すべきものを,入力するためのものです.特定の文書のローカルレイアウト
5946 は,その文書専属のモジュールだと考えることができます.したがって,
5947 \begin_inset Flex Code
5948 status collapsed
5949
5950 \begin_layout Plain Layout
5951 Format
5952 \end_layout
5953
5954 \end_inset
5955
5956 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,通常は,執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
5957  
5958 \begin_inset Info
5959 type  "lyxinfo"
5960 arg   "version"
5961 \end_inset
5962
5963 では,最新書式は
5964 \begin_inset Info
5965 type  "lyxinfo"
5966 arg   "layoutformat"
5967 \end_inset
5968
5969 です)
5970 \end_layout
5971
5972 \begin_layout Standard
5973 \begin_inset Flex Code
5974 status collapsed
5975
5976 \begin_layout Plain Layout
5977 ローカルのレイアウト
5978 \end_layout
5979
5980 \end_inset
5981
5982 面に何かを入力すると,下部にある「検証」ボタンが有効になります.このボタンを押すと,ユーザーの入力したものが,指定された書式に沿って,有効なレイアウト情報になっ
5983 ているかどうかが検証されます.すると,\SpecialChar LyX
5984 がその結果を返しますが,残念ながら,エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,\SpecialChar LyX
5985 をターミナル(
5986 擬似端末)から起動した場合には,そのエラーがターミナルに返されます.ローカルレイアウトは,正しい書式で入力されないうちは,保存することができません.
5987 \end_layout
5988
5989 \begin_layout Standard
5990 ここで,前節と同じ警告があります.ローカルレイアウトは,作業中の文書上で,特に保存していない文書上ではいじらないでください.それに注意すれば,テスト用文書上でロ
5991 ーカルレイアウトを用いるのは,レイアウトのアイディアを試すのに便利ですし,モジュール開発の第一歩としても便利です.
5992 \end_layout
5993
5994 \begin_layout Subsection
5995 \begin_inset Flex MenuItem
5996 status collapsed
5997
5998 \begin_layout Plain Layout
5999 .sty
6000 \end_layout
6001
6002 \end_inset
6003
6004 ファイル用のレイアウト
6005 \end_layout
6006
6007 \begin_layout Standard
6008 新しく\SpecialChar LaTeX
6009 文書クラスをサポートしようとするとき,\SpecialChar LaTeX2e
6010 クラス(
6011 \begin_inset Flex Code
6012 status collapsed
6013
6014 \begin_layout Plain Layout
6015 .cls
6016 \end_layout
6017
6018 \end_inset
6019
6020 )ファイルが絡む場合と,スタイル(
6021 \begin_inset Flex Code
6022 status collapsed
6023
6024 \begin_layout Plain Layout
6025 .sty
6026 \end_layout
6027
6028 \end_inset
6029
6030 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,通常は,かなり容易ですが,新しくクラスファイルをサポートすることは,もう少し難しくな
6031 ります.この節では,前者について述べることとし,後者については次節に譲ります.当然のことながら,新しくDocBook DTDをサポートしたい場合にも,同様の所見
6032 が当てはまります.
6033 \end_layout
6034
6035 \begin_layout Standard
6036 この易しい方の場合では,新しい文書クラスは,既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,スタイルファイルは
6037 \begin_inset Flex MenuItem
6038 status collapsed
6039
6040 \begin_layout Plain Layout
6041 myclass.sty
6042 \end_layout
6043
6044 \end_inset
6045
6046 という名称で,標準的なクラスである
6047 \begin_inset Flex MenuItem
6048 status collapsed
6049
6050 \begin_layout Plain Layout
6051 report.cls
6052 \end_layout
6053
6054 \end_inset
6055
6056 と共に用いられるものと仮定しましょう.
6057 \end_layout
6058
6059 \begin_layout Standard
6060 既存の文書クラスのレイアウトファイルを,以下のように,お使いのローカルディレクトリにコピーすることから始めてください
6061 \begin_inset Foot
6062 status collapsed
6063
6064 \begin_layout Plain Layout
6065 もちろん,どのディレクトリがローカルディレクトリとなるかは,プラットフォームに依存します.\SpecialChar LyX
6066 では,起動時に
6067 \begin_inset Flex MenuItem
6068 status collapsed
6069
6070 \begin_layout Plain Layout
6071 -userdir
6072 \end_layout
6073
6074 \end_inset
6075
6076 オプションを指定することによって,ローカルディレクトリを指定することも可能です.
6077 \end_layout
6078
6079 \end_inset
6080
6081
6082 \end_layout
6083
6084 \begin_layout LyX-Code
6085 cp report.layout ~/.lyx/layouts/myclass.layout
6086 \end_layout
6087
6088 \begin_layout Standard
6089 それから,
6090 \begin_inset Flex Code
6091 status collapsed
6092
6093 \begin_layout Plain Layout
6094 myclass.layout
6095 \end_layout
6096
6097 \end_inset
6098
6099 を編集して,
6100 \end_layout
6101
6102 \begin_layout LyX-Code
6103
6104 \backslash
6105 DeclareLaTeXClass{report}
6106 \end_layout
6107
6108 \begin_layout Standard
6109 という行を
6110 \end_layout
6111
6112 \begin_layout LyX-Code
6113
6114 \backslash
6115 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6116 \end_layout
6117
6118 \begin_layout Standard
6119 のように変更してください.それから,ファイル冒頭辺りに
6120 \end_layout
6121
6122 \begin_layout LyX-Code
6123 Preamble 
6124 \begin_inset Newline newline
6125 \end_inset
6126
6127     
6128 \backslash
6129 usepackage{myclass}
6130 \begin_inset Newline newline
6131 \end_inset
6132
6133 EndPreamble
6134 \end_layout
6135
6136 \begin_layout Standard
6137 と書き加えてください.
6138 \end_layout
6139
6140 \begin_layout Standard
6141 \SpecialChar LyX
6142 を起動して
6143 \begin_inset Flex MenuItem
6144 status collapsed
6145
6146 \begin_layout Plain Layout
6147 ツール\SpecialChar menuseparator
6148 環境構成
6149 \end_layout
6150
6151 \end_inset
6152
6153 を選択してください.それから\SpecialChar LyX
6154 を再起動し,新規文書を作成してみてください.すると,
6155 \begin_inset Flex MenuItem
6156 status collapsed
6157
6158 \begin_layout Plain Layout
6159 文書\SpecialChar menuseparator
6160 設定
6161 \end_layout
6162
6163 \end_inset
6164
6165 ダイアログの文書クラスオプションに「
6166 \begin_inset Flex MenuItem
6167 status collapsed
6168
6169 \begin_layout Plain Layout
6170 report (myclass)
6171 \end_layout
6172
6173 \end_inset
6174
6175 」が現れるはずです.新しいクラスにおいて,節区切り用コマンドなどの一部が,基礎となったクラス—この例では
6176 \begin_inset Flex Code
6177 status collapsed
6178
6179 \begin_layout Plain Layout
6180 report
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 stdsections.inc
6201 \end_layout
6202
6203 \end_inset
6204
6205 も取り込む
6206 \begin_inset Flex Code
6207 status collapsed
6208
6209 \begin_layout Plain Layout
6210 Input stdclass.inc
6211 \end_layout
6212
6213 \end_inset
6214
6215 の後に変更を加えるだけです.たとえば,章見だしのフォントをサンセリフ体に変更するには,以下のような行を加えます.
6216 \end_layout
6217
6218 \begin_layout LyX-Code
6219 Style Chapter
6220 \end_layout
6221
6222 \begin_layout LyX-Code
6223     Font
6224 \end_layout
6225
6226 \begin_layout LyX-Code
6227         Family Sans
6228 \end_layout
6229
6230 \begin_layout LyX-Code
6231     EndFont
6232 \end_layout
6233
6234 \begin_layout LyX-Code
6235 End
6236 \end_layout
6237
6238 \begin_layout Standard
6239 これは,既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6240 \end_layout
6241
6242 \begin_layout Standard
6243 新しいパッケージでは,基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,これらをレイアウトファイルに加えます.そのやり方につ
6244 いては,第
6245 \begin_inset CommandInset ref
6246 LatexCommand ref
6247 reference "sec:テキストクラス"
6248
6249 \end_inset
6250
6251 節の情報を参照してください.
6252 \end_layout
6253
6254 \begin_layout Standard
6255 もし
6256 \begin_inset Flex Code
6257 status collapsed
6258
6259 \begin_layout Plain Layout
6260 myclass.sty
6261 \end_layout
6262
6263 \end_inset
6264
6265 が他の文書クラスで使用することができたり,あるいはできない場合でも,基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょ
6266 う.最も簡単なモジュールの例としては,以下のようなものになります.
6267 \end_layout
6268
6269 \begin_layout LyX-Code
6270 #
6271 \backslash
6272 DeclareLyXModule{My Package}
6273 \end_layout
6274
6275 \begin_layout LyX-Code
6276 #DescriptionBegin
6277 \end_layout
6278
6279 \begin_layout LyX-Code
6280 #Support for mypkg.sty.
6281 \end_layout
6282
6283 \begin_layout LyX-Code
6284 #DescriptionEnd
6285 \begin_inset Newline newline
6286 \end_inset
6287
6288
6289 \end_layout
6290
6291 \begin_layout LyX-Code
6292 Format 
6293 \begin_inset Info
6294 type  "lyxinfo"
6295 arg   "layoutformat"
6296 \end_inset
6297
6298
6299 \begin_inset Newline newline
6300 \end_inset
6301
6302
6303 \end_layout
6304
6305 \begin_layout LyX-Code
6306 Preamble
6307 \begin_inset Newline newline
6308 \end_inset
6309
6310     
6311 \backslash
6312 usepackage{mypkg}
6313 \begin_inset Newline newline
6314 \end_inset
6315
6316 EndPreamble
6317 \end_layout
6318
6319 \begin_layout Standard
6320 もう少し複雑なモジュールでは,既存の構成物の挙動を修正したり,新しい構成物を定義したりすることになるでしょう.この辺りの議論については,第
6321 \begin_inset CommandInset ref
6322 LatexCommand ref
6323 reference "sec:テキストクラス"
6324
6325 \end_inset
6326
6327 節を参照してください.
6328 \end_layout
6329
6330 \begin_layout Subsection
6331 \begin_inset Flex MenuItem
6332 status collapsed
6333
6334 \begin_layout Plain Layout
6335 .cls
6336 \end_layout
6337
6338 \end_inset
6339
6340 ファイル用のレイアウト
6341 \end_layout
6342
6343 \begin_layout Standard
6344 これには2つのケースがありえます.ひとつは,クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,多くの学位論文用クラスは
6345 \begin_inset Flex MenuItem
6346 status collapsed
6347
6348 \begin_layout Plain Layout
6349 book.cls
6350 \end_layout
6351
6352 \end_inset
6353
6354 に基づいています.お使いのものがどうであるかを見るには,クラスファイル中に
6355 \end_layout
6356
6357 \begin_layout LyX-Code
6358
6359 \backslash
6360 LoadClass{book}
6361 \end_layout
6362
6363 \begin_layout Standard
6364 という行がないかどうか探してください.もしこれがあれば,
6365 \begin_inset Flex Code
6366 status collapsed
6367
6368 \begin_layout Plain Layout
6369 Declare\SpecialChar LaTeX
6370 Class
6371 \end_layout
6372
6373 \end_inset
6374
6375 行は異なりますが,おおよそ前節のように進めることができます.あなたが新しく作るクラスが
6376 \begin_inset Flex Code
6377 status collapsed
6378
6379 \begin_layout Plain Layout
6380 thesis
6381 \end_layout
6382
6383 \end_inset
6384
6385 であり,
6386 \begin_inset Flex Code
6387 status collapsed
6388
6389 \begin_layout Plain Layout
6390 book
6391 \end_layout
6392
6393 \end_inset
6394
6395 クラスに基づいていれば,
6396 \begin_inset Flex Code
6397 status collapsed
6398
6399 \begin_layout Plain Layout
6400 Declare\SpecialChar LaTeX
6401 Class
6402 \end_layout
6403
6404 \end_inset
6405
6406 行は以下のようにします
6407 \begin_inset Foot
6408 status collapsed
6409
6410 \begin_layout Plain Layout
6411 さらに\SpecialChar LyX
6412 は,文書クラス名がレイアウトファイル名と同じだと仮定するので,クラスファイルを
6413 \begin_inset Flex Code
6414 status collapsed
6415
6416 \begin_layout Plain Layout
6417 thesis.layout
6418 \end_layout
6419
6420 \end_inset
6421
6422 という名前で保存するのが最も簡単です. 
6423 \end_layout
6424
6425 \end_inset
6426
6427
6428 \end_layout
6429
6430 \begin_layout LyX-Code
6431
6432 \backslash
6433 DeclareLaTeXClass[thesis,book]{thesis}
6434 \end_layout
6435
6436 \begin_layout Standard
6437 他方,新しいクラスが既存のクラスに基づいていない場合には,おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,類似した\SpecialChar LaTeX
6438 クラスを使用してい
6439 る既存のレイアウトファイルをコピーして,それに修正を加えるようにすることを強くお勧めします.少なくとも,どの項目を考慮すべきかがわかるように,既存のファイルを作
6440 業の開始点としてください.
6441 \end_layout
6442
6443 \begin_layout Subsection
6444 ひな型を作成する
6445 \begin_inset CommandInset label
6446 LatexCommand label
6447 name "sec:ひな型を作成する"
6448
6449 \end_inset
6450
6451
6452 \end_layout
6453
6454 \begin_layout Standard
6455 新しい文書クラス用のレイアウトファイルを書いたならば,そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,内容はダミーですが,レイアウトの使
6456 い方を示す一種のチュートリアルとして動作します.もちろん,イメージを得るために,\SpecialChar LyX
6457 添付のひな型をあれこれ見てみるのもよいでしょう.
6458 \end_layout
6459
6460 \begin_layout Standard
6461 ひな型は,通常の文書と同様,\SpecialChar LyX
6462 を使って作成することができます.唯一違う点は,通常の文書では,フォント構成や用紙寸法を含め,すべてのあり得る設定が為されている点です
6463 .これらの場合,通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,ひな型の設計者は,
6464 \begin_inset Flex Code
6465 status collapsed
6466
6467 \begin_layout Plain Layout
6468
6469 \backslash
6470 fontscheme
6471 \end_layout
6472
6473 \end_inset
6474
6475
6476 \begin_inset Flex Code
6477 status collapsed
6478
6479 \begin_layout Plain Layout
6480
6481 \backslash
6482 papersize
6483 \end_layout
6484
6485 \end_inset
6486
6487 などの対応するコマンドをひな型\SpecialChar LyX
6488 ファイルから取り除く必要があります.これは,たとえば
6489 \begin_inset Flex Code
6490 status collapsed
6491
6492 \begin_layout Plain Layout
6493 vi
6494 \end_layout
6495
6496 \end_inset
6497
6498
6499 \begin_inset Flex Code
6500 status collapsed
6501
6502 \begin_layout Plain Layout
6503 notepad
6504 \end_layout
6505
6506 \end_inset
6507
6508 のような,どの軽いテキストエディタでも行うことができます.
6509 \end_layout
6510
6511 \begin_layout Standard
6512 編集したひな型を
6513 \begin_inset Flex Code
6514 status collapsed
6515
6516 \begin_layout Plain Layout
6517 UserDir/templates/
6518 \end_layout
6519
6520 \end_inset
6521
6522 に置き,グローバルなひな型ディレクトリ
6523 \begin_inset Flex Code
6524 status collapsed
6525
6526 \begin_layout Plain Layout
6527 LyXDir/templates/
6528 \end_layout
6529
6530 \end_inset
6531
6532 から使用したいものを同じ場所にコピーし,
6533 \begin_inset Flex MenuItem
6534 status collapsed
6535
6536 \begin_layout Plain Layout
6537 ツール\SpecialChar menuseparator
6538 設定\SpecialChar menuseparator
6539 パス
6540 \end_layout
6541
6542 \end_inset
6543
6544 ダイアログのひな型パスを再定義してください.
6545 \end_layout
6546
6547 \begin_layout Standard
6548 ところで,特別な意味を持つひな型
6549 \begin_inset Flex Code
6550 status collapsed
6551
6552 \begin_layout Plain Layout
6553 defaults.lyx
6554 \end_layout
6555
6556 \end_inset
6557
6558 があることに注意してください.このひな型は,
6559 \begin_inset Flex MenuItem
6560 status collapsed
6561
6562 \begin_layout Plain Layout
6563 ファイル\SpecialChar menuseparator
6564 新規
6565 \end_layout
6566
6567 \end_inset
6568
6569 を使って新規文書を作成する際,便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
6570 内部から作成するのにしなくてはならないことは,対応する設定を持つ文書を
6571 開き,
6572 \begin_inset Flex MenuItem
6573 status collapsed
6574
6575 \begin_layout Plain Layout
6576 文書既定値として保存
6577 \end_layout
6578
6579 \end_inset
6580
6581 ボタンを押すことです.
6582 \end_layout
6583
6584 \begin_layout Subsection
6585 旧レイアウトファイルの更新
6586 \end_layout
6587
6588 \begin_layout Standard
6589 レイアウトファイルの書式は,\SpecialChar LyX
6590 のリリース毎に変更されますので,古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
6591 が古い書式のレイアウトファイルを読み込むと,\SpecialChar LyX
6592 は,
6593 自動的に変換ツール
6594 \begin_inset Flex Code
6595 status collapsed
6596
6597 \begin_layout Plain Layout
6598 \SpecialChar LyX
6599 Dir/scripts/layout2layout.py
6600 \end_layout
6601
6602 \end_inset
6603
6604 を呼び出し,それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,\SpecialChar LyX
6605 がこれを毎回行な
6606 わくて済むように,レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,以下のように変換子を手動で呼び出してください.
6607 \end_layout
6608
6609 \begin_layout Enumerate
6610 ファイル
6611 \begin_inset Flex Code
6612 status collapsed
6613
6614 \begin_layout Plain Layout
6615 myclass.layout
6616 \end_layout
6617
6618 \end_inset
6619
6620
6621 \begin_inset Flex Code
6622 status collapsed
6623
6624 \begin_layout Plain Layout
6625 myclass.old
6626 \end_layout
6627
6628 \end_inset
6629
6630 に改称
6631 \end_layout
6632
6633 \begin_layout Enumerate
6634 以下のコマンドをコール
6635 \begin_inset Newline newline
6636 \end_inset
6637
6638
6639 \begin_inset Flex Code
6640 status collapsed
6641
6642 \begin_layout Plain Layout
6643 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6644 \end_layout
6645
6646 \end_inset
6647
6648
6649 \begin_inset Newline newline
6650 \end_inset
6651
6652 ここで
6653 \begin_inset Flex Code
6654 status collapsed
6655
6656 \begin_layout Plain Layout
6657 LyXDir
6658 \end_layout
6659
6660 \end_inset
6661
6662 は\SpecialChar LyX
6663 システムディレクトリの名前です.
6664 \end_layout
6665
6666 \begin_layout Standard
6667 手動変換は,インクルードされているファイル内部の変更までは取り扱いませんので,それらのファイルは別に変換されなくてはなりません.
6668 \end_layout
6669
6670 \begin_layout Subsection
6671 \begin_inset CommandInset label
6672 LatexCommand label
6673 name "subsec:引用エンジンファイル"
6674
6675 \end_inset
6676
6677 引用エンジンファイル
6678 \end_layout
6679
6680 \begin_layout Standard
6681 \begin_inset Flex Code
6682 status collapsed
6683
6684 \begin_layout Plain Layout
6685 citeengines/
6686 \end_layout
6687
6688 \end_inset
6689
6690 サブディレクトリ以下に収められている,いわゆる
6691 \begin_inset Flex Code
6692 status collapsed
6693
6694 \begin_layout Plain Layout
6695 *.citeengine
6696 \end_layout
6697
6698 \end_inset
6699
6700 ファイルは,レイアウトファイルの特殊形です.これらの目的は,
6701 \family sans
6702 natbib
6703 \family default
6704
6705 \family sans
6706 jurabib
6707 \family default
6708
6709 \family sans
6710 biblatex
6711 \family default
6712 など,書誌情報を生成する\SpecialChar LaTeX
6713 パッケージの詳細を定義することですが,通常の(追加パッケージのない)Bib\SpecialChar TeX
6714 引用が\SpecialChar LyX
6715 中でどのように取り扱われるかも,これらのファイルの中で定
6716 義されます.
6717 \end_layout
6718
6719 \begin_layout Standard
6720 より具体的には,どのパッケージを\SpecialChar LyX
6721 が読み込む必要があるのか,どの引用コマンドが利用可能であるのか,これらが\SpecialChar LyX
6722 中(作業領域・ダイアログ・コンテクストメニュー)で,さら
6723 にはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,これらのファイルは,使用できる派生様式(著者-刊行年,数値など)とその子細を特定します
6724 .引用エンジンファイルは,
6725 \family sans
6726 文書\SpecialChar menuseparator
6727 設定\SpecialChar ldots
6728 \SpecialChar menuseparator
6729 書誌情報\SpecialChar menuseparator
6730 様式整形子
6731 \family default
6732 で利用できる選択肢を生成するのにも使用されます.
6733 \end_layout
6734
6735 \begin_layout Standard
6736 引用エンジンファイルは,本質的に通常のレイアウトファイルであり,理論上どのようなレイアウト情報も内包することができますが,通常は
6737 \begin_inset Flex Code
6738 status collapsed
6739
6740 \begin_layout Plain Layout
6741 MaxCiteNames
6742 \end_layout
6743
6744 \end_inset
6745
6746
6747 \begin_inset Flex Code
6748 status collapsed
6749
6750 \begin_layout Plain Layout
6751 CiteFramework
6752 \end_layout
6753
6754 \end_inset
6755
6756
6757 \begin_inset Flex Code
6758 status collapsed
6759
6760 \begin_layout Plain Layout
6761 CiteEngine
6762 \end_layout
6763
6764 \end_inset
6765
6766
6767 \begin_inset Flex Code
6768 status collapsed
6769
6770 \begin_layout Plain Layout
6771 CiteFormat
6772 \end_layout
6773
6774 \end_inset
6775
6776 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,ファイル自身に加え,第 
6777 \begin_inset CommandInset ref
6778 LatexCommand ref
6779 reference "subsec:引用エンジンの説明"
6780 plural "false"
6781 caps "false"
6782 noprefix "false"
6783
6784 \end_inset
6785
6786 節と第
6787 \begin_inset CommandInset ref
6788 LatexCommand ref
6789 reference "subsec:引用書式指定"
6790 plural "false"
6791 caps "false"
6792 noprefix "false"
6793
6794 \end_inset
6795
6796 節に述べられています.
6797 \end_layout
6798
6799 \begin_layout Section
6800 \begin_inset CommandInset label
6801 LatexCommand label
6802 name "sec:テキストクラス"
6803
6804 \end_inset
6805
6806 レイアウトファイルの書式
6807 \end_layout
6808
6809 \begin_layout Standard
6810 以下の各節では,いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,直面することの説明を行います.私たちからのアドバイスとしては
6811 ,ゆっくりと進めるようにして,ちょっと進むごとに保存やテストを行い,心休まる音楽を聴き,好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰ま
6812 ってしまったときにはそうです.実際にはそんなに難しいことではないのですが,特に一度に多くのことをやろうとすると,選択肢が多くありすぎて圧倒されてしまうのです.さ
6813 て,もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
6814 の既存のレイアウトを例や参考に使ったり,既存のレイアウトを自身の目的に合わせて修正したりすると,作業が容易になります.
6815 \end_layout
6816
6817 \begin_layout Standard
6818 この章で述べられているタグは,すべて大文字小文字を区別しません.つまり,
6819 \begin_inset Flex Code
6820 status collapsed
6821
6822 \begin_layout Plain Layout
6823 Style
6824 \end_layout
6825
6826 \end_inset
6827
6828
6829 \begin_inset Flex Code
6830 status collapsed
6831
6832 \begin_layout Plain Layout
6833 style
6834 \end_layout
6835
6836 \end_inset
6837
6838
6839 \begin_inset Flex Code
6840 status collapsed
6841
6842 \begin_layout Plain Layout
6843 StYlE
6844 \end_layout
6845
6846 \end_inset
6847
6848 は同じコマンドとなります.機能名の後にある角括弧は,その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,既定値は
6849 \begin_inset Flex Code
6850 status collapsed
6851
6852 \begin_layout Plain Layout
6853
6854 \emph on
6855 強調
6856 \end_layout
6857
6858 \end_inset
6859
6860 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,既定値は
6861 \begin_inset Flex Code
6862 status collapsed
6863
6864 \begin_layout Plain Layout
6865 浮動小数点型=
6866 \emph on
6867 既定値
6868 \end_layout
6869
6870 \end_inset
6871
6872 のように表示されます.
6873 \end_layout
6874
6875 \begin_layout Subsection
6876 文書クラス宣言と分類
6877 \end_layout
6878
6879 \begin_layout Standard
6880 レイアウトファイル中の
6881 \begin_inset Flex Code
6882 status collapsed
6883
6884 \begin_layout Plain Layout
6885 #
6886 \end_layout
6887
6888 \end_inset
6889
6890 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
6891 \begin_inset Flex Code
6892 status collapsed
6893
6894 \begin_layout Plain Layout
6895 *.layout
6896 \end_layout
6897
6898 \end_inset
6899
6900 ファイルは,以下のような行で始めなくてはならないのです.
6901 \end_layout
6902
6903 \begin_layout LyX-Code
6904
6905 \size small
6906 #% Do not delete the line below; configure depends on this
6907 \end_layout
6908
6909 \begin_layout LyX-Code
6910
6911 \size small
6912 #  
6913 \backslash
6914 DeclareLaTeXClass{Article (Standard Class)}
6915 \end_layout
6916
6917 \begin_layout LyX-Code
6918
6919 \size small
6920 #  
6921 \backslash
6922 DeclareCategory{Articles}
6923 \end_layout
6924
6925 \begin_layout Standard
6926 2行目と3行目は,\SpecialChar LyX
6927 が環境構成を行う際に用いられます.このレイアウトファイルは,\SpecialChar LaTeX
6928 スクリプト
6929 \begin_inset Flex Code
6930 status collapsed
6931
6932 \begin_layout Plain Layout
6933 chkconfig.ltx
6934 \end_layout
6935
6936 \end_inset
6937
6938 が,
6939 \begin_inset Flex Code
6940 status collapsed
6941
6942 \begin_layout Plain Layout
6943 #
6944 \end_layout
6945
6946 \end_inset
6947
6948 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
6949 コメントですが,2行目にはテキストクラスの宣言が,3行目にはクラスの分類(非必須)が書かれています.これらの
6950 行が
6951 \begin_inset Flex Code
6952 status collapsed
6953
6954 \begin_layout Plain Layout
6955 article.layout
6956 \end_layout
6957
6958 \end_inset
6959
6960 と名付けられたファイルにあると,
6961 \begin_inset Flex Code
6962 status collapsed
6963
6964 \begin_layout Plain Layout
6965 article
6966 \end_layout
6967
6968 \end_inset
6969
6970 (レイアウトファイル名)という名称のテキストクラスを定義し,\SpecialChar LaTeX
6971 文書クラス
6972 \begin_inset Flex Code
6973 status collapsed
6974
6975 \begin_layout Plain Layout
6976 article.cls
6977 \end_layout
6978
6979 \end_inset
6980
6981 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
6982 \begin_inset Flex MenuItem
6983 status collapsed
6984
6985 \begin_layout Plain Layout
6986 文書\SpecialChar menuseparator
6987 設定
6988 \end_layout
6989
6990 \end_inset
6991
6992 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
6993 \begin_inset Flex MenuItem
6994 status collapsed
6995
6996 \begin_layout Plain Layout
6997 文書\SpecialChar menuseparator
6998 設定
6999 \end_layout
7000
7001 \end_inset
7002
7003 ダイアログで使用され,文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,典型的なものには,「Articles」「Books」「Repor
7004 ts」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,このクラスは「Uncatego
7005 rized」グループに属することになります.
7006 \end_layout
7007
7008 \begin_layout Standard
7009 節見出し表示に変更を加えた,
7010 \begin_inset Flex Code
7011 status collapsed
7012
7013 \begin_layout Plain Layout
7014 article.cls
7015 \end_layout
7016
7017 \end_inset
7018
7019 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7020 \begin_inset Flex Code
7021 status collapsed
7022
7023 \begin_layout Plain Layout
7024 myarticle.layout
7025 \end_layout
7026
7027 \end_inset
7028
7029 というファイルに置いたとすると,このファイルのヘッダは以下のようになります.
7030 \end_layout
7031
7032 \begin_layout LyX-Code
7033
7034 \size small
7035 #% Do not delete the line below; configure depends on this 
7036 \end_layout
7037
7038 \begin_layout LyX-Code
7039
7040 \size small
7041 #  
7042 \backslash
7043 DeclareLaTeXClass[article]{article (with My Own Headings)}
7044 \end_layout
7045
7046 \begin_layout LyX-Code
7047
7048 \size small
7049 #  
7050 \backslash
7051 DeclareCategory{Articles}
7052 \end_layout
7053
7054 \begin_layout Standard
7055 これは,\SpecialChar LaTeX
7056 文書クラス
7057 \begin_inset Flex Code
7058 status collapsed
7059
7060 \begin_layout Plain Layout
7061 article.cls
7062 \end_layout
7063
7064 \end_inset
7065
7066 に関連づけられ,「Article (with My Own Headings)」と表示される,
7067 \begin_inset Flex Code
7068 status collapsed
7069
7070 \begin_layout Plain Layout
7071 myarticle
7072 \end_layout
7073
7074 \end_inset
7075
7076 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,以下のように宣言すると良いでしょう.
7077 \end_layout
7078
7079 \begin_layout LyX-Code
7080
7081 \size small
7082 #% Do not delete the line below; configure depends on this 
7083 \end_layout
7084
7085 \begin_layout LyX-Code
7086
7087 \size small
7088 #  
7089 \backslash
7090 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7091 \end_layout
7092
7093 \begin_layout LyX-Code
7094
7095 \size small
7096 #  
7097 \backslash
7098 DeclareCategory{Articles}
7099 \end_layout
7100
7101 \begin_layout Standard
7102 これは,このテキストクラスが
7103 \begin_inset Flex Code
7104 status collapsed
7105
7106 \begin_layout Plain Layout
7107 foo.sty
7108 \end_layout
7109
7110 \end_inset
7111
7112 パッケージを使用することを示しています.最後に,DocBookコード向けのクラスを宣言することもできることを見ます.典型的な宣言は以下のようになります.
7113 \end_layout
7114
7115 \begin_layout LyX-Code
7116
7117 \size small
7118 #% Do not delete the line below; configure depends on this 
7119 \end_layout
7120
7121 \begin_layout LyX-Code
7122
7123 \size small
7124
7125 \backslash
7126 DeclareDocBookClass[article]{SGML (DocBook article)}
7127 \end_layout
7128
7129 \begin_layout LyX-Code
7130
7131 \size small
7132 #  
7133 \backslash
7134 DeclareCategory{Articles}
7135 \end_layout
7136
7137 \begin_layout Standard
7138 これらの宣言には,文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7139 \end_layout
7140
7141 \begin_layout Standard
7142 できる限り明示的に要約すると,レイアウト宣言は以下の形をとります.
7143 \end_layout
7144
7145 \begin_layout LyX-Code
7146
7147 \size small
7148 #  
7149 \backslash
7150 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7151 \end_layout
7152
7153 \begin_layout LyX-Code
7154
7155 \size small
7156 #  
7157 \backslash
7158 DeclareCategory{分類}
7159 \end_layout
7160
7161 \begin_layout Standard
7162 ここで「クラス」は,\SpecialChar LaTeX
7163 クラスファイル名とレイアウトファイル名が異なるときのみ,指定する必要があります.クラスファイル名が指定されなければ,\SpecialChar LyX
7164 は単純に,クラスファイル
7165 名がレイアウトファイル名と同じであると仮定します.
7166 \end_layout
7167
7168 \begin_layout Standard
7169 テキストクラスがあなたの嗜好に合うように修正できたならば,他にしなくてはならないことは,それを
7170 \begin_inset Flex Code
7171 status collapsed
7172
7173 \begin_layout Plain Layout
7174 LyXDir/layouts/
7175 \end_layout
7176
7177 \end_inset
7178
7179
7180 \begin_inset Flex Code
7181 status collapsed
7182
7183 \begin_layout Plain Layout
7184 UserDir/layouts
7185 \end_layout
7186
7187 \end_inset
7188
7189 にコピーし,
7190 \begin_inset Flex MenuItem
7191 status collapsed
7192
7193 \begin_layout Plain Layout
7194 ツール\SpecialChar menuseparator
7195 環境構成
7196 \end_layout
7197
7198 \end_inset
7199
7200 を実行し,\SpecialChar LyX
7201 を終了して再起動するだけです.そうすれば,この新しいテキストクラスが,他のテキストクラスと同様に使用できるようになります.
7202 \end_layout
7203
7204 \begin_layout Standard
7205 レイアウトファイルが導入されたならば,これを編集して,環境構成したり\SpecialChar LyX
7206 を再起動したりすることなく,その変更を確認することができます
7207 \begin_inset Foot
7208 status collapsed
7209
7210 \begin_layout Plain Layout
7211 第1.6版よりも前の\SpecialChar LyX
7212 では,これを行うことはできませんでした.その結果,レイアウトファイルに加えた変更を反映させるには,その度に\SpecialChar LyX
7213 を再起動しなくてはならなかったので,
7214 レイアウトファイルを編集する作業は,たいへん時間を浪費する作業だったのです.
7215 \end_layout
7216
7217 \end_inset
7218
7219 .\SpecialChar LyX
7220 関数
7221 \begin_inset Flex MenuItem
7222 status collapsed
7223
7224 \begin_layout Plain Layout
7225 layout-reload
7226 \end_layout
7227
7228 \end_inset
7229
7230 を使用すれば,現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—もちろん自分でどれかのキーに割り当て
7231 ることもできますが—.しかし,通常は,この関数を使用する場合は,これをミニバッファに入力します.
7232 \end_layout
7233
7234 \begin_layout Standard
7235
7236 \emph on
7237 注意
7238 \emph default
7239
7240 \begin_inset Flex MenuItem
7241 status collapsed
7242
7243 \begin_layout Plain Layout
7244 layout-reload
7245 \end_layout
7246
7247 \end_inset
7248
7249 はかなり「高度な機能」です.この機能を利用する前に,作業中の文書を保存しておくことを
7250 \emph on
7251 強く
7252 \emph default
7253 勧めます.もっと言えば,大事な文書の作業をしているときに,同時にレイアウト情報の編集をしようとしないことを
7254 \emph on
7255 強く
7256 \emph default
7257 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,そのようなエラーが起こると,\SpecialChar LyX
7258 は現在の
7259 レイアウトが無効であるものと判断して,別のレイアウトに切り替えようとする可能性があります
7260 \begin_inset Foot
7261 status collapsed
7262
7263 \begin_layout Plain Layout
7264 非常に悪質な文法エラーの場合には,\SpecialChar LyX
7265 が終了してしまうことさえあります.これは,ある種のエラーでは,\SpecialChar LyX
7266 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意く
7267 ださい.
7268 \end_layout
7269
7270 \end_inset
7271
7272 .\SpecialChar LyX
7273 開発陣は,このような状況下でも安定性を保つよう努力していますが,後悔よりも安心の方が良いでしょう
7274 \begin_inset Foot
7275 status collapsed
7276
7277 \begin_layout Plain Layout
7278 重ねての助言ですが,つねにバックアップを取ってください.それから,お母さんのお片づけに注意.
7279 \end_layout
7280
7281 \end_inset
7282
7283
7284 \end_layout
7285
7286 \begin_layout Subsection
7287 モジュール宣言
7288 \end_layout
7289
7290 \begin_layout Standard
7291 モジュールは,以下のような行で始まらなくてはなりません.
7292 \end_layout
7293
7294 \begin_layout LyX-Code
7295 #
7296 \backslash
7297 DeclareLyXModule[endnotes.sty]{Endnotes} 
7298 \end_layout
7299
7300 \begin_layout Standard
7301 波括弧内に入っている必須引数はモジュール名で,これは
7302 \begin_inset Flex MenuItem
7303 status collapsed
7304
7305 \begin_layout Plain Layout
7306 文書\SpecialChar menuseparator
7307 設定
7308 \end_layout
7309
7310 \end_inset
7311
7312 内に表示されます.角括弧内の引数は非必須です.これは,モジュールが依存する\SpecialChar LaTeX
7313 パッケージをすべて宣言します.また,非必須引数として,
7314 \begin_inset Flex Code
7315 status collapsed
7316
7317 \begin_layout Plain Layout
7318 変換元->変換先
7319 \end_layout
7320
7321 \end_inset
7322
7323 の形を使用することができます.これは,
7324 \begin_inset Flex Code
7325 status collapsed
7326
7327 \begin_layout Plain Layout
7328 変換元
7329 \end_layout
7330
7331 \end_inset
7332
7333 形式から
7334 \begin_inset Flex Code
7335 status collapsed
7336
7337 \begin_layout Plain Layout
7338 変換先
7339 \end_layout
7340
7341 \end_inset
7342
7343 形式への変換鎖が存在するときのみ,このモジュールを使用できることを宣言するものです.
7344 \end_layout
7345
7346 \begin_layout Standard
7347 それから,以下のようなモジュール宣言を行います
7348 \begin_inset Foot
7349 status collapsed
7350
7351 \begin_layout Plain Layout
7352 モジュールを\SpecialChar LyX
7353 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,次回のインタフェースの更新時に翻訳されることになります.
7354 \end_layout
7355
7356 \end_inset
7357
7358
7359 \end_layout
7360
7361 \begin_layout LyX-Code
7362 #DescriptionBegin 
7363 \end_layout
7364
7365 \begin_layout LyX-Code
7366 #Adds an endnote command, in addition to footnotes.
7367  
7368 \end_layout
7369
7370 \begin_layout LyX-Code
7371 #You will need to add  
7372 \backslash
7373 theendnotes in TeX code where you 
7374 \end_layout
7375
7376 \begin_layout LyX-Code
7377 #want the endnotes to appear.
7378  
7379 \end_layout
7380
7381 \begin_layout LyX-Code
7382 #DescriptionEnd 
7383 \end_layout
7384
7385 \begin_layout LyX-Code
7386 #Requires: somemodule | othermodule
7387 \end_layout
7388
7389 \begin_layout LyX-Code
7390 #Excludes: badmodule
7391 \end_layout
7392
7393 \begin_layout Standard
7394 ここで説明(Description)は,
7395 \begin_inset Flex MenuItem
7396 status collapsed
7397
7398 \begin_layout Plain Layout
7399 文書\SpecialChar menuseparator
7400 設定
7401 \end_layout
7402
7403 \end_inset
7404
7405 でこのモジュールが何をするものか,ユーザに情報を与えるために使用されます.
7406 \begin_inset Flex Code
7407 status collapsed
7408
7409 \begin_layout Plain Layout
7410 Requires
7411 \end_layout
7412
7413 \end_inset
7414
7415 行は,このモジュールが共に使用する必要がある,他のモジュールを特定するのに用いられます.一方,
7416 \begin_inset Flex Code
7417 status collapsed
7418
7419 \begin_layout Plain Layout
7420 Excludes
7421 \end_layout
7422
7423 \end_inset
7424
7425 行は,このモジュールが共に使用してはならない,他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,上記のようにモジュールが複数ある場合には,パ
7426 イプ記号「|」で区切らなくてはなりません.
7427 \begin_inset Flex Code
7428 status collapsed
7429
7430 \begin_layout Plain Layout
7431 Requires
7432 \end_layout
7433
7434 \end_inset
7435
7436 に指定されたモジュールは,選言的に取り扱われることに注意してください.つまり,
7437 \begin_inset Flex Code
7438 status collapsed
7439
7440 \begin_layout Plain Layout
7441 Requires
7442 \end_layout
7443
7444 \end_inset
7445
7446 に指定されたモジュールのうち,
7447 \emph on
7448 少なくとも一つ
7449 \emph default
7450 が使用されていればよいということです.同様に,
7451 \begin_inset Flex Code
7452 status collapsed
7453
7454 \begin_layout Plain Layout
7455 Excludes
7456 \end_layout
7457
7458 \end_inset
7459
7460 に指定されたモジュールは,一つも使用されてはなりません.ここでモジュールは,
7461 \begin_inset Flex Code
7462 status collapsed
7463
7464 \begin_layout Plain Layout
7465 .module
7466 \end_layout
7467
7468 \end_inset
7469
7470 拡張子を除いたファイル名で認識されることに注意してください.つまり
7471 \begin_inset Flex Code
7472 status collapsed
7473
7474 \begin_layout Plain Layout
7475 somemodule
7476 \end_layout
7477
7478 \end_inset
7479
7480 とは,実のところ
7481 \begin_inset Flex Code
7482 status collapsed
7483
7484 \begin_layout Plain Layout
7485 somemodule.module
7486 \end_layout
7487
7488 \end_inset
7489
7490 に他なりません.
7491 \end_layout
7492
7493 \begin_layout Subsection
7494 引用エンジンファイルの宣言
7495 \end_layout
7496
7497 \begin_layout Standard
7498 引用エンジンファイルは,次のような行で始まらなくてはなりません.
7499 \end_layout
7500
7501 \begin_layout LyX-Code
7502 #
7503 \backslash
7504 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
7505 \end_layout
7506
7507 \begin_layout Standard
7508 波括弧内の必須引数はモジュール名で,
7509 \begin_inset Flex Noun
7510 status collapsed
7511
7512 \begin_layout Plain Layout
7513 文書\SpecialChar menuseparator
7514 設定\SpecialChar menuseparator
7515 書誌情報
7516 \end_layout
7517
7518 \end_inset
7519
7520 にそのまま現れます.角括弧内の引数は非必須です.これは,引用エンジンが依存する\SpecialChar LaTeX
7521 パッケージを宣言します.
7522 \end_layout
7523
7524 \begin_layout Standard
7525 引用エンジン宣言には,その後,以下のような行が続きます
7526 \begin_inset Foot
7527 status collapsed
7528
7529 \begin_layout Plain Layout
7530 \SpecialChar LyX
7531 とともに公表するモジュールの場合は,英語で書かれることが望まれます.この説明は,翻訳対象メッセージのリストに含まれますので,次回インタフェースの更新の際に翻訳さ
7532 れることになります.
7533 \end_layout
7534
7535 \end_inset
7536
7537
7538 \end_layout
7539
7540 \begin_layout LyX-Code
7541 # DescriptionBegin
7542 \end_layout
7543
7544 \begin_layout LyX-Code
7545 #   Biblatex supports many author-year and numerical styles.
7546 \end_layout
7547
7548 \begin_layout LyX-Code
7549 #   It is mainly aimed at the Humanities.
7550  It is highly
7551 \end_layout
7552
7553 \begin_layout LyX-Code
7554 #   customizable, fully localized and provides many features
7555 \end_layout
7556
7557 \begin_layout LyX-Code
7558 #   that are not possible with BibTeX.
7559  The use of 'biber' as
7560 \end_layout
7561
7562 \begin_layout LyX-Code
7563 #   bibliography processor is advised.
7564 \end_layout
7565
7566 \begin_layout LyX-Code
7567 # DescriptionEnd
7568 \end_layout
7569
7570 \begin_layout Standard
7571 この説明は,
7572 \begin_inset Flex Noun
7573 status collapsed
7574
7575 \begin_layout Plain Layout
7576 文書\SpecialChar menuseparator
7577 設定\SpecialChar menuseparator
7578 書誌情報
7579 \end_layout
7580
7581 \end_inset
7582
7583 の中で,ユーザーに引用エンジンに関する情報を提供するために使われます.
7584 \end_layout
7585
7586 \begin_layout Subsection
7587 書式番号
7588 \end_layout
7589
7590 \begin_layout Standard
7591 レイアウトファイルやインクルードされたファイル,またはモジュールの最初の非コメント行には,以下のように,かならずファイル形式番号が記されていなくてはなりません.
7592 \end_layout
7593
7594 \begin_layout Description
7595 \begin_inset Flex Code
7596 status collapsed
7597
7598 \begin_layout Plain Layout
7599 Format
7600 \end_layout
7601
7602 \end_inset
7603
7604  [
7605 \begin_inset Flex Code
7606 status collapsed
7607
7608 \begin_layout Plain Layout
7609 整数型
7610 \end_layout
7611
7612 \end_inset
7613
7614 ] このレイアウトファイルの書式
7615 \end_layout
7616
7617 \begin_layout Standard
7618 このタグは\SpecialChar LyX
7619
7620 \begin_inset space ~
7621 \end_inset
7622
7623 1.4.0で導入されました.\SpecialChar LyX
7624
7625 \begin_inset space ~
7626 \end_inset
7627
7628 1.3.x以前のレイアウトファイルには,明示されたファイル形式がないため,書式1と解されます.\SpecialChar LyX
7629 現行版のファイル形式は,書式
7630 \begin_inset Info
7631 type  "lyxinfo"
7632 arg   "layoutformat"
7633 \end_inset
7634
7635 です.しかし,\SpecialChar LyX
7636 の各版は,旧版の\SpecialChar LyX
7637 で作成されたファイルを読むことができるように,旧版のレイアウトファイルも読むことができます.しかしながら,以前の書式に変換する方法
7638 はありません.
7639 \end_layout
7640
7641 \begin_layout Subsection
7642 \begin_inset CommandInset label
7643 LatexCommand label
7644 name "subsec:汎用テキストクラスパラメータ"
7645
7646 \end_inset
7647
7648 汎用テキストクラスパラメータ
7649 \end_layout
7650
7651 \begin_layout Standard
7652 以下は,文書クラス全体の挙動を決定する汎用パラメータです(これは,
7653 \begin_inset Flex Code
7654 status collapsed
7655
7656 \begin_layout Plain Layout
7657 .layout
7658 \end_layout
7659
7660 \end_inset
7661
7662 ファイルのみに使用されるべきで,モジュールでは使ってはならない,ということを意味するものでは
7663 \emph on
7664 ありません
7665 \emph default
7666 .モジュールには,すべてのレイアウトタグを使用することができます).
7667 \end_layout
7668
7669 \begin_layout Description
7670 \begin_inset Flex Code
7671 status collapsed
7672
7673 \begin_layout Plain Layout
7674 AddToHTMLPreamble
7675 \end_layout
7676
7677 \end_inset
7678
7679  この文書クラスがXHTMLに出力されるときに,
7680 \begin_inset Flex Code
7681 status collapsed
7682
7683 \begin_layout Plain Layout
7684 <head>
7685 \end_layout
7686
7687 \end_inset
7688
7689 ブロックに追加出力される情報です.典型的には,これはCSSスタイル情報を出力するのに用いられますが,
7690 \begin_inset Flex Code
7691 status collapsed
7692
7693 \begin_layout Plain Layout
7694 <head>
7695 \end_layout
7696
7697 \end_inset
7698
7699 に出力するものであれば,何でも使用することができます.「
7700 \begin_inset Flex Code
7701 status collapsed
7702
7703 \begin_layout Plain Layout
7704 EndPreamble
7705 \end_layout
7706
7707 \end_inset
7708
7709 」で閉じる必要があります.
7710 \end_layout
7711
7712 \begin_layout Description
7713 \begin_inset Flex Code
7714 status collapsed
7715
7716 \begin_layout Plain Layout
7717 AddToPreamble
7718 \end_layout
7719
7720 \end_inset
7721
7722  文書プリアンブルに書き加えられる情報です.「
7723 \begin_inset Flex Code
7724 status collapsed
7725
7726 \begin_layout Plain Layout
7727 EndPreamble
7728 \end_layout
7729
7730 \end_inset
7731
7732 」で閉じる必要があります.
7733 \end_layout
7734
7735 \begin_layout Description
7736 \begin_inset Flex Code
7737 status collapsed
7738
7739 \begin_layout Plain Layout
7740 CiteEngine <エンジン>
7741 \end_layout
7742
7743 \end_inset
7744
7745  文献参照を表示する方法を定義します.詳細については,第
7746 \begin_inset CommandInset ref
7747 LatexCommand ref
7748 reference "subsec:引用エンジンの説明"
7749 plural "false"
7750 caps "false"
7751 noprefix "false"
7752
7753 \end_inset
7754
7755 節をご覧ください.「
7756 \begin_inset Flex Code
7757 status collapsed
7758
7759 \begin_layout Plain Layout
7760 End
7761 \end_layout
7762
7763 \end_inset
7764
7765 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7766 \begin_inset CommandInset ref
7767 LatexCommand ref
7768 reference "subsec:引用エンジンファイル"
7769 plural "false"
7770 caps "false"
7771 noprefix "false"
7772
7773 \end_inset
7774
7775 節参照).
7776 \end_layout
7777
7778 \begin_layout Description
7779 \begin_inset Flex Code
7780 status collapsed
7781
7782 \begin_layout Plain Layout
7783 CiteFormat
7784 \end_layout
7785
7786 \end_inset
7787
7788  書誌情報の表示に使う書式を定義します.詳細については,第
7789 \begin_inset CommandInset ref
7790 LatexCommand ref
7791 reference "subsec:引用書式指定"
7792
7793 \end_inset
7794
7795 節をご覧ください.「
7796 \begin_inset Flex Code
7797 status collapsed
7798
7799 \begin_layout Plain Layout
7800 End
7801 \end_layout
7802
7803 \end_inset
7804
7805 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
7806 \begin_inset CommandInset ref
7807 LatexCommand ref
7808 reference "subsec:引用エンジンファイル"
7809 plural "false"
7810 caps "false"
7811 noprefix "false"
7812
7813 \end_inset
7814
7815 節参照).
7816 \end_layout
7817
7818 \begin_layout Description
7819 \begin_inset Flex Code
7820 status collapsed
7821
7822 \begin_layout Plain Layout
7823 CiteFramework
7824 \end_layout
7825
7826 \end_inset
7827
7828  [
7829 \begin_inset Flex Code
7830 status collapsed
7831
7832 \begin_layout Plain Layout
7833
7834 \emph on
7835 bibtex
7836 \end_layout
7837
7838 \end_inset
7839
7840 ,
7841 \begin_inset Flex Code
7842 status collapsed
7843
7844 \begin_layout Plain Layout
7845 biblatex
7846 \end_layout
7847
7848 \end_inset
7849
7850 ] 書誌情報を生成するのに,
7851 \family sans
7852 Biblatex
7853 \family default
7854 を用いるのかBib\SpecialChar TeX
7855 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
7856 \begin_inset CommandInset ref
7857 LatexCommand ref
7858 reference "subsec:引用エンジンファイル"
7859 plural "false"
7860 caps "false"
7861 noprefix "false"
7862
7863 \end_inset
7864
7865 節参照).
7866 \end_layout
7867
7868 \begin_layout Description
7869 \begin_inset Flex Code
7870 status collapsed
7871
7872 \begin_layout Plain Layout
7873 ClassOptions
7874 \end_layout
7875
7876 \end_inset
7877
7878  文書クラスがサポートする様々な大域オプションを記します.説明は,第
7879 \begin_inset CommandInset ref
7880 LatexCommand ref
7881 reference "subsec:ClassOptions"
7882
7883 \end_inset
7884
7885 節を参照してください.「
7886 \begin_inset Flex Code
7887 status collapsed
7888
7889 \begin_layout Plain Layout
7890 End
7891 \end_layout
7892
7893 \end_inset
7894
7895 」で閉じる必要があります.
7896 \end_layout
7897
7898 \begin_layout Description
7899 \begin_inset Flex Code
7900 status collapsed
7901
7902 \begin_layout Plain Layout
7903 Columns
7904 \end_layout
7905
7906 \end_inset
7907
7908  [
7909 \begin_inset Flex Code
7910 status collapsed
7911
7912 \begin_layout Plain Layout
7913
7914 \emph on
7915 1
7916 \end_layout
7917
7918 \end_inset
7919
7920 ,
7921 \begin_inset space \thinspace{}
7922 \end_inset
7923
7924
7925 \begin_inset Flex Code
7926 status collapsed
7927
7928 \begin_layout Plain Layout
7929 2
7930 \end_layout
7931
7932 \end_inset
7933
7934 ] 文書クラスが既定で1段組か2段組かを指定します.
7935 \begin_inset Flex MenuItem
7936 status collapsed
7937
7938 \begin_layout Plain Layout
7939 文書\SpecialChar menuseparator
7940 設定
7941 \end_layout
7942
7943 \end_inset
7944
7945 ダイアログで変更することができます.
7946 \end_layout
7947
7948 \begin_layout Description
7949 \begin_inset Flex Code
7950 status collapsed
7951
7952 \begin_layout Plain Layout
7953 Counter
7954 \end_layout
7955
7956 \end_inset
7957
7958  [
7959 \begin_inset Flex Code
7960 status collapsed
7961
7962 \begin_layout Plain Layout
7963 文字列
7964 \end_layout
7965
7966 \end_inset
7967
7968 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,生成されます.もし存在しなければ修正されます.「
7969 \begin_inset Flex Code
7970 status collapsed
7971
7972 \begin_layout Plain Layout
7973 End
7974 \end_layout
7975
7976 \end_inset
7977
7978 」で閉じる必要があります.
7979 \begin_inset Newline newline
7980 \end_inset
7981
7982 カウンタについての詳細は,第
7983 \begin_inset CommandInset ref
7984 LatexCommand ref
7985 reference "subsec:カウンタ"
7986
7987 \end_inset
7988
7989 節を参照してください.
7990 \end_layout
7991
7992 \begin_layout Description
7993 \begin_inset Flex Code
7994 status collapsed
7995
7996 \begin_layout Plain Layout
7997 DefaultFont
7998 \end_layout
7999
8000 \end_inset
8001
8002  文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,第
8003 \begin_inset CommandInset ref
8004 LatexCommand ref
8005 reference "subsec:フォント指定"
8006
8007 \end_inset
8008
8009 節を参照してください.「
8010 \begin_inset Flex Code
8011 status collapsed
8012
8013 \begin_layout Plain Layout
8014 EndFont
8015 \end_layout
8016
8017 \end_inset
8018
8019 」で閉じる必要があります.
8020 \end_layout
8021
8022 \begin_layout Description
8023 \begin_inset Flex Code
8024 status collapsed
8025
8026 \begin_layout Plain Layout
8027 DefaultModule
8028 \end_layout
8029
8030 \end_inset
8031
8032  [
8033 \begin_inset Flex Code
8034 status collapsed
8035
8036 \begin_layout Plain Layout
8037 <モジュール>
8038 \end_layout
8039
8040 \end_inset
8041
8042 ] この文書クラスに,既定で取り込むモジュールを指定します.モジュールは,
8043 \begin_inset Flex Code
8044 status collapsed
8045
8046 \begin_layout Plain Layout
8047 .module
8048 \end_layout
8049
8050 \end_inset
8051
8052 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,当初は有効の状態になっています(これは新しいファイルが作成されたときや,
8053 既存の文書にこの文書クラスが選択したときのみ該当します).
8054 \end_layout
8055
8056 \begin_layout Description
8057 \begin_inset Flex Code
8058 status collapsed
8059
8060 \begin_layout Plain Layout
8061 DefaultStyle
8062 \end_layout
8063
8064 \end_inset
8065
8066  [
8067 \begin_inset Flex Code
8068 status collapsed
8069
8070 \begin_layout Plain Layout
8071 <様式>
8072 \end_layout
8073
8074 \end_inset
8075
8076 ]
8077 \lang english
8078  
8079 \lang japanese
8080 これは新規段落に割り当てられる様式であり,通常は
8081 \begin_inset Flex MenuItem
8082 status collapsed
8083
8084 \begin_layout Plain Layout
8085 標準
8086 \end_layout
8087
8088 \end_inset
8089
8090 です.もしこれを指定しなければ,最初に定義される様式がこれに割り当てられるようにはなっていますが,このディレクティブを使用することが推奨されます.
8091 \end_layout
8092
8093 \begin_layout Description
8094 \begin_inset Flex Code
8095 status collapsed
8096
8097 \begin_layout Plain Layout
8098 ExcludesModule
8099 \end_layout
8100
8101 \end_inset
8102
8103  [
8104 \begin_inset Flex Code
8105 status collapsed
8106
8107 \begin_layout Plain Layout
8108 <モジュール>
8109 \end_layout
8110
8111 \end_inset
8112
8113 ] このタグは,指定されたモジュール—
8114 \begin_inset Flex Code
8115 status collapsed
8116
8117 \begin_layout Plain Layout
8118 .module
8119 \end_layout
8120
8121 \end_inset
8122
8123 拡張子を除いたファイル名で指定します—が,この文書クラスでは使用できないように設定します.これはたとえば,特定の学術誌用レイアウトファイルの中で,定理番号を節毎
8124 に振る
8125 \begin_inset Flex Code
8126 status collapsed
8127
8128 \begin_layout Plain Layout
8129 theorems-sec
8130 \end_layout
8131
8132 \end_inset
8133
8134 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,モジュール内で
8135 \emph on
8136 使用してはいけません
8137 \emph default
8138 .モジュールは,他のモジュールを排除する独自の枠組みがあります(第
8139 \begin_inset CommandInset ref
8140 LatexCommand ref
8141 reference "subsec:レイアウトモジュール"
8142
8143 \end_inset
8144
8145 節参照).
8146 \end_layout
8147
8148 \begin_layout Description
8149 \begin_inset Flex Code
8150 status collapsed
8151
8152 \begin_layout Plain Layout
8153 Float
8154 \end_layout
8155
8156 \end_inset
8157
8158  フロートを新規に定義します.詳細は,第
8159 \begin_inset CommandInset ref
8160 LatexCommand ref
8161 reference "subsec:フロート"
8162
8163 \end_inset
8164
8165 節を参照してください.「
8166 \begin_inset Flex Code
8167 status collapsed
8168
8169 \begin_layout Plain Layout
8170 End
8171 \end_layout
8172
8173 \end_inset
8174
8175 」で閉じる必要があります.
8176 \end_layout
8177
8178 \begin_layout Description
8179 \begin_inset Flex Code
8180 status collapsed
8181
8182 \begin_layout Plain Layout
8183 HTMLPreamble
8184 \end_layout
8185
8186 \end_inset
8187
8188  この文書クラスがXHTMLに出力されるときに,
8189 \begin_inset Flex Code
8190 status collapsed
8191
8192 \begin_layout Plain Layout
8193 <head>
8194 \end_layout
8195
8196 \end_inset
8197
8198 ブロックに出力される情報です.これより前に出現した
8199 \begin_inset Flex Code
8200 status collapsed
8201
8202 \begin_layout Plain Layout
8203 HTMLPreamble
8204 \end_layout
8205
8206 \end_inset
8207
8208
8209 \begin_inset Flex Code
8210 status collapsed
8211
8212 \begin_layout Plain Layout
8213 AddToHTMLPreamble
8214 \end_layout
8215
8216 \end_inset
8217
8218 宣言は,すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
8219 \begin_inset Flex Code
8220 status collapsed
8221
8222 \begin_layout Plain Layout
8223 AddToHTMLPreamble
8224 \end_layout
8225
8226 \end_inset
8227
8228 を使用してください).これは「
8229 \begin_inset Flex Code
8230 status collapsed
8231
8232 \begin_layout Plain Layout
8233 EndPreamble
8234 \end_layout
8235
8236 \end_inset
8237
8238 」で閉じる必要があります.
8239 \end_layout
8240
8241 \begin_layout Description
8242 \begin_inset Flex Code
8243 status collapsed
8244
8245 \begin_layout Plain Layout
8246 HTMLTOCSection
8247 \end_layout
8248
8249 \end_inset
8250
8251  [
8252 \begin_inset Flex Code
8253 status collapsed
8254
8255 \begin_layout Plain Layout
8256 <様式>
8257 \end_layout
8258
8259 \end_inset
8260
8261 ] 文書がHTMLに出力されるときに,目次や書誌情報などに使用されるレイアウトです.articleの場合には,これは通常「節」であり,bookの場合は「章」です
8262 .これを指定しない場合には,\SpecialChar LyX
8263 はどのレイアウトを使用するべきか,解析しようと試みます.
8264 \end_layout
8265
8266 \begin_layout Description
8267 \begin_inset Flex Code
8268 status collapsed
8269
8270 \begin_layout Plain Layout
8271 IfCounter 
8272 \end_layout
8273
8274 \end_inset
8275
8276  [
8277 \begin_inset Flex Code
8278 status collapsed
8279
8280 \begin_layout Plain Layout
8281 <カウンタ>
8282 \end_layout
8283
8284 \end_inset
8285
8286 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,この節は無視されます.「
8287 \begin_inset Flex Code
8288 status collapsed
8289
8290 \begin_layout Plain Layout
8291 End
8292 \end_layout
8293
8294 \end_inset
8295
8296 」で閉じる必要があります.
8297 \begin_inset Newline newline
8298 \end_inset
8299
8300 カウンタについての詳細は,第
8301 \begin_inset CommandInset ref
8302 LatexCommand ref
8303 reference "subsec:カウンタ"
8304
8305 \end_inset
8306
8307 節をご覧ください.
8308 \end_layout
8309
8310 \begin_layout Description
8311 \begin_inset Flex Code
8312 status collapsed
8313
8314 \begin_layout Plain Layout
8315 IfStyle
8316 \end_layout
8317
8318 \end_inset
8319
8320  [
8321 \begin_inset Flex Code
8322 status collapsed
8323
8324 \begin_layout Plain Layout
8325 <様式>
8326 \end_layout
8327
8328 \end_inset
8329
8330 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,この節は無視されます.「
8331 \begin_inset Flex Code
8332 status collapsed
8333
8334 \begin_layout Plain Layout
8335 End
8336 \end_layout
8337
8338 \end_inset
8339
8340 」で閉じる必要があります.
8341 \end_layout
8342
8343 \begin_layout Description
8344 \begin_inset Flex Code
8345 status collapsed
8346
8347 \begin_layout Plain Layout
8348 Input
8349 \end_layout
8350
8351 \end_inset
8352
8353  [
8354 \begin_inset Flex Code
8355 status collapsed
8356
8357 \begin_layout Plain Layout
8358 <ファイル名>
8359 \end_layout
8360
8361 \end_inset
8362
8363 ]
8364 \lang english
8365  
8366 \lang japanese
8367 名称の指し示すように,このコマンドは,同じコマンドを何度も指定せずに済むように,別のレイアウト定義ファイルを取り込ませます.よく使われる例は,基本的なレイアウト
8368 のほとんどを収録している
8369 \begin_inset Flex Code
8370 status collapsed
8371
8372 \begin_layout Plain Layout
8373 stdclass.inc
8374 \end_layout
8375
8376 \end_inset
8377
8378 のような標準レイアウトファイルです.
8379 \end_layout
8380
8381 \begin_layout Description
8382 \begin_inset Flex Code
8383 status collapsed
8384
8385 \begin_layout Plain Layout
8386 InsetLayout
8387 \end_layout
8388
8389 \end_inset
8390
8391  [
8392 \begin_inset Flex Code
8393 status collapsed
8394
8395 \begin_layout Plain Layout
8396 <型>
8397 \end_layout
8398
8399 \end_inset
8400
8401 ]
8402 \lang english
8403  
8404 \lang japanese
8405 このセクションは,差込枠のレイアウトを定義(再定義)します.これは,既存の差込枠にも,新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
8406 \begin_inset Flex Code
8407 status collapsed
8408
8409 \begin_layout Plain Layout
8410 End
8411 \end_layout
8412
8413 \end_inset
8414
8415 」で閉じる必要があります.
8416 \begin_inset Newline newline
8417 \end_inset
8418
8419 詳しい情報は,第
8420 \begin_inset CommandInset ref
8421 LatexCommand ref
8422 reference "subsec:任意設定差込枠"
8423
8424 \end_inset
8425
8426 節をご覧ください.
8427 \end_layout
8428
8429 \begin_layout Description
8430 \begin_inset Flex Code
8431 status collapsed
8432
8433 \begin_layout Plain Layout
8434 LeftMargin
8435 \end_layout
8436
8437 \end_inset
8438
8439  [
8440 \begin_inset Flex Code
8441 status collapsed
8442
8443 \begin_layout Plain Layout
8444 文字列
8445 \end_layout
8446
8447 \end_inset
8448
8449 ] 画面上の左余白の幅を指示する文字列.例:「
8450 \begin_inset Flex Code
8451 status collapsed
8452
8453 \begin_layout Plain Layout
8454 MMMMM
8455 \end_layout
8456
8457 \end_inset
8458
8459 」.(これは,「2ex」のような「長さ」ではないことに注意してください.)
8460 \end_layout
8461
8462 \begin_layout Description
8463 \begin_inset Flex Code
8464 status collapsed
8465
8466 \begin_layout Plain Layout
8467 MaxCiteNames
8468 \end_layout
8469
8470 \end_inset
8471
8472  [
8473 \begin_inset Flex Code
8474 status collapsed
8475
8476 \begin_layout Plain Layout
8477 整数
8478 \end_layout
8479
8480 \end_inset
8481
8482 ] 著者-刊行年引用で,引用が「第一著者 et al.」に切り替わる前に,表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
8483 \begin_inset CommandInset ref
8484 LatexCommand ref
8485 reference "subsec:引用エンジンファイル"
8486 plural "false"
8487 caps "false"
8488 noprefix "false"
8489
8490 \end_inset
8491
8492 節参照).
8493 \end_layout
8494
8495 \begin_layout Description
8496 \begin_inset Flex Code
8497 status collapsed
8498
8499 \begin_layout Plain Layout
8500 NoCounter
8501 \end_layout
8502
8503 \end_inset
8504
8505  [
8506 \begin_inset Flex Code
8507 status collapsed
8508
8509 \begin_layout Plain Layout
8510 <カウンタ>
8511 \end_layout
8512
8513 \end_inset
8514
8515 ] このコマンドは,既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
8516 \end_layout
8517
8518 \begin_layout Description
8519 \begin_inset Flex Code
8520 status collapsed
8521
8522 \begin_layout Plain Layout
8523 NoFloat
8524 \end_layout
8525
8526 \end_inset
8527
8528  [
8529 \begin_inset Flex Code
8530 status collapsed
8531
8532 \begin_layout Plain Layout
8533 <フロート>
8534 \end_layout
8535
8536 \end_inset
8537
8538 ] このコマンドは既存のフロートを削除します.これは特に,Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
8539 \end_layout
8540
8541 \begin_layout Description
8542 \begin_inset Flex Code
8543 status collapsed
8544
8545 \begin_layout Plain Layout
8546 NoStyle
8547 \end_layout
8548
8549 \end_inset
8550
8551  [
8552 \begin_inset Flex Code
8553 status collapsed
8554
8555 \begin_layout Plain Layout
8556 <様式>
8557 \end_layout
8558
8559 \end_inset
8560
8561 ] このコマンドは既存の様式を削除します.これは特に,Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
8562 \end_layout
8563
8564 \begin_layout Description
8565 \begin_inset Flex Code
8566 status collapsed
8567
8568 \begin_layout Plain Layout
8569 OutlinerName
8570 \end_layout
8571
8572 \end_inset
8573
8574  [
8575 \begin_inset Flex Code
8576 status collapsed
8577
8578 \begin_layout Plain Layout
8579 <型>
8580 \end_layout
8581
8582 \end_inset
8583
8584 ] [
8585 \begin_inset Flex Code
8586 status collapsed
8587
8588 \begin_layout Plain Layout
8589 <文字列>
8590 \end_layout
8591
8592 \end_inset
8593
8594 ] 型が
8595 \begin_inset Flex Code
8596 status collapsed
8597
8598 \begin_layout Plain Layout
8599 <型>
8600 \end_layout
8601
8602 \end_inset
8603
8604 で名前が
8605 \begin_inset Flex Code
8606 status collapsed
8607
8608 \begin_layout Plain Layout
8609 <文字列>
8610 \end_layout
8611
8612 \end_inset
8613
8614 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
8615 \end_layout
8616
8617 \begin_layout Description
8618 \begin_inset Flex Code
8619 status collapsed
8620
8621 \begin_layout Plain Layout
8622 OutputFormat
8623 \end_layout
8624
8625 \end_inset
8626
8627  [
8628 \begin_inset Flex Code
8629 status collapsed
8630
8631 \begin_layout Plain Layout
8632 <形式>
8633 \end_layout
8634
8635 \end_inset
8636
8637 ] このクラスによって生成されるファイル形式を示す文字列(
8638 \family sans
8639 設定
8640 \family default
8641 ダイアログで定義される形のもの).おもに,
8642 \begin_inset Flex Code
8643 status collapsed
8644
8645 \begin_layout Plain Layout
8646 OutputType
8647 \end_layout
8648
8649 \end_inset
8650
8651
8652 \begin_inset Flex Code
8653 status collapsed
8654
8655 \begin_layout Plain Layout
8656 literate
8657 \end_layout
8658
8659 \end_inset
8660
8661 になっていて,新しい型のliterate文書を定義したい時に便利です.対応する
8662 \begin_inset Flex Code
8663 status collapsed
8664
8665 \begin_layout Plain Layout
8666 OutputType
8667 \end_layout
8668
8669 \end_inset
8670
8671 パラメーターに遭遇したときには,この文字列は,「
8672 \begin_inset Flex Code
8673 status collapsed
8674
8675 \begin_layout Plain Layout
8676 docbook
8677 \end_layout
8678
8679 \end_inset
8680
8681 」・「
8682 \begin_inset Flex Code
8683 status collapsed
8684
8685 \begin_layout Plain Layout
8686 lat
8687 \emph on
8688 ex
8689 \end_layout
8690
8691 \end_inset
8692
8693 」のいずれかにリセットされます.
8694 \end_layout
8695
8696 \begin_layout Description
8697 \begin_inset Flex Code
8698 status collapsed
8699
8700 \begin_layout Plain Layout
8701 OutputType
8702 \end_layout
8703
8704 \end_inset
8705
8706  [
8707 \begin_inset Flex Code
8708 status collapsed
8709
8710 \begin_layout Plain Layout
8711
8712 \emph on
8713 lat
8714 \emph default
8715 ex
8716 \end_layout
8717
8718 \end_inset
8719
8720
8721 \begin_inset Flex Code
8722 status collapsed
8723
8724 \begin_layout Plain Layout
8725 docbook
8726 \end_layout
8727
8728 \end_inset
8729
8730
8731 \begin_inset Flex Code
8732 status collapsed
8733
8734 \begin_layout Plain Layout
8735 literate
8736 \end_layout
8737
8738 \end_inset
8739
8740 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.現在のところ,取り得る値は「docbook」・「latex」・「literate」です.
8741 \end_layout
8742
8743 \begin_layout Description
8744 \begin_inset Flex Code
8745 status collapsed
8746
8747 \begin_layout Plain Layout
8748 PackageOptions
8749 \end_layout
8750
8751 \end_inset
8752
8753  [
8754 \begin_inset Flex Code
8755 status collapsed
8756
8757 \begin_layout Plain Layout
8758 文字列
8759 \end_layout
8760
8761 \end_inset
8762
8763  
8764 \begin_inset Flex Code
8765 status collapsed
8766
8767 \begin_layout Plain Layout
8768 文字列
8769 \end_layout
8770
8771 \end_inset
8772
8773 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,「
8774 \begin_inset Flex Code
8775 status collapsed
8776
8777 \begin_layout Plain Layout
8778 PackageOptions natbib square
8779 \end_layout
8780
8781 \end_inset
8782
8783 」とすると,
8784 \begin_inset Flex Code
8785 status collapsed
8786
8787 \begin_layout Plain Layout
8788 natbib
8789 \end_layout
8790
8791 \end_inset
8792
8793
8794 \begin_inset Flex Code
8795 status collapsed
8796
8797 \begin_layout Plain Layout
8798 square
8799 \end_layout
8800
8801 \end_inset
8802
8803 オプションとともに読み込みます(\SpecialChar TeX
8804 perts向けに述べると,これは,
8805 \begin_inset Flex Code
8806 status collapsed
8807
8808 \begin_layout Plain Layout
8809 natbib
8810 \end_layout
8811
8812 \end_inset
8813
8814 を読み込む前に,\SpecialChar LyX
8815
8816 \begin_inset Flex Code
8817 status collapsed
8818
8819 \begin_layout Plain Layout
8820
8821 \backslash
8822 PassOptionsToPackage{natbib}{square}
8823 \end_layout
8824
8825 \end_inset
8826
8827 を出力させます).
8828 \end_layout
8829
8830 \begin_layout Description
8831 \begin_inset Flex Code
8832 status collapsed
8833
8834 \begin_layout Plain Layout
8835 PageStyle
8836 \end_layout
8837
8838 \end_inset
8839
8840  [
8841 \emph on
8842
8843 \begin_inset Flex Code
8844 status collapsed
8845
8846 \begin_layout Plain Layout
8847 plain
8848 \end_layout
8849
8850 \end_inset
8851
8852
8853 \emph default
8854
8855 \begin_inset Flex Code
8856 status collapsed
8857
8858 \begin_layout Plain Layout
8859 empty
8860 \end_layout
8861
8862 \end_inset
8863
8864
8865 \begin_inset Flex Code
8866 status collapsed
8867
8868 \begin_layout Plain Layout
8869 headings
8870 \end_layout
8871
8872 \end_inset
8873
8874 ] 既定ページ様式.
8875 \begin_inset Flex MenuItem
8876 status collapsed
8877
8878 \begin_layout Plain Layout
8879 文書\SpecialChar menuseparator
8880 設定
8881 \end_layout
8882
8883 \end_inset
8884
8885 ダイアログで変更することができます.
8886 \end_layout
8887
8888 \begin_layout Description
8889 \begin_inset Flex Code
8890 status collapsed
8891
8892 \begin_layout Plain Layout
8893 Preamble
8894 \end_layout
8895
8896 \end_inset
8897
8898  \SpecialChar LaTeX
8899 文書のプリアンブルを設定します.前に行った
8900 \begin_inset Flex Code
8901 status collapsed
8902
8903 \begin_layout Plain Layout
8904 Preamble
8905 \end_layout
8906
8907 \end_inset
8908
8909 宣言や
8910 \begin_inset Flex Code
8911 status collapsed
8912
8913 \begin_layout Plain Layout
8914 AddToPreamble
8915 \end_layout
8916
8917 \end_inset
8918
8919 宣言は,すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
8920 \begin_inset Flex Code
8921 status collapsed
8922
8923 \begin_layout Plain Layout
8924 AddToPreamble
8925 \end_layout
8926
8927 \end_inset
8928
8929 を使用してください.)「
8930 \begin_inset Flex Code
8931 status collapsed
8932
8933 \begin_layout Plain Layout
8934 EndPreamble
8935 \end_layout
8936
8937 \end_inset
8938
8939 」で閉じる必要があります.
8940 \end_layout
8941
8942 \begin_layout Description
8943 \begin_inset Flex Code
8944 status collapsed
8945
8946 \begin_layout Plain Layout
8947 Provides
8948 \end_layout
8949
8950 \end_inset
8951
8952  [
8953 \begin_inset Flex Code
8954 status collapsed
8955
8956 \begin_layout Plain Layout
8957 文字列
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 \emph on
8969 0
8970 \end_layout
8971
8972 \end_inset
8973
8974
8975 \begin_inset Flex Code
8976 status collapsed
8977
8978 \begin_layout Plain Layout
8979 1
8980 \end_layout
8981
8982 \end_inset
8983
8984 ] このクラスが
8985 \begin_inset Flex Code
8986 status collapsed
8987
8988 \begin_layout Plain Layout
8989 文字列
8990 \end_layout
8991
8992 \end_inset
8993
8994 で示される機能を既に提供しているかどうかを示します.機能は,一般的にパッケージ名(
8995 \begin_inset Flex Code
8996 status collapsed
8997
8998 \begin_layout Plain Layout
8999 amsmath
9000 \end_layout
9001
9002 \end_inset
9003
9004
9005 \begin_inset Flex Code
9006 status collapsed
9007
9008 \begin_layout Plain Layout
9009 makeidx
9010 \end_layout
9011
9012 \end_inset
9013
9014 ・\SpecialChar ldots
9015 )やマクロ名(
9016 \begin_inset Flex Code
9017 status collapsed
9018
9019 \begin_layout Plain Layout
9020 url
9021 \end_layout
9022
9023 \end_inset
9024
9025
9026 \begin_inset Flex Code
9027 status collapsed
9028
9029 \begin_layout Plain Layout
9030 boldsymbol
9031 \end_layout
9032
9033 \end_inset
9034
9035 ・\SpecialChar ldots
9036 )です.機能一覧については,
9037 \begin_inset CommandInset ref
9038 LatexCommand ref
9039 reference "chap:関数一覧"
9040
9041 \end_inset
9042
9043 を参照.
9044 \end_layout
9045
9046 \begin_layout Description
9047 \begin_inset Flex Code
9048 status collapsed
9049
9050 \begin_layout Plain Layout
9051 ProvidesModule
9052 \end_layout
9053
9054 \end_inset
9055
9056  [
9057 \begin_inset Flex Code
9058 status collapsed
9059
9060 \begin_layout Plain Layout
9061 文字列
9062 \end_layout
9063
9064 \end_inset
9065
9066 ] このレイアウトが
9067 \begin_inset Flex Code
9068 status collapsed
9069
9070 \begin_layout Plain Layout
9071 文字列
9072 \end_layout
9073
9074 \end_inset
9075
9076 で表されているモジュールの機能を提供することを示し,
9077 \begin_inset Flex Code
9078 status collapsed
9079
9080 \begin_layout Plain Layout
9081 .module
9082 \end_layout
9083
9084 \end_inset
9085
9086 拡張子を除いたファイル名で指定します.
9087 \begin_inset Flex Code
9088 status collapsed
9089
9090 \begin_layout Plain Layout
9091 DefaultModule
9092 \end_layout
9093
9094 \end_inset
9095
9096 タグを使用すると,モジュールを使用しなくてはならないことを示しますが,このタグは主に,このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いら
9097 れます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
9098 \end_layout
9099
9100 \begin_layout Description
9101 \begin_inset Flex Code
9102 status collapsed
9103
9104 \begin_layout Plain Layout
9105 Requires
9106 \end_layout
9107
9108 \end_inset
9109
9110  [
9111 \begin_inset Flex Code
9112 status collapsed
9113
9114 \begin_layout Plain Layout
9115 文字列
9116 \end_layout
9117
9118 \end_inset
9119
9120 ] このクラスが
9121 \begin_inset Flex Code
9122 status collapsed
9123
9124 \begin_layout Plain Layout
9125 文字列
9126 \end_layout
9127
9128 \end_inset
9129
9130 で表されている機能を要求することを示します.機能が複数ある場合には,コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してくだ
9131 さい(機能一覧については
9132 \begin_inset CommandInset ref
9133 LatexCommand ref
9134 reference "chap:関数一覧"
9135
9136 \end_inset
9137
9138 を参照).特定のオプションをとるパッケージを要求する場合,
9139 \begin_inset Flex Code
9140 status collapsed
9141
9142 \begin_layout Plain Layout
9143 PackageOptions
9144 \end_layout
9145
9146 \end_inset
9147
9148 を追加して使うことができます.
9149 \end_layout
9150
9151 \begin_layout Description
9152 \begin_inset Flex Code
9153 status collapsed
9154
9155 \begin_layout Plain Layout
9156 RightMargin
9157 \end_layout
9158
9159 \end_inset
9160
9161  [
9162 \begin_inset Flex Code
9163 status collapsed
9164
9165 \begin_layout Plain Layout
9166 文字列
9167 \end_layout
9168
9169 \end_inset
9170
9171 ] 画面上の右余白の幅を指示する文字列.例:「
9172 \begin_inset Flex Code
9173 status collapsed
9174
9175 \begin_layout Plain Layout
9176 MMMMM
9177 \end_layout
9178
9179 \end_inset
9180
9181 」.
9182 \end_layout
9183
9184 \begin_layout Description
9185 \begin_inset Flex Code
9186 status collapsed
9187
9188 \begin_layout Plain Layout
9189 SecNumDepth
9190 \end_layout
9191
9192 \end_inset
9193
9194  [
9195 \begin_inset Flex Code
9196 status collapsed
9197
9198 \begin_layout Plain Layout
9199 int=3
9200 \end_layout
9201
9202 \end_inset
9203
9204 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
9205 における
9206 \begin_inset Flex Code
9207 status collapsed
9208
9209 \begin_layout Plain Layout
9210 secnumdepth
9211 \end_layout
9212
9213 \end_inset
9214
9215 カウンタに対応します.
9216 \end_layout
9217
9218 \begin_layout Description
9219 \begin_inset Flex Code
9220 status collapsed
9221
9222 \begin_layout Plain Layout
9223 Sides
9224 \end_layout
9225
9226 \end_inset
9227
9228  [
9229 \emph on
9230
9231 \begin_inset Flex Code
9232 status collapsed
9233
9234 \begin_layout Plain Layout
9235 1
9236 \end_layout
9237
9238 \end_inset
9239
9240
9241 \emph default
9242 ,
9243 \begin_inset space \thinspace{}
9244 \end_inset
9245
9246
9247 \begin_inset Flex Code
9248 status collapsed
9249
9250 \begin_layout Plain Layout
9251 2
9252 \end_layout
9253
9254 \end_inset
9255
9256 ] クラスの既定値として,用紙の片面に印字するか両面に印字するかを指定します.
9257 \begin_inset Flex MenuItem
9258 status collapsed
9259
9260 \begin_layout Plain Layout
9261 文書\SpecialChar menuseparator
9262 設定
9263 \end_layout
9264
9265 \end_inset
9266
9267 ダイアログで変更することができます.
9268 \end_layout
9269
9270 \begin_layout Description
9271 \begin_inset Flex Code
9272 status collapsed
9273
9274 \begin_layout Plain Layout
9275 Style
9276 \end_layout
9277
9278 \end_inset
9279
9280  [
9281 \begin_inset Flex Code
9282 status collapsed
9283
9284 \begin_layout Plain Layout
9285 <名称>
9286 \end_layout
9287
9288 \end_inset
9289
9290 ]
9291 \lang english
9292  
9293 \lang japanese
9294 この部分は段落様式を定義します.様式がまだ存在していなければ,生成されます.既に存在していれば,そのパラメータが修正されます.「
9295 \begin_inset Flex Code
9296 status collapsed
9297
9298 \begin_layout Plain Layout
9299 End
9300 \end_layout
9301
9302 \end_inset
9303
9304 」で閉じる必要があります.
9305 \begin_inset Newline newline
9306 \end_inset
9307
9308 段落様式に関する詳細は,
9309 \begin_inset CommandInset ref
9310 LatexCommand ref
9311 reference "subsec:段落様式-XHTML"
9312
9313 \end_inset
9314
9315 をご覧ください.
9316 \end_layout
9317
9318 \begin_layout Description
9319 \begin_inset Flex Code
9320 status collapsed
9321
9322 \begin_layout Plain Layout
9323 TitleLatexName
9324 \end_layout
9325
9326 \end_inset
9327
9328  [
9329 \begin_inset Flex Code
9330 status collapsed
9331
9332 \begin_layout Plain Layout
9333 文字列="maketitle"
9334 \end_layout
9335
9336 \end_inset
9337
9338
9339 \begin_inset Flex Code
9340 status collapsed
9341
9342 \begin_layout Plain Layout
9343 TitleLatexType
9344 \end_layout
9345
9346 \end_inset
9347
9348 で使用すべきコマンド名あるいは環境名.The name of the command or environment to be used with
9349  
9350 \begin_inset Flex Code
9351 status collapsed
9352
9353 \begin_layout Plain Layout
9354 TitleLatexType
9355 \end_layout
9356
9357 \end_inset
9358
9359 .
9360 \end_layout
9361
9362 \begin_layout Description
9363 \begin_inset Flex Code
9364 status collapsed
9365
9366 \begin_layout Plain Layout
9367 TitleLatexType
9368 \end_layout
9369
9370 \end_inset
9371
9372  [
9373 \begin_inset Flex Code
9374 status collapsed
9375
9376 \begin_layout Plain Layout
9377
9378 \emph on
9379 CommandAfter
9380 \end_layout
9381
9382 \end_inset
9383
9384
9385 \begin_inset Flex Code
9386 status collapsed
9387
9388 \begin_layout Plain Layout
9389 Environment
9390 \end_layout
9391
9392 \end_inset
9393
9394 ] 文書のタイトルを定義するのに,どのようなマークアップを使用するのかを示します.
9395 \begin_inset Flex Code
9396 status collapsed
9397
9398 \begin_layout Plain Layout
9399 CommandAfter
9400 \end_layout
9401
9402 \end_inset
9403
9404 は,「
9405 \begin_inset Flex Code
9406 status collapsed
9407
9408 \begin_layout Plain Layout
9409 InTitle
9410 \begin_inset space ~
9411 \end_inset
9412
9413 1
9414 \end_layout
9415
9416 \end_inset
9417
9418 」が指定されている最後のレイアウトの後に,
9419 \begin_inset Flex Code
9420 status collapsed
9421
9422 \begin_layout Plain Layout
9423 TitleLatexName
9424 \end_layout
9425
9426 \end_inset
9427
9428 で指定したマクロ名を挿入することを意味します.
9429 \begin_inset Flex Code
9430 status collapsed
9431
9432 \begin_layout Plain Layout
9433 Environment
9434 \end_layout
9435
9436 \end_inset
9437
9438 は,「
9439 \begin_inset Flex Code
9440 status collapsed
9441
9442 \begin_layout Plain Layout
9443 InTitle
9444 \begin_inset space ~
9445 \end_inset
9446
9447 1
9448 \end_layout
9449
9450 \end_inset
9451
9452 」を持つ段落群を
9453 \begin_inset Flex Code
9454 status collapsed
9455
9456 \begin_layout Plain Layout
9457 TitleLatexName
9458 \end_layout
9459
9460 \end_inset
9461
9462 で指定した環境でくるむ場合に対応します.
9463 \end_layout
9464
9465 \begin_layout Description
9466 \begin_inset Flex Code
9467 status collapsed
9468
9469 \begin_layout Plain Layout
9470 TocDepth
9471 \end_layout
9472
9473 \end_inset
9474
9475  [
9476 \begin_inset Flex Code
9477 status collapsed
9478
9479 \begin_layout Plain Layout
9480 int=3
9481 \end_layout
9482
9483 \end_inset
9484
9485 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
9486
9487 \begin_inset Flex Code
9488 status collapsed
9489
9490 \begin_layout Plain Layout
9491 tocdepth
9492 \end_layout
9493
9494 \end_inset
9495
9496 カウンタに対応します.
9497 \end_layout
9498
9499 \begin_layout Subsection
9500 \begin_inset Flex Code
9501 status collapsed
9502
9503 \begin_layout Plain Layout
9504 ClassOptions
9505 \end_layout
9506
9507 \end_inset
9508
9509
9510 \begin_inset CommandInset label
9511 LatexCommand label
9512 name "subsec:ClassOptions"
9513
9514 \end_inset
9515
9516
9517 \end_layout
9518
9519 \begin_layout Standard
9520 \begin_inset Flex Code
9521 status collapsed
9522
9523 \begin_layout Plain Layout
9524 ClassOptions
9525 \end_layout
9526
9527 \end_inset
9528
9529 部は,以下の項目を取り得ます.
9530 \end_layout
9531
9532 \begin_layout Description
9533 \begin_inset Flex Code
9534 status collapsed
9535
9536 \begin_layout Plain Layout
9537 FontSize
9538 \end_layout
9539
9540 \end_inset
9541
9542  [
9543 \begin_inset Flex Code
9544 status collapsed
9545
9546 \begin_layout Plain Layout
9547 文字列="10|11|12"
9548 \end_layout
9549
9550 \end_inset
9551
9552 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
9553 \begin_inset Flex Code
9554 status collapsed
9555
9556 \begin_layout Plain Layout
9557 |
9558 \end_layout
9559
9560 \end_inset
9561
9562 」で区切ります.
9563 \end_layout
9564
9565 \begin_layout Description
9566 \begin_inset Flex Code
9567 status collapsed
9568
9569 \begin_layout Plain Layout
9570 Header
9571 \end_layout
9572
9573 \end_inset
9574
9575  XMLベースの出力クラスで,DTD行を設定するのに使用されます.例:PUBLIC 
9576 \begin_inset Quotes eld
9577 \end_inset
9578
9579 -//OASIS//DTD DocBook V4.2//EN
9580 \begin_inset Quotes erd
9581 \end_inset
9582
9583
9584 \end_layout
9585
9586 \begin_layout Description
9587 \begin_inset Flex Code
9588 status collapsed
9589
9590 \begin_layout Plain Layout
9591 PageStyle
9592 \end_layout
9593
9594 \end_inset
9595
9596  [
9597 \begin_inset Flex Code
9598 status collapsed
9599
9600 \begin_layout Plain Layout
9601 文字列="empty|plain|headings|fancy"
9602 \end_layout
9603
9604 \end_inset
9605
9606 ] 使用できるページ様式の一覧です.「
9607 \begin_inset Flex Code
9608 status collapsed
9609
9610 \begin_layout Plain Layout
9611 |
9612 \end_layout
9613
9614 \end_inset
9615
9616 」で区切ります.
9617 \end_layout
9618
9619 \begin_layout Description
9620 \begin_inset Flex Code
9621 status collapsed
9622
9623 \begin_layout Plain Layout
9624 Other
9625 \end_layout
9626
9627 \end_inset
9628
9629  [
9630 \begin_inset Flex Code
9631 status collapsed
9632
9633 \begin_layout Plain Layout
9634 文字列=""
9635 \end_layout
9636
9637 \end_inset
9638
9639
9640 \begin_inset Flex Code
9641 status collapsed
9642
9643 \begin_layout Plain Layout
9644
9645 \backslash
9646 documentclass
9647 \end_layout
9648
9649 \end_inset
9650
9651 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
9652 \end_layout
9653
9654 \begin_layout Standard
9655 \begin_inset Flex Code
9656 status collapsed
9657
9658 \begin_layout Plain Layout
9659 ClassOptions
9660 \end_layout
9661
9662 \end_inset
9663
9664 部は「
9665 \begin_inset Flex Code
9666 status collapsed
9667
9668 \begin_layout Plain Layout
9669 End
9670 \end_layout
9671
9672 \end_inset
9673
9674 」で閉じる必要があります.
9675 \end_layout
9676
9677 \begin_layout Subsection
9678 段落様式
9679 \begin_inset CommandInset label
9680 LatexCommand label
9681 name "subsec:段落様式"
9682
9683 \end_inset
9684
9685
9686 \end_layout
9687
9688 \begin_layout Standard
9689 段落様式の記述は,以下のようになります
9690 \begin_inset Foot
9691 status collapsed
9692
9693 \begin_layout Plain Layout
9694 これは新しいレイアウトを定義するか,既存のレイアウトを修正することになることに注意してください.
9695 \end_layout
9696
9697 \end_inset
9698
9699
9700 \end_layout
9701
9702 \begin_layout LyX-Code
9703 Style 
9704 \family roman
9705 \emph on
9706 名称
9707 \end_layout
9708
9709 \begin_layout LyX-Code
9710  ...
9711 \end_layout
9712
9713 \begin_layout LyX-Code
9714 End
9715 \end_layout
9716
9717 \begin_layout Standard
9718 ここでは,以下のコマンドを使用することができます.
9719 \end_layout
9720
9721 \begin_layout Description
9722 \begin_inset Flex Code
9723 status collapsed
9724
9725 \begin_layout Plain Layout
9726 AddToToc
9727 \end_layout
9728
9729 \end_inset
9730
9731  [
9732 \begin_inset Flex Code
9733 status collapsed
9734
9735 \begin_layout Plain Layout
9736 文字列
9737 \end_layout
9738
9739 \end_inset
9740
9741 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧
9742 ください.既定値:無効.
9743 \end_layout
9744
9745 \begin_layout Description
9746 \begin_inset Flex Code
9747 status collapsed
9748
9749 \begin_layout Plain Layout
9750 Align
9751 \end_layout
9752
9753 \end_inset
9754
9755  [
9756 \begin_inset Flex Code
9757 status collapsed
9758
9759 \begin_layout Plain Layout
9760
9761 \emph on
9762 block
9763 \emph default
9764 , left, right, center
9765 \end_layout
9766
9767 \end_inset
9768
9769 ] 段落の揃え.
9770 \end_layout
9771
9772 \begin_layout Description
9773 \begin_inset Flex Code
9774 status collapsed
9775
9776 \begin_layout Plain Layout
9777 AlignPossible
9778 \end_layout
9779
9780 \end_inset
9781
9782  [
9783 \begin_inset Flex Code
9784 status collapsed
9785
9786 \begin_layout Plain Layout
9787
9788 \emph on
9789 block
9790 \emph default
9791 , left, right, center
9792 \end_layout
9793
9794 \end_inset
9795
9796 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
9797 スタイルには,意味を成さない一部の揃えが禁じられているものがあります.たとえば,連番箇条書きを右揃えや中央揃えにすること
9798 はできません).
9799 \end_layout
9800
9801 \begin_layout Description
9802 \begin_inset Flex Code
9803 status collapsed
9804
9805 \begin_layout Plain Layout
9806 Argument
9807 \end_layout
9808
9809 \end_inset
9810
9811  [
9812 \begin_inset Flex Code
9813 status collapsed
9814
9815 \begin_layout Plain Layout
9816 整数
9817 \end_layout
9818
9819 \end_inset
9820
9821 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.これは,節見出しのようなものに便利で,また\SpecialChar LaTeX
9822 でのみ意味を持ちます.コマンドまたは環
9823 境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,必須・非必須を問わず–,別の場所で定義され,引数番号はその順序を表します.定義は
9824 \begin_inset Flex Code
9825 status collapsed
9826
9827 \begin_layout Plain Layout
9828 EndArgument
9829 \end_layout
9830
9831 \end_inset
9832
9833 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,以下のようになります.
9834 \end_layout
9835
9836 \begin_deeper
9837 \begin_layout Quote
9838
9839 \family typewriter
9840 Argument 1
9841 \end_layout
9842
9843 \begin_layout Quote
9844
9845 \family typewriter
9846 ...
9847 \end_layout
9848
9849 \begin_layout Quote
9850
9851 \family typewriter
9852 EndArgument
9853 \end_layout
9854
9855 \begin_layout Quote
9856
9857 \family typewriter
9858 Argument 2
9859 \end_layout
9860
9861 \begin_layout Quote
9862
9863 \family typewriter
9864 ...
9865 \end_layout
9866
9867 \begin_layout Quote
9868
9869 \family typewriter
9870 EndArgument
9871 \end_layout
9872
9873 \begin_layout Standard
9874 \begin_inset Flex Code
9875 status collapsed
9876
9877 \begin_layout Plain Layout
9878 Argument
9879 \end_layout
9880
9881 \end_inset
9882
9883 定義内部では,以下の指定をすることができます.
9884 \end_layout
9885
9886 \begin_layout Itemize
9887 \begin_inset Flex Code
9888 status collapsed
9889
9890 \begin_layout Plain Layout
9891 LabelString
9892 \end_layout
9893
9894 \end_inset
9895
9896  
9897 \begin_inset Flex Code
9898 status collapsed
9899
9900 \begin_layout Plain Layout
9901 [文字列]
9902 \end_layout
9903
9904 \end_inset
9905
9906  この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
9907 \begin_inset Flex Code
9908 status collapsed
9909
9910 \begin_layout Plain Layout
9911 MenuString
9912 \end_layout
9913
9914 \end_inset
9915
9916 を指定した場合を除く).メニューには,後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9917 \begin_inset space \space{}
9918 \end_inset
9919
9920
9921 \begin_inset Quotes eld
9922 \end_inset
9923
9924
9925 \begin_inset Flex Code
9926 status collapsed
9927
9928 \begin_layout Plain Layout
9929 Short Title|S
9930 \end_layout
9931
9932 \end_inset
9933
9934
9935 \begin_inset Quotes erd
9936 \end_inset
9937
9938 ).
9939 \end_layout
9940
9941 \begin_layout Itemize
9942 \begin_inset Flex Code
9943 status collapsed
9944
9945 \begin_layout Plain Layout
9946 MenuString
9947 \end_layout
9948
9949 \end_inset
9950
9951  
9952 \begin_inset Flex Code
9953 status collapsed
9954
9955 \begin_layout Plain Layout
9956 [文字列]
9957 \end_layout
9958
9959 \end_inset
9960
9961  メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
9962 \begin_inset space \space{}
9963 \end_inset
9964
9965
9966 \begin_inset Quotes eld
9967 \end_inset
9968
9969
9970 \begin_inset Flex Code
9971 status collapsed
9972
9973 \begin_layout Plain Layout
9974 Short Title|S
9975 \end_layout
9976
9977 \end_inset
9978
9979
9980 \begin_inset Quotes erd
9981 \end_inset
9982
9983 ).この指定は必須ではありません.指定しない場合には,代わりに
9984 \begin_inset Flex Code
9985 status collapsed
9986
9987 \begin_layout Plain Layout
9988 LabelString
9989 \end_layout
9990
9991 \end_inset
9992
9993 がメニューに用いられます.
9994 \end_layout
9995
9996 \begin_layout Itemize
9997 \begin_inset Flex Code
9998 status collapsed
9999
10000 \begin_layout Plain Layout
10001 Tooltip
10002 \end_layout
10003
10004 \end_inset
10005
10006  
10007 \begin_inset Flex Code
10008 status collapsed
10009
10010 \begin_layout Plain Layout
10011 [文字列]
10012 \end_layout
10013
10014 \end_inset
10015
10016  引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
10017 \end_layout
10018
10019 \begin_layout Itemize
10020 \begin_inset Flex Code
10021 status collapsed
10022
10023 \begin_layout Plain Layout
10024 Mandatory
10025 \end_layout
10026
10027 \end_inset
10028
10029  [
10030 \begin_inset Flex Code
10031 status collapsed
10032
10033 \begin_layout Plain Layout
10034
10035 \emph on
10036 0
10037 \end_layout
10038
10039 \end_inset
10040
10041 ,
10042 \begin_inset space \thinspace{}
10043 \end_inset
10044
10045
10046 \begin_inset Flex Code
10047 status collapsed
10048
10049 \begin_layout Plain Layout
10050 1
10051 \end_layout
10052
10053 \end_inset
10054
10055 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,与えられなければ空の出力を行いますが,非必須引数の場合はそもそも出力されません
10056 .既定では,必須引数は
10057 \begin_inset Flex Code
10058 status collapsed
10059
10060 \begin_layout Plain Layout
10061 {...}
10062 \end_layout
10063
10064 \end_inset
10065
10066 で区切られ,非必須引数は
10067 \begin_inset Flex Code
10068 status collapsed
10069
10070 \begin_layout Plain Layout
10071 [...]
10072 \end_layout
10073
10074 \end_inset
10075
10076 で区切られます.
10077 \end_layout
10078
10079 \begin_layout Itemize
10080 \begin_inset Flex Code
10081 status collapsed
10082
10083 \begin_layout Plain Layout
10084 Requires
10085 \end_layout
10086
10087 \end_inset
10088
10089  
10090 \begin_inset Flex Code
10091 status collapsed
10092
10093 \begin_layout Plain Layout
10094 [整数=0]
10095 \end_layout
10096
10097 \end_inset
10098
10099  この引数が出力されるとき,必要となる別の引数を(番号によって)指定します.例えば,\SpecialChar LaTeX
10100 コマンドでは,
10101 \begin_inset Flex Code
10102 status collapsed
10103
10104 \begin_layout Plain Layout
10105
10106 \backslash
10107 command[][引数]{文字列}
10108 \end_layout
10109
10110 \end_inset
10111
10112 のように,前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
10113 \begin_inset Flex Code
10114 status collapsed
10115
10116 \begin_layout Plain Layout
10117 Argument 2
10118 \end_layout
10119
10120 \end_inset
10121
10122 中に
10123 \begin_inset Flex Code
10124 status collapsed
10125
10126 \begin_layout Plain Layout
10127 Requires 1
10128 \end_layout
10129
10130 \end_inset
10131
10132 ステートメントを置くことで実現できます.
10133 \end_layout
10134
10135 \begin_layout Itemize
10136 \begin_inset Flex Code
10137 status collapsed
10138
10139 \begin_layout Plain Layout
10140 LeftDelim
10141 \end_layout
10142
10143 \end_inset
10144
10145  
10146 \begin_inset Flex Code
10147 status collapsed
10148
10149 \begin_layout Plain Layout
10150 [文字列]
10151 \end_layout
10152
10153 \end_inset
10154
10155  (
10156 \begin_inset Flex Code
10157 status collapsed
10158
10159 \begin_layout Plain Layout
10160 {
10161 \end_layout
10162
10163 \end_inset
10164
10165
10166 \begin_inset Flex Code
10167 status collapsed
10168
10169 \begin_layout Plain Layout
10170 [
10171 \end_layout
10172
10173 \end_inset
10174
10175 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
10176 \begin_inset Flex Code
10177 status collapsed
10178
10179 \begin_layout Plain Layout
10180 <br/>
10181 \end_layout
10182
10183 \end_inset
10184
10185 で指示できます.
10186 \end_layout
10187
10188 \begin_layout Itemize
10189 \begin_inset Flex Code
10190 status collapsed
10191
10192 \begin_layout Plain Layout
10193 RightDelim
10194 \end_layout
10195
10196 \end_inset
10197
10198  
10199 \begin_inset Flex Code
10200 status collapsed
10201
10202 \begin_layout Plain Layout
10203 [文字列]
10204 \end_layout
10205
10206 \end_inset
10207
10208  (
10209 \begin_inset Flex Code
10210 status collapsed
10211
10212 \begin_layout Plain Layout
10213 }
10214 \end_layout
10215
10216 \end_inset
10217
10218
10219 \begin_inset Flex Code
10220 status collapsed
10221
10222 \begin_layout Plain Layout
10223 ]
10224 \end_layout
10225
10226 \end_inset
10227
10228 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
10229 \begin_inset Flex Code
10230 status collapsed
10231
10232 \begin_layout Plain Layout
10233 <br/>
10234 \end_layout
10235
10236 \end_inset
10237
10238 で指示できます.
10239 \end_layout
10240
10241 \begin_layout Itemize
10242 \begin_inset Flex Code
10243 status collapsed
10244
10245 \begin_layout Plain Layout
10246 DefaultArg
10247 \end_layout
10248
10249 \end_inset
10250
10251  
10252 \begin_inset Flex Code
10253 status collapsed
10254
10255 \begin_layout Plain Layout
10256 [文字列]
10257 \end_layout
10258
10259 \end_inset
10260
10261  ユーザー指定引数が与えられなかったとき,すなわち引数差込枠が挿入されなかったときに限り,挿入される引数を定義します(空の引数差込枠が挿入されてもDefault
10262 Argは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
10263 \end_layout
10264
10265 \begin_layout Itemize
10266 \begin_inset Flex Code
10267 status collapsed
10268
10269 \begin_layout Plain Layout
10270 PresetArg
10271 \end_layout
10272
10273 \end_inset
10274
10275  
10276 \begin_inset Flex Code
10277 status collapsed
10278
10279 \begin_layout Plain Layout
10280 [文字列]
10281 \end_layout
10282
10283 \end_inset
10284
10285  どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
10286 \end_layout
10287
10288 \begin_layout Itemize
10289 \begin_inset Flex Code
10290 status collapsed
10291
10292 \begin_layout Plain Layout
10293 Font
10294 \end_layout
10295
10296 \end_inset
10297
10298  引数の内容に用いられるフォント.
10299 \begin_inset CommandInset ref
10300 LatexCommand ref
10301 reference "subsec:フォント指定"
10302
10303 \end_inset
10304
10305 参照.
10306 \end_layout
10307
10308 \begin_layout Itemize
10309 \begin_inset Flex Code
10310 status collapsed
10311
10312 \begin_layout Plain Layout
10313 LabelFont
10314 \end_layout
10315
10316 \end_inset
10317
10318  ラベルに用いられるフォント.
10319 \begin_inset CommandInset ref
10320 LatexCommand ref
10321 reference "subsec:フォント指定"
10322
10323 \end_inset
10324
10325 参照.
10326 \end_layout
10327
10328 \begin_layout Itemize
10329 \begin_inset Flex Code
10330 status collapsed
10331
10332 \begin_layout Plain Layout
10333 Decoration
10334 \end_layout
10335
10336 \end_inset
10337
10338  [
10339 \begin_inset Flex Code
10340 status collapsed
10341
10342 \begin_layout Plain Layout
10343
10344 \emph on
10345 Classic
10346 \emph default
10347 , Minimalistic, Conglomerate
10348 \end_layout
10349
10350 \end_inset
10351
10352 ] 差込枠の枠とボタンに用いられる装飾様式.
10353 \end_layout
10354
10355 \begin_layout Itemize
10356 \begin_inset Flex Code
10357 status collapsed
10358
10359 \begin_layout Plain Layout
10360 AutoInsert
10361 \end_layout
10362
10363 \end_inset
10364
10365  
10366 \begin_inset Flex Code
10367 status collapsed
10368
10369 \begin_layout Plain Layout
10370 [整数=0]
10371 \end_layout
10372
10373 \end_inset
10374
10375  これが
10376 \begin_inset Flex Code
10377 status collapsed
10378
10379 \begin_layout Plain Layout
10380 1
10381 \end_layout
10382
10383 \end_inset
10384
10385 に設定されると,各様式が選択されたときに,この引数が自動的に挿入されます.現在のところ,様式・レイアウト毎に1変数のみ自動挿入することができます.
10386 \end_layout
10387
10388 \begin_layout Itemize
10389 \begin_inset Flex Code
10390 status collapsed
10391
10392 \begin_layout Plain Layout
10393 InsertCotext
10394 \end_layout
10395
10396 \end_inset
10397
10398  
10399 \begin_inset Flex Code
10400 status collapsed
10401
10402 \begin_layout Plain Layout
10403 [整数=0]
10404 \end_layout
10405
10406 \end_inset
10407
10408  これが
10409 \begin_inset Flex Code
10410 status collapsed
10411
10412 \begin_layout Plain Layout
10413 1
10414 \end_layout
10415
10416 \end_inset
10417
10418 に設定されると,この引数は,副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
10419 \end_layout
10420
10421 \begin_layout Itemize
10422 \begin_inset Flex Code
10423 status collapsed
10424
10425 \begin_layout Plain Layout
10426 PassThru
10427 \end_layout
10428
10429 \end_inset
10430
10431  [
10432 \begin_inset Flex Code
10433 status collapsed
10434
10435 \begin_layout Plain Layout
10436
10437 \emph on
10438 inherited
10439 \emph default
10440 , true, false
10441 \end_layout
10442
10443 \end_inset
10444
10445 ] この引数の内容が,\SpecialChar LaTeX
10446 が要求する特別な書き換えを行うことなく,原文のまま出力されるべきかどうかを指定します.既定値では,
10447 \begin_inset Flex Code
10448 status collapsed
10449
10450 \begin_layout Plain Layout
10451 PassThru
10452 \end_layout
10453
10454 \end_inset
10455
10456 の状態は,引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,この引数のみの状態を変更します.
10457 \end_layout
10458
10459 \begin_layout Itemize
10460 \begin_inset Flex Code
10461 status collapsed
10462
10463 \begin_layout Plain Layout
10464 PassThruChars
10465 \end_layout
10466
10467 \end_inset
10468
10469  [
10470 \begin_inset Flex Code
10471 status collapsed
10472
10473 \begin_layout Plain Layout
10474 文字列
10475 \end_layout
10476
10477 \end_inset
10478
10479 ]
10480 \family typewriter
10481  
10482 \family default
10483 \SpecialChar LaTeX
10484 が要求する特別な翻訳は抜きにして,生の形で出力されるべき各文字を定義します.PassThruとは違って,引数用に,これは明示的に定義されなくてはなりません.つま
10485 り,引数は,親差込枠や親レイアウトからPassThruCharsを継承しません.
10486 \end_layout
10487
10488 \begin_layout Itemize
10489 \begin_inset Flex Code
10490 status collapsed
10491
10492 \begin_layout Plain Layout
10493 IsTocCaption
10494 \end_layout
10495
10496 \end_inset
10497
10498  [
10499 \begin_inset Flex Code
10500 status collapsed
10501
10502 \begin_layout Plain Layout
10503
10504 \emph on
10505 0
10506 \end_layout
10507
10508 \end_inset
10509
10510 ,
10511 \begin_inset space \thinspace{}
10512 \end_inset
10513
10514
10515 \begin_inset Flex Code
10516 status collapsed
10517
10518 \begin_layout Plain Layout
10519 1
10520 \end_layout
10521
10522 \end_inset
10523
10524 ] これを1に設定すると,引数は,その内容を対応する一覧表の項目に出力します.AddToTocを参照.
10525 \end_layout
10526
10527 \begin_layout Standard
10528 既定では,
10529 \begin_inset Flex Code
10530 status collapsed
10531
10532 \begin_layout Plain Layout
10533 LatexType
10534 \end_layout
10535
10536 \end_inset
10537
10538
10539 \begin_inset Flex Code
10540 status collapsed
10541
10542 \begin_layout Plain Layout
10543 Command
10544 \end_layout
10545
10546 \end_inset
10547
10548 のとき,各レイアウトで\SpecialChar LyX
10549 作業領域に入力した文字列は,コマンドの最後の(必須)引数になります.しかしながら,前置句
10550 \begin_inset Flex Code
10551 status collapsed
10552
10553 \begin_layout Plain Layout
10554 post:
10555 \end_layout
10556
10557 \end_inset
10558
10559 を付けた文字列は,この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,作業領域引数の後の最初の引数は
10560 \begin_inset Flex Code
10561 status collapsed
10562
10563 \begin_layout Plain Layout
10564 post:1
10565 \end_layout
10566
10567 \end_inset
10568
10569 となります.後置引数は,
10570 \begin_inset Flex Code
10571 status collapsed
10572
10573 \begin_layout Plain Layout
10574 Command
10575 \end_layout
10576
10577 \end_inset
10578
10579 以外の
10580 \begin_inset Flex Code
10581 status collapsed
10582
10583 \begin_layout Plain Layout
10584 LatexType
10585 \end_layout
10586
10587 \end_inset
10588
10589 では無視されます.
10590 \end_layout
10591
10592 \begin_layout Standard
10593 (
10594 \begin_inset Flex Code
10595 status collapsed
10596
10597 \begin_layout Plain Layout
10598
10599 \backslash
10600 item[foo]
10601 \end_layout
10602
10603 \end_inset
10604
10605 のような)箇条書き
10606 \begin_inset Flex Code
10607 status collapsed
10608
10609 \begin_layout Plain Layout
10610
10611 \backslash
10612 item
10613 \end_layout
10614
10615 \end_inset
10616
10617 の引数は,前置句
10618 \begin_inset Flex Code
10619 status collapsed
10620
10621 \begin_layout Plain Layout
10622 item:
10623 \end_layout
10624
10625 \end_inset
10626
10627 の後に番号を付けます(例:
10628 \begin_inset Flex Code
10629 status collapsed
10630
10631 \begin_layout Plain Layout
10632 Argument item:1
10633 \end_layout
10634
10635 \end_inset
10636
10637 ).
10638 \end_layout
10639
10640 \end_deeper
10641 \begin_layout Description
10642
10643 \lang english
10644 \begin_inset Flex Code
10645 status collapsed
10646
10647 \begin_layout Plain Layout
10648
10649 \lang english
10650 AutoNests
10651 \end_layout
10652
10653 \end_inset
10654
10655  Includes a comma-separated list of layouts that should be nested in and
10656  after the current layout.
10657  Only makes sense for nestable layouts (such as environments).
10658  Must be ended by 
10659 \begin_inset Quotes eld
10660 \end_inset
10661
10662
10663 \begin_inset Flex Code
10664 status collapsed
10665
10666 \begin_layout Plain Layout
10667
10668 \lang english
10669 EndAutoNests
10670 \end_layout
10671
10672 \end_inset
10673
10674
10675 \begin_inset Quotes erd
10676 \end_inset
10677
10678 .
10679  See also 
10680 \begin_inset Flex Code
10681 status collapsed
10682
10683 \begin_layout Plain Layout
10684
10685 \lang english
10686 IsAutoNestedBy
10687 \end_layout
10688
10689 \end_inset
10690
10691 .
10692 \end_layout
10693
10694 \begin_layout Description
10695 \begin_inset Flex Code
10696 status collapsed
10697
10698 \begin_layout Plain Layout
10699 BabelPreamble
10700 \end_layout
10701
10702 \end_inset
10703
10704  これは,前に現れたこの様式の
10705 \begin_inset Flex Code
10706 status collapsed
10707
10708 \begin_layout Plain Layout
10709 BabelPreamble
10710 \end_layout
10711
10712 \end_inset
10713
10714 宣言をすべて,完全に上書きしますので注意してください.「
10715 \begin_inset Flex Code
10716 status collapsed
10717
10718 \begin_layout Plain Layout
10719 EndBabelPreamble
10720 \end_layout
10721
10722 \end_inset
10723
10724 」で閉じる必要があります.これの利用法についての詳細は,第
10725 \begin_inset CommandInset ref
10726 LatexCommand ref
10727 reference "subsec:段落様式の国際化"
10728
10729 \end_inset
10730
10731 節をご覧ください.
10732 \end_layout
10733
10734 \begin_layout Description
10735 \begin_inset Flex Code
10736 status collapsed
10737
10738 \begin_layout Plain Layout
10739 BottomSep
10740 \end_layout
10741
10742 \end_inset
10743
10744  [
10745 \begin_inset Flex Code
10746 status collapsed
10747
10748 \begin_layout Plain Layout
10749 浮動小数点型=0
10750 \end_layout
10751
10752 \end_inset
10753
10754 ]
10755 \begin_inset Foot
10756 status collapsed
10757
10758 \begin_layout Plain Layout
10759 ここで「浮動小数点型」とは1.5のような実数を指します.
10760 \end_layout
10761
10762 \end_inset
10763
10764  このレイアウト型の段落塊の最後の段落と,次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,分離幅は足し上げられるのではなく,最大値がとられま
10765 す.
10766 \end_layout
10767
10768 \begin_layout Description
10769 \begin_inset Flex Code
10770 status collapsed
10771
10772 \begin_layout Plain Layout
10773 Category
10774 \end_layout
10775
10776 \end_inset
10777
10778  [
10779 \begin_inset Flex Code
10780 status collapsed
10781
10782 \begin_layout Plain Layout
10783 文字列
10784 \end_layout
10785
10786 \end_inset
10787
10788 ] この様式のカテゴリです.これは,ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが
10789 ,作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
10790 \end_layout
10791
10792 \begin_layout Description
10793 \begin_inset Flex Code
10794 status collapsed
10795
10796 \begin_layout Plain Layout
10797 CommandDepth
10798 \end_layout
10799
10800 \end_inset
10801
10802  XMLコマンドの深度.XML型の書式でのみ使用されます.
10803 \end_layout
10804
10805 \begin_layout Description
10806 \begin_inset Flex Code
10807 status collapsed
10808
10809 \begin_layout Plain Layout
10810 CopyStyle
10811 \end_layout
10812
10813 \end_inset
10814
10815  [
10816 \begin_inset Flex Code
10817 status collapsed
10818
10819 \begin_layout Plain Layout
10820 文字列
10821 \end_layout
10822
10823 \end_inset
10824
10825 ] 既存の様式から,すべての機能を現在の様式にコピーします.
10826 \end_layout
10827
10828 \begin_layout Description
10829 \begin_inset Flex Code
10830 status collapsed
10831
10832 \begin_layout Plain Layout
10833 DependsOn
10834 \end_layout
10835
10836 \end_inset
10837
10838  [
10839 \begin_inset Flex Code
10840 status collapsed
10841
10842 \begin_layout Plain Layout
10843 <名称>
10844 \end_layout
10845
10846 \end_inset
10847
10848 ]
10849 \lang english
10850  
10851 \lang japanese
10852 この
10853 \emph on
10854 前に
10855 \emph default
10856 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,プリアンブルの断片の順序を確実にするためのものです
10857 \begin_inset Foot
10858 status collapsed
10859
10860 \begin_layout Plain Layout
10861 この機能以外には,プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
10862 の特定のバージョンで観察された順序は,将来のバージョンで警告なしに変わる可能性が
10863 あります.
10864 \end_layout
10865
10866 \end_inset
10867
10868
10869 \end_layout
10870
10871 \begin_layout Description
10872 \begin_inset Flex Code
10873 status collapsed
10874
10875 \begin_layout Plain Layout
10876 EndLabeltype
10877 \end_layout
10878
10879 \end_inset
10880
10881  [
10882 \begin_inset Flex Code
10883 status collapsed
10884
10885 \begin_layout Plain Layout
10886
10887 \emph on
10888 No_Label
10889 \emph default
10890 , Box, Filled_Box, Static
10891 \end_layout
10892
10893 \end_inset
10894
10895 ] 段落の最後(あるいは
10896 \begin_inset Flex Code
10897 status collapsed
10898
10899 \begin_layout Plain Layout
10900 LatexType
10901 \end_layout
10902
10903 \end_inset
10904
10905 が,
10906 \begin_inset Flex Code
10907 status collapsed
10908
10909 \begin_layout Plain Layout
10910 Environment
10911 \end_layout
10912
10913 \end_inset
10914
10915
10916 \begin_inset Flex Code
10917 status collapsed
10918
10919 \begin_layout Plain Layout
10920 Item_Environment
10921 \end_layout
10922
10923 \end_inset
10924
10925
10926 \begin_inset Flex Code
10927 status collapsed
10928
10929 \begin_layout Plain Layout
10930 List_Environment
10931 \end_layout
10932
10933 \end_inset
10934
10935 のいずれかの場合は,段落群の最後)に置くラベル.
10936 \begin_inset Flex Code
10937 status collapsed
10938
10939 \begin_layout Plain Layout
10940 No_Label
10941 \end_layout
10942
10943 \end_inset
10944
10945 の場合は「何もない」ことを指し,
10946 \begin_inset Flex Code
10947 status collapsed
10948
10949 \begin_layout Plain Layout
10950 Box
10951 \end_layout
10952
10953 \end_inset
10954
10955 (あるいは
10956 \begin_inset Flex Code
10957 status collapsed
10958
10959 \begin_layout Plain Layout
10960 Filled_Box
10961 \end_layout
10962
10963 \end_inset
10964
10965 )の場合は,証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
10966 \begin_inset Flex Code
10967 status collapsed
10968
10969 \begin_layout Plain Layout
10970 Static
10971 \end_layout
10972
10973 \end_inset
10974
10975 は明示したテキスト文字列を指します.
10976 \end_layout
10977
10978 \begin_layout Description
10979 \begin_inset Flex Code
10980 status collapsed
10981
10982 \begin_layout Plain Layout
10983 EndLabelString
10984 \end_layout
10985
10986 \end_inset
10987
10988  [
10989 \begin_inset Flex Code
10990 status collapsed
10991
10992 \begin_layout Plain Layout
10993 文字列=""
10994 \end_layout
10995
10996 \end_inset
10997
10998
10999 \begin_inset Flex Code
11000 status collapsed
11001
11002 \begin_layout Plain Layout
11003 Static
11004 \end_layout
11005
11006 \end_inset
11007
11008
11009 \begin_inset Flex Code
11010 status collapsed
11011
11012 \begin_layout Plain Layout
11013 EndLabelType
11014 \end_layout
11015
11016 \end_inset
11017
11018 のラベルで用いる文字列.
11019 \end_layout
11020
11021 \begin_layout Description
11022 \begin_inset Flex Code
11023 status collapsed
11024
11025 \begin_layout Plain Layout
11026 Font
11027 \end_layout
11028
11029 \end_inset
11030
11031  本文テキストとラベルの
11032 \emph on
11033 両方で
11034 \emph default
11035 用いられるフォント.第
11036 \begin_inset CommandInset ref
11037 LatexCommand ref
11038 reference "subsec:フォント指定"
11039
11040 \end_inset
11041
11042 節を参照.このフォントを定義すると,自動的に
11043 \begin_inset Flex Code
11044 status collapsed
11045
11046 \begin_layout Plain Layout
11047 LabelFont
11048 \end_layout
11049
11050 \end_inset
11051
11052 も同じ値で定義されることに注意してください.したがって,
11053 \begin_inset Flex Code
11054 status collapsed
11055
11056 \begin_layout Plain Layout
11057 LabelFont
11058 \end_layout
11059
11060 \end_inset
11061
11062 も同時に定義したい場合には,これを先に定義してください.
11063 \end_layout
11064
11065 \begin_layout Description
11066 \begin_inset Flex Code
11067 status collapsed
11068
11069 \begin_layout Plain Layout
11070 ForceLocal
11071 \end_layout
11072
11073 \end_inset
11074
11075  [
11076 \begin_inset Flex Code
11077 status collapsed
11078
11079 \begin_layout Plain Layout
11080 int=0
11081 \end_layout
11082
11083 \end_inset
11084
11085 ] 新しい様式を\SpecialChar LyX
11086 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11087  2.1.0です.引数は数字で,0・-1・1以上の任意の数をとることが
11088 できます.様式の
11089 \begin_inset Flex Code
11090 status collapsed
11091
11092 \begin_layout Plain Layout
11093 ForceLocal
11094 \end_layout
11095
11096 \end_inset
11097
11098 フラグが1以上ならば,これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,文書ヘッダからの様式定義が文書クラスに追加されます.したがって,古い
11099 版の\SpecialChar LyX
11100 もこの様式を取り扱えるようになります.
11101 \begin_inset Flex Code
11102 status collapsed
11103
11104 \begin_layout Plain Layout
11105 ForceLocal
11106 \end_layout
11107
11108 \end_inset
11109
11110 の引数は版数です.様式が読み込まれたときに,文書クラス中の既存の様式の版数よりも小さいと,新しい様式は無視されます.版数が大きいと,既存の様式に代わって新しい様
11111 式が用いられます.値-1は無限大の版数を意味し,この様式が常に用いられることになります.
11112 \end_layout
11113
11114 \begin_layout Description
11115 \begin_inset Flex Code
11116 status collapsed
11117
11118 \begin_layout Plain Layout
11119 FreeSpacing
11120 \end_layout
11121
11122 \end_inset
11123
11124  [
11125 \emph on
11126
11127 \begin_inset Flex Code
11128 status collapsed
11129
11130 \begin_layout Plain Layout
11131 0
11132 \end_layout
11133
11134 \end_inset
11135
11136
11137 \emph default
11138 ,
11139 \begin_inset space \thinspace{}
11140 \end_inset
11141
11142
11143 \begin_inset Flex Code
11144 status collapsed
11145
11146 \begin_layout Plain Layout
11147 1
11148 \end_layout
11149
11150 \end_inset
11151
11152 ] \SpecialChar LyX
11153 は,空白をそれ自体文字や記号ではなく,2つの単語の間の分割子として捉えているため,単語間に2つ以上の空白を入れることは,通常許可していません.これ自体はとて
11154 も素晴らしいことですが,たとえばプログラムコードや生の\SpecialChar LaTeX
11155 コードを入力しようとするときなどに,煩わしくなることがあります.このことから,
11156 \begin_inset Flex Code
11157 status collapsed
11158
11159 \begin_layout Plain Layout
11160 FreeSpacing
11161 \end_layout
11162
11163 \end_inset
11164
11165 を有効にすることが認められています.\SpecialChar LyX
11166 は,\SpecialChar LaTeX
11167 モード以外では2つめ以降の空白には,保護された空白を使用することに注意してください.
11168 \end_layout
11169
11170 \begin_layout Description
11171 \begin_inset Flex Code
11172 status collapsed
11173
11174 \begin_layout Plain Layout
11175 HTML*
11176 \end_layout
11177
11178 \end_inset
11179
11180  これらのタグは,XHTML出力で使用されます.第
11181 \begin_inset CommandInset ref
11182 LatexCommand ref
11183 reference "subsec:段落様式-XHTML"
11184
11185 \end_inset
11186
11187 節をご覧ください.
11188 \end_layout
11189
11190 \begin_layout Description
11191 \begin_inset Flex Code
11192 status collapsed
11193
11194 \begin_layout Plain Layout
11195 InnerTag
11196 \end_layout
11197
11198 \end_inset
11199
11200  [[FIXME]] (XML型書式でのみ使用されます.)
11201 \end_layout
11202
11203 \begin_layout Description
11204 \begin_inset Flex Code
11205 status collapsed
11206
11207 \begin_layout Plain Layout
11208 InPreamble
11209 \end_layout
11210
11211 \end_inset
11212
11213  [
11214 \emph on
11215
11216 \begin_inset Flex Code
11217 status collapsed
11218
11219 \begin_layout Plain Layout
11220 0
11221 \end_layout
11222
11223 \end_inset
11224
11225
11226 \emph default
11227 ,
11228 \begin_inset space \thinspace{}
11229 \end_inset
11230
11231
11232 \begin_inset Flex Code
11233 status collapsed
11234
11235 \begin_layout Plain Layout
11236 1
11237 \end_layout
11238
11239 \end_inset
11240
11241
11242 \begin_inset Flex Code
11243 status collapsed
11244
11245 \begin_layout Plain Layout
11246 1
11247 \end_layout
11248
11249 \end_inset
11250
11251 の場合,様式が文書本体ではなく,文書プリアンブルにインクルードされるようにします.これは,タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利
11252 です.これは,
11253 \begin_inset Flex Code
11254 status collapsed
11255
11256 \begin_layout Plain Layout
11257 LatexType
11258 \end_layout
11259
11260 \end_inset
11261
11262
11263 \begin_inset Flex Code
11264 status collapsed
11265
11266 \begin_layout Plain Layout
11267 Command
11268 \end_layout
11269
11270 \end_inset
11271
11272 または
11273 \begin_inset Flex Code
11274 status collapsed
11275
11276 \begin_layout Plain Layout
11277 Paragraph
11278 \end_layout
11279
11280 \end_inset
11281
11282 の様式に対してのみ動作します.
11283 \end_layout
11284
11285 \begin_layout Description
11286 \begin_inset Flex Code
11287 status collapsed
11288
11289 \begin_layout Plain Layout
11290 InTitle
11291 \end_layout
11292
11293 \end_inset
11294
11295  [
11296 \emph on
11297
11298 \begin_inset Flex Code
11299 status collapsed
11300
11301 \begin_layout Plain Layout
11302 0
11303 \end_layout
11304
11305 \end_inset
11306
11307
11308 \emph default
11309 ,
11310 \begin_inset space \thinspace{}
11311 \end_inset
11312
11313
11314 \begin_inset Flex Code
11315 status collapsed
11316
11317 \begin_layout Plain Layout
11318 1
11319 \end_layout
11320
11321 \end_inset
11322
11323
11324 \begin_inset Flex Code
11325 status collapsed
11326
11327 \begin_layout Plain Layout
11328 1
11329 \end_layout
11330
11331 \end_inset
11332
11333 の場合,このレイアウトをタイトルブロックの一部としてマークします(大域項目の
11334 \begin_inset Flex Code
11335 status collapsed
11336
11337 \begin_layout Plain Layout
11338 TitleLatexType
11339 \end_layout
11340
11341 \end_inset
11342
11343
11344 \begin_inset Flex Code
11345 status collapsed
11346
11347 \begin_layout Plain Layout
11348 TitleLatexName
11349 \end_layout
11350
11351 \end_inset
11352
11353 も参照).
11354 \end_layout
11355
11356 \begin_layout Description
11357
11358 \lang english
11359 \begin_inset Flex Code
11360 status collapsed
11361
11362 \begin_layout Plain Layout
11363
11364 \lang english
11365 IsAutoNestedBy
11366 \end_layout
11367
11368 \end_inset
11369
11370  Includes a comma-separated list of layouts after which this one should
11371  be nested.
11372  Only makes sense with regard to nestable layouts (such as environments).
11373  Must be ended by 
11374 \begin_inset Quotes eld
11375 \end_inset
11376
11377
11378 \begin_inset Flex Code
11379 status collapsed
11380
11381 \begin_layout Plain Layout
11382
11383 \lang english
11384 EndIsAutoNestedBy
11385 \end_layout
11386
11387 \end_inset
11388
11389
11390 \begin_inset Quotes erd
11391 \end_inset
11392
11393 .
11394  See also 
11395 \begin_inset Flex Code
11396 status collapsed
11397
11398 \begin_layout Plain Layout
11399
11400 \lang english
11401 AutoNests
11402 \end_layout
11403
11404 \end_inset
11405
11406 .
11407 \end_layout
11408
11409 \begin_layout Description
11410 \begin_inset Flex Code
11411 status collapsed
11412
11413 \begin_layout Plain Layout
11414 IsTocCaption
11415 \end_layout
11416
11417 \end_inset
11418
11419  [
11420 \begin_inset Flex Code
11421 status collapsed
11422
11423 \begin_layout Plain Layout
11424
11425 \emph on
11426 0
11427 \end_layout
11428
11429 \end_inset
11430
11431 ,
11432 \begin_inset space \thinspace{}
11433 \end_inset
11434
11435
11436 \begin_inset Flex Code
11437 status collapsed
11438
11439 \begin_layout Plain Layout
11440 1
11441 \end_layout
11442
11443 \end_inset
11444
11445 ] これを1に設定すると,AddToTocが有効になり,段落は,その内容の要約を一覧表の項目に表示します.0に設定すると,ラベルが存在すれば,それのみが表示され
11446 ます.
11447 \end_layout
11448
11449 \begin_layout Description
11450 \begin_inset Flex Code
11451 status collapsed
11452
11453 \begin_layout Plain Layout
11454 ItemCommand
11455 \end_layout
11456
11457 \end_inset
11458
11459  [
11460 \begin_inset Flex Code
11461 status collapsed
11462
11463 \begin_layout Plain Layout
11464 文字列="item"
11465 \end_layout
11466
11467 \end_inset
11468
11469 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
11470 コマンド.コマンドは,前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,\SpecialChar LaTeX
11471 出力中では
11472 \begin_inset Flex Code
11473 status collapsed
11474
11475 \begin_layout Plain Layout
11476
11477 \backslash
11478 item
11479 \end_layout
11480
11481 \end_inset
11482
11483 となります).
11484 \end_layout
11485
11486 \begin_layout Description
11487 \begin_inset Flex Code
11488 status collapsed
11489
11490 \begin_layout Plain Layout
11491 ItemSep
11492 \end_layout
11493
11494 \end_inset
11495
11496  [
11497 \begin_inset Flex Code
11498 status collapsed
11499
11500 \begin_layout Plain Layout
11501 浮動小数点型=0
11502 \end_layout
11503
11504 \end_inset
11505
11506 ] これは,同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,それぞれのレイアウトは,その環境の
11507 \begin_inset Flex Code
11508 status collapsed
11509
11510 \begin_layout Plain Layout
11511 ParSep
11512 \end_layout
11513
11514 \end_inset
11515
11516 だけ分離されます.しかし,その環境の項目全体は,さらにこの
11517 \begin_inset Flex Code
11518 status collapsed
11519
11520 \begin_layout Plain Layout
11521 ItemSep
11522 \end_layout
11523
11524 \end_inset
11525
11526 分だけ離されます.これは
11527 \emph on
11528 乗数
11529 \emph default
11530 であることに注意してください.
11531 \end_layout
11532
11533 \begin_layout Description
11534 \begin_inset Flex Code
11535 status collapsed
11536
11537 \begin_layout Plain Layout
11538 ItemTag
11539 \end_layout
11540
11541 \end_inset
11542
11543  [[FIXME]] (XML型書式でのみ使用されます.)
11544 \end_layout
11545
11546 \begin_layout Description
11547 \begin_inset Flex Code
11548 status collapsed
11549
11550 \begin_layout Plain Layout
11551 KeepEmpty
11552 \end_layout
11553
11554 \end_inset
11555
11556  [
11557 \emph on
11558
11559 \begin_inset Flex Code
11560 status collapsed
11561
11562 \begin_layout Plain Layout
11563 0
11564 \end_layout
11565
11566 \end_inset
11567
11568
11569 \emph default
11570 ,
11571 \begin_inset space \thinspace{}
11572 \end_inset
11573
11574
11575 \begin_inset Flex Code
11576 status collapsed
11577
11578 \begin_layout Plain Layout
11579 1
11580 \end_layout
11581
11582 \end_inset
11583
11584 ] 段落を空のままにすると,\SpecialChar LaTeX
11585 出力が空になってしまうので,通常,\SpecialChar LyX
11586 は段落を空にすることを許可しません.しかしながら,これを無効にすることが望ましい場合が存在します.
11587 たとえば,書簡のひな型では,必須フィールドを人々が忘れないように,空のフィールドのまま提供する手もあります.特別なクラスにおいては,レイアウトを実際には文章を含
11588 まないある種の改行として使用することもあります.
11589 \end_layout
11590
11591 \begin_layout Description
11592 \begin_inset Flex Code
11593 status collapsed
11594
11595 \begin_layout Plain Layout
11596 LabelBottomsep
11597 \end_layout
11598
11599 \end_inset
11600
11601  [
11602 \begin_inset Flex Code
11603 status collapsed
11604
11605 \begin_layout Plain Layout
11606 浮動小数点型=0
11607 \end_layout
11608
11609 \end_inset
11610
11611 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
11612 \begin_inset Flex Code
11613 status collapsed
11614
11615 \begin_layout Plain Layout
11616 Top_Environment
11617 \end_layout
11618
11619 \end_inset
11620
11621 および
11622 \begin_inset Newline linebreak
11623 \end_inset
11624
11625
11626 \begin_inset Flex Code
11627 status collapsed
11628
11629 \begin_layout Plain Layout
11630 Centered_Top_Environment
11631 \end_layout
11632
11633 \end_inset
11634
11635 ).
11636 \end_layout
11637
11638 \begin_layout Description
11639 \begin_inset Flex Code
11640 status collapsed
11641
11642 \begin_layout Plain Layout
11643 LabelCounter
11644 \end_layout
11645
11646 \end_inset
11647
11648  [
11649 \begin_inset Flex Code
11650 status collapsed
11651
11652 \begin_layout Plain Layout
11653 文字列=""
11654 \end_layout
11655
11656 \end_inset
11657
11658 ] 自動連番に使われるカウンタ名(詳しくは第
11659 \begin_inset CommandInset ref
11660 LatexCommand ref
11661 reference "subsec:カウンタ"
11662 plural "false"
11663 caps "false"
11664 noprefix "false"
11665
11666 \end_inset
11667
11668 節参照).カウンタがラベル中に表示されるようにするためには,
11669 \begin_inset Flex Code
11670 status collapsed
11671
11672 \begin_layout Plain Layout
11673 LabelString
11674 \end_layout
11675
11676 \end_inset
11677
11678 中で参照する必要があります.これは,少なくとも
11679 \begin_inset Flex Code
11680 status collapsed
11681
11682 \begin_layout Plain Layout
11683 Static
11684 \end_layout
11685
11686 \end_inset
11687
11688
11689 \begin_inset Flex Code
11690 status collapsed
11691
11692 \begin_layout Plain Layout
11693 Above
11694 \end_layout
11695
11696 \end_inset
11697
11698
11699 \begin_inset Flex Code
11700 status collapsed
11701
11702 \begin_layout Plain Layout
11703 Centered
11704 \end_layout
11705
11706 \end_inset
11707
11708 の各
11709 \begin_inset Flex Code
11710 status collapsed
11711
11712 \begin_layout Plain Layout
11713 LabelType
11714 \end_layout
11715
11716 \end_inset
11717
11718 で動作します.
11719 \begin_inset Newline newline
11720 \end_inset
11721
11722 また,
11723 \begin_inset Flex Code
11724 status collapsed
11725
11726 \begin_layout Plain Layout
11727 LabelType
11728 \end_layout
11729
11730 \end_inset
11731
11732
11733 \begin_inset Flex Code
11734 status collapsed
11735
11736 \begin_layout Plain Layout
11737 Enumerate
11738 \end_layout
11739
11740 \end_inset
11741
11742 型のときにも,若干複雑にはなりますが,本項目を使うことができます.たとえば,「
11743 \begin_inset Flex Code
11744 status collapsed
11745
11746 \begin_layout Plain Layout
11747 LabelCounter myenum
11748 \end_layout
11749
11750 \end_inset
11751
11752 」と宣言したものとしましょう.すると,\SpecialChar LaTeX
11753 におけるのと同様,実際に使われるカウンタは,
11754 \begin_inset Flex Code
11755 status collapsed
11756
11757 \begin_layout Plain Layout
11758 myenumi
11759 \end_layout
11760
11761 \end_inset
11762
11763
11764 \begin_inset Flex Code
11765 status collapsed
11766
11767 \begin_layout Plain Layout
11768 myenumii
11769 \end_layout
11770
11771 \end_inset
11772
11773
11774 \begin_inset Flex Code
11775 status collapsed
11776
11777 \begin_layout Plain Layout
11778 myenumii
11779 \end_layout
11780
11781 \end_inset
11782
11783
11784 \begin_inset Flex Code
11785 status collapsed
11786
11787 \begin_layout Plain Layout
11788 myenumiv
11789 \end_layout
11790
11791 \end_inset
11792
11793 のようになります.これらのカウンタは,全て別々に宣言されなくてはなりません.
11794 \begin_inset Newline newline
11795 \end_inset
11796
11797 カウンタの詳細については,
11798 \begin_inset CommandInset ref
11799 LatexCommand ref
11800 reference "subsec:カウンタ"
11801
11802 \end_inset
11803
11804 をご覧ください.
11805 \end_layout
11806
11807 \begin_layout Description
11808 \begin_inset Flex Code
11809 status collapsed
11810
11811 \begin_layout Plain Layout
11812 LabelFont
11813 \end_layout
11814
11815 \end_inset
11816
11817  ラベルに使用されるフォント.
11818 \begin_inset CommandInset ref
11819 LatexCommand ref
11820 reference "subsec:フォント指定"
11821
11822 \end_inset
11823
11824 を参照.
11825 \end_layout
11826
11827 \begin_layout Description
11828 \begin_inset Flex Code
11829 status collapsed
11830
11831 \begin_layout Plain Layout
11832 LabelIndent
11833 \end_layout
11834
11835 \end_inset
11836
11837  [
11838 \begin_inset Flex Code
11839 status collapsed
11840
11841 \begin_layout Plain Layout
11842 文字列=""
11843 \end_layout
11844
11845 \end_inset
11846
11847 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
11848 \end_layout
11849
11850 \begin_layout Description
11851 \begin_inset Flex Code
11852 status collapsed
11853
11854 \begin_layout Plain Layout
11855 LabelSep
11856 \end_layout
11857
11858 \end_inset
11859
11860  [
11861 \begin_inset Flex Code
11862 status collapsed
11863
11864 \begin_layout Plain Layout
11865 文字列=""
11866 \end_layout
11867
11868 \end_inset
11869
11870 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
11871 \end_layout
11872
11873 \begin_layout Description
11874 \begin_inset Flex Code
11875 status collapsed
11876
11877 \begin_layout Plain Layout
11878 LabelString
11879 \end_layout
11880
11881 \end_inset
11882
11883  [
11884 \begin_inset Flex Code
11885 status collapsed
11886
11887 \begin_layout Plain Layout
11888 文字列=""
11889 \end_layout
11890
11891 \end_inset
11892
11893
11894 \begin_inset Flex Code
11895 status collapsed
11896
11897 \begin_layout Plain Layout
11898 Static
11899 \end_layout
11900
11901 \end_inset
11902
11903 ラベル型でラベルに使用する文字列.
11904 \begin_inset Flex Code
11905 status collapsed
11906
11907 \begin_layout Plain Layout
11908 LabelCounter
11909 \end_layout
11910
11911 \end_inset
11912
11913 を設定している場合,
11914 \begin_inset CommandInset ref
11915 LatexCommand ref
11916 reference "subsec:カウンタ"
11917
11918 \end_inset
11919
11920 に述べられている特別な整形コマンドを含めることができます.
11921 \end_layout
11922
11923 \begin_layout Description
11924 \begin_inset Flex Code
11925 status collapsed
11926
11927 \begin_layout Plain Layout
11928 LabelStringAppendix
11929 \end_layout
11930
11931 \end_inset
11932
11933  [
11934 \begin_inset Flex Code
11935 status collapsed
11936
11937 \begin_layout Plain Layout
11938 文字列=""
11939 \end_layout
11940
11941 \end_inset
11942
11943 ] これは付録の中で
11944 \begin_inset Flex Code
11945 status collapsed
11946
11947 \begin_layout Plain Layout
11948 LabelString
11949 \end_layout
11950
11951 \end_inset
11952
11953 の代わりに用いられます.各
11954 \begin_inset Flex Code
11955 status collapsed
11956
11957 \begin_layout Plain Layout
11958 LabelString
11959 \end_layout
11960
11961 \end_inset
11962
11963 ステートメントは,
11964 \begin_inset Flex Code
11965 status collapsed
11966
11967 \begin_layout Plain Layout
11968 LabelStringAppendix
11969 \end_layout
11970
11971 \end_inset
11972
11973 をもリセットすることに注意してください.
11974 \end_layout
11975
11976 \begin_layout Description
11977 \begin_inset Flex Code
11978 status collapsed
11979
11980 \begin_layout Plain Layout
11981 LabelTag
11982 \end_layout
11983
11984 \end_inset
11985
11986  [FIXME] (XML型書式でのみ使用されます.)
11987 \end_layout
11988
11989 \begin_layout Description
11990 \begin_inset Flex Code
11991 status collapsed
11992
11993 \begin_layout Plain Layout
11994 LabelType
11995 \end_layout
11996
11997 \end_inset
11998
11999  [
12000 \begin_inset Flex Code
12001 status collapsed
12002
12003 \begin_layout Plain Layout
12004
12005 \emph on
12006 No_Label
12007 \emph default
12008 , Manual, Static, Above,
12009 \begin_inset Newline newline
12010 \end_inset
12011
12012 Centered, Sensitive, Enumerate,
12013 \begin_inset Newline newline
12014 \end_inset
12015
12016 Itemize, Bibliography
12017 \end_layout
12018
12019 \end_inset
12020
12021 ]
12022 \end_layout
12023
12024 \begin_deeper
12025 \begin_layout Description
12026 \begin_inset Flex Code
12027 status collapsed
12028
12029 \begin_layout Plain Layout
12030 Manual
12031 \end_layout
12032
12033 \end_inset
12034
12035  は,ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,保護された空白を使用してください.
12036 \end_layout
12037
12038 \begin_layout Description
12039 \begin_inset Flex Code
12040 status collapsed
12041
12042 \begin_layout Plain Layout
12043 Static
12044 \end_layout
12045
12046 \end_inset
12047
12048  は,ラベルが
12049 \begin_inset Flex Code
12050 status collapsed
12051
12052 \begin_layout Plain Layout
12053 LabelString
12054 \end_layout
12055
12056 \end_inset
12057
12058 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12059 \begin_inset Flex Code
12060 status collapsed
12061
12062 \begin_layout Plain Layout
12063 LatexType
12064 \end_layout
12065
12066 \end_inset
12067
12068
12069 \begin_inset Flex Code
12070 status collapsed
12071
12072 \begin_layout Plain Layout
12073 Environment
12074 \end_layout
12075
12076 \end_inset
12077
12078 のときは,連続する同じ
12079 \begin_inset Flex Code
12080 status collapsed
12081
12082 \begin_layout Plain Layout
12083 Style
12084 \end_layout
12085
12086 \end_inset
12087
12088 の段落中,最初の段落にのみ表示されます.
12089 \end_layout
12090
12091 \begin_layout Description
12092 \begin_inset Flex Code
12093 status collapsed
12094
12095 \begin_layout Plain Layout
12096 Above
12097 \end_layout
12098
12099 \end_inset
12100
12101 および
12102 \begin_inset Flex Code
12103 status collapsed
12104
12105 \begin_layout Plain Layout
12106 Centered
12107 \end_layout
12108
12109 \end_inset
12110
12111  は,
12112 \begin_inset Flex Code
12113 status collapsed
12114
12115 \begin_layout Plain Layout
12116 Static
12117 \end_layout
12118
12119 \end_inset
12120
12121 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
12122 \end_layout
12123
12124 \begin_layout Description
12125 \begin_inset Flex Code
12126 status collapsed
12127
12128 \begin_layout Plain Layout
12129 Sensitive
12130 \end_layout
12131
12132 \end_inset
12133
12134  はキャプションラベルの「図」や「表」の特別な場合です.
12135 \begin_inset Flex Code
12136 status collapsed
12137
12138 \begin_layout Plain Layout
12139 Sensitive
12140 \end_layout
12141
12142 \end_inset
12143
12144 は,(ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,フロートに関連付けられたカウンタの値がNであるものとすると,「Float
12145 Type N」にハードコードされています.キャプションがフロートの外に挿入されると,
12146 \begin_inset Flex Code
12147 status collapsed
12148
12149 \begin_layout Plain Layout
12150 LabelString
12151 \end_layout
12152
12153 \end_inset
12154
12155 は「意味を成しません!」と表示されます.
12156 \end_layout
12157
12158 \begin_layout Description
12159 \begin_inset Flex Code
12160 status collapsed
12161
12162 \begin_layout Plain Layout
12163 Enumerate
12164 \end_layout
12165
12166 \end_inset
12167
12168  は,通常の連番ラベルを生成します.
12169 \lang english
12170 The number type needs to be set in the 
12171 \family sans
12172 Counter
12173 \family default
12174 , see 
12175 \lang japanese
12176
12177 \begin_inset CommandInset ref
12178 LatexCommand ref
12179 reference "subsec:カウンタ"
12180
12181 \end_inset
12182
12183
12184 \end_layout
12185
12186 \begin_layout Description
12187 \begin_inset Flex Code
12188 status collapsed
12189
12190 \begin_layout Plain Layout
12191 Itemize
12192 \end_layout
12193
12194 \end_inset
12195
12196  は,各階層でさまざまなブリットを生成します.
12197 \lang english
12198 The bullet types displayed can be set via 
12199 \begin_inset Flex Noun
12200 status collapsed
12201
12202 \begin_layout Plain Layout
12203
12204 \lang english
12205 Document\SpecialChar menuseparator
12206 Settings\SpecialChar menuseparator
12207 Bullets
12208 \end_layout
12209
12210 \end_inset
12211
12212 .
12213 \end_layout
12214
12215 \begin_layout Description
12216 \begin_inset Flex Code
12217 status collapsed
12218
12219 \begin_layout Plain Layout
12220 Bibliography
12221 \end_layout
12222
12223 \end_inset
12224
12225  は,
12226 \begin_inset Flex Code
12227 status collapsed
12228
12229 \begin_layout Plain Layout
12230 LatexType BibEnvironment
12231 \end_layout
12232
12233 \end_inset
12234
12235 とともにのみ使用されます.
12236 \end_layout
12237
12238 \end_deeper
12239 \begin_layout Description
12240 \begin_inset Flex Code
12241 status collapsed
12242
12243 \begin_layout Plain Layout
12244 LangPreamble
12245 \end_layout
12246
12247 \end_inset
12248
12249  これは,この様式で既に出現した
12250 \begin_inset Flex Code
12251 status collapsed
12252
12253 \begin_layout Plain Layout
12254 LangPreamble
12255 \end_layout
12256
12257 \end_inset
12258
12259 宣言をすべて,完全に上書きしますので,注意してください.使用法についての詳細は,
12260 \begin_inset CommandInset ref
12261 LatexCommand ref
12262 reference "subsec:段落様式の国際化"
12263
12264 \end_inset
12265
12266 をご覧ください.
12267 \end_layout
12268
12269 \begin_layout Description
12270 \begin_inset Flex Code
12271 status collapsed
12272
12273 \begin_layout Plain Layout
12274 LatexName
12275 \end_layout
12276
12277 \end_inset
12278
12279  [
12280 \begin_inset Flex Code
12281 status collapsed
12282
12283 \begin_layout Plain Layout
12284 <名称>
12285 \end_layout
12286
12287 \end_inset
12288
12289 ] 対応する\SpecialChar LaTeX
12290 の名称です.環境名かコマンド名を指します.
12291 \end_layout
12292
12293 \begin_layout Description
12294 \begin_inset Flex Code
12295 status collapsed
12296
12297 \begin_layout Plain Layout
12298 LatexParam
12299 \end_layout
12300
12301 \end_inset
12302
12303  [
12304 \begin_inset Flex Code
12305 status collapsed
12306
12307 \begin_layout Plain Layout
12308 <パラメータ>
12309 \end_layout
12310
12311 \end_inset
12312
12313 ] 対応する
12314 \begin_inset Flex Code
12315 status collapsed
12316
12317 \begin_layout Plain Layout
12318 LatexName
12319 \end_layout
12320
12321 \end_inset
12322
12323 の非必須パラメータです.このパラメータは,\SpecialChar LyX
12324 内部から変更することはできません(変更可能なパラメータには
12325 \begin_inset Flex Code
12326 status collapsed
12327
12328 \begin_layout Plain Layout
12329 Argument
12330 \end_layout
12331
12332 \end_inset
12333
12334 を使用してください).これは,全ての\SpecialChar LaTeX
12335  
12336 \begin_inset Flex Code
12337 status collapsed
12338
12339 \begin_layout Plain Layout
12340 Argument
12341 \end_layout
12342
12343 \end_inset
12344
12345 の後にそのままの形で出力されます.
12346 \end_layout
12347
12348 \begin_layout Description
12349 \begin_inset Flex Code
12350 status collapsed
12351
12352 \begin_layout Plain Layout
12353 LatexType
12354 \end_layout
12355
12356 \end_inset
12357
12358  [
12359 \begin_inset Flex Code
12360 status collapsed
12361
12362 \begin_layout Plain Layout
12363
12364 \emph on
12365 Paragraph
12366 \emph default
12367 , Command, Environment, Item_Environment,
12368 \begin_inset Newline newline
12369 \end_inset
12370
12371 List_Environment, Bib_Environment
12372 \end_layout
12373
12374 \end_inset
12375
12376 ] レイアウトがどのように\SpecialChar LaTeX
12377 に変換されるべきかを示します
12378 \begin_inset Foot
12379 status collapsed
12380
12381 \begin_layout Plain Layout
12382 これらのルールはSGMLクラスにも適用されるので,
12383 \begin_inset Flex Code
12384 status collapsed
12385
12386 \begin_layout Plain Layout
12387 LatexType
12388 \end_layout
12389
12390 \end_inset
12391
12392 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイル(ファイル名
12393 \begin_inset Flex Code
12394 status collapsed
12395
12396 \begin_layout Plain Layout
12397 db_*.inc
12398 \end_layout
12399
12400 \end_inset
12401
12402 )を見てください.
12403 \end_layout
12404
12405 \end_inset
12406
12407
12408 \end_layout
12409
12410 \begin_deeper
12411 \begin_layout Description
12412 \begin_inset Flex Code
12413 status collapsed
12414
12415 \begin_layout Plain Layout
12416 Paragraph
12417 \end_layout
12418
12419 \end_inset
12420
12421  は,何も特別なことは意味しません.
12422 \end_layout
12423
12424 \begin_layout Description
12425 \begin_inset Flex Code
12426 status collapsed
12427
12428 \begin_layout Plain Layout
12429 Command
12430 \end_layout
12431
12432 \end_inset
12433
12434  は,
12435 \begin_inset Flex Code
12436 status collapsed
12437
12438 \begin_layout Plain Layout
12439
12440 \backslash
12441
12442 \emph on
12443 LatexName
12444 \emph default
12445 {\SpecialChar ldots
12446 }
12447 \end_layout
12448
12449 \end_inset
12450
12451 を意味します.
12452 \end_layout
12453
12454 \begin_layout Description
12455 \begin_inset Flex Code
12456 status collapsed
12457
12458 \begin_layout Plain Layout
12459 Environment
12460 \end_layout
12461
12462 \end_inset
12463
12464  は,
12465 \begin_inset Flex Code
12466 status collapsed
12467
12468 \begin_layout Plain Layout
12469
12470 \backslash
12471 begin{
12472 \emph on
12473 LatexName
12474 \emph default
12475 }\SpecialChar ldots
12476
12477 \backslash
12478 end{
12479 \emph on
12480 LatexName
12481 \emph default
12482 }
12483 \end_layout
12484
12485 \end_inset
12486
12487 を意味します.
12488 \end_layout
12489
12490 \begin_layout Description
12491 \begin_inset Flex Code
12492 status collapsed
12493
12494 \begin_layout Plain Layout
12495 Item_Environment
12496 \end_layout
12497
12498 \end_inset
12499
12500  は
12501 \begin_inset Flex Code
12502 status collapsed
12503
12504 \begin_layout Plain Layout
12505 Environment
12506 \end_layout
12507
12508 \end_inset
12509
12510 と同じですが,
12511 \begin_inset Flex Code
12512 status collapsed
12513
12514 \begin_layout Plain Layout
12515
12516 \backslash
12517 item
12518 \end_layout
12519
12520 \end_inset
12521
12522 がこの環境のすべての段落に付けられるところだけが異なっています.
12523 \end_layout
12524
12525 \begin_layout Description
12526 \begin_inset Flex Code
12527 status collapsed
12528
12529 \begin_layout Plain Layout
12530 List_Environment
12531 \end_layout
12532
12533 \end_inset
12534
12535  は
12536 \begin_inset Flex Code
12537 status collapsed
12538
12539 \begin_layout Plain Layout
12540 Item_Environment
12541 \end_layout
12542
12543 \end_inset
12544
12545 と同じですが,
12546 \begin_inset Flex Code
12547 status collapsed
12548
12549 \begin_layout Plain Layout
12550 LabelWidthString
12551 \end_layout
12552
12553 \end_inset
12554
12555 が環境の引数として渡されるところだけが異なっています.
12556 \begin_inset Flex Code
12557 status collapsed
12558
12559 \begin_layout Plain Layout
12560 LabelWidthString
12561 \end_layout
12562
12563 \end_inset
12564
12565 は,
12566 \begin_inset Flex MenuItem
12567 status collapsed
12568
12569 \begin_layout Plain Layout
12570 編集\SpecialChar menuseparator
12571 段落設定
12572 \end_layout
12573
12574 \end_inset
12575
12576 ダイアログで定義することができます.
12577 \end_layout
12578
12579 \begin_layout Description
12580 \begin_inset Flex Code
12581 status collapsed
12582
12583 \begin_layout Plain Layout
12584 Bib_Environment
12585 \end_layout
12586
12587 \end_inset
12588
12589  は
12590 \begin_inset Flex Code
12591 status collapsed
12592
12593 \begin_layout Plain Layout
12594 Environment
12595 \end_layout
12596
12597 \end_inset
12598
12599 に似ていますが,以下のように,書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
12600 \begin_inset Newline newline
12601 \end_inset
12602
12603
12604 \begin_inset Flex Code
12605 status collapsed
12606
12607 \begin_layout Plain Layout
12608
12609 \backslash
12610 begin{thebibliography}{99}
12611 \end_layout
12612
12613 \end_inset
12614
12615
12616 \begin_inset Newline newline
12617 \end_inset
12618
12619 したがって,これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,書誌情報項目の段落設定で,ユーザーが変更することができます.
12620 \end_layout
12621
12622 \begin_layout Standard
12623 上記最後のいくつかをまとめると,\SpecialChar LaTeX
12624 出力は,\SpecialChar LaTeX
12625 型に依存して
12626 \end_layout
12627
12628 \begin_layout LyX-Code
12629
12630 \backslash
12631 LatexName[LatexParam]{\SpecialChar ldots
12632 }
12633 \end_layout
12634
12635 \begin_layout Standard
12636 のようになるか,
12637 \end_layout
12638
12639 \begin_layout LyX-Code
12640
12641 \backslash
12642 begin{LatexName}[LatexParam] \SpecialChar ldots
12643  
12644 \backslash
12645 end{LatexName}.
12646 \end_layout
12647
12648 \begin_layout Standard
12649 となります.
12650 \end_layout
12651
12652 \end_deeper
12653 \begin_layout Description
12654 \begin_inset Flex Code
12655 status collapsed
12656
12657 \begin_layout Plain Layout
12658 LeftDelim
12659 \end_layout
12660
12661 \end_inset
12662
12663  [
12664 \begin_inset Flex Code
12665 status collapsed
12666
12667 \begin_layout Plain Layout
12668 文字列
12669 \end_layout
12670
12671 \end_inset
12672
12673 ] 様式の内容の最初に置かれる文字列.出力中の改行は
12674 \begin_inset Flex Code
12675 status collapsed
12676
12677 \begin_layout Plain Layout
12678 <br/>
12679 \end_layout
12680
12681 \end_inset
12682
12683 で指示できます.
12684 \end_layout
12685
12686 \begin_layout Description
12687 \begin_inset Flex Code
12688 status collapsed
12689
12690 \begin_layout Plain Layout
12691 LeftMargin
12692 \end_layout
12693
12694 \end_inset
12695
12696  [
12697 \begin_inset Flex Code
12698 status collapsed
12699
12700 \begin_layout Plain Layout
12701 文字列=""
12702 \end_layout
12703
12704 \end_inset
12705
12706 ] レイアウトを環境の中に入れた場合,左余白は単純に加えられるのではなく,因子
12707 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
12708 \end_inset
12709
12710 をかけて加えられます.このパラメータは,
12711 \begin_inset Flex Code
12712 status collapsed
12713
12714 \begin_layout Plain Layout
12715 Margin
12716 \end_layout
12717
12718 \end_inset
12719
12720
12721 \begin_inset Flex Code
12722 status collapsed
12723
12724 \begin_layout Plain Layout
12725 Manual
12726 \end_layout
12727
12728 \end_inset
12729
12730 あるいは
12731 \begin_inset Flex Code
12732 status collapsed
12733
12734 \begin_layout Plain Layout
12735 Dynamic
12736 \end_layout
12737
12738 \end_inset
12739
12740 に設定されているときにも用いられることに注意してください.その場合には,これは手動設定余白または動的設定余白に加えられることに注意してください.
12741 \begin_inset Newline newline
12742 \end_inset
12743
12744 たとえば「
12745 \begin_inset Flex Code
12746 status collapsed
12747
12748 \begin_layout Plain Layout
12749 MM
12750 \end_layout
12751
12752 \end_inset
12753
12754 」と指定すると,段落を通常フォントの「
12755 \begin_inset Flex Code
12756 status collapsed
12757
12758 \begin_layout Plain Layout
12759 MM
12760 \end_layout
12761
12762 \end_inset
12763
12764 」の幅だけ行頭下げを行います.文字列の前に「
12765 \begin_inset Flex Code
12766 status collapsed
12767
12768 \begin_layout Plain Layout
12769 -
12770 \end_layout
12771
12772 \end_inset
12773
12774 」を付けると,負の幅を与えることができます.この方法が採用されたのは,どの画面フォントでも見かけが同じになるようにするためです.
12775 \end_layout
12776
12777 \begin_layout Description
12778 \begin_inset Flex Code
12779 status collapsed
12780
12781 \begin_layout Plain Layout
12782 Margin
12783 \end_layout
12784
12785 \end_inset
12786
12787  [
12788 \begin_inset Flex Code
12789 status collapsed
12790
12791 \begin_layout Plain Layout
12792
12793 \emph on
12794 Static
12795 \emph default
12796 , Manual, Dynamic, First_Dynamic, Right_Address_Box
12797 \end_layout
12798
12799 \end_inset
12800
12801
12802 \begin_inset Newline newline
12803 \end_inset
12804
12805 このレイアウトの左余白の種類です.
12806 \end_layout
12807
12808 \begin_deeper
12809 \begin_layout Description
12810 \begin_inset Flex Code
12811 status collapsed
12812
12813 \begin_layout Plain Layout
12814 Static
12815 \end_layout
12816
12817 \end_inset
12818
12819  は固定余白を示します.
12820 \end_layout
12821
12822 \begin_layout Description
12823 \begin_inset Flex Code
12824 status collapsed
12825
12826 \begin_layout Plain Layout
12827 Manual
12828 \end_layout
12829
12830 \end_inset
12831
12832  は,左余白が
12833 \begin_inset Flex MenuItem
12834 status collapsed
12835
12836 \begin_layout Plain Layout
12837 編集\SpecialChar menuseparator
12838 段落設定
12839 \end_layout
12840
12841 \end_inset
12842
12843 ダイアログで入力した文字列によって決められることを示します.これは,タブを用いずに整った一覧表を組むのに使用されます.
12844 \end_layout
12845
12846 \begin_layout Description
12847 \begin_inset Flex Code
12848 status collapsed
12849
12850 \begin_layout Plain Layout
12851 Dynamic
12852 \end_layout
12853
12854 \end_inset
12855
12856  は,余白がラベルの大きさに依存することを示します.これは,自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,「3.2
12857  非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
12858 \end_layout
12859
12860 \begin_layout Description
12861 \begin_inset Flex Code
12862 status collapsed
12863
12864 \begin_layout Plain Layout
12865 First_Dynamic
12866 \end_layout
12867
12868 \end_inset
12869
12870  は似ていますが,段落の最初の行だけがDynamicでその他の行はStaticです.これは,たとえば,箇条書き(記述)に使用されます.
12871 \end_layout
12872
12873 \begin_layout Description
12874 \begin_inset Flex Code
12875 status collapsed
12876
12877 \begin_layout Plain Layout
12878 Right_Address_Box
12879 \end_layout
12880
12881 \end_inset
12882
12883  は,段落中,最も長い行が右余白に合うように余白を選択します.これは,ページの右端に住所を組版するのに用いられます.
12884 \end_layout
12885
12886 \end_deeper
12887 \begin_layout Description
12888 \begin_inset Flex Code
12889 status collapsed
12890
12891 \begin_layout Plain Layout
12892 NeedProtect
12893 \end_layout
12894
12895 \end_inset
12896
12897  [
12898 \begin_inset Flex Code
12899 status collapsed
12900
12901 \begin_layout Plain Layout
12902
12903 \emph on
12904 0
12905 \end_layout
12906
12907 \end_inset
12908
12909 ,
12910 \begin_inset space \thinspace{}
12911 \end_inset
12912
12913
12914 \begin_inset Flex Code
12915 status collapsed
12916
12917 \begin_layout Plain Layout
12918 1
12919 \end_layout
12920
12921 \end_inset
12922
12923 ] このレイアウト中の脆弱なコマンドが
12924 \begin_inset Flex Code
12925 status collapsed
12926
12927 \begin_layout Plain Layout
12928
12929 \backslash
12930 protect
12931 \end_layout
12932
12933 \end_inset
12934
12935 されるべきか否か(註:これはこのコマンド自体が
12936 \begin_inset Flex Code
12937 status collapsed
12938
12939 \begin_layout Plain Layout
12940
12941 \backslash
12942 protect
12943 \end_layout
12944
12945 \end_inset
12946
12947 されるべきかでは
12948 \emph on
12949 ありません
12950 \emph default
12951 ).
12952 \end_layout
12953
12954 \begin_layout Description
12955 \begin_inset Flex Code
12956 status collapsed
12957
12958 \begin_layout Plain Layout
12959 Newline
12960 \end_layout
12961
12962 \end_inset
12963
12964  [
12965 \begin_inset Flex Code
12966 status collapsed
12967
12968 \begin_layout Plain Layout
12969 0
12970 \end_layout
12971
12972 \end_inset
12973
12974 ,
12975 \begin_inset space \thinspace{}
12976 \end_inset
12977
12978
12979 \begin_inset Flex Code
12980 status collapsed
12981
12982 \begin_layout Plain Layout
12983
12984 \emph on
12985 1
12986 \end_layout
12987
12988 \end_inset
12989
12990 ] 新規行を\SpecialChar LaTeX
12991 の新規行(
12992 \begin_inset Flex Code
12993 status collapsed
12994
12995 \begin_layout Plain Layout
12996
12997 \backslash
12998
12999 \backslash
13000
13001 \end_layout
13002
13003 \end_inset
13004
13005 )に変換するか否か.\SpecialChar LyX
13006 中で\SpecialChar LaTeX
13007 編集をやりやすくするために,変換は無効にすることができます.
13008 \end_layout
13009
13010 \begin_layout Description
13011 \begin_inset Flex Code
13012 status collapsed
13013
13014 \begin_layout Plain Layout
13015 NextNoIndent
13016 \end_layout
13017
13018 \end_inset
13019
13020  [
13021 \begin_inset Flex Code
13022 status collapsed
13023
13024 \begin_layout Plain Layout
13025
13026 \emph on
13027 0
13028 \end_layout
13029
13030 \end_inset
13031
13032 ,
13033 \begin_inset space \thinspace{}
13034 \end_inset
13035
13036
13037 \begin_inset Flex Code
13038 status collapsed
13039
13040 \begin_layout Plain Layout
13041 1
13042 \end_layout
13043
13044 \end_inset
13045
13046 ] 真に設定すると,
13047 \begin_inset Flex Code
13048 status collapsed
13049
13050 \begin_layout Plain Layout
13051 DefaultStyle
13052 \end_layout
13053
13054 \end_inset
13055
13056  (通常
13057 \begin_inset Flex Code
13058 status collapsed
13059
13060 \begin_layout Plain Layout
13061 Standard
13062 \end_layout
13063
13064 \end_inset
13065
13066 )段落が行頭下げになっている場合でも,この型の段落に続くそれらの段落は,字下げされません(逆に言えば,既定でない段落には影響を与えません).
13067 \end_layout
13068
13069 \begin_layout Description
13070 \begin_inset Flex Code
13071 status collapsed
13072
13073 \begin_layout Plain Layout
13074 ObsoletedBy
13075 \end_layout
13076
13077 \end_inset
13078
13079  [
13080 \begin_inset Flex Code
13081 status collapsed
13082
13083 \begin_layout Plain Layout
13084 <名称>
13085 \end_layout
13086
13087 \end_inset
13088
13089 ] このレイアウトが置き換えられたレイアウト名.これは,後方互換性を維持しながら,レイアウトの名称を変更するのに使用されます.
13090 \end_layout
13091
13092 \begin_layout Description
13093 \begin_inset Flex Code
13094 status collapsed
13095
13096 \begin_layout Plain Layout
13097 ParagraphGroup
13098 \end_layout
13099
13100 \end_inset
13101
13102  [
13103 \begin_inset Flex Code
13104 status collapsed
13105
13106 \begin_layout Plain Layout
13107 0
13108 \end_layout
13109
13110 \end_inset
13111
13112 ,
13113 \begin_inset space \thinspace{}
13114 \end_inset
13115
13116
13117 \begin_inset Flex Code
13118 status collapsed
13119
13120 \begin_layout Plain Layout
13121 1
13122 \end_layout
13123
13124 \end_inset
13125
13126 ] 同じ型の段落が引き続く場合,同じ段落として取り扱うか否かを決定します.これは,そのような連続グループに対して,
13127 \begin_inset Flex Code
13128 status collapsed
13129
13130 \begin_layout Plain Layout
13131 GuiLabel
13132 \end_layout
13133
13134 \end_inset
13135
13136 が一度だけ出力される効果があります.既定では,
13137 \begin_inset Flex Code
13138 status collapsed
13139
13140 \begin_layout Plain Layout
13141 LaTeXType
13142 \end_layout
13143
13144 \end_inset
13145
13146
13147 \begin_inset Flex Code
13148 status collapsed
13149
13150 \begin_layout Plain Layout
13151 Environment
13152 \end_layout
13153
13154 \end_inset
13155
13156 および
13157 \begin_inset Flex Code
13158 status collapsed
13159
13160 \begin_layout Plain Layout
13161 Bib_Environment
13162 \end_layout
13163
13164 \end_inset
13165
13166  については有効であり,他の型すべてについて無効になっています.
13167 \end_layout
13168
13169 \begin_layout Description
13170 \begin_inset Flex Code
13171 status collapsed
13172
13173 \begin_layout Plain Layout
13174 ParbreakIsNewline
13175 \end_layout
13176
13177 \end_inset
13178
13179  [
13180 \begin_inset Flex Code
13181 status collapsed
13182
13183 \begin_layout Plain Layout
13184
13185 \emph on
13186 0
13187 \end_layout
13188
13189 \end_inset
13190
13191 ,
13192 \begin_inset space \thinspace{}
13193 \end_inset
13194
13195
13196 \begin_inset Flex Code
13197 status collapsed
13198
13199 \begin_layout Plain Layout
13200 1
13201 \end_layout
13202
13203 \end_inset
13204
13205 ] \SpecialChar LaTeX
13206 出力中で,段落を空行ではなく,改行で区切るよう指定します.
13207 \begin_inset Flex Code
13208 status collapsed
13209
13210 \begin_layout Plain Layout
13211 PassThru 1
13212 \end_layout
13213
13214 \end_inset
13215
13216 と併用すれば,(\SpecialChar TeX
13217 コードを使用したときのように)テキストエディタをエミュレートすることができます.
13218 \end_layout
13219
13220 \begin_layout Description
13221 \begin_inset Flex Code
13222 status collapsed
13223
13224 \begin_layout Plain Layout
13225 ParIndent
13226 \end_layout
13227
13228 \end_inset
13229
13230  [
13231 \begin_inset Flex Code
13232 status collapsed
13233
13234 \begin_layout Plain Layout
13235 文字列=""
13236 \end_layout
13237
13238 \end_inset
13239
13240 ] 段落の最初の行の行頭下げ.レイアウトによっては
13241 \begin_inset Flex Code
13242 status collapsed
13243
13244 \begin_layout Plain Layout
13245 Parindent
13246 \end_layout
13247
13248 \end_inset
13249
13250 は固定されています.例外には標準レイアウトがあり,標準レイアウトの段落の行頭下げは,
13251 \begin_inset Flex Code
13252 status collapsed
13253
13254 \begin_layout Plain Layout
13255 NextNoIndent
13256 \end_layout
13257
13258 \end_inset
13259
13260 で禁止することができるようになっています.また,環境中の標準レイアウト段落は,当該段落の
13261 \begin_inset Flex Code
13262 status collapsed
13263
13264 \begin_layout Plain Layout
13265 Parindent
13266 \end_layout
13267
13268 \end_inset
13269
13270 ではなく,この環境の
13271 \begin_inset Flex Code
13272 status collapsed
13273
13274 \begin_layout Plain Layout
13275 Parindent
13276 \end_layout
13277
13278 \end_inset
13279
13280 を使用します.たとえば,箇条書き(連番)内の標準段落は,行頭下げされません.
13281 \end_layout
13282
13283 \begin_layout Description
13284 \begin_inset Flex Code
13285 status collapsed
13286
13287 \begin_layout Plain Layout
13288 ParSep
13289 \end_layout
13290
13291 \end_inset
13292
13293  [
13294 \begin_inset Flex Code
13295 status collapsed
13296
13297 \begin_layout Plain Layout
13298 浮動小数点型=0
13299 \end_layout
13300
13301 \end_inset
13302
13303 ] このレイアウトの2段落間の垂直余白.
13304 \end_layout
13305
13306 \begin_layout Description
13307 \begin_inset Flex Code
13308 status collapsed
13309
13310 \begin_layout Plain Layout
13311 Parskip
13312 \end_layout
13313
13314 \end_inset
13315
13316  [
13317 \begin_inset Flex Code
13318 status collapsed
13319
13320 \begin_layout Plain Layout
13321 浮動小数点型=0
13322 \end_layout
13323
13324 \end_inset
13325
13326 ] \SpecialChar LyX
13327 では,文書を組版するのに,ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,この値は完全に無視されます.「スキップ」を選
13328 択した際には,\SpecialChar LaTeX
13329 型「段落」レイアウトの
13330 \begin_inset Flex Code
13331 status collapsed
13332
13333 \begin_layout Plain Layout
13334 ParIndent
13335 \end_layout
13336
13337 \end_inset
13338
13339 は無視され,すべての段落はこの
13340 \begin_inset Flex Code
13341 status collapsed
13342
13343 \begin_layout Plain Layout
13344 Parskip
13345 \end_layout
13346
13347 \end_inset
13348
13349 引数分だけ引き離されます.垂直余白は,
13350 \begin_inset Flex Code
13351 status collapsed
13352
13353 \begin_layout Plain Layout
13354 DefaultHeight
13355 \end_layout
13356
13357 \end_inset
13358
13359 を標準フォントでの1行の高さとすると,
13360 \begin_inset Flex Code
13361 status collapsed
13362
13363 \begin_layout Plain Layout
13364 Parskipの値
13365 \end_layout
13366
13367 \end_inset
13368
13369
13370 \begin_inset Formula $\times$
13371 \end_inset
13372
13373
13374 \begin_inset Flex Code
13375 status collapsed
13376
13377 \begin_layout Plain Layout
13378 DefaultHeight
13379 \end_layout
13380
13381 \end_inset
13382
13383 によって計算されます.このようにして,画面フォントを変更しても同じように表示されるのです.
13384 \end_layout
13385
13386 \begin_layout Description
13387 \begin_inset Flex Code
13388 status collapsed
13389
13390 \begin_layout Plain Layout
13391 PassThru
13392 \end_layout
13393
13394 \end_inset
13395
13396  [
13397 \emph on
13398
13399 \begin_inset Flex Code
13400 status collapsed
13401
13402 \begin_layout Plain Layout
13403 0
13404 \end_layout
13405
13406 \end_inset
13407
13408
13409 \emph default
13410 ,
13411 \begin_inset space \thinspace{}
13412 \end_inset
13413
13414
13415 \begin_inset Flex Code
13416 status collapsed
13417
13418 \begin_layout Plain Layout
13419 1
13420 \end_layout
13421
13422 \end_inset
13423
13424 ] この段落の内容が,\SpecialChar LaTeX
13425 が必要とするような特別な変換を行わずに,生の形で出力されるべきかどうか.
13426 \end_layout
13427
13428 \begin_layout Description
13429 \begin_inset Flex Code
13430 status collapsed
13431
13432 \begin_layout Plain Layout
13433 PassThruChars
13434 \end_layout
13435
13436 \end_inset
13437
13438  [
13439 \begin_inset Flex Code
13440 status collapsed
13441
13442 \begin_layout Plain Layout
13443 文字列
13444 \end_layout
13445
13446 \end_inset
13447
13448 ]
13449 \family typewriter
13450  
13451 \family default
13452 \SpecialChar LaTeX
13453 が要請する特別な翻訳なしで.生の形で出力されるべき,それぞれの文字を定義します.
13454 \end_layout
13455
13456 \begin_layout Description
13457 \begin_inset Flex Code
13458 status collapsed
13459
13460 \begin_layout Plain Layout
13461 Preamble
13462 \end_layout
13463
13464 \end_inset
13465
13466  この様式が使用されたときに,\SpecialChar LaTeX
13467 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,パッケージを読み込んだりと言ったことに使用します.「
13468 \begin_inset Flex Code
13469 status collapsed
13470
13471 \begin_layout Plain Layout
13472 EndPreamble
13473 \end_layout
13474
13475 \end_inset
13476
13477 」で閉じる必要があります.
13478 \end_layout
13479
13480 \begin_layout Description
13481 \begin_inset Flex Code
13482 status collapsed
13483
13484 \begin_layout Plain Layout
13485 RefPrefix
13486 \end_layout
13487
13488 \end_inset
13489
13490  [
13491 \begin_inset Flex Code
13492 status collapsed
13493
13494 \begin_layout Plain Layout
13495 文字列
13496 \end_layout
13497
13498 \end_inset
13499
13500 ] この型の段落を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
13501 \end_layout
13502
13503 \begin_layout Description
13504 \begin_inset Flex Code
13505 status collapsed
13506
13507 \begin_layout Plain Layout
13508 Requires
13509 \end_layout
13510
13511 \end_inset
13512
13513  [
13514 \begin_inset Flex Code
13515 status collapsed
13516
13517 \begin_layout Plain Layout
13518 文字列
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 CommandInset ref
13535 LatexCommand ref
13536 reference "chap:関数一覧"
13537
13538 \end_inset
13539
13540 節参照).特定のオプションをとるパッケージを要求する場合,
13541 \begin_inset Flex Code
13542 status collapsed
13543
13544 \begin_layout Plain Layout
13545 PackageOptions
13546 \end_layout
13547
13548 \end_inset
13549
13550 を汎用テキストクラスパラメータとして追加して使うことができます(
13551 \begin_inset CommandInset ref
13552 LatexCommand ref
13553 reference "subsec:汎用テキストクラスパラメータ"
13554
13555 \end_inset
13556
13557 を参照).
13558 \end_layout
13559
13560 \begin_layout Description
13561 \begin_inset Flex Code
13562 status collapsed
13563
13564 \begin_layout Plain Layout
13565 ResetArgs
13566 \end_layout
13567
13568 \end_inset
13569
13570  [
13571 \begin_inset Flex Code
13572 status collapsed
13573
13574 \begin_layout Plain Layout
13575
13576 \emph on
13577 0
13578 \end_layout
13579
13580 \end_inset
13581
13582 ,
13583 \begin_inset Flex Code
13584 status collapsed
13585
13586 \begin_layout Plain Layout
13587 1
13588 \end_layout
13589
13590 \end_inset
13591
13592 ] (
13593 \begin_inset Flex Code
13594 status collapsed
13595
13596 \begin_layout Plain Layout
13597 Argument
13598 \end_layout
13599
13600 \end_inset
13601
13602 タグで定義された)この様式の\SpecialChar LaTeX
13603 引数をリセットします.これは,様式を
13604 \begin_inset Flex Code
13605 status collapsed
13606
13607 \begin_layout Plain Layout
13608 CopyStyle
13609 \end_layout
13610
13611 \end_inset
13612
13613 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
13614 \end_layout
13615
13616 \begin_layout Description
13617 \begin_inset Flex Code
13618 status collapsed
13619
13620 \begin_layout Plain Layout
13621 ResumeCounter
13622 \end_layout
13623
13624 \end_inset
13625
13626  [
13627 \begin_inset Flex Code
13628 status collapsed
13629
13630 \begin_layout Plain Layout
13631
13632 \emph on
13633 0
13634 \end_layout
13635
13636 \end_inset
13637
13638 ,
13639 \begin_inset Flex Code
13640 status collapsed
13641
13642 \begin_layout Plain Layout
13643 1
13644 \end_layout
13645
13646 \end_inset
13647
13648 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
13649 \begin_inset Flex Code
13650 status collapsed
13651
13652 \begin_layout Plain Layout
13653 LabelType
13654 \end_layout
13655
13656 \end_inset
13657
13658
13659 \begin_inset Flex Code
13660 status collapsed
13661
13662 \begin_layout Plain Layout
13663 Enumerate
13664 \end_layout
13665
13666 \end_inset
13667
13668 の時のみ有効です.
13669 \end_layout
13670
13671 \begin_layout Description
13672 \begin_inset Flex Code
13673 status collapsed
13674
13675 \begin_layout Plain Layout
13676 RightDelim
13677 \end_layout
13678
13679 \end_inset
13680
13681  [
13682 \begin_inset Flex Code
13683 status collapsed
13684
13685 \begin_layout Plain Layout
13686 文字列
13687 \end_layout
13688
13689 \end_inset
13690
13691 ] 様式の内容の最後に置かれる文字列.出力中の改行は
13692 \begin_inset Flex Code
13693 status collapsed
13694
13695 \begin_layout Plain Layout
13696 <br/>
13697 \end_layout
13698
13699 \end_inset
13700
13701 で指示できます.
13702 \end_layout
13703
13704 \begin_layout Description
13705 \begin_inset Flex Code
13706 status collapsed
13707
13708 \begin_layout Plain Layout
13709 RightMargin
13710 \end_layout
13711
13712 \end_inset
13713
13714  [
13715 \begin_inset Flex Code
13716 status collapsed
13717
13718 \begin_layout Plain Layout
13719 文字列=""
13720 \end_layout
13721
13722 \end_inset
13723
13724
13725 \begin_inset Flex Code
13726 status collapsed
13727
13728 \begin_layout Plain Layout
13729 LeftMargin
13730 \end_layout
13731
13732 \end_inset
13733
13734 に同様.
13735 \end_layout
13736
13737 \begin_layout Description
13738 \begin_inset Flex Code
13739 status collapsed
13740
13741 \begin_layout Plain Layout
13742 Spacing
13743 \end_layout
13744
13745 \end_inset
13746
13747  [
13748 \begin_inset Flex Code
13749 status collapsed
13750
13751 \begin_layout Plain Layout
13752
13753 \emph on
13754 single
13755 \end_layout
13756
13757 \end_inset
13758
13759
13760 \begin_inset Flex Code
13761 status collapsed
13762
13763 \begin_layout Plain Layout
13764 onehalf
13765 \end_layout
13766
13767 \end_inset
13768
13769
13770 \begin_inset Flex Code
13771 status collapsed
13772
13773 \begin_layout Plain Layout
13774 double
13775 \end_layout
13776
13777 \end_inset
13778
13779
13780 \begin_inset Flex Code
13781 status collapsed
13782
13783 \begin_layout Plain Layout
13784 other
13785 \begin_inset space ~
13786 \end_inset
13787
13788 <
13789 \emph on
13790
13791 \emph default
13792 >
13793 \end_layout
13794
13795 \end_inset
13796
13797 ]
13798 \lang english
13799  
13800 \lang japanese
13801 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
13802 \begin_inset Flex Code
13803 status collapsed
13804
13805 \begin_layout Plain Layout
13806 single
13807 \end_layout
13808
13809 \end_inset
13810
13811
13812 \begin_inset Flex Code
13813 status collapsed
13814
13815 \begin_layout Plain Layout
13816 onehalf
13817 \end_layout
13818
13819 \end_inset
13820
13821
13822 \begin_inset Flex Code
13823 status collapsed
13824
13825 \begin_layout Plain Layout
13826 double
13827 \end_layout
13828
13829 \end_inset
13830
13831 は,それぞれ乗数1・1.25・1.667に対応します.引数
13832 \begin_inset Flex Code
13833 status collapsed
13834
13835 \begin_layout Plain Layout
13836 other
13837 \end_layout
13838
13839 \end_inset
13840
13841 を指定した場合には,実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
13842 \begin_inset Flex Code
13843 status collapsed
13844
13845 \begin_layout Plain Layout
13846 Spacing
13847 \end_layout
13848
13849 \end_inset
13850
13851 は,\SpecialChar LaTeX
13852 パッケージ
13853 \begin_inset Flex Code
13854 status collapsed
13855
13856 \begin_layout Plain Layout
13857 setspace
13858 \end_layout
13859
13860 \end_inset
13861
13862 パッケージを使用した,限定的な\SpecialChar LaTeX
13863 コードを生成することを意味することにご注意ください.
13864 \end_layout
13865
13866 \begin_layout Description
13867 \begin_inset Flex Code
13868 status collapsed
13869
13870 \begin_layout Plain Layout
13871 Spellcheck
13872 \end_layout
13873
13874 \end_inset
13875
13876  [
13877 \begin_inset Flex Code
13878 status collapsed
13879
13880 \begin_layout Plain Layout
13881 0
13882 \end_layout
13883
13884 \end_inset
13885
13886 ,
13887 \begin_inset space \thinspace{}
13888 \end_inset
13889
13890
13891 \begin_inset Flex Code
13892 status collapsed
13893
13894 \begin_layout Plain Layout
13895 1
13896 \end_layout
13897
13898 \end_inset
13899
13900 ] この様式の段落をスペルチェックするか否か.既定値は真です.
13901 \end_layout
13902
13903 \begin_layout Description
13904 \begin_inset Flex Code
13905 status collapsed
13906
13907 \begin_layout Plain Layout
13908 StepMasterCounter
13909 \end_layout
13910
13911 \end_inset
13912
13913  [
13914 \begin_inset Flex Code
13915 status collapsed
13916
13917 \begin_layout Plain Layout
13918
13919 \emph on
13920 0
13921 \end_layout
13922
13923 \end_inset
13924
13925 ,
13926 \begin_inset Flex Code
13927 status collapsed
13928
13929 \begin_layout Plain Layout
13930 1
13931 \end_layout
13932
13933 \end_inset
13934
13935 ] 新しいレイアウト群を開始する際に,このカウンタの親カウンタを進めるか否か.これは,現在のところ,
13936 \begin_inset Flex Code
13937 status collapsed
13938
13939 \begin_layout Plain Layout
13940 LabelType
13941 \end_layout
13942
13943 \end_inset
13944
13945
13946 \begin_inset Flex Code
13947 status collapsed
13948
13949 \begin_layout Plain Layout
13950 Enumerate
13951 \end_layout
13952
13953 \end_inset
13954
13955 の時のみ有効です.
13956 \end_layout
13957
13958 \begin_layout Description
13959 \begin_inset Flex Code
13960 status collapsed
13961
13962 \begin_layout Plain Layout
13963 TextFont
13964 \end_layout
13965
13966 \end_inset
13967
13968  本文に使うフォント.第
13969 \begin_inset CommandInset ref
13970 LatexCommand ref
13971 reference "subsec:フォント指定"
13972
13973 \end_inset
13974
13975 節参照.
13976 \end_layout
13977
13978 \begin_layout Description
13979 \begin_inset Flex Code
13980 status collapsed
13981
13982 \begin_layout Plain Layout
13983 TocLevel
13984 \end_layout
13985
13986 \end_inset
13987
13988  [
13989 \begin_inset Flex Code
13990 status collapsed
13991
13992 \begin_layout Plain Layout
13993 整数型=3
13994 \end_layout
13995
13996 \end_inset
13997
13998 ] 目次中でのこの様式の階層.これは,節見出しの自動連番に使用されます.
13999 \end_layout
14000
14001 \begin_layout Description
14002 \begin_inset Flex Code
14003 status collapsed
14004
14005 \begin_layout Plain Layout
14006 ToggleIndent
14007 \end_layout
14008
14009 \end_inset
14010
14011  [
14012 \emph on
14013
14014 \begin_inset Flex Code
14015 status collapsed
14016
14017 \begin_layout Plain Layout
14018 default
14019 \end_layout
14020
14021 \end_inset
14022
14023
14024 \emph default
14025
14026 \begin_inset Flex Code
14027 status collapsed
14028
14029 \begin_layout Plain Layout
14030 always
14031 \end_layout
14032
14033 \end_inset
14034
14035
14036 \begin_inset Flex Code
14037 status collapsed
14038
14039 \begin_layout Plain Layout
14040 never
14041 \end_layout
14042
14043 \end_inset
14044
14045 ] このタグは,この段落の1行目の行頭下げが,段落設定ダイアログで切り替えられるかどうかを決めます.
14046 \begin_inset Flex Code
14047 status collapsed
14048
14049 \begin_layout Plain Layout
14050 default
14051 \end_layout
14052
14053 \end_inset
14054
14055 が指定されると,文書設定が「行頭下げ」段落様式を使用しているときに,行頭下げを変更することができます.
14056 \begin_inset Flex Code
14057 status collapsed
14058
14059 \begin_layout Plain Layout
14060 always
14061 \end_layout
14062
14063 \end_inset
14064
14065 は,文書設定にかかわらず変更することができ,
14066 \begin_inset Flex Code
14067 status collapsed
14068
14069 \begin_layout Plain Layout
14070 never
14071 \end_layout
14072
14073 \end_inset
14074
14075 は,どのような場合でも変更することができません.
14076 \end_layout
14077
14078 \begin_layout Description
14079 \begin_inset Flex Code
14080 status collapsed
14081
14082 \begin_layout Plain Layout
14083 TopSep
14084 \end_layout
14085
14086 \end_inset
14087
14088  [
14089 \begin_inset Flex Code
14090 status collapsed
14091
14092 \begin_layout Plain Layout
14093 浮動小数点型=0
14094 \end_layout
14095
14096 \end_inset
14097
14098 ] このレイアウトを持つ一連の段落群の最初の段落と,その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,余白は単純に追加されるのではなく,それら
14099 の最大値がとられます.
14100 \end_layout
14101
14102 \begin_layout Subsection
14103 段落様式の国際化
14104 \begin_inset CommandInset label
14105 LatexCommand label
14106 name "subsec:段落様式の国際化"
14107
14108 \end_inset
14109
14110
14111 \end_layout
14112
14113 \begin_layout Standard
14114 \SpecialChar LyX
14115 は,長きにわたってレイアウト情報の国際化をサポートしてきましたが,第2.0版までは,これは操作画面にのみ適用されるものであって,たとえばPDF出力には適用されませ
14116 んでした.たとえば,フランスの著者が,「Theorem 1」の代わりに「
14117 \lang french
14118 Théorème
14119 \lang japanese
14120  1」としたければ,醜いハックに頼るしかありませんでした.Georg Baumのおかげで,これは解消されました.
14121 \end_layout
14122
14123 \begin_layout Standard
14124 もし
14125 \begin_inset Flex MenuItem
14126 status collapsed
14127
14128 \begin_layout Plain Layout
14129 Style
14130 \end_layout
14131
14132 \end_inset
14133
14134 が,組版文書に出力される文字列を定義するのであれば,非英語文書や複数言語文書をサポートするために,
14135 \begin_inset Flex MenuItem
14136 status collapsed
14137
14138 \begin_layout Plain Layout
14139 LangPreamble
14140 \end_layout
14141
14142 \end_inset
14143
14144
14145 \begin_inset Flex MenuItem
14146 status collapsed
14147
14148 \begin_layout Plain Layout
14149 BabelPreamble
14150 \end_layout
14151
14152 \end_inset
14153
14154 を使用することができます.以下の抜粋(
14155 \begin_inset Flex MenuItem
14156 status collapsed
14157
14158 \begin_layout Plain Layout
14159 theorems-ams.inc
14160 \end_layout
14161
14162 \end_inset
14163
14164 より)は,これがどう動作するかを示すものです.
14165 \end_layout
14166
14167 \begin_layout LyX-Code
14168 Preamble
14169 \end_layout
14170
14171 \begin_deeper
14172 \begin_layout LyX-Code
14173   
14174 \backslash
14175 theoremstyle{remark}
14176 \end_layout
14177
14178 \begin_layout LyX-Code
14179   
14180 \backslash
14181 newtheorem{claim}[thm]{
14182 \backslash
14183 protect
14184 \backslash
14185 claimname}
14186 \end_layout
14187
14188 \begin_layout LyX-Code
14189 EndPreamble
14190 \end_layout
14191
14192 \begin_layout LyX-Code
14193 LangPreamble
14194 \end_layout
14195
14196 \begin_layout LyX-Code
14197   
14198 \backslash
14199 providecommand{
14200 \backslash
14201 claimname}{_(Claim)}
14202 \end_layout
14203
14204 \begin_layout LyX-Code
14205 EndLangPreamble
14206 \end_layout
14207
14208 \begin_layout LyX-Code
14209 BabelPreamble
14210 \end_layout
14211
14212 \begin_layout LyX-Code
14213     
14214 \backslash
14215 addto
14216 \backslash
14217 captions$$lang{
14218 \backslash
14219 renewcommand{
14220 \backslash
14221 claimname}{_(Claim)}}
14222 \end_layout
14223
14224 \begin_layout LyX-Code
14225 EndBabelPreamble
14226 \end_layout
14227
14228 \end_deeper
14229 \begin_layout Standard
14230 原則として,
14231 \begin_inset Flex MenuItem
14232 status collapsed
14233
14234 \begin_layout Plain Layout
14235 LangPreamble
14236 \end_layout
14237
14238 \end_inset
14239
14240
14241 \begin_inset Flex MenuItem
14242 status collapsed
14243
14244 \begin_layout Plain Layout
14245 BabelPreamble
14246 \end_layout
14247
14248 \end_inset
14249
14250 タグ内には,有効な\SpecialChar LaTeX
14251 コードはすべて用いることができますが,実際においては,ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるの
14252 は,\SpecialChar LaTeX
14253 コマンド
14254 \begin_inset Flex Code
14255 status collapsed
14256
14257 \begin_layout Plain Layout
14258
14259 \backslash
14260 claimname
14261 \end_layout
14262
14263 \end_inset
14264
14265 とその
14266 \begin_inset Flex Code
14267 status collapsed
14268
14269 \begin_layout Plain Layout
14270
14271 \backslash
14272 newtheorem
14273 \end_layout
14274
14275 \end_inset
14276
14277 中での用い方です.
14278 \end_layout
14279
14280 \begin_layout Standard
14281 \begin_inset Flex Code
14282 status collapsed
14283
14284 \begin_layout Plain Layout
14285 LangPreamble
14286 \end_layout
14287
14288 \end_inset
14289
14290 タグは,文書全体の言語に基づいた国際化を提供します.タグの内容は,
14291 \begin_inset Flex Code
14292 status collapsed
14293
14294 \begin_layout Plain Layout
14295 Preamble
14296 \end_layout
14297
14298 \end_inset
14299
14300 タグと同様,プリアンブルに置かれるのですが,これを特別なものにしているのは,「関数」
14301 \begin_inset Flex Code
14302 status collapsed
14303
14304 \begin_layout Plain Layout
14305 _()
14306 \end_layout
14307
14308 \end_inset
14309
14310 が使用されていることです.これは,\SpecialChar LyX
14311 が\SpecialChar LaTeX
14312 出力を生成する際,その引数を文書言語に翻訳したもので置き換えられます.
14313 \end_layout
14314
14315 \begin_layout Standard
14316 \begin_inset Flex Code
14317 status collapsed
14318
14319 \begin_layout Plain Layout
14320 BabelPreamble
14321 \end_layout
14322
14323 \end_inset
14324
14325 タグは,複数言語文書をサポートし,
14326 \begin_inset Flex Code
14327 status collapsed
14328
14329 \begin_layout Plain Layout
14330 babel
14331 \end_layout
14332
14333 \end_inset
14334
14335 パッケージへのインタフェースを提供することを意図しているので,もう少し複雑です.その内容は,文書に現れる言語それぞれについて一度,プリアンブルに追加されます.こ
14336 の場合には,
14337 \begin_inset Flex Code
14338 status collapsed
14339
14340 \begin_layout Plain Layout
14341 _()
14342 \end_layout
14343
14344 \end_inset
14345
14346 の引数は,その当該言語への翻訳で置き換えられ,
14347 \begin_inset Flex Code
14348 status collapsed
14349
14350 \begin_layout Plain Layout
14351 $$lang
14352 \end_layout
14353
14354 \end_inset
14355
14356 は言語名(babelパッケージで使用されるもの)で置き換えられます.
14357 \end_layout
14358
14359 \begin_layout Standard
14360 したがって,フランス語のセクションを持つドイツ語文書では,以下のような内容がプリアンブルに追加されます
14361 \end_layout
14362
14363 \begin_layout LyX-Code
14364
14365 \backslash
14366 addto
14367 \backslash
14368 captionsfrench{
14369 \backslash
14370 renewcommand{
14371 \backslash
14372 claimname}{Affirmation}}
14373 \begin_inset Newline newline
14374 \end_inset
14375
14376
14377 \backslash
14378 addto
14379 \backslash
14380 captionsngerman{
14381 \backslash
14382 renewcommand{
14383 \backslash
14384 claimname}{Behauptung}}
14385 \begin_inset Newline newline
14386 \end_inset
14387
14388
14389 \backslash
14390 providecommand{
14391 \backslash
14392 claimname}{Behauptung}
14393 \end_layout
14394
14395 \begin_layout Standard
14396 それから,\SpecialChar LaTeX
14397
14398 \begin_inset Flex Code
14399 status collapsed
14400
14401 \begin_layout Plain Layout
14402 babel
14403 \end_layout
14404
14405 \end_inset
14406
14407 は協力して,出力に正しい文字列を生成します.
14408 \end_layout
14409
14410 \begin_layout Standard
14411 ここで注意しておくべき一つの重要な点は,翻訳は,
14412 \begin_inset Flex Code
14413 status collapsed
14414
14415 \begin_layout Plain Layout
14416 layouttranslations
14417 \end_layout
14418
14419 \end_inset
14420
14421 ファイルを通じて,\SpecialChar LyX
14422 自身によって提供されるということです.つまり,ユーザー作成のレイアウトファイルに入力された文字列は,
14423 \begin_inset Flex Code
14424 status collapsed
14425
14426 \begin_layout Plain Layout
14427 layouttranslations
14428 \end_layout
14429
14430 \end_inset
14431
14432 ファイルをそれに応じて変更しない限り,\SpecialChar LyX
14433 の国際化ルーチンでは取り扱われないので,
14434 \begin_inset Flex MenuItem
14435 status collapsed
14436
14437 \begin_layout Plain Layout
14438 LangPreamble
14439 \end_layout
14440
14441 \end_inset
14442
14443
14444 \begin_inset Flex MenuItem
14445 status collapsed
14446
14447 \begin_layout Plain Layout
14448 BabelPreamble
14449 \end_layout
14450
14451 \end_inset
14452
14453 は,事実上,\SpecialChar LyX
14454 とともに提供されるレイアウトファイルでのみ,使うことができるということを意味します.とはいえ,こういうことでありますので,将来的に\SpecialChar LyX
14455 に同梱させようとい
14456 う意図を以て作成されたレイアウトは,適切なところではすべて,これらのタグを使用するべきです.\SpecialChar LyX
14457 が提供する段落様式の翻訳は,マイナー更新(例えば2.1.x版から2.1.y版
14458 )では変更されないことに注意してください.しかしながら,メジャー更新(例えば2.0.x版から2.1.y版)では,新しい翻訳や修正が導入される可能性は大いにあります.
14459 \end_layout
14460
14461 \begin_layout Subsection
14462 フロート
14463 \begin_inset CommandInset label
14464 LatexCommand label
14465 name "subsec:フロート"
14466
14467 \end_inset
14468
14469
14470 \end_layout
14471
14472 \begin_layout Standard
14473 \SpecialChar LyX
14474 第1.3.0版以来,テキストクラス自体の中でフロート(
14475 \begin_inset Flex MenuItem
14476 status collapsed
14477
14478 \begin_layout Plain Layout
14479 figure
14480 \end_layout
14481
14482 \end_inset
14483
14484
14485 \begin_inset Flex MenuItem
14486 status collapsed
14487
14488 \begin_layout Plain Layout
14489 table
14490 \end_layout
14491
14492 \end_inset
14493
14494 ・\SpecialChar ldots
14495 )を定義することが可能となり,かつ必要となりました.標準的なフロートは
14496 \begin_inset Flex Code
14497 status collapsed
14498
14499 \begin_layout Plain Layout
14500 stdfloats.inc
14501 \end_layout
14502
14503 \end_inset
14504
14505 ファイルに含まれているので,作業中のレイアウトファイルに
14506 \end_layout
14507
14508 \begin_layout LyX-Code
14509 Input stdfloats.inc
14510 \end_layout
14511
14512 \begin_layout Standard
14513 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
14514 に同梱されているAGUクラスのように,それ以外のフロート型を提供するテキストクラスを実装するには,以下の情報が役立つであり
14515 ましょう.
14516 \end_layout
14517
14518 \begin_layout Description
14519 \begin_inset Flex Code
14520 status collapsed
14521
14522 \begin_layout Plain Layout
14523 AllowedPlacement
14524 \end_layout
14525
14526 \end_inset
14527
14528  [
14529 \begin_inset Flex Code
14530 status collapsed
14531
14532 \begin_layout Plain Layout
14533 文字列
14534 \end_layout
14535
14536 \end_inset
14537
14538 =!htbpH] このフロート型に許可された配置用の選択肢.値は,配置文字からなる文字列です.使用できる文字には,
14539 \emph on
14540 h
14541 \emph default
14542  (
14543 \begin_inset Quotes eld
14544 \end_inset
14545
14546 here if possible:可能ならば現在位置に
14547 \begin_inset Quotes erd
14548 \end_inset
14549
14550 ), 
14551 \emph on
14552 t
14553 \emph default
14554  (
14555 \begin_inset Quotes eld
14556 \end_inset
14557
14558 top of page:ページ上部
14559 \begin_inset Quotes erd
14560 \end_inset
14561
14562 )・
14563 \emph on
14564 b
14565 \emph default
14566  (
14567 \begin_inset Quotes eld
14568 \end_inset
14569
14570 bottom of page:ページ下部
14571 \begin_inset Quotes erd
14572 \end_inset
14573
14574 )・
14575 \emph on
14576 p
14577 \emph default
14578  (
14579 \begin_inset Quotes eld
14580 \end_inset
14581
14582 page of floats:フロートを独立したページに
14583 \begin_inset Quotes erd
14584 \end_inset
14585
14586 )・
14587 \emph on
14588 H
14589 \emph default
14590  (
14591 \begin_inset Quotes eld
14592 \end_inset
14593
14594 here definitely:何としても現在位置に置く
14595 \begin_inset Quotes erd
14596 \end_inset
14597
14598 )・
14599 \emph on
14600 !
14601 \emph default
14602  (
14603 \begin_inset Quotes eld
14604 \end_inset
14605
14606 ignore LaTeX rules:LaTeXの規則を無視する
14607 \begin_inset Quotes erd
14608 \end_inset
14609
14610 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,文字列として
14611 \emph on
14612 none
14613 \emph default
14614 を与えてください.
14615 \end_layout
14616
14617 \begin_layout Description
14618 \begin_inset Flex Code
14619 status collapsed
14620
14621 \begin_layout Plain Layout
14622 AllowsSideways
14623 \end_layout
14624
14625 \end_inset
14626
14627  [
14628 \begin_inset Flex Code
14629 status collapsed
14630
14631 \begin_layout Plain Layout
14632 0
14633 \end_layout
14634
14635 \end_inset
14636
14637 ,
14638 \begin_inset space \thinspace{}
14639 \end_inset
14640
14641
14642 \emph on
14643
14644 \begin_inset Flex Code
14645 status collapsed
14646
14647 \begin_layout Plain Layout
14648 1
14649 \end_layout
14650
14651 \end_inset
14652
14653
14654 \emph default
14655 ] フロートを,\SpecialChar LaTeX
14656 パッケージの
14657 \family typewriter
14658 rotfloat
14659 \family default
14660  (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
14661 \begin_inset Flex Code
14662 status collapsed
14663
14664 \begin_layout Plain Layout
14665 0
14666 \end_layout
14667
14668 \end_inset
14669
14670 を指定してください.
14671 \end_layout
14672
14673 \begin_layout Description
14674 \begin_inset Flex Code
14675 status collapsed
14676
14677 \begin_layout Plain Layout
14678 AllowsWide
14679 \end_layout
14680
14681 \end_inset
14682
14683  [
14684 \begin_inset Flex Code
14685 status collapsed
14686
14687 \begin_layout Plain Layout
14688 0
14689 \end_layout
14690
14691 \end_inset
14692
14693 ,
14694 \begin_inset space \thinspace{}
14695 \end_inset
14696
14697
14698 \emph on
14699
14700 \begin_inset Flex Code
14701 status collapsed
14702
14703 \begin_layout Plain Layout
14704 1
14705 \end_layout
14706
14707 \end_inset
14708
14709
14710 \emph default
14711 ] このフロートに,二段組段落において段落をまたぐ,星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
14712 \begin_inset Flex Code
14713 status collapsed
14714
14715 \begin_layout Plain Layout
14716 0
14717 \end_layout
14718
14719 \end_inset
14720
14721 を指定してください.
14722 \end_layout
14723
14724 \begin_layout Description
14725 \begin_inset Flex Code
14726 status collapsed
14727
14728 \begin_layout Plain Layout
14729 Extension
14730 \end_layout
14731
14732 \end_inset
14733
14734  [
14735 \begin_inset Flex Code
14736 status collapsed
14737
14738 \begin_layout Plain Layout
14739 文字列
14740 \end_layout
14741
14742 \end_inset
14743
14744 =
14745 \begin_inset Quotes erd
14746 \end_inset
14747
14748
14749 \begin_inset Quotes erd
14750 \end_inset
14751
14752 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
14753 がキャプションを書き込むファイルです.
14754 \end_layout
14755
14756 \begin_layout Description
14757 \begin_inset Flex Code
14758 status collapsed
14759
14760 \begin_layout Plain Layout
14761 GuiName
14762 \end_layout
14763
14764 \end_inset
14765
14766  [
14767 \begin_inset Flex Code
14768 status collapsed
14769
14770 \begin_layout Plain Layout
14771 文字列
14772 \end_layout
14773
14774 \end_inset
14775
14776 =
14777 \begin_inset Quotes erd
14778 \end_inset
14779
14780
14781 \begin_inset Quotes erd
14782 \end_inset
14783
14784 ] メニューとキャプションに使用される文字列.babelが使用される場合には,これは現在の言語に翻訳されます.
14785 \end_layout
14786
14787 \begin_layout Description
14788 \begin_inset Flex Code
14789 status collapsed
14790
14791 \begin_layout Plain Layout
14792 HTML*
14793 \end_layout
14794
14795 \end_inset
14796
14797  これらは,XHTML出力で使用されます.
14798 \begin_inset CommandInset ref
14799 LatexCommand ref
14800 reference "sec:XHTML出力のタグ"
14801
14802 \end_inset
14803
14804 をご覧ください.
14805 \end_layout
14806
14807 \begin_layout Description
14808 \begin_inset Flex Code
14809 status collapsed
14810
14811 \begin_layout Plain Layout
14812 IsPredefined
14813 \end_layout
14814
14815 \end_inset
14816
14817  [
14818 \begin_inset Flex Code
14819 status collapsed
14820
14821 \begin_layout Plain Layout
14822
14823 \emph on
14824 0
14825 \end_layout
14826
14827 \end_inset
14828
14829 ,
14830 \begin_inset space \thinspace{}
14831 \end_inset
14832
14833
14834 \begin_inset Flex Code
14835 status collapsed
14836
14837 \begin_layout Plain Layout
14838 1
14839 \end_layout
14840
14841 \end_inset
14842
14843 ] フロートがドキュメントクラス中に既に定義されているのか,あるいは\SpecialChar LaTeX
14844 パッケージ
14845 \begin_inset Flex Code
14846 status collapsed
14847
14848 \begin_layout Plain Layout
14849 float
14850 \end_layout
14851
14852 \end_inset
14853
14854 を読み込む必要があり,そのファイル内のものを使用して,オン・ザ・フライで定義するかを示します.既定は
14855 \begin_inset Flex Code
14856 status collapsed
14857
14858 \begin_layout Plain Layout
14859 0
14860 \end_layout
14861
14862 \end_inset
14863
14864 で,この場合
14865 \begin_inset Flex Code
14866 status collapsed
14867
14868 \begin_layout Plain Layout
14869 float
14870 \end_layout
14871
14872 \end_inset
14873
14874 を使用します.\SpecialChar LaTeX
14875 ドキュメントクラス中に既に定義されているときには,
14876 \begin_inset Flex Code
14877 status collapsed
14878
14879 \begin_layout Plain Layout
14880 0
14881 \end_layout
14882
14883 \end_inset
14884
14885 に設定しなくてはなりません.
14886 \end_layout
14887
14888 \begin_layout Description
14889 \begin_inset Flex Code
14890 status collapsed
14891
14892 \begin_layout Plain Layout
14893 ListCommand
14894 \end_layout
14895
14896 \end_inset
14897
14898  [
14899 \begin_inset Flex Code
14900 status collapsed
14901
14902 \begin_layout Plain Layout
14903 文字列
14904 \end_layout
14905
14906 \end_inset
14907
14908 =
14909 \begin_inset Quotes erd
14910 \end_inset
14911
14912
14913 \begin_inset Quotes erd
14914 \end_inset
14915
14916 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
14917 \backslash
14918 」は書きません.
14919 \begin_inset Flex Code
14920 status collapsed
14921
14922 \begin_layout Plain Layout
14923 NeedsFloatPkg
14924 \end_layout
14925
14926 \end_inset
14927
14928 が偽の時には,このコマンドを生成する標準的な方法はないので,これは
14929 \emph on
14930 必ず
14931 \emph default
14932 指定しなくてはなりません.
14933 \begin_inset Flex Code
14934 status collapsed
14935
14936 \begin_layout Plain Layout
14937 NeedsFloatPkg
14938 \end_layout
14939
14940 \end_inset
14941
14942 が真の時は,標準的な方法が存在するので,これは無視されます.
14943 \end_layout
14944
14945 \begin_layout Description
14946 \begin_inset Flex Code
14947 status collapsed
14948
14949 \begin_layout Plain Layout
14950 ListName
14951 \end_layout
14952
14953 \end_inset
14954
14955  [
14956 \begin_inset Flex Code
14957 status collapsed
14958
14959 \begin_layout Plain Layout
14960 文字列
14961 \end_layout
14962
14963 \end_inset
14964
14965 =
14966 \begin_inset Quotes erd
14967 \end_inset
14968
14969
14970 \begin_inset Quotes erd
14971 \end_inset
14972
14973 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
14974 中では,これは画面上のラベルとして使用されます.また,見出しとして使用するために,La\SpecialChar TeX
14975 に渡さ
14976 れ,XHTML出力でも見出しとして使用されます.これは,文書言語に翻訳されます.
14977 \end_layout
14978
14979 \begin_layout Description
14980 \begin_inset Flex Code
14981 status collapsed
14982
14983 \begin_layout Plain Layout
14984 NumberWithin
14985 \end_layout
14986
14987 \end_inset
14988
14989  [
14990 \begin_inset Flex Code
14991 status collapsed
14992
14993 \begin_layout Plain Layout
14994 文字列
14995 \end_layout
14996
14997 \end_inset
14998
14999 =
15000 \begin_inset Quotes erd
15001 \end_inset
15002
15003
15004 \begin_inset Quotes erd
15005 \end_inset
15006
15007 ] この(非必須の)引数は,このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
15008 \begin_inset Flex Code
15009 status collapsed
15010
15011 \begin_layout Plain Layout
15012 NumberWithin
15013 \end_layout
15014
15015 \end_inset
15016
15017 が「
15018 \begin_inset Flex Code
15019 status collapsed
15020
15021 \begin_layout Plain Layout
15022 chapter
15023 \end_layout
15024
15025 \end_inset
15026
15027 」に指定されていれば,フロートは章ごとに番号が振り直されます.
15028 \end_layout
15029
15030 \begin_layout Description
15031 \begin_inset Flex Code
15032 status collapsed
15033
15034 \begin_layout Plain Layout
15035 Placement
15036 \end_layout
15037
15038 \end_inset
15039
15040  [
15041 \begin_inset Flex Code
15042 status collapsed
15043
15044 \begin_layout Plain Layout
15045 文字列
15046 \end_layout
15047
15048 \end_inset
15049
15050 =
15051 \begin_inset Quotes erd
15052 \end_inset
15053
15054
15055 \begin_inset Quotes erd
15056 \end_inset
15057
15058 ] このクラスのフロートの既定の配置法.文字列は,標準的な\SpecialChar LaTeX
15059 表記に従い,
15060 \begin_inset Flex Code
15061 status collapsed
15062
15063 \begin_layout Plain Layout
15064 t
15065 \end_layout
15066
15067 \end_inset
15068
15069 ならば上部(top),
15070 \begin_inset Flex Code
15071 status collapsed
15072
15073 \begin_layout Plain Layout
15074 b
15075 \end_layout
15076
15077 \end_inset
15078
15079 ならば下部(bottom),
15080 \begin_inset Flex Code
15081 status collapsed
15082
15083 \begin_layout Plain Layout
15084 p
15085 \end_layout
15086
15087 \end_inset
15088
15089 ならばページ(page),
15090 \begin_inset Flex Code
15091 status collapsed
15092
15093 \begin_layout Plain Layout
15094 h
15095 \end_layout
15096
15097 \end_inset
15098
15099 ならばここ(here)を表します
15100 \begin_inset Foot
15101 status collapsed
15102
15103 \begin_layout Plain Layout
15104 \SpecialChar LaTeX
15105 同様,文字列中でのこれらの文字の順序は関係ありません.
15106 \end_layout
15107
15108 \end_inset
15109
15110 .これらの他に新しい型
15111 \begin_inset Flex Code
15112 status collapsed
15113
15114 \begin_layout Plain Layout
15115 H
15116 \end_layout
15117
15118 \end_inset
15119
15120 があり,これはフロートを「ここ」に置いていいけれども他の場所はだめ,というものなので,本当はフロートにあるものではありません.しかし,
15121 \begin_inset Flex Code
15122 status collapsed
15123
15124 \begin_layout Plain Layout
15125 H
15126 \end_layout
15127
15128 \end_inset
15129
15130 指定子は特別なものであり,その細かい実装上の理由で,組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,代わり
15131 に「
15132 \begin_inset Flex Code
15133 status collapsed
15134
15135 \begin_layout Plain Layout
15136 tbp
15137 \end_layout
15138
15139 \end_inset
15140
15141 」を指定してください.
15142 \end_layout
15143
15144 \begin_layout Description
15145 \begin_inset Flex Code
15146 status collapsed
15147
15148 \begin_layout Plain Layout
15149 RefPrefix
15150 \end_layout
15151
15152 \end_inset
15153
15154  [
15155 \begin_inset Flex Code
15156 status collapsed
15157
15158 \begin_layout Plain Layout
15159 文字列
15160 \end_layout
15161
15162 \end_inset
15163
15164 ] この型のフロートを参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.コピーした様式が設定した
15165 \begin_inset Flex Code
15166 status collapsed
15167
15168 \begin_layout Plain Layout
15169 RefPrefix
15170 \end_layout
15171
15172 \end_inset
15173
15174 は,特別な文字列「OFF」(すべて大文字)を使えば,いつでも削除することができます.
15175 \end_layout
15176
15177 \begin_layout Description
15178 \begin_inset Flex Code
15179 status collapsed
15180
15181 \begin_layout Plain Layout
15182 Style
15183 \end_layout
15184
15185 \end_inset
15186
15187  [
15188 \begin_inset Flex Code
15189 status collapsed
15190
15191 \begin_layout Plain Layout
15192 文字列
15193 \end_layout
15194
15195 \end_inset
15196
15197 =
15198 \begin_inset Quotes erd
15199 \end_inset
15200
15201
15202 \begin_inset Quotes erd
15203 \end_inset
15204
15205
15206 \begin_inset Flex Code
15207 status collapsed
15208
15209 \begin_layout Plain Layout
15210
15211 \backslash
15212 newfloat
15213 \end_layout
15214
15215 \end_inset
15216
15217 を使用してフロートを定義する際に使用される様式.
15218 \end_layout
15219
15220 \begin_layout Description
15221 \begin_inset Flex Code
15222 status collapsed
15223
15224 \begin_layout Plain Layout
15225 Type
15226 \end_layout
15227
15228 \end_inset
15229
15230  [
15231 \begin_inset Flex Code
15232 status collapsed
15233
15234 \begin_layout Plain Layout
15235 文字列
15236 \end_layout
15237
15238 \end_inset
15239
15240 =
15241 \begin_inset Quotes erd
15242 \end_inset
15243
15244
15245 \begin_inset Quotes erd
15246 \end_inset
15247
15248 ] プログラムやアルゴリズムのような,フロートの新しいクラス「型」.適切な
15249 \begin_inset Flex Code
15250 status collapsed
15251
15252 \begin_layout Plain Layout
15253
15254 \backslash
15255 newfloat
15256 \end_layout
15257
15258 \end_inset
15259
15260 の後で,
15261 \begin_inset Flex Code
15262 status collapsed
15263
15264 \begin_layout Plain Layout
15265
15266 \backslash
15267 begin{program}
15268 \end_layout
15269
15270 \end_inset
15271
15272
15273 \begin_inset Flex Code
15274 status collapsed
15275
15276 \begin_layout Plain Layout
15277
15278 \backslash
15279 end{algorithm*}
15280 \end_layout
15281
15282 \end_inset
15283
15284 といったコマンドが利用できます.
15285 \end_layout
15286
15287 \begin_layout Description
15288 \begin_inset Flex Code
15289 status collapsed
15290
15291 \begin_layout Plain Layout
15292 UsesFloatPkg
15293 \end_layout
15294
15295 \end_inset
15296
15297  [
15298 \begin_inset Flex Code
15299 status collapsed
15300
15301 \begin_layout Plain Layout
15302 0
15303 \end_layout
15304
15305 \end_inset
15306
15307 ,
15308 \begin_inset space \thinspace{}
15309 \end_inset
15310
15311
15312 \begin_inset Flex Code
15313 status collapsed
15314
15315 \begin_layout Plain Layout
15316
15317 \emph on
15318 1
15319 \end_layout
15320
15321 \end_inset
15322
15323 ] このフロートが,クラスファイルやパッケージ中で,\SpecialChar LaTeX
15324 パッケージ
15325 \begin_inset Flex Code
15326 status collapsed
15327
15328 \begin_layout Plain Layout
15329 float
15330 \end_layout
15331
15332 \end_inset
15333
15334 が提供しているものを使用して定義されているのか,\SpecialChar LyX
15335 自身がオン・ザ・フライで定義しているのかを示します.
15336 \end_layout
15337
15338 \begin_layout Standard
15339 \begin_inset Flex Code
15340 status collapsed
15341
15342 \begin_layout Plain Layout
15343
15344 \emph on
15345 type
15346 \end_layout
15347
15348 \end_inset
15349
15350 型のフロートを定義すると,自動的に
15351 \emph on
15352 対応する
15353 \emph default
15354
15355 \begin_inset Flex Code
15356 status collapsed
15357
15358 \begin_layout Plain Layout
15359
15360 \emph on
15361 type
15362 \end_layout
15363
15364 \end_inset
15365
15366 名カウンタが定義されます.
15367 \end_layout
15368
15369 \begin_layout Subsection
15370 自由差込枠と差込枠レイアウト
15371 \begin_inset CommandInset label
15372 LatexCommand label
15373 name "subsec:任意設定差込枠"
15374
15375 \end_inset
15376
15377
15378 \end_layout
15379
15380 \begin_layout Standard
15381 自由差込枠には次の3種類があります.
15382 \end_layout
15383
15384 \begin_layout Itemize
15385 文字様式(
15386 \begin_inset Flex Code
15387 status collapsed
15388
15389 \begin_layout Plain Layout
15390 CharStyle
15391 \end_layout
15392
15393 \end_inset
15394
15395 ).これは,
15396 \begin_inset Flex Code
15397 status collapsed
15398
15399 \begin_layout Plain Layout
15400
15401 \backslash
15402 noun
15403 \end_layout
15404
15405 \end_inset
15406
15407
15408 \begin_inset Flex Code
15409 status collapsed
15410
15411 \begin_layout Plain Layout
15412
15413 \backslash
15414 code
15415 \end_layout
15416
15417 \end_inset
15418
15419 などの\SpecialChar LaTeX
15420 コマンドに対応した意味論的マークアップを定義するものです.
15421 \end_layout
15422
15423 \begin_layout Itemize
15424 ユーザ設定(
15425 \begin_inset Flex Code
15426 status collapsed
15427
15428 \begin_layout Plain Layout
15429 Custom
15430 \end_layout
15431
15432 \end_inset
15433
15434 ).これは,\SpecialChar TeX
15435 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,これは
15436 \begin_inset Flex Code
15437 status collapsed
15438
15439 \begin_layout Plain Layout
15440 endnote
15441 \end_layout
15442
15443 \end_inset
15444
15445 モジュール中で定義されています.
15446 \end_layout
15447
15448 \begin_layout Itemize
15449 XML要素(
15450 \begin_inset Flex Code
15451 status collapsed
15452
15453 \begin_layout Plain Layout
15454 Element
15455 \end_layout
15456
15457 \end_inset
15458
15459 ).DocBookクラスで使用するものです.
15460 \end_layout
15461
15462 \begin_layout Standard
15463 自由差込枠は,以下で説明する
15464 \begin_inset Flex Code
15465 status collapsed
15466
15467 \begin_layout Plain Layout
15468 InsetLayout
15469 \end_layout
15470
15471 \end_inset
15472
15473 タグを使用して定義されます.
15474 \end_layout
15475
15476 \begin_layout Standard
15477 \begin_inset Flex Code
15478 status collapsed
15479
15480 \begin_layout Plain Layout
15481 InsetLayout
15482 \end_layout
15483
15484 \end_inset
15485
15486 タグは,もう一つ別の機能も提供します.これを使えば,いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
15487 \begin_inset Flex Code
15488 status collapsed
15489
15490 \begin_layout Plain Layout
15491 InsetLayout
15492 \end_layout
15493
15494 \end_inset
15495
15496 は自由差込枠を定義することの他に,脚註・傍註・註釈差込枠・\SpecialChar TeX
15497 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザ
15498 ー定義するのに使用されます.
15499 \end_layout
15500
15501 \begin_layout Standard
15502 \begin_inset Flex Code
15503 status collapsed
15504
15505 \begin_layout Plain Layout
15506 InsetLayout
15507 \end_layout
15508
15509 \end_inset
15510
15511 定義は以下の形の行では始まらなくてはなりません.
15512 \end_layout
15513
15514 \begin_layout LyX-Code
15515 InsetLayout <型>
15516 \end_layout
15517
15518 \begin_layout Standard
15519 ここで
15520 \begin_inset Flex Code
15521 status collapsed
15522
15523 \begin_layout Plain Layout
15524 <型>
15525 \end_layout
15526
15527 \end_inset
15528
15529 は,レイアウトを定義しようとしている差込枠を指し,4つの場合があります.
15530 \end_layout
15531
15532 \begin_layout Enumerate
15533 既存の差込枠のレイアウトを変更する場合.この場合,
15534 \begin_inset Flex Code
15535 status collapsed
15536
15537 \begin_layout Plain Layout
15538 <型>
15539 \end_layout
15540
15541 \end_inset
15542
15543 は以下のいずれかになります:
15544 \begin_inset Flex Code
15545 status collapsed
15546
15547 \begin_layout Plain Layout
15548 Algorithm
15549 \end_layout
15550
15551 \end_inset
15552
15553
15554 \begin_inset Flex Code
15555 status collapsed
15556
15557 \begin_layout Plain Layout
15558 Branch
15559 \end_layout
15560
15561 \end_inset
15562
15563
15564 \begin_inset Flex Code
15565 status collapsed
15566
15567 \begin_layout Plain Layout
15568 Box
15569 \end_layout
15570
15571 \end_inset
15572
15573
15574 \begin_inset Flex Code
15575 status collapsed
15576
15577 \begin_layout Plain Layout
15578 Box:shaded
15579 \end_layout
15580
15581 \end_inset
15582
15583
15584 \begin_inset Flex Code
15585 status collapsed
15586
15587 \begin_layout Plain Layout
15588 Caption:Standard
15589 \end_layout
15590
15591 \end_inset
15592
15593
15594 \begin_inset Flex Code
15595 status collapsed
15596
15597 \begin_layout Plain Layout
15598 ERT
15599 \end_layout
15600
15601 \end_inset
15602
15603
15604 \begin_inset Flex Code
15605 status collapsed
15606
15607 \begin_layout Plain Layout
15608 Figure
15609 \end_layout
15610
15611 \end_inset
15612
15613
15614 \begin_inset Flex Code
15615 status collapsed
15616
15617 \begin_layout Plain Layout
15618 Foot
15619 \end_layout
15620
15621 \end_inset
15622
15623
15624 \begin_inset Flex Code
15625 status collapsed
15626
15627 \begin_layout Plain Layout
15628 Index
15629 \end_layout
15630
15631 \end_inset
15632
15633
15634 \begin_inset Flex Code
15635 status collapsed
15636
15637 \begin_layout Plain Layout
15638 Info
15639 \end_layout
15640
15641 \end_inset
15642
15643
15644 \begin_inset Flex Code
15645 status collapsed
15646
15647 \begin_layout Plain Layout
15648 Info:menu
15649 \end_layout
15650
15651 \end_inset
15652
15653
15654 \begin_inset Flex Code
15655 status collapsed
15656
15657 \begin_layout Plain Layout
15658 Info:shortcut
15659 \end_layout
15660
15661 \end_inset
15662
15663
15664 \begin_inset Flex Code
15665 status collapsed
15666
15667 \begin_layout Plain Layout
15668 Info:shortcuts
15669 \end_layout
15670
15671 \end_inset
15672
15673
15674 \begin_inset Flex Code
15675 status collapsed
15676
15677 \begin_layout Plain Layout
15678 Listings
15679 \end_layout
15680
15681 \end_inset
15682
15683
15684 \begin_inset Flex Code
15685 status collapsed
15686
15687 \begin_layout Plain Layout
15688 Marginal
15689 \end_layout
15690
15691 \end_inset
15692
15693
15694 \begin_inset Flex Code
15695 status collapsed
15696
15697 \begin_layout Plain Layout
15698 Note:Comment
15699 \end_layout
15700
15701 \end_inset
15702
15703
15704 \begin_inset Flex Code
15705 status collapsed
15706
15707 \begin_layout Plain Layout
15708 Note:Note
15709 \end_layout
15710
15711 \end_inset
15712
15713
15714 \begin_inset Flex Code
15715 status collapsed
15716
15717 \begin_layout Plain Layout
15718 Note:GreyedOut
15719 \end_layout
15720
15721 \end_inset
15722
15723
15724 \begin_inset Flex Code
15725 status collapsed
15726
15727 \begin_layout Plain Layout
15728 Table
15729 \end_layout
15730
15731 \end_inset
15732
15733
15734 \begin_inset Flex Code
15735 status collapsed
15736
15737 \begin_layout Plain Layout
15738 URL
15739 \end_layout
15740
15741 \end_inset
15742
15743
15744 \end_layout
15745
15746 \begin_layout Enumerate
15747 自由差込枠のレイアウトを定義する場合.この場合,
15748 \begin_inset Flex Code
15749 status collapsed
15750
15751 \begin_layout Plain Layout
15752 <型>
15753 \end_layout
15754
15755 \end_inset
15756
15757
15758 \begin_inset Flex Code
15759 status collapsed
15760
15761 \begin_layout Plain Layout
15762 Flex:<名称>
15763 \end_layout
15764
15765 \end_inset
15766
15767 の形でなくてはなりません.ここで,
15768 \begin_inset Flex Code
15769 status collapsed
15770
15771 \begin_layout Plain Layout
15772 名称
15773 \end_layout
15774
15775 \end_inset
15776
15777 は,既存の自由差込枠で使用されていない有効な識別子であれば,何でも構いません.識別子には空白を入れることもできますが,この場合には全体を引用符で囲まなくてはなり
15778 ません.自由差込枠の定義には,この定義がどの差込枠型なのか宣言するために,
15779 \begin_inset Flex Code
15780 status collapsed
15781
15782 \begin_layout Plain Layout
15783 LyXType
15784 \end_layout
15785
15786 \end_inset
15787
15788 項目が含まれていなくてはならないことに注意してください.
15789 \end_layout
15790
15791 \begin_layout Enumerate
15792 ユーザー定義派生枝を定義する場合.この場合,
15793 \begin_inset Flex Code
15794 status collapsed
15795
15796 \begin_layout Plain Layout
15797 <型>
15798 \end_layout
15799
15800 \end_inset
15801
15802 は「
15803 \begin_inset Flex Code
15804 status collapsed
15805
15806 \begin_layout Plain Layout
15807 Branch:<名称>
15808 \end_layout
15809
15810 \end_inset
15811
15812 」の形でなくてはなりません.ここで,
15813 \begin_inset Flex Code
15814 status collapsed
15815
15816 \begin_layout Plain Layout
15817 名称
15818 \end_layout
15819
15820 \end_inset
15821
15822 は,ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主
15823 な目的は,ユーザーの必要に応じて,特定の派生枝を\SpecialChar LaTeX
15824 がくるむことができるようにすることです.
15825 \end_layout
15826
15827 \begin_layout Enumerate
15828 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
15829 \begin_inset Flex Code
15830 status collapsed
15831
15832 \begin_layout Plain Layout
15833 <型>
15834 \end_layout
15835
15836 \end_inset
15837
15838 は「
15839 \begin_inset Flex Code
15840 status collapsed
15841
15842 \begin_layout Plain Layout
15843 Caption:<名称>
15844 \end_layout
15845
15846 \end_inset
15847
15848 」の形でなくてはなりません.ここで,
15849 \begin_inset Flex Code
15850 status collapsed
15851
15852 \begin_layout Plain Layout
15853 名称
15854 \end_layout
15855
15856 \end_inset
15857
15858 は,メニューに表示されるキャプション名です.応用例については,標準キャプション(
15859 \begin_inset Flex Code
15860 status collapsed
15861
15862 \begin_layout Plain Layout
15863 Caption:Standard
15864 \end_layout
15865
15866 \end_inset
15867
15868 ),若しくはKOMA-Scriptクラスのクラス定義キャプション(
15869 \begin_inset Flex Code
15870 status collapsed
15871
15872 \begin_layout Plain Layout
15873 Caption:Above
15874 \end_layout
15875
15876 \end_inset
15877
15878
15879 \begin_inset Flex Code
15880 status collapsed
15881
15882 \begin_layout Plain Layout
15883 Caption:Below
15884 \end_layout
15885
15886 \end_inset
15887
15888 ),
15889 \family sans
15890 多言語キャプション
15891 \family default
15892 モジュール(
15893 \begin_inset Flex Code
15894 status collapsed
15895
15896 \begin_layout Plain Layout
15897 Caption:\SpecialChar allowbreak
15898 Bicaption
15899 \end_layout
15900
15901 \end_inset
15902
15903 )をご覧ください.
15904 \end_layout
15905
15906 \begin_layout Standard
15907 \begin_inset Flex Code
15908 status collapsed
15909
15910 \begin_layout Plain Layout
15911 InsetLayout
15912 \end_layout
15913
15914 \end_inset
15915
15916 定義には以下の項目を入れることができます.
15917 \end_layout
15918
15919 \begin_layout Description
15920 \begin_inset Flex Code
15921 status collapsed
15922
15923 \begin_layout Plain Layout
15924 AddToToc
15925 \end_layout
15926
15927 \end_inset
15928
15929  [
15930 \begin_inset Flex Code
15931 status collapsed
15932
15933 \begin_layout Plain Layout
15934 文字列
15935 \end_layout
15936
15937 \end_inset
15938
15939 =""] この差込枠は,この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参
15940 照してください.これは,自由差込枠にのみ実装されています.既定値:無効.
15941 \end_layout
15942
15943 \begin_layout Description
15944 \begin_inset Flex Code
15945 status collapsed
15946
15947 \begin_layout Plain Layout
15948 Argument
15949 \end_layout
15950
15951 \end_inset
15952
15953  [
15954 \begin_inset Flex Code
15955 status collapsed
15956
15957 \begin_layout Plain Layout
15958 整数
15959 \end_layout
15960
15961 \end_inset
15962
15963 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
15964 \begin_inset Flex Code
15965 status collapsed
15966
15967 \begin_layout Plain Layout
15968 EndArgument
15969 \end_layout
15970
15971 \end_inset
15972
15973 で閉じなくてはなりません.詳細は第
15974 \begin_inset CommandInset ref
15975 LatexCommand ref
15976 reference "subsec:段落様式"
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 BabelPreamble
15989 \end_layout
15990
15991 \end_inset
15992
15993  言語コマンドを変更するプリアンブル.第
15994 \begin_inset CommandInset ref
15995 LatexCommand ref
15996 reference "subsec:段落様式の国際化"
15997
15998 \end_inset
15999
16000 節参照.
16001 \end_layout
16002
16003 \begin_layout Description
16004 \begin_inset Flex Code
16005 status collapsed
16006
16007 \begin_layout Plain Layout
16008 BgColor
16009 \end_layout
16010
16011 \end_inset
16012
16013  [
16014 \begin_inset Flex Code
16015 status collapsed
16016
16017 \begin_layout Plain Layout
16018 <名称>
16019 \end_layout
16020
16021 \end_inset
16022
16023 ] 差込枠の背景色.使用できる色名一覧は第
16024 \begin_inset CommandInset ref
16025 LatexCommand ref
16026 reference "chap:色名"
16027
16028 \end_inset
16029
16030 節参照.
16031 \end_layout
16032
16033 \begin_layout Description
16034 \begin_inset Flex Code
16035 status collapsed
16036
16037 \begin_layout Plain Layout
16038 ContentAsLabel
16039 \end_layout
16040
16041 \end_inset
16042
16043  [
16044 \begin_inset Flex Code
16045 status collapsed
16046
16047 \begin_layout Plain Layout
16048
16049 \emph on
16050 0
16051 \end_layout
16052
16053 \end_inset
16054
16055 ,
16056 \begin_inset space \thinspace{}
16057 \end_inset
16058
16059
16060 \begin_inset Flex Code
16061 status collapsed
16062
16063 \begin_layout Plain Layout
16064 1
16065 \end_layout
16066
16067 \end_inset
16068
16069 ] 差込枠を閉じた際,差込枠の内容をラベルとして使用するか否か.既定値は偽です.
16070 \end_layout
16071
16072 \begin_layout Description
16073 \begin_inset Flex Code
16074 status collapsed
16075
16076 \begin_layout Plain Layout
16077 CopyStyle
16078 \end_layout
16079
16080 \end_inset
16081
16082  [<型>] 段落様式と同様です.第
16083 \begin_inset CommandInset ref
16084 LatexCommand ref
16085 reference "subsec:段落様式"
16086
16087 \end_inset
16088
16089 節参照のこと.完全な型を指定する必要があることに注意してください.例:
16090 \begin_inset Flex Code
16091 status collapsed
16092
16093 \begin_layout Plain Layout
16094 CopyStyle Flex:<名称>
16095 \end_layout
16096
16097 \end_inset
16098
16099
16100 \end_layout
16101
16102 \begin_layout Description
16103 \begin_inset Flex Code
16104 status collapsed
16105
16106 \begin_layout Plain Layout
16107 CustomPars
16108 \end_layout
16109
16110 \end_inset
16111
16112  [
16113 \begin_inset Flex Code
16114 status collapsed
16115
16116 \begin_layout Plain Layout
16117
16118 \emph on
16119 0
16120 \end_layout
16121
16122 \end_inset
16123
16124 ,
16125 \begin_inset space \thinspace{}
16126 \end_inset
16127
16128
16129 \begin_inset Flex Code
16130 status collapsed
16131
16132 \begin_layout Plain Layout
16133 1
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 Decoration
16147 \end_layout
16148
16149 \end_inset
16150
16151  差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
16152 \begin_inset Flex Code
16153 status collapsed
16154
16155 \begin_layout Plain Layout
16156 Classic
16157 \end_layout
16158
16159 \end_inset
16160
16161
16162 \begin_inset Flex Code
16163 status collapsed
16164
16165 \begin_layout Plain Layout
16166 Minimalistic
16167 \end_layout
16168
16169 \end_inset
16170
16171
16172 \begin_inset Flex Code
16173 status collapsed
16174
16175 \begin_layout Plain Layout
16176 Conglomerate
16177 \end_layout
16178
16179 \end_inset
16180
16181 のいずれかを指定することができます.脚註は通常
16182 \begin_inset Flex Code
16183 status collapsed
16184
16185 \begin_layout Plain Layout
16186 Classic
16187 \end_layout
16188
16189 \end_inset
16190
16191 を使用し,\SpecialChar TeX
16192 コード差込枠は通常
16193 \begin_inset Flex Code
16194 status collapsed
16195
16196 \begin_layout Plain Layout
16197 Minimalistic
16198 \end_layout
16199
16200 \end_inset
16201
16202 ,文字様式は
16203 \begin_inset Flex Code
16204 status collapsed
16205
16206 \begin_layout Plain Layout
16207 Conglomerate
16208 \end_layout
16209
16210 \end_inset
16211
16212 を使用します.
16213 \end_layout
16214
16215 \begin_layout Description
16216 \begin_inset Flex Code
16217 status collapsed
16218
16219 \begin_layout Plain Layout
16220 Display
16221 \end_layout
16222
16223 \end_inset
16224
16225  [
16226 \begin_inset Flex Code
16227 status collapsed
16228
16229 \begin_layout Plain Layout
16230 0
16231 \end_layout
16232
16233 \end_inset
16234
16235 ,
16236 \begin_inset space \thinspace{}
16237 \end_inset
16238
16239
16240 \begin_inset Flex Code
16241 status collapsed
16242
16243 \begin_layout Plain Layout
16244
16245 \emph on
16246 1
16247 \end_layout
16248
16249 \end_inset
16250
16251
16252 \begin_inset Flex Code
16253 status collapsed
16254
16255 \begin_layout Plain Layout
16256 LatexType
16257 \end_layout
16258
16259 \end_inset
16260
16261
16262 \begin_inset Flex Code
16263 status collapsed
16264
16265 \begin_layout Plain Layout
16266 Environment
16267 \end_layout
16268
16269 \end_inset
16270
16271 の時のみ意味をもちます.環境を,出力中で独立して出力させるか,周囲のテキストとインラインで出力させるかを示します.偽にすると,\SpecialChar LaTeX
16272 環境は,
16273 \begin_inset Flex Code
16274 status collapsed
16275
16276 \begin_layout Plain Layout
16277
16278 \backslash
16279 begin{LatexName}
16280 \end_layout
16281
16282 \end_inset
16283
16284 タグと
16285 \begin_inset Flex Code
16286 status collapsed
16287
16288 \begin_layout Plain Layout
16289
16290 \backslash
16291 end{LatexName}
16292 \end_layout
16293
16294 \end_inset
16295
16296 タグの後の空白(改行文字を含む)を無視するものと仮定します.
16297 \end_layout
16298
16299 \begin_layout Description
16300 \begin_inset Flex Code
16301 status collapsed
16302
16303 \begin_layout Plain Layout
16304 End
16305 \end_layout
16306
16307 \end_inset
16308
16309  
16310 \begin_inset Flex Code
16311 status collapsed
16312
16313 \begin_layout Plain Layout
16314 InsetLayout
16315 \end_layout
16316
16317 \end_inset
16318
16319 宣言を閉じるのに必要です.
16320 \end_layout
16321
16322 \begin_layout Description
16323 \begin_inset Flex Code
16324 status collapsed
16325
16326 \begin_layout Plain Layout
16327 Font
16328 \end_layout
16329
16330 \end_inset
16331
16332  本文本体とラベル
16333 \emph on
16334 両方に
16335 \emph default
16336 使用されるフォントです.第
16337 \begin_inset CommandInset ref
16338 LatexCommand ref
16339 reference "subsec:フォント指定"
16340
16341 \end_inset
16342
16343 節を参照.このフォントを定義すると自動的に
16344 \begin_inset Flex Code
16345 status collapsed
16346
16347 \begin_layout Plain Layout
16348 LabelFont
16349 \end_layout
16350
16351 \end_inset
16352
16353 も同じ値に定義されるので,これらを別々の値にしたいときは,これを先に定義してから後に
16354 \begin_inset Flex Code
16355 status collapsed
16356
16357 \begin_layout Plain Layout
16358 LabelFont
16359 \end_layout
16360
16361 \end_inset
16362
16363 を定義しなくてはならないことに注意してください.
16364 \end_layout
16365
16366 \begin_layout Description
16367 \begin_inset Flex Code
16368 status collapsed
16369
16370 \begin_layout Plain Layout
16371 FixedWidthPreambleEncoding
16372 \end_layout
16373
16374 \end_inset
16375
16376  [
16377 \begin_inset Flex Code
16378 status collapsed
16379
16380 \begin_layout Plain Layout
16381
16382 \emph on
16383 0
16384 \end_layout
16385
16386 \end_inset
16387
16388 ,
16389 \begin_inset space \thinspace{}
16390 \end_inset
16391
16392
16393 \begin_inset Flex Code
16394 status collapsed
16395
16396 \begin_layout Plain Layout
16397 1
16398 \end_layout
16399
16400 \end_inset
16401
16402 ] このレイアウトによって生成される
16403 \begin_inset Flex Code
16404 status collapsed
16405
16406 \begin_layout Plain Layout
16407 BabelPreamble
16408 \end_layout
16409
16410 \end_inset
16411
16412 および
16413 \begin_inset Flex Code
16414 status collapsed
16415
16416 \begin_layout Plain Layout
16417 LangPreamble
16418 \end_layout
16419
16420 \end_inset
16421
16422 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
16423 \family typewriter
16424 listings
16425 \family default
16426 のように,
16427 \family sans
16428 utf8
16429 \family default
16430 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
16431 パッケージのために必要です.この設定は,Xe\SpecialChar TeX
16432 やLua\SpecialChar TeX
16433 のようなUnicodeを完全に解する\SpecialChar LaTeX
16434 バックエンドを使用してい
16435 る場合には,無視されます.
16436 \end_layout
16437
16438 \begin_layout Description
16439 \begin_inset Flex Code
16440 status collapsed
16441
16442 \begin_layout Plain Layout
16443 ForceLocalFontSwitch
16444 \end_layout
16445
16446 \end_inset
16447
16448  [
16449 \begin_inset Flex Code
16450 status collapsed
16451
16452 \begin_layout Plain Layout
16453
16454 \emph on
16455 0
16456 \end_layout
16457
16458 \end_inset
16459
16460 ,
16461 \begin_inset space \thinspace{}
16462 \end_inset
16463
16464
16465 \begin_inset Flex Code
16466 status collapsed
16467
16468 \begin_layout Plain Layout
16469 1
16470 \end_layout
16471
16472 \end_inset
16473
16474 ] babel使用時に,常にローカルフォント切替(
16475 \begin_inset Flex Code
16476 status collapsed
16477
16478 \begin_layout Plain Layout
16479
16480 \backslash
16481 foreignlanguage
16482 \end_layout
16483
16484 \end_inset
16485
16486 )を使い,グローバル切替(
16487 \begin_inset Flex Code
16488 status collapsed
16489
16490 \begin_layout Plain Layout
16491
16492 \backslash
16493 selectlanguage
16494 \end_layout
16495
16496 \end_inset
16497
16498 など)は使わない.
16499 \end_layout
16500
16501 \begin_layout Description
16502 \begin_inset Flex Code
16503 status collapsed
16504
16505 \begin_layout Plain Layout
16506 ForceLTR
16507 \end_layout
16508
16509 \end_inset
16510
16511  [
16512 \begin_inset Flex Code
16513 status collapsed
16514
16515 \begin_layout Plain Layout
16516
16517 \emph on
16518 0
16519 \end_layout
16520
16521 \end_inset
16522
16523 ,
16524 \begin_inset space \thinspace{}
16525 \end_inset
16526
16527
16528 \begin_inset Flex Code
16529 status collapsed
16530
16531 \begin_layout Plain Layout
16532 1
16533 \end_layout
16534
16535 \end_inset
16536
16537 ] たとえば\SpecialChar TeX
16538 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
16539 \end_layout
16540
16541 \begin_layout Description
16542 \begin_inset Flex Code
16543 status collapsed
16544
16545 \begin_layout Plain Layout
16546 ForceOwnlines
16547 \end_layout
16548
16549 \end_inset
16550
16551  [
16552 \begin_inset Flex Code
16553 status collapsed
16554
16555 \begin_layout Plain Layout
16556
16557 \emph on
16558 0
16559 \end_layout
16560
16561 \end_inset
16562
16563 ,
16564 \begin_inset space \thinspace{}
16565 \end_inset
16566
16567
16568 \begin_inset Flex Code
16569 status collapsed
16570
16571 \begin_layout Plain Layout
16572 1
16573 \end_layout
16574
16575 \end_inset
16576
16577 ] \SpecialChar LaTeX
16578 出力において,この差込枠が開始する前と終了する後に,改行を強制します.これは,解析上の目的のために,差込枠が単独行に出力されるように保証します.
16579 \end_layout
16580
16581 \begin_layout Description
16582 \begin_inset Flex Code
16583 status collapsed
16584
16585 \begin_layout Plain Layout
16586 ForcePlain
16587 \end_layout
16588
16589 \end_inset
16590
16591  [
16592 \begin_inset Flex Code
16593 status collapsed
16594
16595 \begin_layout Plain Layout
16596
16597 \emph on
16598 0
16599 \end_layout
16600
16601 \end_inset
16602
16603 ,
16604 \begin_inset space \thinspace{}
16605 \end_inset
16606
16607
16608 \begin_inset Flex Code
16609 status collapsed
16610
16611 \begin_layout Plain Layout
16612 1
16613 \end_layout
16614
16615 \end_inset
16616
16617 ] PlainLayoutを使用するべきなのか,それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
16618 \end_layout
16619
16620 \begin_layout Description
16621 \begin_inset Flex Code
16622 status collapsed
16623
16624 \begin_layout Plain Layout
16625 FreeSpacing
16626 \end_layout
16627
16628 \end_inset
16629
16630  [
16631 \emph on
16632
16633 \begin_inset Flex Code
16634 status collapsed
16635
16636 \begin_layout Plain Layout
16637 0
16638 \end_layout
16639
16640 \end_inset
16641
16642
16643 \emph default
16644 ,
16645 \begin_inset space \thinspace{}
16646 \end_inset
16647
16648
16649 \begin_inset Flex Code
16650 status collapsed
16651
16652 \begin_layout Plain Layout
16653 1
16654 \end_layout
16655
16656 \end_inset
16657
16658 ] 段落様式と同様.第
16659 \begin_inset CommandInset ref
16660 LatexCommand ref
16661 reference "subsec:段落様式"
16662
16663 \end_inset
16664
16665 節参照.
16666 \end_layout
16667
16668 \begin_layout Description
16669 \begin_inset Flex Code
16670 status collapsed
16671
16672 \begin_layout Plain Layout
16673 HTML*
16674 \end_layout
16675
16676 \end_inset
16677
16678  これらは,XHTML出力で使用されます.第
16679 \begin_inset CommandInset ref
16680 LatexCommand ref
16681 reference "sec:XHTML出力のタグ"
16682
16683 \end_inset
16684
16685 節をご覧ください.
16686 \end_layout
16687
16688 \begin_layout Description
16689 \begin_inset Flex Code
16690 status collapsed
16691
16692 \begin_layout Plain Layout
16693 InToc
16694 \end_layout
16695
16696 \end_inset
16697
16698  [
16699 \begin_inset Flex Code
16700 status collapsed
16701
16702 \begin_layout Plain Layout
16703
16704 \emph on
16705 0
16706 \end_layout
16707
16708 \end_inset
16709
16710 ,
16711 \begin_inset space \thinspace{}
16712 \end_inset
16713
16714
16715 \begin_inset Flex Code
16716 status collapsed
16717
16718 \begin_layout Plain Layout
16719 1
16720 \end_layout
16721
16722 \end_inset
16723
16724 ] AddToTocの設定に関わらず,「文書構造」面用に出力される文字列に,この差込枠の内容を含めるかどうか.たとえば,節見出しの脚註の内容が,文書構造の目次に
16725 表示されることは望まないでしょうが,通常,文字様式の内容は表示されることを望むでしょう.既定値は偽,すなわち含めません.
16726 \end_layout
16727
16728 \begin_layout Description
16729 \begin_inset Flex Code
16730 status collapsed
16731
16732 \begin_layout Plain Layout
16733 IsTocCaption
16734 \end_layout
16735
16736 \end_inset
16737
16738  [
16739 \begin_inset Flex Code
16740 status collapsed
16741
16742 \begin_layout Plain Layout
16743
16744 \emph on
16745 0
16746 \end_layout
16747
16748 \end_inset
16749
16750 ,
16751 \begin_inset space \thinspace{}
16752 \end_inset
16753
16754
16755 \begin_inset Flex Code
16756 status collapsed
16757
16758 \begin_layout Plain Layout
16759 1
16760 \end_layout
16761
16762 \end_inset
16763
16764 ] AddToTocが有効なときに,これが1に設定されていると,差込枠の内容の要約が,目次項目に表示されます.0の場合は,ラベルのみが表示されます.
16765 \end_layout
16766
16767 \begin_layout Description
16768 \begin_inset Flex Code
16769 status collapsed
16770
16771 \begin_layout Plain Layout
16772 KeepEmpty
16773 \end_layout
16774
16775 \end_inset
16776
16777  [
16778 \emph on
16779
16780 \begin_inset Flex Code
16781 status collapsed
16782
16783 \begin_layout Plain Layout
16784 0
16785 \end_layout
16786
16787 \end_inset
16788
16789
16790 \emph default
16791 ,
16792 \begin_inset space \thinspace{}
16793 \end_inset
16794
16795
16796 \begin_inset Flex Code
16797 status collapsed
16798
16799 \begin_layout Plain Layout
16800 1
16801 \end_layout
16802
16803 \end_inset
16804
16805 ] 段落様式と同様.第
16806 \begin_inset CommandInset ref
16807 LatexCommand ref
16808 reference "subsec:段落様式"
16809
16810 \end_inset
16811
16812 節参照.
16813 \end_layout
16814
16815 \begin_layout Description
16816 \begin_inset Flex Code
16817 status collapsed
16818
16819 \begin_layout Plain Layout
16820 LabelFont
16821 \end_layout
16822
16823 \end_inset
16824
16825  ラベルに使用されるフォント.第
16826 \begin_inset CommandInset ref
16827 LatexCommand ref
16828 reference "subsec:フォント指定"
16829
16830 \end_inset
16831
16832 節を参照.非効率を回避するため,この定義は
16833 \begin_inset Flex Code
16834 status collapsed
16835
16836 \begin_layout Plain Layout
16837 Font
16838 \end_layout
16839
16840 \end_inset
16841
16842 の前には決して現れてはなりません.
16843 \end_layout
16844
16845 \begin_layout Description
16846 \begin_inset Flex Code
16847 status collapsed
16848
16849 \begin_layout Plain Layout
16850 LabelString
16851 \end_layout
16852
16853 \end_inset
16854
16855  [
16856 \begin_inset Flex Code
16857 status collapsed
16858
16859 \begin_layout Plain Layout
16860 文字列
16861 \end_layout
16862
16863 \end_inset
16864
16865 =
16866 \begin_inset Quotes erd
16867 \end_inset
16868
16869
16870 \begin_inset Quotes erd
16871 \end_inset
16872
16873 ]
16874 \lang english
16875  
16876 \lang japanese
16877 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
16878 コードや派生枝),ラベルが動的に変更されます.
16879 \end_layout
16880
16881 \begin_layout Description
16882 \begin_inset Flex Code
16883 status collapsed
16884
16885 \begin_layout Plain Layout
16886 LangPreamble
16887 \end_layout
16888
16889 \end_inset
16890
16891  言語依存のプリアンブル.第
16892 \begin_inset CommandInset ref
16893 LatexCommand ref
16894 reference "subsec:段落様式の国際化"
16895
16896 \end_inset
16897
16898 節参照.
16899 \end_layout
16900
16901 \begin_layout Description
16902 \begin_inset Flex Code
16903 status collapsed
16904
16905 \begin_layout Plain Layout
16906 LatexName
16907 \end_layout
16908
16909 \end_inset
16910
16911  [
16912 \begin_inset Flex Code
16913 status collapsed
16914
16915 \begin_layout Plain Layout
16916 <名称>
16917 \end_layout
16918
16919 \end_inset
16920
16921 ] 対応する\SpecialChar LaTeX
16922 関連物の名称.環境名ないしはコマンド名.
16923 \end_layout
16924
16925 \begin_layout Description
16926 \begin_inset Flex Code
16927 status collapsed
16928
16929 \begin_layout Plain Layout
16930 LatexParam
16931 \end_layout
16932
16933 \end_inset
16934
16935  [
16936 \begin_inset Flex Code
16937 status collapsed
16938
16939 \begin_layout Plain Layout
16940 <パラメータ>
16941 \end_layout
16942
16943 \end_inset
16944
16945 ]
16946 \lang english
16947  
16948 \lang japanese
16949 対応する
16950 \begin_inset Flex Code
16951 status collapsed
16952
16953 \begin_layout Plain Layout
16954 LatexName
16955 \end_layout
16956
16957 \end_inset
16958
16959 関連物の非必須パラメータ.
16960 \begin_inset Flex Code
16961 status collapsed
16962
16963 \begin_layout Plain Layout
16964 []
16965 \end_layout
16966
16967 \end_inset
16968
16969 のような括弧対を含む.このパラメータは\SpecialChar LyX
16970 内部から変更することはできません(変更可能なパラメータには
16971 \begin_inset Flex Code
16972 status collapsed
16973
16974 \begin_layout Plain Layout
16975 Argument
16976 \end_layout
16977
16978 \end_inset
16979
16980 を使用してください).これは,全ての\SpecialChar LaTeX
16981  
16982 \begin_inset Flex Code
16983 status collapsed
16984
16985 \begin_layout Plain Layout
16986 Argument
16987 \end_layout
16988
16989 \end_inset
16990
16991 の後にそのままの形で出力されます.
16992 \end_layout
16993
16994 \begin_layout Description
16995 \begin_inset Flex Code
16996 status collapsed
16997
16998 \begin_layout Plain Layout
16999 LatexType
17000 \end_layout
17001
17002 \end_inset
17003
17004  [
17005 \begin_inset Flex Code
17006 status collapsed
17007
17008 \begin_layout Plain Layout
17009 Command, Environment, None
17010 \end_layout
17011
17012 \end_inset
17013
17014 ] 様式がどのように\SpecialChar LaTeX
17015 に変換されるべきかを示します
17016 \begin_inset Foot
17017 status collapsed
17018
17019 \begin_layout Plain Layout
17020 これらのルールはSGMLクラスにも適用されるので,
17021 \begin_inset Flex Code
17022 status collapsed
17023
17024 \begin_layout Plain Layout
17025 LatexType
17026 \end_layout
17027
17028 \end_inset
17029
17030 の名称は,少しミスリーディングかもしれません.特定の例については,SGMLクラスファイルを見てください.
17031 \end_layout
17032
17033 \end_inset
17034
17035
17036 \end_layout
17037
17038 \begin_deeper
17039 \begin_layout Description
17040 \begin_inset Flex Code
17041 status collapsed
17042
17043 \begin_layout Plain Layout
17044 None
17045 \end_layout
17046
17047 \end_inset
17048
17049  は,何も特別なことは意味しません
17050 \end_layout
17051
17052 \begin_layout Description
17053 \begin_inset Flex Code
17054 status collapsed
17055
17056 \begin_layout Plain Layout
17057 Command
17058 \end_layout
17059
17060 \end_inset
17061
17062  は,
17063 \begin_inset Flex Code
17064 status collapsed
17065
17066 \begin_layout Plain Layout
17067
17068 \backslash
17069
17070 \emph on
17071 LatexName
17072 \emph default
17073 {\SpecialChar ldots
17074 }
17075 \end_layout
17076
17077 \end_inset
17078
17079 を意味します
17080 \end_layout
17081
17082 \begin_layout Description
17083 \begin_inset Flex Code
17084 status collapsed
17085
17086 \begin_layout Plain Layout
17087 Environment
17088 \end_layout
17089
17090 \end_inset
17091
17092  は,
17093 \begin_inset Flex Code
17094 status collapsed
17095
17096 \begin_layout Plain Layout
17097
17098 \backslash
17099 begin{
17100 \emph on
17101 LatexName
17102 \emph default
17103 }\SpecialChar ldots
17104
17105 \backslash
17106 end{
17107 \emph on
17108 LatexName
17109 \emph default
17110 }
17111 \end_layout
17112
17113 \end_inset
17114
17115 を意味します
17116 \end_layout
17117
17118 \begin_layout Standard
17119 上記最後のいくつかをまとめると,\SpecialChar LaTeX
17120 出力は,\SpecialChar LaTeX
17121 型に依存して
17122 \end_layout
17123
17124 \begin_layout LyX-Code
17125
17126 \backslash
17127 LatexName[LatexParam]{\SpecialChar ldots
17128 }
17129 \end_layout
17130
17131 \begin_layout Standard
17132 のようになるか,
17133 \end_layout
17134
17135 \begin_layout LyX-Code
17136
17137 \backslash
17138 begin{LatexName}[LatexParam] \SpecialChar ldots
17139  
17140 \backslash
17141 end{LatexName}.
17142 \end_layout
17143
17144 \begin_layout Standard
17145 となります.
17146 \end_layout
17147
17148 \end_deeper
17149 \begin_layout Description
17150 \begin_inset Flex Code
17151 status collapsed
17152
17153 \begin_layout Plain Layout
17154 LeftDelim
17155 \end_layout
17156
17157 \end_inset
17158
17159  [
17160 \begin_inset Flex Code
17161 status collapsed
17162
17163 \begin_layout Plain Layout
17164 文字列
17165 \end_layout
17166
17167 \end_inset
17168
17169 ] 様式の内容の最初に置かれる文字列.出力中の改行は
17170 \begin_inset Flex Code
17171 status collapsed
17172
17173 \begin_layout Plain Layout
17174 <br/>
17175 \end_layout
17176
17177 \end_inset
17178
17179 で指示できます.
17180 \end_layout
17181
17182 \begin_layout Description
17183 \begin_inset Flex Code
17184 status collapsed
17185
17186 \begin_layout Plain Layout
17187 LyxType
17188 \end_layout
17189
17190 \end_inset
17191
17192  
17193 \begin_inset Flex Code
17194 status collapsed
17195
17196 \begin_layout Plain Layout
17197 charstyle
17198 \end_layout
17199
17200 \end_inset
17201
17202
17203 \begin_inset Flex Code
17204 status collapsed
17205
17206 \begin_layout Plain Layout
17207 custom
17208 \end_layout
17209
17210 \end_inset
17211
17212
17213 \begin_inset Flex Code
17214 status collapsed
17215
17216 \begin_layout Plain Layout
17217 element
17218 \end_layout
17219
17220 \end_inset
17221
17222
17223 \begin_inset Flex Code
17224 status collapsed
17225
17226 \begin_layout Plain Layout
17227 end
17228 \end_layout
17229
17230 \end_inset
17231
17232 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,自由差込枠に必須であり,かつ自由差込枠でしか意味を持ちません.こ
17233 の項目は,就中,差込枠がどのメニューに表示されるかを決定します.
17234 \begin_inset Flex Code
17235 status collapsed
17236
17237 \begin_layout Plain Layout
17238 LyxType
17239 \end_layout
17240
17241 \end_inset
17242
17243
17244 \begin_inset Flex Code
17245 status collapsed
17246
17247 \begin_layout Plain Layout
17248 charstyle
17249 \end_layout
17250
17251 \end_inset
17252
17253 に設定すると,
17254 \begin_inset Flex Code
17255 status collapsed
17256
17257 \begin_layout Plain Layout
17258 MultiPar
17259 \end_layout
17260
17261 \end_inset
17262
17263 が偽に設定されます
17264 \lang english
17265  and 
17266 \lang japanese
17267
17268 \begin_inset Flex Code
17269 status collapsed
17270
17271 \begin_layout Plain Layout
17272 ForcePlain
17273 \end_layout
17274
17275 \end_inset
17276
17277
17278 \lang english
17279  to true
17280 \lang japanese
17281 .文字様式差込枠で
17282 \begin_inset Flex Code
17283 status collapsed
17284
17285 \begin_layout Plain Layout
17286 MultiPar
17287 \end_layout
17288
17289 \end_inset
17290
17291 を真にしたい時には
17292 \lang english
17293 , or 
17294 \lang japanese
17295
17296 \begin_inset Flex Code
17297 status collapsed
17298
17299 \begin_layout Plain Layout
17300 ForcePlain
17301 \end_layout
17302
17303 \end_inset
17304
17305
17306 \lang english
17307  to false
17308 \lang japanese
17309
17310 \begin_inset Flex Code
17311 status collapsed
17312
17313 \begin_layout Plain Layout
17314 LyxType
17315 \end_layout
17316
17317 \end_inset
17318
17319 を設定した
17320 \emph on
17321 後に
17322 \emph default
17323 設定すれば,真に設定することができます.
17324 \end_layout
17325
17326 \begin_layout Description
17327 \begin_inset Flex Code
17328 status collapsed
17329
17330 \begin_layout Plain Layout
17331 MultiPar
17332 \end_layout
17333
17334 \end_inset
17335
17336  [
17337 \begin_inset Flex Code
17338 status collapsed
17339
17340 \begin_layout Plain Layout
17341
17342 \emph on
17343 0
17344 \end_layout
17345
17346 \end_inset
17347
17348 ,
17349 \begin_inset space \thinspace{}
17350 \end_inset
17351
17352
17353 \begin_inset Flex Code
17354 status collapsed
17355
17356 \begin_layout Plain Layout
17357 1
17358 \end_layout
17359
17360 \end_inset
17361
17362 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
17363 \begin_inset Flex Code
17364 status collapsed
17365
17366 \begin_layout Plain Layout
17367 CustomPars
17368 \end_layout
17369
17370 \end_inset
17371
17372 を同じ値に設定し,
17373 \begin_inset Flex Code
17374 status collapsed
17375
17376 \begin_layout Plain Layout
17377 ForcePlain
17378 \end_layout
17379
17380 \end_inset
17381
17382 を逆の値に設定します.これらは,
17383 \begin_inset Flex Code
17384 status collapsed
17385
17386 \begin_layout Plain Layout
17387 MultiPar
17388 \end_layout
17389
17390 \end_inset
17391
17392
17393 \emph on
17394 後に
17395 \emph default
17396 指定されれば,他の値に指定し直すことができます.既定値は真です.
17397 \end_layout
17398
17399 \begin_layout Description
17400 \begin_inset Flex Code
17401 status collapsed
17402
17403 \begin_layout Plain Layout
17404 NeedProtect
17405 \end_layout
17406
17407 \end_inset
17408
17409  [
17410 \begin_inset Flex Code
17411 status collapsed
17412
17413 \begin_layout Plain Layout
17414
17415 \emph on
17416 0
17417 \end_layout
17418
17419 \end_inset
17420
17421 ,
17422 \begin_inset space \thinspace{}
17423 \end_inset
17424
17425
17426 \begin_inset Flex Code
17427 status collapsed
17428
17429 \begin_layout Plain Layout
17430 1
17431 \end_layout
17432
17433 \end_inset
17434
17435 ] 本レイアウト中で脆弱なコマンドを
17436 \begin_inset Flex Code
17437 status collapsed
17438
17439 \begin_layout Plain Layout
17440
17441 \backslash
17442 protect
17443 \end_layout
17444
17445 \end_inset
17446
17447 するか否か(註:当該コマンド自身をprotectするかどうかでは
17448 \emph on
17449 ありません
17450 \emph default
17451 ).既定値は偽です.
17452 \end_layout
17453
17454 \begin_layout Description
17455 \begin_inset Flex Code
17456 status collapsed
17457
17458 \begin_layout Plain Layout
17459 NoInsetLayout
17460 \end_layout
17461
17462 \end_inset
17463
17464  [
17465 \begin_inset Flex Code
17466 status collapsed
17467
17468 \begin_layout Plain Layout
17469 <レイアウト>
17470 \end_layout
17471
17472 \end_inset
17473
17474 ] 既存の
17475 \begin_inset Flex Code
17476 status collapsed
17477
17478 \begin_layout Plain Layout
17479 InsetLayout
17480 \end_layout
17481
17482 \end_inset
17483
17484 を削除します.
17485 \end_layout
17486
17487 \begin_layout Description
17488 \begin_inset Flex Code
17489 status collapsed
17490
17491 \begin_layout Plain Layout
17492 ObsoletedBy
17493 \end_layout
17494
17495 \end_inset
17496
17497  [
17498 \begin_inset Flex Code
17499 status collapsed
17500
17501 \begin_layout Plain Layout
17502 <レイアウト>
17503 \end_layout
17504
17505 \end_inset
17506
17507 ] この古い
17508 \begin_inset Flex Code
17509 status collapsed
17510
17511 \begin_layout Plain Layout
17512 InsetLayout
17513 \end_layout
17514
17515 \end_inset
17516
17517 を引き継いだ
17518 \begin_inset Flex Code
17519 status collapsed
17520
17521 \begin_layout Plain Layout
17522 InsetLayout
17523 \end_layout
17524
17525 \end_inset
17526
17527 の名称.これは,
17528 \begin_inset Flex Code
17529 status collapsed
17530
17531 \begin_layout Plain Layout
17532 InsetLayout
17533 \end_layout
17534
17535 \end_inset
17536
17537 の改名を,後方互換性を維持しながら行うために用いられます.
17538 \end_layout
17539
17540 \begin_layout Description
17541 \begin_inset Flex Code
17542 status collapsed
17543
17544 \begin_layout Plain Layout
17545 ParbreakIsNewline
17546 \end_layout
17547
17548 \end_inset
17549
17550  [
17551 \begin_inset Flex Code
17552 status collapsed
17553
17554 \begin_layout Plain Layout
17555
17556 \emph on
17557 0
17558 \end_layout
17559
17560 \end_inset
17561
17562 ,
17563 \begin_inset space \thinspace{}
17564 \end_inset
17565
17566
17567 \begin_inset Flex Code
17568 status collapsed
17569
17570 \begin_layout Plain Layout
17571 1
17572 \end_layout
17573
17574 \end_inset
17575
17576 ] 段落様式と同様.第
17577 \begin_inset CommandInset ref
17578 LatexCommand ref
17579 reference "subsec:段落様式"
17580
17581 \end_inset
17582
17583 節参照.
17584 \end_layout
17585
17586 \begin_layout Description
17587 \begin_inset Flex Code
17588 status collapsed
17589
17590 \begin_layout Plain Layout
17591 PassThru
17592 \end_layout
17593
17594 \end_inset
17595
17596  [
17597 \emph on
17598
17599 \begin_inset Flex Code
17600 status collapsed
17601
17602 \begin_layout Plain Layout
17603 0
17604 \end_layout
17605
17606 \end_inset
17607
17608
17609 \emph default
17610 ,
17611 \begin_inset space \thinspace{}
17612 \end_inset
17613
17614
17615 \begin_inset Flex Code
17616 status collapsed
17617
17618 \begin_layout Plain Layout
17619 1
17620 \end_layout
17621
17622 \end_inset
17623
17624 ] 段落様式と同様.第
17625 \begin_inset CommandInset ref
17626 LatexCommand ref
17627 reference "subsec:段落様式"
17628
17629 \end_inset
17630
17631 節参照.
17632 \end_layout
17633
17634 \begin_layout Description
17635 \begin_inset Flex Code
17636 status collapsed
17637
17638 \begin_layout Plain Layout
17639 Preamble
17640 \end_layout
17641
17642 \end_inset
17643
17644  段落様式と同様.第
17645 \begin_inset CommandInset ref
17646 LatexCommand ref
17647 reference "subsec:段落様式"
17648
17649 \end_inset
17650
17651 節参照.
17652 \end_layout
17653
17654 \begin_layout Description
17655 \begin_inset Flex Code
17656 status collapsed
17657
17658 \begin_layout Plain Layout
17659 RefPrefix
17660 \end_layout
17661
17662 \end_inset
17663
17664  [
17665 \begin_inset Flex Code
17666 status collapsed
17667
17668 \begin_layout Plain Layout
17669 文字列
17670 \end_layout
17671
17672 \end_inset
17673
17674 ] この型の差込枠を参照する際,生成されるラベルに使用する前置句.これによって,整形参照を使用することができるようになります.
17675 \end_layout
17676
17677 \begin_layout Description
17678 \begin_inset Flex Code
17679 status collapsed
17680
17681 \begin_layout Plain Layout
17682 Requires
17683 \end_layout
17684
17685 \end_inset
17686
17687  [
17688 \begin_inset Flex Code
17689 status collapsed
17690
17691 \begin_layout Plain Layout
17692 文字列
17693 \end_layout
17694
17695 \end_inset
17696
17697 ] 段落様式と同様.第
17698 \begin_inset CommandInset ref
17699 LatexCommand ref
17700 reference "subsec:段落様式"
17701
17702 \end_inset
17703
17704 節参照.
17705 \end_layout
17706
17707 \begin_layout Description
17708 \begin_inset Flex Code
17709 status collapsed
17710
17711 \begin_layout Plain Layout
17712 ResetArgs
17713 \end_layout
17714
17715 \end_inset
17716
17717  [
17718 \begin_inset Flex Code
17719 status collapsed
17720
17721 \begin_layout Plain Layout
17722
17723 \emph on
17724 0
17725 \end_layout
17726
17727 \end_inset
17728
17729 ,
17730 \begin_inset space \thinspace{}
17731 \end_inset
17732
17733
17734 \begin_inset Flex Code
17735 status collapsed
17736
17737 \begin_layout Plain Layout
17738 1
17739 \end_layout
17740
17741 \end_inset
17742
17743 ] (
17744 \begin_inset Flex Code
17745 status collapsed
17746
17747 \begin_layout Plain Layout
17748 Argument
17749 \end_layout
17750
17751 \end_inset
17752
17753 タグで定義された)この様式の\SpecialChar LaTeX
17754 引数をリセットします.これは,様式を
17755 \begin_inset Flex Code
17756 status collapsed
17757
17758 \begin_layout Plain Layout
17759 CopyStyle
17760 \end_layout
17761
17762 \end_inset
17763
17764 でコピーし,その(必須及び非必須)引数は継承したくない場合に便利です.
17765 \end_layout
17766
17767 \begin_layout Description
17768 \begin_inset Flex Code
17769 status collapsed
17770
17771 \begin_layout Plain Layout
17772 ResetsFont
17773 \end_layout
17774
17775 \end_inset
17776
17777  [
17778 \begin_inset Flex Code
17779 status collapsed
17780
17781 \begin_layout Plain Layout
17782 0
17783 \end_layout
17784
17785 \end_inset
17786
17787 ,
17788 \begin_inset space \thinspace{}
17789 \end_inset
17790
17791
17792 \begin_inset Flex Code
17793 status collapsed
17794
17795 \begin_layout Plain Layout
17796
17797 \emph on
17798 1
17799 \end_layout
17800
17801 \end_inset
17802
17803 ] この差込枠が周囲の環境と同じフォントを用いるか,独自のフォントを用いるか.既定値は真,すなわち独自のフォントを用います.
17804 \begin_inset Note Note
17805 status open
17806
17807 \begin_layout Plain Layout
17808 This is outdated: The default changed from 1 to 0
17809 \end_layout
17810
17811 \end_inset
17812
17813
17814 \end_layout
17815
17816 \begin_layout Description
17817 \begin_inset Flex Code
17818 status collapsed
17819
17820 \begin_layout Plain Layout
17821 RightDelim
17822 \end_layout
17823
17824 \end_inset
17825
17826  [
17827 \begin_inset Flex Code
17828 status collapsed
17829
17830 \begin_layout Plain Layout
17831 文字列
17832 \end_layout
17833
17834 \end_inset
17835
17836 ] 様式の内容の最後に置かれる文字列.出力中の改行は
17837 \begin_inset Flex Code
17838 status collapsed
17839
17840 \begin_layout Plain Layout
17841 <br/>
17842 \end_layout
17843
17844 \end_inset
17845
17846 で指示できます.
17847 \end_layout
17848
17849 \begin_layout Description
17850 \begin_inset Flex Code
17851 status collapsed
17852
17853 \begin_layout Plain Layout
17854 Spellcheck
17855 \end_layout
17856
17857 \end_inset
17858
17859  [
17860 \begin_inset Flex Code
17861 status collapsed
17862
17863 \begin_layout Plain Layout
17864 0
17865 \end_layout
17866
17867 \end_inset
17868
17869 ,
17870 \begin_inset space \thinspace{}
17871 \end_inset
17872
17873
17874 \begin_inset Flex Code
17875 status collapsed
17876
17877 \begin_layout Plain Layout
17878
17879 \emph on
17880 1
17881 \end_layout
17882
17883 \end_inset
17884
17885 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
17886 \end_layout
17887
17888 \begin_layout Subsection
17889 カウンタ
17890 \begin_inset CommandInset label
17891 LatexCommand label
17892 name "subsec:カウンタ"
17893
17894 \end_inset
17895
17896
17897 \end_layout
17898
17899 \begin_layout Standard
17900 テキストクラスには,カウンタ(
17901 \begin_inset Flex MenuItem
17902 status collapsed
17903
17904 \begin_layout Plain Layout
17905 chapter
17906 \end_layout
17907
17908 \end_inset
17909
17910
17911 \begin_inset Flex MenuItem
17912 status collapsed
17913
17914 \begin_layout Plain Layout
17915 figure
17916 \end_layout
17917
17918 \end_inset
17919
17920 ・\SpecialChar ldots
17921 )を定義することが必要です.標準的なカウンタは
17922 \begin_inset Flex Code
17923 status collapsed
17924
17925 \begin_layout Plain Layout
17926 stdcounters.inc
17927 \end_layout
17928
17929 \end_inset
17930
17931 ファイルに含まれているので,作業中のレイアウトファイルに
17932 \end_layout
17933
17934 \begin_layout LyX-Code
17935 Input stdcounters.inc
17936 \end_layout
17937
17938 \begin_layout Standard
17939 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,そうすることもできます.カウンタ宣言は,
17940 \end_layout
17941
17942 \begin_layout LyX-Code
17943 Counter カウンタ名
17944 \end_layout
17945
17946 \begin_layout Standard
17947 で始まらなくてはなりません.ここで「
17948 \begin_inset Flex Code
17949 status collapsed
17950
17951 \begin_layout Plain Layout
17952 カウンタ名
17953 \end_layout
17954
17955 \end_inset
17956
17957 」は,実際のカウンタ名で置き換えます.また,宣言は「
17958 \begin_inset Flex Code
17959 status collapsed
17960
17961 \begin_layout Plain Layout
17962 End
17963 \end_layout
17964
17965 \end_inset
17966
17967 」で終わらなくてはなりません.
17968 \end_layout
17969
17970 \begin_layout Standard
17971 以下のパラメータを使用することができます.
17972 \end_layout
17973
17974 \begin_layout Description
17975 \begin_inset Flex Code
17976 status collapsed
17977
17978 \begin_layout Plain Layout
17979 InitialValue
17980 \end_layout
17981
17982 \end_inset
17983
17984  [
17985 \begin_inset Flex Code
17986 status collapsed
17987
17988 \begin_layout Plain Layout
17989 整数=1
17990 \end_layout
17991
17992 \end_inset
17993
17994 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,既定値1のままで充分でしょう.
17995 \end_layout
17996
17997 \begin_layout Description
17998 \begin_inset Flex Code
17999 status collapsed
18000
18001 \begin_layout Plain Layout
18002 LabelString [文字列=""]
18003 \end_layout
18004
18005 \end_inset
18006
18007  定義されていると,ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
18008 \begin_inset Flex Code
18009 status collapsed
18010
18011 \begin_layout Plain Layout
18012 LabelStringAppendix
18013 \end_layout
18014
18015 \end_inset
18016
18017 も同じ値に設定されます.文字列中では,以下の構成要素を使用することができます.
18018 \end_layout
18019
18020 \begin_deeper
18021 \begin_layout Itemize
18022 \begin_inset Flex Code
18023 status collapsed
18024
18025 \begin_layout Plain Layout
18026
18027 \backslash
18028 thecounter
18029 \end_layout
18030
18031 \end_inset
18032
18033 は,カウンタ
18034 \begin_inset Flex Code
18035 status collapsed
18036
18037 \begin_layout Plain Layout
18038 counter
18039 \end_layout
18040
18041 \end_inset
18042
18043
18044 \begin_inset Flex Code
18045 status collapsed
18046
18047 \begin_layout Plain Layout
18048 LabelString
18049 \end_layout
18050
18051 \end_inset
18052
18053 (または
18054 \begin_inset Newline linebreak
18055 \end_inset
18056
18057
18058 \begin_inset Flex Code
18059 status collapsed
18060
18061 \begin_layout Plain Layout
18062 LabelStringAppendix
18063 \end_layout
18064
18065 \end_inset
18066
18067 )を展開したもので置き換えられます. 
18068 \end_layout
18069
18070 \begin_layout Itemize
18071 カウンタ値は,\SpecialChar LaTeX
18072 型マクロ
18073 \begin_inset Flex Code
18074 status collapsed
18075
18076 \begin_layout Plain Layout
18077
18078 \backslash
18079
18080 \emph on
18081 numbertype
18082 \emph default
18083 {
18084 \emph on
18085 カウンタ
18086 \emph default
18087 }
18088 \end_layout
18089
18090 \end_inset
18091
18092 を用いて表現することができます.ここで
18093 \begin_inset Flex Code
18094 status collapsed
18095
18096 \begin_layout Plain Layout
18097
18098 \emph on
18099 numbertype
18100 \end_layout
18101
18102 \end_inset
18103
18104 は以下のいずれかです.
18105 \begin_inset Flex Code
18106 status collapsed
18107
18108 \begin_layout Plain Layout
18109 arabic
18110 \end_layout
18111
18112 \end_inset
18113
18114 :1, 2, 3,\SpecialChar ldots
18115
18116 \begin_inset Flex Code
18117 status collapsed
18118
18119 \begin_layout Plain Layout
18120 alph
18121 \end_layout
18122
18123 \end_inset
18124
18125 :a, b, c, \SpecialChar ldots
18126 (小文字);
18127 \begin_inset Flex Code
18128 status collapsed
18129
18130 \begin_layout Plain Layout
18131 Alph
18132 \end_layout
18133
18134 \end_inset
18135
18136 :A, B, C, \SpecialChar ldots
18137 (大文字);
18138 \begin_inset Flex Code
18139 status collapsed
18140
18141 \begin_layout Plain Layout
18142 roman
18143 \end_layout
18144
18145 \end_inset
18146
18147 :i, ii, iii, \SpecialChar ldots
18148 (小文字ローマ数字);
18149 \begin_inset Flex Code
18150 status collapsed
18151
18152 \begin_layout Plain Layout
18153 Roman
18154 \end_layout
18155
18156 \end_inset
18157
18158 :I, II, III\SpecialChar ldots
18159 (大文字ローマ数字).
18160 \end_layout
18161
18162 \end_deeper
18163 \begin_layout Standard
18164 \begin_inset Flex Code
18165 status collapsed
18166
18167 \begin_layout Plain Layout
18168 LabelString
18169 \end_layout
18170
18171 \end_inset
18172
18173 が定義されていないときは,既定値は以下のように組み立てられます.このカウンタに親カウンタ
18174 \begin_inset Flex Code
18175 status collapsed
18176
18177 \begin_layout Plain Layout
18178 master
18179 \end_layout
18180
18181 \end_inset
18182
18183
18184 \begin_inset Flex Code
18185 status collapsed
18186
18187 \begin_layout Plain Layout
18188 Within
18189 \end_layout
18190
18191 \end_inset
18192
18193 で定義)があるときには,文字列
18194 \begin_inset Newline linebreak
18195 \end_inset
18196
18197
18198 \begin_inset Flex Code
18199 status collapsed
18200
18201 \begin_layout Plain Layout
18202
18203 \backslash
18204 themaster.
18205 \backslash
18206 arabic{カウンタ}
18207 \end_layout
18208
18209 \end_inset
18210
18211 が使用されます.それ以外の場合は,
18212 \begin_inset Flex Code
18213 status collapsed
18214
18215 \begin_layout Plain Layout
18216
18217 \backslash
18218 arabic{カウンタ}
18219 \end_layout
18220
18221 \end_inset
18222
18223 が使用されます.
18224 \end_layout
18225
18226 \begin_layout Description
18227 \begin_inset Flex Code
18228 status collapsed
18229
18230 \begin_layout Plain Layout
18231 LabelStringAppendix
18232 \end_layout
18233
18234 \end_inset
18235
18236  [
18237 \begin_inset Flex Code
18238 status collapsed
18239
18240 \begin_layout Plain Layout
18241 文字列
18242 \end_layout
18243
18244 \end_inset
18245
18246 =""] 
18247 \begin_inset Flex Code
18248 status collapsed
18249
18250 \begin_layout Plain Layout
18251 LabelString
18252 \end_layout
18253
18254 \end_inset
18255
18256 と同様ですが,付録で使用するためのものです.
18257 \end_layout
18258
18259 \begin_layout Description
18260 \begin_inset Flex Code
18261 status collapsed
18262
18263 \begin_layout Plain Layout
18264 PrettyFormat
18265 \end_layout
18266
18267 \end_inset
18268
18269  [
18270 \begin_inset Flex Code
18271 status collapsed
18272
18273 \begin_layout Plain Layout
18274 文字列
18275 \end_layout
18276
18277 \end_inset
18278
18279 =
18280 \begin_inset Quotes erd
18281 \end_inset
18282
18283
18284 \begin_inset Quotes erd
18285 \end_inset
18286
18287 ] このカウンタの整形参照で使用する書式.たとえば,節番号への参照を「Section
18288 \begin_inset space ~
18289 \end_inset
18290
18291 2.4」のように表示させたい場合には,文字列に「##」を含めます.これは,カウンタ番号で置換されます.したがって,節の場合には「Section ##」のようにしま
18292 す.
18293 \end_layout
18294
18295 \begin_layout Description
18296 \begin_inset Flex Code
18297 status collapsed
18298
18299 \begin_layout Plain Layout
18300 Within
18301 \end_layout
18302
18303 \end_inset
18304
18305  [
18306 \begin_inset Flex Code
18307 status collapsed
18308
18309 \begin_layout Plain Layout
18310 文字列
18311 \end_layout
18312
18313 \end_inset
18314
18315 =
18316 \begin_inset Quotes erd
18317 \end_inset
18318
18319
18320 \begin_inset Quotes erd
18321 \end_inset
18322
18323 ] これを別のカウンタ名に設定すると,現在のカウンタは,別のカウンタが増加する毎にリセットされます.たとえば,
18324 \begin_inset Flex Code
18325 status collapsed
18326
18327 \begin_layout Plain Layout
18328 subsection
18329 \end_layout
18330
18331 \end_inset
18332
18333
18334 \begin_inset Flex Code
18335 status collapsed
18336
18337 \begin_layout Plain Layout
18338 section
18339 \end_layout
18340
18341 \end_inset
18342
18343 毎に番号がリセットされます.
18344 \end_layout
18345
18346 \begin_layout Subsection
18347 フォント指定
18348 \begin_inset CommandInset label
18349 LatexCommand label
18350 name "subsec:フォント指定"
18351
18352 \end_inset
18353
18354
18355 \end_layout
18356
18357 \begin_layout Standard
18358 フォント指定は,以下のような形を取ります.
18359 \end_layout
18360
18361 \begin_layout LyX-Code
18362 Font 
18363 \family roman
18364 \emph on
18365 または
18366 \family default
18367 \emph default
18368  LabelFont 
18369 \family roman
18370 \emph on
18371 または
18372 \family default
18373 \emph default
18374  DefaultFont
18375 \end_layout
18376
18377 \begin_layout LyX-Code
18378  ...
18379 \end_layout
18380
18381 \begin_layout LyX-Code
18382 EndFont
18383 \end_layout
18384
18385 \begin_layout Standard
18386 以下のコマンドを使用することができます.
18387 \end_layout
18388
18389 \begin_layout Description
18390 \begin_inset Flex Code
18391 status collapsed
18392
18393 \begin_layout Plain Layout
18394 Color
18395 \end_layout
18396
18397 \end_inset
18398
18399  [
18400 \begin_inset Flex Code
18401 status collapsed
18402
18403 \begin_layout Plain Layout
18404
18405 \emph on
18406 none
18407 \end_layout
18408
18409 \end_inset
18410
18411
18412 \begin_inset Flex Code
18413 status collapsed
18414
18415 \begin_layout Plain Layout
18416 black
18417 \end_layout
18418
18419 \end_inset
18420
18421
18422 \begin_inset Flex Code
18423 status collapsed
18424
18425 \begin_layout Plain Layout
18426 white
18427 \end_layout
18428
18429 \end_inset
18430
18431
18432 \begin_inset Flex Code
18433 status collapsed
18434
18435 \begin_layout Plain Layout
18436 red
18437 \end_layout
18438
18439 \end_inset
18440
18441
18442 \begin_inset Flex Code
18443 status collapsed
18444
18445 \begin_layout Plain Layout
18446 green
18447 \end_layout
18448
18449 \end_inset
18450
18451
18452 \begin_inset Flex Code
18453 status collapsed
18454
18455 \begin_layout Plain Layout
18456 blue
18457 \end_layout
18458
18459 \end_inset
18460
18461
18462 \begin_inset Flex Code
18463 status collapsed
18464
18465 \begin_layout Plain Layout
18466 cyan
18467 \end_layout
18468
18469 \end_inset
18470
18471
18472 \begin_inset Flex Code
18473 status collapsed
18474
18475 \begin_layout Plain Layout
18476 magenta
18477 \end_layout
18478
18479 \end_inset
18480
18481
18482 \begin_inset Flex Code
18483 status collapsed
18484
18485 \begin_layout Plain Layout
18486 yellow
18487 \end_layout
18488
18489 \end_inset
18490
18491
18492 \begin_inset Flex Code
18493 status collapsed
18494
18495 \begin_layout Plain Layout
18496 brown
18497 \end_layout
18498
18499 \end_inset
18500
18501
18502 \begin_inset Flex Code
18503 status collapsed
18504
18505 \begin_layout Plain Layout
18506 darkgray
18507 \end_layout
18508
18509 \end_inset
18510
18511
18512 \begin_inset Flex Code
18513 status collapsed
18514
18515 \begin_layout Plain Layout
18516 gray
18517 \end_layout
18518
18519 \end_inset
18520
18521
18522 \begin_inset Flex Code
18523 status collapsed
18524
18525 \begin_layout Plain Layout
18526 lightgray
18527 \end_layout
18528
18529 \end_inset
18530
18531
18532 \begin_inset Flex Code
18533 status collapsed
18534
18535 \begin_layout Plain Layout
18536 lime
18537 \end_layout
18538
18539 \end_inset
18540
18541
18542 \begin_inset Flex Code
18543 status collapsed
18544
18545 \begin_layout Plain Layout
18546 orange
18547 \end_layout
18548
18549 \end_inset
18550
18551
18552 \begin_inset Flex Code
18553 status collapsed
18554
18555 \begin_layout Plain Layout
18556 olive
18557 \end_layout
18558
18559 \end_inset
18560
18561
18562 \begin_inset Flex Code
18563 status collapsed
18564
18565 \begin_layout Plain Layout
18566 pink
18567 \end_layout
18568
18569 \end_inset
18570
18571
18572 \begin_inset Flex Code
18573 status collapsed
18574
18575 \begin_layout Plain Layout
18576 purple
18577 \end_layout
18578
18579 \end_inset
18580
18581
18582 \begin_inset Flex Code
18583 status collapsed
18584
18585 \begin_layout Plain Layout
18586 teal
18587 \end_layout
18588
18589 \end_inset
18590
18591
18592 \begin_inset Flex Code
18593 status collapsed
18594
18595 \begin_layout Plain Layout
18596 violet
18597 \end_layout
18598
18599 \end_inset
18600
18601 ]
18602 \end_layout
18603
18604 \begin_layout Description
18605 \begin_inset Flex Code
18606 status collapsed
18607
18608 \begin_layout Plain Layout
18609 Family
18610 \end_layout
18611
18612 \end_inset
18613
18614  [
18615 \emph on
18616
18617 \begin_inset Flex Code
18618 status collapsed
18619
18620 \begin_layout Plain Layout
18621 Roman
18622 \end_layout
18623
18624 \end_inset
18625
18626
18627 \emph default
18628
18629 \begin_inset Flex Code
18630 status collapsed
18631
18632 \begin_layout Plain Layout
18633 Sans
18634 \end_layout
18635
18636 \end_inset
18637
18638
18639 \begin_inset Flex Code
18640 status collapsed
18641
18642 \begin_layout Plain Layout
18643 Typewriter
18644 \end_layout
18645
18646 \end_inset
18647
18648
18649 \end_layout
18650
18651 \begin_layout Description
18652 \begin_inset Flex Code
18653 status collapsed
18654
18655 \begin_layout Plain Layout
18656 Misc
18657 \end_layout
18658
18659 \end_inset
18660
18661  [
18662 \begin_inset Flex Code
18663 status collapsed
18664
18665 \begin_layout Plain Layout
18666 文字列
18667 \end_layout
18668
18669 \end_inset
18670
18671 ] 有効な引数は,
18672 \begin_inset Flex Code
18673 status collapsed
18674
18675 \begin_layout Plain Layout
18676 emph
18677 \end_layout
18678
18679 \end_inset
18680
18681
18682 \begin_inset Flex Code
18683 status collapsed
18684
18685 \begin_layout Plain Layout
18686 noun
18687 \end_layout
18688
18689 \end_inset
18690
18691
18692 \begin_inset Flex Code
18693 status collapsed
18694
18695 \begin_layout Plain Layout
18696 strikeout
18697 \end_layout
18698
18699 \end_inset
18700
18701
18702 \begin_inset Flex Code
18703 status collapsed
18704
18705 \begin_layout Plain Layout
18706 underbar
18707 \end_layout
18708
18709 \end_inset
18710
18711
18712 \begin_inset Flex Code
18713 status collapsed
18714
18715 \begin_layout Plain Layout
18716 uuline
18717 \end_layout
18718
18719 \end_inset
18720
18721
18722 \begin_inset Flex Code
18723 status collapsed
18724
18725 \begin_layout Plain Layout
18726 uwave
18727 \end_layout
18728
18729 \end_inset
18730
18731
18732 \begin_inset Flex Code
18733 status collapsed
18734
18735 \begin_layout Plain Layout
18736 no_emph
18737 \end_layout
18738
18739 \end_inset
18740
18741
18742 \begin_inset Flex Code
18743 status collapsed
18744
18745 \begin_layout Plain Layout
18746 no_noun
18747 \end_layout
18748
18749 \end_inset
18750
18751
18752 \begin_inset Flex Code
18753 status collapsed
18754
18755 \begin_layout Plain Layout
18756 no_strikeout
18757 \end_layout
18758
18759 \end_inset
18760
18761
18762 \begin_inset Flex Code
18763 status collapsed
18764
18765 \begin_layout Plain Layout
18766 no_bar
18767 \end_layout
18768
18769 \end_inset
18770
18771
18772 \begin_inset Flex Code
18773 status collapsed
18774
18775 \begin_layout Plain Layout
18776 no_uuline
18777 \end_layout
18778
18779 \end_inset
18780
18781
18782 \begin_inset Flex Code
18783 status collapsed
18784
18785 \begin_layout Plain Layout
18786 no_uwave
18787 \end_layout
18788
18789 \end_inset
18790
18791 です.それぞれ,対応する属性を有効にしたり無効にしたりします.
18792 \begin_inset Newline newline
18793 \end_inset
18794
18795 たとえば,
18796 \begin_inset Flex Code
18797 status collapsed
18798
18799 \begin_layout Plain Layout
18800 emph
18801 \end_layout
18802
18803 \end_inset
18804
18805 は強調を有効にし,
18806 \begin_inset Flex Code
18807 status collapsed
18808
18809 \begin_layout Plain Layout
18810 no_emph
18811 \end_layout
18812
18813 \end_inset
18814
18815 はそれを無効にします.もし後者がわかりにくければ,現在のコンテクストのフォント設定は,一般的に周囲のコンテクストから継承していることを思い出してください.ですか
18816
18817 \begin_inset Flex Code
18818 status collapsed
18819
18820 \begin_layout Plain Layout
18821 no_emph
18822 \end_layout
18823
18824 \end_inset
18825
18826 は,たとえば定理環境で,何をせずとも有効となっている強調を無効にするのです.
18827 \end_layout
18828
18829 \begin_layout Description
18830 \begin_inset Flex Code
18831 status collapsed
18832
18833 \begin_layout Plain Layout
18834 Series
18835 \end_layout
18836
18837 \end_inset
18838
18839  [
18840 \emph on
18841
18842 \begin_inset Flex Code
18843 status collapsed
18844
18845 \begin_layout Plain Layout
18846 Medium
18847 \end_layout
18848
18849 \end_inset
18850
18851
18852 \emph default
18853
18854 \begin_inset Flex Code
18855 status collapsed
18856
18857 \begin_layout Plain Layout
18858 Bold
18859 \end_layout
18860
18861 \end_inset
18862
18863
18864 \end_layout
18865
18866 \begin_layout Description
18867 \begin_inset Flex Code
18868 status collapsed
18869
18870 \begin_layout Plain Layout
18871 Shape
18872 \end_layout
18873
18874 \end_inset
18875
18876  [
18877 \emph on
18878
18879 \begin_inset Flex Code
18880 status collapsed
18881
18882 \begin_layout Plain Layout
18883 Up
18884 \end_layout
18885
18886 \end_inset
18887
18888
18889 \emph default
18890
18891 \begin_inset Flex Code
18892 status collapsed
18893
18894 \begin_layout Plain Layout
18895 Italic
18896 \end_layout
18897
18898 \end_inset
18899
18900
18901 \begin_inset Flex Code
18902 status collapsed
18903
18904 \begin_layout Plain Layout
18905 SmallCaps
18906 \end_layout
18907
18908 \end_inset
18909
18910
18911 \begin_inset Flex Code
18912 status collapsed
18913
18914 \begin_layout Plain Layout
18915 Slanted
18916 \end_layout
18917
18918 \end_inset
18919
18920
18921 \end_layout
18922
18923 \begin_layout Description
18924 \begin_inset Flex Code
18925 status collapsed
18926
18927 \begin_layout Plain Layout
18928 Size
18929 \end_layout
18930
18931 \end_inset
18932
18933  [
18934 \begin_inset Flex Code
18935 status collapsed
18936
18937 \begin_layout Plain Layout
18938 tiny
18939 \end_layout
18940
18941 \end_inset
18942
18943
18944 \begin_inset Flex Code
18945 status collapsed
18946
18947 \begin_layout Plain Layout
18948 small
18949 \end_layout
18950
18951 \end_inset
18952
18953
18954 \begin_inset Flex Code
18955 status collapsed
18956
18957 \begin_layout Plain Layout
18958
18959 \emph on
18960 normal
18961 \end_layout
18962
18963 \end_inset
18964
18965
18966 \begin_inset Flex Code
18967 status collapsed
18968
18969 \begin_layout Plain Layout
18970 large
18971 \end_layout
18972
18973 \end_inset
18974
18975
18976 \begin_inset Flex Code
18977 status collapsed
18978
18979 \begin_layout Plain Layout
18980 larger
18981 \end_layout
18982
18983 \end_inset
18984
18985
18986 \begin_inset Flex Code
18987 status collapsed
18988
18989 \begin_layout Plain Layout
18990 largest
18991 \end_layout
18992
18993 \end_inset
18994
18995
18996 \begin_inset Flex Code
18997 status collapsed
18998
18999 \begin_layout Plain Layout
19000 huge
19001 \end_layout
19002
19003 \end_inset
19004
19005
19006 \begin_inset Flex Code
19007 status collapsed
19008
19009 \begin_layout Plain Layout
19010 giant
19011 \end_layout
19012
19013 \end_inset
19014
19015 ]
19016 \end_layout
19017
19018 \begin_layout Subsection
19019 \begin_inset CommandInset label
19020 LatexCommand label
19021 name "subsec:引用エンジンの説明"
19022
19023 \end_inset
19024
19025 引用エンジンの説明
19026 \end_layout
19027
19028 \begin_layout Standard
19029 主に引用エンジンファイル(第
19030 \begin_inset CommandInset ref
19031 LatexCommand ref
19032 reference "subsec:引用エンジンファイル"
19033 plural "false"
19034 caps "false"
19035 noprefix "false"
19036
19037 \end_inset
19038
19039 節参照)で用いられる
19040 \begin_inset Flex Code
19041 status collapsed
19042
19043 \begin_layout Plain Layout
19044 CiteEngine
19045 \end_layout
19046
19047 \end_inset
19048
19049 ブロックは,特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
19050 の用語では,引用エンジンとは,番号や著者名,刊行年を使って,引用を整形する特定の方法のこ
19051 とを指します.\SpecialChar LyX
19052 は,3つのエンジンの型をサポートします.すなわち,
19053 \end_layout
19054
19055 \begin_layout Enumerate
19056 \begin_inset Flex Code
19057 status collapsed
19058
19059 \begin_layout Plain Layout
19060 default
19061 \end_layout
19062
19063 \end_inset
19064
19065 : 既定のBib\SpecialChar TeX
19066 流の引用方法である,単純な番号による様式(例:「[1]」)
19067 \end_layout
19068
19069 \begin_layout Enumerate
19070 \begin_inset Flex Code
19071 status collapsed
19072
19073 \begin_layout Plain Layout
19074 authoryear
19075 \end_layout
19076
19077 \end_inset
19078
19079 : 著者名と刊行年を使ったHarvard様式の引用(例:「Smith and Miller (2017b)」)
19080 \end_layout
19081
19082 \begin_layout Enumerate
19083 \begin_inset Flex Code
19084 status collapsed
19085
19086 \begin_layout Plain Layout
19087 numerical
19088 \end_layout
19089
19090 \end_inset
19091
19092 : 番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:「Smith and Miller [1]」)
19093 \end_layout
19094
19095 \begin_layout Standard
19096 \begin_inset Flex Code
19097 status collapsed
19098
19099 \begin_layout Plain Layout
19100 CiteEngine
19101 \end_layout
19102
19103 \end_inset
19104
19105 ブロックは以下のようになります.
19106 \end_layout
19107
19108 \begin_layout LyX-Code
19109 CiteEngine default
19110 \end_layout
19111
19112 \begin_layout LyX-Code
19113  cite
19114 \end_layout
19115
19116 \begin_layout LyX-Code
19117  Citep*[][]
19118 \end_layout
19119
19120 \begin_layout LyX-Code
19121  citeyearpar[][]=parencite*
19122 \end_layout
19123
19124 \begin_layout LyX-Code
19125  ...
19126 \end_layout
19127
19128 \begin_layout LyX-Code
19129 End
19130 \end_layout
19131
19132 \begin_layout Standard
19133 \begin_inset Flex Code
19134 status collapsed
19135
19136 \begin_layout Plain Layout
19137 CiteEngine
19138 \end_layout
19139
19140 \end_inset
19141
19142 に続くタグがエンジンを表します.各行は,このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,\SpecialChar LyX
19143 コマンドと\SpecialChar LaTeX
19144 出力を命名するのに使
19145 われる引用コマンドのみを含むこともあれば,色々変えるために複雑なこともあります.完全な文法は
19146 \end_layout
19147
19148 \begin_layout LyX-Code
19149 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
19150 \end_layout
19151
19152 \begin_layout Standard
19153 という形になっています.ここで
19154 \end_layout
19155
19156 \begin_layout Itemize
19157 \begin_inset Flex Code
19158 status collapsed
19159
19160 \begin_layout Plain Layout
19161 LyXName
19162 \end_layout
19163
19164 \end_inset
19165
19166
19167 \begin_inset Flex Code
19168 status collapsed
19169
19170 \begin_layout Plain Layout
19171 *.lyx
19172 \end_layout
19173
19174 \end_inset
19175
19176 ファイルで使用される名前.
19177 \end_layout
19178
19179 \begin_deeper
19180 \begin_layout Standard
19181 可搬性のために,異なる引用パッケージ中の同じ形をしたコマンドには,同じ名前をつけるようにしています(したがって,多くの名前がnatbibから派生しており,\SpecialChar LaTeX
19182 コマン
19183 ド名が異なる場合には,しばしば
19184 \begin_inset Flex Code
19185 status collapsed
19186
19187 \begin_layout Plain Layout
19188 latexcmd
19189 \end_layout
19190
19191 \end_inset
19192
19193 を変える必要があります).
19194 \end_layout
19195
19196 \end_deeper
19197 \begin_layout Itemize
19198 \begin_inset Flex Code
19199 status collapsed
19200
19201 \begin_layout Plain Layout
19202 alias
19203 \end_layout
19204
19205 \end_inset
19206
19207 : このエンジンにおいて,与えられた
19208 \begin_inset Flex Code
19209 status collapsed
19210
19211 \begin_layout Plain Layout
19212 LyXName
19213 \end_layout
19214
19215 \end_inset
19216
19217 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,引用パッケージとエンジンを切り替えるのが楽になります.
19218 \begin_inset Flex Code
19219 status collapsed
19220
19221 \begin_layout Plain Layout
19222 alias
19223 \end_layout
19224
19225 \end_inset
19226
19227 はレイアウト定義中での
19228 \begin_inset Flex Code
19229 status collapsed
19230
19231 \begin_layout Plain Layout
19232 ObsoletedBy
19233 \end_layout
19234
19235 \end_inset
19236
19237 に相当するものと考えてよいでしょう.
19238 \end_layout
19239
19240 \begin_layout Itemize
19241 \begin_inset Flex Code
19242 status collapsed
19243
19244 \begin_layout Plain Layout
19245 latexcmd
19246 \end_layout
19247
19248 \end_inset
19249
19250 : 出力される実際の\SpecialChar LaTeX
19251 コマンド.
19252 \end_layout
19253
19254 \begin_layout Standard
19255 \begin_inset Flex Code
19256 status collapsed
19257
19258 \begin_layout Plain Layout
19259 Alias
19260 \end_layout
19261
19262 \end_inset
19263
19264
19265 \begin_inset Flex Code
19266 status collapsed
19267
19268 \begin_layout Plain Layout
19269 latexcmd
19270 \end_layout
19271
19272 \end_inset
19273
19274 は必須ではありません.
19275 \begin_inset Flex Code
19276 status collapsed
19277
19278 \begin_layout Plain Layout
19279 latexcmd
19280 \end_layout
19281
19282 \end_inset
19283
19284 が与えられない時は,
19285 \begin_inset Flex Code
19286 status collapsed
19287
19288 \begin_layout Plain Layout
19289 LyXName
19290 \end_layout
19291
19292 \end_inset
19293
19294 が\SpecialChar LaTeX
19295 に出力されます.
19296 \end_layout
19297
19298 \begin_layout Standard
19299 さらに,下記の点に注意してください.
19300 \end_layout
19301
19302 \begin_layout Itemize
19303 大文字にするとコマンドも大文字化されたものになります(
19304 \begin_inset Flex Code
19305 status collapsed
19306
19307 \begin_layout Plain Layout
19308
19309 \backslash
19310 latexcmd
19311 \end_layout
19312
19313 \end_inset
19314
19315
19316 \begin_inset Flex Code
19317 status collapsed
19318
19319 \begin_layout Plain Layout
19320
19321 \backslash
19322 Latexcmd
19323 \end_layout
19324
19325 \end_inset
19326
19327 に).これらは通常,名前の前置詞を大文字化するのを確実にします(
19328 \emph on
19329 von Goethe
19330 \emph default
19331  
19332 \begin_inset Formula $\Rightarrow$
19333 \end_inset
19334
19335  
19336 \emph on
19337 Von Goethe
19338 \emph default
19339 ).
19340 \end_layout
19341
19342 \begin_layout Itemize
19343 括弧
19344 \begin_inset Flex Code
19345 status collapsed
19346
19347 \begin_layout Plain Layout
19348 []
19349 \end_layout
19350
19351 \end_inset
19352
19353 は非必須引数の数を表します(0-2をとりえます).
19354 \end_layout
19355
19356 \begin_layout Itemize
19357 星印
19358 \begin_inset Flex Code
19359 status collapsed
19360
19361 \begin_layout Plain Layout
19362 *
19363 \end_layout
19364
19365 \end_inset
19366
19367 は星印付きコマンドを示します(
19368 \begin_inset Flex Code
19369 status collapsed
19370
19371 \begin_layout Plain Layout
19372
19373 \backslash
19374 latexcmd
19375 \end_layout
19376
19377 \end_inset
19378
19379
19380 \begin_inset Flex Code
19381 status collapsed
19382
19383 \begin_layout Plain Layout
19384
19385 \backslash
19386 latexcmd*
19387 \end_layout
19388
19389 \end_inset
19390
19391 に).
19392 \end_layout
19393
19394 \begin_deeper
19395 \begin_layout Standard
19396 既定では,星印付きバージョンは,
19397 \begin_inset Flex Code
19398 status collapsed
19399
19400 \begin_layout Plain Layout
19401 MaxCiteNames
19402 \end_layout
19403
19404 \end_inset
19405
19406 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
19407 \end_layout
19408
19409 \begin_layout Standard
19410 星印が,当該コマンドについては別の意味を持つ場合には,
19411 \begin_inset Flex Code
19412 status collapsed
19413
19414 \begin_layout Plain Layout
19415 <!_stardesc!_stardesctooltip>
19416 \end_layout
19417
19418 \end_inset
19419
19420 のように三角括弧で指定することができます.前置詞
19421 \begin_inset Flex Code
19422 status collapsed
19423
19424 \begin_layout Plain Layout
19425 !_
19426 \end_layout
19427
19428 \end_inset
19429
19430 で標識した,翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,引用ダイアログ中の「Full aut&hor list」チェックボックスラベ
19431 ルを書き換える文字列を指し,二つ目のキーワードは,このチェックボックスに対する非必須のツールチップの文字列を指します.
19432 \end_layout
19433
19434 \begin_layout Standard
19435 これらの2つのマクロは,下記のように,前置詞から
19436 \begin_inset Flex Code
19437 status collapsed
19438
19439 \begin_layout Plain Layout
19440 !
19441 \end_layout
19442
19443 \end_inset
19444
19445 を落とした形で
19446 \begin_inset Flex Code
19447 status collapsed
19448
19449 \begin_layout Plain Layout
19450 CiteFormat
19451 \end_layout
19452
19453 \end_inset
19454
19455 (次節参照)で定義されなくてはなりません.
19456 \end_layout
19457
19458 \begin_layout LyX-Code
19459 _stardesc Sta&rred command label
19460 \end_layout
19461
19462 \begin_layout LyX-Code
19463 _stardesctooltip Tooltip for the starred command checkbox.
19464 \end_layout
19465
19466 \end_deeper
19467 \begin_layout Itemize
19468 ドル記号
19469 \begin_inset Flex Code
19470 status collapsed
19471
19472 \begin_layout Plain Layout
19473 $
19474 \end_layout
19475
19476 \end_inset
19477
19478 は,このコマンドが「qualified citation lists」を取り扱うことを示します.これは,リスト中の個別の引用に対して,前置文字列と後置文字列を置
19479 くことができる,
19480 \family sans
19481 Biblatex
19482 \family default
19483 に特有の複数文献引用機能です.詳細については,
19484 \family sans
19485 Biblatex
19486 \family default
19487 の取扱説明書をご覧ください.
19488 \end_layout
19489
19490 \begin_layout Subsection
19491 \begin_inset CommandInset label
19492 LatexCommand label
19493 name "subsec:引用書式指定"
19494
19495 \end_inset
19496
19497 引用書式指定
19498 \end_layout
19499
19500 \begin_layout Standard
19501 (引用ダイアログやツールチップなどの)\SpecialChar LyX
19502 内部やXHTML出力において,書誌情報をどのように表示するべきかの叙述には,
19503 \begin_inset Flex Code
19504 status collapsed
19505
19506 \begin_layout Plain Layout
19507 CiteFormat
19508 \end_layout
19509
19510 \end_inset
19511
19512 ブロックが使用されています.このブロックは,以下のような形をしています.
19513 \end_layout
19514
19515 \begin_layout LyX-Code
19516 CiteFormat
19517 \end_layout
19518
19519 \begin_layout LyX-Code
19520  article ...
19521 \end_layout
19522
19523 \begin_layout LyX-Code
19524  book ...
19525 \end_layout
19526
19527 \begin_layout LyX-Code
19528 End
19529 \end_layout
19530
19531 \begin_layout Standard
19532 あるいは
19533 \end_layout
19534
19535 \begin_layout LyX-Code
19536 CiteFormat
19537 \end_layout
19538
19539 \begin_layout LyX-Code
19540  cite ...
19541 \end_layout
19542
19543 \begin_layout LyX-Code
19544  citet*[][] ...
19545 \end_layout
19546
19547 \begin_layout LyX-Code
19548 End
19549 \end_layout
19550
19551 \begin_layout Standard
19552 最初の例の各行は,それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,このような定義は,Bib\SpecialChar TeX
19553 ファイル中に存
19554 在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,\SpecialChar LyX
19555 は,ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
19556 は,いくつかの書式を
19557 \begin_inset Flex Code
19558 status collapsed
19559
19560 \begin_layout Plain Layout
19561 stdciteformats.inc
19562 \end_layout
19563
19564 \end_inset
19565
19566 ファイルで事前定義しており,これはほとんどの\SpecialChar LyX
19567 文書クラスにインクルードされています.
19568 \end_layout
19569
19570 \begin_layout Standard
19571 2つ目の例では,各行は,特定の引用コマンド(この例では
19572 \begin_inset Flex Code
19573 status collapsed
19574
19575 \begin_layout Plain Layout
19576
19577 \backslash
19578 cite
19579 \end_layout
19580
19581 \end_inset
19582
19583 及び
19584 \begin_inset Flex Code
19585 status collapsed
19586
19587 \begin_layout Plain Layout
19588
19589 \backslash
19590 citet
19591 \end_layout
19592
19593 \end_inset
19594
19595 )が,引用差込枠ラベルや引用ダイアログ,メニュー,XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
19596 は,\SpecialChar LyX
19597 に同梱されている個別の
19598 \begin_inset Flex Code
19599 status collapsed
19600
19601 \begin_layout Plain Layout
19602 *.citeengine
19603 \end_layout
19604
19605 \end_inset
19606
19607 ファイル中において,
19608 \family sans
19609 文書\SpecialChar menuseparator
19610 設定\SpecialChar menuseparator
19611 書誌情報\SpecialChar ldots
19612
19613 \family default
19614 でサポートしている引用様式用に,そのような書式を定義しています(第
19615 \begin_inset CommandInset ref
19616 LatexCommand ref
19617 reference "subsec:引用エンジンファイル"
19618 plural "false"
19619 caps "false"
19620 noprefix "false"
19621
19622 \end_inset
19623
19624 節参照).
19625 \end_layout
19626
19627 \begin_layout Standard
19628 この定義は,Bib\SpecialChar TeX
19629 キーをその値で置換できる機能を持った,簡単な言語を使用しています.キーは,
19630 \begin_inset Flex Code
19631 status collapsed
19632
19633 \begin_layout Plain Layout
19634 %author%
19635 \end_layout
19636
19637 \end_inset
19638
19639 のように
19640 \begin_inset Flex Code
19641 status collapsed
19642
19643 \begin_layout Plain Layout
19644 %
19645 \end_layout
19646
19647 \end_inset
19648
19649 記号でくくらなくてはなりません.したがって,簡単な定義は以下のようになります.
19650 \end_layout
19651
19652 \begin_layout LyX-Code
19653 misc %author%, 
19654 \begin_inset Quotes eld
19655 \end_inset
19656
19657 %title%
19658 \begin_inset Quotes erd
19659 \end_inset
19660
19661
19662 \end_layout
19663
19664 \begin_layout Standard
19665 これは,「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
19666 \end_layout
19667
19668 \begin_layout Standard
19669 もちろん,キーが存在するときのみ,そのキーを出力したい時があるはずです.このようなときには
19670 \begin_inset Flex Code
19671 status collapsed
19672
19673 \begin_layout Plain Layout
19674 {%volume%[[vol.
19675 \begin_inset space ~
19676 \end_inset
19677
19678 %volume%]]}
19679 \end_layout
19680
19681 \end_inset
19682
19683 のように,条件付きの構成を使用することができます.これは,
19684 \begin_inset Flex Code
19685 status collapsed
19686
19687 \begin_layout Plain Layout
19688 volume
19689 \end_layout
19690
19691 \end_inset
19692
19693 が存在するならば,「vol.
19694 \begin_inset space ~
19695 \end_inset
19696
19697 」とvolumeキーを出力するという意味です.また,
19698 \begin_inset Newline newline
19699 \end_inset
19700
19701
19702 \begin_inset Flex Code
19703 status collapsed
19704
19705 \begin_layout Plain Layout
19706 {%author%[[%author%]][[%editor%, ed.]]}
19707 \end_layout
19708
19709 \end_inset
19710
19711
19712 \begin_inset Newline newline
19713 \end_inset
19714
19715 のように,条件の中にelse節を含めることも可能です.ここでは,もし
19716 \begin_inset Flex Code
19717 status collapsed
19718
19719 \begin_layout Plain Layout
19720 author
19721 \end_layout
19722
19723 \end_inset
19724
19725 キーが存在するならば出力され,そうでなければeditorキーと「,
19726 \begin_inset space ~
19727 \end_inset
19728
19729 ed.」が出力されます.ここでもキーは,
19730 \begin_inset Flex Code
19731 status collapsed
19732
19733 \begin_layout Plain Layout
19734 %
19735 \end_layout
19736
19737 \end_inset
19738
19739 記号でくくられていることに注意してください.条件全体は,波括弧で囲まれています.if節およびelse節は,「
19740 \begin_inset Flex Code
19741 status collapsed
19742
19743 \begin_layout Plain Layout
19744 [[
19745 \end_layout
19746
19747 \end_inset
19748
19749 」と「
19750 \begin_inset Flex Code
19751 status collapsed
19752
19753 \begin_layout Plain Layout
19754 ]]
19755 \end_layout
19756
19757 \end_inset
19758
19759 」の二重角括弧で囲まれています.これらすべてのあいだには,空白は入ってはなりません.
19760 \end_layout
19761
19762 \begin_layout Standard
19763 これらの条件文に使うことができるものには,項目キーの他に,以下の特殊キーがあります.
19764 \end_layout
19765
19766 \begin_layout Itemize
19767 \begin_inset Flex Code
19768 status collapsed
19769
19770 \begin_layout Plain Layout
19771 {%dialog%[[真]][[偽]]}
19772 \end_layout
19773
19774 \end_inset
19775
19776 : ダイアログとメニューに対しては「真」の部分を処理し,他の文脈(作業領域や書き出し)には「偽」の部分を処理します
19777 \end_layout
19778
19779 \begin_layout Itemize
19780 \begin_inset Flex Code
19781 status collapsed
19782
19783 \begin_layout Plain Layout
19784 {%export%[[真]][[偽]]}
19785 \end_layout
19786
19787 \end_inset
19788
19789 : 書き出しとメニューに対しては「真」の部分を処理し,他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
19790 \end_layout
19791
19792 \begin_layout Itemize
19793 \begin_inset Flex Code
19794 status collapsed
19795
19796 \begin_layout Plain Layout
19797 {%next%[[真]]}
19798 \end_layout
19799
19800 \end_inset
19801
19802 : 他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
19803 \end_layout
19804
19805 \begin_layout Itemize
19806 \begin_inset Flex Code
19807 status collapsed
19808
19809 \begin_layout Plain Layout
19810 {%second%[[真]][[偽]]}
19811 \end_layout
19812
19813 \end_inset
19814
19815 : これが複数項目の2番目の場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19816 \end_layout
19817
19818 \begin_layout Itemize
19819 \begin_inset Flex Code
19820 status collapsed
19821
19822 \begin_layout Plain Layout
19823 {%ifstar%[[真]][[偽]]}
19824 \end_layout
19825
19826 \end_inset
19827
19828 : (
19829 \begin_inset Flex Code
19830 status collapsed
19831
19832 \begin_layout Plain Layout
19833
19834 \backslash
19835 cite*
19836 \end_layout
19837
19838 \end_inset
19839
19840 など)星印付き引用コマンドの場合には「真」の部分を処理し,星印付きでない場合には「偽」の部分を処理します
19841 \end_layout
19842
19843 \begin_layout Itemize
19844 \begin_inset Flex Code
19845 status collapsed
19846
19847 \begin_layout Plain Layout
19848 {%ifentrytype:<type>%[[真]][[偽]]}
19849 \end_layout
19850
19851 \end_inset
19852
19853 : 現行の項目が
19854 \begin_inset Flex Code
19855 status collapsed
19856
19857 \begin_layout Plain Layout
19858 <型>
19859 \end_layout
19860
19861 \end_inset
19862
19863 に一致する場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:引用定義において
19864 \begin_inset Flex Code
19865 status collapsed
19866
19867 \begin_layout Plain Layout
19868 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
19869 \end_layout
19870
19871 \end_inset
19872
19873
19874 \end_layout
19875
19876 \begin_layout Itemize
19877 \begin_inset Flex Code
19878 status collapsed
19879
19880 \begin_layout Plain Layout
19881 {%ifmultiple:<authortype>%[[真]][[偽]]}
19882 \end_layout
19883
19884 \end_inset
19885
19886 : 現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します(例:書誌情報定義において
19887 \begin_inset Flex Code
19888 status collapsed
19889
19890 \begin_layout Plain Layout
19891 {%ifmultiple:editor%[[eds.]][[ed.]]}
19892 \end_layout
19893
19894 \end_inset
19895
19896
19897 \end_layout
19898
19899 \begin_layout Itemize
19900 \begin_inset Flex Code
19901 status collapsed
19902
19903 \begin_layout Plain Layout
19904 {%ifqualified%[[真]][[偽]]}
19905 \end_layout
19906
19907 \end_inset
19908
19909 : 現行の引用がqualified citation listである(複数文献引用に対する
19910 \family sans
19911 Biblatex
19912 \family default
19913 特有の形式)場合には「真」の部分を処理し,それ以外の場合には「偽」の部分を処理します
19914 \end_layout
19915
19916 \begin_layout Standard
19917 \begin_inset Flex Code
19918 status collapsed
19919
19920 \begin_layout Plain Layout
19921 %author%
19922 \end_layout
19923
19924 \end_inset
19925
19926 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller, Peter and Smith, Mary
19927  and White, Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
19928 では著者を区切るのに「and」が用いられるため),望ましい結果ではありません.したがっ
19929 て,\SpecialChar LyX
19930 は,正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
19931 \end_layout
19932
19933 \begin_layout Enumerate
19934 書誌情報項目の主要著者・編者に適した,姓名付き名前リスト用.
19935 \begin_inset Flex Code
19936 status collapsed
19937
19938 \begin_layout Plain Layout
19939 <nametype>
19940 \end_layout
19941
19942 \end_inset
19943
19944 部分は要請されているリスト型を表します(例:
19945 \begin_inset Flex Code
19946 status collapsed
19947
19948 \begin_layout Plain Layout
19949 <nametype:author>
19950 \end_layout
19951
19952 \end_inset
19953
19954
19955 \end_layout
19956
19957 \begin_deeper
19958 \begin_layout Itemize
19959 \begin_inset Flex Code
19960 status collapsed
19961
19962 \begin_layout Plain Layout
19963 %abbrvnames:<nametype>%
19964 \end_layout
19965
19966 \end_inset
19967
19968
19969 \begin_inset Flex Code
19970 status collapsed
19971
19972 \begin_layout Plain Layout
19973 MaxCiteNames
19974 \end_layout
19975
19976 \end_inset
19977
19978 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
19979 \end_layout
19980
19981 \begin_layout Itemize
19982 \begin_inset Flex Code
19983 status collapsed
19984
19985 \begin_layout Plain Layout
19986 %fullnames:<nametype>%
19987 \end_layout
19988
19989 \end_inset
19990
19991 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
19992 \end_layout
19993
19994 \begin_layout Itemize
19995 \begin_inset Flex Code
19996 status collapsed
19997
19998 \begin_layout Plain Layout
19999 %forceabbrvnames:<nametype>%
20000 \end_layout
20001
20002 \end_inset
20003
20004
20005 \begin_inset Flex Code
20006 status collapsed
20007
20008 \begin_layout Plain Layout
20009 MaxCiteNames
20010 \end_layout
20011
20012 \end_inset
20013
20014 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20015 \end_layout
20016
20017 \end_deeper
20018 \begin_layout Enumerate
20019 書誌情報項目中の姓名の順序が異なっている場合の,姓名付き名前リスト(例:「Miller, John: 何らかの文, in: Mary Smith,
20020  ed.: A volume」
20021 \end_layout
20022
20023 \begin_deeper
20024 \begin_layout Itemize
20025 \begin_inset Flex Code
20026 status collapsed
20027
20028 \begin_layout Plain Layout
20029 %abbrvbynames:<nametype>%
20030 \end_layout
20031
20032 \end_inset
20033
20034
20035 \begin_inset Flex Code
20036 status collapsed
20037
20038 \begin_layout Plain Layout
20039 MaxCiteNames
20040 \end_layout
20041
20042 \end_inset
20043
20044 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20045 \end_layout
20046
20047 \begin_layout Itemize
20048 \begin_inset Flex Code
20049 status collapsed
20050
20051 \begin_layout Plain Layout
20052 %fullbynames:<nametype>%
20053 \end_layout
20054
20055 \end_inset
20056
20057 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20058 \end_layout
20059
20060 \begin_layout Itemize
20061 \begin_inset Flex Code
20062 status collapsed
20063
20064 \begin_layout Plain Layout
20065 %forceabbrvbynames:<nametype>%
20066 \end_layout
20067
20068 \end_inset
20069
20070
20071 \begin_inset Flex Code
20072 status collapsed
20073
20074 \begin_layout Plain Layout
20075 MaxCiteNames
20076 \end_layout
20077
20078 \end_inset
20079
20080 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20081 \end_layout
20082
20083 \end_deeper
20084 \begin_layout Enumerate
20085 著者-発行年引用ラベルで用いられるような,姓のみを含む姓リスト.これらは
20086 \begin_inset Flex Code
20087 status collapsed
20088
20089 \begin_layout Plain Layout
20090 <nametype>
20091 \end_layout
20092
20093 \end_inset
20094
20095 部分を取りませんが,(著者-発行年ラベルで通例であるように)常に著者リストか,存在しない場合には編者リストを返します.
20096 \end_layout
20097
20098 \begin_deeper
20099 \begin_layout Itemize
20100 \begin_inset Flex Code
20101 status collapsed
20102
20103 \begin_layout Plain Layout
20104 %abbrvciteauthor%
20105 \end_layout
20106
20107 \end_inset
20108
20109
20110 \begin_inset Flex Code
20111 status collapsed
20112
20113 \begin_layout Plain Layout
20114 MaxCiteNames
20115 \end_layout
20116
20117 \end_inset
20118
20119 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
20120 \end_layout
20121
20122 \begin_layout Itemize
20123 \begin_inset Flex Code
20124 status collapsed
20125
20126 \begin_layout Plain Layout
20127 %fullciteauthor%
20128 \end_layout
20129
20130 \end_inset
20131
20132 : 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
20133 \end_layout
20134
20135 \begin_layout Itemize
20136 \begin_inset Flex Code
20137 status collapsed
20138
20139 \begin_layout Plain Layout
20140 %forceabbrvciteauthor%
20141 \end_layout
20142
20143 \end_inset
20144
20145
20146 \begin_inset Flex Code
20147 status collapsed
20148
20149 \begin_layout Plain Layout
20150 MaxCiteNames
20151 \end_layout
20152
20153 \end_inset
20154
20155 に関わらず,常に短縮される(「et al.」と共に供される)名前リストを提供します.
20156 \end_layout
20157
20158 \end_deeper
20159 \begin_layout Standard
20160 前二者の姓名の順序は,下記のマクロで変更することができます.
20161 \end_layout
20162
20163 \begin_layout Itemize
20164 \begin_inset Flex Code
20165 status collapsed
20166
20167 \begin_layout Plain Layout
20168 !firstnameform %surname%, %prename%
20169 \end_layout
20170
20171 \end_inset
20172
20173 (1の場合の最初の著者)
20174 \end_layout
20175
20176 \begin_layout Itemize
20177 \begin_inset Flex Code
20178 status collapsed
20179
20180 \begin_layout Plain Layout
20181 !othernameform %surname%, %prename%
20182 \end_layout
20183
20184 \end_inset
20185
20186 (1の場合の他の著者)
20187 \end_layout
20188
20189 \begin_layout Itemize
20190 \begin_inset Flex Code
20191 status collapsed
20192
20193 \begin_layout Plain Layout
20194 !firstbynameform %prename% %surname%
20195 \end_layout
20196
20197 \end_inset
20198
20199 (2の場合の最初の著者)
20200 \end_layout
20201
20202 \begin_layout Itemize
20203 \begin_inset Flex Code
20204 status collapsed
20205
20206 \begin_layout Plain Layout
20207 !otherbynameform %prename% %surname%
20208 \end_layout
20209
20210 \end_inset
20211
20212 (2の場合の他の著者)
20213 \end_layout
20214
20215 \begin_layout Standard
20216 これによって,名前を「Miller, Peter and Mary Smith: \SpecialChar ldots
20217 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
20218 」のように
20219 設定することができます.
20220 \end_layout
20221
20222 \begin_layout Standard
20223 もう一つ,定義中で使用することのできる文法として,
20224 \begin_inset Flex Code
20225 status collapsed
20226
20227 \begin_layout Plain Layout
20228 {!<i>!}
20229 \end_layout
20230
20231 \end_inset
20232
20233 という形をしたものがあります.これは,「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,平文を書き出すときには,HTMLタ
20234 グを出力させたくはありませんから,HTMLタグは「
20235 \begin_inset Flex Code
20236 status collapsed
20237
20238 \begin_layout Plain Layout
20239 {!
20240 \end_layout
20241
20242 \end_inset
20243
20244 」と「
20245 \begin_inset Flex Code
20246 status collapsed
20247
20248 \begin_layout Plain Layout
20249 !}
20250 \end_layout
20251
20252 \end_inset
20253
20254 」でくるんでやらなくてはならないのです.
20255 \end_layout
20256
20257 \begin_layout Standard
20258 \begin_inset Flex Code
20259 status collapsed
20260
20261 \begin_layout Plain Layout
20262 CiteFormat
20263 \end_layout
20264
20265 \end_inset
20266
20267 ブロックでは,他に2つの特殊な定義が可能です.一つめの例としては,
20268 \end_layout
20269
20270 \begin_layout LyX-Code
20271 !quotetitle 
20272 \begin_inset Quotes eld
20273 \end_inset
20274
20275 %title%
20276 \begin_inset Quotes erd
20277 \end_inset
20278
20279
20280 \end_layout
20281
20282 \begin_layout Standard
20283 といった例が挙げられます.これは,短縮形ないしはマクロであり,
20284 \begin_inset Flex Code
20285 status collapsed
20286
20287 \begin_layout Plain Layout
20288 %!quotetitle%
20289 \end_layout
20290
20291 \end_inset
20292
20293 のように,これがキーであるかのように扱って使用することができます.\SpecialChar LyX
20294 は,
20295 \begin_inset Flex Code
20296 status collapsed
20297
20298 \begin_layout Plain Layout
20299 %!quotetitle%
20300 \end_layout
20301
20302 \end_inset
20303
20304 を,そこで定義されているものを扱う場合と同じように取り扱います.ですから,明白な警告を敢えてさせて頂くと,
20305 \end_layout
20306
20307 \begin_layout LyX-Code
20308 !funfun %funfun%
20309 \end_layout
20310
20311 \begin_layout Standard
20312 のようなことはしないでください.\SpecialChar LyX
20313 は,無限ループに陥るようなことはありませんが,諦めるまでに時間のかかる長いループに入るかもしれません.
20314 \end_layout
20315
20316 \begin_layout Standard
20317 特殊な定義の二つめは,
20318 \end_layout
20319
20320 \begin_layout LyX-Code
20321 B_pptext pp.
20322 \end_layout
20323
20324 \begin_layout Standard
20325 のようなものです.これは翻訳対象となるテキスト部分を定義し,これによって書誌情報や引用の対応する部分が翻訳されるようになります.
20326 \begin_inset Flex Code
20327 status collapsed
20328
20329 \begin_layout Plain Layout
20330 %B_pptext%
20331 \end_layout
20332
20333 \end_inset
20334
20335 のように,これをキーとして扱って,定義の中に入れることもできます.
20336 \lang english
20337 Note that there are two different translation paths: All definitions starting
20338  with 
20339 \begin_inset Flex Code
20340 status collapsed
20341
20342 \begin_layout Plain Layout
20343
20344 \lang english
20345 B_
20346 \end_layout
20347
20348 \end_inset
20349
20350 , such as in the example above, will be translated to the currently active
20351  buffer language (so the translation will match the generated document).
20352  All definitions starting with underscore only will be translated to the
20353  GUI language.
20354  This is the proper translation for strings that only occur in the dialogs
20355  or on buttons, such as this one:
20356 \end_layout
20357
20358 \begin_layout LyX-Code
20359
20360 \lang english
20361 _addtobib Add to bibliography only.
20362 \end_layout
20363
20364 \begin_layout Standard
20365 これらのうちいくつかは
20366 \lang english
20367 translatable strings
20368 \lang japanese
20369
20370 \begin_inset Flex Code
20371 status collapsed
20372
20373 \begin_layout Plain Layout
20374 stdciteformats.inc
20375 \end_layout
20376
20377 \end_inset
20378
20379 及び様々な
20380 \begin_inset Flex Code
20381 status collapsed
20382
20383 \begin_layout Plain Layout
20384 *.citeengine
20385 \end_layout
20386
20387 \end_inset
20388
20389 ファイル中に事前定義されています.これは,上記で述べたような意味でのマクロではないことに注意してください.
20390 \end_layout
20391
20392 \begin_layout Standard
20393 以下は,これらの機能を全て使った例です.
20394 \begin_inset VSpace defskip
20395 \end_inset
20396
20397
20398 \end_layout
20399
20400 \begin_layout Standard
20401 \noindent
20402
20403 \family sans
20404 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %B_edtext%, ]]}]]}
20405 \end_layout
20406
20407 \begin_layout Standard
20408 \begin_inset VSpace defskip
20409 \end_inset
20410
20411 これは,
20412 \begin_inset Flex Code
20413 status collapsed
20414
20415 \begin_layout Plain Layout
20416 author
20417 \end_layout
20418
20419 \end_inset
20420
20421 キーが定義されているならば,著者とコンマを出力し,
20422 \begin_inset Flex Code
20423 status collapsed
20424
20425 \begin_layout Plain Layout
20426 author
20427 \end_layout
20428
20429 \end_inset
20430
20431 キーが定義されておらず,
20432 \begin_inset Flex Code
20433 status collapsed
20434
20435 \begin_layout Plain Layout
20436 editor
20437 \end_layout
20438
20439 \end_inset
20440
20441 キーが定義されているならば,編集者名の後に
20442 \begin_inset Flex Code
20443 status collapsed
20444
20445 \begin_layout Plain Layout
20446 B_edtext
20447 \end_layout
20448
20449 \end_inset
20450
20451 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
20452 \begin_inset Flex Code
20453 status collapsed
20454
20455 \begin_layout Plain Layout
20456 stdciteformats.inc
20457 \end_layout
20458
20459 \end_inset
20460
20461 の中で定義されていますので,このファイルをまず読みこめば,ご自身の定義ないしは再定義の中で使用することができます.
20462 \end_layout
20463
20464 \begin_layout Section
20465 \begin_inset CommandInset label
20466 LatexCommand label
20467 name "sec:XHTML出力のタグ"
20468
20469 \end_inset
20470
20471 XHTML出力のタグ
20472 \end_layout
20473
20474 \begin_layout Standard
20475 \SpecialChar LaTeX
20476 やDocBookと同様,\SpecialChar LyX
20477 のXHTML出力の書式も,レイアウト情報によって制御することができます.一般的に,\SpecialChar LyX
20478 は適切な既定値を提供し,前述したように,他のレイアウト
20479 タグに基づいて,既定のCSSスタイルの構成まで行ないます.たとえば,章見出しを適切に整形するためのCSSを書き出すために,\SpecialChar LyX
20480 は,章様式の
20481 \begin_inset Flex Code
20482 status collapsed
20483
20484 \begin_layout Plain Layout
20485 Font
20486 \end_layout
20487
20488 \end_inset
20489
20490 宣言で提供されている情報を利用しようと試みます.
20491 \end_layout
20492
20493 \begin_layout Standard
20494 したがって,多くの場合,使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,まったく何もしなくてよいことになるでしょう.しかしながら
20495 ,これが必要になる場合もあるので,\SpecialChar LyX
20496 は,生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,たくさん提供しています.
20497 \end_layout
20498
20499 \begin_layout Standard
20500 様式宣言や差込枠宣言の外で使用することができるタグに,
20501 \begin_inset Flex Code
20502 status collapsed
20503
20504 \begin_layout Plain Layout
20505 HTMLPreamble
20506 \end_layout
20507
20508 \end_inset
20509
20510
20511 \begin_inset Flex Code
20512 status collapsed
20513
20514 \begin_layout Plain Layout
20515 AddToHTMLPreamble
20516 \end_layout
20517
20518 \end_inset
20519
20520 の2つがあることに注意してください.これらの詳細については,
20521 \begin_inset CommandInset ref
20522 LatexCommand ref
20523 reference "subsec:汎用テキストクラスパラメータ"
20524
20525 \end_inset
20526
20527 をご覧ください.
20528 \end_layout
20529
20530 \begin_layout Subsection
20531 \begin_inset CommandInset label
20532 LatexCommand label
20533 name "subsec:段落様式-XHTML"
20534
20535 \end_inset
20536
20537 段落様式
20538 \end_layout
20539
20540 \begin_layout Standard
20541 \SpecialChar LyX
20542 が段落のために出力するXHTMLの種類は,通常の段落を取り扱っているのか,コマンドを取り扱っているのか,あるいは環境を取り扱っているのかに依存し,これは対応する
20543 \begin_inset Flex Code
20544 status collapsed
20545
20546 \begin_layout Plain Layout
20547 \SpecialChar LaTeX
20548 Type
20549 \end_layout
20550
20551 \end_inset
20552
20553 タグの内容によって決定されます.
20554 \end_layout
20555
20556 \begin_layout Standard
20557 コマンドや通常の段落の場合には,XHTML出力は以下の形になります.
20558 \end_layout
20559
20560 \begin_layout LyX-Code
20561
20562 \family sans
20563 <tag attr=
20564 \begin_inset Quotes erd
20565 \end_inset
20566
20567 value
20568 \begin_inset Quotes erd
20569 \end_inset
20570
20571 >
20572 \end_layout
20573
20574 \begin_layout LyX-Code
20575
20576 \family sans
20577 <labeltag attr=
20578 \begin_inset Quotes erd
20579 \end_inset
20580
20581 value
20582 \begin_inset Quotes erd
20583 \end_inset
20584
20585 >ラベル</labeltag>
20586 \end_layout
20587
20588 \begin_layout LyX-Code
20589
20590 \family sans
20591 段落の内容
20592 \end_layout
20593
20594 \begin_layout LyX-Code
20595
20596 \family sans
20597 </tag>
20598 \end_layout
20599
20600 \begin_layout Standard
20601 もちろん,段落にラベルがなければ,ラベルタグは省略することができます.
20602 \end_layout
20603
20604 \begin_layout Standard
20605 環境のうち,リストの変種でないものに関しては,XHTMLは以下の形を取ります.
20606 \end_layout
20607
20608 \begin_layout LyX-Code
20609
20610 \family sans
20611 <tag attr=
20612 \begin_inset Quotes erd
20613 \end_inset
20614
20615 value
20616 \begin_inset Quotes erd
20617 \end_inset
20618
20619 >
20620 \end_layout
20621
20622 \begin_layout LyX-Code
20623
20624 \family sans
20625 <itemtag attr=
20626 \begin_inset Quotes erd
20627 \end_inset
20628
20629 value
20630 \begin_inset Quotes erd
20631 \end_inset
20632
20633 ><labeltag attr=
20634 \begin_inset Quotes erd
20635 \end_inset
20636
20637 value
20638 \begin_inset Quotes erd
20639 \end_inset
20640
20641 >環境ラベル</labeltag>最初の段落.
20642 \end_layout
20643
20644 \begin_layout LyX-Code
20645
20646 \family sans
20647 </itemtag>
20648 \end_layout
20649
20650 \begin_layout LyX-Code
20651
20652 \family sans
20653 <itemtag>二つめの段落.</itemtag>
20654 \end_layout
20655
20656 \begin_layout LyX-Code
20657
20658 \family sans
20659 </tag>
20660 \end_layout
20661
20662 \begin_layout Standard
20663 ラベルは,たとえば定理の場合にそうであるように,最初の段落にだけ出力されることに注意してください.
20664 \end_layout
20665
20666 \begin_layout Standard
20667 リストに関しては,次のような形になります.
20668 \end_layout
20669
20670 \begin_layout LyX-Code
20671
20672 \family sans
20673 <tag attr=
20674 \begin_inset Quotes erd
20675 \end_inset
20676
20677 value
20678 \begin_inset Quotes erd
20679 \end_inset
20680
20681 >
20682 \end_layout
20683
20684 \begin_layout LyX-Code
20685
20686 \family sans
20687 <itemtag attr=
20688 \begin_inset Quotes erd
20689 \end_inset
20690
20691 value
20692 \begin_inset Quotes erd
20693 \end_inset
20694
20695 ><labeltag attr=
20696 \begin_inset Quotes erd
20697 \end_inset
20698
20699 value
20700 \begin_inset Quotes erd
20701 \end_inset
20702
20703 >リストのラベル</labeltag>最初の項目.</itemtag>
20704 \end_layout
20705
20706 \begin_layout LyX-Code
20707
20708 \family sans
20709 <itemtag attr=
20710 \begin_inset Quotes erd
20711 \end_inset
20712
20713 value
20714 \begin_inset Quotes erd
20715 \end_inset
20716
20717 ><labeltag attr=
20718 \begin_inset Quotes erd
20719 \end_inset
20720
20721 value
20722 \begin_inset Quotes erd
20723 \end_inset
20724
20725 >リストのラベル</labeltag>二つめの項目.</itemtag>
20726 \end_layout
20727
20728 \begin_layout LyX-Code
20729
20730 \family sans
20731 </tag>
20732 \end_layout
20733
20734 \begin_layout LyX-Code
20735
20736 \end_layout
20737
20738 \begin_layout LyX-Code
20739
20740 \family sans
20741 <tag attr=
20742 \begin_inset Quotes erd
20743 \end_inset
20744
20745 value
20746 \begin_inset Quotes erd
20747 \end_inset
20748
20749 >
20750 \end_layout
20751
20752 \begin_layout LyX-Code
20753
20754 \family sans
20755 <labeltag attr=
20756 \begin_inset Quotes erd
20757 \end_inset
20758
20759 value
20760 \begin_inset Quotes erd
20761 \end_inset
20762
20763 >リストのラベル</labeltag><itemtag attr=
20764 \begin_inset Quotes erd
20765 \end_inset
20766
20767 value
20768 \begin_inset Quotes erd
20769 \end_inset
20770
20771 >最初の項目.</itemtag>
20772 \end_layout
20773
20774 \begin_layout LyX-Code
20775
20776 \family sans
20777 <labeltag attr=
20778 \begin_inset Quotes erd
20779 \end_inset
20780
20781 value
20782 \begin_inset Quotes erd
20783 \end_inset
20784
20785 >リストのラベル</labeltag><itemtag attr=
20786 \begin_inset Quotes erd
20787 \end_inset
20788
20789 value
20790 \begin_inset Quotes erd
20791 \end_inset
20792
20793 >二つめの項目</itemtag>
20794 \end_layout
20795
20796 \begin_layout LyX-Code
20797
20798 \family sans
20799 </tag>
20800 \end_layout
20801
20802 \begin_layout Standard
20803 ここで
20804 \begin_inset Flex Code
20805 status collapsed
20806
20807 \begin_layout Plain Layout
20808 labeltag
20809 \end_layout
20810
20811 \end_inset
20812
20813
20814 \begin_inset Flex Code
20815 status collapsed
20816
20817 \begin_layout Plain Layout
20818 itemtag
20819 \end_layout
20820
20821 \end_inset
20822
20823 の順序が違っていることに注意してください.どちらの順序になるかは,
20824 \begin_inset Flex Code
20825 status collapsed
20826
20827 \begin_layout Plain Layout
20828 HTMLLabelFirst
20829 \end_layout
20830
20831 \end_inset
20832
20833 の設定に依存します.もし
20834 \begin_inset Flex Code
20835 status collapsed
20836
20837 \begin_layout Plain Layout
20838 HTMLLabelFirst
20839 \end_layout
20840
20841 \end_inset
20842
20843 が偽であれば(既定値),最初のケースのようになり,これが真であれば,二番めのケースのように,labelがitemの外側に来るようになります.
20844 \end_layout
20845
20846 \begin_layout Standard
20847 各段落の特定のタグ出力や属性出力は,以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,前述のように,多くの場合,\SpecialChar LyX
20848 は適切な既定値を生成
20849 するので,たいしたことをしなくても,望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,自分の好みにあわせて微調整する目的
20850 でここにあるものと考えてください.
20851 \end_layout
20852
20853 \begin_layout Description
20854 \begin_inset Flex Code
20855 status collapsed
20856
20857 \begin_layout Plain Layout
20858 HTMLAttr
20859 \end_layout
20860
20861 \end_inset
20862
20863  [
20864 \begin_inset Flex Code
20865 status collapsed
20866
20867 \begin_layout Plain Layout
20868 文字列
20869 \end_layout
20870
20871 \end_inset
20872
20873 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
20874 \begin_inset Flex Code
20875 status collapsed
20876
20877 \begin_layout Plain Layout
20878 class=`mydiv'
20879 \end_layout
20880
20881 \end_inset
20882
20883 」のようなものです.既定においては,\SpecialChar LyX
20884 は「
20885 \begin_inset Flex Code
20886 status collapsed
20887
20888 \begin_layout Plain Layout
20889 class=`レイアウト名'
20890 \end_layout
20891
20892 \end_inset
20893
20894 」と出力します.ここで
20895 \begin_inset Flex Code
20896 status collapsed
20897
20898 \begin_layout Plain Layout
20899 レイアウト名
20900 \end_layout
20901
20902 \end_inset
20903
20904 は,レイアウトの\SpecialChar LyX
20905 名であり,chapterのように小文字で記述します.
20906 \end_layout
20907
20908 \begin_layout Description
20909 \begin_inset Flex Code
20910 status collapsed
20911
20912 \begin_layout Plain Layout
20913 HTMLForceCSS
20914 \end_layout
20915
20916 \end_inset
20917
20918  [
20919 \begin_inset Flex Code
20920 status collapsed
20921
20922 \begin_layout Plain Layout
20923
20924 \emph on
20925 0
20926 \emph default
20927 ,1
20928 \end_layout
20929
20930 \end_inset
20931
20932 ] 
20933 \begin_inset Flex Code
20934 status collapsed
20935
20936 \begin_layout Plain Layout
20937 HTMLStyle
20938 \end_layout
20939
20940 \end_inset
20941
20942 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
20943 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
20944 \begin_inset Flex Code
20945 status collapsed
20946
20947 \begin_layout Plain Layout
20948 1
20949 \end_layout
20950
20951 \end_inset
20952
20953 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
20954 \begin_inset Flex Code
20955 status collapsed
20956
20957 \begin_layout Plain Layout
20958 0
20959 \end_layout
20960
20961 \end_inset
20962
20963 です.
20964 \end_layout
20965
20966 \begin_layout Description
20967 \begin_inset Flex Code
20968 status collapsed
20969
20970 \begin_layout Plain Layout
20971 HTMLItem
20972 \end_layout
20973
20974 \end_inset
20975
20976  [
20977 \begin_inset Flex Code
20978 status collapsed
20979
20980 \begin_layout Plain Layout
20981 文字列
20982 \end_layout
20983
20984 \end_inset
20985
20986 ] 環境の段落に使用されるタグ.上記各例の
20987 \begin_inset Flex Code
20988 status collapsed
20989
20990 \begin_layout Plain Layout
20991 itemtag
20992 \end_layout
20993
20994 \end_inset
20995
20996 を置き換えます.既定値は
20997 \begin_inset Flex Code
20998 status collapsed
20999
21000 \begin_layout Plain Layout
21001 div
21002 \end_layout
21003
21004 \end_inset
21005
21006 です.
21007 \end_layout
21008
21009 \begin_layout Description
21010 \begin_inset Flex Code
21011 status collapsed
21012
21013 \begin_layout Plain Layout
21014 HTMLItemAttr
21015 \end_layout
21016
21017 \end_inset
21018
21019  [
21020 \begin_inset Flex Code
21021 status collapsed
21022
21023 \begin_layout Plain Layout
21024 文字列
21025 \end_layout
21026
21027 \end_inset
21028
21029 ] itemタグの属性.既定値は
21030 \begin_inset Flex Code
21031 status collapsed
21032
21033 \begin_layout Plain Layout
21034 class=`レイアウト名_item'
21035 \end_layout
21036
21037 \end_inset
21038
21039 です.ここには,様式情報は含まれては
21040 \emph on
21041 なりません
21042 \emph default
21043 .その目的のためには,
21044 \begin_inset Flex Code
21045 status collapsed
21046
21047 \begin_layout Plain Layout
21048 HTMLStyle
21049 \end_layout
21050
21051 \end_inset
21052
21053 を使用してください.
21054 \end_layout
21055
21056 \begin_layout Description
21057 \begin_inset Flex Code
21058 status collapsed
21059
21060 \begin_layout Plain Layout
21061 HTMLLabel
21062 \end_layout
21063
21064 \end_inset
21065
21066  [
21067 \begin_inset Flex Code
21068 status collapsed
21069
21070 \begin_layout Plain Layout
21071 文字列
21072 \end_layout
21073
21074 \end_inset
21075
21076 ] 段落と項目ラベルに使用されるタグ.上記各例の
21077 \begin_inset Flex Code
21078 status collapsed
21079
21080 \begin_layout Plain Layout
21081 labeltag
21082 \end_layout
21083
21084 \end_inset
21085
21086 を置き換えます.
21087 \begin_inset Flex Code
21088 status collapsed
21089
21090 \begin_layout Plain Layout
21091 LabelType
21092 \end_layout
21093
21094 \end_inset
21095
21096
21097 \begin_inset Flex Code
21098 status collapsed
21099
21100 \begin_layout Plain Layout
21101 Top_Environment
21102 \end_layout
21103
21104 \end_inset
21105
21106
21107 \begin_inset Flex Code
21108 status collapsed
21109
21110 \begin_layout Plain Layout
21111 Centered_Top_Environment
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 \begin_inset Flex Code
21128 status collapsed
21129
21130 \begin_layout Plain Layout
21131 span
21132 \end_layout
21133
21134 \end_inset
21135
21136 です.
21137 \end_layout
21138
21139 \begin_layout Description
21140 \begin_inset Flex Code
21141 status collapsed
21142
21143 \begin_layout Plain Layout
21144 HTMLLabelAttr
21145 \end_layout
21146
21147 \end_inset
21148
21149  [
21150 \begin_inset Flex Code
21151 status collapsed
21152
21153 \begin_layout Plain Layout
21154 文字列
21155 \end_layout
21156
21157 \end_inset
21158
21159 ] labelタグの属性.既定値は
21160 \begin_inset Flex Code
21161 status collapsed
21162
21163 \begin_layout Plain Layout
21164 class=`レイアウト名_label'
21165 \end_layout
21166
21167 \end_inset
21168
21169 です.ここには,様式情報は含まれては
21170 \emph on
21171 なりません
21172 \emph default
21173 .その目的のためには,
21174 \begin_inset Flex Code
21175 status collapsed
21176
21177 \begin_layout Plain Layout
21178 HTMLStyle
21179 \end_layout
21180
21181 \end_inset
21182
21183 を使用してください.
21184 \end_layout
21185
21186 \begin_layout Description
21187 \begin_inset Flex Code
21188 status collapsed
21189
21190 \begin_layout Plain Layout
21191 HTMLLabelFirst
21192 \end_layout
21193
21194 \end_inset
21195
21196  [
21197 \begin_inset Flex Code
21198 status collapsed
21199
21200 \begin_layout Plain Layout
21201
21202 \emph on
21203 0
21204 \emph default
21205 ,1
21206 \end_layout
21207
21208 \end_inset
21209
21210 ] このタグは,リスト関係環境でのみ意味を持ち,labelタグが,itemタグの前に出力されるか,中に出力されるかを制御します.これは,たとえば,descrip
21211 tion環境の中で,
21212 \begin_inset Flex Code
21213 status collapsed
21214
21215 \begin_layout Plain Layout
21216 `<dt>\SpecialChar ldots
21217 </dt><dd>\SpecialChar ldots
21218 </dd>
21219 \end_layout
21220
21221 \end_inset
21222
21223 という形を得るために使用されます.既定値は
21224 \begin_inset Flex Code
21225 status collapsed
21226
21227 \begin_layout Plain Layout
21228 0
21229 \end_layout
21230
21231 \end_inset
21232
21233 で,labelタグはitemタグの中に出力されます.
21234 \end_layout
21235
21236 \begin_layout Description
21237 \begin_inset Flex Code
21238 status collapsed
21239
21240 \begin_layout Plain Layout
21241 HTMLPreamble
21242 \end_layout
21243
21244 \end_inset
21245
21246  この様式が使用されたときに,
21247 \begin_inset Flex Code
21248 status collapsed
21249
21250 \begin_layout Plain Layout
21251 <head>
21252 \end_layout
21253
21254 \end_inset
21255
21256 セクションに出力される情報.これは,たとえば,
21257 \begin_inset Flex Code
21258 status collapsed
21259
21260 \begin_layout Plain Layout
21261 onclick
21262 \end_layout
21263
21264 \end_inset
21265
21266 ハンドラを定義するために
21267 \begin_inset Flex Code
21268 status collapsed
21269
21270 \begin_layout Plain Layout
21271 <script>
21272 \end_layout
21273
21274 \end_inset
21275
21276 ブロックをインクルードするのに使用することができます.
21277 \end_layout
21278
21279 \begin_layout Description
21280 \begin_inset Flex Code
21281 status collapsed
21282
21283 \begin_layout Plain Layout
21284 HTMLStyle
21285 \end_layout
21286
21287 \end_inset
21288
21289   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21290 \begin_inset Flex Code
21291 status collapsed
21292
21293 \begin_layout Plain Layout
21294 <style>
21295 \end_layout
21296
21297 \end_inset
21298
21299 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21300 \begin_inset Flex Code
21301 status collapsed
21302
21303 \begin_layout Plain Layout
21304 EndHTMLStyle
21305 \end_layout
21306
21307 \end_inset
21308
21309 で閉じなくてはなりません.
21310 \end_layout
21311
21312 \begin_layout Description
21313 \begin_inset Flex Code
21314 status collapsed
21315
21316 \begin_layout Plain Layout
21317 HTMLTag
21318 \end_layout
21319
21320 \end_inset
21321
21322  [
21323 \begin_inset Flex Code
21324 status collapsed
21325
21326 \begin_layout Plain Layout
21327 文字列
21328 \end_layout
21329
21330 \end_inset
21331
21332 ] 主幹ラベルに使用されるタグ.上記各例の
21333 \begin_inset Flex Code
21334 status collapsed
21335
21336 \begin_layout Plain Layout
21337 tag
21338 \end_layout
21339
21340 \end_inset
21341
21342 を置き換えます.既定値は
21343 \begin_inset Flex Code
21344 status collapsed
21345
21346 \begin_layout Plain Layout
21347 div
21348 \end_layout
21349
21350 \end_inset
21351
21352 です.
21353 \end_layout
21354
21355 \begin_layout Description
21356 \begin_inset Flex Code
21357 status collapsed
21358
21359 \begin_layout Plain Layout
21360 HTMLTitle
21361 \end_layout
21362
21363 \end_inset
21364
21365  [
21366 \begin_inset Flex Code
21367 status collapsed
21368
21369 \begin_layout Plain Layout
21370
21371 \emph on
21372 0
21373 \emph default
21374 ,1
21375 \end_layout
21376
21377 \end_inset
21378
21379 ] この様式が,XHTMLファイルの
21380 \begin_inset Flex Code
21381 status collapsed
21382
21383 \begin_layout Plain Layout
21384 <title>
21385 \end_layout
21386
21387 \end_inset
21388
21389 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
21390 \begin_inset Flex Code
21391 status collapsed
21392
21393 \begin_layout Plain Layout
21394 stdtitle.inc
21395 \end_layout
21396
21397 \end_inset
21398
21399 ファイルでは,
21400 \begin_inset Flex Code
21401 status collapsed
21402
21403 \begin_layout Plain Layout
21404 title
21405 \end_layout
21406
21407 \end_inset
21408
21409 環境のこの項目を真に設定しています.
21410 \end_layout
21411
21412 \begin_layout Subsection
21413 差込枠レイアウトXHTML
21414 \end_layout
21415
21416 \begin_layout Standard
21417 差込枠のXHTML出力も,レイアウトファイル内の情報によって制御することができます
21418 \begin_inset Foot
21419 status collapsed
21420
21421 \begin_layout Plain Layout
21422 現在のところ,これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されませ
21423 ん.
21424 \end_layout
21425
21426 \end_inset
21427
21428 .ここでも,\SpecialChar LyX
21429 は適切な既定値を提供しようと試み,既定のCSS様式を構成します.しかし,すべてカスタマイズ可能です.
21430 \end_layout
21431
21432 \begin_layout Standard
21433 \SpecialChar LyX
21434 が差込枠用に出力するXHTMLは,以下の形を取ります.
21435 \end_layout
21436
21437 \begin_layout LyX-Code
21438 <tag attr=
21439 \begin_inset Quotes erd
21440 \end_inset
21441
21442 value
21443 \begin_inset Quotes erd
21444 \end_inset
21445
21446 >
21447 \end_layout
21448
21449 \begin_layout LyX-Code
21450 <labeltag>ラベル</labeltag>
21451 \end_layout
21452
21453 \begin_layout LyX-Code
21454 <innertag attr=
21455 \begin_inset Quotes erd
21456 \end_inset
21457
21458 value
21459 \begin_inset Quotes erd
21460 \end_inset
21461
21462 >差込枠の内容.</innertag>
21463 \end_layout
21464
21465 \begin_layout LyX-Code
21466 </tag>
21467 \end_layout
21468
21469 \begin_layout Standard
21470 差込枠が多段落を許可している—つまり
21471 \begin_inset Flex Code
21472 status collapsed
21473
21474 \begin_layout Plain Layout
21475 MultiPar
21476 \end_layout
21477
21478 \end_inset
21479
21480 が真—ならば,差込枠の内容は,それ自身段落として出力され,それらの段落に用いられる様式(標準,引用など)を用いて整形されます.もちろん,段落にラベルがなければ,
21481 labelタグは省略され,ラベルがあれば,現在のところ,つねに
21482 \begin_inset Flex Code
21483 status collapsed
21484
21485 \begin_layout Plain Layout
21486 span
21487 \end_layout
21488
21489 \end_inset
21490
21491 が用いられます.innerタグは非必須であり,既定では出力されません.各差込枠用に出力される特定のタグや属性は,以下のレイアウトタグによって制御することができま
21492 す.
21493 \end_layout
21494
21495 \begin_layout Description
21496 \begin_inset Flex Code
21497 status collapsed
21498
21499 \begin_layout Plain Layout
21500 HTMLAttr
21501 \end_layout
21502
21503 \end_inset
21504
21505  [
21506 \begin_inset Flex Code
21507 status collapsed
21508
21509 \begin_layout Plain Layout
21510 文字列
21511 \end_layout
21512
21513 \end_inset
21514
21515 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21516 \begin_inset Flex Code
21517 status collapsed
21518
21519 \begin_layout Plain Layout
21520 class=`myinset' onclick=`\SpecialChar ldots
21521 '
21522 \end_layout
21523
21524 \end_inset
21525
21526 」のようなものです.既定においては,\SpecialChar LyX
21527 は「
21528 \begin_inset Flex Code
21529 status collapsed
21530
21531 \begin_layout Plain Layout
21532 class=`差込枠名'
21533 \end_layout
21534
21535 \end_inset
21536
21537 」と出力します.ここで
21538 \begin_inset Flex Code
21539 status collapsed
21540
21541 \begin_layout Plain Layout
21542 差込枠名
21543 \end_layout
21544
21545 \end_inset
21546
21547 は,差込枠の\SpecialChar LyX
21548 名であり,小文字で記述します.アルファベットや数字以外の文字は,アンダースコアに置き換えられます.
21549 \end_layout
21550
21551 \begin_layout Description
21552 \begin_inset Flex Code
21553 status collapsed
21554
21555 \begin_layout Plain Layout
21556 HTMLForceCSS
21557 \end_layout
21558
21559 \end_inset
21560
21561  [
21562 \begin_inset Flex Code
21563 status collapsed
21564
21565 \begin_layout Plain Layout
21566
21567 \emph on
21568 0
21569 \emph default
21570 ,1
21571 \end_layout
21572
21573 \end_inset
21574
21575 ] 
21576 \begin_inset Flex Code
21577 status collapsed
21578
21579 \begin_layout Plain Layout
21580 HTMLStyle
21581 \end_layout
21582
21583 \end_inset
21584
21585 で追加情報が明示的に与えられているときでも,\SpecialChar LyX
21586 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
21587 \begin_inset Flex Code
21588 status collapsed
21589
21590 \begin_layout Plain Layout
21591 1
21592 \end_layout
21593
21594 \end_inset
21595
21596 にすると,生成されたCSSを完全に上書きする代わりに,変更したり追加したりすることができます.既定値は
21597 \begin_inset Flex Code
21598 status collapsed
21599
21600 \begin_layout Plain Layout
21601 0
21602 \end_layout
21603
21604 \end_inset
21605
21606 です.
21607 \end_layout
21608
21609 \begin_layout Description
21610 \begin_inset Flex Code
21611 status collapsed
21612
21613 \begin_layout Plain Layout
21614 HTMLInnerAttr
21615 \end_layout
21616
21617 \end_inset
21618
21619  [
21620 \begin_inset Flex Code
21621 status collapsed
21622
21623 \begin_layout Plain Layout
21624 文字列
21625 \end_layout
21626
21627 \end_inset
21628
21629 ] innerタグの属性.既定値は
21630 \begin_inset Flex Code
21631 status collapsed
21632
21633 \begin_layout Plain Layout
21634 class=`差込枠名_inner'
21635 \end_layout
21636
21637 \end_inset
21638
21639 です.
21640 \end_layout
21641
21642 \begin_layout Description
21643 \begin_inset Flex Code
21644 status collapsed
21645
21646 \begin_layout Plain Layout
21647 HTMLInnerTag
21648 \end_layout
21649
21650 \end_inset
21651
21652  [
21653 \begin_inset Flex Code
21654 status collapsed
21655
21656 \begin_layout Plain Layout
21657 文字列
21658 \end_layout
21659
21660 \end_inset
21661
21662 ] innerタグです.上記各例の
21663 \begin_inset Flex Code
21664 status collapsed
21665
21666 \begin_layout Plain Layout
21667 innertag
21668 \end_layout
21669
21670 \end_inset
21671
21672 を置き換えます.既定値はなしです.
21673 \end_layout
21674
21675 \begin_layout Description
21676 \begin_inset Flex Code
21677 status collapsed
21678
21679 \begin_layout Plain Layout
21680 HTMLIsBlock
21681 \end_layout
21682
21683 \end_inset
21684
21685  [
21686 \begin_inset Flex Code
21687 status collapsed
21688
21689 \begin_layout Plain Layout
21690 0,
21691 \emph on
21692 1
21693 \end_layout
21694
21695 \end_inset
21696
21697 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,それとも,(派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
21698 \end_layout
21699
21700 \begin_layout Description
21701 \begin_inset Flex Code
21702 status collapsed
21703
21704 \begin_layout Plain Layout
21705 HTMLLabel
21706 \end_layout
21707
21708 \end_inset
21709
21710  [
21711 \begin_inset Flex Code
21712 status collapsed
21713
21714 \begin_layout Plain Layout
21715 文字列
21716 \end_layout
21717
21718 \end_inset
21719
21720 ] 場合によっては,カウンタへの参照を含む,この差込枠のラベル.たとえば,脚註用には
21721 \begin_inset Flex Code
21722 status collapsed
21723
21724 \begin_layout Plain Layout
21725
21726 \backslash
21727 arabic{footnote}
21728 \end_layout
21729
21730 \end_inset
21731
21732 など.これは非必須であり,既定値はありません.
21733 \end_layout
21734
21735 \begin_layout Description
21736 \begin_inset Flex Code
21737 status collapsed
21738
21739 \begin_layout Plain Layout
21740 HTMLPreamble
21741 \end_layout
21742
21743 \end_inset
21744
21745  この様式が使用されたときに,
21746 \begin_inset Flex Code
21747 status collapsed
21748
21749 \begin_layout Plain Layout
21750 <head>
21751 \end_layout
21752
21753 \end_inset
21754
21755 セクションに出力される情報.これは,たとえば,
21756 \begin_inset Flex Code
21757 status collapsed
21758
21759 \begin_layout Plain Layout
21760 onclick
21761 \end_layout
21762
21763 \end_inset
21764
21765 ハンドラを定義するために
21766 \begin_inset Flex Code
21767 status collapsed
21768
21769 \begin_layout Plain Layout
21770 <script>
21771 \end_layout
21772
21773 \end_inset
21774
21775 ブロックをインクルードするのに使用することができます.
21776 \end_layout
21777
21778 \begin_layout Description
21779 \begin_inset Flex Code
21780 status collapsed
21781
21782 \begin_layout Plain Layout
21783 HTMLStyle
21784 \end_layout
21785
21786 \end_inset
21787
21788   この様式が使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21789 \begin_inset Flex Code
21790 status collapsed
21791
21792 \begin_layout Plain Layout
21793 <style>
21794 \end_layout
21795
21796 \end_inset
21797
21798 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21799 \end_layout
21800
21801 \begin_layout Description
21802 \begin_inset Flex Code
21803 status collapsed
21804
21805 \begin_layout Plain Layout
21806 HTMLTag
21807 \end_layout
21808
21809 \end_inset
21810
21811  [
21812 \begin_inset Flex Code
21813 status collapsed
21814
21815 \begin_layout Plain Layout
21816 文字列
21817 \end_layout
21818
21819 \end_inset
21820
21821 ] 主幹ラベルに使用されるタグ.上記各例の
21822 \begin_inset Flex Code
21823 status collapsed
21824
21825 \begin_layout Plain Layout
21826 tag
21827 \end_layout
21828
21829 \end_inset
21830
21831 を置き換えます.既定値は
21832 \begin_inset Flex Code
21833 status collapsed
21834
21835 \begin_layout Plain Layout
21836 MultiPar
21837 \end_layout
21838
21839 \end_inset
21840
21841 の設定に依存し,
21842 \begin_inset Flex Code
21843 status collapsed
21844
21845 \begin_layout Plain Layout
21846 MultiPar
21847 \end_layout
21848
21849 \end_inset
21850
21851 が真ならば
21852 \begin_inset Flex Code
21853 status collapsed
21854
21855 \begin_layout Plain Layout
21856 div
21857 \end_layout
21858
21859 \end_inset
21860
21861 ,偽ならば
21862 \begin_inset Flex Code
21863 status collapsed
21864
21865 \begin_layout Plain Layout
21866 span
21867 \end_layout
21868
21869 \end_inset
21870
21871 です.
21872 \end_layout
21873
21874 \begin_layout Subsection
21875 フロートXHTML
21876 \end_layout
21877
21878 \begin_layout Standard
21879 フロートのXHTML出力も,レイアウトファイル内の情報によって制御することができます.出力は,以下の形を取ります.
21880 \end_layout
21881
21882 \begin_layout LyX-Code
21883 <tag attr=
21884 \begin_inset Quotes erd
21885 \end_inset
21886
21887 value
21888 \begin_inset Quotes erd
21889 \end_inset
21890
21891 >
21892 \end_layout
21893
21894 \begin_layout LyX-Code
21895 フロートの内容.
21896 \end_layout
21897
21898 \begin_layout LyX-Code
21899 </tag>
21900 \end_layout
21901
21902 \begin_layout Standard
21903 キャプションは,存在している場合には,独立した差込枠となり,そのような形で出力されます.その外観は,キャプション差込枠のInsetLayoutで制御することがで
21904 きます.
21905 \end_layout
21906
21907 \begin_layout Description
21908 \begin_inset Flex Code
21909 status collapsed
21910
21911 \begin_layout Plain Layout
21912 HTMLAttr
21913 \end_layout
21914
21915 \end_inset
21916
21917  [
21918 \begin_inset Flex Code
21919 status collapsed
21920
21921 \begin_layout Plain Layout
21922 文字列
21923 \end_layout
21924
21925 \end_inset
21926
21927 ] 主幹タグと共に出力される属性情報を指定します.たとえば,「
21928 \begin_inset Flex Code
21929 status collapsed
21930
21931 \begin_layout Plain Layout
21932 class=`myfloat' onclick=`\SpecialChar ldots
21933 '
21934 \end_layout
21935
21936 \end_inset
21937
21938 」のようなものです.既定においては,\SpecialChar LyX
21939 は「
21940 \begin_inset Flex Code
21941 status collapsed
21942
21943 \begin_layout Plain Layout
21944 class=`float フロート-フロート型'
21945 \end_layout
21946
21947 \end_inset
21948
21949 」と出力します.ここで
21950 \begin_inset Flex Code
21951 status collapsed
21952
21953 \begin_layout Plain Layout
21954 フロート型
21955 \end_layout
21956
21957 \end_inset
21958
21959 は,フロート宣言で定義された(
21960 \begin_inset CommandInset ref
21961 LatexCommand ref
21962 reference "subsec:フロート"
21963
21964 \end_inset
21965
21966 参照),この型のフロートの\SpecialChar LyX
21967 名です.ただし,これは小文字に変換され,アルファベットや数字でない文字はアンダースコアに変換されます.例:float-table.
21968 \end_layout
21969
21970 \begin_layout Description
21971 \begin_inset Flex Code
21972 status collapsed
21973
21974 \begin_layout Plain Layout
21975 HTMLStyle
21976 \end_layout
21977
21978 \end_inset
21979
21980   このフロートが使用されたときに,インクルードするCSSスタイル情報.これは,レイアウトが生成する
21981 \begin_inset Flex Code
21982 status collapsed
21983
21984 \begin_layout Plain Layout
21985 <style>
21986 \end_layout
21987
21988 \end_inset
21989
21990 ブロックで自動的に包まれますので,CSS自体をインクルードするだけで大丈夫です.
21991 \end_layout
21992
21993 \begin_layout Description
21994 \begin_inset Flex Code
21995 status collapsed
21996
21997 \begin_layout Plain Layout
21998 HTMLTag
21999 \end_layout
22000
22001 \end_inset
22002
22003  [
22004 \begin_inset Flex Code
22005 status collapsed
22006
22007 \begin_layout Plain Layout
22008 文字列
22009 \end_layout
22010
22011 \end_inset
22012
22013 ] このフロートに使用されるタグ.上記各例の
22014 \begin_inset Flex Code
22015 status collapsed
22016
22017 \begin_layout Plain Layout
22018 tag
22019 \end_layout
22020
22021 \end_inset
22022
22023 を置き換えます.既定値は
22024 \begin_inset Flex Code
22025 status collapsed
22026
22027 \begin_layout Plain Layout
22028 div
22029 \end_layout
22030
22031 \end_inset
22032
22033 であり,ほとんどの場合変更する必要はありません.
22034 \end_layout
22035
22036 \begin_layout Subsection
22037 書誌情報の整形
22038 \end_layout
22039
22040 \begin_layout Standard
22041 書誌情報は,
22042 \begin_inset Flex Code
22043 status collapsed
22044
22045 \begin_layout Plain Layout
22046 CiteFormat
22047 \end_layout
22048
22049 \end_inset
22050
22051 ブロックを使用して整形することができます.詳細については,
22052 \begin_inset CommandInset ref
22053 LatexCommand ref
22054 reference "subsec:引用書式指定"
22055
22056 \end_inset
22057
22058 を参照してください.
22059 \end_layout
22060
22061 \begin_layout Subsection
22062 \SpecialChar LyX
22063 が生成したCSS
22064 \end_layout
22065
22066 \begin_layout Standard
22067 \SpecialChar LyX
22068 は,提供されている他のレイアウト情報に基づいて,差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,これまでに何度か触れました.この節では,\SpecialChar LyX
22069
22070 がどのレイアウト情報を,どのように使うのか,ひとこと述べておきたいと思います.
22071 \end_layout
22072
22073 \begin_layout Standard
22074 \SpecialChar LyX
22075 は,現在のところ,
22076 \begin_inset Flex Code
22077 status collapsed
22078
22079 \begin_layout Plain Layout
22080 Font
22081 \end_layout
22082
22083 \end_inset
22084
22085 宣言で指定されている
22086 \begin_inset Flex Code
22087 status collapsed
22088
22089 \begin_layout Plain Layout
22090 Family
22091 \end_layout
22092
22093 \end_inset
22094
22095
22096 \begin_inset Flex Code
22097 status collapsed
22098
22099 \begin_layout Plain Layout
22100 Series
22101 \end_layout
22102
22103 \end_inset
22104
22105
22106 \begin_inset Flex Code
22107 status collapsed
22108
22109 \begin_layout Plain Layout
22110 Shape
22111 \end_layout
22112
22113 \end_inset
22114
22115
22116 \begin_inset Flex Code
22117 status collapsed
22118
22119 \begin_layout Plain Layout
22120 Size
22121 \end_layout
22122
22123 \end_inset
22124
22125 を利用して,フォント情報についてのみCSSを自動生成します(
22126 \begin_inset CommandInset ref
22127 LatexCommand ref
22128 reference "subsec:フォント指定"
22129
22130 \end_inset
22131
22132 を参照).この変換は,きわめて分かりやすく自明です.たとえば,「
22133 \begin_inset Flex Code
22134 status collapsed
22135
22136 \begin_layout Plain Layout
22137 Family Sans
22138 \end_layout
22139
22140 \end_inset
22141
22142 」は「
22143 \begin_inset Flex Code
22144 status collapsed
22145
22146 \begin_layout Plain Layout
22147 font-family: sans-serif
22148 \end_layout
22149
22150 \end_inset
22151
22152 」になります.\SpecialChar LyX
22153 の寸法とCSSの寸法のあいだの対応は,少し複雑ですが,それでも直感的に分かります.詳細については,
22154 \begin_inset Flex URL
22155 status collapsed
22156
22157 \begin_layout Plain Layout
22158
22159 src/FontInfo.cpp
22160 \end_layout
22161
22162 \end_inset
22163
22164
22165 \begin_inset Flex Code
22166 status collapsed
22167
22168 \begin_layout Plain Layout
22169 getSizeCSS()
22170 \end_layout
22171
22172 \end_inset
22173
22174 関数をご覧ください.
22175 \end_layout
22176
22177 \begin_layout Chapter
22178 外部素材を取り込む
22179 \begin_inset CommandInset label
22180 LatexCommand label
22181 name "chap:外部素材を取り込む"
22182
22183 \end_inset
22184
22185
22186 \end_layout
22187
22188 \begin_layout Standard
22189 \begin_inset Box Shadowbox
22190 position "t"
22191 hor_pos "c"
22192 has_inner_box 1
22193 inner_pos "t"
22194 use_parbox 0
22195 use_makebox 0
22196 width "100col%"
22197 special "none"
22198 height "1in"
22199 height_special "totalheight"
22200 thickness "0.4pt"
22201 separation "3pt"
22202 shadowsize "4pt"
22203 framecolor "black"
22204 backgroundcolor "none"
22205 status open
22206
22207 \begin_layout Plain Layout
22208 【警告】本説明書のこの部分は,しばらく更新されていません.もちろんまだ正確であることを期待していますが,保証の限りではありません.
22209 \end_layout
22210
22211 \end_inset
22212
22213
22214 \end_layout
22215
22216 \begin_layout Standard
22217 \SpecialChar LyX
22218 外部のソースから素材を使用する方法は,取扱説明書『
22219 \emph on
22220 埋込オブジェクト篇
22221 \emph default
22222 』で詳細にカバーされています.本章は,新種の素材を取り込む際に,舞台裏で何をする必要があるかをカバーします.
22223 \end_layout
22224
22225 \begin_layout Section
22226 どのように機能するのか
22227 \end_layout
22228
22229 \begin_layout Standard
22230 外部素材の機能は,ひな型の概念に基づいています.ひな型は,\SpecialChar LyX
22231 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,\SpecialChar LyX
22232 は,Xfigの図や,様々
22233 なラスター形式画像,チェス棋譜,LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
22234 \begin_inset Flex MenuItem
22235 status collapsed
22236
22237 \begin_layout Plain Layout
22238 挿入\SpecialChar menuseparator
22239 ファイル\SpecialChar menuseparator
22240 外部素材
22241 \end_layout
22242
22243 \end_inset
22244
22245 メニューで見ることができます.さらに,特定の型の素材をサポートするのに,自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しま
22246 すが,できればあなたが作ったすべてのひな型を投稿して,我々が\SpecialChar LyX
22247 の後の版に取り込むことができるようにしてくださることを希望します.
22248 \end_layout
22249
22250 \begin_layout Standard
22251 外部素材の機能におけるもう一つの基本的な発想は,最終素材の元となるオリジナルファイルと,書き出された文書や印刷された文書に取り込むための生成ファイルとを区別して
22252 いることです.たとえば,
22253 \begin_inset Flex Code
22254 status collapsed
22255
22256 \begin_layout Plain Layout
22257 Xfig
22258 \end_layout
22259
22260 \end_inset
22261
22262 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
22263 \begin_inset Flex Code
22264 status collapsed
22265
22266 \begin_layout Plain Layout
22267 .fig
22268 \end_layout
22269
22270 \end_inset
22271
22272 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,作業が終われば
22273 \begin_inset Flex Code
22274 status collapsed
22275
22276 \begin_layout Plain Layout
22277 fig
22278 \end_layout
22279
22280 \end_inset
22281
22282 ファイルに保存します.この図をお使いの文書に取り込みたいときには,\SpecialChar LaTeX
22283 ファイルにそのままインクルードできるように,
22284 \begin_inset Flex Code
22285 status collapsed
22286
22287 \begin_layout Plain Layout
22288 transfig
22289 \end_layout
22290
22291 \end_inset
22292
22293 を呼び出してPostScriptファイルを生成します.この場合には,
22294 \begin_inset Flex Code
22295 status collapsed
22296
22297 \begin_layout Plain Layout
22298 .fig
22299 \end_layout
22300
22301 \end_inset
22302
22303 ファイルがオリジナルファイルであり,PostScriptファイルが生成ファイルになります.
22304 \end_layout
22305
22306 \begin_layout Standard
22307 この区別は,文書を執筆している最中に,素材を更新することができるようにするために重要です.さらに,これによって,複数の書き出し書式をサポートするために必要な柔軟
22308 性が提供されます.たとえば,平文テキストファイルの場合には,図を生のPostScriptファイルとして取り込むのは,とても褒められた発想とはいえません.むしろ,
22309 その図への参照だけを含めるか,最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
22310 の外部素材マネジメントは
22311 ,\SpecialChar LyX
22312 がサポートする各書き出し書式別に仕分けしているので,ユーザがこれを行うことが可能となっています.
22313 \end_layout
22314
22315 \begin_layout Standard
22316 \SpecialChar LyX
22317 の外部素材マネジメントは,書き出し書式によって異なる生成物をサポートすることの他に,編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図
22318 の場合には,\SpecialChar LyX
22319 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,ダブルクリックすることで生成されたPostScriptファイ
22320 ルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファ
22321 イルブラウザをいじくり回す必要はないのです.このようにして,文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,最終的により生産性を上げることが
22322 できるようになるのです.
22323 \end_layout
22324
22325 \begin_layout Section
22326 外用ひな型設定ファイル
22327 \end_layout
22328
22329 \begin_layout Standard
22330 \SpecialChar LyX
22331 に自製の外用ひな型を付け加えるのは,比較的簡単です.しかしながら,これを不用心に行ってしまうと,たいていの場合,簡単に濫用されてしまうようなセキュリティホールを
22332 作ってしまいがちであることを心に留めておいてください.したがって,これを実行に移す前に,
22333 \begin_inset CommandInset ref
22334 LatexCommand ref
22335 reference "sec:セキュリティに関する論点"
22336
22337 \end_inset
22338
22339 のセキュリティに関する議論を読んでおいてください.
22340 \end_layout
22341
22342 \begin_layout Standard
22343 このことに言及した上で,あなたが作成した面白いひな型は,ぜひ投稿してください.
22344 \end_layout
22345
22346 \begin_layout Standard
22347 外用ひな型ファイルは,
22348 \begin_inset Flex Code
22349 status collapsed
22350
22351 \begin_layout Plain Layout
22352 LyXDir/lib/xtemplates/
22353 \end_layout
22354
22355 \end_inset
22356
22357 ディレクトリ中にある
22358 \begin_inset Flex Code
22359 status collapsed
22360
22361 \begin_layout Plain Layout
22362 *.xtemplate
22363 \end_layout
22364
22365 \end_inset
22366
22367 ファイルに定義されています.各ひな型は,そのファイル完結で定義されています.自分専用のひな型を
22368 \begin_inset Flex Code
22369 status collapsed
22370
22371 \begin_layout Plain Layout
22372 UserDir/xtemplates/
22373 \end_layout
22374
22375 \end_inset
22376
22377 に置くこともできますし,既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
22378 \end_layout
22379
22380 \begin_layout Standard
22381 典型的なひな型は以下のようになります.
22382 \end_layout
22383
22384 \begin_layout LyX-Code
22385 Template XFig
22386 \end_layout
22387
22388 \begin_layout LyX-Code
22389 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22390 \end_layout
22391
22392 \begin_layout LyX-Code
22393 HelpText
22394 \end_layout
22395
22396 \begin_layout LyX-Code
22397 An XFig figure.
22398 \end_layout
22399
22400 \begin_layout LyX-Code
22401 HelpTextEnd
22402 \end_layout
22403
22404 \begin_layout LyX-Code
22405 InputFormat fig
22406 \end_layout
22407
22408 \begin_layout LyX-Code
22409 FileFilter "*.fig"
22410 \end_layout
22411
22412 \begin_layout LyX-Code
22413 AutomaticProduction true
22414 \end_layout
22415
22416 \begin_layout LyX-Code
22417 Transform Rotate
22418 \end_layout
22419
22420 \begin_layout LyX-Code
22421 Transform Resize
22422 \end_layout
22423
22424 \begin_layout LyX-Code
22425 Format LaTeX
22426 \end_layout
22427
22428 \begin_layout LyX-Code
22429 TransformCommand Rotate RotationLatexCommand
22430 \end_layout
22431
22432 \begin_layout LyX-Code
22433 TransformCommand Resize ResizeLatexCommand
22434 \end_layout
22435
22436 \begin_layout LyX-Code
22437 Product "$$RotateFront$$ResizeFront
22438 \end_layout
22439
22440 \begin_layout LyX-Code
22441          
22442 \backslash
22443
22444 \backslash
22445 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22446 \end_layout
22447
22448 \begin_layout LyX-Code
22449          $$ResizeBack$$RotateBack"
22450 \end_layout
22451
22452 \begin_layout LyX-Code
22453 UpdateFormat pstex
22454 \end_layout
22455
22456 \begin_layout LyX-Code
22457 UpdateResult "$$AbsPath$$Basename.pstex_t"
22458 \end_layout
22459
22460 \begin_layout LyX-Code
22461 Requirement "graphicx"
22462 \end_layout
22463
22464 \begin_layout LyX-Code
22465 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22466 \end_layout
22467
22468 \begin_layout LyX-Code
22469 ReferencedFile latex "$$AbsPath$$Basename.eps"
22470 \end_layout
22471
22472 \begin_layout LyX-Code
22473 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22474 \end_layout
22475
22476 \begin_layout LyX-Code
22477 FormatEnd
22478 \end_layout
22479
22480 \begin_layout LyX-Code
22481 Format PDFLaTeX
22482 \end_layout
22483
22484 \begin_layout LyX-Code
22485 TransformCommand Rotate RotationLatexCommand
22486 \end_layout
22487
22488 \begin_layout LyX-Code
22489 TransformCommand Resize ResizeLatexCommand
22490 \end_layout
22491
22492 \begin_layout LyX-Code
22493 Product "$$RotateFront$$ResizeFront
22494 \end_layout
22495
22496 \begin_layout LyX-Code
22497          
22498 \backslash
22499
22500 \backslash
22501 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22502 \end_layout
22503
22504 \begin_layout LyX-Code
22505          $$ResizeBack$$RotateBack"
22506 \end_layout
22507
22508 \begin_layout LyX-Code
22509 UpdateFormat pdftex
22510 \end_layout
22511
22512 \begin_layout LyX-Code
22513 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22514 \end_layout
22515
22516 \begin_layout LyX-Code
22517 Requirement "graphicx"
22518 \end_layout
22519
22520 \begin_layout LyX-Code
22521 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22522 \end_layout
22523
22524 \begin_layout LyX-Code
22525 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22526 \end_layout
22527
22528 \begin_layout LyX-Code
22529 FormatEnd
22530 \end_layout
22531
22532 \begin_layout LyX-Code
22533 Format Ascii
22534 \end_layout
22535
22536 \begin_layout LyX-Code
22537 Product "$$Contents(
22538 \backslash
22539 "$$AbsPath$$Basename.asc
22540 \backslash
22541 ")"
22542 \end_layout
22543
22544 \begin_layout LyX-Code
22545 UpdateFormat asciixfig
22546 \end_layout
22547
22548 \begin_layout LyX-Code
22549 UpdateResult "$$AbsPath$$Basename.asc"
22550 \end_layout
22551
22552 \begin_layout LyX-Code
22553 FormatEnd
22554 \end_layout
22555
22556 \begin_layout LyX-Code
22557 Format DocBook
22558 \end_layout
22559
22560 \begin_layout LyX-Code
22561 Product "<graphic fileref=
22562 \backslash
22563 "$$AbsOrRelPathMaster$$Basename.eps
22564 \backslash
22565 ">
22566 \end_layout
22567
22568 \begin_layout LyX-Code
22569          </graphic>"
22570 \end_layout
22571
22572 \begin_layout LyX-Code
22573 UpdateFormat eps
22574 \end_layout
22575
22576 \begin_layout LyX-Code
22577 UpdateResult "$$AbsPath$$Basename.eps"
22578 \end_layout
22579
22580 \begin_layout LyX-Code
22581 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22582 \end_layout
22583
22584 \begin_layout LyX-Code
22585 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22586 \end_layout
22587
22588 \begin_layout LyX-Code
22589 FormatEnd
22590 \end_layout
22591
22592 \begin_layout LyX-Code
22593 Product "[XFig: $$FName]"
22594 \end_layout
22595
22596 \begin_layout LyX-Code
22597 FormatEnd
22598 \end_layout
22599
22600 \begin_layout LyX-Code
22601 TemplateEnd
22602 \end_layout
22603
22604 \begin_layout Standard
22605 ご覧の通り,ひな型は
22606 \begin_inset Flex Code
22607 status collapsed
22608
22609 \begin_layout Plain Layout
22610 Template
22611 \end_layout
22612
22613 \end_inset
22614
22615  \SpecialChar ldots
22616  
22617 \begin_inset Flex Code
22618 status collapsed
22619
22620 \begin_layout Plain Layout
22621 TemplateEnd
22622 \end_layout
22623
22624 \end_inset
22625
22626 で閉じられます.ひな型には,一般的な設定を行うヘッダ部と,サポートされている主要な文書ファイル形式の設定を行う
22627 \begin_inset Flex Code
22628 status collapsed
22629
22630 \begin_layout Plain Layout
22631 Format
22632 \end_layout
22633
22634 \end_inset
22635
22636  \SpecialChar ldots
22637  
22638 \begin_inset Flex Code
22639 status collapsed
22640
22641 \begin_layout Plain Layout
22642 FormatEnd
22643 \end_layout
22644
22645 \end_inset
22646
22647 部があります.
22648 \end_layout
22649
22650 \begin_layout Subsection
22651 ひな型のヘッダ
22652 \end_layout
22653
22654 \begin_layout Description
22655 \begin_inset Flex Code
22656 status collapsed
22657
22658 \begin_layout Plain Layout
22659 AutomaticProduction
22660 \begin_inset space ~
22661 \end_inset
22662
22663 true|false
22664 \end_layout
22665
22666 \end_inset
22667
22668  このひな型で扱うファイルを\SpecialChar LyX
22669 が生成しなくてはならないか否か.このコマンドは,一度だけ必ず現れなくてはなりません.
22670 \end_layout
22671
22672 \begin_layout Description
22673 \begin_inset Flex Code
22674 status collapsed
22675
22676 \begin_layout Plain Layout
22677 FileFilter
22678 \begin_inset space ~
22679 \end_inset
22680
22681 <パターン>
22682 \end_layout
22683
22684 \end_inset
22685
22686  望むファイル群を表示するために,ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,tgifには
22687 \begin_inset Flex Code
22688 status collapsed
22689
22690 \begin_layout Plain Layout
22691 .obj
22692 \end_layout
22693
22694 \end_inset
22695
22696
22697 \begin_inset Flex Code
22698 status collapsed
22699
22700 \begin_layout Plain Layout
22701 .tgo
22702 \end_layout
22703
22704 \end_inset
22705
22706 があります),「
22707 \begin_inset Flex Code
22708 status collapsed
22709
22710 \begin_layout Plain Layout
22711 *.{obj,tgo}
22712 \end_layout
22713
22714 \end_inset
22715
22716 」の様なパターンを使用してください.このコマンドは,一度だけ必ず現れなくてはなりません.
22717 \end_layout
22718
22719 \begin_layout Description
22720 \begin_inset Flex Code
22721 status collapsed
22722
22723 \begin_layout Plain Layout
22724 GuiName
22725 \begin_inset space ~
22726 \end_inset
22727
22728 <GUI名>
22729 \end_layout
22730
22731 \end_inset
22732
22733  この文字列はボタン上に表示されます.このコマンドは,一度だけ必ず現れなくてはなりません.
22734 \end_layout
22735
22736 \begin_layout Description
22737 \begin_inset Flex Code
22738 status collapsed
22739
22740 \begin_layout Plain Layout
22741 HelpText
22742 \begin_inset space ~
22743 \end_inset
22744
22745 <文章>
22746 \begin_inset space ~
22747 \end_inset
22748
22749 HelpTextEnd
22750 \end_layout
22751
22752 \end_inset
22753
22754  外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,一度だけ必
22755 ず現れなくてはなりません.
22756 \end_layout
22757
22758 \begin_layout Description
22759 \begin_inset Flex Code
22760 status collapsed
22761
22762 \begin_layout Plain Layout
22763 InputFormat
22764 \begin_inset space ~
22765 \end_inset
22766
22767 <書式>
22768 \end_layout
22769
22770 \end_inset
22771
22772  オリジナルファイルのファイル形式.これは,\SpecialChar LyX
22773 が知っている書式名でなくてはなりません(
22774 \begin_inset CommandInset ref
22775 LatexCommand ref
22776 reference "sec:ファイル形式"
22777
22778 \end_inset
22779
22780 参照).このひな型が,2つ以上の書式のオリジナルファイルを取り扱える場合は,「
22781 \begin_inset Flex Code
22782 status collapsed
22783
22784 \begin_layout Plain Layout
22785 *
22786 \end_layout
22787
22788 \end_inset
22789
22790 」を使用してください.この場合,\SpecialChar LyX
22791 はファイル形式を推定するために,ファイル自体に詮索を試みます.このコマンドは,一度だけ必ず現れなくてはなりません.
22792 \end_layout
22793
22794 \begin_layout Description
22795 \begin_inset Flex Code
22796 status collapsed
22797
22798 \begin_layout Plain Layout
22799 Template
22800 \begin_inset space ~
22801 \end_inset
22802
22803 <ID>
22804 \end_layout
22805
22806 \end_inset
22807
22808  このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
22809 \end_layout
22810
22811 \begin_layout Description
22812 \begin_inset Flex Code
22813 status collapsed
22814
22815 \begin_layout Plain Layout
22816 Transform
22817 \begin_inset space ~
22818 \end_inset
22819
22820 Rotate|Resize|Clip|Extra
22821 \end_layout
22822
22823 \end_inset
22824
22825  このコマンドは,このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,外部素材ダイア
22826 ログ中の対応するタブを使用可能にします.
22827 \begin_inset Flex Code
22828 status collapsed
22829
22830 \begin_layout Plain Layout
22831 Transform
22832 \end_layout
22833
22834 \end_inset
22835
22836 コマンド一つずつに応じて,
22837 \begin_inset Flex Code
22838 status collapsed
22839
22840 \begin_layout Plain Layout
22841 Format
22842 \end_layout
22843
22844 \end_inset
22845
22846 部に,対応する
22847 \begin_inset Flex Code
22848 status collapsed
22849
22850 \begin_layout Plain Layout
22851 TransformCommand
22852 \end_layout
22853
22854 \end_inset
22855
22856 コマンドか
22857 \begin_inset Flex Code
22858 status collapsed
22859
22860 \begin_layout Plain Layout
22861 TransformOption
22862 \end_layout
22863
22864 \end_inset
22865
22866 コマンドを置かなくてはなりません.これを行わないと,この書式での変換はサポートされません.
22867 \end_layout
22868
22869 \begin_layout Subsection
22870 \begin_inset Flex Code
22871 status collapsed
22872
22873 \begin_layout Plain Layout
22874 Format
22875 \end_layout
22876
22877 \end_inset
22878
22879
22880 \end_layout
22881
22882 \begin_layout Description
22883 \begin_inset Flex Code
22884 status collapsed
22885
22886 \begin_layout Plain Layout
22887 Format
22888 \begin_inset space ~
22889 \end_inset
22890
22891 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
22892 \end_layout
22893
22894 \end_inset
22895
22896  この書式定義が定める主要な文書ファイル形式.すべてのひな型が,全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,全書式に対して
22897 \begin_inset Flex Code
22898 status collapsed
22899
22900 \begin_layout Plain Layout
22901 Format
22902 \end_layout
22903
22904 \end_inset
22905
22906 部を定義してください.表示する方法がないときは,ダミーテキストを使用してください.これによって,書き出した文書内で,少なくとも外部素材への参照を見ることができる
22907 ようになります.
22908 \end_layout
22909
22910 \begin_layout Description
22911 \begin_inset Flex Code
22912 status collapsed
22913
22914 \begin_layout Plain Layout
22915 Option
22916 \begin_inset space ~
22917 \end_inset
22918
22919 <名称>
22920 \begin_inset space ~
22921 \end_inset
22922
22923 <値>
22924 \end_layout
22925
22926 \end_inset
22927
22928  このコマンドは,
22929 \begin_inset Flex Code
22930 status collapsed
22931
22932 \begin_layout Plain Layout
22933 Product
22934 \end_layout
22935
22936 \end_inset
22937
22938 での代入に使うマクロ
22939 \begin_inset Flex Code
22940 status collapsed
22941
22942 \begin_layout Plain Layout
22943 $$<名称>
22944 \end_layout
22945
22946 \end_inset
22947
22948 を新たに定義します.
22949 \begin_inset Flex Code
22950 status collapsed
22951
22952 \begin_layout Plain Layout
22953 <値>
22954 \end_layout
22955
22956 \end_inset
22957
22958 自体にも代入マクロを使うことができます.
22959 \begin_inset Flex Code
22960 status collapsed
22961
22962 \begin_layout Plain Layout
22963 Product
22964 \end_layout
22965
22966 \end_inset
22967
22968
22969 \begin_inset Flex Code
22970 status collapsed
22971
22972 \begin_layout Plain Layout
22973 <値>
22974 \end_layout
22975
22976 \end_inset
22977
22978 を直接使用するよりも優れた点は,
22979 \begin_inset Flex Code
22980 status collapsed
22981
22982 \begin_layout Plain Layout
22983 $$<名称>
22984 \end_layout
22985
22986 \end_inset
22987
22988 に代入された値が,その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
22989 \end_layout
22990
22991 \begin_layout Description
22992 \begin_inset Flex Code
22993 status collapsed
22994
22995 \begin_layout Plain Layout
22996 Product
22997 \begin_inset space ~
22998 \end_inset
22999
23000 <文>
23001 \end_layout
23002
23003 \end_inset
23004
23005  書き出された文書に挿入される文.実のところ,これが最も重要なコマンドであり,とても複雑になることがあります.このコマンドは,一度だけ必ず現れなくてはなりません
23006
23007 \end_layout
23008
23009 \begin_layout Description
23010 \begin_inset Flex Code
23011 status collapsed
23012
23013 \begin_layout Plain Layout
23014 Preamble
23015 \begin_inset space ~
23016 \end_inset
23017
23018 <名称>
23019 \end_layout
23020
23021 \end_inset
23022
23023  このコマンドは,\SpecialChar LaTeX
23024 プリアンブルに入れるプリアンブル片を指定します.これは
23025 \begin_inset Flex Code
23026 status collapsed
23027
23028 \begin_layout Plain Layout
23029 PreambleDef
23030 \end_layout
23031
23032 \end_inset
23033
23034  \SpecialChar ldots
23035  
23036 \begin_inset Flex Code
23037 status collapsed
23038
23039 \begin_layout Plain Layout
23040 PreambleDefEnd
23041 \end_layout
23042
23043 \end_inset
23044
23045 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
23046 \end_layout
23047
23048 \begin_layout Description
23049 \begin_inset Flex Code
23050 status collapsed
23051
23052 \begin_layout Plain Layout
23053 ReferencedFile
23054 \begin_inset space ~
23055 \end_inset
23056
23057 <書式>
23058 \begin_inset space ~
23059 \end_inset
23060
23061 <ファイル名>
23062 \end_layout
23063
23064 \end_inset
23065
23066  このコマンドは,変換過程で生成され,特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,親文書に対する相対パスとして解釈さ
23067 れます.このコマンドは全く登場しなくても1回以上現れても構いません.
23068 \end_layout
23069
23070 \begin_layout Description
23071 \begin_inset Flex Code
23072 status collapsed
23073
23074 \begin_layout Plain Layout
23075 Requirement
23076 \begin_inset space ~
23077 \end_inset
23078
23079 <package>
23080 \end_layout
23081
23082 \end_inset
23083
23084  必要とされる\SpecialChar LaTeX
23085 パッケージ名.パッケージは,\SpecialChar LaTeX
23086 プリアンブル中で
23087 \begin_inset Flex Code
23088 status collapsed
23089
23090 \begin_layout Plain Layout
23091
23092 \backslash
23093 usepackage{}
23094 \end_layout
23095
23096 \end_inset
23097
23098 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
23099 \end_layout
23100
23101 \begin_layout Description
23102 \begin_inset Flex Code
23103 status collapsed
23104
23105 \begin_layout Plain Layout
23106 TransformCommand
23107 \begin_inset space ~
23108 \end_inset
23109
23110 Rotate
23111 \begin_inset space ~
23112 \end_inset
23113
23114 RotationLatexCommand
23115 \end_layout
23116
23117 \end_inset
23118
23119  このコマンドは,回転用に,組み込みの\SpecialChar LaTeX
23120 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23121 \end_layout
23122
23123 \begin_layout Description
23124 \begin_inset Flex Code
23125 status collapsed
23126
23127 \begin_layout Plain Layout
23128 TransformCommand
23129 \begin_inset space ~
23130 \end_inset
23131
23132 Resize
23133 \begin_inset space ~
23134 \end_inset
23135
23136 ResizeLatexCommand
23137 \end_layout
23138
23139 \end_inset
23140
23141  このコマンドは,伸縮用に,組み込みの\SpecialChar LaTeX
23142 コマンドを使用するように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23143 \end_layout
23144
23145 \begin_layout Description
23146 \begin_inset Flex Code
23147 status collapsed
23148
23149 \begin_layout Plain Layout
23150 TransformOption
23151 \begin_inset space ~
23152 \end_inset
23153
23154 Rotate
23155 \begin_inset space ~
23156 \end_inset
23157
23158 RotationLatexOption
23159 \end_layout
23160
23161 \end_inset
23162
23163  このコマンドは,回転が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23164 \end_layout
23165
23166 \begin_layout Description
23167 \begin_inset Flex Code
23168 status collapsed
23169
23170 \begin_layout Plain Layout
23171 TransformOption
23172 \begin_inset space ~
23173 \end_inset
23174
23175 Resize
23176 \begin_inset space ~
23177 \end_inset
23178
23179 ResizeLatexOption
23180 \end_layout
23181
23182 \end_inset
23183
23184  このコマンドは,伸縮が非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23185 \end_layout
23186
23187 \begin_layout Description
23188 \begin_inset Flex Code
23189 status collapsed
23190
23191 \begin_layout Plain Layout
23192 TransformOption
23193 \begin_inset space ~
23194 \end_inset
23195
23196 Clip
23197 \begin_inset space ~
23198 \end_inset
23199
23200 ClipLatexOption
23201 \end_layout
23202
23203 \end_inset
23204
23205  このコマンドは,切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,1回現れても全く現れなくても構いません.
23206 \end_layout
23207
23208 \begin_layout Description
23209 \begin_inset Flex Code
23210 status collapsed
23211
23212 \begin_layout Plain Layout
23213 TransformOption
23214 \begin_inset space ~
23215 \end_inset
23216
23217 Extra
23218 \begin_inset space ~
23219 \end_inset
23220
23221 ExtraLatexOption
23222 \end_layout
23223
23224 \end_inset
23225
23226  このコマンドは,追加の非必須引数を使用することを指定します.このコマンドは,1回現れても全く現れなくても構いません.
23227 \end_layout
23228
23229 \begin_layout Description
23230 \begin_inset Flex Code
23231 status collapsed
23232
23233 \begin_layout Plain Layout
23234 UpdateFormat
23235 \begin_inset space ~
23236 \end_inset
23237
23238 <書式>
23239 \end_layout
23240
23241 \end_inset
23242
23243  変換されたファイルのファイル形式.これは,\SpecialChar LyX
23244 が知っている書式名でなくてはなりません(
23245 \begin_inset Flex MenuItem
23246 status collapsed
23247
23248 \begin_layout Plain Layout
23249 ツール\SpecialChar menuseparator
23250 設定\SpecialChar menuseparator
23251 ファイル処理\SpecialChar menuseparator
23252 ファイル書式
23253 \end_layout
23254
23255 \end_inset
23256
23257 ダイアログを参照).このコマンドは,一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,書式
23258 \begin_inset Flex Code
23259 status collapsed
23260
23261 \begin_layout Plain Layout
23262 pdf6
23263 \end_layout
23264
23265 \end_inset
23266
23267 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
23268 \end_layout
23269
23270 \begin_layout Description
23271 \begin_inset Flex Code
23272 status collapsed
23273
23274 \begin_layout Plain Layout
23275 UpdateResult
23276 \begin_inset space ~
23277 \end_inset
23278
23279 <ファイル名>
23280 \end_layout
23281
23282 \end_inset
23283
23284  変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,一度だけ必ず現れなくてはなりません.
23285 \end_layout
23286
23287 \begin_layout Subsection
23288 プリアンブルの定義
23289 \end_layout
23290
23291 \begin_layout Standard
23292 外用ひな型設定ファイルには,
23293 \begin_inset Flex Code
23294 status collapsed
23295
23296 \begin_layout Plain Layout
23297 PreambleDef
23298 \end_layout
23299
23300 \end_inset
23301
23302  \SpecialChar ldots
23303  
23304 \begin_inset Flex Code
23305 status collapsed
23306
23307 \begin_layout Plain Layout
23308 PreambleDefEnd
23309 \end_layout
23310
23311 \end_inset
23312
23313 で囲んだプリアンブル定義を追加することができます.これらの定義は,ひな型の
23314 \begin_inset Flex Code
23315 status collapsed
23316
23317 \begin_layout Plain Layout
23318 Format
23319 \end_layout
23320
23321 \end_inset
23322
23323 部で使用することができます.
23324 \end_layout
23325
23326 \begin_layout Section
23327 代入機構
23328 \end_layout
23329
23330 \begin_layout Standard
23331 外部素材機構が外部プログラムを呼び出すときには,ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,実行前に展開されるマクロをい
23332 ろいろ入れることができます.実行は,つねに元の文書があるディレクトリで行われます.
23333 \end_layout
23334
23335 \begin_layout Standard
23336 また,外部素材が表示されるときにはいつでも,その名称は代入機構によって組み立てられ,ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
23337 \end_layout
23338
23339 \begin_layout Standard
23340 使用できるマクロは以下の通りです.
23341 \end_layout
23342
23343 \begin_layout Description
23344 \begin_inset Flex Code
23345 status collapsed
23346
23347 \begin_layout Plain Layout
23348 $$AbsOrRelPathMaster
23349 \end_layout
23350
23351 \end_inset
23352
23353  \SpecialChar LyX
23354 親文書への絶対ファイルパスないしは相対ファイルパス
23355 \end_layout
23356
23357 \begin_layout Description
23358 \begin_inset Flex Code
23359 status collapsed
23360
23361 \begin_layout Plain Layout
23362 $$AbsOrRelPathParent
23363 \end_layout
23364
23365 \end_inset
23366
23367  \SpecialChar LyX
23368 文書への絶対ファイルパスないしは相対ファイルパス
23369 \end_layout
23370
23371 \begin_layout Description
23372 \begin_inset Flex Code
23373 status collapsed
23374
23375 \begin_layout Plain Layout
23376 $$AbsPath
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 $$Basename
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 $$Contents(
23403 \begin_inset Quotes eld
23404 \end_inset
23405
23406 filename.ext
23407 \begin_inset Quotes erd
23408 \end_inset
23409
23410 )
23411 \end_layout
23412
23413 \end_inset
23414
23415  このマクロは,
23416 \begin_inset Flex Code
23417 status collapsed
23418
23419 \begin_layout Plain Layout
23420 filename.ext
23421 \end_layout
23422
23423 \end_inset
23424
23425 と云う名のファイルの中身を展開します.
23426 \end_layout
23427
23428 \begin_layout Description
23429 \begin_inset Flex Code
23430 status collapsed
23431
23432 \begin_layout Plain Layout
23433 $$Extension
23434 \end_layout
23435
23436 \end_inset
23437
23438  ファイル拡張子(点を含む)
23439 \end_layout
23440
23441 \begin_layout Description
23442 \begin_inset Flex Code
23443 status collapsed
23444
23445 \begin_layout Plain Layout
23446 $$pngOrjpg
23447 \end_layout
23448
23449 \end_inset
23450
23451  これは,ファイルがJPEG形式の場合は,文字列「jpg」となり,それ以外では文字列「png」となります.これは,PNG形式とJPEG形式の両方をサポートする出
23452 力形式に対して,不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,pdf\SpecialChar TeX
23453 出力形式に対してこのマクロを使用します.
23454 \end_layout
23455
23456 \begin_layout Description
23457 \begin_inset Flex Code
23458 status collapsed
23459
23460 \begin_layout Plain Layout
23461 $$FName
23462 \end_layout
23463
23464 \end_inset
23465
23466  外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
23467 文書への絶対パスでも良いですし,相対パスでも構いません.
23468 \end_layout
23469
23470 \begin_layout Description
23471 \begin_inset Flex Code
23472 status collapsed
23473
23474 \begin_layout Plain Layout
23475 $$FPath
23476 \end_layout
23477
23478 \end_inset
23479
23480  
23481 \begin_inset Flex Code
23482 status collapsed
23483
23484 \begin_layout Plain Layout
23485 $$FName
23486 \end_layout
23487
23488 \end_inset
23489
23490 のパス部分(\SpecialChar LyX
23491 文書への絶対パス名か相対パス名)
23492 \end_layout
23493
23494 \begin_layout Description
23495 \begin_inset Flex Code
23496 status collapsed
23497
23498 \begin_layout Plain Layout
23499 $$RelPathMaster
23500 \end_layout
23501
23502 \end_inset
23503
23504  \SpecialChar LyX
23505 親文書への相対ファイルパス
23506 \end_layout
23507
23508 \begin_layout Description
23509 \begin_inset Flex Code
23510 status collapsed
23511
23512 \begin_layout Plain Layout
23513 $$RelPathParent
23514 \end_layout
23515
23516 \end_inset
23517
23518  \SpecialChar LyX
23519 文書への相対ファイルパス
23520 \end_layout
23521
23522 \begin_layout Description
23523 \begin_inset Flex Code
23524 status collapsed
23525
23526 \begin_layout Plain Layout
23527 $$Sysdir
23528 \end_layout
23529
23530 \end_inset
23531
23532  このマクロは,システムディレクトリの絶対パスを展開します.これは,典型的には,\SpecialChar LyX
23533 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
23534 \end_layout
23535
23536 \begin_layout Description
23537 \begin_inset Flex Code
23538 status collapsed
23539
23540 \begin_layout Plain Layout
23541 $$Tempname
23542 \end_layout
23543
23544 \end_inset
23545
23546  元の文書が閉じられたり,挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
23547 \end_layout
23548
23549 \begin_layout Standard
23550 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,たとえば絶対パスのファイル名を 
23551 \begin_inset Flex Code
23552 status collapsed
23553
23554 \begin_layout Plain Layout
23555 $$AbsPath$$Basename$$Extension
23556 \end_layout
23557
23558 \end_inset
23559
23560 のようにして作ることができます.
23561 \end_layout
23562
23563 \begin_layout Standard
23564 上記マクロは,特記しない限りはすべてのコマンドで代入が行われます.
23565 \begin_inset Flex Code
23566 status collapsed
23567
23568 \begin_layout Plain Layout
23569 Transform
23570 \end_layout
23571
23572 \end_inset
23573
23574 コマンドと
23575 \begin_inset Flex Code
23576 status collapsed
23577
23578 \begin_layout Plain Layout
23579 TransformCommand
23580 \end_layout
23581
23582 \end_inset
23583
23584 コマンドが有効にされている場合,
23585 \begin_inset Flex Code
23586 status collapsed
23587
23588 \begin_layout Plain Layout
23589 Product
23590 \end_layout
23591
23592 \end_inset
23593
23594 コマンドは,これらに加えて以下の代入もサポートします.
23595 \end_layout
23596
23597 \begin_layout Description
23598 \begin_inset Flex Code
23599 status collapsed
23600
23601 \begin_layout Plain Layout
23602 $$ResizeFront
23603 \end_layout
23604
23605 \end_inset
23606
23607  伸縮コマンドの前置部.
23608 \end_layout
23609
23610 \begin_layout Description
23611 \begin_inset Flex Code
23612 status collapsed
23613
23614 \begin_layout Plain Layout
23615 $$ResizeBack
23616 \end_layout
23617
23618 \end_inset
23619
23620  伸縮コマンドの後置部.
23621 \end_layout
23622
23623 \begin_layout Description
23624 \begin_inset Flex Code
23625 status collapsed
23626
23627 \begin_layout Plain Layout
23628 $$RotateFront
23629 \end_layout
23630
23631 \end_inset
23632
23633  回転コマンドの前置部.
23634 \end_layout
23635
23636 \begin_layout Description
23637 \begin_inset Flex Code
23638 status collapsed
23639
23640 \begin_layout Plain Layout
23641 $$RotateBack
23642 \end_layout
23643
23644 \end_inset
23645
23646  回転コマンドの後置部.
23647 \end_layout
23648
23649 \begin_layout Standard
23650 \begin_inset Flex Code
23651 status collapsed
23652
23653 \begin_layout Plain Layout
23654 Option
23655 \end_layout
23656
23657 \end_inset
23658
23659 コマンドの値に入れる文字列では,
23660 \begin_inset Flex Code
23661 status collapsed
23662
23663 \begin_layout Plain Layout
23664 Transform
23665 \end_layout
23666
23667 \end_inset
23668
23669 コマンドと
23670 \begin_inset Flex Code
23671 status collapsed
23672
23673 \begin_layout Plain Layout
23674 TransformOption
23675 \end_layout
23676
23677 \end_inset
23678
23679 コマンドが有効にされていれば,以下の代入もサポートされます.
23680 \end_layout
23681
23682 \begin_layout Description
23683 \begin_inset Flex Code
23684 status collapsed
23685
23686 \begin_layout Plain Layout
23687 $$Clip
23688 \end_layout
23689
23690 \end_inset
23691
23692  切り抜きオプション.
23693 \end_layout
23694
23695 \begin_layout Description
23696 \begin_inset Flex Code
23697 status collapsed
23698
23699 \begin_layout Plain Layout
23700 $$Extra
23701 \end_layout
23702
23703 \end_inset
23704
23705  追加オプション.
23706 \end_layout
23707
23708 \begin_layout Description
23709 \begin_inset Flex Code
23710 status collapsed
23711
23712 \begin_layout Plain Layout
23713 $$Resize
23714 \end_layout
23715
23716 \end_inset
23717
23718  伸縮オプション.
23719 \end_layout
23720
23721 \begin_layout Description
23722 \begin_inset Flex Code
23723 status collapsed
23724
23725 \begin_layout Plain Layout
23726 $$Rotate
23727 \end_layout
23728
23729 \end_inset
23730
23731  回転オプション.
23732 \end_layout
23733
23734 \begin_layout Standard
23735 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
23736 \end_layout
23737
23738 \begin_layout Enumerate
23739 相対ファイル名と絶対ファイル名は,それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえ
23740 ば相対名は,いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,プログラムによっては必要とされることがあり得ます.
23741 \end_layout
23742
23743 \begin_layout Enumerate
23744 \SpecialChar LaTeX
23745 は,相対ファイル名に関して,\SpecialChar LyX
23746 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
23747 にとって相対ファイル名とは,常にこのファイル名が書か
23748 れている文書に対して相対的なものになります.\SpecialChar LaTeX
23749 にとっての相対ファイル名は,常に親文書に対するものになります.これら二つの定義は,一つの文書しかないときには同じです
23750 が,部分文書を含む親文書があるときには異なったものとなってきます.つまり,相対ファイル名は,\SpecialChar LaTeX
23751 に提示されるときに変換されなくてはならないのです.幸い,正しいマクロ
23752 を選びさえすれば,これは\SpecialChar LyX
23753 が自動的に行ってくれます.
23754 \end_layout
23755
23756 \begin_layout Standard
23757 すると,新しく作ったひな型定義では,どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
23758 \end_layout
23759
23760 \begin_layout Itemize
23761 絶対パスが必要とされるときには
23762 \begin_inset Flex Code
23763 status collapsed
23764
23765 \begin_layout Plain Layout
23766 $$AbsPath
23767 \end_layout
23768
23769 \end_inset
23770
23771 を使う.
23772 \end_layout
23773
23774 \begin_layout Itemize
23775 代入された文字列が,\SpecialChar LaTeX
23776 インプットの一種である場合には,
23777 \begin_inset Flex Code
23778 status collapsed
23779
23780 \begin_layout Plain Layout
23781 $$AbsOrRelPathMaster
23782 \end_layout
23783
23784 \end_inset
23785
23786 を使う.
23787 \end_layout
23788
23789 \begin_layout Itemize
23790 それ以外ならば,ユーザの選択を尊重するために
23791 \begin_inset Flex Code
23792 status collapsed
23793
23794 \begin_layout Plain Layout
23795 $$AbsOrRelPathParent
23796 \end_layout
23797
23798 \end_inset
23799
23800 を使う.
23801 \end_layout
23802
23803 \begin_layout Standard
23804 このルールが機能せずに,たとえば相対名が必要となる特殊な場合もありますが,通常,上記でうまく動作します.特殊例の例としては,上述のXFigひな型での
23805 \begin_inset Flex Code
23806 status collapsed
23807
23808 \begin_layout Plain Layout
23809 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23810 \end_layout
23811
23812 \end_inset
23813
23814 というコマンドがあります.この場合,
23815 \begin_inset Flex Code
23816 status collapsed
23817
23818 \begin_layout Plain Layout
23819 .pstex_t
23820 \end_layout
23821
23822 \end_inset
23823
23824 ファイルの複写子は,ファイル内容を書き換えるのに相対名を必要とするために,絶対名を使用することができないのです.
23825 \end_layout
23826
23827 \begin_layout Section
23828 セキュリティに関する論点
23829 \begin_inset CommandInset label
23830 LatexCommand label
23831 name "sec:セキュリティに関する論点"
23832
23833 \end_inset
23834
23835
23836 \end_layout
23837
23838 \begin_layout Standard
23839 外部素材機能は,多くの外部プログラムとの橋渡しをし,しかもそれを自動的に行うので,そのセキュリティ面での帰結を考慮しなくてはなりません.特に,ユーザは好きなファ
23840 イル名やパラメータ文字列を含めることが許されていて,しかもそれらがコマンドに展開されるので,ユーザが文書を閲覧したり印刷したりしたときに,任意のコマンドを実行す
23841 ることができるような悪意ある文書を作成することが可能となりましょう.これは,我々がぜひとも避けたいことなのです.
23842 \end_layout
23843
23844 \begin_layout Standard
23845 しかしながら,外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,\SpecialChar LyX
23846 が安全なひな型でのみ適切に設定されているならば,セキュリティ上の問題は発生しま
23847 せん.これは,外部プログラムが
23848 \begin_inset Flex Code
23849 status collapsed
23850
23851 \begin_layout Plain Layout
23852 system
23853 \end_layout
23854
23855 \end_inset
23856
23857 システムコールではなく,
23858 \begin_inset Flex Code
23859 status collapsed
23860
23861 \begin_layout Plain Layout
23862 execvp
23863 \end_layout
23864
23865 \end_inset
23866
23867 システムコールで呼び出されているため,ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
23868 \end_layout
23869
23870 \begin_layout Standard
23871 これは,外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,制限があることを意味します.特に,パイプやリダイレクトはそのまま使用することは
23872 できません.これは,\SpecialChar LyX
23873 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,これを完全に統御の下においたまま行う安全なス
23874 クリプトを書いた上で,このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
23875 \end_layout
23876
23877 \begin_layout Standard
23878 シェルと直接やりとりするひな型を設計することは可能ではありますが,悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,任意のコマンドを実行できるよ
23879 うになるため,一般的には,統御下に置いた状態で
23880 \begin_inset Flex Code
23881 status collapsed
23882
23883 \begin_layout Plain Layout
23884 execvp
23885 \end_layout
23886
23887 \end_inset
23888
23889 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,管理された環境下で使用する分には,通常のシェルスクリプトを使用する方に流れる誘
23890 惑はあります.そうした場合には,お使いのシステムに簡単に濫用することのできるセキュリティホールを,
23891 \emph on
23892 間違いなく
23893 \emph default
23894 導入することを理解しておいてください.オープンソースの伝統に従って,私たちは人々に新しいひな型を投稿してくれるよう促していますが,そのような安全でないひな型はL
23895 yXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
23896 には,安全でないひな型は決して入っていません
23897
23898 \end_layout
23899
23900 \begin_layout Standard
23901 外部素材を含めることで強力な力を手に入れることができますが,この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリ
23902 プトのたった一行に入り込んだ,ちょっとしたエラーが,巨大なセキュリティ上の問題に扉を開きうるのです.したがって,もしこの問題を完全に理解していないならば,特定の
23903 ひな型が安全であるかどうか疑問がある際には,知識豊富なセキュリティの専門家か,\SpecialChar LyX
23904 開発チームに相談してみてください.そしてこの相談は,管理されていない環境下でこれを
23905 使用する前に,行うようにしてください.
23906 \end_layout
23907
23908 \begin_layout Chapter
23909 \start_of_appendix
23910 サポートされているレイアウト用\SpecialChar LyX
23911 関数一覧
23912 \begin_inset CommandInset label
23913 LatexCommand label
23914 name "chap:関数一覧"
23915
23916 \end_inset
23917
23918
23919 \end_layout
23920
23921 \begin_layout Standard
23922 \align center
23923 \begin_inset Tabular
23924 <lyxtabular version="3" rows="11" columns="8">
23925 <features tabularvalignment="middle">
23926 <column alignment="left" valignment="top">
23927 <column alignment="left" valignment="top">
23928 <column alignment="left" valignment="top">
23929 <column alignment="left" valignment="top">
23930 <column alignment="left" valignment="top">
23931 <column alignment="left" valignment="top">
23932 <column alignment="left" valignment="top">
23933 <column alignment="left" valignment="top">
23934 <row>
23935 <cell alignment="left" valignment="top" usebox="none">
23936 \begin_inset Text
23937
23938 \begin_layout Plain Layout
23939 accents
23940 \end_layout
23941
23942 \end_inset
23943 </cell>
23944 <cell alignment="left" valignment="top" usebox="none">
23945 \begin_inset Text
23946
23947 \begin_layout Plain Layout
23948 booktabs
23949 \end_layout
23950
23951 \end_inset
23952 </cell>
23953 <cell alignment="left" valignment="top" usebox="none">
23954 \begin_inset Text
23955
23956 \begin_layout Plain Layout
23957 feyn
23958 \end_layout
23959
23960 \end_inset
23961 </cell>
23962 <cell alignment="left" valignment="top" usebox="none">
23963 \begin_inset Text
23964
23965 \begin_layout Plain Layout
23966 listings
23967 \end_layout
23968
23969 \end_inset
23970 </cell>
23971 <cell alignment="center" valignment="top" usebox="none">
23972 \begin_inset Text
23973
23974 \begin_layout Plain Layout
23975 natbib
23976 \end_layout
23977
23978 \end_inset
23979 </cell>
23980 <cell alignment="center" valignment="top" usebox="none">
23981 \begin_inset Text
23982
23983 \begin_layout Plain Layout
23984 rotfloat
23985 \end_layout
23986
23987 \end_inset
23988 </cell>
23989 <cell alignment="center" valignment="top" usebox="none">
23990 \begin_inset Text
23991
23992 \begin_layout Plain Layout
23993 tfrupee
23994 \end_layout
23995
23996 \end_inset
23997 </cell>
23998 <cell alignment="center" valignment="top" usebox="none">
23999 \begin_inset Text
24000
24001 \begin_layout Plain Layout
24002 wasysym
24003 \end_layout
24004
24005 \end_inset
24006 </cell>
24007 </row>
24008 <row>
24009 <cell alignment="left" valignment="top" usebox="none">
24010 \begin_inset Text
24011
24012 \begin_layout Plain Layout
24013 amsbsy
24014 \end_layout
24015
24016 \end_inset
24017 </cell>
24018 <cell alignment="left" valignment="top" usebox="none">
24019 \begin_inset Text
24020
24021 \begin_layout Plain Layout
24022 calc
24023 \end_layout
24024
24025 \end_inset
24026 </cell>
24027 <cell alignment="left" valignment="top" usebox="none">
24028 \begin_inset Text
24029
24030 \begin_layout Plain Layout
24031 fixltx2e
24032 \end_layout
24033
24034 \end_inset
24035 </cell>
24036 <cell alignment="left" valignment="top" usebox="none">
24037 \begin_inset Text
24038
24039 \begin_layout Plain Layout
24040 longtable
24041 \end_layout
24042
24043 \end_inset
24044 </cell>
24045 <cell alignment="center" valignment="top" usebox="none">
24046 \begin_inset Text
24047
24048 \begin_layout Plain Layout
24049 nomencl
24050 \end_layout
24051
24052 \end_inset
24053 </cell>
24054 <cell alignment="center" valignment="top" usebox="none">
24055 \begin_inset Text
24056
24057 \begin_layout Plain Layout
24058 rsphrase
24059 \end_layout
24060
24061 \end_inset
24062 </cell>
24063 <cell alignment="center" valignment="top" usebox="none">
24064 \begin_inset Text
24065
24066 \begin_layout Plain Layout
24067 tipa
24068 \end_layout
24069
24070 \end_inset
24071 </cell>
24072 <cell alignment="center" valignment="top" usebox="none">
24073 \begin_inset Text
24074
24075 \begin_layout Plain Layout
24076 wrapfig
24077 \end_layout
24078
24079 \end_inset
24080 </cell>
24081 </row>
24082 <row>
24083 <cell alignment="left" valignment="top" usebox="none">
24084 \begin_inset Text
24085
24086 \begin_layout Plain Layout
24087 amscd
24088 \end_layout
24089
24090 \end_inset
24091 </cell>
24092 <cell alignment="left" valignment="top" usebox="none">
24093 \begin_inset Text
24094
24095 \begin_layout Plain Layout
24096 CJK
24097 \end_layout
24098
24099 \end_inset
24100 </cell>
24101 <cell alignment="left" valignment="top" usebox="none">
24102 \begin_inset Text
24103
24104 \begin_layout Plain Layout
24105 float
24106 \end_layout
24107
24108 \end_inset
24109 </cell>
24110 <cell alignment="left" valignment="top" usebox="none">
24111 \begin_inset Text
24112
24113 \begin_layout Plain Layout
24114 lyxskak
24115 \end_layout
24116
24117 \end_inset
24118 </cell>
24119 <cell alignment="center" valignment="top" usebox="none">
24120 \begin_inset Text
24121
24122 \begin_layout Plain Layout
24123 pdfcolmk
24124 \end_layout
24125
24126 \end_inset
24127 </cell>
24128 <cell alignment="center" valignment="top" usebox="none">
24129 \begin_inset Text
24130
24131 \begin_layout Plain Layout
24132 setspace
24133 \end_layout
24134
24135 \end_inset
24136 </cell>
24137 <cell alignment="center" valignment="top" usebox="none">
24138 \begin_inset Text
24139
24140 \begin_layout Plain Layout
24141 tipx
24142 \end_layout
24143
24144 \end_inset
24145 </cell>
24146 <cell alignment="center" valignment="top" usebox="none">
24147 \begin_inset Text
24148
24149 \begin_layout Plain Layout
24150 xargs
24151 \end_layout
24152
24153 \end_inset
24154 </cell>
24155 </row>
24156 <row>
24157 <cell alignment="left" valignment="top" usebox="none">
24158 \begin_inset Text
24159
24160 \begin_layout Plain Layout
24161 amsmath
24162 \end_layout
24163
24164 \end_inset
24165 </cell>
24166 <cell alignment="left" valignment="top" usebox="none">
24167 \begin_inset Text
24168
24169 \begin_layout Plain Layout
24170 color
24171 \end_layout
24172
24173 \end_inset
24174 </cell>
24175 <cell alignment="left" valignment="top" usebox="none">
24176 \begin_inset Text
24177
24178 \begin_layout Plain Layout
24179 framed
24180 \end_layout
24181
24182 \end_inset
24183 </cell>
24184 <cell alignment="left" valignment="top" usebox="none">
24185 \begin_inset Text
24186
24187 \begin_layout Plain Layout
24188 makeidx
24189 \end_layout
24190
24191 \end_inset
24192 </cell>
24193 <cell alignment="center" valignment="top" usebox="none">
24194 \begin_inset Text
24195
24196 \begin_layout Plain Layout
24197 pdfpages
24198 \end_layout
24199
24200 \end_inset
24201 </cell>
24202 <cell alignment="center" valignment="top" usebox="none">
24203 \begin_inset Text
24204
24205 \begin_layout Plain Layout
24206 shapepar
24207 \end_layout
24208
24209 \end_inset
24210 </cell>
24211 <cell alignment="center" valignment="top" usebox="none">
24212 \begin_inset Text
24213
24214 \begin_layout Plain Layout
24215 tone
24216 \end_layout
24217
24218 \end_inset
24219 </cell>
24220 <cell alignment="center" valignment="top" usebox="none">
24221 \begin_inset Text
24222
24223 \begin_layout Plain Layout
24224 xcolor
24225 \end_layout
24226
24227 \end_inset
24228 </cell>
24229 </row>
24230 <row>
24231 <cell alignment="left" valignment="top" usebox="none">
24232 \begin_inset Text
24233
24234 \begin_layout Plain Layout
24235 amssymb
24236 \end_layout
24237
24238 \end_inset
24239 </cell>
24240 <cell alignment="left" valignment="top" usebox="none">
24241 \begin_inset Text
24242
24243 \begin_layout Plain Layout
24244 covington
24245 \end_layout
24246
24247 \end_inset
24248 </cell>
24249 <cell alignment="left" valignment="top" usebox="none">
24250 \begin_inset Text
24251
24252 \begin_layout Plain Layout
24253 graphicx
24254 \end_layout
24255
24256 \end_inset
24257 </cell>
24258 <cell alignment="left" valignment="top" usebox="none">
24259 \begin_inset Text
24260
24261 \begin_layout Plain Layout
24262 marvosym
24263 \end_layout
24264
24265 \end_inset
24266 </cell>
24267 <cell alignment="center" valignment="top" usebox="none">
24268 \begin_inset Text
24269
24270 \begin_layout Plain Layout
24271 pifont
24272 \end_layout
24273
24274 \end_inset
24275 </cell>
24276 <cell alignment="center" valignment="top" usebox="none">
24277 \begin_inset Text
24278
24279 \begin_layout Plain Layout
24280 slashed
24281 \end_layout
24282
24283 \end_inset
24284 </cell>
24285 <cell alignment="center" valignment="top" usebox="none">
24286 \begin_inset Text
24287
24288 \begin_layout Plain Layout
24289 txfonts
24290 \end_layout
24291
24292 \end_inset
24293 </cell>
24294 <cell alignment="center" valignment="top" usebox="none">
24295 \begin_inset Text
24296
24297 \begin_layout Plain Layout
24298 xy
24299 \end_layout
24300
24301 \end_inset
24302 </cell>
24303 </row>
24304 <row>
24305 <cell alignment="left" valignment="top" usebox="none">
24306 \begin_inset Text
24307
24308 \begin_layout Plain Layout
24309 amstext
24310 \end_layout
24311
24312 \end_inset
24313 </cell>
24314 <cell alignment="left" valignment="top" usebox="none">
24315 \begin_inset Text
24316
24317 \begin_layout Plain Layout
24318 csquotes
24319 \end_layout
24320
24321 \end_inset
24322 </cell>
24323 <cell alignment="left" valignment="top" usebox="none">
24324 \begin_inset Text
24325
24326 \begin_layout Plain Layout
24327 hhline
24328 \end_layout
24329
24330 \end_inset
24331 </cell>
24332 <cell alignment="left" valignment="top" usebox="none">
24333 \begin_inset Text
24334
24335 \begin_layout Plain Layout
24336 mathdesign
24337 \end_layout
24338
24339 \end_inset
24340 </cell>
24341 <cell alignment="center" valignment="top" usebox="none">
24342 \begin_inset Text
24343
24344 \begin_layout Plain Layout
24345 pmboxdraw
24346 \end_layout
24347
24348 \end_inset
24349 </cell>
24350 <cell alignment="center" valignment="top" usebox="none">
24351 \begin_inset Text
24352
24353 \begin_layout Plain Layout
24354 soul
24355 \end_layout
24356
24357 \end_inset
24358 </cell>
24359 <cell alignment="center" valignment="top" usebox="none">
24360 \begin_inset Text
24361
24362 \begin_layout Plain Layout
24363 ulem
24364 \end_layout
24365
24366 \end_inset
24367 </cell>
24368 <cell alignment="center" valignment="top" usebox="none">
24369 \begin_inset Text
24370
24371 \begin_layout Plain Layout
24372 yhmath
24373 \end_layout
24374
24375 \end_inset
24376 </cell>
24377 </row>
24378 <row>
24379 <cell alignment="left" valignment="top" usebox="none">
24380 \begin_inset Text
24381
24382 \begin_layout Plain Layout
24383 amsthm
24384 \end_layout
24385
24386 \end_inset
24387 </cell>
24388 <cell alignment="left" valignment="top" usebox="none">
24389 \begin_inset Text
24390
24391 \begin_layout Plain Layout
24392 dvipost
24393 \end_layout
24394
24395 \end_inset
24396 </cell>
24397 <cell alignment="left" valignment="top" usebox="none">
24398 \begin_inset Text
24399
24400 \begin_layout Plain Layout
24401 hyperref
24402 \end_layout
24403
24404 \end_inset
24405 </cell>
24406 <cell alignment="left" valignment="top" usebox="none">
24407 \begin_inset Text
24408
24409 \begin_layout Plain Layout
24410 mathdots
24411 \end_layout
24412
24413 \end_inset
24414 </cell>
24415 <cell alignment="center" valignment="top" usebox="none">
24416 \begin_inset Text
24417
24418 \begin_layout Plain Layout
24419 polyglossia
24420 \end_layout
24421
24422 \end_inset
24423 </cell>
24424 <cell alignment="center" valignment="top" usebox="none">
24425 \begin_inset Text
24426
24427 \begin_layout Plain Layout
24428 splitidx
24429 \end_layout
24430
24431 \end_inset
24432 </cell>
24433 <cell alignment="center" valignment="top" usebox="none">
24434 \begin_inset Text
24435
24436 \begin_layout Plain Layout
24437 undertilde
24438 \end_layout
24439
24440 \end_inset
24441 </cell>
24442 <cell alignment="center" valignment="top" usebox="none">
24443 \begin_inset Text
24444
24445 \begin_layout Plain Layout
24446
24447 \end_layout
24448
24449 \end_inset
24450 </cell>
24451 </row>
24452 <row>
24453 <cell alignment="left" valignment="top" usebox="none">
24454 \begin_inset Text
24455
24456 \begin_layout Plain Layout
24457 array
24458 \end_layout
24459
24460 \end_inset
24461 </cell>
24462 <cell alignment="left" valignment="top" usebox="none">
24463 \begin_inset Text
24464
24465 \begin_layout Plain Layout
24466 endnotes
24467 \end_layout
24468
24469 \end_inset
24470 </cell>
24471 <cell alignment="left" valignment="top" usebox="none">
24472 \begin_inset Text
24473
24474 \begin_layout Plain Layout
24475 ifsym
24476 \end_layout
24477
24478 \end_inset
24479 </cell>
24480 <cell alignment="left" valignment="top" usebox="none">
24481 \begin_inset Text
24482
24483 \begin_layout Plain Layout
24484 mathrsfs
24485 \end_layout
24486
24487 \end_inset
24488 </cell>
24489 <cell alignment="center" valignment="top" usebox="none">
24490 \begin_inset Text
24491
24492 \begin_layout Plain Layout
24493 prettyref
24494 \end_layout
24495
24496 \end_inset
24497 </cell>
24498 <cell alignment="center" valignment="top" usebox="none">
24499 \begin_inset Text
24500
24501 \begin_layout Plain Layout
24502 subfig
24503 \end_layout
24504
24505 \end_inset
24506 </cell>
24507 <cell alignment="center" valignment="top" usebox="none">
24508 \begin_inset Text
24509
24510 \begin_layout Plain Layout
24511 units
24512 \end_layout
24513
24514 \end_inset
24515 </cell>
24516 <cell alignment="center" valignment="top" usebox="none">
24517 \begin_inset Text
24518
24519 \begin_layout Plain Layout
24520
24521 \end_layout
24522
24523 \end_inset
24524 </cell>
24525 </row>
24526 <row>
24527 <cell alignment="left" valignment="top" usebox="none">
24528 \begin_inset Text
24529
24530 \begin_layout Plain Layout
24531 ascii
24532 \end_layout
24533
24534 \end_inset
24535 </cell>
24536 <cell alignment="left" valignment="top" usebox="none">
24537 \begin_inset Text
24538
24539 \begin_layout Plain Layout
24540 enumitem
24541 \end_layout
24542
24543 \end_inset
24544 </cell>
24545 <cell alignment="left" valignment="top" usebox="none">
24546 \begin_inset Text
24547
24548 \begin_layout Plain Layout
24549 ifthen
24550 \end_layout
24551
24552 \end_inset
24553 </cell>
24554 <cell alignment="left" valignment="top" usebox="none">
24555 \begin_inset Text
24556
24557 \begin_layout Plain Layout
24558 mhchem
24559 \end_layout
24560
24561 \end_inset
24562 </cell>
24563 <cell alignment="center" valignment="top" usebox="none">
24564 \begin_inset Text
24565
24566 \begin_layout Plain Layout
24567 pxfonts
24568 \end_layout
24569
24570 \end_inset
24571 </cell>
24572 <cell alignment="center" valignment="top" usebox="none">
24573 \begin_inset Text
24574
24575 \begin_layout Plain Layout
24576 subscript
24577 \end_layout
24578
24579 \end_inset
24580 </cell>
24581 <cell alignment="center" valignment="top" usebox="none">
24582 \begin_inset Text
24583
24584 \begin_layout Plain Layout
24585 url
24586 \end_layout
24587
24588 \end_inset
24589 </cell>
24590 <cell alignment="center" valignment="top" usebox="none">
24591 \begin_inset Text
24592
24593 \begin_layout Plain Layout
24594
24595 \end_layout
24596
24597 \end_inset
24598 </cell>
24599 </row>
24600 <row>
24601 <cell alignment="left" valignment="top" usebox="none">
24602 \begin_inset Text
24603
24604 \begin_layout Plain Layout
24605 bbding
24606 \end_layout
24607
24608 \end_inset
24609 </cell>
24610 <cell alignment="left" valignment="top" usebox="none">
24611 \begin_inset Text
24612
24613 \begin_layout Plain Layout
24614 esint
24615 \end_layout
24616
24617 \end_inset
24618 </cell>
24619 <cell alignment="left" valignment="top" usebox="none">
24620 \begin_inset Text
24621
24622 \begin_layout Plain Layout
24623 jurabib
24624 \end_layout
24625
24626 \end_inset
24627 </cell>
24628 <cell alignment="left" valignment="top" usebox="none">
24629 \begin_inset Text
24630
24631 \begin_layout Plain Layout
24632 multicol
24633 \end_layout
24634
24635 \end_inset
24636 </cell>
24637 <cell alignment="center" valignment="top" usebox="none">
24638 \begin_inset Text
24639
24640 \begin_layout Plain Layout
24641 refstyle
24642 \end_layout
24643
24644 \end_inset
24645 </cell>
24646 <cell alignment="center" valignment="top" usebox="none">
24647 \begin_inset Text
24648
24649 \begin_layout Plain Layout
24650 textcomp
24651 \end_layout
24652
24653 \end_inset
24654 </cell>
24655 <cell alignment="center" valignment="top" usebox="none">
24656 \begin_inset Text
24657
24658 \begin_layout Plain Layout
24659 varioref
24660 \end_layout
24661
24662 \end_inset
24663 </cell>
24664 <cell alignment="center" valignment="top" usebox="none">
24665 \begin_inset Text
24666
24667 \begin_layout Plain Layout
24668
24669 \end_layout
24670
24671 \end_inset
24672 </cell>
24673 </row>
24674 <row>
24675 <cell alignment="center" valignment="top" usebox="none">
24676 \begin_inset Text
24677
24678 \begin_layout Plain Layout
24679 bm
24680 \end_layout
24681
24682 \end_inset
24683 </cell>
24684 <cell alignment="center" valignment="top" usebox="none">
24685 \begin_inset Text
24686
24687 \begin_layout Plain Layout
24688 fancybox
24689 \end_layout
24690
24691 \end_inset
24692 </cell>
24693 <cell alignment="center" valignment="top" usebox="none">
24694 \begin_inset Text
24695
24696 \begin_layout Plain Layout
24697 latexsym
24698 \end_layout
24699
24700 \end_inset
24701 </cell>
24702 <cell alignment="center" valignment="top" usebox="none">
24703 \begin_inset Text
24704
24705 \begin_layout Plain Layout
24706 multirow
24707 \end_layout
24708
24709 \end_inset
24710 </cell>
24711 <cell alignment="center" valignment="top" usebox="none">
24712 \begin_inset Text
24713
24714 \begin_layout Plain Layout
24715 rotating
24716 \end_layout
24717
24718 \end_inset
24719 </cell>
24720 <cell alignment="center" valignment="top" usebox="none">
24721 \begin_inset Text
24722
24723 \begin_layout Plain Layout
24724 textgreek
24725 \end_layout
24726
24727 \end_inset
24728 </cell>
24729 <cell alignment="center" valignment="top" usebox="none">
24730 \begin_inset Text
24731
24732 \begin_layout Plain Layout
24733 verbatim
24734 \end_layout
24735
24736 \end_inset
24737 </cell>
24738 <cell alignment="center" valignment="top" usebox="none">
24739 \begin_inset Text
24740
24741 \begin_layout Plain Layout
24742
24743 \end_layout
24744
24745 \end_inset
24746 </cell>
24747 </row>
24748 </lyxtabular>
24749
24750 \end_inset
24751
24752
24753 \end_layout
24754
24755 \begin_layout Chapter
24756 レイアウトで使用できる色名
24757 \begin_inset CommandInset label
24758 LatexCommand label
24759 name "chap:色名"
24760
24761 \end_inset
24762
24763
24764 \end_layout
24765
24766 \begin_layout Standard
24767 ここに列挙されている色は標準色であり,\SpecialChar LyX
24768 設定で調整できるものです.
24769 \end_layout
24770
24771 \begin_layout Section
24772
24773 \lang english
24774 Color functions
24775 \end_layout
24776
24777 \begin_layout Standard
24778
24779 \lang english
24780 The following are no real colors, but rather act on color definitions:
24781 \end_layout
24782
24783 \begin_layout Description
24784 ignore この色を無視します
24785 \end_layout
24786
24787 \begin_layout Description
24788 inherit この色を継承します
24789 \end_layout
24790
24791 \begin_layout Description
24792 none
24793 \series medium
24794  
24795 \series default
24796 特定の色ではありません – 透明か既定色です
24797 \end_layout
24798
24799 \begin_layout Section
24800
24801 \lang english
24802 Static colors
24803 \end_layout
24804
24805 \begin_layout Standard
24806
24807 \lang english
24808 These are fixed colors that cannot me customized:
24809 \end_layout
24810
24811 \begin_layout Description
24812 black
24813 \end_layout
24814
24815 \begin_layout Description
24816 white
24817 \end_layout
24818
24819 \begin_layout Description
24820 blue
24821 \end_layout
24822
24823 \begin_layout Description
24824 brown
24825 \end_layout
24826
24827 \begin_layout Description
24828 cyan
24829 \end_layout
24830
24831 \begin_layout Description
24832 darkgray
24833 \end_layout
24834
24835 \begin_layout Description
24836 gray
24837 \end_layout
24838
24839 \begin_layout Description
24840 green
24841 \end_layout
24842
24843 \begin_layout Description
24844 lightgray
24845 \end_layout
24846
24847 \begin_layout Description
24848 lime
24849 \end_layout
24850
24851 \begin_layout Description
24852 magenta
24853 \end_layout
24854
24855 \begin_layout Description
24856 olive
24857 \end_layout
24858
24859 \begin_layout Description
24860 orange
24861 \end_layout
24862
24863 \begin_layout Description
24864 pink
24865 \end_layout
24866
24867 \begin_layout Description
24868 purple
24869 \end_layout
24870
24871 \begin_layout Description
24872 red
24873 \end_layout
24874
24875 \begin_layout Description
24876 teal
24877 \end_layout
24878
24879 \begin_layout Description
24880 violet
24881 \end_layout
24882
24883 \begin_layout Description
24884 yellow
24885 \end_layout
24886
24887 \begin_layout Section
24888
24889 \lang english
24890 Dynamic colors
24891 \end_layout
24892
24893 \begin_layout Standard
24894
24895 \lang english
24896 These are the colors allocated to specific elements in
24897 \lang japanese
24898
24899 \begin_inset Flex MenuItem
24900 status collapsed
24901
24902 \begin_layout Plain Layout
24903 ツール\SpecialChar menuseparator
24904 設定
24905 \end_layout
24906
24907 \end_inset
24908
24909 :
24910 \end_layout
24911
24912 \begin_layout Description
24913 added_space 空白マーカ色
24914 \end_layout
24915
24916 \begin_layout Description
24917 addedtext 追加された文章色
24918 \end_layout
24919
24920 \begin_layout Description
24921 appendix 付録マーカ色
24922 \end_layout
24923
24924 \begin_layout Description
24925 background 背景色
24926 \end_layout
24927
24928 \begin_layout Description
24929 bottomarea 下部領域色
24930 \end_layout
24931
24932 \begin_layout Description
24933 branchlabel 派生枝ラベル色
24934 \end_layout
24935
24936 \begin_layout Description
24937 buttonbg ボタンの背景色
24938 \end_layout
24939
24940 \begin_layout Description
24941 buttonframe 差込枠の縁色
24942 \end_layout
24943
24944 \begin_layout Description
24945 buttonhoverbg フォーカスを得ているボタンの背景色
24946 \end_layout
24947
24948 \begin_layout Description
24949 changebar 変更バー色
24950 \end_layout
24951
24952 \begin_layout Description
24953 changedtextauthor1 変更された文章:第1著者の色
24954 \end_layout
24955
24956 \begin_layout Description
24957 changedtextauthor2 変更された文章:第2著者の色
24958 \end_layout
24959
24960 \begin_layout Description
24961 changedtextauthor3 変更された文章:第3著者の色
24962 \end_layout
24963
24964 \begin_layout Description
24965 changedtextauthor4 変更された文章:第4著者の色
24966 \end_layout
24967
24968 \begin_layout Description
24969 changedtextauthor5 変更された文章:第5著者の色
24970 \end_layout
24971
24972 \begin_layout Description
24973 collapsibletext 畳み込み可能枠の文字色
24974 \end_layout
24975
24976 \begin_layout Description
24977 collapsibleframe 畳み込み可能枠の縁色
24978 \end_layout
24979
24980 \begin_layout Description
24981 command コマンド差込枠の文字色
24982 \end_layout
24983
24984 \begin_layout Description
24985 commandbg コマンド差込枠の背景色
24986 \end_layout
24987
24988 \begin_layout Description
24989 commandframe コマンド差込枠の縁色
24990 \end_layout
24991
24992 \begin_layout Description
24993 comment コメント色
24994 \end_layout
24995
24996 \begin_layout Description
24997 commentbg コメントの背景色
24998 \end_layout
24999
25000 \begin_layout Description
25001 cursor カーソル色
25002 \end_layout
25003
25004 \begin_layout Description
25005 deletedtext 削除された文章の色
25006 \end_layout
25007
25008 \begin_layout Description
25009 deletedtextmodifier 削除された文章の修飾子の色
25010 \end_layout
25011
25012 \begin_layout Description
25013 depthbar 余白部の階層表示線の色
25014 \end_layout
25015
25016 \begin_layout Description
25017 eolmarker 行末標色
25018 \end_layout
25019
25020 \begin_layout Description
25021 error \SpecialChar LaTeX
25022 エラーボックス色
25023 \end_layout
25024
25025 \begin_layout Description
25026 footlabel 脚註ラベル色
25027 \end_layout
25028
25029 \begin_layout Description
25030 foreground 
25031 \lang english
25032 Foreground color
25033 \end_layout
25034
25035 \begin_layout Description
25036 graphicsbg 画像差込枠の背景色
25037 \end_layout
25038
25039 \begin_layout Description
25040 greyedoutbg 淡色表示差込枠の背景色
25041 \end_layout
25042
25043 \begin_layout Description
25044 greyedoutlabel 淡色表示差込枠のラベル色
25045 \end_layout
25046
25047 \begin_layout Description
25048 greyedouttext 淡色表示差込枠の文字色
25049 \end_layout
25050
25051 \begin_layout Description
25052 indexlabel 索引差込枠のラベル色
25053 \end_layout
25054
25055 \begin_layout Description
25056 inlinecompletion 行内補完色
25057 \end_layout
25058
25059 \begin_layout Description
25060 insetbg 差込枠標の背景色
25061 \end_layout
25062
25063 \begin_layout Description
25064 insetframe 差込枠標の縁色
25065 \end_layout
25066
25067 \begin_layout Description
25068 language 外国語の単語を標識するための色
25069 \end_layout
25070
25071 \begin_layout Description
25072 latex \SpecialChar LaTeX
25073 モードの文字色
25074 \end_layout
25075
25076 \begin_layout Description
25077 listingsbg プログラムリスト差込枠の背景色
25078 \end_layout
25079
25080 \begin_layout Description
25081 marginlabel 傍註のラベル色
25082 \end_layout
25083
25084 \begin_layout Description
25085 math 数式差込枠の文字色
25086 \end_layout
25087
25088 \begin_layout Description
25089 mathbg 数式差込枠の背景色
25090 \end_layout
25091
25092 \begin_layout Description
25093 mathcorners フォーカスを得ていない数式差込枠の縁色
25094 \end_layout
25095
25096 \begin_layout Description
25097 mathframe フォーカスを得ている数式差込枠の縁色
25098 \end_layout
25099
25100 \begin_layout Description
25101 mathline 数式行色
25102 \end_layout
25103
25104 \begin_layout Description
25105 mathmacrobg 数式マクロ差込枠の背景色
25106 \end_layout
25107
25108 \begin_layout Description
25109 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
25110 \end_layout
25111
25112 \begin_layout Description
25113 mathmacroframe 数式マクロ差込枠の縁色
25114 \end_layout
25115
25116 \begin_layout Description
25117 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
25118 \end_layout
25119
25120 \begin_layout Description
25121 mathmacrolabel 数式マクロ差込枠のラベル色
25122 \end_layout
25123
25124 \begin_layout Description
25125 mathmacronewarg 数式マクロ新パラメーターのひな型色
25126 \end_layout
25127
25128 \begin_layout Description
25129 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
25130 \end_layout
25131
25132 \begin_layout Description
25133 newpage 新規頁色
25134 \end_layout
25135
25136 \begin_layout Description
25137 nonunique_inlinecompletion 行内補完の一意でない部分の色
25138 \end_layout
25139
25140 \begin_layout Description
25141 note 註釈のラベル色
25142 \end_layout
25143
25144 \begin_layout Description
25145 notebg 註釈の背景色
25146 \end_layout
25147
25148 \begin_layout Description
25149 pagebreak 改頁/改行色
25150 \end_layout
25151
25152 \begin_layout Description
25153 paragraphmarker 段落末を標識するための段落標の色
25154 \end_layout
25155
25156 \begin_layout Description
25157 phantomtext 埋め草差込枠の文字色
25158 \end_layout
25159
25160 \begin_layout Description
25161 preview プレビューに用いられる色
25162 \end_layout
25163
25164 \begin_layout Description
25165 previewframe プレビュー縁色
25166 \end_layout
25167
25168 \begin_layout Description
25169 regexpframe 正規表現枠の色
25170 \end_layout
25171
25172 \begin_layout Description
25173 scroll 
25174 \lang english
25175 Color that indicates when a row can be scrolled
25176 \end_layout
25177
25178 \begin_layout Description
25179 selection 文章選択部の背景色
25180 \end_layout
25181
25182 \begin_layout Description
25183 selectiontext 文章選択部の前景色
25184 \end_layout
25185
25186 \begin_layout Description
25187 shadedbg 影付きボックスの背景色
25188 \end_layout
25189
25190 \begin_layout Description
25191 special 特殊文字の色
25192 \end_layout
25193
25194 \begin_layout Description
25195 tabularline 罫線色
25196 \end_layout
25197
25198 \begin_layout Description
25199 tabularonoffline 罫線色
25200 \end_layout
25201
25202 \begin_layout Description
25203 urllabel URL差込枠のラベル色
25204 \end_layout
25205
25206 \begin_layout Description
25207 urltext URL差込枠の文字色
25208 \end_layout
25209
25210 \end_body
25211 \end_document